squarefi-bff-api-module 1.5.12 → 1.5.14

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.
@@ -184,18 +184,7 @@ export declare namespace API {
184
184
  nick_name: string | null;
185
185
  wallet_id: string;
186
186
  program_id: string;
187
- fiat_account: {
188
- id: string;
189
- type: SubAccountType | string;
190
- status: string;
191
- balance: number;
192
- currency: API.Currencies.FiatCurrency;
193
- nick_name: string;
194
- wallet_id: string;
195
- created_at: string;
196
- program_id: string;
197
- account_currency: string;
198
- };
187
+ fiat_account: API.FiatAccounts.FiatAccount;
199
188
  last4: string;
200
189
  request_id: string;
201
190
  name_on_card: string | null;
@@ -212,7 +201,7 @@ export declare namespace API {
212
201
  type: string;
213
202
  status: string;
214
203
  balance: number;
215
- currency: API.Currencies.Currency;
204
+ currency: API.Currencies.FiatCurrency;
216
205
  nick_name: string | null;
217
206
  wallet_id: string;
218
207
  created_at: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.5.12",
3
+ "version": "1.5.14",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/api/types.ts CHANGED
@@ -212,18 +212,7 @@ export namespace API {
212
212
  wallet_id: string;
213
213
  program_id: string;
214
214
 
215
- fiat_account: {
216
- id: string;
217
- type: SubAccountType | string;
218
- status: string;
219
- balance: number;
220
- currency: API.Currencies.FiatCurrency;
221
- nick_name: string;
222
- wallet_id: string;
223
- created_at: string;
224
- program_id: string;
225
- account_currency: string;
226
- };
215
+ fiat_account: API.FiatAccounts.FiatAccount;
227
216
  last4: string;
228
217
  request_id: string;
229
218
  name_on_card: string | null;
@@ -241,7 +230,7 @@ export namespace API {
241
230
  type: string;
242
231
  status: string;
243
232
  balance: number;
244
- currency: API.Currencies.Currency;
233
+ currency: API.Currencies.FiatCurrency;
245
234
  nick_name: string | null;
246
235
  wallet_id: string;
247
236
  created_at: string;