Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openapitools.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"additionalProperties": {
"npmName": "@cirrobio/api-client",
"npmVersion": "0.12.3",
"npmVersion": "0.12.4",
"author": "CirroBio",
"stringEnums": true,
"supportsES6": true
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
_published:_

```
npm install @cirrobio/[email protected].3 --save
npm install @cirrobio/[email protected].4 --save
```

_unPublished (not recommended):_
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cirrobio/api-client",
"version": "0.12.3",
"version": "0.12.4",
"description": "API client for Cirro",
"author": "CirroBio",
"repository": {
Expand Down
1 change: 1 addition & 0 deletions packages/api-client/src/models/EntityType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export enum EntityType {
Process = 'PROCESS',
Reference = 'REFERENCE',
Notebook = 'NOTEBOOK',
Workspace = 'WORKSPACE',
Sample = 'SAMPLE',
Share = 'SHARE',
Tag = 'TAG',
Expand Down
8 changes: 8 additions & 0 deletions packages/api-client/src/models/WorkspaceInput.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ export interface WorkspaceInput {
* @memberof WorkspaceInput
*/
sharingType: SharingType;
/**
* Time period (in hours) to automatically stop the workspace if running
* @type {number}
* @memberof WorkspaceInput
*/
autoStopTimeout?: number | null;
}

/**
Expand Down Expand Up @@ -105,6 +111,7 @@ export function WorkspaceInputFromJSONTyped(json: any, ignoreDiscriminator: bool
'environmentId': !exists(json, 'environmentId') ? undefined : json['environmentId'],
'computeConfig': WorkspaceComputeConfigFromJSON(json['computeConfig']),
'sharingType': SharingTypeFromJSON(json['sharingType']),
'autoStopTimeout': !exists(json, 'autoStopTimeout') ? undefined : json['autoStopTimeout'],
};
}

Expand All @@ -123,6 +130,7 @@ export function WorkspaceInputToJSON(value?: WorkspaceInput | null): any {
'environmentId': value.environmentId,
'computeConfig': WorkspaceComputeConfigToJSON(value.computeConfig),
'sharingType': SharingTypeToJSON(value.sharingType),
'autoStopTimeout': value.autoStopTimeout,
};
}