@dynamic-labs/sdk-api 0.0.606 → 0.0.608

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.606",
3
+ "version": "0.0.608",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
package/src/index.cjs CHANGED
@@ -433,9 +433,11 @@ var Visitor = require('./models/Visitor.cjs');
433
433
  var VisitorFilterableFieldsEnum = require('./models/VisitorFilterableFieldsEnum.cjs');
434
434
  var VisitorSearchFilterParams = require('./models/VisitorSearchFilterParams.cjs');
435
435
  var VisitorsResponse = require('./models/VisitorsResponse.cjs');
436
+ var WaasWalletProperties = require('./models/WaasWalletProperties.cjs');
436
437
  var Wallet = require('./models/Wallet.cjs');
437
438
  var WalletAdditionalAddress = require('./models/WalletAdditionalAddress.cjs');
438
439
  var WalletAddressType = require('./models/WalletAddressType.cjs');
440
+ var WalletKeyShareInfo = require('./models/WalletKeyShareInfo.cjs');
439
441
  var WalletProperties = require('./models/WalletProperties.cjs');
440
442
  var WalletProviderEnum = require('./models/WalletProviderEnum.cjs');
441
443
  var Webhook = require('./models/Webhook.cjs');
@@ -1952,6 +1954,9 @@ exports.VisitorSearchFilterParamsToJSON = VisitorSearchFilterParams.VisitorSearc
1952
1954
  exports.VisitorsResponseFromJSON = VisitorsResponse.VisitorsResponseFromJSON;
1953
1955
  exports.VisitorsResponseFromJSONTyped = VisitorsResponse.VisitorsResponseFromJSONTyped;
1954
1956
  exports.VisitorsResponseToJSON = VisitorsResponse.VisitorsResponseToJSON;
1957
+ exports.WaasWalletPropertiesFromJSON = WaasWalletProperties.WaasWalletPropertiesFromJSON;
1958
+ exports.WaasWalletPropertiesFromJSONTyped = WaasWalletProperties.WaasWalletPropertiesFromJSONTyped;
1959
+ exports.WaasWalletPropertiesToJSON = WaasWalletProperties.WaasWalletPropertiesToJSON;
1955
1960
  exports.WalletFromJSON = Wallet.WalletFromJSON;
1956
1961
  exports.WalletFromJSONTyped = Wallet.WalletFromJSONTyped;
1957
1962
  exports.WalletToJSON = Wallet.WalletToJSON;
@@ -1965,6 +1970,9 @@ Object.defineProperty(exports, 'WalletAddressType', {
1965
1970
  exports.WalletAddressTypeFromJSON = WalletAddressType.WalletAddressTypeFromJSON;
1966
1971
  exports.WalletAddressTypeFromJSONTyped = WalletAddressType.WalletAddressTypeFromJSONTyped;
1967
1972
  exports.WalletAddressTypeToJSON = WalletAddressType.WalletAddressTypeToJSON;
1973
+ exports.WalletKeyShareInfoFromJSON = WalletKeyShareInfo.WalletKeyShareInfoFromJSON;
1974
+ exports.WalletKeyShareInfoFromJSONTyped = WalletKeyShareInfo.WalletKeyShareInfoFromJSONTyped;
1975
+ exports.WalletKeyShareInfoToJSON = WalletKeyShareInfo.WalletKeyShareInfoToJSON;
1968
1976
  exports.WalletPropertiesFromJSON = WalletProperties.WalletPropertiesFromJSON;
1969
1977
  exports.WalletPropertiesFromJSONTyped = WalletProperties.WalletPropertiesFromJSONTyped;
1970
1978
  exports.WalletPropertiesToJSON = WalletProperties.WalletPropertiesToJSON;
package/src/index.js CHANGED
@@ -429,9 +429,11 @@ export { VisitorFromJSON, VisitorFromJSONTyped, VisitorToJSON } from './models/V
429
429
  export { VisitorFilterableFieldsEnum, VisitorFilterableFieldsEnumFromJSON, VisitorFilterableFieldsEnumFromJSONTyped, VisitorFilterableFieldsEnumToJSON } from './models/VisitorFilterableFieldsEnum.js';
430
430
  export { VisitorSearchFilterParamsFromJSON, VisitorSearchFilterParamsFromJSONTyped, VisitorSearchFilterParamsToJSON } from './models/VisitorSearchFilterParams.js';
431
431
  export { VisitorsResponseFromJSON, VisitorsResponseFromJSONTyped, VisitorsResponseToJSON } from './models/VisitorsResponse.js';
432
+ export { WaasWalletPropertiesFromJSON, WaasWalletPropertiesFromJSONTyped, WaasWalletPropertiesToJSON } from './models/WaasWalletProperties.js';
432
433
  export { WalletFromJSON, WalletFromJSONTyped, WalletToJSON } from './models/Wallet.js';
433
434
  export { WalletAdditionalAddressFromJSON, WalletAdditionalAddressFromJSONTyped, WalletAdditionalAddressToJSON } from './models/WalletAdditionalAddress.js';
434
435
  export { WalletAddressType, WalletAddressTypeFromJSON, WalletAddressTypeFromJSONTyped, WalletAddressTypeToJSON } from './models/WalletAddressType.js';
436
+ export { WalletKeyShareInfoFromJSON, WalletKeyShareInfoFromJSONTyped, WalletKeyShareInfoToJSON } from './models/WalletKeyShareInfo.js';
435
437
  export { WalletPropertiesFromJSON, WalletPropertiesFromJSONTyped, WalletPropertiesToJSON } from './models/WalletProperties.js';
436
438
  export { WalletProviderEnum, WalletProviderEnumFromJSON, WalletProviderEnumFromJSONTyped, WalletProviderEnumToJSON } from './models/WalletProviderEnum.js';
437
439
  export { WebhookFromJSON, WebhookFromJSONTyped, WebhookToJSON } from './models/Webhook.js';
@@ -46,6 +46,7 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
46
46
  'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
47
47
  'createNewAccounts': !runtime.exists(json, 'createNewAccounts') ? undefined : json['createNewAccounts'],
48
48
  'enableKernelV3Migration': !runtime.exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
49
+ 'enableEIP7702': !runtime.exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
49
50
  };
50
51
  }
