@console-wallet/dapp-sdk 2.1.0 → 2.1.2

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/README.md +2 -0
  3. package/dist/cjs/api/client.api.d.ts +16 -5
  4. package/dist/cjs/api/generated-wallet-api.d.ts +157 -112
  5. package/dist/cjs/api/generated-wallet-api.js +165 -163
  6. package/dist/cjs/api/generated-wallet-api.js.map +1 -1
  7. package/dist/cjs/helpers/handleResponse.helper.d.ts +1 -1
  8. package/dist/cjs/index.d.ts +1 -0
  9. package/dist/cjs/openapi.json +55 -4
  10. package/dist/cjs/requests/connect.js +1 -1
  11. package/dist/cjs/requests/connect.js.map +1 -1
  12. package/dist/cjs/requests/getContracts.d.ts +17 -0
  13. package/dist/cjs/requests/getContracts.js +88 -0
  14. package/dist/cjs/requests/getContracts.js.map +1 -0
  15. package/dist/cjs/requests/index.d.ts +1 -0
  16. package/dist/cjs/requests/index.js +1 -0
  17. package/dist/cjs/requests/index.js.map +1 -1
  18. package/dist/cjs/types/communication.types.d.ts +2 -1
  19. package/dist/cjs/types/communication.types.js +1 -0
  20. package/dist/cjs/types/communication.types.js.map +1 -1
  21. package/dist/cjs/types/contracts.types.d.ts +8 -0
  22. package/dist/cjs/types/contracts.types.js +3 -0
  23. package/dist/cjs/types/contracts.types.js.map +1 -0
  24. package/dist/cjs/types/index.d.ts +1 -0
  25. package/dist/cjs/types/index.js +1 -0
  26. package/dist/cjs/types/index.js.map +1 -1
  27. package/dist/esm/api/client.api.d.ts +16 -5
  28. package/dist/esm/api/generated-wallet-api.d.ts +157 -112
  29. package/dist/esm/api/generated-wallet-api.js +166 -164
  30. package/dist/esm/api/generated-wallet-api.js.map +1 -1
  31. package/dist/esm/helpers/handleResponse.helper.d.ts +1 -1
  32. package/dist/esm/index.d.ts +1 -0
  33. package/dist/esm/openapi.json +55 -4
  34. package/dist/esm/requests/connect.js +1 -1
  35. package/dist/esm/requests/connect.js.map +1 -1
  36. package/dist/esm/requests/getContracts.d.ts +17 -0
  37. package/dist/esm/requests/getContracts.js +84 -0
  38. package/dist/esm/requests/getContracts.js.map +1 -0
  39. package/dist/esm/requests/index.d.ts +1 -0
  40. package/dist/esm/requests/index.js +1 -0
  41. package/dist/esm/requests/index.js.map +1 -1
  42. package/dist/esm/types/communication.types.d.ts +2 -1
  43. package/dist/esm/types/communication.types.js +1 -0
  44. package/dist/esm/types/communication.types.js.map +1 -1
  45. package/dist/esm/types/contracts.types.d.ts +8 -0
  46. package/dist/esm/types/contracts.types.js +2 -0
  47. package/dist/esm/types/contracts.types.js.map +1 -0
  48. package/dist/esm/types/index.d.ts +1 -0
  49. package/dist/esm/types/index.js +1 -0
  50. package/dist/esm/types/index.js.map +1 -1
  51. package/package.json +1 -3
@@ -48,7 +48,7 @@ class HttpClient {
48
48
  constructor({ securityWorker, secure, format, ...axiosConfig } = {}) {
49
49
  this.instance = axios_1.default.create({
50
50
  ...axiosConfig,
51
- baseURL: axiosConfig.baseURL || '',
51
+ baseURL: axiosConfig.baseURL || "",
52
52
  });
53
53
  this.secure = secure;
54
54
  this.format = format;
@@ -73,7 +73,7 @@ class HttpClient {
73
73
  };
74
74
  }
75
75
  stringifyFormItem(formItem) {
76
- if (typeof formItem === 'object' && formItem !== null) {
76
+ if (typeof formItem === "object" && formItem !== null) {
77
77
  return JSON.stringify(formItem);
78
78
  }
79
79
  else {
@@ -95,16 +95,22 @@ class HttpClient {
95
95
  }, new FormData());
96
96
  }
97
97
  request = async ({ secure, path, type, query, format, body, ...params }) => {
98
- const secureParams = ((typeof secure === 'boolean' ? secure : this.secure) &&
98
+ const secureParams = ((typeof secure === "boolean" ? secure : this.secure) &&
99
99
  this.securityWorker &&
100
100
  (await this.securityWorker(this.securityData))) ||
101
101
  {};
102
102
  const requestParams = this.mergeRequestParams(params, secureParams);
103
103
  const responseFormat = format || this.format || undefined;
104
- if (type === ContentType.FormData && body && body !== null && typeof body === 'object') {
104
+ if (type === ContentType.FormData &&
105
+ body &&
106
+ body !== null &&
107
+ typeof body === "object") {
105
108
  body = this.createFormData(body);
106
109
  }
107
- if (type === ContentType.Text && body && body !== null && typeof body !== 'string') {
110
+ if (type === ContentType.Text &&
111
+ body &&
112
+ body !== null &&
113
+ typeof body !== "string") {
108
114
  body = JSON.stringify(body);
109
115
  }
110
116
  return this.instance
@@ -112,7 +118,7 @@ class HttpClient {
112
118
  ...requestParams,
113
119
  headers: {
114
120
  ...(requestParams.headers || {}),
115
- ...(type ? { 'Content-Type': type } : {}),
121
+ ...(type ? { "Content-Type": type } : {}),
116
122
  },
117
123
  params: query,
118
124
  responseType: responseFormat,
@@ -139,11 +145,39 @@ class WalletApi extends HttpClient {
139
145
  */
140
146
  authControllerCreateSessionToken: (data, params = {}) => this.request({
141
147
  path: `/api/v1/auth/session`,
142
- method: 'POST',
148
+ method: "POST",
143
149
  body: data,
144
150
  type: ContentType.Json,
145
151
  ...params,
146
152
  }),
153
+ /**
154
+ * No description
155
+ *
156
+ * @tags auth
157
+ * @name AuthControllerGetAllDeviceTypes
158
+ * @request GET:/api/v1/auth/all-device-types
159
+ */
160
+ authControllerGetAllDeviceTypes: (query, params = {}) => this.request({
161
+ path: `/api/v1/auth/all-device-types`,
162
+ method: "GET",
163
+ query: query,
164
+ format: "json",
165
+ ...params,
166
+ }),
167
+ /**
168
+ * No description
169
+ *
170
+ * @tags auth
171
+ * @name AuthControllerGetIsParticipatedInChainActivities
172
+ * @request GET:/api/v1/auth/is-participated-in-chain
173
+ */
174
+ authControllerGetIsParticipatedInChainActivities: (query, params = {}) => this.request({
175
+ path: `/api/v1/auth/is-participated-in-chain`,
176
+ method: "GET",
177
+ query: query,
178
+ format: "json",
179
+ ...params,
180
+ }),
147
181
  /**
148
182
  * No description
149
183
  *
@@ -153,10 +187,10 @@ class WalletApi extends HttpClient {
153
187
  */
154
188
  cbtcBridgeControllerExecuteDeposit: (data, params = {}) => this.request({
155
189
  path: `/api/v1/cbtc/deposits/execute`,
156
- method: 'POST',
190
+ method: "POST",
157
191
  body: data,
158
192
  type: ContentType.Json,
159
- format: 'json',
193
+ format: "json",
160
194
  ...params,
161
195
  }),
162
196
  /**
@@ -168,10 +202,10 @@ class WalletApi extends HttpClient {
168
202
  */
169
203
  cbtcBridgeControllerExecuteWithdrawInit: (data, params = {}) => this.request({
170
204
  path: `/api/v1/cbtc/withdrawals/accounts/execute`,
171
- method: 'POST',
205
+ method: "POST",
172
206
  body: data,
173
207
  type: ContentType.Json,
174
- format: 'json',
208
+ format: "json",
175
209
  ...params,
176
210
  }),
177
211
  /**
@@ -183,10 +217,10 @@ class WalletApi extends HttpClient {
183
217
  */
184
218
  cbtcBridgeControllerExecuteWithdrawRequest: (data, params = {}) => this.request({
185
219
  path: `/api/v1/cbtc/withdrawals/execute`,
186
- method: 'POST',
220
+ method: "POST",
187
221
  body: data,
188
222
  type: ContentType.Json,
189
- format: 'json',
223
+ format: "json",
190
224
  ...params,
191
225
  }),
192
226
  /**
@@ -198,9 +232,23 @@ class WalletApi extends HttpClient {
198
232
  */
199
233
  cbtcBridgeControllerGetDepositAccounts: (query, params = {}) => this.request({
200
234
  path: `/api/v1/cbtc/accounts/deposits`,
201
- method: 'GET',
235
+ method: "GET",
202
236
  query: query,
203
- format: 'json',
237
+ format: "json",
238
+ ...params,
239
+ }),
240
+ /**
241
+ * No description
242
+ *
243
+ * @tags cbtc
244
+ * @name CbtcBridgeControllerGetDepositHistory
245
+ * @request GET:/api/v1/cbtc/deposits/history
246
+ */
247
+ cbtcBridgeControllerGetDepositHistory: (query, params = {}) => this.request({
248
+ path: `/api/v1/cbtc/deposits/history`,
249
+ method: "GET",
250
+ query: query,
251
+ format: "json",
204
252
  ...params,
205
253
  }),
206
254
  /**
@@ -212,9 +260,9 @@ class WalletApi extends HttpClient {
212
260
  */
213
261
  cbtcBridgeControllerGetHoldings: (query, params = {}) => this.request({
214
262
  path: `/api/v1/cbtc/holdings`,
215
- method: 'GET',
263
+ method: "GET",
216
264
  query: query,
217
- format: 'json',
265
+ format: "json",
218
266
  ...params,
219
267
  }),
220
268
  /**
@@ -226,9 +274,9 @@ class WalletApi extends HttpClient {
226
274
  */
227
275
  cbtcBridgeControllerGetWithdrawAccounts: (query, params = {}) => this.request({
228
276
  path: `/api/v1/cbtc/accounts/withdrawals`,
229
- method: 'GET',
277
+ method: "GET",
230
278
  query: query,
231
- format: 'json',
279
+ format: "json",
232
280
  ...params,
233
281
  }),
234
282
  /**
@@ -240,9 +288,9 @@ class WalletApi extends HttpClient {
240
288
  */
241
289
  cbtcBridgeControllerGetWithdrawalHistory: (query, params = {}) => this.request({
242
290
  path: `/api/v1/cbtc/withdrawals/history`,
243
- method: 'GET',
291
+ method: "GET",
244
292
  query: query,
245
- format: 'json',
293
+ format: "json",
246
294
  ...params,
247
295
  }),
248
296
  /**
@@ -254,9 +302,9 @@ class WalletApi extends HttpClient {
254
302
  */
255
303
  cbtcBridgeControllerGetWithdrawRequests: (query, params = {}) => this.request({
256
304
  path: `/api/v1/cbtc/withdrawals/requests`,
257
- method: 'GET',
305
+ method: "GET",
258
306
  query: query,
259
- format: 'json',
307
+ format: "json",
260
308
  ...params,
261
309
  }),
262
310
  /**
@@ -268,10 +316,10 @@ class WalletApi extends HttpClient {
268
316
  */
269
317
  cbtcBridgeControllerPrepareDeposit: (data, params = {}) => this.request({
270
318
  path: `/api/v1/cbtc/deposits/prepare`,
271
- method: 'POST',
319
+ method: "POST",
272
320
  body: data,
273
321
  type: ContentType.Json,
274
- format: 'json',
322
+ format: "json",
275
323
  ...params,
276
324
  }),
277
325
  /**
@@ -283,10 +331,10 @@ class WalletApi extends HttpClient {
283
331
  */
284
332
  cbtcBridgeControllerPrepareWithdrawInit: (data, params = {}) => this.request({
285
333
  path: `/api/v1/cbtc/withdrawals/accounts/prepare`,
286
- method: 'POST',
334
+ method: "POST",
287
335
  body: data,
288
336
  type: ContentType.Json,
289
- format: 'json',
337
+ format: "json",
290
338
  ...params,
291
339
  }),
292
340
  /**
@@ -298,10 +346,10 @@ class WalletApi extends HttpClient {
298
346
  */
299
347
  cbtcBridgeControllerPrepareWithdrawRequest: (data, params = {}) => this.request({
300
348
  path: `/api/v1/cbtc/withdrawals/prepare`,
301
- method: 'POST',
349
+ method: "POST",
302
350
  body: data,
303
351
  type: ContentType.Json,
304
- format: 'json',
352
+ format: "json",
305
353
  ...params,
306
354
  }),
307
355
  /**
@@ -314,11 +362,11 @@ class WalletApi extends HttpClient {
314
362
  */
315
363
  evmControllerAddUserEvmWalletAddress: (partyId, data, params = {}) => this.request({
316
364
  path: `/api/v1/evm/${partyId}/address`,
317
- method: 'POST',
365
+ method: "POST",
318
366
  body: data,
319
367
  secure: true,
320
368
  type: ContentType.Json,
321
- format: 'json',
369
+ format: "json",
322
370
  ...params,
323
371
  }),
324
372
  /**
@@ -331,11 +379,11 @@ class WalletApi extends HttpClient {
331
379
  */
332
380
  evmControllerAddUserEvmWalletAddresses: (partyId, data, params = {}) => this.request({
333
381
  path: `/api/v1/evm/${partyId}/address/bulk`,
334
- method: 'POST',
382
+ method: "POST",
335
383
  body: data,
336
384
  secure: true,
337
385
  type: ContentType.Json,
338
- format: 'json',
386
+ format: "json",
339
387
  ...params,
340
388
  }),
341
389
  /**
@@ -347,9 +395,9 @@ class WalletApi extends HttpClient {
347
395
  */
348
396
  externalPartyControllerGetPartyByFingerprint: (query, params = {}) => this.request({
349
397
  path: `/api/v1/external-party/by-fingerprint`,
350
- method: 'GET',
398
+ method: "GET",
351
399
  query: query,
352
- format: 'json',
400
+ format: "json",
353
401
  ...params,
354
402
  }),
355
403
  /**
@@ -361,10 +409,10 @@ class WalletApi extends HttpClient {
361
409
  */
362
410
  externalPartyControllerPrepareExternalParty: (data, params = {}) => this.request({
363
411
  path: `/api/v1/external-party/prepare`,
364
- method: 'POST',
412
+ method: "POST",
365
413
  body: data,
366
414
  type: ContentType.Json,
367
- format: 'json',
415
+ format: "json",
368
416
  ...params,
369
417
  }),
370
418
  /**
@@ -376,10 +424,10 @@ class WalletApi extends HttpClient {
376
424
  */
377
425
  externalPartyControllerSubmitExternalParty: (data, params = {}) => this.request({
378
426
  path: `/api/v1/external-party/submit`,
379
- method: 'POST',
427
+ method: "POST",
380
428
  body: data,
381
429
  type: ContentType.Json,
382
- format: 'json',
430
+ format: "json",
383
431
  ...params,
384
432
  }),
385
433
  /**
@@ -391,10 +439,10 @@ class WalletApi extends HttpClient {
391
439
  */
392
440
  invitationsControllerRequestInvitation: (data, params = {}) => this.request({
393
441
  path: `/api/v1/invitations/request`,
394
- method: 'POST',
442
+ method: "POST",
395
443
  body: data,
396
444
  type: ContentType.Json,
397
- format: 'json',
445
+ format: "json",
398
446
  ...params,
399
447
  }),
400
448
  /**
@@ -406,10 +454,10 @@ class WalletApi extends HttpClient {
406
454
  */
407
455
  invitationsControllerVerifyInvitation: (data, params = {}) => this.request({
408
456
  path: `/api/v1/invitations/verification`,
409
- method: 'POST',
457
+ method: "POST",
410
458
  body: data,
411
459
  type: ContentType.Json,
412
- format: 'json',
460
+ format: "json",
413
461
  ...params,
414
462
  }),
415
463
  /**
@@ -421,9 +469,9 @@ class WalletApi extends HttpClient {
421
469
  */
422
470
  mergeDelegationControllerGetMergeUtxosStatus: (query, params = {}) => this.request({
423
471
  path: `/api/v1/token-standard/merge-delegation/status`,
424
- method: 'GET',
472
+ method: "GET",
425
473
  query: query,
426
- format: 'json',
474
+ format: "json",
427
475
  ...params,
428
476
  }),
429
477
  /**
@@ -436,11 +484,11 @@ class WalletApi extends HttpClient {
436
484
  */
437
485
  mergeDelegationControllerPrepareMergeDelegation: (data, params = {}) => this.request({
438
486
  path: `/api/v1/token-standard/merge-delegation/prepare`,
439
- method: 'POST',
487
+ method: "POST",
440
488
  body: data,
441
489
  secure: true,
442
490
  type: ContentType.Json,
443
- format: 'json',
491
+ format: "json",
444
492
  ...params,
445
493
  }),
446
494
  /**
@@ -453,11 +501,11 @@ class WalletApi extends HttpClient {
453
501
  */
454
502
  mergeDelegationControllerSubmitMergeDelegation: (data, params = {}) => this.request({
455
503
  path: `/api/v1/token-standard/merge-delegation/submit`,
456
- method: 'POST',
504
+ method: "POST",
457
505
  body: data,
458
506
  secure: true,
459
507
  type: ContentType.Json,
460
- format: 'json',
508
+ format: "json",
461
509
  ...params,
462
510
  }),
463
511
  /**
@@ -470,8 +518,8 @@ class WalletApi extends HttpClient {
470
518
  */
471
519
  proxyCcviewUserApiControllerGetDevice: (deviceId, params = {}) => this.request({
472
520
  path: `/api/v1/proxy/ccview-user-api/mobile/notifications/devices/${deviceId}`,
473
- method: 'GET',
474
- format: 'json',
521
+ method: "GET",
522
+ format: "json",
475
523
  ...params,
476
524
  }),
477
525
  /**
@@ -484,10 +532,10 @@ class WalletApi extends HttpClient {
484
532
  */
485
533
  proxyCcviewUserApiControllerSubscribe: (data, params = {}) => this.request({
486
534
  path: `/api/v1/proxy/ccview-user-api/mobile/notifications/subscribe`,
487
- method: 'POST',
535
+ method: "POST",
488
536
  body: data,
489
537
  type: ContentType.Json,
490
- format: 'json',
538
+ format: "json",
491
539
  ...params,
492
540
  }),
493
541
  /**
@@ -500,10 +548,10 @@ class WalletApi extends HttpClient {
500
548
  */
501
549
  proxyCcviewUserApiControllerUnsubscribe: (data, params = {}) => this.request({
502
550
  path: `/api/v1/proxy/ccview-user-api/mobile/notifications/unsubscribe`,
503
- method: 'DELETE',
551
+ method: "DELETE",
504
552
  body: data,
505
553
  type: ContentType.Json,
506
- format: 'json',
554
+ format: "json",
507
555
  ...params,
508
556
  }),
509
557
  /**
@@ -515,10 +563,10 @@ class WalletApi extends HttpClient {
515
563
  */
516
564
  proxyIndexerControllerProxyLegacy: (data, params = {}) => this.request({
517
565
  path: `/api/v1/proxy/indexer`,
518
- method: 'POST',
566
+ method: "POST",
519
567
  body: data,
520
568
  type: ContentType.Json,
521
- format: 'json',
569
+ format: "json",
522
570
  ...params,
523
571
  }),
524
572
  /**
@@ -530,10 +578,10 @@ class WalletApi extends HttpClient {
530
578
  */
531
579
  proxyIndexerControllerProxyMapped: (data, params = {}) => this.request({
532
580
  path: `/api/v1/proxy/indexer/mapped`,
533
- method: 'POST',
581
+ method: "POST",
534
582
  body: data,
535
583
  type: ContentType.Json,
536
- format: 'json',
584
+ format: "json",
537
585
  ...params,
538
586
  }),
539
587
  /**
@@ -545,10 +593,10 @@ class WalletApi extends HttpClient {
545
593
  */
546
594
  proxyPriceApiControllerProxy: (data, params = {}) => this.request({
547
595
  path: `/api/v1/proxy/price`,
548
- method: 'POST',
596
+ method: "POST",
549
597
  body: data,
550
598
  type: ContentType.Json,
551
- format: 'json',
599
+ format: "json",
552
600
  ...params,
553
601
  }),
554
602
  /**
@@ -560,10 +608,10 @@ class WalletApi extends HttpClient {
560
608
  */
561
609
  proxyW3AControllerProxy: (data, params = {}) => this.request({
562
610
  path: `/api/v1/proxy/phishing`,
563
- method: 'POST',
611
+ method: "POST",
564
612
  body: data,
565
613
  type: ContentType.Json,
566
- format: 'json',
614
+ format: "json",
567
615
  ...params,
568
616
  }),
569
617
  /**
@@ -575,85 +623,39 @@ class WalletApi extends HttpClient {
575
623
  */
576
624
  sdkLedgerProxyControllerProxyRequest: (data, params = {}) => this.request({
577
625
  path: `/api/v1/proxy/sdk`,
578
- method: 'POST',
626
+ method: "POST",
579
627
  body: data,
580
628
  type: ContentType.Json,
581
- format: 'json',
629
+ format: "json",
582
630
  ...params,
583
631
  }),
584
632
  /**
585
633
  * No description
586
634
  *
587
- * @tags settings
588
- * @name SettingControllerCreateSetting
589
- * @request POST:/api/v1/settings
590
- * @secure
591
- */
592
- settingControllerCreateSetting: (data, params = {}) => this.request({
593
- path: `/api/v1/settings`,
594
- method: 'POST',
595
- body: data,
596
- secure: true,
597
- type: ContentType.Json,
598
- format: 'json',
599
- ...params,
600
- }),
601
- /**
602
- * No description
603
- *
604
- * @tags settings
605
- * @name SettingControllerDeleteSetting
606
- * @request DELETE:/api/v1/settings/{id}
607
- * @secure
608
- */
609
- settingControllerDeleteSetting: (id, params = {}) => this.request({
610
- path: `/api/v1/settings/${id}`,
611
- method: 'DELETE',
612
- secure: true,
613
- ...params,
614
- }),
615
- /**
616
- * No description
617
- *
618
- * @tags settings
619
- * @name SettingControllerGetSettings
620
- * @request GET:/api/v1/settings
621
- */
622
- settingControllerGetSettings: (params = {}) => this.request({
623
- path: `/api/v1/settings`,
624
- method: 'GET',
625
- format: 'json',
626
- ...params,
627
- }),
628
- /**
629
- * No description
630
- *
631
- * @tags settings
632
- * @name SettingControllerUpdateSetting
633
- * @request PUT:/api/v1/settings/{id}
634
- * @secure
635
+ * @tags token-standard
636
+ * @name TokenStandardControllerCreateTap
637
+ * @request POST:/api/v1/token-standard/tap
635
638
  */
636
- settingControllerUpdateSetting: (id, data, params = {}) => this.request({
637
- path: `/api/v1/settings/${id}`,
638
- method: 'PUT',
639
+ tokenStandardControllerCreateTap: (data, params = {}) => this.request({
640
+ path: `/api/v1/token-standard/tap`,
641
+ method: "POST",
639
642
  body: data,
640
- secure: true,
641
643
  type: ContentType.Json,
642
- format: 'json',
643
644
  ...params,
644
645
  }),
645
646
  /**
646
647
  * No description
647
648
  *
648
649
  * @tags token-standard
649
- * @name TokenStandardControllerCreateTap
650
- * @request POST:/api/v1/token-standard/tap
650
+ * @name TokenStandardControllerGetActiveContracts
651
+ * @request POST:/api/v1/token-standard/active-contracts/get
651
652
  */
652
- tokenStandardControllerCreateTap: (data, params = {}) => this.request({
653
- path: `/api/v1/token-standard/tap`,
654
- method: 'POST',
653
+ tokenStandardControllerGetActiveContracts: (data, params = {}) => this.request({
654
+ path: `/api/v1/token-standard/active-contracts/get`,
655
+ method: "POST",
655
656
  body: data,
656
657
  type: ContentType.Json,
658
+ format: "json",
657
659
  ...params,
658
660
  }),
659
661
  /**
@@ -665,9 +667,9 @@ class WalletApi extends HttpClient {
665
667
  */
666
668
  tokenStandardControllerGetBalances: (query, params = {}) => this.request({
667
669
  path: `/api/v1/token-standard/balances`,
668
- method: 'GET',
670
+ method: "GET",
669
671
  query: query,
670
- format: 'json',
672
+ format: "json",
671
673
  ...params,
672
674
  }),
673
675
  /**
@@ -679,9 +681,9 @@ class WalletApi extends HttpClient {
679
681
  */
680
682
  tokenStandardControllerGetPendingTransactions: (query, params = {}) => this.request({
681
683
  path: `/api/v1/token-standard/transactions/pending`,
682
- method: 'GET',
684
+ method: "GET",
683
685
  query: query,
684
- format: 'json',
686
+ format: "json",
685
687
  ...params,
686
688
  }),
687
689
  /**
@@ -693,9 +695,9 @@ class WalletApi extends HttpClient {
693
695
  */
694
696
  tokenStandardControllerGetPendingTransactionsFull: (query, params = {}) => this.request({
695
697
  path: `/api/v1/token-standard/transactions/pending/full`,
696
- method: 'GET',
698
+ method: "GET",
697
699
  query: query,
698
- format: 'json',
700
+ format: "json",
699
701
  ...params,
700
702
  }),
701
703
  /**
@@ -707,9 +709,9 @@ class WalletApi extends HttpClient {
707
709
  */
708
710
  tokenStandardControllerListUtxoHoldings: (query, params = {}) => this.request({
709
711
  path: `/api/v1/token-standard/utxo-holdings`,
710
- method: 'GET',
712
+ method: "GET",
711
713
  query: query,
712
- format: 'json',
714
+ format: "json",
713
715
  ...params,
714
716
  }),
715
717
  /**
@@ -721,9 +723,9 @@ class WalletApi extends HttpClient {
721
723
  */
722
724
  transferControllerGetTransferPreApprovalOrFail: (query, params = {}) => this.request({
723
725
  path: `/api/v1/token-standard/transfer/pre-approval`,
724
- method: 'GET',
726
+ method: "GET",
725
727
  query: query,
726
- format: 'json',
728
+ format: "json",
727
729
  ...params,
728
730
  }),
729
731
  /**
@@ -735,10 +737,10 @@ class WalletApi extends HttpClient {
735
737
  */
736
738
  transferControllerGetTransferPreApprovals: (data, params = {}) => this.request({
737
739
  path: `/api/v1/token-standard/transfer/pre-approval/batch/get`,
738
- method: 'POST',
740
+ method: "POST",
739
741
  body: data,
740
742
  type: ContentType.Json,
741
- format: 'json',
743
+ format: "json",
742
744
  ...params,
743
745
  }),
744
746
  /**
@@ -751,11 +753,11 @@ class WalletApi extends HttpClient {
751
753
  */
752
754
  transferControllerPrepareBatchTransfer: (data, params = {}) => this.request({
753
755
  path: `/api/v1/token-standard/transfer/batch/prepare`,
754
- method: 'POST',
756
+ method: "POST",
755
757
  body: data,
756
758
  secure: true,
757
759
  type: ContentType.Json,
758
- format: 'json',
760
+ format: "json",
759
761
  ...params,
760
762
  }),
761
763
  /**
@@ -768,11 +770,11 @@ class WalletApi extends HttpClient {
768
770
  */
769
771
  transferControllerPrepareResolveTransfer: (data, params = {}) => this.request({
770
772
  path: `/api/v1/token-standard/transfer/resolve/prepare`,
771
- method: 'POST',
773
+ method: "POST",
772
774
  body: data,
773
775
  secure: true,
774
776
  type: ContentType.Json,
775
- format: 'json',
777
+ format: "json",
776
778
  ...params,
777
779
  }),
778
780
  /**
@@ -785,11 +787,11 @@ class WalletApi extends HttpClient {
785
787
  */
786
788
  transferControllerPrepareTransfer: (data, params = {}) => this.request({
787
789
  path: `/api/v1/token-standard/transfer/prepare`,
788
- method: 'POST',
790
+ method: "POST",
789
791
  body: data,
790
792
  secure: true,
791
793
  type: ContentType.Json,
792
- format: 'json',
794
+ format: "json",
793
795
  ...params,
794
796
  }),
795
797
  /**
@@ -802,11 +804,11 @@ class WalletApi extends HttpClient {
802
804
  */
803
805
  transferControllerSubmitBatchTransfer: (data, params = {}) => this.request({
804
806
  path: `/api/v1/token-standard/transfer/batch/submit`,
805
- method: 'POST',
807
+ method: "POST",
806
808
  body: data,
807
809
  secure: true,
808
810
  type: ContentType.Json,
809
- format: 'json',
811
+ format: "json",
810
812
  ...params,
811
813
  }),
812
814
  /**
@@ -819,11 +821,11 @@ class WalletApi extends HttpClient {
819
821
  */
820
822
  transferControllerSubmitResolveTransfer: (data, params = {}) => this.request({
821
823
  path: `/api/v1/token-standard/transfer/resolve/submit`,
822
- method: 'POST',
824
+ method: "POST",
823
825
  body: data,
824
826
  secure: true,
825
827
  type: ContentType.Json,
826
- format: 'json',
828
+ format: "json",
827
829
  ...params,
828
830
  }),
829
831
  /**
@@ -836,11 +838,11 @@ class WalletApi extends HttpClient {
836
838
  */
837
839
  transferControllerSubmitTransfer: (data, params = {}) => this.request({
838
840
  path: `/api/v1/token-standard/transfer/submit`,
839
- method: 'POST',
841
+ method: "POST",
840
842
  body: data,
841
843
  secure: true,
842
844
  type: ContentType.Json,
843
- format: 'json',
845
+ format: "json",
844
846
  ...params,
845
847
  }),
846
848
  /**
@@ -852,9 +854,9 @@ class WalletApi extends HttpClient {
852
854
  */
853
855
  transferControllerWaitForTxCompletion: (query, params = {}) => this.request({
854
856
  path: `/api/v1/token-standard/transfer/completion/wait`,
855
- method: 'GET',
857
+ method: "GET",
856
858
  query: query,
857
- format: 'json',
859
+ format: "json",
858
860
  ...params,
859
861
  }),
860
862
  /**
@@ -866,8 +868,8 @@ class WalletApi extends HttpClient {
866
868
  */
867
869
  transferHistoryControllerGetTransfer: (id, params = {}) => this.request({
868
870
  path: `/api/v1/token-standard/transfer/history/${id}`,
869
- method: 'GET',
870
- format: 'json',
871
+ method: "GET",
872
+ format: "json",
871
873
  ...params,
872
874
  }),
873
875
  /**
@@ -879,9 +881,9 @@ class WalletApi extends HttpClient {
879
881
  */
880
882
  transferHistoryControllerGetTransfers: (query, params = {}) => this.request({
881
883
  path: `/api/v1/token-standard/transfer/history`,
882
- method: 'GET',
884
+ method: "GET",
883
885
  query: query,
884
- format: 'json',
886
+ format: "json",
885
887
  ...params,
886
888
  }),
887
889
  /**
@@ -894,11 +896,11 @@ class WalletApi extends HttpClient {
894
896
  */
895
897
  transferPreapprovalControllerPrepareCancelTransferPreapproval: (data, params = {}) => this.request({
896
898
  path: `/api/v1/token-standard/transfer/preapproval/cancel/prepare`,
897
- method: 'POST',
899
+ method: "POST",
898
900
  body: data,
899
901
  secure: true,
900
902
  type: ContentType.Json,
901
- format: 'json',
903
+ format: "json",
902
904
  ...params,
903
905
  }),
904
906
  /**
@@ -911,11 +913,11 @@ class WalletApi extends HttpClient {
911
913
  */
912
914
  transferPreapprovalControllerPrepareCreateTransferPreapproval: (data, params = {}) => this.request({
913
915
  path: `/api/v1/token-standard/transfer/preapproval/create/prepare`,
914
- method: 'POST',
916
+ method: "POST",
915
917
  body: data,
916
918
  secure: true,
917
919
  type: ContentType.Json,
918
- format: 'json',
920
+ format: "json",
919
921
  ...params,
920
922
  }),
921
923
  /**
@@ -928,11 +930,11 @@ class WalletApi extends HttpClient {
928
930
  */
929
931
  transferPreapprovalControllerSubmitCancelTransferPreapproval: (data, params = {}) => this.request({
930
932
  path: `/api/v1/token-standard/transfer/preapproval/cancel/submit`,
931
- method: 'POST',
933
+ method: "POST",
932
934
  body: data,
933
935
  secure: true,
934
936
  type: ContentType.Json,
935
- format: 'json',
937
+ format: "json",
936
938
  ...params,
937
939
  }),
938
940
  /**
@@ -945,11 +947,11 @@ class WalletApi extends HttpClient {
945
947
  */
946
948
  transferPreapprovalControllerSubmitCreateTransferPreapproval: (data, params = {}) => this.request({
947
949
  path: `/api/v1/token-standard/transfer/preapproval/create/submit`,
948
- method: 'POST',
950
+ method: "POST",
949
951
  body: data,
950
952
  secure: true,
951
953
  type: ContentType.Json,
952
- format: 'json',
954
+ format: "json",
953
955
  ...params,
954
956
  }),
955
957
  /**
@@ -962,10 +964,10 @@ class WalletApi extends HttpClient {
962
964
  */
963
965
  userControllerGetUserWithInfo: (partyId, query, params = {}) => this.request({
964
966
  path: `/api/v1/user/${partyId}/info-with-addresses`,
965
- method: 'GET',
967
+ method: "GET",
966
968
  query: query,
967
969
  secure: true,
968
- format: 'json',
970
+ format: "json",
969
971
  ...params,
970
972
  }),
971
973
  };