@dynamic-labs/sdk-api-core 0.0.947 → 0.0.949

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-core",
3
- "version": "0.0.947",
3
+ "version": "0.0.949",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -29,6 +29,7 @@ require('../models/HardwareWalletEnum.cjs');
29
29
  require('../models/PasswordSourceTypeEnum.cjs');
30
30
  require('../models/ProviderEntryPointVersionEnum.cjs');
31
31
  require('../models/ProviderKernelVersionEnum.cjs');
32
+ require('../models/WaasWalletShareSetType.cjs');
32
33
  require('../models/WalletProviderEnum.cjs');
33
34
  require('../models/MfaBackupCodeAcknowledgement.cjs');
34
35
  require('../models/CustomFieldType.cjs');
@@ -25,6 +25,7 @@ import '../models/HardwareWalletEnum.js';
25
25
  import '../models/PasswordSourceTypeEnum.js';
26
26
  import '../models/ProviderEntryPointVersionEnum.js';
27
27
  import '../models/ProviderKernelVersionEnum.js';
28
+ import '../models/WaasWalletShareSetType.js';
28
29
  import '../models/WalletProviderEnum.js';
29
30
  import '../models/MfaBackupCodeAcknowledgement.js';
30
31
  import '../models/CustomFieldType.js';
@@ -26,6 +26,7 @@ require('../models/HardwareWalletEnum.cjs');
26
26
  require('../models/PasswordSourceTypeEnum.cjs');
27
27
  require('../models/ProviderEntryPointVersionEnum.cjs');
28
28
  require('../models/ProviderKernelVersionEnum.cjs');
29
+ require('../models/WaasWalletShareSetType.cjs');
29
30
  require('../models/WalletProviderEnum.cjs');
30
31
  require('../models/MfaBackupCodeAcknowledgement.cjs');
31
32
  require('../models/CustomFieldType.cjs');
@@ -22,6 +22,7 @@ import '../models/HardwareWalletEnum.js';
22
22
  import '../models/PasswordSourceTypeEnum.js';
23
23
  import '../models/ProviderEntryPointVersionEnum.js';
24
24
  import '../models/ProviderKernelVersionEnum.js';
25
+ import '../models/WaasWalletShareSetType.js';
25
26
  import '../models/WalletProviderEnum.js';
26
27
  import '../models/MfaBackupCodeAcknowledgement.js';
27
28
  import '../models/CustomFieldType.js';
package/src/index.cjs CHANGED
@@ -433,6 +433,7 @@ var WaasChainEnum = require('./models/WaasChainEnum.cjs');
433
433
  var WaasDelegatedAccessEncryptionPublicKeyType = require('./models/WaasDelegatedAccessEncryptionPublicKeyType.cjs');
434
434
  var WaasWalletProperties = require('./models/WaasWalletProperties.cjs');
435
435
  var WaasWalletSettings = require('./models/WaasWalletSettings.cjs');
436
+ var WaasWalletShareSetType = require('./models/WaasWalletShareSetType.cjs');
436
437
  var WalletAdditionalAddress = require('./models/WalletAdditionalAddress.cjs');
437
438
  var WalletAddressType = require('./models/WalletAddressType.cjs');
438
439
  var WalletBitcoinConfig = require('./models/WalletBitcoinConfig.cjs');
@@ -2079,6 +2080,13 @@ exports.WaasWalletPropertiesToJSON = WaasWalletProperties.WaasWalletPropertiesTo
2079
2080
  exports.WaasWalletSettingsFromJSON = WaasWalletSettings.WaasWalletSettingsFromJSON;
2080
2081
  exports.WaasWalletSettingsFromJSONTyped = WaasWalletSettings.WaasWalletSettingsFromJSONTyped;
2081
2082
  exports.WaasWalletSettingsToJSON = WaasWalletSettings.WaasWalletSettingsToJSON;