51
52
  function ProviderToJSON(value) {
@@ -82,6 +83,7 @@ function ProviderToJSON(value) {
82
83
  'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
83
84
  'createNewAccounts': value.createNewAccounts,
84
85
  'enableKernelV3Migration': value.enableKernelV3Migration,
86
+ 'enableEIP7702': value.enableEIP7702,
85
87
  };
86
88
  }
87
89
 
@@ -178,6 +178,12 @@ export interface Provider {
178
178
  * @memberof Provider
179
179
  */
180
180
  enableKernelV3Migration?: boolean;
181
+ /**
182
+ *
183
+ * @type {boolean}
184
+ * @memberof Provider
185
+ */
186
+ enableEIP7702?: boolean;
181
187
  }
182
188
  export declare function ProviderFromJSON(json: any): Provider;
183
189
  export declare function ProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): Provider;
@@ -42,6 +42,7 @@ function ProviderFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
43
43
  'createNewAccounts': !exists(json, 'createNewAccounts') ? undefined : json['createNewAccounts'],
44
44
  'enableKernelV3Migration': !exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
45
+ 'enableEIP7702': !exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
45
46
  };
46
47
  }
47
48
  function ProviderToJSON(value) {
@@ -78,6 +79,7 @@ function ProviderToJSON(value) {
78
79
  'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
79
80
  'createNewAccounts': value.createNewAccounts,
80
81
  'enableKernelV3Migration': value.enableKernelV3Migration,
82
+ 'enableEIP7702': value.enableEIP7702,
81
83
  };
82
84
  }
83
85
 
@@ -40,6 +40,7 @@ function ProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
40
40
  'kernelVersion': !runtime.exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnum.ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
41
41
  'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
42
42
  'enableKernelV3Migration': !runtime.exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
43
+ 'enableEIP7702': !runtime.exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
43
44
  };
44
45
  }
45
46
  function ProviderCreateRequestToJSON(value) {
@@ -71,6 +72,7 @@ function ProviderCreateRequestToJSON(value) {
71
72
  'kernelVersion': ProviderKernelVersionEnum.ProviderKernelVersionEnumToJSON(value.kernelVersion),
72
73
  'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
73
74
  'enableKernelV3Migration': value.enableKernelV3Migration,
75
+ 'enableEIP7702': value.enableEIP7702,
74
76
  };
75
77
  }
76
78
 
@@ -147,6 +147,12 @@ export interface ProviderCreateRequest {
147
147
  * @memberof ProviderCreateRequest
148
148
  */
149
149
  enableKernelV3Migration?: boolean;
150
+ /**
151
+ *
152
+ * @type {boolean}
153
+ * @memberof ProviderCreateRequest
154
+ */
155
+ enableEIP7702?: boolean;
150
156
  }
151
157
  export declare function ProviderCreateRequestFromJSON(json: any): ProviderCreateRequest;
152
158
  export declare function ProviderCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderCreateRequest;
