@cirrobio/api-client 0.10.6 → 0.11.1

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.
Files changed (74) hide show
  1. package/README.md +1 -1
  2. package/dist/apis/ExecutionApi.d.ts +15 -1
  3. package/dist/apis/ExecutionApi.js +40 -0
  4. package/dist/apis/WorkspacesApi.d.ts +145 -0
  5. package/dist/apis/WorkspacesApi.js +398 -0
  6. package/dist/apis/index.d.ts +1 -0
  7. package/dist/apis/index.js +1 -0
  8. package/dist/esm/apis/ExecutionApi.d.ts +15 -1
  9. package/dist/esm/apis/ExecutionApi.js +41 -1
  10. package/dist/esm/apis/WorkspacesApi.d.ts +145 -0
  11. package/dist/esm/apis/WorkspacesApi.js +394 -0
  12. package/dist/esm/apis/index.d.ts +1 -0
  13. package/dist/esm/apis/index.js +1 -0
  14. package/dist/esm/models/CostResponse.d.ts +51 -0
  15. package/dist/esm/models/CostResponse.js +51 -0
  16. package/dist/esm/models/Dashboard.d.ts +2 -2
  17. package/dist/esm/models/Dashboard.js +3 -4
  18. package/dist/esm/models/DashboardRequest.d.ts +2 -2
  19. package/dist/esm/models/DashboardRequest.js +3 -4
  20. package/dist/esm/models/FeatureFlags.d.ts +6 -0
  21. package/dist/esm/models/FeatureFlags.js +3 -0
  22. package/dist/esm/models/GroupCost.d.ts +37 -0
  23. package/dist/esm/models/GroupCost.js +45 -0
  24. package/dist/esm/models/MountedDataset.d.ts +37 -0
  25. package/dist/esm/models/MountedDataset.js +46 -0
  26. package/dist/esm/models/ShareDetail.d.ts +0 -6
  27. package/dist/esm/models/ShareDetail.js +0 -3
  28. package/dist/esm/models/SharingType.d.ts +23 -0
  29. package/dist/esm/models/SharingType.js +32 -0
  30. package/dist/esm/models/TaskCost.d.ts +49 -0
  31. package/dist/esm/models/TaskCost.js +52 -0
  32. package/dist/esm/models/Workspace.d.ts +108 -0
  33. package/dist/esm/models/Workspace.js +84 -0
  34. package/dist/esm/models/WorkspaceComputeConfig.d.ts +63 -0
  35. package/dist/esm/models/WorkspaceComputeConfig.js +54 -0
  36. package/dist/esm/models/WorkspaceConnectionResponse.d.ts +43 -0
  37. package/dist/esm/models/WorkspaceConnectionResponse.js +49 -0
  38. package/dist/esm/models/WorkspaceInput.d.ts +58 -0
  39. package/dist/esm/models/WorkspaceInput.js +58 -0
  40. package/dist/esm/models/WorkspaceSession.d.ts +43 -0
  41. package/dist/esm/models/WorkspaceSession.js +49 -0
  42. package/dist/esm/models/index.d.ts +10 -0
  43. package/dist/esm/models/index.js +10 -0
  44. package/dist/models/CostResponse.d.ts +51 -0
  45. package/dist/models/CostResponse.js +58 -0
  46. package/dist/models/Dashboard.d.ts +2 -2
  47. package/dist/models/Dashboard.js +3 -4
  48. package/dist/models/DashboardRequest.d.ts +2 -2
  49. package/dist/models/DashboardRequest.js +3 -4
  50. package/dist/models/FeatureFlags.d.ts +6 -0
  51. package/dist/models/FeatureFlags.js +3 -0
  52. package/dist/models/GroupCost.d.ts +37 -0
  53. package/dist/models/GroupCost.js +52 -0
  54. package/dist/models/MountedDataset.d.ts +37 -0
  55. package/dist/models/MountedDataset.js +53 -0
  56. package/dist/models/ShareDetail.d.ts +0 -6
  57. package/dist/models/ShareDetail.js +0 -3
  58. package/dist/models/SharingType.d.ts +23 -0
  59. package/dist/models/SharingType.js +38 -0
  60. package/dist/models/TaskCost.d.ts +49 -0
  61. package/dist/models/TaskCost.js +59 -0
  62. package/dist/models/Workspace.d.ts +108 -0
  63. package/dist/models/Workspace.js +91 -0
  64. package/dist/models/WorkspaceComputeConfig.d.ts +63 -0
  65. package/dist/models/WorkspaceComputeConfig.js +61 -0
  66. package/dist/models/WorkspaceConnectionResponse.d.ts +43 -0
  67. package/dist/models/WorkspaceConnectionResponse.js +56 -0
  68. package/dist/models/WorkspaceInput.d.ts +58 -0
  69. package/dist/models/WorkspaceInput.js +65 -0
  70. package/dist/models/WorkspaceSession.d.ts +43 -0
  71. package/dist/models/WorkspaceSession.js +56 -0
  72. package/dist/models/index.d.ts +10 -0
  73. package/dist/models/index.js +10 -0
  74. package/package.json +1 -1
