squarefi-bff-api-module 1.36.34 → 1.36.35
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 +1 -1
- package/dist/constants.d.ts +41 -5
- package/dist/constants.js +34 -0
- package/package.json +1 -1
|
@@ -1562,7 +1562,7 @@ export declare namespace API {
|
|
|
1562
1562
|
}
|
|
1563
1563
|
}
|
|
1564
1564
|
namespace OrderTypes {
|
|
1565
|
-
type PaymentMethod = 'ACH' | 'FEDWIRE' | 'SWIFT' | 'SEPA' | 'SEPA_CT' | 'CHAPS' | 'FPS' | 'CRYPTO_EXTERNAL' | 'CRYPTO_INTERNAL';
|
|
1565
|
+
type PaymentMethod = 'ACH' | 'FEDWIRE' | 'SWIFT' | 'SEPA' | 'SEPA_CT' | 'CHAPS' | 'FPS' | 'RTP' | 'CARD' | 'CRYPTO_EXTERNAL' | 'CRYPTO_INTERNAL';
|
|
1566
1566
|
type OrderTypeKycRail = {
|
|
1567
1567
|
id: string;
|
|
1568
1568
|
kyc_rail_id: string;
|
package/dist/constants.d.ts
CHANGED
|
@@ -60,7 +60,9 @@ export declare enum OrderTypePaymentMethod {
|
|
|
60
60
|
CRYPTO_EXTERNAL = "CRYPTO_EXTERNAL",
|
|
61
61
|
CRYPTO_INTERNAL = "CRYPTO_INTERNAL",
|
|
62
62
|
CHAPS = "CHAPS",
|
|
63
|
-
FPS = "FPS"
|
|
63
|
+
FPS = "FPS",
|
|
64
|
+
RTP = "RTP",
|
|
65
|
+
CARD = "CARD"
|
|
64
66
|
}
|
|
65
67
|
export declare const orderTypePaymentMethodCheck: IsEnumEqualToUnion<OrderTypePaymentMethod, API.Orders.V2.OrderTypes.PaymentMethod>;
|
|
66
68
|
export type OrderTypePaymentMethodMismatch = EnumUnionMismatch<OrderTypePaymentMethod, API.Orders.V2.OrderTypes.PaymentMethod>;
|
|
@@ -137,7 +139,23 @@ export declare enum OrderType {
|
|
|
137
139
|
DLS_SEPA_ONRAMP = "DLS_SEPA_ONRAMP",
|
|
138
140
|
DLS_SEPA_OFFRAMP = "DLS_SEPA_OFFRAMP",
|
|
139
141
|
DLS_SWIFT_ONRAMP = "DLS_SWIFT_ONRAMP",
|
|
140
|
-
DLS_SWIFT_OFFRAMP = "DLS_SWIFT_OFFRAMP"
|
|
142
|
+
DLS_SWIFT_OFFRAMP = "DLS_SWIFT_OFFRAMP",
|
|
143
|
+
BC1_SEPA_ONRAMP = "BC1_SEPA_ONRAMP",
|
|
144
|
+
BC1_SEPA_OFFRAMP = "BC1_SEPA_OFFRAMP",
|
|
145
|
+
BC1_SWIFT_ONRAMP = "BC1_SWIFT_ONRAMP",
|
|
146
|
+
BC1_SWIFT_OFFRAMP = "BC1_SWIFT_OFFRAMP",
|
|
147
|
+
BC3_SEPA_ONRAMP = "BC3_SEPA_ONRAMP",
|
|
148
|
+
BC3_SEPA_OFFRAMP = "BC3_SEPA_OFFRAMP",
|
|
149
|
+
NARVI_SEPA_ONRAMP = "NARVI_SEPA_ONRAMP",
|
|
150
|
+
NARVI_SEPA_OFFRAMP = "NARVI_SEPA_OFFRAMP",
|
|
151
|
+
EXCHANGE_OMNI_ONRAMP = "EXCHANGE_OMNI_ONRAMP",
|
|
152
|
+
EXCHANGE_OMNI_OFFRAMP = "EXCHANGE_OMNI_OFFRAMP",
|
|
153
|
+
EXCHANGE_OMNI_CRYPTO = "EXCHANGE_OMNI_CRYPTO",
|
|
154
|
+
CARD_AUTHORIZATION = "CARD_AUTHORIZATION",
|
|
155
|
+
CARD_AUTH_REFUND = "CARD_AUTH_REFUND",
|
|
156
|
+
REFUND_CARD_PREPAID = "REFUND_CARD_PREPAID",
|
|
157
|
+
REFUND_CARD_SUBACCOUNT = "REFUND_CARD_SUBACCOUNT",
|
|
158
|
+
ADJUSTMENT = "ADJUSTMENT"
|
|
141
159
|
}
|
|
142
160
|
export declare enum WalletTransactionRecordType {
|
|
143
161
|
CARD_PROVIDER_DEPOSIT = "CARD_PROVIDER_DEPOSIT",
|
|
@@ -233,7 +251,23 @@ export declare enum WalletTransactionRecordType {
|
|
|
233
251
|
DLS_SEPA_ONRAMP = "DLS_SEPA_ONRAMP",
|
|
234
252
|
DLS_SEPA_OFFRAMP = "DLS_SEPA_OFFRAMP",
|
|
235
253
|
DLS_SWIFT_ONRAMP = "DLS_SWIFT_ONRAMP",
|
|
236
|
-
DLS_SWIFT_OFFRAMP = "DLS_SWIFT_OFFRAMP"
|
|
254
|
+
DLS_SWIFT_OFFRAMP = "DLS_SWIFT_OFFRAMP",
|
|
255
|
+
BC1_SEPA_ONRAMP = "BC1_SEPA_ONRAMP",
|
|
256
|
+
BC1_SEPA_OFFRAMP = "BC1_SEPA_OFFRAMP",
|
|
257
|
+
BC1_SWIFT_ONRAMP = "BC1_SWIFT_ONRAMP",
|
|
258
|
+
BC1_SWIFT_OFFRAMP = "BC1_SWIFT_OFFRAMP",
|
|
259
|
+
BC3_SEPA_ONRAMP = "BC3_SEPA_ONRAMP",
|
|
260
|
+
BC3_SEPA_OFFRAMP = "BC3_SEPA_OFFRAMP",
|
|
261
|
+
NARVI_SEPA_ONRAMP = "NARVI_SEPA_ONRAMP",
|
|
262
|
+
NARVI_SEPA_OFFRAMP = "NARVI_SEPA_OFFRAMP",
|
|
263
|
+
EXCHANGE_OMNI_ONRAMP = "EXCHANGE_OMNI_ONRAMP",
|
|
264
|
+
EXCHANGE_OMNI_OFFRAMP = "EXCHANGE_OMNI_OFFRAMP",
|
|
265
|
+
EXCHANGE_OMNI_CRYPTO = "EXCHANGE_OMNI_CRYPTO",
|
|
266
|
+
CARD_AUTHORIZATION = "CARD_AUTHORIZATION",
|
|
267
|
+
CARD_AUTH_REFUND = "CARD_AUTH_REFUND",
|
|
268
|
+
REFUND_CARD_PREPAID = "REFUND_CARD_PREPAID",
|
|
269
|
+
REFUND_CARD_SUBACCOUNT = "REFUND_CARD_SUBACCOUNT",
|
|
270
|
+
ADJUSTMENT = "ADJUSTMENT"
|
|
237
271
|
}
|
|
238
272
|
export type OrderTypeMissingInWalletTransactionRecordType = Exclude<EnumValues<OrderType>, EnumValues<WalletTransactionRecordType>>;
|
|
239
273
|
export declare const orderTypeIncludedInWalletTransactionRecordTypeCheck: IsUnionSubset<EnumValues<OrderType>, EnumValues<WalletTransactionRecordType>>;
|
|
@@ -384,8 +418,9 @@ export declare enum VirtualAccountsInstructionType {
|
|
|
384
418
|
CRYPTO_EXTERNAL = "CRYPTO_EXTERNAL",
|
|
385
419
|
CRYPTO_INTERNAL = "CRYPTO_INTERNAL"
|
|
386
420
|
}
|
|
387
|
-
|
|
388
|
-
export
|
|
421
|
+
type OrderPaymentMethodWithoutDepositInstruction = OrderTypePaymentMethod.RTP | OrderTypePaymentMethod.CARD;
|
|
422
|
+
export declare const isOrderPaymentMethodEqualWithVirtualAccountsInstructionType: IsEnumEqualToUnion<Exclude<OrderTypePaymentMethod, OrderPaymentMethodWithoutDepositInstruction>, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
|
|
423
|
+
export type OrderPaymentMethodEqualWithVirtualAccountsInstructionTypeMismatch = EnumUnionMismatch<Exclude<OrderTypePaymentMethod, OrderPaymentMethodWithoutDepositInstruction>, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
|
|
389
424
|
export declare const virtualAccountsInstructionTypeCheck: IsEnumEqualToUnion<VirtualAccountsInstructionType, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
|
|
390
425
|
export type VirtualAccountsInstructionTypeMismatch = EnumUnionMismatch<VirtualAccountsInstructionType, API.VirtualAccounts.VirtualAccount.DepositInstruction.InstructionType>;
|
|
391
426
|
export declare enum CardTransactionStatus {
|
|
@@ -400,3 +435,4 @@ export declare enum CardTransactionStatus {
|
|
|
400
435
|
REVERSED = "REVERSED",
|
|
401
436
|
DECLINED = "DECLINED"
|
|
402
437
|
}
|
|
438
|
+
export {};
|
package/dist/constants.js
CHANGED
|
@@ -61,6 +61,8 @@ export var OrderTypePaymentMethod;
|
|
|
61
61
|
OrderTypePaymentMethod["CRYPTO_INTERNAL"] = "CRYPTO_INTERNAL";
|
|
62
62
|
OrderTypePaymentMethod["CHAPS"] = "CHAPS";
|
|
63
63
|
OrderTypePaymentMethod["FPS"] = "FPS";
|
|
64
|
+
OrderTypePaymentMethod["RTP"] = "RTP";
|
|
65
|
+
OrderTypePaymentMethod["CARD"] = "CARD";
|
|
64
66
|
})(OrderTypePaymentMethod || (OrderTypePaymentMethod = {}));
|
|
65
67
|
export const orderTypePaymentMethodCheck = true;
|
|
66
68
|
export var OrderType;
|
|
@@ -139,6 +141,22 @@ export var OrderType;
|
|
|
139
141
|
OrderType["DLS_SEPA_OFFRAMP"] = "DLS_SEPA_OFFRAMP";
|
|
140
142
|
OrderType["DLS_SWIFT_ONRAMP"] = "DLS_SWIFT_ONRAMP";
|
|
141
143
|
OrderType["DLS_SWIFT_OFFRAMP"] = "DLS_SWIFT_OFFRAMP";
|
|
144
|
+
OrderType["BC1_SEPA_ONRAMP"] = "BC1_SEPA_ONRAMP";
|
|
145
|
+
OrderType["BC1_SEPA_OFFRAMP"] = "BC1_SEPA_OFFRAMP";
|
|
146
|
+
OrderType["BC1_SWIFT_ONRAMP"] = "BC1_SWIFT_ONRAMP";
|
|
147
|
+
OrderType["BC1_SWIFT_OFFRAMP"] = "BC1_SWIFT_OFFRAMP";
|
|
148
|
+
OrderType["BC3_SEPA_ONRAMP"] = "BC3_SEPA_ONRAMP";
|
|
149
|
+
OrderType["BC3_SEPA_OFFRAMP"] = "BC3_SEPA_OFFRAMP";
|
|
150
|
+
OrderType["NARVI_SEPA_ONRAMP"] = "NARVI_SEPA_ONRAMP";
|
|
151
|
+
OrderType["NARVI_SEPA_OFFRAMP"] = "NARVI_SEPA_OFFRAMP";
|
|
152
|
+
OrderType["EXCHANGE_OMNI_ONRAMP"] = "EXCHANGE_OMNI_ONRAMP";
|
|
153
|
+
OrderType["EXCHANGE_OMNI_OFFRAMP"] = "EXCHANGE_OMNI_OFFRAMP";
|
|
154
|
+
OrderType["EXCHANGE_OMNI_CRYPTO"] = "EXCHANGE_OMNI_CRYPTO";
|
|
155
|
+
OrderType["CARD_AUTHORIZATION"] = "CARD_AUTHORIZATION";
|
|
156
|
+
OrderType["CARD_AUTH_REFUND"] = "CARD_AUTH_REFUND";
|
|
157
|
+
OrderType["REFUND_CARD_PREPAID"] = "REFUND_CARD_PREPAID";
|
|
158
|
+
OrderType["REFUND_CARD_SUBACCOUNT"] = "REFUND_CARD_SUBACCOUNT";
|
|
159
|
+
OrderType["ADJUSTMENT"] = "ADJUSTMENT";
|
|
142
160
|
// when extend do not forget to add new order type to the enum WalletTransactionRecordType
|
|
143
161
|
})(OrderType || (OrderType = {}));
|
|
144
162
|
export var WalletTransactionRecordType;
|
|
@@ -237,6 +255,22 @@ export var WalletTransactionRecordType;
|
|
|
237
255
|
WalletTransactionRecordType["DLS_SEPA_OFFRAMP"] = "DLS_SEPA_OFFRAMP";
|
|
238
256
|
WalletTransactionRecordType["DLS_SWIFT_ONRAMP"] = "DLS_SWIFT_ONRAMP";
|
|
239
257
|
WalletTransactionRecordType["DLS_SWIFT_OFFRAMP"] = "DLS_SWIFT_OFFRAMP";
|
|
258
|
+
WalletTransactionRecordType["BC1_SEPA_ONRAMP"] = "BC1_SEPA_ONRAMP";
|
|
259
|
+
WalletTransactionRecordType["BC1_SEPA_OFFRAMP"] = "BC1_SEPA_OFFRAMP";
|
|
260
|
+
WalletTransactionRecordType["BC1_SWIFT_ONRAMP"] = "BC1_SWIFT_ONRAMP";
|
|
261
|
+
WalletTransactionRecordType["BC1_SWIFT_OFFRAMP"] = "BC1_SWIFT_OFFRAMP";
|
|
262
|
+
WalletTransactionRecordType["BC3_SEPA_ONRAMP"] = "BC3_SEPA_ONRAMP";
|
|
263
|
+
WalletTransactionRecordType["BC3_SEPA_OFFRAMP"] = "BC3_SEPA_OFFRAMP";
|
|
264
|
+
WalletTransactionRecordType["NARVI_SEPA_ONRAMP"] = "NARVI_SEPA_ONRAMP";
|
|
265
|
+
WalletTransactionRecordType["NARVI_SEPA_OFFRAMP"] = "NARVI_SEPA_OFFRAMP";
|
|
266
|
+
WalletTransactionRecordType["EXCHANGE_OMNI_ONRAMP"] = "EXCHANGE_OMNI_ONRAMP";
|
|
267
|
+
WalletTransactionRecordType["EXCHANGE_OMNI_OFFRAMP"] = "EXCHANGE_OMNI_OFFRAMP";
|
|
268
|
+
WalletTransactionRecordType["EXCHANGE_OMNI_CRYPTO"] = "EXCHANGE_OMNI_CRYPTO";
|
|
269
|
+
WalletTransactionRecordType["CARD_AUTHORIZATION"] = "CARD_AUTHORIZATION";
|
|
270
|
+
WalletTransactionRecordType["CARD_AUTH_REFUND"] = "CARD_AUTH_REFUND";
|
|
271
|
+
WalletTransactionRecordType["REFUND_CARD_PREPAID"] = "REFUND_CARD_PREPAID";
|
|
272
|
+
WalletTransactionRecordType["REFUND_CARD_SUBACCOUNT"] = "REFUND_CARD_SUBACCOUNT";
|
|
273
|
+
WalletTransactionRecordType["ADJUSTMENT"] = "ADJUSTMENT";
|
|
240
274
|
})(WalletTransactionRecordType || (WalletTransactionRecordType = {}));
|
|
241
275
|
export const orderTypeIncludedInWalletTransactionRecordTypeCheck = true;
|
|
242
276
|
export var RequestStatus;
|