@cirrobio/api-client 0.12.4 → 0.12.6

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.4 --save
39
+ npm install @cirrobio/api-client@0.12.6 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -74,6 +74,12 @@ export interface Workspace {
74
74
  * @memberof Workspace
75
75
  */
76
76
  sharingType: SharingType;
77
+ /**
78
+ *
79
+ * @type {number}
80
+ * @memberof Workspace
81
+ */
82
+ autoStopTimeout?: number | null;
77
83
  /**
78
84
  *
79
85
  * @type {Array<WorkspaceSession>}
@@ -98,6 +104,12 @@ export interface Workspace {
98
104
  * @memberof Workspace
99
105
  */
100
106
  startedAt?: Date | null;
107
+ /**
108
+ *
109
+ * @type {Date}
110
+ * @memberof Workspace
111
+ */
112
+ autoStopTime?: Date | null;
101
113
  /**
102
114
  *
103
115
  * @type {Date}
@@ -53,10 +53,12 @@ export function WorkspaceFromJSONTyped(json, ignoreDiscriminator) {
53
53
  'mountedDatasets': (json['mountedDatasets'].map(MountedDatasetFromJSON)),
54
54
  'computeConfig': WorkspaceComputeConfigFromJSON(json['computeConfig']),
55
55
  'sharingType': SharingTypeFromJSON(json['sharingType']),
56
+ 'autoStopTimeout': !exists(json, 'autoStopTimeout') ? undefined : json['autoStopTimeout'],
56
57
  'sessions': !exists(json, 'sessions') ? undefined : (json['sessions'] === null ? null : json['sessions'].map(WorkspaceSessionFromJSON)),
57
58
  'createdBy': json['createdBy'],
58
59
  'createdAt': (new Date(json['createdAt'])),
59
60
  'startedAt': !exists(json, 'startedAt') ? undefined : (json['startedAt'] === null ? null : new Date(json['startedAt'])),
61
+ 'autoStopTime': !exists(json, 'autoStopTime') ? undefined : (json['autoStopTime'] === null ? null : new Date(json['autoStopTime'])),
60
62
  'updatedAt': (new Date(json['updatedAt'])),
61
63
  };
62
64
  }
@@ -77,10 +79,12 @@ export function WorkspaceToJSON(value) {
77
79
  'mountedDatasets': (value.mountedDatasets.map(MountedDatasetToJSON)),
78
80
  'computeConfig': WorkspaceComputeConfigToJSON(value.computeConfig),
79
81
  'sharingType': SharingTypeToJSON(value.sharingType),
82
+ 'autoStopTimeout': value.autoStopTimeout,
80
83
  'sessions': value.sessions === undefined ? undefined : (value.sessions === null ? null : value.sessions.map(WorkspaceSessionToJSON)),
81
84
  'createdBy': value.createdBy,
82
85
  'createdAt': (value.createdAt.toISOString()),
83
86
  'startedAt': value.startedAt === undefined ? undefined : (value.startedAt === null ? null : value.startedAt.toISOString()),
87
+ 'autoStopTime': value.autoStopTime === undefined ? undefined : (value.autoStopTime === null ? null : value.autoStopTime.toISOString()),
84
88
  'updatedAt': (value.updatedAt.toISOString()),
85
89
  };
86
90
  }
@@ -74,6 +74,12 @@ export interface Workspace {
74
74
  * @memberof Workspace
75
75
  */
76
76
  sharingType: SharingType;
77
+ /**
78
+ *
79
+ * @type {number}
80
+ * @memberof Workspace
81
+ */
82
+ autoStopTimeout?: number | null;
77
83
  /**
78
84
  *
79
85
  * @type {Array<WorkspaceSession>}
@@ -98,6 +104,12 @@ export interface Workspace {
98
104
  * @memberof Workspace
99
105
  */
100
106
  startedAt?: Date | null;
107
+ /**
108
+ *
109
+ * @type {Date}
110
+ * @memberof Workspace
111
+ */
112
+ autoStopTime?: Date | null;
101
113
  /**
102
114
  *
103
115
  * @type {Date}
@@ -58,10 +58,12 @@ function WorkspaceFromJSONTyped(json, ignoreDiscriminator) {
58
58
  'mountedDatasets': (json['mountedDatasets'].map(MountedDataset_1.MountedDatasetFromJSON)),
59
59
  'computeConfig': (0, WorkspaceComputeConfig_1.WorkspaceComputeConfigFromJSON)(json['computeConfig']),
60
60
  'sharingType': (0, SharingType_1.SharingTypeFromJSON)(json['sharingType']),
61
+ 'autoStopTimeout': !(0, runtime_1.exists)(json, 'autoStopTimeout') ? undefined : json['autoStopTimeout'],
61
62
  'sessions': !(0, runtime_1.exists)(json, 'sessions') ? undefined : (json['sessions'] === null ? null : json['sessions'].map(WorkspaceSession_1.WorkspaceSessionFromJSON)),
62
63
  'createdBy': json['createdBy'],
63
64
  'createdAt': (new Date(json['createdAt'])),
64
65
  'startedAt': !(0, runtime_1.exists)(json, 'startedAt') ? undefined : (json['startedAt'] === null ? null : new Date(json['startedAt'])),
66
+ 'autoStopTime': !(0, runtime_1.exists)(json, 'autoStopTime') ? undefined : (json['autoStopTime'] === null ? null : new Date(json['autoStopTime'])),
65
67
  'updatedAt': (new Date(json['updatedAt'])),
66
68
  };
67
69
  }
@@ -83,10 +85,12 @@ function WorkspaceToJSON(value) {
83
85
  'mountedDatasets': (value.mountedDatasets.map(MountedDataset_1.MountedDatasetToJSON)),
84
86
  'computeConfig': (0, WorkspaceComputeConfig_1.WorkspaceComputeConfigToJSON)(value.computeConfig),
85
87
  'sharingType': (0, SharingType_1.SharingTypeToJSON)(value.sharingType),
88
+ 'autoStopTimeout': value.autoStopTimeout,
86
89
  'sessions': value.sessions === undefined ? undefined : (value.sessions === null ? null : value.sessions.map(WorkspaceSession_1.WorkspaceSessionToJSON)),
87
90
  'createdBy': value.createdBy,
88
91
  'createdAt': (value.createdAt.toISOString()),
89
92
  'startedAt': value.startedAt === undefined ? undefined : (value.startedAt === null ? null : value.startedAt.toISOString()),
93
+ 'autoStopTime': value.autoStopTime === undefined ? undefined : (value.autoStopTime === null ? null : value.autoStopTime.toISOString()),
90
94
  'updatedAt': (value.updatedAt.toISOString()),
91
95
  };
92
96
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.12.4",
3
+ "version": "0.12.6",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {