@dynamic-labs/sdk-api 0.0.783 → 0.0.785

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.783",
3
+ "version": "0.0.785",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -95,6 +95,7 @@ var WaasPolicyDeleteRequest = require('../models/WaasPolicyDeleteRequest.cjs');
95
95
  var WaasPolicyResponse = require('../models/WaasPolicyResponse.cjs');
96
96
  require('../models/WaasPolicyRuleType.cjs');
97
97
  var WaasPolicyUpdateRequest = require('../models/WaasPolicyUpdateRequest.cjs');
98
+ var WaasWalletResponse = require('../models/WaasWalletResponse.cjs');
98
99
 
99
100
  /* tslint:disable */
100
101
  /**
@@ -220,7 +221,7 @@ class WaasApi extends runtime.BaseAPI {
220
221
  const headerParameters = {};
221
222
  headerParameters['Content-Type'] = 'application/json';
222
223
  const response = yield this.request({
223
- path: `/environments/{environmentId}/waas/{walletId}/delegated/signMessage`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
224
+ path: `/environments/{environmentId}/waas/{walletId}/delegatedAccess/signMessage`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
224
225
  method: 'POST',
225
226
  headers: headerParameters,
226
227
  query: queryParameters,
@@ -393,6 +394,37 @@ class WaasApi extends runtime.BaseAPI {
393
394
  return yield response.value();
394
395
  });
395
396
  }
397
+ /**
398
+ * Get a specific WAAS wallet by walletId
399
+ */
400
+ getWaasWalletByWalletIdRaw(requestParameters, initOverrides) {
401
+ return _tslib.__awaiter(this, void 0, void 0, function* () {
402
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
403
+ throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasWalletByWalletId.');
404
+ }
405
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
406
+ throw new runtime.RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasWalletByWalletId.');
407
+ }
408
+ const queryParameters = {};
409
+ const headerParameters = {};
410
+ const response = yield this.request({
411
+ path: `/environments/{environmentId}/waas/{walletId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
412
+ method: 'GET',
413
+ headers: headerParameters,
414
+ query: queryParameters,
415
+ }, initOverrides);
416
+ return new runtime.JSONApiResponse(response, (jsonValue) => WaasWalletResponse.WaasWalletResponseFromJSON(jsonValue));
417
+ });
418
+ }
419
+ /**
420
+ * Get a specific WAAS wallet by walletId
421
+ */
422
+ getWaasWalletByWalletId(requestParameters, initOverrides) {
423
+ return _tslib.__awaiter(this, void 0, void 0, function* () {
424
+ const response = yield this.getWaasWalletByWalletIdRaw(requestParameters, initOverrides);
425
+ return yield response.value();
426
+ });
427
+ }
396
428
  /**
397
429
  * Returns the allowed HTTP methods and CORS headers for this endpoint.
398
430
  * Get CORS and allowed methods for delegated access encryption public keys endpoint
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import { DelegatedAccessEncryptionPublicKeyResponse, DelegatedAccessEncryptionPublicKeysUnifiedResponse, OpenRoomResponse, WaasAuthenticateResponse, WaasDelegateSignMessageRequest, WaasDelegationCredentialsRequest, WaasDelegationCredentialsResponse, WaasPolicyCreateRequest, WaasPolicyDeleteRequest, WaasPolicyResponse, WaasPolicyUpdateRequest } from '../models';
13
+ import { DelegatedAccessEncryptionPublicKeyResponse, DelegatedAccessEncryptionPublicKeysUnifiedResponse, OpenRoomResponse, WaasAuthenticateResponse, WaasDelegateSignMessageRequest, WaasDelegationCredentialsRequest, WaasDelegationCredentialsResponse, WaasPolicyCreateRequest, WaasPolicyDeleteRequest, WaasPolicyResponse, WaasPolicyUpdateRequest, WaasWalletResponse } from '../models';
14
14
  export interface AuthenticateWaasRequest {
15
15
  environmentId: string;
16
16
  }
@@ -45,6 +45,10 @@ export interface GetDelegatedAccessEncryptionPublicKeysRequest {
45
45
  export interface GetWaasPolicyRequest {
46
46
  environmentId: string;
47
47
  }
48
+ export interface GetWaasWalletByWalletIdRequest {
49
+ environmentId: string;
50
+ walletId: string;
51
+ }
48
52
  export interface OptionsDelegatedAccessEncryptionPublicKeyRequest {
49
53
  environmentId: string;
50
54
  }
@@ -132,6 +136,14 @@ export declare class WaasApi extends runtime.BaseAPI {
132
136
  * Get the WAAS policy for an environment
133
137
  */
134
138
  getWaasPolicy(requestParameters: GetWaasPolicyRequest, initOverrides?: RequestInit): Promise<WaasPolicyResponse>;
139
+ /**
140
+ * Get a specific WAAS wallet by walletId
141
+ */
142
+ getWaasWalletByWalletIdRaw(requestParameters: GetWaasWalletByWalletIdRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasWalletResponse>>;
143
+ /**
144
+ * Get a specific WAAS wallet by walletId
145
+ */
146
+ getWaasWalletByWalletId(requestParameters: GetWaasWalletByWalletIdRequest, initOverrides?: RequestInit): Promise<WaasWalletResponse>;
135
147
  /**
136
148
  * Returns the allowed HTTP methods and CORS headers for this endpoint.
137
149
  * Get CORS and allowed methods for delegated access encryption public keys endpoint
@@ -91,6 +91,7 @@ import { WaasPolicyDeleteRequestToJSON } from '../models/WaasPolicyDeleteRequest
91
91
  import { WaasPolicyResponseFromJSON } from '../models/WaasPolicyResponse.js';
92
92
  import '../models/WaasPolicyRuleType.js';
93
93
  import { WaasPolicyUpdateRequestToJSON } from '../models/WaasPolicyUpdateRequest.js';
94
+ import { WaasWalletResponseFromJSON } from '../models/WaasWalletResponse.js';
94
95
 
95
96
  /* tslint:disable */
96
97
  /**
@@ -216,7 +217,7 @@ class WaasApi extends BaseAPI {
216
217
  const headerParameters = {};
217
218
  headerParameters['Content-Type'] = 'application/json';
218
219
  const response = yield this.request({
219
- path: `/environments/{environmentId}/waas/{walletId}/delegated/signMessage`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
220
+ path: `/environments/{environmentId}/waas/{walletId}/delegatedAccess/signMessage`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
220
221
  method: 'POST',
221
222
  headers: headerParameters,
222
223
  query: queryParameters,
@@ -389,6 +390,37 @@ class WaasApi extends BaseAPI {
389
390
  return yield response.value();
390
391
  });
391
392
  }
393
+ /**
394
+ * Get a specific WAAS wallet by walletId
395
+ */
396
+ getWaasWalletByWalletIdRaw(requestParameters, initOverrides) {
397
+ return __awaiter(this, void 0, void 0, function* () {
398
+ if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
399
+ throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasWalletByWalletId.');
400
+ }
401
+ if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
402
+ throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasWalletByWalletId.');
403
+ }
404
+ const queryParameters = {};
405
+ const headerParameters = {};
406
+ const response = yield this.request({
407
+ path: `/environments/{environmentId}/waas/{walletId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
408
+ method: 'GET',
409
+ headers: headerParameters,
410
+ query: queryParameters,
411
+ }, initOverrides);
412
+ return new JSONApiResponse(response, (jsonValue) => WaasWalletResponseFromJSON(jsonValue));
413
+ });
414
+ }
415
+ /**
416
+ * Get a specific WAAS wallet by walletId
417
+ */
418
+ getWaasWalletByWalletId(requestParameters, initOverrides) {
419
+ return __awaiter(this, void 0, void 0, function* () {
420
+ const response = yield this.getWaasWalletByWalletIdRaw(requestParameters, initOverrides);
421
+ return yield response.value();
422
+ });
423
+ }
392
424
  /**
393
425
  * Returns the allowed HTTP methods and CORS headers for this endpoint.
394
426
  * Get CORS and allowed methods for delegated access encryption public keys endpoint
package/src/index.cjs CHANGED
@@ -154,6 +154,7 @@ var DelegatedAccessEncryptionPublicKeyResponse = require('./models/DelegatedAcce
154
154
  var DelegatedAccessEncryptionPublicKeysResponse = require('./models/DelegatedAccessEncryptionPublicKeysResponse.cjs');
155
155
  var DelegatedAccessEncryptionPublicKeysUnifiedResponse = require('./models/DelegatedAccessEncryptionPublicKeysUnifiedResponse.cjs');
156
156
  var DelegatedShareDeliveryRequest = require('./models/DelegatedShareDeliveryRequest.cjs');
157
+ var DelegatedShareDeliveryRequestEncryptedDelegatedShare = require('./models/DelegatedShareDeliveryRequestEncryptedDelegatedShare.cjs');
157
158
  var DelegatedShareDeliveryResponse = require('./models/DelegatedShareDeliveryResponse.cjs');
158
159
  var DeleteEmbeddedWalletsRequest = require('./models/DeleteEmbeddedWalletsRequest.cjs');
159
160
  var DeleteUserPasskeyRequest = require('./models/DeleteUserPasskeyRequest.cjs');
@@ -554,6 +555,8 @@ var WaasPolicyRuleType = require('./models/WaasPolicyRuleType.cjs');
554
555
  var WaasPolicyRuleValueLimit = require('./models/WaasPolicyRuleValueLimit.cjs');
555
556
  var WaasPolicyUpdateRequest = require('./models/WaasPolicyUpdateRequest.cjs');
556
557
  var WaasWalletProperties = require('./models/WaasWalletProperties.cjs');
558
+ var WaasWalletResponse = require('./models/WaasWalletResponse.cjs');
559
+ var WaasWalletResponseWallet = require('./models/WaasWalletResponseWallet.cjs');
557
560
  var Wallet = require('./models/Wallet.cjs');
558
561
  var WalletAdditionalAddress = require('./models/WalletAdditionalAddress.cjs');
559
562
  var WalletAddressType = require('./models/WalletAddressType.cjs');
@@ -1041,6 +1044,9 @@ exports.DelegatedAccessEncryptionPublicKeysUnifiedResponseToJSON = DelegatedAcce
1041
1044
  exports.DelegatedShareDeliveryRequestFromJSON = DelegatedShareDeliveryRequest.DelegatedShareDeliveryRequestFromJSON;
1042
1045
  exports.DelegatedShareDeliveryRequestFromJSONTyped = DelegatedShareDeliveryRequest.DelegatedShareDeliveryRequestFromJSONTyped;
1043
1046
  exports.DelegatedShareDeliveryRequestToJSON = DelegatedShareDeliveryRequest.DelegatedShareDeliveryRequestToJSON;
1047
+ exports.DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSON = DelegatedShareDeliveryRequestEncryptedDelegatedShare.DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSON;
1048
+ exports.DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped = DelegatedShareDeliveryRequestEncryptedDelegatedShare.DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped;
1049
+ exports.DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON = DelegatedShareDeliveryRequestEncryptedDelegatedShare.DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON;
1044
1050
  exports.DelegatedShareDeliveryResponseFromJSON = DelegatedShareDeliveryResponse.DelegatedShareDeliveryResponseFromJSON;
1045
1051
  exports.DelegatedShareDeliveryResponseFromJSONTyped = DelegatedShareDeliveryResponse.DelegatedShareDeliveryResponseFromJSONTyped;
1046
1052
  Object.defineProperty(exports, 'DelegatedShareDeliveryResponseStatusEnum', {
@@ -2489,6 +2495,12 @@ exports.WaasPolicyUpdateRequestToJSON = WaasPolicyUpdateRequest.WaasPolicyUpdate
2489
2495
  exports.WaasWalletPropertiesFromJSON = WaasWalletProperties.WaasWalletPropertiesFromJSON;
2490
2496
  exports.WaasWalletPropertiesFromJSONTyped = WaasWalletProperties.WaasWalletPropertiesFromJSONTyped;
2491
2497
  exports.WaasWalletPropertiesToJSON = WaasWalletProperties.WaasWalletPropertiesToJSON;
2498
+ exports.WaasWalletResponseFromJSON = WaasWalletResponse.WaasWalletResponseFromJSON;
2499
+ exports.WaasWalletResponseFromJSONTyped = WaasWalletResponse.WaasWalletResponseFromJSONTyped;
2500
+ exports.WaasWalletResponseToJSON = WaasWalletResponse.WaasWalletResponseToJSON;
2501
+ exports.WaasWalletResponseWalletFromJSON = WaasWalletResponseWallet.WaasWalletResponseWalletFromJSON;
2502
+ exports.WaasWalletResponseWalletFromJSONTyped = WaasWalletResponseWallet.WaasWalletResponseWalletFromJSONTyped;
2503
+ exports.WaasWalletResponseWalletToJSON = WaasWalletResponseWallet.WaasWalletResponseWalletToJSON;
2492
2504
  exports.WalletFromJSON = Wallet.WalletFromJSON;
2493
2505
  exports.WalletFromJSONTyped = Wallet.WalletFromJSONTyped;
2494
2506
  exports.WalletToJSON = Wallet.WalletToJSON;
package/src/index.js CHANGED
@@ -150,6 +150,7 @@ export { DelegatedAccessEncryptionPublicKeyResponseFromJSON, DelegatedAccessEncr
150
150
  export { DelegatedAccessEncryptionPublicKeysResponseFromJSON, DelegatedAccessEncryptionPublicKeysResponseFromJSONTyped, DelegatedAccessEncryptionPublicKeysResponseToJSON } from './models/DelegatedAccessEncryptionPublicKeysResponse.js';
151
151
  export { DelegatedAccessEncryptionPublicKeysUnifiedResponseFromJSON, DelegatedAccessEncryptionPublicKeysUnifiedResponseFromJSONTyped, DelegatedAccessEncryptionPublicKeysUnifiedResponseToJSON } from './models/DelegatedAccessEncryptionPublicKeysUnifiedResponse.js';
152
152
  export { DelegatedShareDeliveryRequestFromJSON, DelegatedShareDeliveryRequestFromJSONTyped, DelegatedShareDeliveryRequestToJSON } from './models/DelegatedShareDeliveryRequest.js';
153
+ export { DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSON, DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped, DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON } from './models/DelegatedShareDeliveryRequestEncryptedDelegatedShare.js';
153
154
  export { DelegatedShareDeliveryResponseFromJSON, DelegatedShareDeliveryResponseFromJSONTyped, DelegatedShareDeliveryResponseStatusEnum, DelegatedShareDeliveryResponseToJSON } from './models/DelegatedShareDeliveryResponse.js';
154
155
  export { DeleteEmbeddedWalletsRequestFromJSON, DeleteEmbeddedWalletsRequestFromJSONTyped, DeleteEmbeddedWalletsRequestToJSON } from './models/DeleteEmbeddedWalletsRequest.js';
155
156
  export { DeleteUserPasskeyRequestFromJSON, DeleteUserPasskeyRequestFromJSONTyped, DeleteUserPasskeyRequestToJSON } from './models/DeleteUserPasskeyRequest.js';
@@ -550,6 +551,8 @@ export { WaasPolicyRuleType, WaasPolicyRuleTypeFromJSON, WaasPolicyRuleTypeFromJ
550
551
  export { WaasPolicyRuleValueLimitFromJSON, WaasPolicyRuleValueLimitFromJSONTyped, WaasPolicyRuleValueLimitToJSON } from './models/WaasPolicyRuleValueLimit.js';
551
552
  export { WaasPolicyUpdateRequestFromJSON, WaasPolicyUpdateRequestFromJSONTyped, WaasPolicyUpdateRequestToJSON } from './models/WaasPolicyUpdateRequest.js';
552
553
  export { WaasWalletPropertiesFromJSON, WaasWalletPropertiesFromJSONTyped, WaasWalletPropertiesToJSON } from './models/WaasWalletProperties.js';
554
+ export { WaasWalletResponseFromJSON, WaasWalletResponseFromJSONTyped, WaasWalletResponseToJSON } from './models/WaasWalletResponse.js';
555
+ export { WaasWalletResponseWalletFromJSON, WaasWalletResponseWalletFromJSONTyped, WaasWalletResponseWalletToJSON } from './models/WaasWalletResponseWallet.js';
553
556
  export { WalletFromJSON, WalletFromJSONTyped, WalletToJSON } from './models/Wallet.js';
554
557
  export { WalletAdditionalAddressFromJSON, WalletAdditionalAddressFromJSONTyped, WalletAdditionalAddressToJSON } from './models/WalletAdditionalAddress.js';
555
558
  export { WalletAddressType, WalletAddressTypeFromJSON, WalletAddressTypeFromJSONTyped, WalletAddressTypeToJSON } from './models/WalletAddressType.js';
@@ -2,19 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var DelegatedShareDeliveryRequestEncryptedDelegatedShare = require('./DelegatedShareDeliveryRequestEncryptedDelegatedShare.cjs');
6
+
5
7
  /* tslint:disable */
