squarefi-bff-api-module 1.34.21 → 1.34.23

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/README.md CHANGED
@@ -210,10 +210,9 @@ const publicUrl = getPublicUrl(path);
210
210
  | **developer** | Vendor & API key management |
211
211
  | **exchange** | Exchange rates per order type / currency |
212
212
  | **issuing** | Virtual & physical cards, limits, controls, transactions |
213
- | **kyc** | Sumsub flows, rails & form submission |
213
+ | **kyc** | Data collection init/resume, Sumsub flows, rails & form submission |
214
214
  | **list** | Static system lists – currencies, chains, countries |
215
215
  | **orders** | Create / calculate orders (including internal transfer) |
216
- | **persona** | Persona in-app KYC inquiries |
217
216
  | **tenants** | Tenant configuration |
218
217
  | **totp** | TOTP generation / verification / revoke helpers |
219
218
  | **user** | User profile, contacts, OTP verification |
@@ -8,7 +8,6 @@ import { issuing } from './issuing';
8
8
  import { kyc } from './kyc';
9
9
  import { list } from './list';
10
10
  import { orders } from './orders';
11
- import { persona } from './persona';
12
11
  import { referrals } from './referrals';
13
12
  import { storage } from './storage';
14
13
  import { tenants } from './tenants';
@@ -27,7 +26,6 @@ type Api = {
27
26
  kyc: typeof kyc;
28
27
  list: typeof list;
29
28
  orders: typeof orders;
30
- persona: typeof persona;
31
29
  referrals: typeof referrals;
32
30
  storage: typeof storage;
33
31
  tenants: typeof tenants;
package/dist/api/index.js CHANGED
@@ -8,7 +8,6 @@ import { issuing } from './issuing';
8
8
  import { kyc } from './kyc';
9
9
  import { list } from './list';
10
10
  import { orders } from './orders';
11
- import { persona } from './persona';
12
11
  import { referrals } from './referrals';
13
12
  import { storage } from './storage';
14
13
  import { tenants } from './tenants';
@@ -27,7 +26,6 @@ export const squarefi_bff_api_client = {
27
26
  kyc,
28
27
  list,
29
28
  orders,
30
- persona,
31
29
  referrals,
32
30
  storage,
33
31
  tenants,
package/dist/api/kyc.d.ts CHANGED
@@ -1,5 +1,9 @@
1
1
  import { API } from './types/types';
2
2
  export declare const kyc: {
3
+ dataCollection: {
4
+ init: ({ wallet_id, type, }: API.KYC.DataCollection.Init.Request) => Promise<API.KYC.DataCollection.Init.Response>;
5
+ resume: ({ wallet_id, verification_ref, }: API.KYC.DataCollection.Resume.Request) => Promise<API.KYC.DataCollection.Resume.Response>;
6
+ };
3
7
  sumsub: {
4
8
  generate_token: (data: API.KYC.Sumsub.GenerateToken.Request) => Promise<API.KYC.Sumsub.GenerateToken.Response>;
5
9
  };
package/dist/api/kyc.js CHANGED
@@ -1,5 +1,9 @@
1
1
  import { apiClientV1, apiClientV2 } from '../utils/apiClientFactory';
2
2
  export const kyc = {
3
+ dataCollection: {
4
+ init: ({ wallet_id, type, }) => apiClientV2.postRequest(`/kyc/init/${wallet_id}/${type}`),
5
+ resume: ({ wallet_id, verification_ref, }) => apiClientV2.postRequest(`/kyc/resume/${wallet_id}/${verification_ref}`),
6
+ },
3
7
  sumsub: {
4
8
  generate_token: (data) => apiClientV1.postRequest('/kyc/sumsub/generate_token', { data }),
5
9
  },
@@ -39,6 +39,8 @@ export declare const orders: {
39
39
  L2F_SWIFT_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.L2F_SWIFT_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.L2F_SWIFT_OFFRAMP.Response>;
40
40
  L2F_ACH_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.L2F_ACH_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.L2F_ACH_OFFRAMP.Response>;
41
41
  L2F_WIRE_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.L2F_WIRE_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.L2F_WIRE_OFFRAMP.Response>;
42
+ L2F_CHAPS_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.L2F_CHAPS_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.L2F_CHAPS_OFFRAMP.Response>;
43
+ L2F_FPS_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.L2F_FPS_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.L2F_FPS_OFFRAMP.Response>;
42
44
  };
43
45
  };
44
46
  list: {
@@ -72,6 +72,8 @@ export const orders = {
72
72
  [OrderType.L2F_SWIFT_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/L2F_SWIFT_OFFRAMP', { data }),
73
73
  [OrderType.L2F_ACH_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/L2F_ACH_OFFRAMP', { data }),
74
74
  [OrderType.L2F_WIRE_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/L2F_WIRE_OFFRAMP', { data }),
75
+ [OrderType.L2F_CHAPS_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/L2F_CHAPS_OFFRAMP', { data }),
76
+ [OrderType.L2F_FPS_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/L2F_FPS_OFFRAMP', { data }),
75
77
  },
76
78
  },
77
79
  list: {
@@ -749,22 +749,6 @@ export interface paths {
749
749
  patch?: never;
750
750
  trace?: never;
751
751
  };
752
- "/kyc/wallet-kyc-rails-workflow": {
753
- parameters: {
754
- query?: never;
755
- header?: never;
756
- path?: never;
757
- cookie?: never;
758
- };
759
- get: operations["WalletKycRailsWorkflowController_handle_get"];
760
- put: operations["WalletKycRailsWorkflowController_handle_put"];
761
- post: operations["WalletKycRailsWorkflowController_handle_post"];
762
- delete: operations["WalletKycRailsWorkflowController_handle_delete"];
763
- options: operations["WalletKycRailsWorkflowController_handle_options"];
764
- head: operations["WalletKycRailsWorkflowController_handle_head"];
765
- patch: operations["WalletKycRailsWorkflowController_handle_patch"];
766
- trace?: never;
767
- };
768
752
  "/countries": {
769
753
  parameters: {
770
754
  query?: never;
@@ -4150,125 +4134,6 @@ export interface operations {
4150
4134
  };
4151
4135
  };
4152
4136
  };
4153
- WalletKycRailsWorkflowController_handle_get: {
4154
- parameters: {
4155
- query?: never;
4156
- header?: never;
4157
- path?: never;
4158
- cookie?: never;
4159
- };
4160
- requestBody?: never;
4161
- responses: {
4162
- 200: {
4163
- headers: {
4164
- [name: string]: unknown;
4165
- };
4166
- content?: never;
4167
- };
4168
- };
4169
- };
4170
- WalletKycRailsWorkflowController_handle_put: {
4171
- parameters: {
4172
- query?: never;
4173
- header?: never;
4174
- path?: never;
4175
- cookie?: never;
4176
- };
4177
- requestBody?: never;
4178
- responses: {
4179
- 200: {
4180
- headers: {
4181
- [name: string]: unknown;
4182
- };
4183
- content?: never;
4184
- };
4185
- };
4186
- };
4187
- WalletKycRailsWorkflowController_handle_post: {
4188
- parameters: {
4189
- query?: never;
4190
- header?: never;
4191
- path?: never;
4192
- cookie?: never;
4193
- };
4194
- requestBody?: never;
4195
- responses: {
4196
- 200: {
4197
- headers: {
4198
- [name: string]: unknown;
4199
- };
4200
- content?: never;
4201
- };
4202
- };
4203
- };
4204
- WalletKycRailsWorkflowController_handle_delete: {
4205
- parameters: {
4206
- query?: never;
4207
- header?: never;
4208
- path?: never;
4209
- cookie?: never;
4210
- };
4211
- requestBody?: never;
4212
- responses: {
4213
- 200: {
4214
- headers: {
4215
- [name: string]: unknown;
4216
- };
4217
- content?: never;
4218
- };
4219
- };
4220
- };
4221
- WalletKycRailsWorkflowController_handle_options: {
4222
- parameters: {
4223
- query?: never;
4224
- header?: never;
4225
- path?: never;
4226
- cookie?: never;
4227
- };
4228
- requestBody?: never;
4229
- responses: {
4230
- 200: {
4231
- headers: {
4232
- [name: string]: unknown;
4233
- };
4234
- content?: never;
4235
- };
4236
- };
4237
- };
4238
- WalletKycRailsWorkflowController_handle_head: {
4239
- parameters: {
4240
- query?: never;
4241
- header?: never;
4242
- path?: never;
4243
- cookie?: never;
4244
- };
4245
- requestBody?: never;
4246
- responses: {
4247
- 200: {
4248
- headers: {
4249
- [name: string]: unknown;
4250
- };
4251
- content?: never;
4252
- };
4253
- };
4254
- };
4255
- WalletKycRailsWorkflowController_handle_patch: {
4256
- parameters: {
4257
- query?: never;
4258
- header?: never;
4259
- path?: never;
4260
- cookie?: never;
4261
- };
4262
- requestBody?: never;
4263
- responses: {
4264
- 200: {
4265
- headers: {
4266
- [name: string]: unknown;
4267
- };
4268
- content?: never;
4269
- };
4270
- };
4271
- };
4272
4137
  CountriesController_findAll: {
4273
4138
  parameters: {
4274
4139
  query?: never;
@@ -1,5 +1,5 @@
1
1
  import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CurrencyType, IssuingProgramStatus, OrderType, SortingDirection, SubAccountType, WalletTransactionMethod, WalletTransactionRecordType, WalletTransactionStatus, WalletTransactionType } from '../../constants';
2
- import { components, operations } from './autogen/apiV2.types';
2
+ import { components, operations, paths } from './autogen/apiV2.types';
3
3
  export declare namespace API {
4
4
  namespace Auth {
5
5
  namespace RefreshToken {
@@ -741,8 +741,21 @@ export declare namespace API {
741
741
  }
742
742
  }
743
743
  namespace KYC {
744
- type KYCStatus = components['schemas']['KycEntityDto']['status'];
745
- namespace Sumsub {
744
+ export type KYCStatus = components['schemas']['KycEntityDto']['status'];
745
+ type InitDataCollectionEndpoint = paths['/kyc/init/{wallet_id}/{type}']['post'];
746
+ type ResumeDataCollectionEndpoint = paths['/kyc/resume/{wallet_id}/{verification_ref}']['post'];
747
+ export namespace DataCollection {
748
+ type Type = InitDataCollectionEndpoint['parameters']['path']['type'];
749
+ namespace Init {
750
+ type Request = InitDataCollectionEndpoint['parameters']['path'];
751
+ type Response = InitDataCollectionEndpoint['responses']['200']['content']['application/json'];
752
+ }
753
+ namespace Resume {
754
+ type Request = ResumeDataCollectionEndpoint['parameters']['path'];
755
+ type Response = ResumeDataCollectionEndpoint['responses']['200']['content']['application/json'];
756
+ }
757
+ }
758
+ export namespace Sumsub {
746
759
  namespace GenerateToken {
747
760
  interface Request {
748
761
  user_data_id: number;
@@ -752,14 +765,14 @@ export declare namespace API {
752
765
  }
753
766
  }
754
767
  }
755
- namespace Entity {
768
+ export namespace Entity {
756
769
  type Entity = components['schemas']['KycEntityDto'];
757
770
  namespace Get {
758
771
  type Request = operations['KycEntitiesController_findOne']['parameters']['path'];
759
772
  type Response = operations['KycEntitiesController_findOne']['responses']['200']['content']['application/json'];
760
773
  }
761
774
  }
762
- namespace Forms {
775
+ export namespace Forms {
763
776
  namespace FormField {
764
777
  type FormFieldType = 'text' | 'email' | 'password' | 'radio' | 'select' | 'checkbox' | 'textarea' | 'number' | 'date' | 'switch' | 'file';
765
778
  interface FormFieldValidation {
@@ -806,7 +819,7 @@ export declare namespace API {
806
819
  }
807
820
  }
808
821
  }
809
- namespace Rails {
822
+ export namespace Rails {
810
823
  type RailStatus = components['schemas']['WalletKycRailDto']['status'];
811
824
  type WalletRail = components['schemas']['WalletKycRailDto'];
812
825
  type WalletRailExtraActions = components['schemas']['WalletKycRailExtraActionDto'];
@@ -837,6 +850,7 @@ export declare namespace API {
837
850
  }
838
851
  }
839
852
  }
853
+ export {};
840
854
  }
841
855
  namespace Location {
842
856
  namespace Countries {
@@ -1306,7 +1320,7 @@ export declare namespace API {
1306
1320
  };
1307
1321
  }
1308
1322
  interface L2FResponse extends BaseOrderResponse {
1309
- order_type: 'L2F_SEPA_OFFRAMP' | 'L2F_SWIFT_OFFRAMP' | 'L2F_ACH_OFFRAMP' | 'L2F_WIRE_OFFRAMP';
1323
+ order_type: 'L2F_SEPA_OFFRAMP' | 'L2F_SWIFT_OFFRAMP' | 'L2F_ACH_OFFRAMP' | 'L2F_WIRE_OFFRAMP' | 'L2F_CHAPS_OFFRAMP' | 'L2F_FPS_OFFRAMP';
1310
1324
  meta: {
1311
1325
  request_id: string;
1312
1326
  virtual_account_id: string;
@@ -1406,6 +1420,18 @@ export declare namespace API {
1406
1420
  order_type: 'L2F_WIRE_OFFRAMP';
1407
1421
  };
1408
1422
  }
1423
+ namespace L2F_CHAPS_OFFRAMP {
1424
+ type Request = Common.Request.OrderWithVirtualAccountParams & Common.Request.OrderWithCounterpartyParams;
1425
+ type Response = Common.Response.L2FResponse & {
1426
+ order_type: 'L2F_CHAPS_OFFRAMP';
1427
+ };
1428
+ }
1429
+ namespace L2F_FPS_OFFRAMP {
1430
+ type Request = Common.Request.OrderWithVirtualAccountParams & Common.Request.OrderWithCounterpartyParams;
1431
+ type Response = Common.Response.L2FResponse & {
1432
+ order_type: 'L2F_FPS_OFFRAMP';
1433
+ };
1434
+ }
1409
1435
  }
1410
1436
  }
1411
1437
  namespace OrderTypes {
@@ -1641,19 +1667,6 @@ export declare namespace API {
1641
1667
  }
1642
1668
  }
1643
1669
  }
1644
- namespace Persona {
1645
- namespace Inquiries {
1646
- type InquiryType = operations['PersonaController_initInquiry']['parameters']['path']['type'];
1647
- namespace Init {
1648
- type Request = operations['PersonaController_initInquiry']['parameters']['path'];
1649
- type Response = operations['PersonaController_initInquiry']['responses']['200']['content']['application/json'];
1650
- }
1651
- namespace Resume {
1652
- type Request = operations['PersonaController_resumeInquiry']['parameters']['path'];
1653
- type Response = operations['PersonaController_resumeInquiry']['responses']['200']['content']['application/json'];
1654
- }
1655
- }
1656
- }
1657
1670
  namespace Tenant {
1658
1671
  type Config = components['schemas']['SystemConfigDto'];
1659
1672
  }
@@ -1,5 +1,5 @@
1
1
  import { API } from '.';
2
- import { IsEnumEqualToUnion, EnumUnionMismatch } from './utils/types';
2
+ import { EnumValues, IsEnumEqualToUnion, EnumUnionMismatch, IsUnionSubset, UnionSubsetMismatch } from './utils/types';
3
3
  export type ValueWithLabel = {
4
4
  value: string;
5
5
  label: string;
@@ -120,15 +120,25 @@ export declare enum OrderType {
120
120
  OMNIBUS_INTERNAL_TRANSFER = "OMNIBUS_INTERNAL_TRANSFER",
121
121
  WITHDRAW_CARD_PREPAID = "WITHDRAW_CARD_PREPAID",
122
122
  WITHDRAW_CARD_SUBACCOUNT = "WITHDRAW_CARD_SUBACCOUNT",
123
- AUTO_CONVERT_CRYPTO = "AUTO_CONVERT_CRYPTO"
123
+ AUTO_CONVERT_CRYPTO = "AUTO_CONVERT_CRYPTO",
124
+ L2F_FPS_OFFRAMP = "L2F_FPS_OFFRAMP",
125
+ L2F_FPS_ONRAMP = "L2F_FPS_ONRAMP",
126
+ L2F_CHAPS_OFFRAMP = "L2F_CHAPS_OFFRAMP",
127
+ L2F_CHAPS_ONRAMP = "L2F_CHAPS_ONRAMP"
124
128
  }
125
129
  export declare enum WalletTransactionRecordType {
126
130
  CARD_PROVIDER_DEPOSIT = "CARD_PROVIDER_DEPOSIT",
127
131
  CARD_PROVIDER_REFUND = "CARD_PROVIDER_REFUND",
128
132
  CARD_PROVIDER_WITHDRAWAL = "CARD_PROVIDER_WITHDRAWAL",
133
+ CARD_ISSUING_FEE = "CARD_ISSUING_FEE",
129
134
  DEPOSIT = "DEPOSIT",
135
+ DEPOSIT_CRYPTO = "DEPOSIT_CRYPTO",
130
136
  DEPOSIT_CRYPTO_EXTERNAL = "DEPOSIT_CRYPTO_EXTERNAL",
131
137
  DEPOSIT_CRYPTO_INTERNAL = "DEPOSIT_CRYPTO_INTERNAL",
138
+ DEPOSIT_FIAT_SEPA = "DEPOSIT_FIAT_SEPA",
139
+ DEPOSIT_FIAT_SWIFT = "DEPOSIT_FIAT_SWIFT",
140
+ DEPOSIT_ISSUING_SA_CRYPTO_EXT = "DEPOSIT_ISSUING_SA_CRYPTO_EXT",
141
+ DEPOSIT_ISSUING_SA_SEPA_EXT = "DEPOSIT_ISSUING_SA_SEPA_EXT",
132
142
  DEPOSIT_INTERNAL = "DEPOSIT_INTERNAL",
133
143
  DEPOSIT_MANUAL = "DEPOSIT_MANUAL",
134
144
  EXCHANGE_CRYPTO_INTERNAL = "EXCHANGE_CRYPTO_INTERNAL",
@@ -174,6 +184,7 @@ export declare enum WalletTransactionRecordType {
174
184
  L2F_SEPA_WITHDRAWAL = "L2F_SEPA_WITHDRAWAL",
175
185
  L2F_CRYPTO_WITHDRAWAL = "L2F_CRYPTO_WITHDRAWAL",
176
186
  L2F_CRYPTO_DEPOSIT = "L2F_CRYPTO_DEPOSIT",
187
+ OMNIBUS_CRYPTO_WITHDRAWAL = "OMNIBUS_CRYPTO_WITHDRAWAL",
177
188
  HIFI_WIRE_ONRAMP = "HIFI_WIRE_ONRAMP",
178
189
  HIFI_WIRE_OFFRAMP = "HIFI_WIRE_OFFRAMP",
179
190
  HIFI_WIRE_DEPOSIT = "HIFI_WIRE_DEPOSIT",
@@ -189,8 +200,18 @@ export declare enum WalletTransactionRecordType {
189
200
  HIFI_CRYPTO_TRANSFER = "HIFI_CRYPTO_TRANSFER",
190
201
  HIFI_CRYPTO_WITHDRAWAL = "HIFI_CRYPTO_WITHDRAWAL",
191
202
  HIFI_CRYPTO_DEPOSIT = "HIFI_CRYPTO_DEPOSIT",
192
- AUTO_CONVERT_CRYPTO = "AUTO_CONVERT_CRYPTO"
203
+ TBD_SWIFT_WITHDRAWAL = "TBD_SWIFT_WITHDRAWAL",
204
+ AUTO_CONVERT_CRYPTO = "AUTO_CONVERT_CRYPTO",
205
+ WITHDRAWAL_CRYPTO = "WITHDRAWAL_CRYPTO",
206
+ WITHDRAWAL_FIAT_SEPA = "WITHDRAWAL_FIAT_SEPA",
207
+ L2F_FPS_OFFRAMP = "L2F_FPS_OFFRAMP",
208
+ L2F_FPS_ONRAMP = "L2F_FPS_ONRAMP",
209
+ L2F_CHAPS_OFFRAMP = "L2F_CHAPS_OFFRAMP",
210
+ L2F_CHAPS_ONRAMP = "L2F_CHAPS_ONRAMP"
193
211
  }
212
+ export type OrderTypeMissingInWalletTransactionRecordType = Exclude<EnumValues<OrderType>, EnumValues<WalletTransactionRecordType>>;
213
+ export declare const orderTypeIncludedInWalletTransactionRecordTypeCheck: IsUnionSubset<EnumValues<OrderType>, EnumValues<WalletTransactionRecordType>>;
214
+ export type OrderTypeIncludedInWalletTransactionRecordTypeMismatch = UnionSubsetMismatch<EnumValues<OrderType>, EnumValues<WalletTransactionRecordType>>;
194
215
  export declare enum RequestStatus {
195
216
  NONE = "none",
196
217
  PENDING = "pending",
package/dist/constants.js CHANGED
@@ -122,15 +122,26 @@ export var OrderType;
122
122
  OrderType["WITHDRAW_CARD_PREPAID"] = "WITHDRAW_CARD_PREPAID";
123
123
  OrderType["WITHDRAW_CARD_SUBACCOUNT"] = "WITHDRAW_CARD_SUBACCOUNT";
124
124
  OrderType["AUTO_CONVERT_CRYPTO"] = "AUTO_CONVERT_CRYPTO";
125
+ OrderType["L2F_FPS_OFFRAMP"] = "L2F_FPS_OFFRAMP";
126
+ OrderType["L2F_FPS_ONRAMP"] = "L2F_FPS_ONRAMP";
127
+ OrderType["L2F_CHAPS_OFFRAMP"] = "L2F_CHAPS_OFFRAMP";
128
+ OrderType["L2F_CHAPS_ONRAMP"] = "L2F_CHAPS_ONRAMP";
129
+ // when extend do not forget to add new order type to the enum WalletTransactionRecordType
125
130
  })(OrderType || (OrderType = {}));
126
131
  export var WalletTransactionRecordType;
127
132
  (function (WalletTransactionRecordType) {
128
133
  WalletTransactionRecordType["CARD_PROVIDER_DEPOSIT"] = "CARD_PROVIDER_DEPOSIT";
129
134
  WalletTransactionRecordType["CARD_PROVIDER_REFUND"] = "CARD_PROVIDER_REFUND";
130
135
  WalletTransactionRecordType["CARD_PROVIDER_WITHDRAWAL"] = "CARD_PROVIDER_WITHDRAWAL";
136
+ WalletTransactionRecordType["CARD_ISSUING_FEE"] = "CARD_ISSUING_FEE";
131
137
  WalletTransactionRecordType["DEPOSIT"] = "DEPOSIT";
138
+ WalletTransactionRecordType["DEPOSIT_CRYPTO"] = "DEPOSIT_CRYPTO";
132
139
  WalletTransactionRecordType["DEPOSIT_CRYPTO_EXTERNAL"] = "DEPOSIT_CRYPTO_EXTERNAL";
133
140
  WalletTransactionRecordType["DEPOSIT_CRYPTO_INTERNAL"] = "DEPOSIT_CRYPTO_INTERNAL";
141
+ WalletTransactionRecordType["DEPOSIT_FIAT_SEPA"] = "DEPOSIT_FIAT_SEPA";
142
+ WalletTransactionRecordType["DEPOSIT_FIAT_SWIFT"] = "DEPOSIT_FIAT_SWIFT";
143
+ WalletTransactionRecordType["DEPOSIT_ISSUING_SA_CRYPTO_EXT"] = "DEPOSIT_ISSUING_SA_CRYPTO_EXT";
144
+ WalletTransactionRecordType["DEPOSIT_ISSUING_SA_SEPA_EXT"] = "DEPOSIT_ISSUING_SA_SEPA_EXT";
134
145
  WalletTransactionRecordType["DEPOSIT_INTERNAL"] = "DEPOSIT_INTERNAL";
135
146
  WalletTransactionRecordType["DEPOSIT_MANUAL"] = "DEPOSIT_MANUAL";
136
147
  WalletTransactionRecordType["EXCHANGE_CRYPTO_INTERNAL"] = "EXCHANGE_CRYPTO_INTERNAL";
@@ -176,6 +187,7 @@ export var WalletTransactionRecordType;
176
187
  WalletTransactionRecordType["L2F_SEPA_WITHDRAWAL"] = "L2F_SEPA_WITHDRAWAL";
177
188
  WalletTransactionRecordType["L2F_CRYPTO_WITHDRAWAL"] = "L2F_CRYPTO_WITHDRAWAL";
178
189
  WalletTransactionRecordType["L2F_CRYPTO_DEPOSIT"] = "L2F_CRYPTO_DEPOSIT";
190
+ WalletTransactionRecordType["OMNIBUS_CRYPTO_WITHDRAWAL"] = "OMNIBUS_CRYPTO_WITHDRAWAL";
179
191
  WalletTransactionRecordType["HIFI_WIRE_ONRAMP"] = "HIFI_WIRE_ONRAMP";
180
192
  WalletTransactionRecordType["HIFI_WIRE_OFFRAMP"] = "HIFI_WIRE_OFFRAMP";
181
193
  WalletTransactionRecordType["HIFI_WIRE_DEPOSIT"] = "HIFI_WIRE_DEPOSIT";
@@ -191,8 +203,16 @@ export var WalletTransactionRecordType;
191
203
  WalletTransactionRecordType["HIFI_CRYPTO_TRANSFER"] = "HIFI_CRYPTO_TRANSFER";
192
204
  WalletTransactionRecordType["HIFI_CRYPTO_WITHDRAWAL"] = "HIFI_CRYPTO_WITHDRAWAL";
193
205
  WalletTransactionRecordType["HIFI_CRYPTO_DEPOSIT"] = "HIFI_CRYPTO_DEPOSIT";
206
+ WalletTransactionRecordType["TBD_SWIFT_WITHDRAWAL"] = "TBD_SWIFT_WITHDRAWAL";
194
207
  WalletTransactionRecordType["AUTO_CONVERT_CRYPTO"] = "AUTO_CONVERT_CRYPTO";
208
+ WalletTransactionRecordType["WITHDRAWAL_CRYPTO"] = "WITHDRAWAL_CRYPTO";
209
+ WalletTransactionRecordType["WITHDRAWAL_FIAT_SEPA"] = "WITHDRAWAL_FIAT_SEPA";
210
+ WalletTransactionRecordType["L2F_FPS_OFFRAMP"] = "L2F_FPS_OFFRAMP";
211
+ WalletTransactionRecordType["L2F_FPS_ONRAMP"] = "L2F_FPS_ONRAMP";
212
+ WalletTransactionRecordType["L2F_CHAPS_OFFRAMP"] = "L2F_CHAPS_OFFRAMP";
213
+ WalletTransactionRecordType["L2F_CHAPS_ONRAMP"] = "L2F_CHAPS_ONRAMP";
195
214
  })(WalletTransactionRecordType || (WalletTransactionRecordType = {}));
215
+ export const orderTypeIncludedInWalletTransactionRecordTypeCheck = true;
196
216
  export var RequestStatus;
197
217
  (function (RequestStatus) {
198
218
  RequestStatus["NONE"] = "none";
@@ -7,3 +7,8 @@ export type EnumUnionMismatch<E, U> = {
7
7
  hasMismatch: [EnumValuesMissingInUnion<E, U>, UnionValuesMissingInEnum<E, U>] extends [never, never] ? false : true;
8
8
  };
9
9
  export type IsEnumEqualToUnion<E, U> = [EnumValues<E>] extends [U] ? [U] extends [EnumValues<E>] ? true : false : false;
10
+ export type IsUnionSubset<SubsetUnion, SupersetUnion> = Exclude<SubsetUnion, SupersetUnion> extends never ? true : false;
11
+ export type UnionSubsetMismatch<SubsetUnion, SupersetUnion> = {
12
+ subsetMissingInSuperset: Exclude<SubsetUnion, SupersetUnion>;
13
+ hasMismatch: Exclude<SubsetUnion, SupersetUnion> extends never ? false : true;
14
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.34.21",
3
+ "version": "1.34.23",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",