squarefi-bff-api-module 1.32.9 → 1.32.10

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
- import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CurrencyType, IssuingProgramStatus, OrderPaymentMethod, OrderStatuses, OrderType, SortingDirection, SubAccountType, WalletTransactionMethod, WalletTransactionRecordType, WalletTransactionStatus, WalletTransactionType } from '../../constants';
2
- import { WalletType } from '../..';
1
+ import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CurrencyType, IssuingProgramStatus, OrderStatuses, OrderType, SortingDirection, SubAccountType, WalletTransactionMethod, WalletTransactionRecordType, WalletTransactionStatus, WalletTransactionType } from '../../constants';
2
+ import { OrderTypePaymentMethod, 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: OrderType | string;
1161
+ payment_method: OrderTypePaymentMethod;
1162
1162
  }
1163
1163
  namespace List {
1164
1164
  type Response = OrderInfo[];
@@ -1420,7 +1420,7 @@ export declare namespace API {
1420
1420
  description: string | null;
1421
1421
  direction: string | null;
1422
1422
  is_internal: boolean;
1423
- payment_method: OrderPaymentMethod | string;
1423
+ payment_method: OrderTypePaymentMethod;
1424
1424
  is_trusted: boolean;
1425
1425
  order_types_kyc_rails: OrderTypeKycRail[];
1426
1426
  }
@@ -51,7 +51,7 @@ export declare enum WalletTransactionStatus {
51
51
  PROCESSING = "processing",
52
52
  NEW = "new"
53
53
  }
54
- export declare enum OrderPaymentMethod {
54
+ export declare enum OrderTypePaymentMethod {
55
55
  ACH = "ACH",
56
56
  SEPA = "SEPA",
57
57
  SWIFT = "SWIFT",
@@ -316,8 +316,8 @@ export declare enum VirtualAccountsInstructionType {
316
316
  CRYPTO_EXTERNAL = "CRYPTO_EXTERNAL",
317
317
  CRYPTO_INTERNAL = "CRYPTO_INTERNAL"
318
318
  }
319
- export declare const isOrderPaymentMethodEqualWithVirtualAccountsInstructionType: IsEnumEqualToUnion<OrderPaymentMethod, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
320
- export type OrderPaymentMethodEqualWithVirtualAccountsInstructionTypeMismatch = EnumUnionMismatch<OrderPaymentMethod, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
319
+ export declare const isOrderPaymentMethodEqualWithVirtualAccountsInstructionType: IsEnumEqualToUnion<OrderTypePaymentMethod, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
320
+ export type OrderPaymentMethodEqualWithVirtualAccountsInstructionTypeMismatch = EnumUnionMismatch<OrderTypePaymentMethod, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
321
321
  export declare const virtualAccountsInstructionTypeCheck: IsEnumEqualToUnion<VirtualAccountsInstructionType, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
322
322
  export type VirtualAccountsInstructionTypeMismatch = EnumUnionMismatch<VirtualAccountsInstructionType, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
323
323
  export declare enum CardTransactionStatus {
package/dist/constants.js CHANGED
@@ -49,18 +49,18 @@ export var WalletTransactionStatus;
49
49
  WalletTransactionStatus["PROCESSING"] = "processing";
50
50
  WalletTransactionStatus["NEW"] = "new";
51
51
  })(WalletTransactionStatus || (WalletTransactionStatus = {}));
52
- export var OrderPaymentMethod;
53
- (function (OrderPaymentMethod) {
54
- OrderPaymentMethod["ACH"] = "ACH";
55
- OrderPaymentMethod["SEPA"] = "SEPA";
56
- OrderPaymentMethod["SWIFT"] = "SWIFT";
52
+ export var OrderTypePaymentMethod;
53
+ (function (OrderTypePaymentMethod) {
54
+ OrderTypePaymentMethod["ACH"] = "ACH";
55
+ OrderTypePaymentMethod["SEPA"] = "SEPA";
56
+ OrderTypePaymentMethod["SWIFT"] = "SWIFT";
57
57
  // DOMESTIC_WIRE = 'DOMESTIC_WIRE', // DEPRECATED, use FEDWIRE instead
58
- OrderPaymentMethod["FEDWIRE"] = "FEDWIRE";
59
- OrderPaymentMethod["CRYPTO_EXTERNAL"] = "CRYPTO_EXTERNAL";
60
- OrderPaymentMethod["CRYPTO_INTERNAL"] = "CRYPTO_INTERNAL";
61
- OrderPaymentMethod["CHAPS"] = "CHAPS";
62
- OrderPaymentMethod["FPS"] = "FPS";
63
- })(OrderPaymentMethod || (OrderPaymentMethod = {}));
58
+ OrderTypePaymentMethod["FEDWIRE"] = "FEDWIRE";
59
+ OrderTypePaymentMethod["CRYPTO_EXTERNAL"] = "CRYPTO_EXTERNAL";
60
+ OrderTypePaymentMethod["CRYPTO_INTERNAL"] = "CRYPTO_INTERNAL";
61
+ OrderTypePaymentMethod["CHAPS"] = "CHAPS";
62
+ OrderTypePaymentMethod["FPS"] = "FPS";
63
+ })(OrderTypePaymentMethod || (OrderTypePaymentMethod = {}));
64
64
  export var OrderType;
65
65
  (function (OrderType) {
66
66
  // when extend do not forget to add new order type to the enum WalletTransactionRecordType
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.32.9",
3
+ "version": "1.32.10",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",