squarefi-bff-api-module 1.36.107 → 1.36.109
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.
|
@@ -21395,6 +21395,16 @@ export interface components {
|
|
|
21395
21395
|
* @example Certificate of incorporation
|
|
21396
21396
|
*/
|
|
21397
21397
|
label: string;
|
|
21398
|
+
/**
|
|
21399
|
+
* Format: uuid
|
|
21400
|
+
* @description The file that was refused: the `id` of a file in that field's value in `GET …/forms`, the one `DELETE …/forms/uploads/{upload_id}` removes. Of a field with several files only the first goes to the provider, so only it is named. No file with this id in the field = the client already replaced it.
|
|
21401
|
+
*/
|
|
21402
|
+
upload_id: string;
|
|
21403
|
+
/**
|
|
21404
|
+
* Format: date-time
|
|
21405
|
+
* @description When the file was refused.
|
|
21406
|
+
*/
|
|
21407
|
+
rejected_at: string;
|
|
21398
21408
|
}[];
|
|
21399
21409
|
};
|
|
21400
21410
|
/** @description Only for an entity linked to a wallet and with a base form: one item per active rail of the tenant of the entity's client type (and the universal ones) — not filtered by what the wallet sees (`GET …/targets` does that); empty otherwise. */
|
package/dist/constants.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { API } from '.';
|
|
2
|
+
import type { components as componentsV1External } from './api/types/autogen/apiV1External.types';
|
|
3
|
+
import type { components as componentsV1Frontend } from './api/types/autogen/apiV1Frontend.types';
|
|
4
|
+
import type { components as componentsV1Legacy } from './api/types/autogen/apiV1Legacy.types';
|
|
5
|
+
import type { components as componentsV1Tenant } from './api/types/autogen/apiV1Tenant.types';
|
|
2
6
|
import { EnumValues, IsEnumEqualToUnion, EnumUnionMismatch, IsUnionSubset, UnionSubsetMismatch } from './utils/types';
|
|
3
7
|
export type ValueWithLabel = {
|
|
4
8
|
value: string;
|
|
@@ -131,6 +135,7 @@ export declare enum OrderType {
|
|
|
131
135
|
BRL_ACH_ONRAMP = "BRL_ACH_ONRAMP",
|
|
132
136
|
BRL_WIRE_OFFRAMP = "BRL_WIRE_OFFRAMP",
|
|
133
137
|
BRL_WIRE_ONRAMP = "BRL_WIRE_ONRAMP",
|
|
138
|
+
BRL_FEDNOW_ONRAMP = "BRL_FEDNOW_ONRAMP",
|
|
134
139
|
BRL_RTP_OFFRAMP = "BRL_RTP_OFFRAMP",
|
|
135
140
|
DLS_WIRE_ONRAMP = "DLS_WIRE_ONRAMP",
|
|
136
141
|
DLS_WIRE_OFFRAMP = "DLS_WIRE_OFFRAMP",
|
|
@@ -146,6 +151,8 @@ export declare enum OrderType {
|
|
|
146
151
|
BC1_SWIFT_OFFRAMP = "BC1_SWIFT_OFFRAMP",
|
|
147
152
|
BC3_SEPA_ONRAMP = "BC3_SEPA_ONRAMP",
|
|
148
153
|
BC3_SEPA_OFFRAMP = "BC3_SEPA_OFFRAMP",
|
|
154
|
+
BC3_SWIFT_ONRAMP = "BC3_SWIFT_ONRAMP",
|
|
155
|
+
BC3_SWIFT_OFFRAMP = "BC3_SWIFT_OFFRAMP",
|
|
149
156
|
NARVI_SEPA_ONRAMP = "NARVI_SEPA_ONRAMP",
|
|
150
157
|
NARVI_SEPA_OFFRAMP = "NARVI_SEPA_OFFRAMP",
|
|
151
158
|
RPP_SWIFT_OFFRAMP = "RPP_SWIFT_OFFRAMP",
|
|
@@ -159,7 +166,9 @@ export declare enum OrderType {
|
|
|
159
166
|
CARD_AUTH_REFUND = "CARD_AUTH_REFUND",
|
|
160
167
|
REFUND_CARD_PREPAID = "REFUND_CARD_PREPAID",
|
|
161
168
|
REFUND_CARD_SUBACCOUNT = "REFUND_CARD_SUBACCOUNT",
|
|
162
|
-
ADJUSTMENT = "ADJUSTMENT"
|
|
169
|
+
ADJUSTMENT = "ADJUSTMENT",
|
|
170
|
+
MONTHLY_FEE = "MONTHLY_FEE",
|
|
171
|
+
REFERRAL_PAYOUT = "REFERRAL_PAYOUT"
|
|
163
172
|
}
|
|
164
173
|
export declare enum WalletTransactionRecordType {
|
|
165
174
|
CARD_PROVIDER_DEPOSIT = "CARD_PROVIDER_DEPOSIT",
|
|
@@ -247,6 +256,7 @@ export declare enum WalletTransactionRecordType {
|
|
|
247
256
|
BRL_ACH_ONRAMP = "BRL_ACH_ONRAMP",
|
|
248
257
|
BRL_WIRE_OFFRAMP = "BRL_WIRE_OFFRAMP",
|
|
249
258
|
BRL_WIRE_ONRAMP = "BRL_WIRE_ONRAMP",
|
|
259
|
+
BRL_FEDNOW_ONRAMP = "BRL_FEDNOW_ONRAMP",
|
|
250
260
|
BRL_RTP_OFFRAMP = "BRL_RTP_OFFRAMP",
|
|
251
261
|
DLS_WIRE_ONRAMP = "DLS_WIRE_ONRAMP",
|
|
252
262
|
DLS_WIRE_OFFRAMP = "DLS_WIRE_OFFRAMP",
|
|
@@ -262,6 +272,8 @@ export declare enum WalletTransactionRecordType {
|
|
|
262
272
|
BC1_SWIFT_OFFRAMP = "BC1_SWIFT_OFFRAMP",
|
|
263
273
|
BC3_SEPA_ONRAMP = "BC3_SEPA_ONRAMP",
|
|
264
274
|
BC3_SEPA_OFFRAMP = "BC3_SEPA_OFFRAMP",
|
|
275
|
+
BC3_SWIFT_ONRAMP = "BC3_SWIFT_ONRAMP",
|
|
276
|
+
BC3_SWIFT_OFFRAMP = "BC3_SWIFT_OFFRAMP",
|
|
265
277
|
NARVI_SEPA_ONRAMP = "NARVI_SEPA_ONRAMP",
|
|
266
278
|
NARVI_SEPA_OFFRAMP = "NARVI_SEPA_OFFRAMP",
|
|
267
279
|
RPP_SWIFT_OFFRAMP = "RPP_SWIFT_OFFRAMP",
|
|
@@ -275,11 +287,16 @@ export declare enum WalletTransactionRecordType {
|
|
|
275
287
|
CARD_AUTH_REFUND = "CARD_AUTH_REFUND",
|
|
276
288
|
REFUND_CARD_PREPAID = "REFUND_CARD_PREPAID",
|
|
277
289
|
REFUND_CARD_SUBACCOUNT = "REFUND_CARD_SUBACCOUNT",
|
|
278
|
-
ADJUSTMENT = "ADJUSTMENT"
|
|
290
|
+
ADJUSTMENT = "ADJUSTMENT",
|
|
291
|
+
MONTHLY_FEE = "MONTHLY_FEE",
|
|
292
|
+
REFERRAL_PAYOUT = "REFERRAL_PAYOUT"
|
|
279
293
|
}
|
|
280
294
|
export type OrderTypeMissingInWalletTransactionRecordType = Exclude<EnumValues<OrderType>, EnumValues<WalletTransactionRecordType>>;
|
|
281
295
|
export declare const orderTypeIncludedInWalletTransactionRecordTypeCheck: IsUnionSubset<EnumValues<OrderType>, EnumValues<WalletTransactionRecordType>>;
|
|
282
296
|
export type OrderTypeIncludedInWalletTransactionRecordTypeMismatch = UnionSubsetMismatch<EnumValues<OrderType>, EnumValues<WalletTransactionRecordType>>;
|
|
297
|
+
type BackendOrderTypeId = componentsV1Frontend['schemas']['OrderTypeId'] | componentsV1Tenant['schemas']['OrderTypeId'] | componentsV1External['schemas']['OrderTypeId'] | componentsV1Legacy['schemas']['OrderTypeId'];
|
|
298
|
+
export declare const backendOrderTypeIdIncludedInOrderTypeCheck: IsUnionSubset<BackendOrderTypeId, EnumValues<OrderType>>;
|
|
299
|
+
export type BackendOrderTypeIdIncludedInOrderTypeMismatch = UnionSubsetMismatch<BackendOrderTypeId, EnumValues<OrderType>>;
|
|
283
300
|
export declare enum RequestStatus {
|
|
284
301
|
NONE = "none",
|
|
285
302
|
PENDING = "pending",
|
package/dist/constants.js
CHANGED
|
@@ -132,6 +132,7 @@ export var OrderType;
|
|
|
132
132
|
OrderType["BRL_ACH_ONRAMP"] = "BRL_ACH_ONRAMP";
|
|
133
133
|
OrderType["BRL_WIRE_OFFRAMP"] = "BRL_WIRE_OFFRAMP";
|
|
134
134
|
OrderType["BRL_WIRE_ONRAMP"] = "BRL_WIRE_ONRAMP";
|
|
135
|
+
OrderType["BRL_FEDNOW_ONRAMP"] = "BRL_FEDNOW_ONRAMP";
|
|
135
136
|
OrderType["BRL_RTP_OFFRAMP"] = "BRL_RTP_OFFRAMP";
|
|
136
137
|
OrderType["DLS_WIRE_ONRAMP"] = "DLS_WIRE_ONRAMP";
|
|
137
138
|
OrderType["DLS_WIRE_OFFRAMP"] = "DLS_WIRE_OFFRAMP";
|
|
@@ -147,6 +148,8 @@ export var OrderType;
|
|
|
147
148
|
OrderType["BC1_SWIFT_OFFRAMP"] = "BC1_SWIFT_OFFRAMP";
|
|
148
149
|
OrderType["BC3_SEPA_ONRAMP"] = "BC3_SEPA_ONRAMP";
|
|
149
150
|
OrderType["BC3_SEPA_OFFRAMP"] = "BC3_SEPA_OFFRAMP";
|
|
151
|
+
OrderType["BC3_SWIFT_ONRAMP"] = "BC3_SWIFT_ONRAMP";
|
|
152
|
+
OrderType["BC3_SWIFT_OFFRAMP"] = "BC3_SWIFT_OFFRAMP";
|
|
150
153
|
OrderType["NARVI_SEPA_ONRAMP"] = "NARVI_SEPA_ONRAMP";
|
|
151
154
|
OrderType["NARVI_SEPA_OFFRAMP"] = "NARVI_SEPA_OFFRAMP";
|
|
152
155
|
OrderType["RPP_SWIFT_OFFRAMP"] = "RPP_SWIFT_OFFRAMP";
|
|
@@ -161,6 +164,8 @@ export var OrderType;
|
|
|
161
164
|
OrderType["REFUND_CARD_PREPAID"] = "REFUND_CARD_PREPAID";
|
|
162
165
|
OrderType["REFUND_CARD_SUBACCOUNT"] = "REFUND_CARD_SUBACCOUNT";
|
|
163
166
|
OrderType["ADJUSTMENT"] = "ADJUSTMENT";
|
|
167
|
+
OrderType["MONTHLY_FEE"] = "MONTHLY_FEE";
|
|
168
|
+
OrderType["REFERRAL_PAYOUT"] = "REFERRAL_PAYOUT";
|
|
164
169
|
// when extend do not forget to add new order type to the enum WalletTransactionRecordType
|
|
165
170
|
})(OrderType || (OrderType = {}));
|
|
166
171
|
export var WalletTransactionRecordType;
|
|
@@ -250,6 +255,7 @@ export var WalletTransactionRecordType;
|
|
|
250
255
|
WalletTransactionRecordType["BRL_ACH_ONRAMP"] = "BRL_ACH_ONRAMP";
|
|
251
256
|
WalletTransactionRecordType["BRL_WIRE_OFFRAMP"] = "BRL_WIRE_OFFRAMP";
|
|
252
257
|
WalletTransactionRecordType["BRL_WIRE_ONRAMP"] = "BRL_WIRE_ONRAMP";
|
|
258
|
+
WalletTransactionRecordType["BRL_FEDNOW_ONRAMP"] = "BRL_FEDNOW_ONRAMP";
|
|
253
259
|
WalletTransactionRecordType["BRL_RTP_OFFRAMP"] = "BRL_RTP_OFFRAMP";
|
|
254
260
|
WalletTransactionRecordType["DLS_WIRE_ONRAMP"] = "DLS_WIRE_ONRAMP";
|
|
255
261
|
WalletTransactionRecordType["DLS_WIRE_OFFRAMP"] = "DLS_WIRE_OFFRAMP";
|
|
@@ -265,6 +271,8 @@ export var WalletTransactionRecordType;
|
|
|
265
271
|
WalletTransactionRecordType["BC1_SWIFT_OFFRAMP"] = "BC1_SWIFT_OFFRAMP";
|
|
266
272
|
WalletTransactionRecordType["BC3_SEPA_ONRAMP"] = "BC3_SEPA_ONRAMP";
|
|
267
273
|
WalletTransactionRecordType["BC3_SEPA_OFFRAMP"] = "BC3_SEPA_OFFRAMP";
|
|
274
|
+
WalletTransactionRecordType["BC3_SWIFT_ONRAMP"] = "BC3_SWIFT_ONRAMP";
|
|
275
|
+
WalletTransactionRecordType["BC3_SWIFT_OFFRAMP"] = "BC3_SWIFT_OFFRAMP";
|
|
268
276
|
WalletTransactionRecordType["NARVI_SEPA_ONRAMP"] = "NARVI_SEPA_ONRAMP";
|
|
269
277
|
WalletTransactionRecordType["NARVI_SEPA_OFFRAMP"] = "NARVI_SEPA_OFFRAMP";
|
|
270
278
|
WalletTransactionRecordType["RPP_SWIFT_OFFRAMP"] = "RPP_SWIFT_OFFRAMP";
|
|
@@ -279,8 +287,11 @@ export var WalletTransactionRecordType;
|
|
|
279
287
|
WalletTransactionRecordType["REFUND_CARD_PREPAID"] = "REFUND_CARD_PREPAID";
|
|
280
288
|
WalletTransactionRecordType["REFUND_CARD_SUBACCOUNT"] = "REFUND_CARD_SUBACCOUNT";
|
|
281
289
|
WalletTransactionRecordType["ADJUSTMENT"] = "ADJUSTMENT";
|
|
290
|
+
WalletTransactionRecordType["MONTHLY_FEE"] = "MONTHLY_FEE";
|
|
291
|
+
WalletTransactionRecordType["REFERRAL_PAYOUT"] = "REFERRAL_PAYOUT";
|
|
282
292
|
})(WalletTransactionRecordType || (WalletTransactionRecordType = {}));
|
|
283
293
|
export const orderTypeIncludedInWalletTransactionRecordTypeCheck = true;
|
|
294
|
+
export const backendOrderTypeIdIncludedInOrderTypeCheck = true;
|
|
284
295
|
export var RequestStatus;
|
|
285
296
|
(function (RequestStatus) {
|
|
286
297
|
RequestStatus["NONE"] = "none";
|