2083
+ Object.defineProperty(exports, 'WaasWalletShareSetType', {
2084
+ enumerable: true,
2085
+ get: function () { return WaasWalletShareSetType.WaasWalletShareSetType; }
2086
+ });
2087
+ exports.WaasWalletShareSetTypeFromJSON = WaasWalletShareSetType.WaasWalletShareSetTypeFromJSON;
2088
+ exports.WaasWalletShareSetTypeFromJSONTyped = WaasWalletShareSetType.WaasWalletShareSetTypeFromJSONTyped;
2089
+ exports.WaasWalletShareSetTypeToJSON = WaasWalletShareSetType.WaasWalletShareSetTypeToJSON;
2082
2090
  exports.WalletAdditionalAddressFromJSON = WalletAdditionalAddress.WalletAdditionalAddressFromJSON;
2083
2091
  exports.WalletAdditionalAddressFromJSONTyped = WalletAdditionalAddress.WalletAdditionalAddressFromJSONTyped;
2084
2092
  exports.WalletAdditionalAddressToJSON = WalletAdditionalAddress.WalletAdditionalAddressToJSON;
package/src/index.js CHANGED
@@ -429,6 +429,7 @@ export { WaasChainEnum, WaasChainEnumFromJSON, WaasChainEnumFromJSONTyped, WaasC
429
429
  export { WaasDelegatedAccessEncryptionPublicKeyType, WaasDelegatedAccessEncryptionPublicKeyTypeFromJSON, WaasDelegatedAccessEncryptionPublicKeyTypeFromJSONTyped, WaasDelegatedAccessEncryptionPublicKeyTypeToJSON } from './models/WaasDelegatedAccessEncryptionPublicKeyType.js';
430
430
  export { WaasWalletPropertiesFromJSON, WaasWalletPropertiesFromJSONTyped, WaasWalletPropertiesToJSON } from './models/WaasWalletProperties.js';
431
431
  export { WaasWalletSettingsFromJSON, WaasWalletSettingsFromJSONTyped, WaasWalletSettingsToJSON } from './models/WaasWalletSettings.js';
432
+ export { WaasWalletShareSetType, WaasWalletShareSetTypeFromJSON, WaasWalletShareSetTypeFromJSONTyped, WaasWalletShareSetTypeToJSON } from './models/WaasWalletShareSetType.js';
432
433
  export { WalletAdditionalAddressFromJSON, WalletAdditionalAddressFromJSONTyped, WalletAdditionalAddressToJSON } from './models/WalletAdditionalAddress.js';
433
434
  export { WalletAddressType, WalletAddressTypeFromJSON, WalletAddressTypeFromJSONTyped, WalletAddressTypeToJSON } from './models/WalletAddressType.js';
434
435
  export { WalletBitcoinConfigFromJSON, WalletBitcoinConfigFromJSONTyped, WalletBitcoinConfigToJSON } from './models/WalletBitcoinConfig.js';
@@ -67,6 +67,7 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
67
67
  'originalSid': !runtime.exists(json, 'originalSid') ? undefined : json['originalSid'],
68
68
  'refreshExp': !runtime.exists(json, 'refreshExp') ? undefined : json['refreshExp'],
69
69
  'sdkVersion': !runtime.exists(json, 'sdkVersion') ? undefined : json['sdkVersion'],
70
+ 'deviceRegistrationId': !runtime.exists(json, 'deviceRegistrationId') ? undefined : json['deviceRegistrationId'],
70
71
  };
71
72
  }
72
73
  function DynamicJwtToJSON(value) {
@@ -126,6 +127,7 @@ function DynamicJwtToJSON(value) {
126
127
  'originalSid': value.originalSid,
127
128
  'refreshExp': value.refreshExp,
128
129
  'sdkVersion': value.sdkVersion,
130
+ 'deviceRegistrationId': value.deviceRegistrationId,
129
131
  };
130
132
  }
131
133
 
@@ -314,6 +314,12 @@ export interface DynamicJwt {
314
314
  * @memberof DynamicJwt
315
315
  */
316
316
  sdkVersion?: string;
317
+ /**
318
+ *
319
+ * @type {string}
320
+ * @memberof DynamicJwt
321
+ */
322
+ deviceRegistrationId?: string | null;
317
323
  }
318
324
  export declare function DynamicJwtFromJSON(json: any): DynamicJwt;
319
325
  export declare function DynamicJwtFromJSONTyped(json: any, ignoreDiscriminator: boolean): DynamicJwt;