@@ -0,0 +1,84 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Cirro Data
5
+ * Cirro Data Platform service API
6
+ *
7
+ * The version of the OpenAPI document: latest
8
+ * Contact: support@cirro.bio
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ import { MountedDatasetFromJSON, MountedDatasetToJSON, } from './MountedDataset';
16
+ import { SharingTypeFromJSON, SharingTypeToJSON, } from './SharingType';
17
+ import { StatusFromJSON, StatusToJSON, } from './Status';
18
+ import { WorkspaceComputeConfigFromJSON, WorkspaceComputeConfigToJSON, } from './WorkspaceComputeConfig';
19
+ import { WorkspaceSessionFromJSON, WorkspaceSessionToJSON, } from './WorkspaceSession';
20
+ /**
21
+ * Check if a given object implements the Workspace interface.
22
+ */
23
+ export function instanceOfWorkspace(value) {
24
+ let isInstance = true;
25
+ isInstance = isInstance && "id" in value;
26
+ isInstance = isInstance && "name" in value;
27
+ isInstance = isInstance && "description" in value;
28
+ isInstance = isInstance && "status" in value;
29
+ isInstance = isInstance && "statusMessage" in value;
30
+ isInstance = isInstance && "mountedDatasets" in value;
31
+ isInstance = isInstance && "computeConfig" in value;
32
+ isInstance = isInstance && "sharingType" in value;
33
+ isInstance = isInstance && "createdBy" in value;
34
+ isInstance = isInstance && "createdAt" in value;
35
+ isInstance = isInstance && "startedAt" in value;
36
+ isInstance = isInstance && "updatedAt" in value;
37
+ return isInstance;
38
+ }
39
+ export function WorkspaceFromJSON(json) {
40
+ return WorkspaceFromJSONTyped(json, false);
41
+ }
42
+ export function WorkspaceFromJSONTyped(json, ignoreDiscriminator) {
43
+ if ((json === undefined) || (json === null)) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'id': json['id'],
48
+ 'name': json['name'],
49
+ 'description': json['description'],
50
+ 'status': StatusFromJSON(json['status']),
51
+ 'statusMessage': json['statusMessage'],
52
+ 'mountedDatasets': (json['mountedDatasets'].map(MountedDatasetFromJSON)),
53
+ 'computeConfig': WorkspaceComputeConfigFromJSON(json['computeConfig']),
54
+ 'sharingType': SharingTypeFromJSON(json['sharingType']),
55
+ 'sessions': !exists(json, 'sessions') ? undefined : (json['sessions'] === null ? null : json['sessions'].map(WorkspaceSessionFromJSON)),
56
+ 'createdBy': json['createdBy'],
57
+ 'createdAt': (new Date(json['createdAt'])),
58
+ 'startedAt': (new Date(json['startedAt'])),
59
+ 'updatedAt': (new Date(json['updatedAt'])),
60
+ };
61
+ }
62
+ export function WorkspaceToJSON(value) {
63
+ if (value === undefined) {
64
+ return undefined;
65
+ }
66
+ if (value === null) {
67
+ return null;
68
+ }
69
+ return {
70
+ 'id': value.id,
71
+ 'name': value.name,
72
+ 'description': value.description,
73
+ 'status': StatusToJSON(value.status),
74
+ 'statusMessage': value.statusMessage,
75
+ 'mountedDatasets': (value.mountedDatasets.map(MountedDatasetToJSON)),
76
+ 'computeConfig': WorkspaceComputeConfigToJSON(value.computeConfig),
77
+ 'sharingType': SharingTypeToJSON(value.sharingType),
78
+ 'sessions': value.sessions === undefined ? undefined : (value.sessions === null ? null : value.sessions.map(WorkspaceSessionToJSON)),
79
+ 'createdBy': value.createdBy,
80
+ 'createdAt': (value.createdAt.toISOString()),
81
+ 'startedAt': (value.startedAt.toISOString()),
82
+ 'updatedAt': (value.updatedAt.toISOString()),
83
+ };
84
+ }
@@ -0,0 +1,63 @@
1
+ /**
2
+ * Cirro Data
3
+ * Cirro Data Platform service API
4
+ *
5
+ * The version of the OpenAPI document: latest
6
+ * Contact: support@cirro.bio
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Configuration parameters for a containerized workspace compute environment.
14
+ * @export
15
+ * @interface WorkspaceComputeConfig
16
+ */
17
+ export interface WorkspaceComputeConfig {
18
+ /**
19
+ * Fully qualified container image URI (including registry, repository, and tag).
20
+ * @type {string}
21
+ * @memberof WorkspaceComputeConfig
22
+ */
23
+ containerImageUri: string;
24
+ /**
25
+ * Number of vCPU cores allocated to the workspace.
26
+ * @type {number}
27
+ * @memberof WorkspaceComputeConfig
28
+ */
29
+ cpu?: number;
30
+ /**
31
+ * Memory allocated to the workspace container in GiB.
32
+ * @type {number}
33
+ * @memberof WorkspaceComputeConfig
34
+ */
35
+ memoryGib?: number;
36
+ /**
37
+ * Persistent storage volume size allocated to the workspace in GiB.
38
+ * @type {number}
39
+ * @memberof WorkspaceComputeConfig
40
+ */
41
+ volumeSizeGib?: number;
42
+ /**
43
+ * Map of environment variables injected into the container at runtime. Keys must be non-blank.
44
+ * @type {{ [key: string]: string; }}
45
+ * @memberof WorkspaceComputeConfig
46
+ */
47
+ environmentVariables?: {
48
+ [key: string]: string;
49
+ } | null;
50
+ /**
51
+ * User-facing web server port (http).
52
+ * @type {number}
53
+ * @memberof WorkspaceComputeConfig
54
+ */
55
+ localPort?: number;
56
+ }
57
+ /**
58
+ * Check if a given object implements the WorkspaceComputeConfig interface.
59
+ */
60
+ export declare function instanceOfWorkspaceComputeConfig(value: object): boolean;
61
+ export declare function WorkspaceComputeConfigFromJSON(json: any): WorkspaceComputeConfig;
62
+ export declare function WorkspaceComputeConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkspaceComputeConfig;
63
+ export declare function WorkspaceComputeConfigToJSON(value?: WorkspaceComputeConfig | null): any;
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Cirro Data
5
+ * Cirro Data Platform service API
6
+ *
7
+ * The version of the OpenAPI document: latest
8
+ * Contact: support@cirro.bio
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ /**
16
+ * Check if a given object implements the WorkspaceComputeConfig interface.
17
+ */
18
+ export function instanceOfWorkspaceComputeConfig(value) {
19
+ let isInstance = true;
20
+ isInstance = isInstance && "containerImageUri" in value;
21
+ return isInstance;
22
+ }
23
+ export function WorkspaceComputeConfigFromJSON(json) {
24
+ return WorkspaceComputeConfigFromJSONTyped(json, false);
25
+ }
26
+ export function WorkspaceComputeConfigFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'containerImageUri': json['containerImageUri'],
32
+ 'cpu': !exists(json, 'cpu') ? undefined : json['cpu'],
33
+ 'memoryGib': !exists(json, 'memoryGib') ? undefined : json['memoryGib'],
34
+ 'volumeSizeGib': !exists(json, 'volumeSizeGib') ? undefined : json['volumeSizeGib'],
35
+ 'environmentVariables': !exists(json, 'environmentVariables') ? undefined : json['environmentVariables'],
36
+ 'localPort': !exists(json, 'localPort') ? undefined : json['localPort'],
37
+ };
38
+ }
39
+ export function WorkspaceComputeConfigToJSON(value) {
40
+ if (value === undefined) {
41
+ return undefined;
42
+ }
43
+ if (value === null) {
44
+ return null;
45
+ }
46
+ return {
47
+ 'containerImageUri': value.containerImageUri,
48
+ 'cpu': value.cpu,
49
+ 'memoryGib': value.memoryGib,
50
+ 'volumeSizeGib': value.volumeSizeGib,
51
+ 'environmentVariables': value.environmentVariables,
52
+ 'localPort': value.localPort,
53
+ };
54
+ }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Cirro Data
3
+ * Cirro Data Platform service API
4
+ *
5
+ * The version of the OpenAPI document: latest
6
+ * Contact: support@cirro.bio
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface WorkspaceConnectionResponse
16
+ */
17
+ export interface WorkspaceConnectionResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof WorkspaceConnectionResponse
22
+ */
23
+ connectionUrl: string;
24
+ /**
25
+ *
26
+ * @type {Date}
27
+ * @memberof WorkspaceConnectionResponse
28
+ */
29
+ expiresAt: Date;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof WorkspaceConnectionResponse
34
+ */
35
+ message: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the WorkspaceConnectionResponse interface.
39
+ */
40
+ export declare function instanceOfWorkspaceConnectionResponse(value: object): boolean;
41
+ export declare function WorkspaceConnectionResponseFromJSON(json: any): WorkspaceConnectionResponse;
42
+ export declare function WorkspaceConnectionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkspaceConnectionResponse;
43
+ export declare function WorkspaceConnectionResponseToJSON(value?: WorkspaceConnectionResponse | null): any;
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Cirro Data
5
+ * Cirro Data Platform service API
6
+ *
7
+ * The version of the OpenAPI document: latest
8
+ * Contact: support@cirro.bio
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the WorkspaceConnectionResponse interface.
16
+ */
17
+ export function instanceOfWorkspaceConnectionResponse(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "connectionUrl" in value;
20
+ isInstance = isInstance && "expiresAt" in value;
21
+ isInstance = isInstance && "message" in value;
22
+ return isInstance;
23
+ }
24
+ export function WorkspaceConnectionResponseFromJSON(json) {
25
+ return WorkspaceConnectionResponseFromJSONTyped(json, false);
26
+ }
27
+ export function WorkspaceConnectionResponseFromJSONTyped(json, ignoreDiscriminator) {
28
+ if ((json === undefined) || (json === null)) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'connectionUrl': json['connectionUrl'],
33
+ 'expiresAt': (new Date(json['expiresAt'])),
34
+ 'message': json['message'],
35
+ };
36
+ }
37
+ export function WorkspaceConnectionResponseToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'connectionUrl': value.connectionUrl,
46
+ 'expiresAt': (value.expiresAt.toISOString()),
47
+ 'message': value.message,
48
+ };
49
+ }
@@ -0,0 +1,58 @@
1
+ /**
2
+ * Cirro Data
3
+ * Cirro Data Platform service API
4
+ *
5
+ * The version of the OpenAPI document: latest
6
+ * Contact: support@cirro.bio
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { MountedDataset } from './MountedDataset';
13
+ import type { SharingType } from './SharingType';
14
+ import type { WorkspaceComputeConfig } from './WorkspaceComputeConfig';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface WorkspaceInput
19
+ */
20
+ export interface WorkspaceInput {
21
+ /**
22
+ * Name of the workspace.
23
+ * @type {string}
24
+ * @memberof WorkspaceInput
25
+ */
26
+ name: string;
27
+ /**
28
+ * Description of the workspace.
29
+ * @type {string}
30
+ * @memberof WorkspaceInput
31
+ */
32
+ description?: string;
33
+ /**
34
+ * List of datasets to mount into the workspace.
35
+ * @type {Array<MountedDataset>}
36
+ * @memberof WorkspaceInput
37
+ */
38
+ mountedDatasets: Array<MountedDataset>;
39
+ /**
40
+ *
41
+ * @type {WorkspaceComputeConfig}
42
+ * @memberof WorkspaceInput
43
+ */
44
+ computeConfig: WorkspaceComputeConfig;
45
+ /**
46
+ *
47
+ * @type {SharingType}
48
+ * @memberof WorkspaceInput
49
+ */
50
+ sharingType: SharingType;
51
+ }
52
+ /**
53
+ * Check if a given object implements the WorkspaceInput interface.
54
+ */
55
+ export declare function instanceOfWorkspaceInput(value: object): boolean;
56
+ export declare function WorkspaceInputFromJSON(json: any): WorkspaceInput;
57
+ export declare function WorkspaceInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkspaceInput;
58
+ export declare function WorkspaceInputToJSON(value?: WorkspaceInput | null): any;
@@ -0,0 +1,58 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Cirro Data
5
+ * Cirro Data Platform service API
6
+ *
7
+ * The version of the OpenAPI document: latest
8
+ * Contact: support@cirro.bio
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { exists } from '../runtime';
15
+ import { MountedDatasetFromJSON, MountedDatasetToJSON, } from './MountedDataset';
16
+ import { SharingTypeFromJSON, SharingTypeToJSON, } from './SharingType';
17
+ import { WorkspaceComputeConfigFromJSON, WorkspaceComputeConfigToJSON, } from './WorkspaceComputeConfig';
18
+ /**
19
+ * Check if a given object implements the WorkspaceInput interface.
20
+ */
21
+ export function instanceOfWorkspaceInput(value) {
22
+ let isInstance = true;
23
+ isInstance = isInstance && "name" in value;
24
+ isInstance = isInstance && "mountedDatasets" in value;
25
+ isInstance = isInstance && "computeConfig" in value;
26
+ isInstance = isInstance && "sharingType" in value;
27
+ return isInstance;
28
+ }
29
+ export function WorkspaceInputFromJSON(json) {
30
+ return WorkspaceInputFromJSONTyped(json, false);
31
+ }
32
+ export function WorkspaceInputFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'name': json['name'],
38
+ 'description': !exists(json, 'description') ? undefined : json['description'],
39
+ 'mountedDatasets': (json['mountedDatasets'].map(MountedDatasetFromJSON)),
40
+ 'computeConfig': WorkspaceComputeConfigFromJSON(json['computeConfig']),
41
+ 'sharingType': SharingTypeFromJSON(json['sharingType']),
42
+ };
43
+ }
44
+ export function WorkspaceInputToJSON(value) {
45
+ if (value === undefined) {
46
+ return undefined;
47
+ }
48
+ if (value === null) {
49
+ return null;
50
+ }
51
+ return {
52
+ 'name': value.name,
53
+ 'description': value.description,
54
+ 'mountedDatasets': (value.mountedDatasets.map(MountedDatasetToJSON)),
55
+ 'computeConfig': WorkspaceComputeConfigToJSON(value.computeConfig),
56
+ 'sharingType': SharingTypeToJSON(value.sharingType),
57
+ };
58
+ }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * Cirro Data
3
+ * Cirro Data Platform service API
4
+ *
5
+ * The version of the OpenAPI document: latest
6
+ * Contact: support@cirro.bio
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface WorkspaceSession
16
+ */
17
+ export interface WorkspaceSession {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof WorkspaceSession
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof WorkspaceSession
28
+ */
29
+ user: string;
30
+ /**
31
+ *
32
+ * @type {Date}
33
+ * @memberof WorkspaceSession
34
+ */
35
+ createdAt: Date;
36
+ }
37
+ /**
38
+ * Check if a given object implements the WorkspaceSession interface.
39
+ */
40
+ export declare function instanceOfWorkspaceSession(value: object): boolean;
41
+ export declare function WorkspaceSessionFromJSON(json: any): WorkspaceSession;
42
+ export declare function WorkspaceSessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkspaceSession;
43
+ export declare function WorkspaceSessionToJSON(value?: WorkspaceSession | null): any;
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Cirro Data
5
+ * Cirro Data Platform service API
6
+ *
7
+ * The version of the OpenAPI document: latest
8
+ * Contact: support@cirro.bio
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the WorkspaceSession interface.
16
+ */
17
+ export function instanceOfWorkspaceSession(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "id" in value;
20
+ isInstance = isInstance && "user" in value;
21
+ isInstance = isInstance && "createdAt" in value;
22
+ return isInstance;
23
+ }
24
+ export function WorkspaceSessionFromJSON(json) {
25
+ return WorkspaceSessionFromJSONTyped(json, false);
26
+ }
27
+ export function WorkspaceSessionFromJSONTyped(json, ignoreDiscriminator) {
28
+ if ((json === undefined) || (json === null)) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'id': json['id'],
33
+ 'user': json['user'],
34
+ 'createdAt': (new Date(json['createdAt'])),
35
+ };
36
+ }
37
+ export function WorkspaceSessionToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'id': value.id,
46
+ 'user': value.user,
47
+ 'createdAt': (value.createdAt.toISOString()),
48
+ };
49
+ }
@@ -22,6 +22,7 @@ export * from './ComputeEnvironmentConfiguration';
22
22
  export * from './ComputeEnvironmentConfigurationInput';
