squarefi-bff-api-module 1.32.9 → 1.32.11
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 +5 -5
- package/dist/constants.d.ts +5 -3
- package/dist/constants.js +13 -12
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CurrencyType, IssuingProgramStatus,
|
|
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:
|
|
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:
|
|
1423
|
+
payment_method: OrderTypePaymentMethod;
|
|
1424
1424
|
is_trusted: boolean;
|
|
1425
1425
|
order_types_kyc_rails: OrderTypeKycRail[];
|
|
1426
1426
|
}
|
|
@@ -1850,7 +1850,7 @@ export declare namespace API {
|
|
|
1850
1850
|
walletAddress: string;
|
|
1851
1851
|
}
|
|
1852
1852
|
namespace DepositInstruction {
|
|
1853
|
-
type InstructionType = 'ACH' | 'FEDWIRE' | 'SWIFT' | 'CHAPS' | 'FPS' | 'SEPA' | 'CRYPTO_EXTERNAL' | 'CRYPTO_INTERNAL';
|
|
1853
|
+
type InstructionType = 'ACH' | 'FEDWIRE' | 'SWIFT' | 'CHAPS' | 'FPS' | 'SEPA' | 'CRYPTO_EXTERNAL' | 'CRYPTO_INTERNAL' | 'SEPA_CT';
|
|
1854
1854
|
interface Address {
|
|
1855
1855
|
city: string;
|
|
1856
1856
|
state: string;
|
package/dist/constants.d.ts
CHANGED
|
@@ -51,9 +51,10 @@ export declare enum WalletTransactionStatus {
|
|
|
51
51
|
PROCESSING = "processing",
|
|
52
52
|
NEW = "new"
|
|
53
53
|
}
|
|
54
|
-
export declare enum
|
|
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",
|
|
@@ -311,13 +312,14 @@ export declare enum VirtualAccountsInstructionType {
|
|
|
311
312
|
FEDWIRE = "FEDWIRE",
|
|
312
313
|
SWIFT = "SWIFT",
|
|
313
314
|
SEPA = "SEPA",
|
|
315
|
+
SEPA_CT = "SEPA_CT",// DEPRECATED, use SEPA instead
|
|
314
316
|
CHAPS = "CHAPS",
|
|
315
317
|
FPS = "FPS",
|
|
316
318
|
CRYPTO_EXTERNAL = "CRYPTO_EXTERNAL",
|
|
317
319
|
CRYPTO_INTERNAL = "CRYPTO_INTERNAL"
|
|
318
320
|
}
|
|
319
|
-
export declare const isOrderPaymentMethodEqualWithVirtualAccountsInstructionType: IsEnumEqualToUnion<
|
|
320
|
-
export type OrderPaymentMethodEqualWithVirtualAccountsInstructionTypeMismatch = EnumUnionMismatch<
|
|
321
|
+
export declare const isOrderPaymentMethodEqualWithVirtualAccountsInstructionType: IsEnumEqualToUnion<OrderTypePaymentMethod, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
|
|
322
|
+
export type OrderPaymentMethodEqualWithVirtualAccountsInstructionTypeMismatch = EnumUnionMismatch<OrderTypePaymentMethod, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
|
|
321
323
|
export declare const virtualAccountsInstructionTypeCheck: IsEnumEqualToUnion<VirtualAccountsInstructionType, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
|
|
322
324
|
export type VirtualAccountsInstructionTypeMismatch = EnumUnionMismatch<VirtualAccountsInstructionType, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
|
|
323
325
|
export declare enum CardTransactionStatus {
|
package/dist/constants.js
CHANGED
|
@@ -49,18 +49,19 @@ export var WalletTransactionStatus;
|
|
|
49
49
|
WalletTransactionStatus["PROCESSING"] = "processing";
|
|
50
50
|
WalletTransactionStatus["NEW"] = "new";
|
|
51
51
|
})(WalletTransactionStatus || (WalletTransactionStatus = {}));
|
|
52
|
-
export var
|
|
53
|
-
(function (
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
export var OrderTypePaymentMethod;
|
|
53
|
+
(function (OrderTypePaymentMethod) {
|
|
54
|
+
OrderTypePaymentMethod["ACH"] = "ACH";
|
|
55
|
+
OrderTypePaymentMethod["SEPA"] = "SEPA";
|
|
56
|
+
OrderTypePaymentMethod["SEPA_CT"] = "SEPA_CT";
|
|
57
|
+
OrderTypePaymentMethod["SWIFT"] = "SWIFT";
|
|
57
58
|
// DOMESTIC_WIRE = 'DOMESTIC_WIRE', // DEPRECATED, use FEDWIRE instead
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
})(
|
|
59
|
+
OrderTypePaymentMethod["FEDWIRE"] = "FEDWIRE";
|
|
60
|
+
OrderTypePaymentMethod["CRYPTO_EXTERNAL"] = "CRYPTO_EXTERNAL";
|
|
61
|
+
OrderTypePaymentMethod["CRYPTO_INTERNAL"] = "CRYPTO_INTERNAL";
|
|
62
|
+
OrderTypePaymentMethod["CHAPS"] = "CHAPS";
|
|
63
|
+
OrderTypePaymentMethod["FPS"] = "FPS";
|
|
64
|
+
})(OrderTypePaymentMethod || (OrderTypePaymentMethod = {}));
|
|
64
65
|
export var OrderType;
|
|
65
66
|
(function (OrderType) {
|
|
66
67
|
// when extend do not forget to add new order type to the enum WalletTransactionRecordType
|
|
@@ -346,7 +347,7 @@ export var VirtualAccountsInstructionType;
|
|
|
346
347
|
VirtualAccountsInstructionType["FEDWIRE"] = "FEDWIRE";
|
|
347
348
|
VirtualAccountsInstructionType["SWIFT"] = "SWIFT";
|
|
348
349
|
VirtualAccountsInstructionType["SEPA"] = "SEPA";
|
|
349
|
-
|
|
350
|
+
VirtualAccountsInstructionType["SEPA_CT"] = "SEPA_CT";
|
|
350
351
|
VirtualAccountsInstructionType["CHAPS"] = "CHAPS";
|
|
351
352
|
VirtualAccountsInstructionType["FPS"] = "FPS";
|
|
352
353
|
VirtualAccountsInstructionType["CRYPTO_EXTERNAL"] = "CRYPTO_EXTERNAL";
|