squarefi-bff-api-module 1.34.23 → 1.34.24

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.
@@ -41,6 +41,8 @@ export declare const orders: {
41
41
  L2F_WIRE_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.L2F_WIRE_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.L2F_WIRE_OFFRAMP.Response>;
42
42
  L2F_CHAPS_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.L2F_CHAPS_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.L2F_CHAPS_OFFRAMP.Response>;
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
+ BRL_WIRE_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.BRL_WIRE_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.BRL_WIRE_OFFRAMP.Response>;
45
+ BRL_ACH_OFFRAMP: (data: API.Orders.V2.Create.ByOrderType.BRL_ACH_OFFRAMP.Request) => Promise<API.Orders.V2.Create.ByOrderType.BRL_ACH_OFFRAMP.Response>;
44
46
  };
45
47
  };
46
48
  list: {
@@ -74,6 +74,8 @@ export const orders = {
74
74
  [OrderType.L2F_WIRE_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/L2F_WIRE_OFFRAMP', { data }),
75
75
  [OrderType.L2F_CHAPS_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/L2F_CHAPS_OFFRAMP', { data }),
76
76
  [OrderType.L2F_FPS_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/L2F_FPS_OFFRAMP', { data }),
77
+ [OrderType.BRL_WIRE_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/BRL_WIRE_OFFRAMP', { data }),
78
+ [OrderType.BRL_ACH_OFFRAMP]: (data) => apiClientV1.postRequest('/v2/orders/BRL_ACH_OFFRAMP', { data }),
77
79
  },
78
80
  },
79
81
  list: {
@@ -2035,6 +2035,8 @@ export interface components {
2035
2035
  id: string;
2036
2036
  code: string | null;
2037
2037
  name: string;
2038
+ /** @description When false, submitting to this rail is disabled. The rail is still returned in lists; only the submit action is blocked. */
2039
+ is_submit_available: boolean;
2038
2040
  wallet_rail: components["schemas"]["WalletKycRailDto"] | null;
2039
2041
  terms_and_conditions: components["schemas"]["WalletKycRailTermsAndConditionsDto"][];
2040
2042
  };
@@ -1326,6 +1326,13 @@ export declare namespace API {
1326
1326
  virtual_account_id: string;
1327
1327
  };
1328
1328
  }
1329
+ interface BraleResponse extends BaseOrderResponse {
1330
+ order_type: 'BRL_WIRE_OFFRAMP' | 'BRL_ACH_OFFRAMP';
1331
+ meta: {
1332
+ request_id: string;
1333
+ virtual_account_id: string;
1334
+ };
1335
+ }
1329
1336
  }
1330
1337
  }
1331
1338
  namespace ByOrderType {
@@ -1432,6 +1439,22 @@ export declare namespace API {
1432
1439
  order_type: 'L2F_FPS_OFFRAMP';
1433
1440
  };
1434
1441
  }
1442
+ namespace BRL_WIRE_OFFRAMP {
1443
+ type Request = Common.Request.OrderWithCounterpartyParams & {
1444
+ virtual_account_id?: string;
1445
+ };
1446
+ type Response = Common.Response.BraleResponse & {
1447
+ order_type: 'BRL_WIRE_OFFRAMP';
1448
+ };
1449
+ }
1450
+ namespace BRL_ACH_OFFRAMP {
1451
+ type Request = Common.Request.OrderWithCounterpartyParams & {
1452
+ virtual_account_id?: string;
1453
+ };
1454
+ type Response = Common.Response.BraleResponse & {
1455
+ order_type: 'BRL_ACH_OFFRAMP';
1456
+ };
1457
+ }
1435
1458
  }
1436
1459
  }