@@ -36,6 +36,7 @@ function ProviderCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
36
36
  'kernelVersion': !exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
37
37
  'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
38
38
  'enableKernelV3Migration': !exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
39
+ 'enableEIP7702': !exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
39
40
  };
40
41
  }
41
42
  function ProviderCreateRequestToJSON(value) {
@@ -67,6 +68,7 @@ function ProviderCreateRequestToJSON(value) {
67
68
  'kernelVersion': ProviderKernelVersionEnumToJSON(value.kernelVersion),
68
69
  'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
69
70
  'enableKernelV3Migration': value.enableKernelV3Migration,
71
+ 'enableEIP7702': value.enableEIP7702,
70
72
  };
71
73
  }
72
74
 
@@ -37,6 +37,7 @@ function ProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'kernelVersion': !runtime.exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnum.ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
38
38
  'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
39
39
  'enableKernelV3Migration': !runtime.exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
40
+ 'enableEIP7702': !runtime.exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
40
41
  };
41
42
  }
42
43
  function ProviderUpdateRequestToJSON(value) {
@@ -66,6 +67,7 @@ function ProviderUpdateRequestToJSON(value) {
66
67
  'kernelVersion': ProviderKernelVersionEnum.ProviderKernelVersionEnumToJSON(value.kernelVersion),
67
68
  'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
68
69
  'enableKernelV3Migration': value.enableKernelV3Migration,
70
+ 'enableEIP7702': value.enableEIP7702,
69
71
  };
70
72
  }
71
73
 
@@ -134,6 +134,12 @@ export interface ProviderUpdateRequest {
134
134
  * @memberof ProviderUpdateRequest
135
135
  */
136
136
  enableKernelV3Migration?: boolean;
137
+ /**
138
+ *
139
+ * @type {boolean}
140
+ * @memberof ProviderUpdateRequest
141
+ */
142
+ enableEIP7702?: boolean;
137
143
  }
138
144
  export declare function ProviderUpdateRequestFromJSON(json: any): ProviderUpdateRequest;
139
145
  export declare function ProviderUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderUpdateRequest;
@@ -33,6 +33,7 @@ function ProviderUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
33
33
  'kernelVersion': !exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
34
34
  'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
35
35
  'enableKernelV3Migration': !exists(json, 'enableKernelV3Migration') ? undefined : json['enableKernelV3Migration'],
36
+ 'enableEIP7702': !exists(json, 'enableEIP7702') ? undefined : json['enableEIP7702'],
36
37
  };
37
38
  }
38
39
  function ProviderUpdateRequestToJSON(value) {
@@ -62,6 +63,7 @@ function ProviderUpdateRequestToJSON(value) {
62
63
  'kernelVersion': ProviderKernelVersionEnumToJSON(value.kernelVersion),
63
64
  'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
64
65
  'enableKernelV3Migration': value.enableKernelV3Migration,
66
+ 'enableEIP7702': value.enableEIP7702,
65
67
  };
66
68
  }
67
69
 
