squarefi-bff-api-module 1.5.6 → 1.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/types.d.ts +14 -10
- package/package.json +1 -1
- package/src/api/types.ts +14 -12
package/dist/api/types.d.ts
CHANGED
|
@@ -112,6 +112,9 @@ export declare namespace API {
|
|
|
112
112
|
sub_account_type: SubAccountType | string;
|
|
113
113
|
description: string | null;
|
|
114
114
|
icon: string | null;
|
|
115
|
+
card_issuing_fee: number | null;
|
|
116
|
+
card_monthly_fee: number | null;
|
|
117
|
+
initial_topup: number | null;
|
|
115
118
|
}
|
|
116
119
|
}
|
|
117
120
|
interface User {
|
|
@@ -319,20 +322,21 @@ export declare namespace API {
|
|
|
319
322
|
interval: string;
|
|
320
323
|
};
|
|
321
324
|
namespace Create {
|
|
322
|
-
interface
|
|
323
|
-
authorization_controls: AuthorizationControls;
|
|
324
|
-
nick_name: string;
|
|
325
|
-
purpose?: string;
|
|
326
|
-
request_id: string;
|
|
327
|
-
program_id: string;
|
|
328
|
-
wallet_id: string;
|
|
329
|
-
}
|
|
330
|
-
interface FiatAccountRequest {
|
|
331
|
-
sub_account_id: string;
|
|
325
|
+
interface CommonRequest {
|
|
332
326
|
program_id: string;
|
|
333
327
|
request_id: string;
|
|
334
328
|
nick_name: string;
|
|
335
329
|
wallet_id: string;
|
|
330
|
+
initial_topup?: number;
|
|
331
|
+
currency_id?: string;
|
|
332
|
+
}
|
|
333
|
+
interface StandAloneRequest extends CommonRequest {
|
|
334
|
+
authorization_controls: AuthorizationControls;
|
|
335
|
+
transaction_limits: TransactionLimit[];
|
|
336
|
+
purpose?: string;
|
|
337
|
+
}
|
|
338
|
+
interface FiatAccountRequest extends CommonRequest {
|
|
339
|
+
sub_account_id: string;
|
|
336
340
|
}
|
|
337
341
|
type StandAloneResponse = IssuingCardDetailItem;
|
|
338
342
|
type FiatAccountResponse = IssuingCardDetailItem;
|
package/package.json
CHANGED
package/src/api/types.ts
CHANGED
|
@@ -137,6 +137,9 @@ export namespace API {
|
|
|
137
137
|
sub_account_type: SubAccountType | string;
|
|
138
138
|
description: string | null;
|
|
139
139
|
icon: string | null;
|
|
140
|
+
card_issuing_fee: number | null;
|
|
141
|
+
card_monthly_fee: number | null;
|
|
142
|
+
initial_topup: number | null;
|
|
140
143
|
}
|
|
141
144
|
}
|
|
142
145
|
export interface User {
|
|
@@ -366,23 +369,22 @@ export namespace API {
|
|
|
366
369
|
};
|
|
367
370
|
|
|
368
371
|
export namespace Create {
|
|
369
|
-
export interface
|
|
370
|
-
authorization_controls: AuthorizationControls;
|
|
371
|
-
|
|
372
|
-
// name_on_card: string; hide cardholder name
|
|
373
|
-
nick_name: string;
|
|
374
|
-
purpose?: string;
|
|
375
|
-
request_id: string;
|
|
372
|
+
export interface CommonRequest {
|
|
376
373
|
program_id: string;
|
|
374
|
+
request_id: string;
|
|
375
|
+
nick_name: string;
|
|
377
376
|
wallet_id: string;
|
|
377
|
+
initial_topup?: number;
|
|
378
|
+
currency_id?: string;
|
|
379
|
+
}
|
|
380
|
+
export interface StandAloneRequest extends CommonRequest {
|
|
381
|
+
authorization_controls: AuthorizationControls;
|
|
382
|
+
transaction_limits: TransactionLimit[];
|
|
383
|
+
purpose?: string;
|
|
378
384
|
}
|
|
379
385
|
|
|
380
|
-
export interface FiatAccountRequest {
|
|
386
|
+
export interface FiatAccountRequest extends CommonRequest {
|
|
381
387
|
sub_account_id: string;
|
|
382
|
-
program_id: string;
|
|
383
|
-
request_id: string;
|
|
384
|
-
nick_name: string;
|
|
385
|
-
wallet_id: string;
|
|
386
388
|
}
|
|
387
389
|
|
|
388
390
|
export type StandAloneResponse = IssuingCardDetailItem;
|