23
23
  export * from './Contact';
24
24
  export * from './ContactInput';
25
+ export * from './CostResponse';
25
26
  export * from './CreateNotebookInstanceRequest';
26
27
  export * from './CreateProjectAccessRequest';
27
28
  export * from './CreateReferenceRequest';
@@ -69,6 +70,7 @@ export * from './GovernanceRequirement';
69
70
  export * from './GovernanceScope';
70
71
  export * from './GovernanceTrainingVerification';
71
72
  export * from './GovernanceType';
73
+ export * from './GroupCost';
72
74
  export * from './ImportDataRequest';
73
75
  export * from './InviteUserRequest';
74
76
  export * from './InviteUserResponse';
@@ -78,6 +80,7 @@ export * from './Message';
78
80
  export * from './MessageInput';
79
81
  export * from './MessageType';
80
82
  export * from './MetricRecord';
83
+ export * from './MountedDataset';
81
84
  export * from './MoveDatasetInput';
82
85
  export * from './MoveDatasetResponse';
83
86
  export * from './NamedItem';
@@ -125,6 +128,7 @@ export * from './Share';
125
128
  export * from './ShareDetail';
126
129
  export * from './ShareInput';
127
130
  export * from './ShareType';
131
+ export * from './SharingType';
128
132
  export * from './SortOrder';
