squarefi-bff-api-module 1.32.23 → 1.32.25

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.
@@ -2058,7 +2058,7 @@ export declare namespace API {
2058
2058
  user_id: string;
2059
2059
  tenant_id: string;
2060
2060
  }
2061
- interface WallletBalanceCryptoDetails {
2061
+ interface WallletBalanceDetails {
2062
2062
  uuid: string;
2063
2063
  amount: number;
2064
2064
  fiat_amount: number;
@@ -2072,7 +2072,7 @@ export declare namespace API {
2072
2072
  decimal?: number | null;
2073
2073
  amount: number;
2074
2074
  fiat_amount: number;
2075
- details: WallletBalanceCryptoDetails[];
2075
+ details: WallletBalanceDetails[];
2076
2076
  }
2077
2077
  type WalletBalance = WalletBalanceItem[];
2078
2078
  namespace WalletChain {
@@ -2093,14 +2093,22 @@ export declare namespace API {
2093
2093
  }
2094
2094
  }
2095
2095
  namespace Wallet {
2096
- type Wallet = components['schemas']['WalletExtendedDto'];
2096
+ interface Wallet {
2097
+ uuid: string;
2098
+ type: components['schemas']['WalletDto']['type'];
2099
+ created_at: string;
2100
+ fiat_total: number;
2101
+ crypto_total: number;
2102
+ total_amount: number;
2103
+ balance: WalletBalance;
2104
+ }
2097
2105
  namespace Create {
2098
2106
  type Request = operations['WalletsController_create']['requestBody']['content']['application/json'];
2099
2107
  type Response = operations['WalletsController_create']['responses']['200']['content']['application/json'];
2100
2108
  }
2101
2109
  namespace GetByUuid {
2102
2110
  type Request = operations['WalletsController_view']['parameters']['path'];
2103
- type Response = operations['WalletsController_view']['responses']['200']['content']['application/json'];
2111
+ type Response = API.Wallets.Wallet.Wallet;
2104
2112
  }
2105
2113
  }
2106
2114
  namespace WalletsList {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarefi-bff-api-module",
3
- "version": "1.32.23",
3
+ "version": "1.32.25",
4
4
  "description": "Squarefi BFF API client module",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",