@cirrobio/api-client 0.12.10 → 0.12.12

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/README.md CHANGED
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @cirrobio/api-client@0.12.10 --save
39
+ npm install @cirrobio/api-client@0.12.12 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -22,11 +22,17 @@ export interface MountedDataset {
22
22
  */
23
23
  name: string;
24
24
  /**
25
- * Full S3 prefix to the data
25
+ * ID of the dataset to mount
26
26
  * @type {string}
27
27
  * @memberof MountedDataset
28
28
  */
29
- uri: string;
29
+ datasetId?: string | null;
30
+ /**
31
+ * Full S3 URI to mounted data (if mounting custom path)
32
+ * @type {string}
33
+ * @memberof MountedDataset
34
+ */
35
+ customUri?: string | null;
30
36
  }
31
37
  /**
32
38
  * Check if a given object implements the MountedDataset interface.
@@ -11,13 +11,13 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { exists } from '../runtime';
14
15
  /**
15
16
  * Check if a given object implements the MountedDataset interface.
16
17
  */
17
18
  export function instanceOfMountedDataset(value) {
18
19
  let isInstance = true;
19
20
  isInstance = isInstance && "name" in value;
20
- isInstance = isInstance && "uri" in value;
21
21
  return isInstance;
22
22
  }
23
23
  export function MountedDatasetFromJSON(json) {
@@ -29,7 +29,8 @@ export function MountedDatasetFromJSONTyped(json, ignoreDiscriminator) {
29
29
  }
30
30
  return {
31
31
  'name': json['name'],
32
- 'uri': json['uri'],
32
+ 'datasetId': !exists(json, 'datasetId') ? undefined : json['datasetId'],
33
+ 'customUri': !exists(json, 'customUri') ? undefined : json['customUri'],
33
34
  };
34
35
  }
35
36
  export function MountedDatasetToJSON(value) {
@@ -41,6 +42,7 @@ export function MountedDatasetToJSON(value) {
41
42
  }
42
43
  return {
43
44
  'name': value.name,
44
- 'uri': value.uri,
45
+ 'datasetId': value.datasetId,
46
+ 'customUri': value.customUri,
45
47
  };
46
48
  }
@@ -22,6 +22,8 @@ export declare enum Status {
22
22
  Deleted = "DELETED",
23
23
  Deleting = "DELETING",
24
24
  Suspended = "SUSPENDED",
25
+ Stopping = "STOPPING",
26
+ Starting = "STARTING",
25
27
  Delete = "DELETE",
26
28
  Failed = "FAILED",
27
29
  Unknown = "UNKNOWN"
@@ -25,6 +25,8 @@ export var Status;
25
25
  Status["Deleted"] = "DELETED";
26
26
  Status["Deleting"] = "DELETING";
27
27
  Status["Suspended"] = "SUSPENDED";
28
+ Status["Stopping"] = "STOPPING";
29
+ Status["Starting"] = "STARTING";
28
30
  Status["Delete"] = "DELETE";
29
31
  Status["Failed"] = "FAILED";
30
32
  Status["Unknown"] = "UNKNOWN";
@@ -22,11 +22,17 @@ export interface MountedDataset {
22
22
  */
23
23
  name: string;
24
24
  /**
25
- * Full S3 prefix to the data
25
+ * ID of the dataset to mount
26
26
  * @type {string}
27
27
  * @memberof MountedDataset
28
28
  */
29
- uri: string;
29
+ datasetId?: string | null;
30
+ /**
31
+ * Full S3 URI to mounted data (if mounting custom path)
32
+ * @type {string}
33
+ * @memberof MountedDataset
34
+ */
35
+ customUri?: string | null;
30
36
  }
31
37
  /**
32
38
  * Check if a given object implements the MountedDataset interface.
@@ -14,13 +14,13 @@
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.MountedDatasetToJSON = exports.MountedDatasetFromJSONTyped = exports.MountedDatasetFromJSON = exports.instanceOfMountedDataset = void 0;
17
+ const runtime_1 = require("../runtime");
17
18
  /**
18
19
  * Check if a given object implements the MountedDataset interface.
19
20
  */
20
21
  function instanceOfMountedDataset(value) {
21
22
  let isInstance = true;
22
23
  isInstance = isInstance && "name" in value;
23
- isInstance = isInstance && "uri" in value;
24
24
  return isInstance;
25
25
  }
26
26
  exports.instanceOfMountedDataset = instanceOfMountedDataset;
@@ -34,7 +34,8 @@ function MountedDatasetFromJSONTyped(json, ignoreDiscriminator) {
34
34
  }
35
35
  return {
36
36
  'name': json['name'],
37
- 'uri': json['uri'],
37
+ 'datasetId': !(0, runtime_1.exists)(json, 'datasetId') ? undefined : json['datasetId'],
38
+ 'customUri': !(0, runtime_1.exists)(json, 'customUri') ? undefined : json['customUri'],
38
39
  };
39
40
  }
40
41
  exports.MountedDatasetFromJSONTyped = MountedDatasetFromJSONTyped;
@@ -47,7 +48,8 @@ function MountedDatasetToJSON(value) {
47
48
  }
48
49
  return {
49
50
  'name': value.name,
50
- 'uri': value.uri,
51
+ 'datasetId': value.datasetId,
52
+ 'customUri': value.customUri,
51
53
  };
52
54
  }
53
55
  exports.MountedDatasetToJSON = MountedDatasetToJSON;
@@ -22,6 +22,8 @@ export declare enum Status {
22
22
  Deleted = "DELETED",
23
23
  Deleting = "DELETING",
24
24
  Suspended = "SUSPENDED",
25
+ Stopping = "STOPPING",
26
+ Starting = "STARTING",
25
27
  Delete = "DELETE",
26
28
  Failed = "FAILED",
27
29
  Unknown = "UNKNOWN"
@@ -28,6 +28,8 @@ var Status;
28
28
  Status["Deleted"] = "DELETED";
29
29
  Status["Deleting"] = "DELETING";
30
30
  Status["Suspended"] = "SUSPENDED";
31
+ Status["Stopping"] = "STOPPING";
32
+ Status["Starting"] = "STARTING";
31
33
  Status["Delete"] = "DELETE";
32
34
  Status["Failed"] = "FAILED";
33
35
  Status["Unknown"] = "UNKNOWN";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.12.10",
3
+ "version": "0.12.12",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {