squarefi-bff-api-module 1.32.7 → 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.
- package/dist/api/types/types.d.ts +2 -2
- package/dist/constants.d.ts +15 -1
- package/dist/constants.js +16 -1
- package/package.json +1 -1
|
@@ -1850,7 +1850,7 @@ export declare namespace API {
|
|
|
1850
1850
|
walletAddress: string;
|
|
1851
1851
|
}
|
|
1852
1852
|
namespace DepositInstruction {
|
|
1853
|
-
type InstructionType = 'ACH' | 'FEDWIRE' | 'SWIFT' | '
|
|
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;
|
|
@@ -1890,7 +1890,7 @@ export declare namespace API {
|
|
|
1890
1890
|
account_holder_address: Address;
|
|
1891
1891
|
}
|
|
1892
1892
|
interface SEPA extends Common {
|
|
1893
|
-
instruction_type: '
|
|
1893
|
+
instruction_type: 'SEPA';
|
|
1894
1894
|
iban: string;
|
|
1895
1895
|
swift_bic: string;
|
|
1896
1896
|
institution_address: Address;
|
package/dist/constants.d.ts
CHANGED
|
@@ -55,7 +55,7 @@ export declare enum OrderPaymentMethod {
|
|
|
55
55
|
ACH = "ACH",
|
|
56
56
|
SEPA = "SEPA",
|
|
57
57
|
SWIFT = "SWIFT",
|
|
58
|
-
|
|
58
|
+
FEDWIRE = "FEDWIRE",
|
|
59
59
|
CRYPTO_EXTERNAL = "CRYPTO_EXTERNAL",
|
|
60
60
|
CRYPTO_INTERNAL = "CRYPTO_INTERNAL",
|
|
61
61
|
CHAPS = "CHAPS",
|
|
@@ -306,6 +306,20 @@ export declare const counterpartyBankingAndCryptoDestinationTypeCheck: IsEnumEqu
|
|
|
306
306
|
export type CounterpartyBankingAndCryptoDestinationTypeMismatch = EnumUnionMismatch<API.Counterparties.Destination.CounterpartyDestinationType, API.Counterparties.Destination.DestinationType>;
|
|
307
307
|
export declare const counterpartyDestinationTypeCheck: IsEnumEqualToUnion<CounterpartyDestinationType, API.Counterparties.Destination.CounterpartyDestinationType>;
|
|
308
308
|
export type CounterpartyDestinationTypeMismatch = EnumUnionMismatch<CounterpartyDestinationType, API.Counterparties.Destination.CounterpartyDestinationType>;
|
|
309
|
+
export declare enum VirtualAccountsInstructionType {
|
|
310
|
+
ACH = "ACH",
|
|
311
|
+
FEDWIRE = "FEDWIRE",
|
|
312
|
+
SWIFT = "SWIFT",
|
|
313
|
+
SEPA = "SEPA",
|
|
314
|
+
CHAPS = "CHAPS",
|
|
315
|
+
FPS = "FPS",
|
|
316
|
+
CRYPTO_EXTERNAL = "CRYPTO_EXTERNAL",
|
|
317
|
+
CRYPTO_INTERNAL = "CRYPTO_INTERNAL"
|
|
318
|
+
}
|
|
319
|
+
export declare const isOrderPaymentMethodEqualWithVirtualAccountsInstructionType: IsEnumEqualToUnion<OrderPaymentMethod, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
|
|
320
|
+
export type OrderPaymentMethodEqualWithVirtualAccountsInstructionTypeMismatch = EnumUnionMismatch<OrderPaymentMethod, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
|
|
321
|
+
export declare const virtualAccountsInstructionTypeCheck: IsEnumEqualToUnion<VirtualAccountsInstructionType, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
|
|
322
|
+
export type VirtualAccountsInstructionTypeMismatch = EnumUnionMismatch<VirtualAccountsInstructionType, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
|
|
309
323
|
export declare enum CardTransactionStatus {
|
|
310
324
|
APPROVED = "APPROVED",
|
|
311
325
|
CLEARED = "CLEARED",
|
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
|
-
|
|
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";
|
|
@@ -339,6 +340,20 @@ export const counterpartyCryptoDestinationTypesValues = Object.keys(counterparty
|
|
|
339
340
|
export const counterpartyBankingDestinationTypesValues = Object.keys(counterpartyBankingDestinationTypes).map((key) => key);
|
|
340
341
|
export const counterpartyBankingAndCryptoDestinationTypeCheck = true;
|
|
341
342
|
export const counterpartyDestinationTypeCheck = true;
|
|
343
|
+
export var VirtualAccountsInstructionType;
|
|
344
|
+
(function (VirtualAccountsInstructionType) {
|
|
345
|
+
VirtualAccountsInstructionType["ACH"] = "ACH";
|
|
346
|
+
VirtualAccountsInstructionType["FEDWIRE"] = "FEDWIRE";
|
|
347
|
+
VirtualAccountsInstructionType["SWIFT"] = "SWIFT";
|
|
348
|
+
VirtualAccountsInstructionType["SEPA"] = "SEPA";
|
|
349
|
+
// SEPA_CT = 'SEPA_CT', // DEPRECATED, use SEPA instead
|
|
350
|
+
VirtualAccountsInstructionType["CHAPS"] = "CHAPS";
|
|
351
|
+
VirtualAccountsInstructionType["FPS"] = "FPS";
|
|
352
|
+
VirtualAccountsInstructionType["CRYPTO_EXTERNAL"] = "CRYPTO_EXTERNAL";
|
|
353
|
+
VirtualAccountsInstructionType["CRYPTO_INTERNAL"] = "CRYPTO_INTERNAL";
|
|
354
|
+
})(VirtualAccountsInstructionType || (VirtualAccountsInstructionType = {}));
|
|
355
|
+
export const isOrderPaymentMethodEqualWithVirtualAccountsInstructionType = true;
|
|
356
|
+
export const virtualAccountsInstructionTypeCheck = true;
|
|
342
357
|
export var CardTransactionStatus;
|
|
343
358
|
(function (CardTransactionStatus) {
|
|
344
359
|
CardTransactionStatus["APPROVED"] = "APPROVED";
|