129
133
  export * from './Status';
130
134
  export * from './StopExecutionResponse';
@@ -133,6 +137,7 @@ export * from './SystemInfoResponse';
133
137
  export * from './Table';
134
138
  export * from './Tag';
135
139
  export * from './Task';
140
+ export * from './TaskCost';
136
141
  export * from './TenantInfo';
137
142
  export * from './UpdateDatasetRequest';
138
143
  export * from './UpdateUserRequest';
@@ -144,3 +149,8 @@ export * from './UserProjectAssignment';
144
149
  export * from './UserSettings';
145
150
  export * from './ValidateFileNamePatternsRequest';
146
151
  export * from './ValidateFileRequirementsRequest';
152
+ export * from './Workspace';
153
+ export * from './WorkspaceComputeConfig';
154
+ export * from './WorkspaceConnectionResponse';
155
+ export * from './WorkspaceInput';
156
+ export * from './WorkspaceSession';
@@ -24,6 +24,7 @@ export * from './ComputeEnvironmentConfiguration';
24
24
  export * from './ComputeEnvironmentConfigurationInput';
25
25
  export * from './Contact';
26
26
  export * from './ContactInput';
27
+ export * from './CostResponse';
27
28
  export * from './CreateNotebookInstanceRequest';
28
29
  export * from './CreateProjectAccessRequest';
