@dynamic-labs/sdk-api-core 0.0.753 → 0.0.754

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.753",
3
+ "version": "0.0.754",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -2,6 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var runtime = require('../runtime.cjs');
5
6
  var WaasBackupOptionsEnum = require('./WaasBackupOptionsEnum.cjs');
6
7
 
7
8
  /* tslint:disable */
@@ -14,7 +15,7 @@ function BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json, ignoreDis
14
15
  }
15
16
  return {
16
17
  'location': WaasBackupOptionsEnum.WaasBackupOptionsEnumFromJSON(json['location']),
17
- 'externalKeyShareId': json['externalKeyShareId'],
18
+ 'externalKeyShareId': !runtime.exists(json, 'externalKeyShareId') ? undefined : json['externalKeyShareId'],
18
19
  };
19
20
  }
20
21
  function BackupKeySharesToLocationsRequestLocationsToJSON(value) {
@@ -27,7 +27,7 @@ export interface BackupKeySharesToLocationsRequestLocations {
27
27
  * @type {string}
28
28
  * @memberof BackupKeySharesToLocationsRequestLocations
29
29
  */
30
- externalKeyShareId: string;
30
+ externalKeyShareId?: string;
31
31
  }
32
32
  export declare function BackupKeySharesToLocationsRequestLocationsFromJSON(json: any): BackupKeySharesToLocationsRequestLocations;
33
33
  export declare function BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json: any, ignoreDiscriminator: boolean): BackupKeySharesToLocationsRequestLocations;
@@ -1,3 +1,4 @@
1
+ import { exists } from '../runtime.js';
1
2
  import { WaasBackupOptionsEnumFromJSON, WaasBackupOptionsEnumToJSON } from './WaasBackupOptionsEnum.js';
2
3
 
3
4
  /* tslint:disable */
@@ -10,7 +11,7 @@ function BackupKeySharesToLocationsRequestLocationsFromJSONTyped(json, ignoreDis
10
11
  }
11
12
  return {
12
13
  'location': WaasBackupOptionsEnumFromJSON(json['location']),
13
- 'externalKeyShareId': json['externalKeyShareId'],
14
+ 'externalKeyShareId': !exists(json, 'externalKeyShareId') ? undefined : json['externalKeyShareId'],
14
15
  };
15
16
  }
16
17
  function BackupKeySharesToLocationsRequestLocationsToJSON(value) {