@dynamic-labs/sdk-api 0.0.778 → 0.0.780

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.778",
3
+ "version": "0.0.780",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -16,6 +16,7 @@ function BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json, ignoreDis
16
16
  }
17
17
  return {
18
18
  'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumFromJSON(json['location']),
19
+ 'keygenId': !runtime.exists(json, 'keygenId') ? undefined : json['keygenId'],
19
20
  'thresholdSignatureScheme': !runtime.exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
20
21
  'externalKeyShareId': !runtime.exists(json, 'externalKeyShareId') ? undefined : json['externalKeyShareId'],
21
22
  };
@@ -29,6 +30,7 @@ function BackupKeySharesToLocationsRequestLocationsToJSON(value) {
29
30
  }
30
31
  return {
31
32
  'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumToJSON(value.location),
33
+ 'keygenId': value.keygenId,
32
34
  'thresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
33
35
  'externalKeyShareId': value.externalKeyShareId,
34
36
  };
@@ -23,6 +23,12 @@ export interface BackupKeySharesToLocationsRequestLocations {
23
23
  * @memberof BackupKeySharesToLocationsRequestLocations
24
24
  */
25
25
  location: WaasBackupOptionsEnum;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof BackupKeySharesToLocationsRequestLocations
30
+ */
31
+ keygenId?: string;
26
32
  /**
27
33
  *
28
34
  * @type {ThresholdSignatureScheme}
@@ -12,6 +12,7 @@ function BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json, ignoreDis
12
12
  }
13
13
  return {
14
14
  'location': WaasBackupOptionsEnumFromJSON(json['location']),
15
+ 'keygenId': !exists(json, 'keygenId') ? undefined : json['keygenId'],
15
16
  'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
16
17
  'externalKeyShareId': !exists(json, 'externalKeyShareId') ? undefined : json['externalKeyShareId'],
17
18
  };
@@ -25,6 +26,7 @@ function BackupKeySharesToLocationsRequestLocationsToJSON(value) {
25
26
  }
26
27
  return {
27
28
  'location': WaasBackupOptionsEnumToJSON(value.location),
29
+ 'keygenId': value.keygenId,
28
30
  'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
29
31
  'externalKeyShareId': value.externalKeyShareId,
30
32
  };
@@ -26,6 +26,7 @@ exports.WaasBackupOptionsEnum = void 0;
26
26
  WaasBackupOptionsEnum["Icloud"] = "icloud";
27
27
  WaasBackupOptionsEnum["Dynamic"] = "dynamic";
28
28
  WaasBackupOptionsEnum["External"] = "external";
29
+ WaasBackupOptionsEnum["Delegated"] = "delegated";
29
30
  })(exports.WaasBackupOptionsEnum || (exports.WaasBackupOptionsEnum = {}));
30
31
  function WaasBackupOptionsEnumFromJSON(json) {
31
32
  return WaasBackupOptionsEnumFromJSONTyped(json);
@@ -18,7 +18,8 @@ export declare enum WaasBackupOptionsEnum {
18
18
  GoogleDrive = "googleDrive",
19
19
  Icloud = "icloud",
20
20
  Dynamic = "dynamic",
21
- External = "external"
21
+ External = "external",
22
+ Delegated = "delegated"
22
23
  }
23
24
  export declare function WaasBackupOptionsEnumFromJSON(json: any): WaasBackupOptionsEnum;
24
25
  export declare function WaasBackupOptionsEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasBackupOptionsEnum;
@@ -22,6 +22,7 @@ var WaasBackupOptionsEnum;
22
22
  WaasBackupOptionsEnum["Icloud"] = "icloud";
23
23
  WaasBackupOptionsEnum["Dynamic"] = "dynamic";
24
24
  WaasBackupOptionsEnum["External"] = "external";
25
+ WaasBackupOptionsEnum["Delegated"] = "delegated";
25
26
  })(WaasBackupOptionsEnum || (WaasBackupOptionsEnum = {}));
26
27
  function WaasBackupOptionsEnumFromJSON(json) {
27
28
  return WaasBackupOptionsEnumFromJSONTyped(json);