@arbiwallet/contracts 1.0.235 → 1.0.236

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.
@@ -304,18 +304,30 @@ export interface GetWalletsResponse {
304
304
  }
305
305
 
306
306
  export interface GetWalletsMonikaRequest {
307
- authManagerContext: AuthManagerContext | undefined;
308
- search?: string | undefined;
309
- isActive?: boolean | undefined;
310
- page?: number | undefined;
311
- pageSize?: number | undefined;
307
+ currencyId?: string | undefined;
308
+ isActive?: string | undefined;
309
+ }
310
+
311
+ export interface WalletMonikaCurrency {
312
+ id: number;
313
+ shortName: string;
314
+ name: string;
315
+ }
316
+
317
+ export interface WalletMonikaItem {
318
+ id: number;
319
+ name: string;
320
+ currencies: WalletMonikaCurrency[];
321
+ balance: number;
322
+ status: boolean;
323
+ isActive: boolean;
324
+ cryptoAddress?: string | undefined;
325
+ cryptoNetwork?: number | undefined;
326
+ isGeneral: boolean;
312
327
  }
313
328
 
314
329
  export interface GetWalletsMonikaResponse {
315
- count: number;
316
- next?: string | undefined;
317
- previous?: string | undefined;
318
- results: WalletItem[];
330
+ wallets: WalletMonikaItem[];
319
331
  }
320
332
 
321
333
  export interface CreateWalletRequest {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arbiwallet/contracts",
3
3
  "descriptions": "Generate and manage smart contracts for ArbiWallet",
4
- "version": "1.0.235",
4
+ "version": "1.0.236",
5
5
  "scripts": {
6
6
  "generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
@@ -327,18 +327,30 @@ message GetWalletsResponse {
327
327
  }
328
328
 
329
329
  message GetWalletsMonikaRequest {
330
- AuthManagerContext auth_manager_context = 1;
331
- optional string search = 2;
332
- optional bool is_active = 3;
333
- optional int32 page = 4;
334
- optional int32 page_size = 5;
330
+ optional string currency_id = 1;
331
+ optional string is_active = 2;
332
+ }
333
+
334
+ message WalletMonikaCurrency {
335
+ int64 id = 1;
336
+ string short_name = 2;
337
+ string name = 3;
338
+ }
339
+
340
+ message WalletMonikaItem {
341
+ int64 id = 1;
342
+ string name = 2;
343
+ repeated WalletMonikaCurrency currencies = 3;
344
+ double balance = 4;
345
+ bool status = 5;
346
+ bool is_active = 6;
347
+ optional string crypto_address = 7;
348
+ optional int32 crypto_network = 8;
349
+ bool is_general = 9;
335
350
  }
336
351
 
337
352
  message GetWalletsMonikaResponse {
338
- int32 count = 1;
339
- optional string next = 2;
340
- optional string previous = 3;
341
- repeated WalletItem results = 4;
353
+ repeated WalletMonikaItem wallets = 2;
342
354
  }
343
355
 
344
356
  message CreateWalletRequest {