29
30
  export * from './CreateReferenceRequest';
@@ -71,6 +72,7 @@ export * from './GovernanceRequirement';
71
72
  export * from './GovernanceScope';
72
73
  export * from './GovernanceTrainingVerification';
73
74
  export * from './GovernanceType';
75
+ export * from './GroupCost';
74
76
  export * from './ImportDataRequest';
75
77
  export * from './InviteUserRequest';
76
78
  export * from './InviteUserResponse';
@@ -80,6 +82,7 @@ export * from './Message';
80
82
  export * from './MessageInput';
81
83
  export * from './MessageType';
82
84
  export * from './MetricRecord';
85
+ export * from './MountedDataset';
83
86
  export * from './MoveDatasetInput';
84
87
  export * from './MoveDatasetResponse';
85
88
  export * from './NamedItem';
@@ -127,6 +130,7 @@ export * from './Share';
127
130
  export * from './ShareDetail';
128
131
  export * from './ShareInput';
129
132
  export * from './ShareType';
133
+ export * from './SharingType';
130
134
  export * from './SortOrder';
131
135
  export * from './Status';
132
136
  export * from './StopExecutionResponse';
@@ -135,6 +139,7 @@ export * from './SystemInfoResponse';
135
139
  export * from './Table';
136
140
  export * from './Tag';