1437
1460
  namespace OrderTypes {
@@ -124,7 +124,11 @@ export declare enum OrderType {
124
124
  L2F_FPS_OFFRAMP = "L2F_FPS_OFFRAMP",
125
125
  L2F_FPS_ONRAMP = "L2F_FPS_ONRAMP",
126
126
  L2F_CHAPS_OFFRAMP = "L2F_CHAPS_OFFRAMP",
127
- L2F_CHAPS_ONRAMP = "L2F_CHAPS_ONRAMP"
127
+ L2F_CHAPS_ONRAMP = "L2F_CHAPS_ONRAMP",
128
+ BRL_ACH_OFFRAMP = "BRL_ACH_OFFRAMP",
129
+ BRL_ACH_ONRAMP = "BRL_ACH_ONRAMP",
130
+ BRL_WIRE_OFFRAMP = "BRL_WIRE_OFFRAMP",
131
+ BRL_WIRE_ONRAMP = "BRL_WIRE_ONRAMP"
128
132
  }
129
133
  export declare enum WalletTransactionRecordType {
130
134
  CARD_PROVIDER_DEPOSIT = "CARD_PROVIDER_DEPOSIT",
@@ -207,7 +211,11 @@ export declare enum WalletTransactionRecordType {
207
211
  L2F_FPS_OFFRAMP = "L2F_FPS_OFFRAMP",
208
212
  L2F_FPS_ONRAMP = "L2F_FPS_ONRAMP",
209
213
  L2F_CHAPS_OFFRAMP = "L2F_CHAPS_OFFRAMP",
210
- L2F_CHAPS_ONRAMP = "L2F_CHAPS_ONRAMP"
214
+ L2F_CHAPS_ONRAMP = "L2F_CHAPS_ONRAMP",
215
+ BRL_ACH_OFFRAMP = "BRL_ACH_OFFRAMP",
216
+ BRL_ACH_ONRAMP = "BRL_ACH_ONRAMP",
217
+ BRL_WIRE_OFFRAMP = "BRL_WIRE_OFFRAMP",
218
+ BRL_WIRE_ONRAMP = "BRL_WIRE_ONRAMP"
211
219
  }
212
220
  export type OrderTypeMissingInWalletTransactionRecordType = Exclude<EnumValues<OrderType>, EnumValues<WalletTransactionRecordType>>;
213
221
  export declare const orderTypeIncludedInWalletTransactionRecordTypeCheck: IsUnionSubset<EnumValues<OrderType>, EnumValues<WalletTransactionRecordType>>;
package/dist/constants.js CHANGED
@@ -126,6 +126,10 @@ export var OrderType;
126
126
  OrderType["L2F_FPS_ONRAMP"] = "L2F_FPS_ONRAMP";
127
127
  OrderType["L2F_CHAPS_OFFRAMP"] = "L2F_CHAPS_OFFRAMP";
128
128
  OrderType["L2F_CHAPS_ONRAMP"] = "L2F_CHAPS_ONRAMP";
129
+ OrderType["BRL_ACH_OFFRAMP"] = "BRL_ACH_OFFRAMP";
130
+ OrderType["BRL_ACH_ONRAMP"] = "BRL_ACH_ONRAMP";
131
+ OrderType["BRL_WIRE_OFFRAMP"] = "BRL_WIRE_OFFRAMP";
132
+ OrderType["BRL_WIRE_ONRAMP"] = "BRL_WIRE_ONRAMP";
129
133
  // when extend do not forget to add new order type to the enum WalletTransactionRecordType
130
134
  })(OrderType || (OrderType = {}));
131
135
  export var WalletTransactionRecordType;
@@ -211,6 +215,10 @@ export var WalletTransactionRecordType;
211
215
  WalletTransactionRecordType["L2F_FPS_ONRAMP"] = "L2F_FPS_ONRAMP";
212
216
  WalletTransactionRecordType["L2F_CHAPS_OFFRAMP"] = "L2F_CHAPS_OFFRAMP";
213
217
  WalletTransactionRecordType["L2F_CHAPS_ONRAMP"] = "L2F_CHAPS_ONRAMP";
218
+ WalletTransactionRecordType["BRL_ACH_OFFRAMP"] = "BRL_ACH_OFFRAMP";
219
+ WalletTransactionRecordType["BRL_ACH_ONRAMP"] = "BRL_ACH_ONRAMP";
220
+ WalletTransactionRecordType["BRL_WIRE_OFFRAMP"] = "BRL_WIRE_OFFRAMP";
221
+ WalletTransactionRecordType["BRL_WIRE_ONRAMP"] = "BRL_WIRE_ONRAMP";
214
222
  })(WalletTransactionRecordType || (WalletTransactionRecordType = {}));
215
223
  export const orderTypeIncludedInWalletTransactionRecordTypeCheck = true;
216
224
  export var RequestStatus;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.34.23",
3
+ "version": "1.34.24",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",