diff --git a/src/main-client.ts b/src/main-client.ts index 500c88ea..9735d78d 100644 --- a/src/main-client.ts +++ b/src/main-client.ts @@ -315,11 +315,11 @@ export class MainClient extends BaseRestClient { return this.getPrivate('sapi/v1/account/apiRestrictions'); } - acceptQuoteRequest(params: EnableConvertSubAccountParams): Promise { + acceptQuoteRequest(params: AcceptQuoteRequestParams): Promise { return this.postPrivate('sapi/v1/convert/acceptQuote', params); } - enableConvertSubAccount(params: AcceptQuoteRequestParams): Promise { + enableConvertSubAccount(params: EnableConvertSubAccountParams): Promise { return this.postPrivate('sapi/v1/broker/subAccount/convert', params); }