squarefi-bff-api-module 1.32.11 → 1.32.13
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.
|
@@ -2232,10 +2232,6 @@ export interface components {
|
|
|
2232
2232
|
data: components["schemas"]["ExchangeRateDto"][];
|
|
2233
2233
|
};
|
|
2234
2234
|
InitInquiryResponseDto: {
|
|
2235
|
-
/** @example 6633328a-1713-4a4d-97e6-088f96cdf12e */
|
|
2236
|
-
referenceId: string;
|
|
2237
|
-
/** @example itmpl_rmUunz2XZk5xm4KQyJawGQSpappS */
|
|
2238
|
-
templateId: string;
|
|
2239
2235
|
/** @example inq_E6U4KitBucNKpfrDMb997AaTkQTt */
|
|
2240
2236
|
inquiryId: string | null;
|
|
2241
2237
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { APIKeyRole, CardFormFactor, CardTransactionType, CardType, CurrencyType, IssuingProgramStatus, OrderStatuses, OrderType, SortingDirection, SubAccountType, WalletTransactionMethod, WalletTransactionRecordType, WalletTransactionStatus, WalletTransactionType } from '../../constants';
|
|
2
|
-
import {
|
|
2
|
+
import { 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: API.Orders.V2.OrderTypes.PaymentMethod;
|
|
1162
1162
|
}
|
|
1163
1163
|
namespace List {
|
|
1164
1164
|
type Response = OrderInfo[];
|
|
@@ -1410,6 +1410,7 @@ export declare namespace API {
|
|
|
1410
1410
|
}
|
|
1411
1411
|
}
|
|
1412
1412
|
namespace OrderTypes {
|
|
1413
|
+
type PaymentMethod = 'ACH' | 'FEDWIRE' | 'SWIFT' | 'SEPA' | 'SEPA_CT' | 'CHAPS' | 'FPS' | 'CRYPTO_EXTERNAL' | 'CRYPTO_INTERNAL';
|
|
1413
1414
|
type OrderTypeKycRail = {
|
|
1414
1415
|
id: string;
|
|
1415
1416
|
kyc_rail_id: string;
|
|
@@ -1420,7 +1421,7 @@ export declare namespace API {
|
|
|
1420
1421
|
description: string | null;
|
|
1421
1422
|
direction: string | null;
|
|
1422
1423
|
is_internal: boolean;
|
|
1423
|
-
payment_method:
|
|
1424
|
+
payment_method: PaymentMethod;
|
|
1424
1425
|
is_trusted: boolean;
|
|
1425
1426
|
order_types_kyc_rails: OrderTypeKycRail[];
|
|
1426
1427
|
}
|
package/dist/constants.d.ts
CHANGED
|
@@ -62,6 +62,8 @@ export declare enum OrderTypePaymentMethod {
|
|
|
62
62
|
CHAPS = "CHAPS",
|
|
63
63
|
FPS = "FPS"
|
|
64
64
|
}
|
|
65
|
+
export declare const orderTypePaymentMethodCheck: IsEnumEqualToUnion<OrderTypePaymentMethod, API.Orders.V2.OrderTypes.PaymentMethod>;
|
|
66
|
+
export type OrderTypePaymentMethodMismatch = EnumUnionMismatch<OrderTypePaymentMethod, API.Orders.V2.OrderTypes.PaymentMethod>;
|
|
65
67
|
export declare enum OrderType {
|
|
66
68
|
DEPOSIT_ISSUING_SA_CRYPTO_EXT = "DEPOSIT_ISSUING_SA_CRYPTO_EXT",
|
|
67
69
|
DEPOSIT_ISSUING_SA_SEPA_EXT = "DEPOSIT_ISSUING_SA_SEPA_EXT",
|
|
@@ -121,6 +123,7 @@ export declare enum OrderType {
|
|
|
121
123
|
export declare enum WalletTransactionRecordType {
|
|
122
124
|
CARD_PROVIDER_DEPOSIT = "CARD_PROVIDER_DEPOSIT",
|
|
123
125
|
CARD_PROVIDER_REFUND = "CARD_PROVIDER_REFUND",
|
|
126
|
+
CARD_PROVIDER_WITHDRAWAL = "CARD_PROVIDER_WITHDRAWAL",
|
|
124
127
|
DEPOSIT = "DEPOSIT",
|
|
125
128
|
DEPOSIT_CRYPTO_EXTERNAL = "DEPOSIT_CRYPTO_EXTERNAL",
|
|
126
129
|
DEPOSIT_CRYPTO_INTERNAL = "DEPOSIT_CRYPTO_INTERNAL",
|
package/dist/constants.js
CHANGED
|
@@ -62,6 +62,7 @@ export var OrderTypePaymentMethod;
|
|
|
62
62
|
OrderTypePaymentMethod["CHAPS"] = "CHAPS";
|
|
63
63
|
OrderTypePaymentMethod["FPS"] = "FPS";
|
|
64
64
|
})(OrderTypePaymentMethod || (OrderTypePaymentMethod = {}));
|
|
65
|
+
export const orderTypePaymentMethodCheck = true;
|
|
65
66
|
export var OrderType;
|
|
66
67
|
(function (OrderType) {
|
|
67
68
|
// when extend do not forget to add new order type to the enum WalletTransactionRecordType
|
|
@@ -124,6 +125,7 @@ export var WalletTransactionRecordType;
|
|
|
124
125
|
(function (WalletTransactionRecordType) {
|
|
125
126
|
WalletTransactionRecordType["CARD_PROVIDER_DEPOSIT"] = "CARD_PROVIDER_DEPOSIT";
|
|
126
127
|
WalletTransactionRecordType["CARD_PROVIDER_REFUND"] = "CARD_PROVIDER_REFUND";
|
|
128
|
+
WalletTransactionRecordType["CARD_PROVIDER_WITHDRAWAL"] = "CARD_PROVIDER_WITHDRAWAL";
|
|
127
129
|
WalletTransactionRecordType["DEPOSIT"] = "DEPOSIT";
|
|
128
130
|
WalletTransactionRecordType["DEPOSIT_CRYPTO_EXTERNAL"] = "DEPOSIT_CRYPTO_EXTERNAL";
|
|
129
131
|
WalletTransactionRecordType["DEPOSIT_CRYPTO_INTERNAL"] = "DEPOSIT_CRYPTO_INTERNAL";
|