squarefi-bff-api-module 1.32.27 → 1.32.29

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.
@@ -1221,20 +1221,27 @@ export interface components {
1221
1221
  /** @description Has more data flag */
1222
1222
  readonly has_more: boolean;
1223
1223
  };
1224
+ WalletKycInfoDto: {
1225
+ /** @enum {string} */
1226
+ type: "individual" | "business" | "universal";
1227
+ /**
1228
+ * @default UNVERIFIED
1229
+ * @enum {string}
1230
+ */
1231
+ status: "APPROVED" | "DECLINED" | "PENDING" | "HOLD" | "DOUBLE" | "SOFT_REJECT" | "REJECT" | "UNVERIFIED" | "WAITING_ON_UBOS" | "WAITING_ON_REVIEW";
1232
+ readonly business_name?: string;
1233
+ readonly first_name?: string;
1234
+ readonly last_name?: string;
1235
+ };
1224
1236
  WalletDto: {
1225
1237
  uuid: string;
1226
- /** @enum {string|null} */
1227
- type: "personal" | "business" | "trading" | "merchant" | "staking" | "saving" | "escrow" | "exchange" | "vault" | null;
1228
1238
  created_at: string;
1239
+ /** @enum {string} */
1240
+ role: "owner" | "admin" | "moderator" | "user";
1241
+ readonly kyc_info?: components["schemas"]["WalletKycInfoDto"];
1229
1242
  };
1230
1243
  WalletsFilter: Record<string, never>;
1231
- CreateWalletDto: {
1232
- /**
1233
- * @default personal
1234
- * @enum {string}
1235
- */
1236
- type: "personal" | "business" | "trading" | "merchant" | "staking" | "saving" | "escrow" | "exchange" | "vault";
1237
- };
1244
+ CreateWalletDto: Record<string, never>;
1238
1245
  AggregatedBalanceDetailsDto: {
1239
1246
  uuid: string;
1240
1247
  amount: number;
@@ -1253,9 +1260,10 @@ export interface components {
1253
1260
  };
1254
1261
  WalletExtendedDto: {
1255
1262
  uuid: string;
1256
- /** @enum {string|null} */
1257
- type: "personal" | "business" | "trading" | "merchant" | "staking" | "saving" | "escrow" | "exchange" | "vault" | null;
1258
1263
  created_at: string;
1264
+ /** @enum {string} */
1265
+ role: "owner" | "admin" | "moderator" | "user";
1266
+ readonly kyc_info?: components["schemas"]["WalletKycInfoDto"];
1259
1267
  fiat_total: number;
1260
1268
  crypto_total: number;
1261
1269
  total_amount: number;
@@ -2947,6 +2955,7 @@ export interface operations {
2947
2955
  sort_order?: "ASC" | "DESC";
2948
2956
  sort_by?: "created_at" | null;
2949
2957
  filter?: components["schemas"]["WalletsFilter"];
2958
+ include_shared?: boolean;
2950
2959
  };
2951
2960
  header?: never;
2952
2961
  path?: never;
@@ -2092,14 +2092,17 @@ export declare namespace API {
2092
2092
  }
2093
2093
  }
2094
2094
  namespace Wallet {
2095
+ type WalletKYCInfo = components['schemas']['WalletKycInfoDto'];
2096
+ type WalletRole = components['schemas']['WalletDto']['role'];
2095
2097
  interface Wallet {
2096
2098
  uuid: string;
2097
- type: components['schemas']['WalletDto']['type'];
2098
2099
  created_at: string;
2099
2100
  fiat_total: number;
2100
2101
  crypto_total: number;
2101
2102
  total_amount: number;
2102
2103
  balance: WalletBalance;
2104
+ kyc_info: WalletKYCInfo;
2105
+ role: WalletRole;
2103
2106
  }
2104
2107
  namespace Create {
2105
2108
  type Request = operations['WalletsController_create']['requestBody']['content']['application/json'];
@@ -2112,9 +2115,10 @@ export declare namespace API {
2112
2115
  }
2113
2116
  namespace WalletsList {
2114
2117
  interface WalletsListItem {
2115
- type: NonNullable<components['schemas']['WalletDto']['type']> | string;
2116
2118
  uuid: string;
2117
2119
  created_at: string;
2120
+ role: API.Wallets.Wallet.WalletRole;
2121
+ kyc_info: API.Wallets.Wallet.WalletKYCInfo;
2118
2122
  }
2119
2123
  type Request = operations['WalletsController_all']['parameters']['query'];
2120
2124
  type Response = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.32.27",
3
+ "version": "1.32.29",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",