6
- /* eslint-disable */
7
- /**
8
- * Dashboard API
9
- * Dashboard API documentation
10
- *
11
- * The version of the OpenAPI document: 1.0.0
12
- *
13
- *
14
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
- * https://openapi-generator.tech
16
- * Do not edit the class manually.
17
- */
18
8
  function DelegatedShareDeliveryRequestFromJSON(json) {
19
9
  return DelegatedShareDeliveryRequestFromJSONTyped(json);
20
10
  }
@@ -23,7 +13,7 @@ function DelegatedShareDeliveryRequestFromJSONTyped(json, ignoreDiscriminator) {
23
13
  return json;
24
14
  }
25
15
  return {
26
- 'encryptedDelegatedShare': json['encryptedDelegatedShare'],
16
+ 'encryptedDelegatedShare': DelegatedShareDeliveryRequestEncryptedDelegatedShare.DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSON(json['encryptedDelegatedShare']),
27
17
  };
28
18
  }
29
19
  function DelegatedShareDeliveryRequestToJSON(value) {
@@ -34,7 +24,7 @@ function DelegatedShareDeliveryRequestToJSON(value) {
34
24
  return null;
35
25
  }
36
26
  return {
37
- 'encryptedDelegatedShare': value.encryptedDelegatedShare,
27
+ 'encryptedDelegatedShare': DelegatedShareDeliveryRequestEncryptedDelegatedShare.DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON(value.encryptedDelegatedShare),
38
28
  };
39
29
  }
