From dedf37ceb7dffc7b33ca06826c6d41c598db92d7 Mon Sep 17 00:00:00 2001 From: Jerko J <83344666+JJ-Cro@users.noreply.github.com> Date: Thu, 3 Oct 2024 13:51:09 +0200 Subject: [PATCH] chore(): updated type name --- src/rest-client-v5.ts | 4 ++-- src/types/response/v5-broker.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/rest-client-v5.ts b/src/rest-client-v5.ts index 53f7075..31605c1 100644 --- a/src/rest-client-v5.ts +++ b/src/rest-client-v5.ts @@ -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> { + }): Promise> { return this.postPrivate('/v5/broker/award/info', params); } diff --git a/src/types/response/v5-broker.ts b/src/types/response/v5-broker.ts index c7e8aa7..488ba4c 100644 --- a/src/types/response/v5-broker.ts +++ b/src/types/response/v5-broker.ts @@ -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';