squarefi-bff-api-module 1.24.21 → 1.24.22

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.
@@ -4,6 +4,6 @@ exports.tenants = void 0;
4
4
  const apiClientFactory_1 = require("../utils/apiClientFactory");
5
5
  exports.tenants = {
6
6
  config: {
7
- get: () => apiClientFactory_1.apiClientV2.getRequest('/tenants/config'),
7
+ get: () => apiClientFactory_1.apiClientV2.getRequest('/system/config'),
8
8
  },
9
9
  };
@@ -953,6 +953,22 @@ export interface paths {
953
953
  patch?: never;
954
954
  trace?: never;
955
955
  };
956
+ "/load-data-from-hifibridge": {
957
+ parameters: {
958
+ query?: never;
959
+ header?: never;
960
+ path?: never;
961
+ cookie?: never;
962
+ };
963
+ get?: never;
964
+ put?: never;
965
+ post: operations["LoadDataFromHifibridgeController_syncData"];
966
+ delete?: never;
967
+ options?: never;
968
+ head?: never;
969
+ patch?: never;
970
+ trace?: never;
971
+ };
956
972
  }
957
973
  export type webhooks = Record<string, never>;
958
974
  export interface components {
@@ -1119,6 +1135,8 @@ export interface components {
1119
1135
  tg_bot_name: string | null;
1120
1136
  theme_switch: boolean;
1121
1137
  enable_exchange: boolean;
1138
+ enable_auto_exchange: boolean;
1139
+ enable_crypto_withdrawal: boolean;
1122
1140
  };
1123
1141
  PaginationResponseDto: {
1124
1142
  /** @example 20 */
@@ -2018,6 +2036,9 @@ export interface components {
2018
2036
  tg_bot_name: string | null;
2019
2037
  theme_switch: boolean;
2020
2038
  enable_exchange: boolean;
2039
+ enable_auto_exchange: boolean;
2040
+ enable_crypto_withdrawal: boolean;
2041
+ base_currency: string;
2021
2042
  };
2022
2043
  SystemChainsResponseDto: {
2023
2044
  total: number;
@@ -2072,6 +2093,12 @@ export interface components {
2072
2093
  /** @description Data */
2073
2094
  data: components["schemas"]["IntegrationPersonaTemplateEntityDto"][];
2074
2095
  };
2096
+ SyncDataFromHifibridgeDto: {
2097
+ /** @description Wallet to load data from Hifibridge */
2098
+ wallet_id: string;
2099
+ /** @description Hifibridge ID to load data to wallet */
2100
+ hifibridge_id: string;
2101
+ };
2075
2102
  };
2076
2103
  responses: never;
2077
2104
  parameters: never;
@@ -4453,4 +4480,25 @@ export interface operations {
4453
4480
  };
4454
4481
  };
4455
4482
  };
4483
+ LoadDataFromHifibridgeController_syncData: {
4484
+ parameters: {
4485
+ query?: never;
4486
+ header?: never;
4487
+ path?: never;
4488
+ cookie?: never;
4489
+ };
4490
+ requestBody: {
4491
+ content: {
4492
+ "application/json": components["schemas"]["SyncDataFromHifibridgeDto"];
4493
+ };
4494
+ };
4495
+ responses: {
4496
+ 201: {
4497
+ headers: {
4498
+ [name: string]: unknown;
4499
+ };
4500
+ content?: never;
4501
+ };
4502
+ };
4503
+ };
4456
4504
  }
@@ -190,6 +190,7 @@ export declare namespace API {
190
190
  nick_name: string | null;
191
191
  wallet_id: string;
192
192
  program_id: string;
193
+ limits?: API.Cards.Limits.Limits;
193
194
  fiat_account: API.Issuing.SubAccounts.SubAccount;
194
195
  last4: string;
195
196
  request_id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.24.21",
3
+ "version": "1.24.22",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2,6 +2,6 @@ import { apiClientV2 } from '../utils/apiClientFactory';
2
2
 
3
3
  export const tenants = {
4
4
  config: {
5
- get: () => apiClientV2.getRequest('/tenants/config'),
5
+ get: () => apiClientV2.getRequest('/system/config'),
6
6
  },
7
7
  };
@@ -954,6 +954,22 @@ export interface paths {
954
954
  patch?: never;
955
955
  trace?: never;
956
956
  };
957
+ "/load-data-from-hifibridge": {
958
+ parameters: {
959
+ query?: never;
960
+ header?: never;
961
+ path?: never;
962
+ cookie?: never;
963
+ };
964
+ get?: never;
965
+ put?: never;
966
+ post: operations["LoadDataFromHifibridgeController_syncData"];
967
+ delete?: never;
968
+ options?: never;
969
+ head?: never;
970
+ patch?: never;
971
+ trace?: never;
972
+ };
957
973
  }
958
974
  export type webhooks = Record<string, never>;
959
975
  export interface components {
@@ -1120,6 +1136,8 @@ export interface components {
1120
1136
  tg_bot_name: string | null;
1121
1137
  theme_switch: boolean;
1122
1138
  enable_exchange: boolean;
1139
+ enable_auto_exchange: boolean;
1140
+ enable_crypto_withdrawal: boolean;
1123
1141
  };
1124
1142
  PaginationResponseDto: {
1125
1143
  /** @example 20 */
@@ -2019,6 +2037,9 @@ export interface components {
2019
2037
  tg_bot_name: string | null;
2020
2038
  theme_switch: boolean;
2021
2039
  enable_exchange: boolean;
2040
+ enable_auto_exchange: boolean;
2041
+ enable_crypto_withdrawal: boolean;
2042
+ base_currency: string;
2022
2043
  };
2023
2044
  SystemChainsResponseDto: {
2024
2045
  total: number;
@@ -2073,6 +2094,12 @@ export interface components {
2073
2094
  /** @description Data */
2074
2095
  data: components["schemas"]["IntegrationPersonaTemplateEntityDto"][];
2075
2096
  };
2097
+ SyncDataFromHifibridgeDto: {
2098
+ /** @description Wallet to load data from Hifibridge */
2099
+ wallet_id: string;
2100
+ /** @description Hifibridge ID to load data to wallet */
2101
+ hifibridge_id: string;
2102
+ };
2076
2103
  };
2077
2104
  responses: never;
2078
2105
  parameters: never;
@@ -4454,4 +4481,25 @@ export interface operations {
4454
4481
  };
4455
4482
  };
4456
4483
  };
4484
+ LoadDataFromHifibridgeController_syncData: {
4485
+ parameters: {
4486
+ query?: never;
4487
+ header?: never;
4488
+ path?: never;
4489
+ cookie?: never;
4490
+ };
4491
+ requestBody: {
4492
+ content: {
4493
+ "application/json": components["schemas"]["SyncDataFromHifibridgeDto"];
4494
+ };
4495
+ };
4496
+ responses: {
4497
+ 201: {
4498
+ headers: {
4499
+ [name: string]: unknown;
4500
+ };
4501
+ content?: never;
4502
+ };
4503
+ };
4504
+ };
4457
4505
  }
@@ -224,7 +224,7 @@ export namespace API {
224
224
  nick_name: string | null;
225
225
  wallet_id: string;
226
226
  program_id: string;
227
-
227
+ limits?: API.Cards.Limits.Limits;
228
228
  fiat_account: API.Issuing.SubAccounts.SubAccount;
229
229
  last4: string;
230
230
  request_id: string;