squarefi-bff-api-module 1.32.10 → 1.32.12

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,5 +1,5 @@
1
1
  import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CurrencyType, IssuingProgramStatus, OrderStatuses, OrderType, SortingDirection, SubAccountType, WalletTransactionMethod, WalletTransactionRecordType, WalletTransactionStatus, WalletTransactionType } from '../../constants';
2
- import { OrderTypePaymentMethod, WalletType } from '../..';
2
+ import { WalletType } from '../..';
3
3
  import { components, operations } from './autogen/apiV2.types';
4
4
  export declare namespace API {
5
5
  namespace Auth {
@@ -1158,7 +1158,7 @@ export declare namespace API {
1158
1158
  direction: 'deposit' | 'withdrawal';
1159
1159
  is_internal: boolean;
1160
1160
  order_types_kyc_rails: OrderTypeKycRail[];
1161
- payment_method: OrderTypePaymentMethod;
1161
+ payment_method: API.Orders.V2.OrderTypes.PaymentMethod;
1162
1162
  }
1163
1163
  namespace List {
1164
1164
  type Response = OrderInfo[];
@@ -1410,6 +1410,7 @@ export declare namespace API {
1410
1410
  }
1411
1411
  }
1412
1412
  namespace OrderTypes {
1413
+ type PaymentMethod = 'ACH' | 'FEDWIRE' | 'SWIFT' | 'SEPA' | 'SEPA_CT' | 'CHAPS' | 'FPS' | 'CRYPTO_EXTERNAL' | 'CRYPTO_INTERNAL';
1413
1414
  type OrderTypeKycRail = {
1414
1415
  id: string;
1415
1416
  kyc_rail_id: string;
@@ -1420,7 +1421,7 @@ export declare namespace API {
1420
1421
  description: string | null;
1421
1422
  direction: string | null;
1422
1423
  is_internal: boolean;
1423
- payment_method: OrderTypePaymentMethod;
1424
+ payment_method: PaymentMethod;
1424
1425
  is_trusted: boolean;
1425
1426
  order_types_kyc_rails: OrderTypeKycRail[];
1426
1427
  }
@@ -1850,7 +1851,7 @@ export declare namespace API {
1850
1851
  walletAddress: string;
1851
1852
  }
1852
1853
  namespace DepositInstruction {
1853
- type InstructionType = 'ACH' | 'FEDWIRE' | 'SWIFT' | 'CHAPS' | 'FPS' | 'SEPA' | 'CRYPTO_EXTERNAL' | 'CRYPTO_INTERNAL';
1854
+ type InstructionType = 'ACH' | 'FEDWIRE' | 'SWIFT' | 'CHAPS' | 'FPS' | 'SEPA' | 'CRYPTO_EXTERNAL' | 'CRYPTO_INTERNAL' | 'SEPA_CT';
1854
1855
  interface Address {
1855
1856
  city: string;
1856
1857
  state: string;
@@ -54,6 +54,7 @@ export declare enum WalletTransactionStatus {
54
54
  export declare enum OrderTypePaymentMethod {
55
55
  ACH = "ACH",
56
56
  SEPA = "SEPA",
57
+ SEPA_CT = "SEPA_CT",// DEPRECATED, use SEPA instead
57
58
  SWIFT = "SWIFT",
58
59
  FEDWIRE = "FEDWIRE",
59
60
  CRYPTO_EXTERNAL = "CRYPTO_EXTERNAL",
@@ -61,6 +62,8 @@ export declare enum OrderTypePaymentMethod {
61
62
  CHAPS = "CHAPS",
62
63
  FPS = "FPS"
63
64
  }
65
+ export declare const orderTypePaymentMethodCheck: IsEnumEqualToUnion<OrderTypePaymentMethod, API.Orders.V2.OrderTypes.PaymentMethod>;
66
+ export type OrderTypePaymentMethodMismatch = EnumUnionMismatch<OrderTypePaymentMethod, API.Orders.V2.OrderTypes.PaymentMethod>;
64
67
  export declare enum OrderType {
65
68
  DEPOSIT_ISSUING_SA_CRYPTO_EXT = "DEPOSIT_ISSUING_SA_CRYPTO_EXT",
66
69
  DEPOSIT_ISSUING_SA_SEPA_EXT = "DEPOSIT_ISSUING_SA_SEPA_EXT",
@@ -311,6 +314,7 @@ export declare enum VirtualAccountsInstructionType {
311
314
  FEDWIRE = "FEDWIRE",
312
315
  SWIFT = "SWIFT",
313
316
  SEPA = "SEPA",
317
+ SEPA_CT = "SEPA_CT",// DEPRECATED, use SEPA instead
314
318
  CHAPS = "CHAPS",
315
319
  FPS = "FPS",
316
320
  CRYPTO_EXTERNAL = "CRYPTO_EXTERNAL",
package/dist/constants.js CHANGED
@@ -53,6 +53,7 @@ export var OrderTypePaymentMethod;
53
53
  (function (OrderTypePaymentMethod) {
54
54
  OrderTypePaymentMethod["ACH"] = "ACH";
55
55
  OrderTypePaymentMethod["SEPA"] = "SEPA";
56
+ OrderTypePaymentMethod["SEPA_CT"] = "SEPA_CT";
56
57
  OrderTypePaymentMethod["SWIFT"] = "SWIFT";
57
58
  // DOMESTIC_WIRE = 'DOMESTIC_WIRE', // DEPRECATED, use FEDWIRE instead
58
59
  OrderTypePaymentMethod["FEDWIRE"] = "FEDWIRE";
@@ -61,6 +62,7 @@ export var OrderTypePaymentMethod;
61
62
  OrderTypePaymentMethod["CHAPS"] = "CHAPS";
62
63
  OrderTypePaymentMethod["FPS"] = "FPS";
63
64
  })(OrderTypePaymentMethod || (OrderTypePaymentMethod = {}));
65
+ export const orderTypePaymentMethodCheck = true;
64
66
  export var OrderType;
65
67
  (function (OrderType) {
66
68
  // when extend do not forget to add new order type to the enum WalletTransactionRecordType
@@ -346,7 +348,7 @@ export var VirtualAccountsInstructionType;
346
348
  VirtualAccountsInstructionType["FEDWIRE"] = "FEDWIRE";
347
349
  VirtualAccountsInstructionType["SWIFT"] = "SWIFT";
348
350
  VirtualAccountsInstructionType["SEPA"] = "SEPA";
349
- // SEPA_CT = 'SEPA_CT', // DEPRECATED, use SEPA instead
351
+ VirtualAccountsInstructionType["SEPA_CT"] = "SEPA_CT";
350
352
  VirtualAccountsInstructionType["CHAPS"] = "CHAPS";
351
353
  VirtualAccountsInstructionType["FPS"] = "FPS";
352
354
  VirtualAccountsInstructionType["CRYPTO_EXTERNAL"] = "CRYPTO_EXTERNAL";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.32.10",
3
+ "version": "1.32.12",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",