squarefi-bff-api-module 1.36.5 → 1.36.6

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.
@@ -43,6 +43,11 @@ export declare const orders: {
43
43
  L2F_FPS_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.L2F_FPS_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.L2F_FPS_OFFRAMP.Response>;
44
44
  BRL_WIRE_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.BRL_WIRE_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.BRL_WIRE_OFFRAMP.Response>;
45
45
  BRL_ACH_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.BRL_ACH_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.BRL_ACH_OFFRAMP.Response>;
46
+ BRL_RTP_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.BRL_RTP_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.BRL_RTP_OFFRAMP.Response>;
47
+ DLS_WIRE_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.DLS_WIRE_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.DLS_WIRE_OFFRAMP.Response>;
48
+ DLS_ACH_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.DLS_ACH_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.DLS_ACH_OFFRAMP.Response>;
49
+ DLS_SEPA_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.DLS_SEPA_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.DLS_SEPA_OFFRAMP.Response>;
50
+ DLS_SWIFT_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.DLS_SWIFT_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.DLS_SWIFT_OFFRAMP.Response>;
46
51
  };
47
52
  };
48
53
  list: {
@@ -76,6 +76,11 @@ export const orders = {
76
76
  [OrderType.L2F_FPS_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/L2F_FPS_OFFRAMP', { data }),
77
77
  [OrderType.BRL_WIRE_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/BRL_WIRE_OFFRAMP', { data }),
78
78
  [OrderType.BRL_ACH_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/BRL_ACH_OFFRAMP', { data }),
79
+ [OrderType.BRL_RTP_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/BRL_RTP_OFFRAMP', { data }),
80
+ [OrderType.DLS_WIRE_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/DLS_WIRE_OFFRAMP', { data }),
81
+ [OrderType.DLS_ACH_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/DLS_ACH_OFFRAMP', { data }),
82
+ [OrderType.DLS_SEPA_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/DLS_SEPA_OFFRAMP', { data }),
83
+ [OrderType.DLS_SWIFT_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/DLS_SWIFT_OFFRAMP', { data }),
79
84
  },
80
85
  },
81
86
  list: {
@@ -6447,7 +6447,7 @@ export interface components {
6447
6447
  * @example EXCHANGE_OMNI
6448
6448
  * @enum {string}
6449
6449
  */
6450
- 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" | "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";
6450
+ 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" | "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";
6451
6451
  /** @description Card object with all properties */
6452
6452
  IssuingCard: {
6453
6453
  /**
@@ -9452,7 +9452,7 @@ export interface components {
9452
9452
  * @example EXCHANGE_OMNI
9453
9453
  * @enum {string}
9454
9454
  */
9455
- 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" | "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";
9455
+ 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" | "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";
9456
9456
  PaginationResponse: {
9457
9457
  offset: number;
9458
9458
  limit: number;
@@ -7032,6 +7032,369 @@ export interface paths {
7032
7032
  patch?: never;
7033
7033
  trace?: never;
7034
7034
  };
7035
+ "/v2/orders/BRL_RTP_OFFRAMP": {
7036
+ parameters: {
7037
+ query?: never;
7038
+ header?: never;
7039
+ path?: never;
7040
+ cookie?: never;
7041
+ };
7042
+ get?: never;
7043
+ put?: never;
7044
+ /**
7045
+ * Create Brale RTP offramp order (USD)
7046
+ * @description Submit a stablecoin → USD RTP transfer via Brale. Behaves like
7047
+ * BRL_ACH_OFFRAMP except the destination rail is `rtp_credit`
7048
+ * (Real-Time Payments — settles in minutes, available 24/7
7049
+ * including weekends and holidays). The destination must reference
7050
+ * a counterparty of type `ACH` whose Brale external address has
7051
+ * had RTP eligibility confirmed by Brale's banking partner — that
7052
+ * confirmation is asynchronous and is reflected by `rtp_credit`
7053
+ * appearing in the address's `transfer_types`. The workflow
7054
+ * refuses to send if RTP is not yet enabled, in which case the
7055
+ * caller can retry shortly or fall back to BRL_ACH_OFFRAMP.
7056
+ *
7057
+ */
7058
+ post: {
7059
+ parameters: {
7060
+ query?: never;
7061
+ header?: never;
7062
+ path?: never;
7063
+ cookie?: never;
7064
+ };
7065
+ requestBody: {
7066
+ content: {
7067
+ "application/json": {
7068
+ request_id: string;
7069
+ counterparty_destination_id: string;
7070
+ amount: number;
7071
+ wallet_id: string;
7072
+ from_currency_id: string;
7073
+ to_currency_id?: string;
7074
+ virtual_account_id: string;
7075
+ reference?: string;
7076
+ note?: string;
7077
+ };
7078
+ };
7079
+ };
7080
+ responses: {
7081
+ /** @description Order successfully created. */
7082
+ 200: {
7083
+ headers: {
7084
+ [name: string]: unknown;
7085
+ };
7086
+ content?: never;
7087
+ };
7088
+ /** @description Validation error. */
7089
+ 400: {
7090
+ headers: {
7091
+ [name: string]: unknown;
7092
+ };
7093
+ content?: never;
7094
+ };
7095
+ /** @description Server error. */
7096
+ 500: {
7097
+ headers: {
7098
+ [name: string]: unknown;
7099
+ };
7100
+ content?: never;
7101
+ };
7102
+ };
7103
+ };
7104
+ delete?: never;
7105
+ options?: never;
7106
+ head?: never;
7107
+ patch?: never;
7108
+ trace?: never;
7109
+ };
7110
+ "/v2/orders/DLS_WIRE_OFFRAMP": {
7111
+ parameters: {
7112
+ query?: never;
7113
+ header?: never;
7114
+ path?: never;
7115
+ cookie?: never;
7116
+ };
7117
+ get?: never;
7118
+ put?: never;
7119
+ /**
7120
+ * Create Delos FedWire offramp order (USD)
7121
+ * @description Submit a USD domestic wire withdrawal via Delos Financial. Body shape
7122
+ * mirrors BRL_WIRE_OFFRAMP — `virtual_account_id` (Delos VA, source of
7123
+ * funds) is REQUIRED, and `counterparty_destination_id` must reference a
7124
+ * US bank destination of type `FEDWIRE`. Beneficiary registration with
7125
+ * Delos is performed lazily and cached; the workflow waits for
7126
+ * Delos-side beneficiary verification before submitting the payout.
7127
+ *
7128
+ */
7129
+ post: {
7130
+ parameters: {
7131
+ query?: never;
7132
+ header?: never;
7133
+ path?: never;
7134
+ cookie?: never;
7135
+ };
7136
+ requestBody: {
7137
+ content: {
7138
+ "application/json": {
7139
+ request_id: string;
7140
+ /** @description Delos virtual account (source of funds). */
7141
+ virtual_account_id: string;
7142
+ /** @description US bank destination (must be FEDWIRE type). */
7143
+ counterparty_destination_id: string;
7144
+ /** @description Amount to disburse in USD. */
7145
+ amount: number;
7146
+ wallet_id: string;
7147
+ from_currency_id: string;
7148
+ to_currency_id?: string;
7149
+ /** @description Free-form payment note (sent as Delos comment). */
7150
+ reference?: string;
7151
+ note?: string;
7152
+ documents?: components["schemas"]["OrderDocuments"];
7153
+ };
7154
+ };
7155
+ };
7156
+ responses: {
7157
+ /** @description Order successfully created. */
7158
+ 200: {
7159
+ headers: {
7160
+ [name: string]: unknown;
7161
+ };
7162
+ content?: never;
7163
+ };
7164
+ /** @description Validation error. */
7165
+ 400: {
7166
+ headers: {
7167
+ [name: string]: unknown;
7168
+ };
7169
+ content?: never;
7170
+ };
7171
+ /** @description Server error. */
7172
+ 500: {
7173
+ headers: {
7174
+ [name: string]: unknown;
7175
+ };
7176
+ content?: never;
7177
+ };
7178
+ };
7179
+ };
7180
+ delete?: never;
7181
+ options?: never;
7182
+ head?: never;
7183
+ patch?: never;
7184
+ trace?: never;
7185
+ };
7186
+ "/v2/orders/DLS_ACH_OFFRAMP": {
7187
+ parameters: {
7188
+ query?: never;
7189
+ header?: never;
7190
+ path?: never;
7191
+ cookie?: never;
7192
+ };
7193
+ get?: never;
7194
+ put?: never;
7195
+ /**
7196
+ * Create Delos ACH offramp order (USD)
7197
+ * @description Submit a USD ACH withdrawal via Delos Financial. Identical to
7198
+ * DLS_WIRE_OFFRAMP except `counterparty_destination_id` must reference
7199
+ * a destination of type `ACH`.
7200
+ *
7201
+ */
7202
+ post: {
7203
+ parameters: {
7204
+ query?: never;
7205
+ header?: never;
7206
+ path?: never;
7207
+ cookie?: never;
7208
+ };
7209
+ requestBody: {
7210
+ content: {
7211
+ "application/json": {
7212
+ request_id: string;
7213
+ virtual_account_id: string;
7214
+ /** @description US bank destination (must be ACH type). */
7215
+ counterparty_destination_id: string;
7216
+ amount: number;
7217
+ wallet_id: string;
7218
+ from_currency_id: string;
7219
+ to_currency_id?: string;
7220
+ reference?: string;
7221
+ note?: string;
7222
+ documents?: components["schemas"]["OrderDocuments"];
7223
+ };
7224
+ };
7225
+ };
7226
+ responses: {
7227
+ /** @description Order successfully created. */
7228
+ 200: {
7229
+ headers: {
7230
+ [name: string]: unknown;
7231
+ };
7232
+ content?: never;
7233
+ };
7234
+ /** @description Validation error. */
7235
+ 400: {
7236
+ headers: {
7237
+ [name: string]: unknown;
7238
+ };
7239
+ content?: never;
7240
+ };
7241
+ /** @description Server error. */
7242
+ 500: {
7243
+ headers: {
7244
+ [name: string]: unknown;
7245
+ };
7246
+ content?: never;
7247
+ };
7248
+ };
7249
+ };
7250
+ delete?: never;
7251
+ options?: never;
7252
+ head?: never;
7253
+ patch?: never;
7254
+ trace?: never;
7255
+ };
7256
+ "/v2/orders/DLS_SEPA_OFFRAMP": {
7257
+ parameters: {
7258
+ query?: never;
7259
+ header?: never;
7260
+ path?: never;
7261
+ cookie?: never;
7262
+ };
7263
+ get?: never;
7264
+ put?: never;
7265
+ /**
7266
+ * Create Delos SEPA offramp order (EUR)
7267
+ * @description Submit a EUR SEPA Credit Transfer withdrawal via Delos Financial.
7268
+ * `counterparty_destination_id` must reference a destination of type
7269
+ * `SEPA` (IBAN required).
7270
+ *
7271
+ */
7272
+ post: {
7273
+ parameters: {
7274
+ query?: never;
7275
+ header?: never;
7276
+ path?: never;
7277
+ cookie?: never;
7278
+ };
7279
+ requestBody: {
7280
+ content: {
7281
+ "application/json": {
7282
+ request_id: string;
7283
+ virtual_account_id: string;
7284
+ /** @description SEPA destination (IBAN required). */
7285
+ counterparty_destination_id: string;
7286
+ amount: number;
7287
+ wallet_id: string;
7288
+ from_currency_id: string;
7289
+ to_currency_id?: string;
7290
+ reference?: string;
7291
+ note?: string;
7292
+ documents?: components["schemas"]["OrderDocuments"];
7293
+ };
7294
+ };
7295
+ };
7296
+ responses: {
7297
+ /** @description Order successfully created. */
7298
+ 200: {
7299
+ headers: {
7300
+ [name: string]: unknown;
7301
+ };
7302
+ content?: never;
7303
+ };
7304
+ /** @description Validation error. */
7305
+ 400: {
7306
+ headers: {
7307
+ [name: string]: unknown;
7308
+ };
7309
+ content?: never;
7310
+ };
7311
+ /** @description Server error. */
7312
+ 500: {
7313
+ headers: {
7314
+ [name: string]: unknown;
7315
+ };
7316
+ content?: never;
7317
+ };
7318
+ };
7319
+ };
7320
+ delete?: never;
7321
+ options?: never;
7322
+ head?: never;
7323
+ patch?: never;
7324
+ trace?: never;
7325
+ };
7326
+ "/v2/orders/DLS_SWIFT_OFFRAMP": {
7327
+ parameters: {
7328
+ query?: never;
7329
+ header?: never;
7330
+ path?: never;
7331
+ cookie?: never;
7332
+ };
7333
+ get?: never;
7334
+ put?: never;
7335
+ /**
7336
+ * Create Delos SWIFT offramp order (USD/EUR/GBP)
7337
+ * @description Submit an international SWIFT withdrawal via Delos Financial.
7338
+ * `counterparty_destination_id` must reference a destination of type
7339
+ * `SWIFT` (SWIFT/BIC required; bank address with country required for
7340
+ * regional routing). GBP payouts use this route until Delos confirms a
7341
+ * local UK rail (FPS/CHAPS).
7342
+ *
7343
+ */
7344
+ post: {
7345
+ parameters: {
7346
+ query?: never;
7347
+ header?: never;
7348
+ path?: never;
7349
+ cookie?: never;
7350
+ };
7351
+ requestBody: {
7352
+ content: {
7353
+ "application/json": {
7354
+ request_id: string;
7355
+ virtual_account_id: string;
7356
+ /** @description SWIFT destination (BIC + bank country required). */
7357
+ counterparty_destination_id: string;
7358
+ amount: number;
7359
+ wallet_id: string;
7360
+ from_currency_id: string;
7361
+ to_currency_id?: string;
7362
+ reference?: string;
7363
+ note?: string;
7364
+ documents?: components["schemas"]["OrderDocuments"];
7365
+ };
7366
+ };
7367
+ };
7368
+ responses: {
7369
+ /** @description Order successfully created. */
7370
+ 200: {
7371
+ headers: {
7372
+ [name: string]: unknown;
7373
+ };
7374
+ content?: never;
7375
+ };
7376
+ /** @description Validation error. */
7377
+ 400: {
7378
+ headers: {
7379
+ [name: string]: unknown;
7380
+ };
7381
+ content?: never;
7382
+ };
7383
+ /** @description Server error. */
7384
+ 500: {
7385
+ headers: {
7386
+ [name: string]: unknown;
7387
+ };
7388
+ content?: never;
7389
+ };
7390
+ };
7391
+ };
7392
+ delete?: never;
7393
+ options?: never;
7394
+ head?: never;
7395
+ patch?: never;
7396
+ trace?: never;
7397
+ };
7035
7398
  "/v2/orders/L2F_SEPA_OFFRAMP": {
7036
7399
  parameters: {
7037
7400
  query?: never;
@@ -8286,7 +8649,7 @@ export interface components {
8286
8649
  * @example EXCHANGE_OMNI
8287
8650
  * @enum {string}
8288
8651
  */
8289
- 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" | "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";
8652
+ 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" | "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";
8290
8653
  /** @description Order type reference with optional product guardrails, associated KYC rails and tenant billing rates */
8291
8654
  OrderType: {
8292
8655
  /** @description Order type identifier (e.g. EXCHANGE, WITHDRAWAL_CRYPTO) */
@@ -8305,7 +8668,7 @@ export interface components {
8305
8668
  * @description Payment method associated with this order type
8306
8669
  * @enum {string|null}
8307
8670
  */
8308
- payment_method?: "DOMESTIC_WIRE" | "FEDWIRE" | "ACH" | "SWIFT" | "SEPA" | "CHAPS" | "FPS" | "CRYPTO_EXTERNAL" | "CRYPTO_INTERNAL" | null;
8671
+ payment_method?: "DOMESTIC_WIRE" | "FEDWIRE" | "ACH" | "RTP" | "SWIFT" | "SEPA" | "CHAPS" | "FPS" | "CRYPTO_EXTERNAL" | "CRYPTO_INTERNAL" | null;
8309
8672
  /**
8310
8673
  * Format: uuid
8311
8674
  * @description Associated KYC rail configuration ID
@@ -4915,6 +4915,117 @@ export interface paths {
4915
4915
  };
4916
4916
  trace?: never;
4917
4917
  };
4918
+ "/admin/wallets/{wallet_id}/soft-delete": {
4919
+ parameters: {
4920
+ query?: never;
4921
+ header?: never;
4922
+ path?: never;
4923
+ cookie?: never;
4924
+ };
4925
+ get?: never;
4926
+ put?: never;
4927
+ /**
4928
+ * Soft-delete wallet
4929
+ * @description Soft-deletes the wallet without removing its related KYC/history. The
4930
+ * wallet disappears from user-facing wallet selection flows and access
4931
+ * checks start denying it for all members.
4932
+ *
4933
+ */
4934
+ post: {
4935
+ parameters: {
4936
+ query?: never;
4937
+ header?: never;
4938
+ path: {
4939
+ wallet_id: string;
4940
+ };
4941
+ cookie?: never;
4942
+ };
4943
+ requestBody?: never;
4944
+ responses: {
4945
+ /** @description Wallet soft-deleted */
4946
+ 200: {
4947
+ headers: {
4948
+ [name: string]: unknown;
4949
+ };
4950
+ content?: never;
4951
+ };
4952
+ /** @description Wallet does not belong to this tenant */
4953
+ 403: {
4954
+ headers: {
4955
+ [name: string]: unknown;
4956
+ };
4957
+ content?: never;
4958
+ };
4959
+ /** @description Wallet not found */
4960
+ 404: {
4961
+ headers: {
4962
+ [name: string]: unknown;
4963
+ };
4964
+ content?: never;
4965
+ };
4966
+ };
4967
+ };
4968
+ delete?: never;
4969
+ options?: never;
4970
+ head?: never;
4971
+ patch?: never;
4972
+ trace?: never;
4973
+ };
4974
+ "/admin/wallets/{wallet_id}/restore": {
4975
+ parameters: {
4976
+ query?: never;
4977
+ header?: never;
4978
+ path?: never;
4979
+ cookie?: never;
4980
+ };
4981
+ get?: never;
4982
+ put?: never;
4983
+ /**
4984
+ * Restore soft-deleted wallet
4985
+ * @description Internal rollback operation for wallet soft-delete. Restores wallet
4986
+ * visibility and access for all members.
4987
+ *
4988
+ */
4989
+ post: {
4990
+ parameters: {
4991
+ query?: never;
4992
+ header?: never;
4993
+ path: {
4994
+ wallet_id: string;
4995
+ };
4996
+ cookie?: never;
4997
+ };
4998
+ requestBody?: never;
4999
+ responses: {
5000
+ /** @description Wallet restored */
5001
+ 200: {
5002
+ headers: {
5003
+ [name: string]: unknown;
5004
+ };
5005
+ content?: never;
5006
+ };
5007
+ /** @description Wallet does not belong to this tenant */
5008
+ 403: {
5009
+ headers: {
5010
+ [name: string]: unknown;
5011
+ };
5012
+ content?: never;
5013
+ };
5014
+ /** @description Wallet not found */
5015
+ 404: {
5016
+ headers: {
5017
+ [name: string]: unknown;
5018
+ };
5019
+ content?: never;
5020
+ };
5021
+ };
5022
+ };
5023
+ delete?: never;
5024
+ options?: never;
5025
+ head?: never;
5026
+ patch?: never;
5027
+ trace?: never;
5028
+ };
4918
5029
  "/admin/wallets/{wallet_id}/balance": {
4919
5030
  parameters: {
4920
5031
  query?: never;
@@ -7604,7 +7715,7 @@ export interface components {
7604
7715
  * @example EXCHANGE_OMNI
7605
7716
  * @enum {string}
7606
7717
  */
7607
- 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" | "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";
7718
+ 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" | "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";
7608
7719
  OrderType: {
7609
7720
  id?: components["schemas"]["OrderTypeId"];
7610
7721
  description?: string;
@@ -1343,7 +1343,14 @@ export declare namespace API {
1343
1343
  };
1344
1344
  }
1345
1345
  interface BraleResponse extends BaseOrderResponse {
1346
- order_type: 'BRL_WIRE_OFFRAMP' | 'BRL_ACH_OFFRAMP';
1346
+ order_type: 'BRL_WIRE_OFFRAMP' | 'BRL_ACH_OFFRAMP' | 'BRL_RTP_OFFRAMP';
1347
+ meta: {
1348
+ request_id: string;
1349
+ virtual_account_id: string;
1350
+ };
1351
+ }
1352
+ interface DlsResponse extends BaseOrderResponse {
1353
+ order_type: 'DLS_WIRE_OFFRAMP' | 'DLS_ACH_OFFRAMP' | 'DLS_SEPA_OFFRAMP' | 'DLS_SWIFT_OFFRAMP';
1347
1354
  meta: {
1348
1355
  request_id: string;
1349
1356
  virtual_account_id: string;
@@ -1471,6 +1478,36 @@ export declare namespace API {
1471
1478
  order_type: 'BRL_ACH_OFFRAMP';
1472
1479
  };
1473
1480
  }
1481
+ namespace BRL_RTP_OFFRAMP {
1482
+ type Request = Common.Request.OrderWithCounterpartyParams & Common.Request.OrderWithVirtualAccountParams;
1483
+ type Response = Common.Response.BraleResponse & {
1484
+ order_type: 'BRL_RTP_OFFRAMP';
1485
+ };
1486
+ }
1487
+ namespace DLS_WIRE_OFFRAMP {
1488
+ type Request = Common.Request.OrderWithVirtualAccountParams & Common.Request.OrderWithCounterpartyParams;
1489
+ type Response = Common.Response.DlsResponse & {
1490
+ order_type: 'DLS_WIRE_OFFRAMP';
1491
+ };
1492
+ }
1493
+ namespace DLS_ACH_OFFRAMP {
1494
+ type Request = Common.Request.OrderWithVirtualAccountParams & Common.Request.OrderWithCounterpartyParams;
1495
+ type Response = Common.Response.DlsResponse & {
1496
+ order_type: 'DLS_ACH_OFFRAMP';
1497
+ };
1498
+ }
1499
+ namespace DLS_SEPA_OFFRAMP {
1500
+ type Request = Common.Request.OrderWithVirtualAccountParams & Common.Request.OrderWithCounterpartyParams;
1501
+ type Response = Common.Response.DlsResponse & {
1502
+ order_type: 'DLS_SEPA_OFFRAMP';
1503
+ };
1504
+ }
1505
+ namespace DLS_SWIFT_OFFRAMP {
1506
+ type Request = Common.Request.OrderWithVirtualAccountParams & Common.Request.OrderWithCounterpartyParams;
1507
+ type Response = Common.Response.DlsResponse & {
1508
+ order_type: 'DLS_SWIFT_OFFRAMP';
1509
+ };
1510
+ }
1474
1511
  }
1475
1512
  }
1476
1513
  namespace OrderTypes {
@@ -128,7 +128,16 @@ export declare enum OrderType {
128
128
  BRL_ACH_OFFRAMP = "BRL_ACH_OFFRAMP",
129
129
  BRL_ACH_ONRAMP = "BRL_ACH_ONRAMP",
130
130
  BRL_WIRE_OFFRAMP = "BRL_WIRE_OFFRAMP",
131
- BRL_WIRE_ONRAMP = "BRL_WIRE_ONRAMP"
131
+ BRL_WIRE_ONRAMP = "BRL_WIRE_ONRAMP",
132
+ BRL_RTP_OFFRAMP = "BRL_RTP_OFFRAMP",
133
+ DLS_WIRE_ONRAMP = "DLS_WIRE_ONRAMP",
134
+ DLS_WIRE_OFFRAMP = "DLS_WIRE_OFFRAMP",
135
+ DLS_ACH_ONRAMP = "DLS_ACH_ONRAMP",
136
+ DLS_ACH_OFFRAMP = "DLS_ACH_OFFRAMP",
137
+ DLS_SEPA_ONRAMP = "DLS_SEPA_ONRAMP",
138
+ DLS_SEPA_OFFRAMP = "DLS_SEPA_OFFRAMP",
139
+ DLS_SWIFT_ONRAMP = "DLS_SWIFT_ONRAMP",
140
+ DLS_SWIFT_OFFRAMP = "DLS_SWIFT_OFFRAMP"
132
141
  }
133
142
  export declare enum WalletTransactionRecordType {
134
143
  CARD_PROVIDER_DEPOSIT = "CARD_PROVIDER_DEPOSIT",
@@ -215,7 +224,16 @@ export declare enum WalletTransactionRecordType {
215
224
  BRL_ACH_OFFRAMP = "BRL_ACH_OFFRAMP",
216
225
  BRL_ACH_ONRAMP = "BRL_ACH_ONRAMP",
217
226
  BRL_WIRE_OFFRAMP = "BRL_WIRE_OFFRAMP",
218
- BRL_WIRE_ONRAMP = "BRL_WIRE_ONRAMP"
227
+ BRL_WIRE_ONRAMP = "BRL_WIRE_ONRAMP",
228
+ BRL_RTP_OFFRAMP = "BRL_RTP_OFFRAMP",
229
+ DLS_WIRE_ONRAMP = "DLS_WIRE_ONRAMP",
230
+ DLS_WIRE_OFFRAMP = "DLS_WIRE_OFFRAMP",
231
+ DLS_ACH_ONRAMP = "DLS_ACH_ONRAMP",
232
+ DLS_ACH_OFFRAMP = "DLS_ACH_OFFRAMP",
233
+ DLS_SEPA_ONRAMP = "DLS_SEPA_ONRAMP",
234
+ DLS_SEPA_OFFRAMP = "DLS_SEPA_OFFRAMP",
235
+ DLS_SWIFT_ONRAMP = "DLS_SWIFT_ONRAMP",
236
+ DLS_SWIFT_OFFRAMP = "DLS_SWIFT_OFFRAMP"
219
237
  }
220
238
  export type OrderTypeMissingInWalletTransactionRecordType = Exclude<EnumValues<OrderType>, EnumValues<WalletTransactionRecordType>>;
221
239
  export declare const orderTypeIncludedInWalletTransactionRecordTypeCheck: IsUnionSubset<EnumValues<OrderType>, EnumValues<WalletTransactionRecordType>>;
package/dist/constants.js CHANGED
@@ -130,6 +130,15 @@ export var OrderType;
130
130
  OrderType["BRL_ACH_ONRAMP"] = "BRL_ACH_ONRAMP";
131
131
  OrderType["BRL_WIRE_OFFRAMP"] = "BRL_WIRE_OFFRAMP";
132
132
  OrderType["BRL_WIRE_ONRAMP"] = "BRL_WIRE_ONRAMP";
133
+ OrderType["BRL_RTP_OFFRAMP"] = "BRL_RTP_OFFRAMP";
134
+ OrderType["DLS_WIRE_ONRAMP"] = "DLS_WIRE_ONRAMP";
135
+ OrderType["DLS_WIRE_OFFRAMP"] = "DLS_WIRE_OFFRAMP";
136
+ OrderType["DLS_ACH_ONRAMP"] = "DLS_ACH_ONRAMP";
137
+ OrderType["DLS_ACH_OFFRAMP"] = "DLS_ACH_OFFRAMP";
138
+ OrderType["DLS_SEPA_ONRAMP"] = "DLS_SEPA_ONRAMP";
139
+ OrderType["DLS_SEPA_OFFRAMP"] = "DLS_SEPA_OFFRAMP";
140
+ OrderType["DLS_SWIFT_ONRAMP"] = "DLS_SWIFT_ONRAMP";
141
+ OrderType["DLS_SWIFT_OFFRAMP"] = "DLS_SWIFT_OFFRAMP";
133
142
  // when extend do not forget to add new order type to the enum WalletTransactionRecordType
134
143
  })(OrderType || (OrderType = {}));
135
144
  export var WalletTransactionRecordType;
@@ -219,6 +228,15 @@ export var WalletTransactionRecordType;
219
228
  WalletTransactionRecordType["BRL_ACH_ONRAMP"] = "BRL_ACH_ONRAMP";
220
229
  WalletTransactionRecordType["BRL_WIRE_OFFRAMP"] = "BRL_WIRE_OFFRAMP";
221
230
  WalletTransactionRecordType["BRL_WIRE_ONRAMP"] = "BRL_WIRE_ONRAMP";
231
+ WalletTransactionRecordType["BRL_RTP_OFFRAMP"] = "BRL_RTP_OFFRAMP";
232
+ WalletTransactionRecordType["DLS_WIRE_ONRAMP"] = "DLS_WIRE_ONRAMP";
233
+ WalletTransactionRecordType["DLS_WIRE_OFFRAMP"] = "DLS_WIRE_OFFRAMP";
234
+ WalletTransactionRecordType["DLS_ACH_ONRAMP"] = "DLS_ACH_ONRAMP";
235
+ WalletTransactionRecordType["DLS_ACH_OFFRAMP"] = "DLS_ACH_OFFRAMP";
236
+ WalletTransactionRecordType["DLS_SEPA_ONRAMP"] = "DLS_SEPA_ONRAMP";
237
+ WalletTransactionRecordType["DLS_SEPA_OFFRAMP"] = "DLS_SEPA_OFFRAMP";
238
+ WalletTransactionRecordType["DLS_SWIFT_ONRAMP"] = "DLS_SWIFT_ONRAMP";
239
+ WalletTransactionRecordType["DLS_SWIFT_OFFRAMP"] = "DLS_SWIFT_OFFRAMP";
222
240
  })(WalletTransactionRecordType || (WalletTransactionRecordType = {}));
223
241
  export const orderTypeIncludedInWalletTransactionRecordTypeCheck = true;
224
242
  export var RequestStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.36.5",
3
+ "version": "1.36.6",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",