40
30
 
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { DelegatedShareDeliveryRequestEncryptedDelegatedShare } from './DelegatedShareDeliveryRequestEncryptedDelegatedShare';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -16,11 +17,11 @@
16
17
  */
17
18
  export interface DelegatedShareDeliveryRequest {
18
19
  /**
19
- * Base64-encoded encrypted delegated share ciphertext.
20
- * @type {string}
20
+ *
21
+ * @type {DelegatedShareDeliveryRequestEncryptedDelegatedShare}
21
22
  * @memberof DelegatedShareDeliveryRequest
22
23
  */
23
- encryptedDelegatedShare: string;
24
+ encryptedDelegatedShare: DelegatedShareDeliveryRequestEncryptedDelegatedShare;
24
25
  }
25
26
  export declare function DelegatedShareDeliveryRequestFromJSON(json: any): DelegatedShareDeliveryRequest;
26
27
  export declare function DelegatedShareDeliveryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DelegatedShareDeliveryRequest;
@@ -1,16 +1,6 @@
1
+ import { DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSON, DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON } from './DelegatedShareDeliveryRequestEncryptedDelegatedShare.js';
2
+
1
3
  /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Dashboard API
5
- * Dashboard API documentation
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
4
  function DelegatedShareDeliveryRequestFromJSON(json) {
15
5
  return DelegatedShareDeliveryRequestFromJSONTyped(json);
16
6
  }
