squarefi-bff-api-module 1.5.5 → 1.5.7
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/issuing.js +0 -10
- package/dist/api/types.d.ts +5 -2
- package/package.json +3 -3
- package/src/api/issuing.ts +0 -11
- package/src/api/types.ts +5 -2
package/dist/api/issuing.js
CHANGED
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 {
|
|
@@ -256,7 +259,7 @@ export declare namespace API {
|
|
|
256
259
|
wallet_uuid: string;
|
|
257
260
|
}
|
|
258
261
|
interface BySubaccountAndWalletUuid extends ByWalletUuid {
|
|
259
|
-
filter
|
|
262
|
+
filter?: Record<'fiat_account', Record<'type', SubAccountType>>;
|
|
260
263
|
}
|
|
261
264
|
type ByFiatAccountAndWalletId = ByWalletUuid & {
|
|
262
265
|
fiat_account_id: string;
|
|
@@ -353,7 +356,7 @@ export declare namespace API {
|
|
|
353
356
|
}
|
|
354
357
|
namespace Filtering {
|
|
355
358
|
interface Request<T> {
|
|
356
|
-
filter
|
|
359
|
+
filter?: Partial<Record<keyof T, any>>;
|
|
357
360
|
}
|
|
358
361
|
}
|
|
359
362
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "squarefi-bff-api-module",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.7",
|
|
4
4
|
"description": "Squarefi BFF API client module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"author": "Your Name",
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@telegram-apps/sdk-react": "3.1.2",
|
|
22
|
-
"axios": "1.6.7"
|
|
21
|
+
"@telegram-apps/sdk-react": "^3.1.2",
|
|
22
|
+
"axios": "^1.6.7"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@types/jest": "^29.x.x",
|
package/src/api/issuing.ts
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 {
|
|
@@ -294,7 +297,7 @@ export namespace API {
|
|
|
294
297
|
}
|
|
295
298
|
|
|
296
299
|
export interface BySubaccountAndWalletUuid extends ByWalletUuid {
|
|
297
|
-
filter
|
|
300
|
+
filter?: Record<'fiat_account', Record<'type', SubAccountType>>;
|
|
298
301
|
}
|
|
299
302
|
|
|
300
303
|
export type ByFiatAccountAndWalletId = ByWalletUuid & {
|
|
@@ -407,7 +410,7 @@ export namespace API {
|
|
|
407
410
|
|
|
408
411
|
export namespace Filtering {
|
|
409
412
|
export interface Request<T> {
|
|
410
|
-
filter
|
|
413
|
+
filter?: Partial<Record<keyof T, any>>;
|
|
411
414
|
}
|
|
412
415
|
}
|
|
413
416
|
}
|