squarefi-bff-api-module 1.32.27 → 1.32.28

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;
@@ -2094,7 +2094,6 @@ export declare namespace API {
2094
2094
  namespace Wallet {
2095
2095
  interface Wallet {
2096
2096
  uuid: string;
2097
- type: components['schemas']['WalletDto']['type'];
2098
2097
  created_at: string;
2099
2098
  fiat_total: number;
2100
2099
  crypto_total: number;
@@ -2112,9 +2111,10 @@ export declare namespace API {
2112
2111
  }
2113
2112
  namespace WalletsList {
2114
2113
  interface WalletsListItem {
2115
- type: NonNullable<components['schemas']['WalletDto']['type']> | string;
2116
2114
  uuid: string;
2117
2115
  created_at: string;
2116
+ role: components['schemas']['WalletDto']['role'];
2117
+ kyc_info: components['schemas']['WalletKycInfoDto'];
2118
2118
  }
2119
2119
  type Request = operations['WalletsController_all']['parameters']['query'];
2120
2120
  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.28",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",