@dynamic-labs/sdk-api-core 0.0.952 → 0.0.953
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 +1 -1
- package/src/models/BackupKeySharesToLocationsRequest.cjs +2 -0
- package/src/models/BackupKeySharesToLocationsRequest.d.ts +9 -0
- package/src/models/BackupKeySharesToLocationsRequest.js +2 -0
- package/src/models/BackupKeySharesToLocationsResponse.cjs +2 -0
- package/src/models/BackupKeySharesToLocationsResponse.d.ts +6 -0
- package/src/models/BackupKeySharesToLocationsResponse.js +2 -0
package/package.json
CHANGED
|
@@ -15,6 +15,7 @@ function BackupKeySharesToLocationsRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
15
15
|
}
|
|
16
16
|
return {
|
|
17
17
|
'passwordUpdateBatchId': !runtime.exists(json, 'passwordUpdateBatchId') ? undefined : json['passwordUpdateBatchId'],
|
|
18
|
+
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
18
19
|
'locations': (json['locations'].map(BackupKeySharesToLocationsRequestLocations.BackupKeySharesToLocationsRequestLocationsFromJSON)),
|
|
19
20
|
};
|
|
20
21
|
}
|
|
@@ -27,6 +28,7 @@ function BackupKeySharesToLocationsRequestToJSON(value) {
|
|
|
27
28
|
}
|
|
28
29
|
return {
|
|
29
30
|
'passwordUpdateBatchId': value.passwordUpdateBatchId,
|
|
31
|
+
'shareSetId': value.shareSetId,
|
|
30
32
|
'locations': (value.locations.map(BackupKeySharesToLocationsRequestLocations.BackupKeySharesToLocationsRequestLocationsToJSON)),
|
|
31
33
|
};
|
|
32
34
|
}
|
|
@@ -22,6 +22,15 @@ export interface BackupKeySharesToLocationsRequest {
|
|
|
22
22
|
* @memberof BackupKeySharesToLocationsRequest
|
|
23
23
|
*/
|
|
24
24
|
passwordUpdateBatchId?: string;
|
|
25
|
+
/**
|
|
26
|
+
* Identifier of the share set (WaasWallets row) being activated. SDKs
|
|
27
|
+
* that already receive shareSetId from the ceremony_complete event
|
|
28
|
+
* should echo it back here. Optional for backwards compatibility — when
|
|
29
|
+
* omitted, the active rootUser share set is resolved from walletId.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof BackupKeySharesToLocationsRequest
|
|
32
|
+
*/
|
|
33
|
+
shareSetId?: string | null;
|
|
25
34
|
/**
|
|
26
35
|
* List of backup locations with their key share configuration
|
|
27
36
|
* @type {Array<BackupKeySharesToLocationsRequestLocations>}
|
|
@@ -11,6 +11,7 @@ function BackupKeySharesToLocationsRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
11
11
|
}
|
|
12
12
|
return {
|
|
13
13
|
'passwordUpdateBatchId': !exists(json, 'passwordUpdateBatchId') ? undefined : json['passwordUpdateBatchId'],
|
|
14
|
+
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
14
15
|
'locations': (json['locations'].map(BackupKeySharesToLocationsRequestLocationsFromJSON)),
|
|
15
16
|
};
|
|
16
17
|
}
|
|
@@ -23,6 +24,7 @@ function BackupKeySharesToLocationsRequestToJSON(value) {
|
|
|
23
24
|
}
|
|
24
25
|
return {
|
|
25
26
|
'passwordUpdateBatchId': value.passwordUpdateBatchId,
|
|
27
|
+
'shareSetId': value.shareSetId,
|
|
26
28
|
'locations': (value.locations.map(BackupKeySharesToLocationsRequestLocationsToJSON)),
|
|
27
29
|
};
|
|
28
30
|
}
|
|
@@ -25,6 +25,7 @@ function BackupKeySharesToLocationsResponseFromJSONTyped(json, ignoreDiscriminat
|
|
|
25
25
|
return {
|
|
26
26
|
'message': json['message'],
|
|
27
27
|
'walletId': json['walletId'],
|
|
28
|
+
'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
28
29
|
'passwordUpdateStatus': !runtime.exists(json, 'passwordUpdateStatus') ? undefined : json['passwordUpdateStatus'],
|
|
29
30
|
'locationsWithKeyShares': (json['locationsWithKeyShares'].map(BackupKeySharesToLocationsResponseLocationsWithKeyShares.BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON)),
|
|
30
31
|
};
|
|
@@ -39,6 +40,7 @@ function BackupKeySharesToLocationsResponseToJSON(value) {
|
|
|
39
40
|
return {
|
|
40
41
|
'message': value.message,
|
|
41
42
|
'walletId': value.walletId,
|
|
43
|
+
'shareSetId': value.shareSetId,
|
|
42
44
|
'passwordUpdateStatus': value.passwordUpdateStatus,
|
|
43
45
|
'locationsWithKeyShares': (value.locationsWithKeyShares.map(BackupKeySharesToLocationsResponseLocationsWithKeyShares.BackupKeySharesToLocationsResponseLocationsWithKeySharesToJSON)),
|
|
44
46
|
};
|
|
@@ -28,6 +28,12 @@ export interface BackupKeySharesToLocationsResponse {
|
|
|
28
28
|
* @memberof BackupKeySharesToLocationsResponse
|
|
29
29
|
*/
|
|
30
30
|
walletId: string;
|
|
31
|
+
/**
|
|
32
|
+
* Identifier of the share set that was activated by this backup.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof BackupKeySharesToLocationsResponse
|
|
35
|
+
*/
|
|
36
|
+
shareSetId?: string | null;
|
|
31
37
|
/**
|
|
32
38
|
* Current status of the password update process
|
|
33
39
|
* @type {string}
|
|
@@ -21,6 +21,7 @@ function BackupKeySharesToLocationsResponseFromJSONTyped(json, ignoreDiscriminat
|
|
|
21
21
|
return {
|
|
22
22
|
'message': json['message'],
|
|
23
23
|
'walletId': json['walletId'],
|
|
24
|
+
'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
|
|
24
25
|
'passwordUpdateStatus': !exists(json, 'passwordUpdateStatus') ? undefined : json['passwordUpdateStatus'],
|
|
25
26
|
'locationsWithKeyShares': (json['locationsWithKeyShares'].map(BackupKeySharesToLocationsResponseLocationsWithKeySharesFromJSON)),
|
|
26
27
|
};
|
|
@@ -35,6 +36,7 @@ function BackupKeySharesToLocationsResponseToJSON(value) {
|
|
|
35
36
|
return {
|
|
36
37
|
'message': value.message,
|
|
37
38
|
'walletId': value.walletId,
|
|
39
|
+
'shareSetId': value.shareSetId,
|
|
38
40
|
'passwordUpdateStatus': value.passwordUpdateStatus,
|
|
39
41
|
'locationsWithKeyShares': (value.locationsWithKeyShares.map(BackupKeySharesToLocationsResponseLocationsWithKeySharesToJSON)),
|
|
40
42
|
};
|