137
141
  export * from './Task';
142
+ export * from './TaskCost';
138
143
  export * from './TenantInfo';
139
144
  export * from './UpdateDatasetRequest';
140
145
  export * from './UpdateUserRequest';
@@ -146,3 +151,8 @@ export * from './UserProjectAssignment';
146
151
  export * from './UserSettings';
147
152
  export * from './ValidateFileNamePatternsRequest';
148
153
  export * from './ValidateFileRequirementsRequest';
154
+ export * from './Workspace';
155
+ export * from './WorkspaceComputeConfig';
156
+ export * from './WorkspaceConnectionResponse';
157
+ export * from './WorkspaceInput';
158
+ export * from './WorkspaceSession';
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Cirro Data
3
+ * Cirro Data Platform service API
4
+ *
5
+ * The version of the OpenAPI document: latest
6
+ * Contact: support@cirro.bio
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { GroupCost } from './GroupCost';
13
+ import type { TaskCost } from './TaskCost';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CostResponse
18
+ */
19
+ export interface CostResponse {
20
+ /**
21
+ * Total cost
22
+ * @type {number}
23
+ * @memberof CostResponse
24
+ */
25
+ totalCost?: number;
26
+ /**
27
+ * Costs grouped by the task status
28
+ * @type {Array<GroupCost>}
29
+ * @memberof CostResponse
30
+ */
31
+ groups?: Array<GroupCost>;
32
+ /**
33
+ * Costs for each workflow task
34
+ * @type {Array<TaskCost>}
35
+ * @memberof CostResponse
36
+ */
37
+ tasks?: Array<TaskCost>;
38
+ /**
39
+ * Whether this is an estimated cost
40
+ * @type {boolean}
41
+ * @memberof CostResponse
42
+ */
43
+ isEstimate?: boolean;
44
+ }
45
+ /**
46
+ * Check if a given object implements the CostResponse interface.
47
+ */
48
+ export declare function instanceOfCostResponse(value: object): boolean;
49
+ export declare function CostResponseFromJSON(json: any): CostResponse;
50
+ export declare function CostResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CostResponse;
51
+ export declare function CostResponseToJSON(value?: CostResponse | null): any;