squarefi-bff-api-module 1.32.8 → 1.32.9

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.
@@ -1850,7 +1850,7 @@ export declare namespace API {
1850
1850
  walletAddress: string;
1851
1851
  }
1852
1852
  namespace DepositInstruction {
1853
- type InstructionType = 'ACH' | 'FEDWIRE' | 'SWIFT' | 'SEPA_CT' | 'CHAPS' | 'FPS' | 'SEPA';
1853
+ type InstructionType = 'ACH' | 'FEDWIRE' | 'SWIFT' | 'CHAPS' | 'FPS' | 'SEPA' | 'CRYPTO_EXTERNAL' | 'CRYPTO_INTERNAL';
1854
1854
  interface Address {
1855
1855
  city: string;
1856
1856
  state: string;
@@ -1889,13 +1889,6 @@ export declare namespace API {
1889
1889
  institution_address: Address;
1890
1890
  account_holder_address: Address;
1891
1891
  }
1892
- interface SEPA_CT extends Common {
1893
- instruction_type: 'SEPA_CT';
1894
- iban: string;
1895
- swift_bic: string;
1896
- institution_address: Address;
1897
- account_holder_address: Address;
1898
- }
1899
1892
  interface SEPA extends Common {
1900
1893
  instruction_type: 'SEPA';
1901
1894
  iban: string;
@@ -1917,7 +1910,7 @@ export declare namespace API {
1917
1910
  account_holder_address: Address;
1918
1911
  institution_address: Address;
1919
1912
  }
1920
- type DepositInstruction = ACH | FEDWIRE | SWIFT | SEPA | CHAPS | FPS | SEPA_CT | Common;
1913
+ type DepositInstruction = ACH | FEDWIRE | SWIFT | SEPA | CHAPS | FPS | Common;
1921
1914
  }
1922
1915
  interface OrderType {
1923
1916
  order_type_id: string;
@@ -55,7 +55,7 @@ export declare enum OrderPaymentMethod {
55
55
  ACH = "ACH",
56
56
  SEPA = "SEPA",
57
57
  SWIFT = "SWIFT",
58
- DOMESTIC_WIRE = "DOMESTIC_WIRE",
58
+ FEDWIRE = "FEDWIRE",
59
59
  CRYPTO_EXTERNAL = "CRYPTO_EXTERNAL",
60
60
  CRYPTO_INTERNAL = "CRYPTO_INTERNAL",
61
61
  CHAPS = "CHAPS",
@@ -311,10 +311,13 @@ export declare enum VirtualAccountsInstructionType {
311
311
  FEDWIRE = "FEDWIRE",
312
312
  SWIFT = "SWIFT",
313
313
  SEPA = "SEPA",
314
- SEPA_CT = "SEPA_CT",
315
314
  CHAPS = "CHAPS",
316
- FPS = "FPS"
315
+ FPS = "FPS",
316
+ CRYPTO_EXTERNAL = "CRYPTO_EXTERNAL",
317
+ CRYPTO_INTERNAL = "CRYPTO_INTERNAL"
317
318
  }
319
+ export declare const isOrderPaymentMethodEqualWithVirtualAccountsInstructionType: IsEnumEqualToUnion<OrderPaymentMethod, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
320
+ export type OrderPaymentMethodEqualWithVirtualAccountsInstructionTypeMismatch = EnumUnionMismatch<OrderPaymentMethod, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
318
321
  export declare const virtualAccountsInstructionTypeCheck: IsEnumEqualToUnion<VirtualAccountsInstructionType, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
319
322
  export type VirtualAccountsInstructionTypeMismatch = EnumUnionMismatch<VirtualAccountsInstructionType, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
320
323
  export declare enum CardTransactionStatus {
package/dist/constants.js CHANGED
@@ -54,7 +54,8 @@ export var OrderPaymentMethod;
54
54
  OrderPaymentMethod["ACH"] = "ACH";
55
55
  OrderPaymentMethod["SEPA"] = "SEPA";
56
56
  OrderPaymentMethod["SWIFT"] = "SWIFT";
57
- OrderPaymentMethod["DOMESTIC_WIRE"] = "DOMESTIC_WIRE";
57
+ // DOMESTIC_WIRE = 'DOMESTIC_WIRE', // DEPRECATED, use FEDWIRE instead
58
+ OrderPaymentMethod["FEDWIRE"] = "FEDWIRE";
58
59
  OrderPaymentMethod["CRYPTO_EXTERNAL"] = "CRYPTO_EXTERNAL";
59
60
  OrderPaymentMethod["CRYPTO_INTERNAL"] = "CRYPTO_INTERNAL";
60
61
  OrderPaymentMethod["CHAPS"] = "CHAPS";
@@ -345,10 +346,13 @@ export var VirtualAccountsInstructionType;
345
346
  VirtualAccountsInstructionType["FEDWIRE"] = "FEDWIRE";
346
347
  VirtualAccountsInstructionType["SWIFT"] = "SWIFT";
347
348
  VirtualAccountsInstructionType["SEPA"] = "SEPA";
348
- VirtualAccountsInstructionType["SEPA_CT"] = "SEPA_CT";
349
+ // SEPA_CT = 'SEPA_CT', // DEPRECATED, use SEPA instead
349
350
  VirtualAccountsInstructionType["CHAPS"] = "CHAPS";
350
351
  VirtualAccountsInstructionType["FPS"] = "FPS";
352
+ VirtualAccountsInstructionType["CRYPTO_EXTERNAL"] = "CRYPTO_EXTERNAL";
353
+ VirtualAccountsInstructionType["CRYPTO_INTERNAL"] = "CRYPTO_INTERNAL";
351
354
  })(VirtualAccountsInstructionType || (VirtualAccountsInstructionType = {}));
355
+ export const isOrderPaymentMethodEqualWithVirtualAccountsInstructionType = true;
352
356
  export const virtualAccountsInstructionTypeCheck = true;
353
357
  export var CardTransactionStatus;
354
358
  (function (CardTransactionStatus) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.32.8",
3
+ "version": "1.32.9",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",