squarefi-bff-api-module 1.32.35 → 1.32.36

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.
@@ -1215,6 +1215,8 @@ export interface components {
1215
1215
  last_name?: string | null;
1216
1216
  /** @description User birth date in ISO 8601 format */
1217
1217
  birth_date?: string | null;
1218
+ /** @description ISO 3166-1 alpha-2 country code */
1219
+ nationality?: string | null;
1218
1220
  logo_url?: string | null;
1219
1221
  };
1220
1222
  SignInByEmailWithPasswordDto: {
@@ -1238,6 +1240,8 @@ export interface components {
1238
1240
  last_name?: string | null;
1239
1241
  /** @description User birth date in ISO 8601 format */
1240
1242
  birth_date?: string | null;
1243
+ /** @description ISO 3166-1 alpha-2 country code */
1244
+ nationality?: string | null;
1241
1245
  };
1242
1246
  UserDataUploadLogoResponseDto: {
1243
1247
  fullPath: string;
@@ -19,11 +19,6 @@ export declare const wallets: {
19
19
  csv: {
20
20
  getByWalletUuid: ({ wallet_uuid, ...params }: API.Wallets.WalletTransactions.TransactionList.ExportCsv.Request) => Promise<API.Wallets.WalletTransactions.TransactionList.ExportCsv.Response>;
21
21
  };
22
- statement: {
23
- pdf: {
24
- getByWalletUuid: ({ wallet_uuid, ...params }: API.Wallets.WalletTransactions.StatementPdf.Request) => Promise<API.Wallets.WalletTransactions.StatementPdf.Response>;
25
- };
26
- };
27
22
  };
28
23
  statementPdf: {
29
24
  getByWalletUuid: ({ wallet_uuid, ...params }: API.Wallets.WalletTransactions.StatementPdf.Request) => Promise<API.Wallets.WalletTransactions.StatementPdf.Response>;
@@ -1,4 +1,4 @@
1
- import { apiClientV2 } from '../utils/apiClientFactory';
1
+ import { apiClientV1, apiClientV2 } from '../utils/apiClientFactory';
2
2
  import { defaultPaginationParams } from '../constants';
3
3
  export const wallets = {
4
4
  create: (data) => apiClientV2.postRequest('/wallets', { data }),
@@ -26,13 +26,8 @@ export const wallets = {
26
26
  csv: {
27
27
  getByWalletUuid: ({ wallet_uuid, ...params }) => apiClientV2.getRequest(`/wallets/${wallet_uuid}/transactions/export/csv`, { params }),
28
28
  },
29
- statement: {
30
- pdf: {
31
- getByWalletUuid: ({ wallet_uuid, ...params }) => apiClientV2.getRequest(`/wallets/${wallet_uuid}/transactions/statement/pdf`, { params }),
32
- },
33
- },
34
29
  },
35
30
  statementPdf: {
36
- getByWalletUuid: ({ wallet_uuid, ...params }) => apiClientV2.getRequest(`/wallets/transactions/${wallet_uuid}/statement-pdf`, { params }),
31
+ getByWalletUuid: ({ wallet_uuid, ...params }) => apiClientV1.getRequest(`/wallets/transactions/${wallet_uuid}/statement-pdf`, { params }),
37
32
  },
38
33
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.32.35",
3
+ "version": "1.32.36",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",