@@ -0,0 +1,34 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
7
+
8
+ /* tslint:disable */
9
+ function WaasWalletPropertiesFromJSON(json) {
10
+ return WaasWalletPropertiesFromJSONTyped(json);
11
+ }
12
+ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'keyShares': !runtime.exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfo.WalletKeyShareInfoFromJSON)),
18
+ };
19
+ }
20
+ function WaasWalletPropertiesToJSON(value) {
21
+ if (value === undefined) {
22
+ return undefined;
23
+ }
24
+ if (value === null) {
25
+ return null;
26
+ }
27
+ return {
28
+ 'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfo.WalletKeyShareInfoToJSON)),
29
+ };
30
+ }
31
+
32
+ exports.WaasWalletPropertiesFromJSON = WaasWalletPropertiesFromJSON;
33
+ exports.WaasWalletPropertiesFromJSONTyped = WaasWalletPropertiesFromJSONTyped;
34
+ exports.WaasWalletPropertiesToJSON = WaasWalletPropertiesToJSON;
@@ -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 { WalletKeyShareInfo } from './WalletKeyShareInfo';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface WaasWalletProperties
17
+ */
18
+ export interface WaasWalletProperties {
19
+ /**
20
+ *
21
+ * @type {Array<WalletKeyShareInfo>}
22
+ * @memberof WaasWalletProperties
23
+ */
24
+ keyShares?: Array<WalletKeyShareInfo>;
25
+ }
26
+ export declare function WaasWalletPropertiesFromJSON(json: any): WaasWalletProperties;
27
+ export declare function WaasWalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletProperties;
28
+ export declare function WaasWalletPropertiesToJSON(value?: WaasWalletProperties | null): any;
@@ -0,0 +1,28 @@
1
+ import { exists } from '../runtime.js';
2
+ import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
3
+
4
+ /* tslint:disable */
5
+ function WaasWalletPropertiesFromJSON(json) {
6
+ return WaasWalletPropertiesFromJSONTyped(json);
7
+ }
8
+ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'keyShares': !exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
14
+ };
15
+ }
16
+ function WaasWalletPropertiesToJSON(value) {
17
+ if (value === undefined) {
18
+ return undefined;
19
+ }
20
+ if (value === null) {
21
+ return null;
22
+ }
23
+ return {
24
+ 'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfoToJSON)),
25
+ };
26
+ }
27
+
28
+ export { WaasWalletPropertiesFromJSON, WaasWalletPropertiesFromJSONTyped, WaasWalletPropertiesToJSON };
@@ -0,0 +1,47 @@
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 WalletKeyShareInfoFromJSON(json) {
19
+ return WalletKeyShareInfoFromJSONTyped(json);
20
+ }
21
+ function WalletKeyShareInfoFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'id': json['id'],
27
+ 'backupLocation': json['backupLocation'],
28
+ 'passwordEncrypted': json['passwordEncrypted'],
29
+ };
30
+ }
31
+ function WalletKeyShareInfoToJSON(value) {
32
+ if (value === undefined) {
33
+ return undefined;
34
+ }
35
+ if (value === null) {
36
+ return null;
37
+ }
38
+ return {
39
+ 'id': value.id,
40
+ 'backupLocation': value.backupLocation,
41
+ 'passwordEncrypted': value.passwordEncrypted,
42
+ };
43
+ }
44
+
45
+ exports.WalletKeyShareInfoFromJSON = WalletKeyShareInfoFromJSON;
46
+ exports.WalletKeyShareInfoFromJSONTyped = WalletKeyShareInfoFromJSONTyped;
47
+ exports.WalletKeyShareInfoToJSON = WalletKeyShareInfoToJSON;
@@ -0,0 +1,39 @@
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 WalletKeyShareInfo
16
+ */
17
+ export interface WalletKeyShareInfo {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof WalletKeyShareInfo
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof WalletKeyShareInfo
28
+ */
29
+ backupLocation: string;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof WalletKeyShareInfo
34
+ */
35
+ passwordEncrypted: boolean;
36
+ }
37
+ export declare function WalletKeyShareInfoFromJSON(json: any): WalletKeyShareInfo;
38
+ export declare function WalletKeyShareInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletKeyShareInfo;
39
+ export declare function WalletKeyShareInfoToJSON(value?: WalletKeyShareInfo | null): any;
@@ -0,0 +1,41 @@
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 WalletKeyShareInfoFromJSON(json) {
15
+ return WalletKeyShareInfoFromJSONTyped(json);
16
+ }
17
+ function WalletKeyShareInfoFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'id': json['id'],
23
+ 'backupLocation': json['backupLocation'],
24
+ 'passwordEncrypted': json['passwordEncrypted'],
25
+ };
26
+ }
27
+ function WalletKeyShareInfoToJSON(value) {
28
+ if (value === undefined) {
29
+ return undefined;
30
+ }
31
+ if (value === null) {
32
+ return null;
33
+ }
34
+ return {
35
+ 'id': value.id,
36
+ 'backupLocation': value.backupLocation,
37
+ 'passwordEncrypted': value.passwordEncrypted,
38
+ };
39
+ }
40
+
41
+ export { WalletKeyShareInfoFromJSON, WalletKeyShareInfoFromJSONTyped, WalletKeyShareInfoToJSON };
@@ -9,6 +9,7 @@ var HardwareWalletEnum = require('./HardwareWalletEnum.cjs');
9
9
  var PasswordSourceTypeEnum = require('./PasswordSourceTypeEnum.cjs');
10
10
  var ProviderEntryPointVersionEnum = require('./ProviderEntryPointVersionEnum.cjs');
11
11
  var ProviderKernelVersionEnum = require('./ProviderKernelVersionEnum.cjs');
12
+ var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
12
13
 
13
14
  /* tslint:disable */
14
15
  function WalletPropertiesFromJSON(json) {
@@ -32,6 +33,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
32
33
  'entryPointVersion': !runtime.exists(json, 'entryPointVersion') ? undefined : ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumFromJSON(json['entryPointVersion']),
33
34
  'kernelVersion': !runtime.exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnum.ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
34
35
  'ecdsaProviderType': !runtime.exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptions.EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
36
+ 'keyShares': !runtime.exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfo.WalletKeyShareInfoFromJSON)),
35
37
  };
