squarefi-bff-api-module 1.24.29 → 1.24.30

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.
@@ -1,4 +1,4 @@
1
- import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CounterpartyDestinationType, CounterpartyType, CurrencyType, IssuingProgramStatus, KYCStatuses, OrderStatuses, OrderType, SortingDirection, SubAccountType, WalletTransactionMethod, WalletTransactionRecordType, WalletTransactionStatus, WalletTransactionType } from '../../constants';
1
+ import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CounterpartyDestinationType, CounterpartyType, CurrencyType, IssuingProgramStatus, OrderStatuses, OrderType, SortingDirection, SubAccountType, WalletTransactionMethod, WalletTransactionRecordType, WalletTransactionStatus, WalletTransactionType } from '../../constants';
2
2
  import { WalletType } from '../..';
3
3
  import { components, operations } from './autogen/apiV2.types';
4
4
  export declare namespace API {
@@ -21,31 +21,6 @@ export declare namespace API {
21
21
  access_token: string;
22
22
  refresh_token: string;
23
23
  }
24
- namespace UserData {
25
- namespace Update {
26
- interface Request {
27
- default_currency: string;
28
- }
29
- }
30
- interface UserData {
31
- id: number;
32
- created_at: string;
33
- user_id: string;
34
- kyc_status: KYCStatuses | string;
35
- kyc_date: string;
36
- turnover_limit?: number;
37
- default_currency: string;
38
- tenant_id: string;
39
- user_group_id: string;
40
- is_developer: boolean;
41
- can_invite: boolean;
42
- total_turnover: {
43
- onramp: number;
44
- offramp: number;
45
- total: number;
46
- };
47
- }
48
- }
49
24
  namespace Update {
50
25
  namespace Phone {
51
26
  interface Request {
@@ -2440,8 +2415,8 @@ export declare namespace API {
2440
2415
  namespace TransactionList {
2441
2416
  type Request = {
2442
2417
  wallet_uuid: string;
2443
- limit?: number;
2444
- offset?: number;
2418
+ limit: number;
2419
+ offset: number;
2445
2420
  filter?: {
2446
2421
  created_at?: string;
2447
2422
  from?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.24.29",
3
+ "version": "1.24.30",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -45,32 +45,6 @@ export namespace API {
45
45
  access_token: string;
46
46
  refresh_token: string;
47
47
  }
48
- export namespace UserData {
49
- export namespace Update {
50
- export interface Request {
51
- default_currency: string;
52
- }
53
- }
54
-
55
- export interface UserData {
56
- id: number;
57
- created_at: string;
58
- user_id: string;
59
- kyc_status: KYCStatuses | string;
60
- kyc_date: string;
61
- turnover_limit?: number;
62
- default_currency: string;
63
- tenant_id: string;
64
- user_group_id: string;
65
- is_developer: boolean;
66
- can_invite: boolean;
67
- total_turnover: {
68
- onramp: number;
69
- offramp: number;
70
- total: number;
71
- };
72
- }
73
- }
74
48
 
75
49
  export namespace Update {
76
50
  export namespace Phone {
@@ -2846,8 +2820,8 @@ export namespace API {
2846
2820
  export namespace TransactionList {
2847
2821
  export type Request = {
2848
2822
  wallet_uuid: string;
2849
- limit?: number;
2850
- offset?: number;
2823
+ limit: number;
2824
+ offset: number;
2851
2825
  filter?: {
2852
2826
  created_at?: string;
2853
2827
  from?: string;