chore(): updated type name

This commit is contained in:
Jerko J
2024-10-03 13:51:09 +02:00
parent 4cd58406c6
commit dedf37ceb7
2 changed files with 3 additions and 3 deletions

View File

@@ -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);
} }

View File

@@ -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';