squarefi-bff-api-module 1.32.11 → 1.32.12
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 +4 -3
- package/dist/constants.d.ts +2 -0
- package/dist/constants.js +1 -0
- package/package.json +1 -1
|
@@ -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",
|
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
|