@@ -63,6 +63,7 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
63
63
  'originalSid': !exists(json, 'originalSid') ? undefined : json['originalSid'],
64
64
  'refreshExp': !exists(json, 'refreshExp') ? undefined : json['refreshExp'],
65
65
  'sdkVersion': !exists(json, 'sdkVersion') ? undefined : json['sdkVersion'],
66
+ 'deviceRegistrationId': !exists(json, 'deviceRegistrationId') ? undefined : json['deviceRegistrationId'],
66
67
  };
67
68
  }
68
69
  function DynamicJwtToJSON(value) {
@@ -122,6 +123,7 @@ function DynamicJwtToJSON(value) {
122
123
  'originalSid': value.originalSid,
123
124
  'refreshExp': value.refreshExp,
124
125
  'sdkVersion': value.sdkVersion,
126
+ 'deviceRegistrationId': value.deviceRegistrationId,
125
127
  };
126
128
  }
127
129
 
@@ -34,6 +34,7 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
34
34
  'originalSid': !runtime.exists(json, 'originalSid') ? undefined : json['originalSid'],
35
35
  'refreshExp': !runtime.exists(json, 'refreshExp') ? undefined : json['refreshExp'],
36
36
  'sdkVersion': !runtime.exists(json, 'sdkVersion') ? undefined : json['sdkVersion'],
37
+ 'deviceRegistrationId': !runtime.exists(json, 'deviceRegistrationId') ? undefined : json['deviceRegistrationId'],
37
38
  };
38
39
  }
39
40
  function MinifiedDynamicJwtToJSON(value) {
@@ -64,6 +65,7 @@ function MinifiedDynamicJwtToJSON(value) {
64
65
  'originalSid': value.originalSid,
65
66
  'refreshExp': value.refreshExp,
66
67
  'sdkVersion': value.sdkVersion,
68
+ 'deviceRegistrationId': value.deviceRegistrationId,
67
69
  };
68
70
  }
69
71
 
@@ -136,6 +136,12 @@ export interface MinifiedDynamicJwt {
136
136
  * @memberof MinifiedDynamicJwt
137
137
  */
138
138
  sdkVersion?: string;
139
+ /**
140
+ *
141
+ * @type {string}
142
+ * @memberof MinifiedDynamicJwt
143
+ */
144
+ deviceRegistrationId?: string | null;
139
145
  }
140
146
  export declare function MinifiedDynamicJwtFromJSON(json: any): MinifiedDynamicJwt;
141
147
  export declare function MinifiedDynamicJwtFromJSONTyped(json: any, ignoreDiscriminator: boolean): MinifiedDynamicJwt;
@@ -30,6 +30,7 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
30
30
  'originalSid': !exists(json, 'originalSid') ? undefined : json['originalSid'],
31
31
  'refreshExp': !exists(json, 'refreshExp') ? undefined : json['refreshExp'],
32
32
  'sdkVersion': !exists(json, 'sdkVersion') ? undefined : json['sdkVersion'],
33
+ 'deviceRegistrationId': !exists(json, 'deviceRegistrationId') ? undefined : json['deviceRegistrationId'],
33
34
  };
34
35
  }
35
36
  function MinifiedDynamicJwtToJSON(value) {
@@ -60,6 +61,7 @@ function MinifiedDynamicJwtToJSON(value) {
60
61
  'originalSid': value.originalSid,
61
62
  'refreshExp': value.refreshExp,
62
63
  'sdkVersion': value.sdkVersion,
64
+ 'deviceRegistrationId': value.deviceRegistrationId,
63
65
  };
64
66
  }
65
67
 
@@ -6,6 +6,7 @@ var runtime = require('../runtime.cjs');
6
6
  var EmbeddedWalletVersionEnum = require('./EmbeddedWalletVersionEnum.cjs');
7
7
  var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
8
8
  var WaasWalletSettings = require('./WaasWalletSettings.cjs');
9
+ var WaasWalletShareSetType = require('./WaasWalletShareSetType.cjs');
9
10
  var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
10
11
 
11
12
  /* tslint:disable */