@@ -19,7 +9,7 @@ function DelegatedShareDeliveryRequestFromJSONTyped(json, ignoreDiscriminator) {
19
9
  return json;
20
10
  }
21
11
  return {
22
- 'encryptedDelegatedShare': json['encryptedDelegatedShare'],
12
+ 'encryptedDelegatedShare': DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSON(json['encryptedDelegatedShare']),
23
13
  };
24
14
  }
25
15
  function DelegatedShareDeliveryRequestToJSON(value) {
@@ -30,7 +20,7 @@ function DelegatedShareDeliveryRequestToJSON(value) {
30
20
  return null;
31
21
  }
32
22
  return {
33
- 'encryptedDelegatedShare': value.encryptedDelegatedShare,
23
+ 'encryptedDelegatedShare': DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON(value.encryptedDelegatedShare),
34
24
  };
35
25
  }
36
26
 
@@ -0,0 +1,53 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ function DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSON(json) {
19
+ return DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped(json);
20
+ }
21
+ function DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'algorithm': json['algorithm'],
27
+ 'iv': json['iv'],
28
+ 'encryptedData': json['encryptedData'],
29
+ 'authTag': json['authTag'],
30
+ 'encryptedKey': json['encryptedKey'],
31
+ 'encodedEnvelopeBytes': json['encodedEnvelopeBytes'],
32
+ };
33
+ }
34
+ function DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON(value) {
35
+ if (value === undefined) {
36
+ return undefined;
37
+ }
38
+ if (value === null) {
39
+ return null;
40
+ }
41
+ return {
42
+ 'algorithm': value.algorithm,
43
+ 'iv': value.iv,
44
+ 'encryptedData': value.encryptedData,
45
+ 'authTag': value.authTag,
46
+ 'encryptedKey': value.encryptedKey,
47
+ 'encodedEnvelopeBytes': value.encodedEnvelopeBytes,
48
+ };
49
+ }
50
+
51
+ exports.DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSON = DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSON;
52
+ exports.DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped = DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped;
53
+ exports.DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON = DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON;
@@ -0,0 +1,57 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface DelegatedShareDeliveryRequestEncryptedDelegatedShare
16
+ */
17
+ export interface DelegatedShareDeliveryRequestEncryptedDelegatedShare {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof DelegatedShareDeliveryRequestEncryptedDelegatedShare
22
+ */
23
+ algorithm: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof DelegatedShareDeliveryRequestEncryptedDelegatedShare
28
+ */
29
+ iv: string;
30
+ /**
31
+ * A string with a max length of 4096 characters
32
+ * @type {string}
33
+ * @memberof DelegatedShareDeliveryRequestEncryptedDelegatedShare
34
+ */
35
+ encryptedData: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof DelegatedShareDeliveryRequestEncryptedDelegatedShare
40
+ */
41
+ authTag: string;
42
+ /**
43
+ * A string with a max length of 4096 characters
44
+ * @type {string}
45
+ * @memberof DelegatedShareDeliveryRequestEncryptedDelegatedShare
46
+ */
47
+ encryptedKey: string;
48
+ /**
49
+ * A string with a max length of 4096 characters
50
+ * @type {string}
51
+ * @memberof DelegatedShareDeliveryRequestEncryptedDelegatedShare
52
+ */
53
+ encodedEnvelopeBytes: string;
54
+ }
55
+ export declare function DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSON(json: any): DelegatedShareDeliveryRequestEncryptedDelegatedShare;
56
+ export declare function DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped(json: any, ignoreDiscriminator: boolean): DelegatedShareDeliveryRequestEncryptedDelegatedShare;
57
+ export declare function DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON(value?: DelegatedShareDeliveryRequestEncryptedDelegatedShare | null): any;
@@ -0,0 +1,47 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ function DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSON(json) {
15
+ return DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped(json);
16
+ }
17
+ function DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'algorithm': json['algorithm'],
23
+ 'iv': json['iv'],
24
+ 'encryptedData': json['encryptedData'],
25
+ 'authTag': json['authTag'],
26
+ 'encryptedKey': json['encryptedKey'],
27
+ 'encodedEnvelopeBytes': json['encodedEnvelopeBytes'],
28
+ };
29
+ }
30
+ function DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'algorithm': value.algorithm,
39
+ 'iv': value.iv,
40
+ 'encryptedData': value.encryptedData,
41
+ 'authTag': value.authTag,
42
+ 'encryptedKey': value.encryptedKey,
43
+ 'encodedEnvelopeBytes': value.encodedEnvelopeBytes,
44
+ };
45
+ }
46
+
47
+ export { DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSON, DelegatedShareDeliveryRequestEncryptedDelegatedShareFromJSONTyped, DelegatedShareDeliveryRequestEncryptedDelegatedShareToJSON };
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var WaasWalletResponseWallet = require('./WaasWalletResponseWallet.cjs');
6
+
7
+ /* tslint:disable */
8
+ function WaasWalletResponseFromJSON(json) {
9
+ return WaasWalletResponseFromJSONTyped(json);
10
+ }
11
+ function WaasWalletResponseFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'wallet': WaasWalletResponseWallet.WaasWalletResponseWalletFromJSON(json['wallet']),
17
+ };
18
+ }
19
+ function WaasWalletResponseToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'wallet': WaasWalletResponseWallet.WaasWalletResponseWalletToJSON(value.wallet),
28
+ };
29
+ }
30
+
31
+ exports.WaasWalletResponseFromJSON = WaasWalletResponseFromJSON;
32
+ exports.WaasWalletResponseFromJSONTyped = WaasWalletResponseFromJSONTyped;
33
+ exports.WaasWalletResponseToJSON = WaasWalletResponseToJSON;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { WaasWalletResponseWallet } from './WaasWalletResponseWallet';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface WaasWalletResponse
17
+ */
18
+ export interface WaasWalletResponse {
19
+ /**
20
+ *
21
+ * @type {WaasWalletResponseWallet}
22
+ * @memberof WaasWalletResponse
23
+ */
24
+ wallet: WaasWalletResponseWallet;
25
+ }
26
+ export declare function WaasWalletResponseFromJSON(json: any): WaasWalletResponse;
27
+ export declare function WaasWalletResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletResponse;
28
+ export declare function WaasWalletResponseToJSON(value?: WaasWalletResponse | null): any;
@@ -0,0 +1,27 @@
1
+ import { WaasWalletResponseWalletFromJSON, WaasWalletResponseWalletToJSON } from './WaasWalletResponseWallet.js';
2
+
3
+ /* tslint:disable */
4
+ function WaasWalletResponseFromJSON(json) {
5
+ return WaasWalletResponseFromJSONTyped(json);
6
+ }
7
+ function WaasWalletResponseFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'wallet': WaasWalletResponseWalletFromJSON(json['wallet']),
13
+ };
14
+ }
15
+ function WaasWalletResponseToJSON(value) {
16
+ if (value === undefined) {
17
+ return undefined;
18
+ }
19
+ if (value === null) {
20
+ return null;
21
+ }
22
+ return {
23
+ 'wallet': WaasWalletResponseWalletToJSON(value.wallet),
24
+ };
25
+ }
26
+
27
+ export { WaasWalletResponseFromJSON, WaasWalletResponseFromJSONTyped, WaasWalletResponseToJSON };
@@ -0,0 +1,42 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
6
+ var WaasChainEnum = require('./WaasChainEnum.cjs');
7
+
8
+ /* tslint:disable */
9
+ function WaasWalletResponseWalletFromJSON(json) {
10
+ return WaasWalletResponseWalletFromJSONTyped(json);
11
+ }
12
+ function WaasWalletResponseWalletFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'accountAddress': json['accountAddress'],
18
+ 'chainName': WaasChainEnum.WaasChainEnumFromJSON(json['chainName']),
19
+ 'walletId': json['walletId'],
20
+ 'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
21
+ 'derivationPath': json['derivationPath'],
22
+ };
23
+ }
24
+ function WaasWalletResponseWalletToJSON(value) {
25
+ if (value === undefined) {
26
+ return undefined;
27
+ }
28
+ if (value === null) {
29
+ return null;
30
+ }
31
+ return {
32
+ 'accountAddress': value.accountAddress,
33
+ 'chainName': WaasChainEnum.WaasChainEnumToJSON(value.chainName),
34
+ 'walletId': value.walletId,
35
+ 'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
36
+ 'derivationPath': value.derivationPath,
37
+ };
38
+ }
39
+
40
+ exports.WaasWalletResponseWalletFromJSON = WaasWalletResponseWalletFromJSON;
41
+ exports.WaasWalletResponseWalletFromJSONTyped = WaasWalletResponseWalletFromJSONTyped;
42
+ exports.WaasWalletResponseWalletToJSON = WaasWalletResponseWalletToJSON;
@@ -0,0 +1,53 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
13
+ import { WaasChainEnum } from './WaasChainEnum';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface WaasWalletResponseWallet
18
+ */
19
+ export interface WaasWalletResponseWallet {
20
+ /**
21
+ * The account address of the wallet
22
+ * @type {string}
23
+ * @memberof WaasWalletResponseWallet
24
+ */
25
+ accountAddress: string;
26
+ /**
27
+ *
28
+ * @type {WaasChainEnum}
29
+ * @memberof WaasWalletResponseWallet
30
+ */
31
+ chainName: WaasChainEnum;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof WaasWalletResponseWallet
36
+ */
37
+ walletId: string;
38
+ /**
39
+ *
40
+ * @type {ThresholdSignatureScheme}
41
+ * @memberof WaasWalletResponseWallet
42
+ */
43
+ thresholdSignatureScheme: ThresholdSignatureScheme;
44
+ /**
45
+ * The derivation path used for the wallet
46
+ * @type {string}
47
+ * @memberof WaasWalletResponseWallet
48
+ */
49
+ derivationPath: string;
50
+ }
51
+ export declare function WaasWalletResponseWalletFromJSON(json: any): WaasWalletResponseWallet;
52
+ export declare function WaasWalletResponseWalletFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletResponseWallet;
53
+ export declare function WaasWalletResponseWalletToJSON(value?: WaasWalletResponseWallet | null): any;
@@ -0,0 +1,36 @@
1
+ import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
2
+ import { WaasChainEnumFromJSON, WaasChainEnumToJSON } from './WaasChainEnum.js';
3
+
4
+ /* tslint:disable */
5
+ function WaasWalletResponseWalletFromJSON(json) {
6
+ return WaasWalletResponseWalletFromJSONTyped(json);
7
+ }
8
+ function WaasWalletResponseWalletFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'accountAddress': json['accountAddress'],
14
+ 'chainName': WaasChainEnumFromJSON(json['chainName']),
15
+ 'walletId': json['walletId'],
16
+ 'thresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
17
+ 'derivationPath': json['derivationPath'],
18
+ };
19
+ }
20
+ function WaasWalletResponseWalletToJSON(value) {
21
+ if (value === undefined) {
22
+ return undefined;
23
+ }
24
+ if (value === null) {
25
+ return null;
26
+ }
27
+ return {
28
+ 'accountAddress': value.accountAddress,
29
+ 'chainName': WaasChainEnumToJSON(value.chainName),
30
+ 'walletId': value.walletId,
31
+ 'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
32
+ 'derivationPath': value.derivationPath,
33
+ };
34
+ }
35
+
36
+ export { WaasWalletResponseWalletFromJSON, WaasWalletResponseWalletFromJSONTyped, WaasWalletResponseWalletToJSON };
@@ -113,6 +113,7 @@ export * from './DelegatedAccessEncryptionPublicKeyResponse';
113
113
  export * from './DelegatedAccessEncryptionPublicKeysResponse';
114
114
  export * from './DelegatedAccessEncryptionPublicKeysUnifiedResponse';
115
115
  export * from './DelegatedShareDeliveryRequest';
116
+ export * from './DelegatedShareDeliveryRequestEncryptedDelegatedShare';
116
117
  export * from './DelegatedShareDeliveryResponse';
117
118
  export * from './DeleteEmbeddedWalletsRequest';
118
119
  export * from './DeleteUserPasskeyRequest';
@@ -513,6 +514,8 @@ export * from './WaasPolicyRuleType';
513
514
  export * from './WaasPolicyRuleValueLimit';
514
515
  export * from './WaasPolicyUpdateRequest';
515
516
  export * from './WaasWalletProperties';
517
+ export * from './WaasWalletResponse';
518
+ export * from './WaasWalletResponseWallet';
516
519
  export * from './Wallet';
517
520
  export * from './WalletAdditionalAddress';
518
521
  export * from './WalletAddressType';