36
38
  }
37
39
  function WalletPropertiesToJSON(value) {
@@ -55,6 +57,7 @@ function WalletPropertiesToJSON(value) {
55
57
  'entryPointVersion': ProviderEntryPointVersionEnum.ProviderEntryPointVersionEnumToJSON(value.entryPointVersion),
56
58
  'kernelVersion': ProviderKernelVersionEnum.ProviderKernelVersionEnumToJSON(value.kernelVersion),
57
59
  'ecdsaProviderType': EcdsaValidatorOptions.EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
60
+ 'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfo.WalletKeyShareInfoToJSON)),
58
61
  };
59
62
  }
60
63
 
@@ -15,6 +15,7 @@ import { HardwareWalletEnum } from './HardwareWalletEnum';
15
15
  import { PasswordSourceTypeEnum } from './PasswordSourceTypeEnum';
16
16
  import { ProviderEntryPointVersionEnum } from './ProviderEntryPointVersionEnum';
17
17
  import { ProviderKernelVersionEnum } from './ProviderKernelVersionEnum';
18
+ import { WalletKeyShareInfo } from './WalletKeyShareInfo';
18
19
  /**
19
20
  *
20
21
  * @export
@@ -99,6 +100,12 @@ export interface WalletProperties {
99
100
  * @memberof WalletProperties
100
101
  */
101
102
  ecdsaProviderType?: EcdsaValidatorOptions;
103
+ /**
104
+ *
105
+ * @type {Array<WalletKeyShareInfo>}
106
+ * @memberof WalletProperties
107
+ */
108
+ keyShares?: Array<WalletKeyShareInfo>;
102
109
  }
103
110
  export declare function WalletPropertiesFromJSON(json: any): WalletProperties;
104
111
  export declare function WalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletProperties;
@@ -5,6 +5,7 @@ import { HardwareWalletEnumFromJSON, HardwareWalletEnumToJSON } from './Hardware
5
5
  import { PasswordSourceTypeEnumFromJSON, PasswordSourceTypeEnumToJSON } from './PasswordSourceTypeEnum.js';
6
6
  import { ProviderEntryPointVersionEnumFromJSON, ProviderEntryPointVersionEnumToJSON } from './ProviderEntryPointVersionEnum.js';
7
7
  import { ProviderKernelVersionEnumFromJSON, ProviderKernelVersionEnumToJSON } from './ProviderKernelVersionEnum.js';
8
+ import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
8
9
 
9
10
  /* tslint:disable */
10
11
  function WalletPropertiesFromJSON(json) {
@@ -28,6 +29,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
28
29
  'entryPointVersion': !exists(json, 'entryPointVersion') ? undefined : ProviderEntryPointVersionEnumFromJSON(json['entryPointVersion']),
29
30
  'kernelVersion': !exists(json, 'kernelVersion') ? undefined : ProviderKernelVersionEnumFromJSON(json['kernelVersion']),
30
31
  'ecdsaProviderType': !exists(json, 'ecdsaProviderType') ? undefined : EcdsaValidatorOptionsFromJSON(json['ecdsaProviderType']),
32
+ 'keyShares': !exists(json, 'keyShares') ? undefined : (json['keyShares'].map(WalletKeyShareInfoFromJSON)),
31
33
  };
32
34
  }
33
35
  function WalletPropertiesToJSON(value) {
@@ -51,6 +53,7 @@ function WalletPropertiesToJSON(value) {
51
53
  'entryPointVersion': ProviderEntryPointVersionEnumToJSON(value.entryPointVersion),
52
54
  'kernelVersion': ProviderKernelVersionEnumToJSON(value.kernelVersion),
53
55
  'ecdsaProviderType': EcdsaValidatorOptionsToJSON(value.ecdsaProviderType),
56
+ 'keyShares': value.keyShares === undefined ? undefined : (value.keyShares.map(WalletKeyShareInfoToJSON)),
54
57
  };
55
58
  }
56
59
 
@@ -396,9 +396,11 @@ export * from './Visitor';
396
396
  export * from './VisitorFilterableFieldsEnum';
397
397
  export * from './VisitorSearchFilterParams';
398
398
  export * from './VisitorsResponse';
399
+ export * from './WaasWalletProperties';
399
400
  export * from './Wallet';
400
401
  export * from './WalletAdditionalAddress';
401
402
  export * from './WalletAddressType';
403
+ export * from './WalletKeyShareInfo';
402
404
  export * from './WalletProperties';
403
405
  export * from './WalletProviderEnum';
404
406
  export * from './Webhook';