@@ -21,6 +22,8 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
21
22
  'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
22
23
  'derivationPath': !runtime.exists(json, 'derivationPath') ? undefined : json['derivationPath'],
23
24
  'settings': !runtime.exists(json, 'settings') ? undefined : WaasWalletSettings.WaasWalletSettingsFromJSON(json['settings']),
25
+ 'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
26
+ 'shareSetType': !runtime.exists(json, 'shareSetType') ? undefined : WaasWalletShareSetType.WaasWalletShareSetTypeFromJSON(json['shareSetType']),
24
27
  'version': !runtime.exists(json, 'version') ? undefined : EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumFromJSON(json['version']),
25
28
  };
26
29
  }
@@ -36,6 +39,8 @@ function WaasWalletPropertiesToJSON(value) {
36
39
  'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
37
40
  'derivationPath': value.derivationPath,
38
41
  'settings': WaasWalletSettings.WaasWalletSettingsToJSON(value.settings),
42
+ 'shareSetId': value.shareSetId,
43
+ 'shareSetType': WaasWalletShareSetType.WaasWalletShareSetTypeToJSON(value.shareSetType),
39
44
  'version': EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumToJSON(value.version),
40
45
  };
41
46
  }
@@ -12,6 +12,7 @@
12
12
  import { EmbeddedWalletVersionEnum } from './EmbeddedWalletVersionEnum';
13
13
  import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
14
14
  import { WaasWalletSettings } from './WaasWalletSettings';
15
+ import { WaasWalletShareSetType } from './WaasWalletShareSetType';
15
16
  import { WalletKeyShareInfo } from './WalletKeyShareInfo';
16
17
  /**
17
18
  *
@@ -43,6 +44,18 @@ export interface WaasWalletProperties {
43
44
  * @memberof WaasWalletProperties
44
45
  */
45
46
  settings?: WaasWalletSettings;
47
+ /**
48
+ * Identifier of the share set (WaasWallets row) that owns these key shares
49
+ * @type {string}
50
+ * @memberof WaasWalletProperties
51
+ */
52
+ shareSetId?: string;
53
+ /**
54
+ *
55
+ * @type {WaasWalletShareSetType}
56
+ * @memberof WaasWalletProperties
57
+ */
58
+ shareSetType?: WaasWalletShareSetType;
46
59
  /**
47
60
  *
48
61
  * @type {EmbeddedWalletVersionEnum}
@@ -2,6 +2,7 @@ import { exists } from '../runtime.js';
2
2
  import { EmbeddedWalletVersionEnumFromJSON, EmbeddedWalletVersionEnumToJSON } from './EmbeddedWalletVersionEnum.js';
3
3
  import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
4
4
  import { WaasWalletSettingsFromJSON, WaasWalletSettingsToJSON } from './WaasWalletSettings.js';
5
+ import { WaasWalletShareSetTypeFromJSON, WaasWalletShareSetTypeToJSON } from './WaasWalletShareSetType.js';
5
6
  import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
6
7
 
7
8
  /* tslint:disable */
@@ -17,6 +18,8 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
17
18
  'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
18
19
  'derivationPath': !exists(json, 'derivationPath') ? undefined : json['derivationPath'],
19
20
  'settings': !exists(json, 'settings') ? undefined : WaasWalletSettingsFromJSON(json['settings']),
21
+ 'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
22
+ 'shareSetType': !exists(json, 'shareSetType') ? undefined : WaasWalletShareSetTypeFromJSON(json['shareSetType']),
20
23
  'version': !exists(json, 'version') ? undefined : EmbeddedWalletVersionEnumFromJSON(json['version']),
21
24
  };
22
25
  }
@@ -32,6 +35,8 @@ function WaasWalletPropertiesToJSON(value) {
32
35
  'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
33
36
  'derivationPath': value.derivationPath,
34
37
  'settings': WaasWalletSettingsToJSON(value.settings),
38
+ 'shareSetId': value.shareSetId,
39
+ 'shareSetType': WaasWalletShareSetTypeToJSON(value.shareSetType),
35
40
  'version': EmbeddedWalletVersionEnumToJSON(value.version),
36
41
  };
37
42
  }
