feat(): added new endpoints
This commit is contained in:
@@ -15,3 +15,18 @@ export interface GetBrokerSubAccountDepositsV5 {
|
||||
limit?: number;
|
||||
cursor?: string;
|
||||
}
|
||||
|
||||
export interface IssueVoucherParamsV5 {
|
||||
accountId: string;
|
||||
awardId: string;
|
||||
specCode: string;
|
||||
amount: string;
|
||||
brokerId: string;
|
||||
}
|
||||
|
||||
export interface GetBrokerIssuedVoucherParamsV5 {
|
||||
accountId: string;
|
||||
awardId: string;
|
||||
specCode: string;
|
||||
withUsedAmount?: boolean;
|
||||
}
|
||||
|
||||
@@ -59,3 +59,28 @@ export interface ExchangeBrokerSubAccountDepositRecordV5 {
|
||||
batchReleaseLimit: string;
|
||||
depositType: string;
|
||||
}
|
||||
|
||||
export interface BrokerVoucherSpec {
|
||||
id: string;
|
||||
coin: string;
|
||||
amountUnit: 'AWARD_AMOUNT_UNIT_USD' | 'AWARD_AMOUNT_UNIT_COIN';
|
||||
productLine: string;
|
||||
subProductLine: string;
|
||||
totalAmount: {
|
||||
[key: string]: string;
|
||||
};
|
||||
usedAmount: string;
|
||||
}
|
||||
|
||||
export interface BrokerIssuedVoucherV5 {
|
||||
accountId: string;
|
||||
awardId: string;
|
||||
specCode: string;
|
||||
amount: string;
|
||||
isClaimed: boolean;
|
||||
startAt: string;
|
||||
endAt: string;
|
||||
effectiveAt: string;
|
||||
ineffectiveAt: string;
|
||||
usedAmount: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user