chore(): updated type name
This commit is contained in:
@@ -24,7 +24,7 @@ import {
|
||||
BatchOrdersResponseV5,
|
||||
BorrowHistoryRecordV5,
|
||||
BrokerIssuedVoucherV5,
|
||||
BrokerVoucherSpec,
|
||||
BrokerVoucherSpecV5,
|
||||
CancelAllOrdersParamsV5,
|
||||
CancelOrderParamsV5,
|
||||
CategoryCursorListV5,
|
||||
@@ -2177,7 +2177,7 @@ export class RestClientV5 extends BaseRestClient {
|
||||
*/
|
||||
getBrokerVoucherSpec(params: {
|
||||
id: string;
|
||||
}): Promise<APIResponseV3WithTime<BrokerVoucherSpec>> {
|
||||
}): Promise<APIResponseV3WithTime<BrokerVoucherSpecV5>> {
|
||||
return this.postPrivate('/v5/broker/award/info', params);
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ export interface ExchangeBrokerSubAccountDepositRecordV5 {
|
||||
depositType: string;
|
||||
}
|
||||
|
||||
export interface BrokerVoucherSpec {
|
||||
export interface BrokerVoucherSpecV5 {
|
||||
id: string;
|
||||
coin: string;
|
||||
amountUnit: 'AWARD_AMOUNT_UNIT_USD' | 'AWARD_AMOUNT_UNIT_COIN';
|
||||
|
||||
Reference in New Issue
Block a user