@@ -0,0 +1,41 @@
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
+ /**
19
+ * The role this share set plays for the wallet
20
+ * @export
21
+ * @enum {string}
22
+ */
23
+ exports.WaasWalletShareSetType = void 0;
24
+ (function (WaasWalletShareSetType) {
25
+ WaasWalletShareSetType["Delegated"] = "delegated";
26
+ WaasWalletShareSetType["RootUser"] = "rootUser";
27
+ WaasWalletShareSetType["Server"] = "server";
28
+ })(exports.WaasWalletShareSetType || (exports.WaasWalletShareSetType = {}));
29
+ function WaasWalletShareSetTypeFromJSON(json) {
30
+ return WaasWalletShareSetTypeFromJSONTyped(json);
31
+ }
32
+ function WaasWalletShareSetTypeFromJSONTyped(json, ignoreDiscriminator) {
33
+ return json;
34
+ }
35
+ function WaasWalletShareSetTypeToJSON(value) {
36
+ return value;
37
+ }
38
+
39
+ exports.WaasWalletShareSetTypeFromJSON = WaasWalletShareSetTypeFromJSON;
40
+ exports.WaasWalletShareSetTypeFromJSONTyped = WaasWalletShareSetTypeFromJSONTyped;
41
+ exports.WaasWalletShareSetTypeToJSON = WaasWalletShareSetTypeToJSON;
@@ -0,0 +1,24 @@
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
+ * The role this share set plays for the wallet
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum WaasWalletShareSetType {
18
+ Delegated = "delegated",
19
+ RootUser = "rootUser",
20
+ Server = "server"
21
+ }
22
+ export declare function WaasWalletShareSetTypeFromJSON(json: any): WaasWalletShareSetType;
23
+ export declare function WaasWalletShareSetTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasWalletShareSetType;
24
+ export declare function WaasWalletShareSetTypeToJSON(value?: WaasWalletShareSetType | null): any;
@@ -0,0 +1,35 @@
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
+ /**
15
+ * The role this share set plays for the wallet
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ var WaasWalletShareSetType;
20
+ (function (WaasWalletShareSetType) {
21
+ WaasWalletShareSetType["Delegated"] = "delegated";
22
+ WaasWalletShareSetType["RootUser"] = "rootUser";
23
+ WaasWalletShareSetType["Server"] = "server";
24
+ })(WaasWalletShareSetType || (WaasWalletShareSetType = {}));
25
+ function WaasWalletShareSetTypeFromJSON(json) {
26
+ return WaasWalletShareSetTypeFromJSONTyped(json);
27
+ }
28
+ function WaasWalletShareSetTypeFromJSONTyped(json, ignoreDiscriminator) {
29
+ return json;
30
+ }
31
+ function WaasWalletShareSetTypeToJSON(value) {
32
+ return value;
33
+ }
34
+
35
+ export { WaasWalletShareSetType, WaasWalletShareSetTypeFromJSON, WaasWalletShareSetTypeFromJSONTyped, WaasWalletShareSetTypeToJSON };
@@ -11,6 +11,7 @@ var ProviderEntryPointVersionEnum = require('./ProviderEntryPointVersionEnum.cjs
11
11
  var ProviderKernelVersionEnum = require('./ProviderKernelVersionEnum.cjs');
12
12
  var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
13
13
  var WaasWalletSettings = require('./WaasWalletSettings.cjs');
14
+ var WaasWalletShareSetType = require('./WaasWalletShareSetType.cjs');
14
15
  var WalletKeyShareInfo = require('./WalletKeyShareInfo.cjs');
15
16
 
16
17
  /* tslint:disable */
@@ -39,6 +40,8 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
39
40
  'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
40
41
  'derivationPath': !runtime.exists(json, 'derivationPath') ? undefined : json['derivationPath'],
41
42
  'settings': !runtime.exists(json, 'settings') ? undefined : WaasWalletSettings.WaasWalletSettingsFromJSON(json['settings']),
43
+ 'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
44
+ 'shareSetType': !runtime.exists(json, 'shareSetType') ? undefined : WaasWalletShareSetType.WaasWalletShareSetTypeFromJSON(json['shareSetType']),
42
45
  };
