squarefi-bff-api-module 1.32.6 → 1.32.8
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 +10 -3
- package/dist/constants.d.ts +15 -0
- package/dist/constants.js +25 -0
- 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' | 'SEPA_CT' | 'CHAPS' | 'FPS';
|
|
1853
|
+
type InstructionType = 'ACH' | 'FEDWIRE' | 'SWIFT' | 'SEPA_CT' | 'CHAPS' | 'FPS' | 'SEPA';
|
|
1854
1854
|
interface Address {
|
|
1855
1855
|
city: string;
|
|
1856
1856
|
state: string;
|
|
@@ -1889,13 +1889,20 @@ export declare namespace API {
|
|
|
1889
1889
|
institution_address: Address;
|
|
1890
1890
|
account_holder_address: Address;
|
|
1891
1891
|
}
|
|
1892
|
-
interface
|
|
1892
|
+
interface SEPA_CT extends Common {
|
|
1893
1893
|
instruction_type: 'SEPA_CT';
|
|
1894
1894
|
iban: string;
|
|
1895
1895
|
swift_bic: string;
|
|
1896
1896
|
institution_address: Address;
|
|
1897
1897
|
account_holder_address: Address;
|
|
1898
1898
|
}
|
|
1899
|
+
interface SEPA extends Common {
|
|
1900
|
+
instruction_type: 'SEPA';
|
|
1901
|
+
iban: string;
|
|
1902
|
+
swift_bic: string;
|
|
1903
|
+
institution_address: Address;
|
|
1904
|
+
account_holder_address: Address;
|
|
1905
|
+
}
|
|
1899
1906
|
interface CHAPS extends Common {
|
|
1900
1907
|
instruction_type: 'CHAPS';
|
|
1901
1908
|
account_holder_name: string;
|
|
@@ -1910,7 +1917,7 @@ export declare namespace API {
|
|
|
1910
1917
|
account_holder_address: Address;
|
|
1911
1918
|
institution_address: Address;
|
|
1912
1919
|
}
|
|
1913
|
-
type DepositInstruction = ACH | FEDWIRE | SWIFT | SEPA | CHAPS | FPS | Common;
|
|
1920
|
+
type DepositInstruction = ACH | FEDWIRE | SWIFT | SEPA | CHAPS | FPS | SEPA_CT | Common;
|
|
1914
1921
|
}
|
|
1915
1922
|
interface OrderType {
|
|
1916
1923
|
order_type_id: string;
|
package/dist/constants.d.ts
CHANGED
|
@@ -298,10 +298,25 @@ export declare enum CounterpartyDestinationType {
|
|
|
298
298
|
CHAPS = "CHAPS",
|
|
299
299
|
FPS = "FPS"
|
|
300
300
|
}
|
|
301
|
+
export declare const counterpartyBankingDestinationTypes: Record<API.Counterparties.Destination.BankingDestinationType, CounterpartyDestinationType>;
|
|
302
|
+
export declare const counterpartyCryptoDestinationTypes: Record<API.Counterparties.Destination.CryptoDestinationType, CounterpartyDestinationType>;
|
|
303
|
+
export declare const counterpartyCryptoDestinationTypesValues: API.Counterparties.Destination.CryptoDestinationType[];
|
|
304
|
+
export declare const counterpartyBankingDestinationTypesValues: API.Counterparties.Destination.BankingDestinationType[];
|
|
301
305
|
export declare const counterpartyBankingAndCryptoDestinationTypeCheck: IsEnumEqualToUnion<API.Counterparties.Destination.CounterpartyDestinationType, API.Counterparties.Destination.DestinationType>;
|
|
302
306
|
export type CounterpartyBankingAndCryptoDestinationTypeMismatch = EnumUnionMismatch<API.Counterparties.Destination.CounterpartyDestinationType, API.Counterparties.Destination.DestinationType>;
|
|
303
307
|
export declare const counterpartyDestinationTypeCheck: IsEnumEqualToUnion<CounterpartyDestinationType, API.Counterparties.Destination.CounterpartyDestinationType>;
|
|
304
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
|
+
SEPA_CT = "SEPA_CT",
|
|
315
|
+
CHAPS = "CHAPS",
|
|
316
|
+
FPS = "FPS"
|
|
317
|
+
}
|
|
318
|
+
export declare const virtualAccountsInstructionTypeCheck: IsEnumEqualToUnion<VirtualAccountsInstructionType, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
|
|
319
|
+
export type VirtualAccountsInstructionTypeMismatch = EnumUnionMismatch<VirtualAccountsInstructionType, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
|
|
305
320
|
export declare enum CardTransactionStatus {
|
|
306
321
|
APPROVED = "APPROVED",
|
|
307
322
|
CLEARED = "CLEARED",
|
package/dist/constants.js
CHANGED
|
@@ -323,8 +323,33 @@ export var CounterpartyDestinationType;
|
|
|
323
323
|
CounterpartyDestinationType["CHAPS"] = "CHAPS";
|
|
324
324
|
CounterpartyDestinationType["FPS"] = "FPS";
|
|
325
325
|
})(CounterpartyDestinationType || (CounterpartyDestinationType = {}));
|
|
326
|
+
export const counterpartyBankingDestinationTypes = {
|
|
327
|
+
FEDWIRE: CounterpartyDestinationType.FEDWIRE,
|
|
328
|
+
ACH: CounterpartyDestinationType.ACH,
|
|
329
|
+
SWIFT: CounterpartyDestinationType.SWIFT,
|
|
330
|
+
SEPA: CounterpartyDestinationType.SEPA,
|
|
331
|
+
CHAPS: CounterpartyDestinationType.CHAPS,
|
|
332
|
+
FPS: CounterpartyDestinationType.FPS,
|
|
333
|
+
};
|
|
334
|
+
export const counterpartyCryptoDestinationTypes = {
|
|
335
|
+
CRYPTO_EXTERNAL: CounterpartyDestinationType.CRYPTO_EXTERNAL,
|
|
336
|
+
CRYPTO_INTERNAL: CounterpartyDestinationType.CRYPTO_INTERNAL,
|
|
337
|
+
};
|
|
338
|
+
export const counterpartyCryptoDestinationTypesValues = Object.keys(counterpartyCryptoDestinationTypes).map((key) => key);
|
|
339
|
+
export const counterpartyBankingDestinationTypesValues = Object.keys(counterpartyBankingDestinationTypes).map((key) => key);
|
|
326
340
|
export const counterpartyBankingAndCryptoDestinationTypeCheck = true;
|
|
327
341
|
export const counterpartyDestinationTypeCheck = true;
|
|
342
|
+
export var VirtualAccountsInstructionType;
|
|
343
|
+
(function (VirtualAccountsInstructionType) {
|
|
344
|
+
VirtualAccountsInstructionType["ACH"] = "ACH";
|
|
345
|
+
VirtualAccountsInstructionType["FEDWIRE"] = "FEDWIRE";
|
|
346
|
+
VirtualAccountsInstructionType["SWIFT"] = "SWIFT";
|
|
347
|
+
VirtualAccountsInstructionType["SEPA"] = "SEPA";
|
|
348
|
+
VirtualAccountsInstructionType["SEPA_CT"] = "SEPA_CT";
|
|
349
|
+
VirtualAccountsInstructionType["CHAPS"] = "CHAPS";
|
|
350
|
+
VirtualAccountsInstructionType["FPS"] = "FPS";
|
|
351
|
+
})(VirtualAccountsInstructionType || (VirtualAccountsInstructionType = {}));
|
|
352
|
+
export const virtualAccountsInstructionTypeCheck = true;
|
|
328
353
|
export var CardTransactionStatus;
|
|
329
354
|
(function (CardTransactionStatus) {
|
|
330
355
|
CardTransactionStatus["APPROVED"] = "APPROVED";
|