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