43
46
  }
44
47
  function WalletPropertiesToJSON(value) {
@@ -66,6 +69,8 @@ function WalletPropertiesToJSON(value) {
66
69
  'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
67
70
  'derivationPath': value.derivationPath,
68
71
  'settings': WaasWalletSettings.WaasWalletSettingsToJSON(value.settings),
72
+ 'shareSetId': value.shareSetId,
73
+ 'shareSetType': WaasWalletShareSetType.WaasWalletShareSetTypeToJSON(value.shareSetType),
69
74
  };
70
75
  }
71
76
 
@@ -17,6 +17,7 @@ import { ProviderEntryPointVersionEnum } from './ProviderEntryPointVersionEnum';
17
17
  import { ProviderKernelVersionEnum } from './ProviderKernelVersionEnum';
18
18
  import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
19
19
  import { WaasWalletSettings } from './WaasWalletSettings';
20
+ import { WaasWalletShareSetType } from './WaasWalletShareSetType';
20
21
  import { WalletKeyShareInfo } from './WalletKeyShareInfo';
21
22
  /**
22
23
  *
@@ -126,6 +127,18 @@ export interface WalletProperties {
126
127
  * @memberof WalletProperties
127
128
  */
128
129
  settings?: WaasWalletSettings;
130
+ /**
131
+ * Identifier of the share set (WaasWallets row) that owns these key shares
132
+ * @type {string}
133
+ * @memberof WalletProperties
134
+ */
135
+ shareSetId?: string;
136
+ /**
137
+ *
138
+ * @type {WaasWalletShareSetType}
139
+ * @memberof WalletProperties
140
+ */
141
+ shareSetType?: WaasWalletShareSetType;
129
142
  }
130
143
  export declare function WalletPropertiesFromJSON(json: any): WalletProperties;
131
144
  export declare function WalletPropertiesFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletProperties;
@@ -7,6 +7,7 @@ import { ProviderEntryPointVersionEnumFromJSON, ProviderEntryPointVersionEnumToJ
7
7
  import { ProviderKernelVersionEnumFromJSON, ProviderKernelVersionEnumToJSON } from './ProviderKernelVersionEnum.js';
8
8
  import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
9
9
  import { WaasWalletSettingsFromJSON, WaasWalletSettingsToJSON } from './WaasWalletSettings.js';
10
+ import { WaasWalletShareSetTypeFromJSON, WaasWalletShareSetTypeToJSON } from './WaasWalletShareSetType.js';
10
11
  import { WalletKeyShareInfoFromJSON, WalletKeyShareInfoToJSON } from './WalletKeyShareInfo.js';
11
12
 
12
13
  /* tslint:disable */
@@ -35,6 +36,8 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
35
36
  'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
36
37
  'derivationPath': !exists(json, 'derivationPath') ? undefined : json['derivationPath'],
37
38
  'settings': !exists(json, 'settings') ? undefined : WaasWalletSettingsFromJSON(json['settings']),
39
+ 'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
40
+ 'shareSetType': !exists(json, 'shareSetType') ? undefined : WaasWalletShareSetTypeFromJSON(json['shareSetType']),
38
41
  };
39
42
  }
40
43
  function WalletPropertiesToJSON(value) {
@@ -62,6 +65,8 @@ function WalletPropertiesToJSON(value) {
62
65
  'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
63
66
  'derivationPath': value.derivationPath,
64
67
  'settings': WaasWalletSettingsToJSON(value.settings),
68
+ 'shareSetId': value.shareSetId,
69
+ 'shareSetType': WaasWalletShareSetTypeToJSON(value.shareSetType),
65
70
  };
66
71
  }
67
72
 
@@ -426,6 +426,7 @@ export * from './WaasChainEnum';
426
426
  export * from './WaasDelegatedAccessEncryptionPublicKeyType';
427
427
  export * from './WaasWalletProperties';
428
428
  export * from './WaasWalletSettings';
429
+ export * from './WaasWalletShareSetType';
429
430
  export * from './WalletAdditionalAddress';
430
431
  export * from './WalletAddressType';
431
432
  export * from './WalletBitcoinConfig';