@dynamic-labs/sdk-api 0.59.0 → 0.60.0

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.59.0",
3
+ "version": "0.60.0",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -15,6 +15,7 @@ function BackupKeySharesToLocationsRequestFromJSONTyped(json, ignoreDiscriminato
15
15
  }
16
16
  return {
17
17
  'passwordUpdateBatchId': !runtime.exists(json, 'passwordUpdateBatchId') ? undefined : json['passwordUpdateBatchId'],
18
+ 'businessAccountId': !runtime.exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
18
19
  'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
19
20
  'locations': (json['locations'].map(BackupKeySharesToLocationsRequestLocations.BackupKeySharesToLocationsRequestLocationsFromJSON)),
20
21
  };
@@ -28,6 +29,7 @@ function BackupKeySharesToLocationsRequestToJSON(value) {
28
29
  }
29
30
  return {
30
31
  'passwordUpdateBatchId': value.passwordUpdateBatchId,
32
+ 'businessAccountId': value.businessAccountId,
31
33
  'shareSetId': value.shareSetId,
32
34
  'locations': (value.locations.map(BackupKeySharesToLocationsRequestLocations.BackupKeySharesToLocationsRequestLocationsToJSON)),
33
35
  };
@@ -22,6 +22,14 @@ export interface BackupKeySharesToLocationsRequest {
22
22
  * @memberof BackupKeySharesToLocationsRequest
23
23
  */
24
24
  passwordUpdateBatchId?: string;
25
+ /**
26
+ * Business account the caller is signing for. Required when the wallet
27
+ * is linked into a business account so the caller's signer share set can
28
+ * be resolved; omit for personal wallets.
29
+ * @type {string}
30
+ * @memberof BackupKeySharesToLocationsRequest
31
+ */
32
+ businessAccountId?: string | null;
25
33
  /**
26
34
  * Identifier of the share set (WaasWallets row) being activated. SDKs
27
35
  * that already receive shareSetId from the ceremony_complete event
@@ -11,6 +11,7 @@ function BackupKeySharesToLocationsRequestFromJSONTyped(json, ignoreDiscriminato
11
11
  }
12
12
  return {
13
13
  'passwordUpdateBatchId': !exists(json, 'passwordUpdateBatchId') ? undefined : json['passwordUpdateBatchId'],
14
+ 'businessAccountId': !exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
14
15
  'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
15
16
  'locations': (json['locations'].map(BackupKeySharesToLocationsRequestLocationsFromJSON)),
16
17
  };
@@ -24,6 +25,7 @@ function BackupKeySharesToLocationsRequestToJSON(value) {
24
25
  }
25
26
  return {
26
27
  'passwordUpdateBatchId': value.passwordUpdateBatchId,
28
+ 'businessAccountId': value.businessAccountId,
27
29
  'shareSetId': value.shareSetId,
28
30
  'locations': (value.locations.map(BackupKeySharesToLocationsRequestLocationsToJSON)),
29
31
  };