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.
@@ -48,13 +48,3 @@ exports.issuing = {
48
48
  },
49
49
  },
50
50
  };
51
- exports.issuing.cards.byWalletUuid.getBySubaccountType({
52
- wallet_uuid: '123',
53
- limit: 10,
54
- offset: 0,
55
- filter: {
56
- fiat_account: {
57
- type: constants_1.SubAccountType.BALANCE,
58
- },
59
- },
60
- });
@@ -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: Record<'fiat_account', Record<'type', SubAccountType>>;
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: Partial<Record<keyof T, any>>;
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.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",
@@ -65,14 +65,3 @@ export const issuing = {
65
65
  },
66
66
  },
67
67
  };
68
-
69
- issuing.cards.byWalletUuid.getBySubaccountType({
70
- wallet_uuid: '123',
71
- limit: 10,
72
- offset: 0,
73
- filter: {
74
- fiat_account: {
75
- type: SubAccountType.BALANCE,
76
- },
77
- },
78
- });
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: Record<'fiat_account', Record<'type', SubAccountType>>;
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: Partial<Record<keyof T, any>>;
413
+ filter?: Partial<Record<keyof T, any>>;
411
414
  }
412
415
  }
413
416
  }