squarefi-bff-api-module 1.36.66 → 1.36.68
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/frontend.d.ts +5 -0
- package/dist/api/frontend.js +7 -0
- package/dist/api/types/autogen/apiV1External.types.d.ts +17 -2
- package/dist/api/types/autogen/apiV1Frontend.types.d.ts +1510 -54
- package/dist/api/types/autogen/apiV1Legacy.types.d.ts +1 -1
- package/dist/api/types/autogen/apiV1Tenant.types.d.ts +6 -1
- package/dist/api/types/autogen/apiV2.types.d.ts +11 -1
- package/dist/api/types/types.d.ts +13 -2
- package/package.json +1 -1
|
@@ -7172,7 +7172,7 @@ export interface components {
|
|
|
7172
7172
|
* @example EXCHANGE_OMNI
|
|
7173
7173
|
* @enum {string}
|
|
7174
7174
|
*/
|
|
7175
|
-
OrderTypeId: "EXCHANGE_OMNI" | "EXCHANGE_OMNI_ONRAMP" | "EXCHANGE_OMNI_OFFRAMP" | "EXCHANGE_OMNI_CRYPTO" | "EXCHANGE_CRYPTO_INTERNAL" | "L2F_ACH_ONRAMP" | "L2F_ACH_OFFRAMP" | "L2F_SEPA_ONRAMP" | "L2F_SEPA_OFFRAMP" | "L2F_SWIFT_ONRAMP" | "L2F_SWIFT_OFFRAMP" | "L2F_WIRE_ONRAMP" | "L2F_WIRE_OFFRAMP" | "L2F_CHAPS_ONRAMP" | "L2F_CHAPS_OFFRAMP" | "L2F_FPS_ONRAMP" | "L2F_FPS_OFFRAMP" | "BRL_WIRE_ONRAMP" | "BRL_WIRE_OFFRAMP" | "BRL_ACH_ONRAMP" | "BRL_ACH_OFFRAMP" | "BRL_RTP_OFFRAMP" | "DLS_WIRE_ONRAMP" | "DLS_WIRE_OFFRAMP" | "DLS_ACH_ONRAMP" | "DLS_ACH_OFFRAMP" | "DLS_SEPA_ONRAMP" | "DLS_SEPA_OFFRAMP" | "DLS_SWIFT_ONRAMP" | "DLS_SWIFT_OFFRAMP" | "BC1_SEPA_ONRAMP" | "BC1_SEPA_OFFRAMP" | "BC1_SWIFT_ONRAMP" | "BC1_SWIFT_OFFRAMP" | "BC3_SEPA_ONRAMP" | "BC3_SEPA_OFFRAMP" | "RPP_SWIFT_OFFRAMP" | "RPP_SEPA_OFFRAMP" | "RPP_FPS_OFFRAMP" | "RPP_ACH_OFFRAMP" | "OMNIBUS_CRYPTO_TRANSFER" | "OMNIBUS_CRYPTO_WITHDRAWAL" | "OMNIBUS_INTERNAL_TRANSFER" | "SEGREGATED_CRYPTO_TRANSFER" | "TRANSFER_INTERNAL" | "TRANSFER_CARD_PREPAID" | "TRANSFER_CARD_SUBACCOUNT" | "TRANSFER_CARD_WHOLESALE" | "WITHDRAW_CARD_PREPAID" | "WITHDRAW_CARD_SUBACCOUNT" | "REFUND_CARD_PREPAID" | "REFUND_CARD_SUBACCOUNT" | "RN_CARDS_OFFRAMP" | "CARD_ISSUING_FEE" | "MONTHLY_FEE";
|
|
7175
|
+
OrderTypeId: "EXCHANGE_OMNI" | "EXCHANGE_OMNI_ONRAMP" | "EXCHANGE_OMNI_OFFRAMP" | "EXCHANGE_OMNI_CRYPTO" | "EXCHANGE_CRYPTO_INTERNAL" | "L2F_ACH_ONRAMP" | "L2F_ACH_OFFRAMP" | "L2F_SEPA_ONRAMP" | "L2F_SEPA_OFFRAMP" | "L2F_SWIFT_ONRAMP" | "L2F_SWIFT_OFFRAMP" | "L2F_WIRE_ONRAMP" | "L2F_WIRE_OFFRAMP" | "L2F_CHAPS_ONRAMP" | "L2F_CHAPS_OFFRAMP" | "L2F_FPS_ONRAMP" | "L2F_FPS_OFFRAMP" | "BRL_WIRE_ONRAMP" | "BRL_WIRE_OFFRAMP" | "BRL_ACH_ONRAMP" | "BRL_ACH_OFFRAMP" | "BRL_RTP_OFFRAMP" | "DLS_WIRE_ONRAMP" | "DLS_WIRE_OFFRAMP" | "DLS_ACH_ONRAMP" | "DLS_ACH_OFFRAMP" | "DLS_SEPA_ONRAMP" | "DLS_SEPA_OFFRAMP" | "DLS_SWIFT_ONRAMP" | "DLS_SWIFT_OFFRAMP" | "BC1_SEPA_ONRAMP" | "BC1_SEPA_OFFRAMP" | "BC1_SWIFT_ONRAMP" | "BC1_SWIFT_OFFRAMP" | "BC3_SEPA_ONRAMP" | "BC3_SEPA_OFFRAMP" | "RPP_SWIFT_OFFRAMP" | "RPP_SEPA_OFFRAMP" | "RPP_FPS_OFFRAMP" | "RPP_ACH_OFFRAMP" | "OMNIBUS_CRYPTO_TRANSFER" | "OMNIBUS_CRYPTO_WITHDRAWAL" | "OMNIBUS_INTERNAL_TRANSFER" | "SEGREGATED_CRYPTO_TRANSFER" | "TRANSFER_INTERNAL" | "TRANSFER_CARD_PREPAID" | "TRANSFER_CARD_SUBACCOUNT" | "TRANSFER_CARD_WHOLESALE" | "WITHDRAW_CARD_PREPAID" | "WITHDRAW_CARD_SUBACCOUNT" | "REFUND_CARD_PREPAID" | "REFUND_CARD_SUBACCOUNT" | "RN_CARDS_OFFRAMP" | "CARD_ISSUING_FEE" | "MONTHLY_FEE" | "REFERRAL_PAYOUT";
|
|
7176
7176
|
OrderCalculation: {
|
|
7177
7177
|
/**
|
|
7178
7178
|
* Format: uuid
|
|
@@ -7451,6 +7451,11 @@ export interface paths {
|
|
|
7451
7451
|
content: {
|
|
7452
7452
|
"application/json": {
|
|
7453
7453
|
amount: number;
|
|
7454
|
+
/**
|
|
7455
|
+
* @description When true, `amount` is what the sub-account is credited; the wallet debit (conversion + fees) is derived from it.
|
|
7456
|
+
* @default false
|
|
7457
|
+
*/
|
|
7458
|
+
is_reverse?: boolean;
|
|
7454
7459
|
/** Format: uuid */
|
|
7455
7460
|
from_currency_id: string;
|
|
7456
7461
|
reference_id: string;
|
|
@@ -8519,7 +8524,7 @@ export interface components {
|
|
|
8519
8524
|
* @example EXCHANGE_OMNI
|
|
8520
8525
|
* @enum {string}
|
|
8521
8526
|
*/
|
|
8522
|
-
OrderTypeId: "EXCHANGE_OMNI" | "EXCHANGE_OMNI_ONRAMP" | "EXCHANGE_OMNI_OFFRAMP" | "EXCHANGE_OMNI_CRYPTO" | "EXCHANGE_CRYPTO_INTERNAL" | "L2F_ACH_ONRAMP" | "L2F_ACH_OFFRAMP" | "L2F_SEPA_ONRAMP" | "L2F_SEPA_OFFRAMP" | "L2F_SWIFT_ONRAMP" | "L2F_SWIFT_OFFRAMP" | "L2F_WIRE_ONRAMP" | "L2F_WIRE_OFFRAMP" | "L2F_CHAPS_ONRAMP" | "L2F_CHAPS_OFFRAMP" | "L2F_FPS_ONRAMP" | "L2F_FPS_OFFRAMP" | "BRL_WIRE_ONRAMP" | "BRL_WIRE_OFFRAMP" | "BRL_ACH_ONRAMP" | "BRL_ACH_OFFRAMP" | "BRL_RTP_OFFRAMP" | "DLS_WIRE_ONRAMP" | "DLS_WIRE_OFFRAMP" | "DLS_ACH_ONRAMP" | "DLS_ACH_OFFRAMP" | "DLS_SEPA_ONRAMP" | "DLS_SEPA_OFFRAMP" | "DLS_SWIFT_ONRAMP" | "DLS_SWIFT_OFFRAMP" | "BC1_SEPA_ONRAMP" | "BC1_SEPA_OFFRAMP" | "BC1_SWIFT_ONRAMP" | "BC1_SWIFT_OFFRAMP" | "BC3_SEPA_ONRAMP" | "BC3_SEPA_OFFRAMP" | "RPP_SWIFT_OFFRAMP" | "RPP_SEPA_OFFRAMP" | "RPP_FPS_OFFRAMP" | "RPP_ACH_OFFRAMP" | "OMNIBUS_CRYPTO_TRANSFER" | "OMNIBUS_CRYPTO_WITHDRAWAL" | "OMNIBUS_INTERNAL_TRANSFER" | "SEGREGATED_CRYPTO_TRANSFER" | "TRANSFER_INTERNAL" | "TRANSFER_CARD_PREPAID" | "TRANSFER_CARD_SUBACCOUNT" | "TRANSFER_CARD_WHOLESALE" | "WITHDRAW_CARD_PREPAID" | "WITHDRAW_CARD_SUBACCOUNT" | "REFUND_CARD_PREPAID" | "REFUND_CARD_SUBACCOUNT" | "RN_CARDS_OFFRAMP" | "CARD_ISSUING_FEE" | "MONTHLY_FEE";
|
|
8527
|
+
OrderTypeId: "EXCHANGE_OMNI" | "EXCHANGE_OMNI_ONRAMP" | "EXCHANGE_OMNI_OFFRAMP" | "EXCHANGE_OMNI_CRYPTO" | "EXCHANGE_CRYPTO_INTERNAL" | "L2F_ACH_ONRAMP" | "L2F_ACH_OFFRAMP" | "L2F_SEPA_ONRAMP" | "L2F_SEPA_OFFRAMP" | "L2F_SWIFT_ONRAMP" | "L2F_SWIFT_OFFRAMP" | "L2F_WIRE_ONRAMP" | "L2F_WIRE_OFFRAMP" | "L2F_CHAPS_ONRAMP" | "L2F_CHAPS_OFFRAMP" | "L2F_FPS_ONRAMP" | "L2F_FPS_OFFRAMP" | "BRL_WIRE_ONRAMP" | "BRL_WIRE_OFFRAMP" | "BRL_ACH_ONRAMP" | "BRL_ACH_OFFRAMP" | "BRL_RTP_OFFRAMP" | "DLS_WIRE_ONRAMP" | "DLS_WIRE_OFFRAMP" | "DLS_ACH_ONRAMP" | "DLS_ACH_OFFRAMP" | "DLS_SEPA_ONRAMP" | "DLS_SEPA_OFFRAMP" | "DLS_SWIFT_ONRAMP" | "DLS_SWIFT_OFFRAMP" | "BC1_SEPA_ONRAMP" | "BC1_SEPA_OFFRAMP" | "BC1_SWIFT_ONRAMP" | "BC1_SWIFT_OFFRAMP" | "BC3_SEPA_ONRAMP" | "BC3_SEPA_OFFRAMP" | "RPP_SWIFT_OFFRAMP" | "RPP_SEPA_OFFRAMP" | "RPP_FPS_OFFRAMP" | "RPP_ACH_OFFRAMP" | "OMNIBUS_CRYPTO_TRANSFER" | "OMNIBUS_CRYPTO_WITHDRAWAL" | "OMNIBUS_INTERNAL_TRANSFER" | "SEGREGATED_CRYPTO_TRANSFER" | "TRANSFER_INTERNAL" | "TRANSFER_CARD_PREPAID" | "TRANSFER_CARD_SUBACCOUNT" | "TRANSFER_CARD_WHOLESALE" | "WITHDRAW_CARD_PREPAID" | "WITHDRAW_CARD_SUBACCOUNT" | "REFUND_CARD_PREPAID" | "REFUND_CARD_SUBACCOUNT" | "RN_CARDS_OFFRAMP" | "CARD_ISSUING_FEE" | "MONTHLY_FEE" | "REFERRAL_PAYOUT";
|
|
8523
8528
|
OrderCalculation: {
|
|
8524
8529
|
/**
|
|
8525
8530
|
* Format: uuid
|
|
@@ -733,7 +733,10 @@ export interface paths {
|
|
|
733
733
|
/** List KYC entities of the current user */
|
|
734
734
|
get: operations["KycEntitiesController_findMy"];
|
|
735
735
|
put?: never;
|
|
736
|
-
/**
|
|
736
|
+
/**
|
|
737
|
+
* Create a KYC entity for the current user
|
|
738
|
+
* @description Idempotent for "individual": a user has exactly one individual entity, so when it already exists (in any status) it is returned instead of creating a new one. "business" always creates a new entity.
|
|
739
|
+
*/
|
|
737
740
|
post: operations["KycEntitiesController_create"];
|
|
738
741
|
delete?: never;
|
|
739
742
|
options?: never;
|
|
@@ -2032,6 +2035,12 @@ export interface components {
|
|
|
2032
2035
|
/** @description Supporting documents allowed per recipient row of a batch (template rows carry none). */
|
|
2033
2036
|
max_item_documents: number;
|
|
2034
2037
|
};
|
|
2038
|
+
SystemAmlCheckConfigDto: {
|
|
2039
|
+
/** @description Whether AML address screening is available to this tenant. When false, every screening endpoint of the API answers 403 and the widget must not be shown. */
|
|
2040
|
+
enabled: boolean;
|
|
2041
|
+
/** @description Price of one screening in USD, for the "Screen address · $10" label. The exact total in the paying currency comes from the API quote. Null when the tenant has no price configured (the feature is then unusable even if enabled). */
|
|
2042
|
+
price_usd: number | null;
|
|
2043
|
+
};
|
|
2035
2044
|
SystemConfigDto: {
|
|
2036
2045
|
tenant_id: string;
|
|
2037
2046
|
app_url: string | null;
|
|
@@ -2066,6 +2075,7 @@ export interface components {
|
|
|
2066
2075
|
auth_provider: "supabase" | "clerk";
|
|
2067
2076
|
base_currency: string;
|
|
2068
2077
|
mass_payouts: components["schemas"]["SystemMassPayoutsConfigDto"];
|
|
2078
|
+
aml_check: components["schemas"]["SystemAmlCheckConfigDto"];
|
|
2069
2079
|
};
|
|
2070
2080
|
SystemChainsResponseDto: {
|
|
2071
2081
|
total: number;
|
|
@@ -751,6 +751,17 @@ export declare namespace API {
|
|
|
751
751
|
}
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
|
+
namespace Reference {
|
|
755
|
+
namespace ExchangeRates {
|
|
756
|
+
type ExchangeRatesRoot = pathsV1Frontend['/frontend/reference/exchange_rates'];
|
|
757
|
+
export type ExchangeRate = componentsV1Frontend['schemas']['ExchangeRate'];
|
|
758
|
+
export namespace List {
|
|
759
|
+
type Request = NonNullable<ExchangeRatesRoot['get']['parameters']['query']>;
|
|
760
|
+
type Response = ExchangeRatesRoot['get']['responses'][200]['content']['application/json'];
|
|
761
|
+
}
|
|
762
|
+
export {};
|
|
763
|
+
}
|
|
764
|
+
}
|
|
754
765
|
namespace Issuing {
|
|
755
766
|
type CardsRoot = pathsV1Frontend['/frontend/issuing/cards'];
|
|
756
767
|
type CardRoot = pathsV1Frontend['/frontend/issuing/cards/{card_id}'];
|
|
@@ -2534,11 +2545,11 @@ export declare namespace API {
|
|
|
2534
2545
|
}
|
|
2535
2546
|
namespace Types {
|
|
2536
2547
|
namespace List {
|
|
2537
|
-
type Response =
|
|
2548
|
+
type Response = pathsV1Frontend['/frontend/orders/types']['get']['responses'][200]['content']['application/json'];
|
|
2538
2549
|
}
|
|
2539
2550
|
namespace GetById {
|
|
2540
2551
|
type Request = pathsV1Frontend['/frontend/orders/types/{id}']['get']['parameters']['path'];
|
|
2541
|
-
type Response =
|
|
2552
|
+
type Response = pathsV1Frontend['/frontend/orders/types/{id}']['get']['responses'][200]['content']['application/json'];
|
|
2542
2553
|
}
|
|
2543
2554
|
}
|
|
2544
2555
|
}
|