@cirrobio/api-client 0.0.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.
- package/.openapi-generator/FILES +54 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +45 -0
- package/dist/apis/BillingApi.d.ts +68 -0
- package/dist/apis/BillingApi.js +264 -0
- package/dist/apis/DatasetsApi.d.ts +88 -0
- package/dist/apis/DatasetsApi.js +335 -0
- package/dist/apis/ExecutionApi.d.ts +96 -0
- package/dist/apis/ExecutionApi.js +394 -0
- package/dist/apis/MetricsApi.d.ts +31 -0
- package/dist/apis/MetricsApi.js +126 -0
- package/dist/apis/NotebooksApi.d.ts +77 -0
- package/dist/apis/NotebooksApi.js +351 -0
- package/dist/apis/ProcessesApi.d.ts +41 -0
- package/dist/apis/ProcessesApi.js +169 -0
- package/dist/apis/ProjectsApi.d.ts +97 -0
- package/dist/apis/ProjectsApi.js +369 -0
- package/dist/apis/SystemApi.d.ts +46 -0
- package/dist/apis/SystemApi.js +207 -0
- package/dist/apis/UsersApi.d.ts +58 -0
- package/dist/apis/UsersApi.js +226 -0
- package/dist/apis/index.d.ts +9 -0
- package/dist/apis/index.js +27 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/BillingAccount.d.ts +82 -0
- package/dist/models/BillingAccount.js +77 -0
- package/dist/models/BillingMethod.d.ts +24 -0
- package/dist/models/BillingMethod.js +37 -0
- package/dist/models/BudgetPeriod.d.ts +24 -0
- package/dist/models/BudgetPeriod.js +37 -0
- package/dist/models/CloudAccount.d.ts +50 -0
- package/dist/models/CloudAccount.js +57 -0
- package/dist/models/Contact.d.ts +49 -0
- package/dist/models/Contact.js +56 -0
- package/dist/models/CreateNotebookInstanceRequest.d.ts +49 -0
- package/dist/models/CreateNotebookInstanceRequest.js +59 -0
- package/dist/models/CreateResponse.d.ts +37 -0
- package/dist/models/CreateResponse.js +53 -0
- package/dist/models/CustomerType.d.ts +25 -0
- package/dist/models/CustomerType.js +38 -0
- package/dist/models/Dataset.d.ts +86 -0
- package/dist/models/Dataset.js +78 -0
- package/dist/models/DatasetDetail.d.ts +114 -0
- package/dist/models/DatasetDetail.js +90 -0
- package/dist/models/DatasetType.d.ts +23 -0
- package/dist/models/DatasetType.js +36 -0
- package/dist/models/Executor.d.ts +24 -0
- package/dist/models/Executor.js +37 -0
- package/dist/models/FormSchema.d.ts +41 -0
- package/dist/models/FormSchema.js +52 -0
- package/dist/models/GetExecutionLogsResponse.d.ts +32 -0
- package/dist/models/GetExecutionLogsResponse.js +51 -0
- package/dist/models/LogEntry.d.ts +37 -0
- package/dist/models/LogEntry.js +53 -0
- package/dist/models/NotebookInstance.d.ts +43 -0
- package/dist/models/NotebookInstance.js +56 -0
- package/dist/models/OpenNotebookInstanceResponse.d.ts +37 -0
- package/dist/models/OpenNotebookInstanceResponse.js +53 -0
- package/dist/models/Process.d.ts +68 -0
- package/dist/models/Process.js +63 -0
- package/dist/models/Project.d.ts +49 -0
- package/dist/models/Project.js +59 -0
- package/dist/models/ProjectDetail.d.ts +100 -0
- package/dist/models/ProjectDetail.js +86 -0
- package/dist/models/ProjectMetrics.d.ts +47 -0
- package/dist/models/ProjectMetrics.js +56 -0
- package/dist/models/ProjectRequest.d.ts +71 -0
- package/dist/models/ProjectRequest.js +72 -0
- package/dist/models/ProjectRole.d.ts +25 -0
- package/dist/models/ProjectRole.js +38 -0
- package/dist/models/ProjectSettings.d.ts +92 -0
- package/dist/models/ProjectSettings.js +71 -0
- package/dist/models/ReferenceType.d.ts +31 -0
- package/dist/models/ReferenceType.js +50 -0
- package/dist/models/Region.d.ts +31 -0
- package/dist/models/Region.js +50 -0
- package/dist/models/RegisterDatasetRequest.d.ts +31 -0
- package/dist/models/RegisterDatasetRequest.js +50 -0
- package/dist/models/ServiceConnection.d.ts +31 -0
- package/dist/models/ServiceConnection.js +50 -0
- package/dist/models/SetUserProjectRoleRequest.d.ts +31 -0
- package/dist/models/SetUserProjectRoleRequest.js +50 -0
- package/dist/models/StopExecutionResponse.d.ts +37 -0
- package/dist/models/StopExecutionResponse.js +52 -0
- package/dist/models/SystemInfoResponse.d.ts +55 -0
- package/dist/models/SystemInfoResponse.js +62 -0
- package/dist/models/Tag.d.ts +37 -0
- package/dist/models/Tag.js +53 -0
- package/dist/models/Task.d.ts +73 -0
- package/dist/models/Task.js +68 -0
- package/dist/models/UpdateDatasetRequest.d.ts +31 -0
- package/dist/models/UpdateDatasetRequest.js +50 -0
- package/dist/models/UpdateUserRequest.d.ts +57 -0
- package/dist/models/UpdateUserRequest.js +62 -0
- package/dist/models/User.d.ts +49 -0
- package/dist/models/User.js +59 -0
- package/dist/models/index.d.ts +36 -0
- package/dist/models/index.js +54 -0
- package/dist/runtime.d.ts +182 -0
- package/dist/runtime.js +562 -0
- package/package.json +22 -0
- package/src/apis/BillingApi.ts +178 -0
- package/src/apis/DatasetsApi.ts +257 -0
- package/src/apis/ExecutionApi.ts +317 -0
- package/src/apis/MetricsApi.ts +66 -0
- package/src/apis/NotebooksApi.ts +261 -0
- package/src/apis/ProcessesApi.ts +97 -0
- package/src/apis/ProjectsApi.ts +283 -0
- package/src/apis/SystemApi.ts +118 -0
- package/src/apis/UsersApi.ts +153 -0
- package/src/apis/index.ts +11 -0
- package/src/index.ts +5 -0
- package/src/models/BillingAccount.ts +157 -0
- package/src/models/BillingMethod.ts +39 -0
- package/src/models/BudgetPeriod.ts +39 -0
- package/src/models/CloudAccount.ts +96 -0
- package/src/models/Contact.ts +89 -0
- package/src/models/CreateNotebookInstanceRequest.ts +93 -0
- package/src/models/CreateResponse.ts +75 -0
- package/src/models/CustomerType.ts +40 -0
- package/src/models/Dataset.ts +154 -0
- package/src/models/DatasetDetail.ts +190 -0
- package/src/models/DatasetType.ts +38 -0
- package/src/models/Executor.ts +39 -0
- package/src/models/FormSchema.ts +73 -0
- package/src/models/GetExecutionLogsResponse.ts +73 -0
- package/src/models/LogEntry.ts +74 -0
- package/src/models/NotebookInstance.ts +84 -0
- package/src/models/OpenNotebookInstanceResponse.ts +75 -0
- package/src/models/Process.ts +120 -0
- package/src/models/Project.ts +93 -0
- package/src/models/ProjectDetail.ts +184 -0
- package/src/models/ProjectMetrics.ts +84 -0
- package/src/models/ProjectRequest.ts +145 -0
- package/src/models/ProjectRole.ts +40 -0
- package/src/models/ProjectSettings.ts +152 -0
- package/src/models/ReferenceType.ts +66 -0
- package/src/models/Region.ts +65 -0
- package/src/models/RegisterDatasetRequest.ts +65 -0
- package/src/models/ServiceConnection.ts +66 -0
- package/src/models/SetUserProjectRoleRequest.ts +65 -0
- package/src/models/StopExecutionResponse.ts +73 -0
- package/src/models/SystemInfoResponse.ts +102 -0
- package/src/models/Tag.ts +75 -0
- package/src/models/Task.ts +125 -0
- package/src/models/UpdateDatasetRequest.ts +65 -0
- package/src/models/UpdateUserRequest.ts +102 -0
- package/src/models/User.ts +93 -0
- package/src/models/index.ts +38 -0
- package/src/runtime.ts +431 -0
- package/templates/README.mustache +45 -0
- package/templates/package.mustache +43 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,71 @@
|
|
|
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 { CloudAccount } from './CloudAccount';
|
|
13
|
+
import type { Contact } from './Contact';
|
|
14
|
+
import type { ProjectSettings } from './ProjectSettings';
|
|
15
|
+
import type { Tag } from './Tag';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ProjectRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface ProjectRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ProjectRequest
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ProjectRequest
|
|
32
|
+
*/
|
|
33
|
+
description: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ProjectRequest
|
|
38
|
+
*/
|
|
39
|
+
billingAccountId: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {ProjectSettings}
|
|
43
|
+
* @memberof ProjectRequest
|
|
44
|
+
*/
|
|
45
|
+
settings: ProjectSettings;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Array<Contact>}
|
|
49
|
+
* @memberof ProjectRequest
|
|
50
|
+
*/
|
|
51
|
+
contacts: Array<Contact>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {CloudAccount}
|
|
55
|
+
* @memberof ProjectRequest
|
|
56
|
+
*/
|
|
57
|
+
account: CloudAccount;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {Array<Tag>}
|
|
61
|
+
* @memberof ProjectRequest
|
|
62
|
+
*/
|
|
63
|
+
tags: Array<Tag>;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Check if a given object implements the ProjectRequest interface.
|
|
67
|
+
*/
|
|
68
|
+
export declare function instanceOfProjectRequest(value: object): boolean;
|
|
69
|
+
export declare function ProjectRequestFromJSON(json: any): ProjectRequest;
|
|
70
|
+
export declare function ProjectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectRequest;
|
|
71
|
+
export declare function ProjectRequestToJSON(value?: ProjectRequest | null): any;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ProjectRequestToJSON = exports.ProjectRequestFromJSONTyped = exports.ProjectRequestFromJSON = exports.instanceOfProjectRequest = void 0;
|
|
17
|
+
var CloudAccount_1 = require("./CloudAccount");
|
|
18
|
+
var Contact_1 = require("./Contact");
|
|
19
|
+
var ProjectSettings_1 = require("./ProjectSettings");
|
|
20
|
+
var Tag_1 = require("./Tag");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ProjectRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfProjectRequest(value) {
|
|
25
|
+
var isInstance = true;
|
|
26
|
+
isInstance = isInstance && "name" in value;
|
|
27
|
+
isInstance = isInstance && "description" in value;
|
|
28
|
+
isInstance = isInstance && "billingAccountId" in value;
|
|
29
|
+
isInstance = isInstance && "settings" in value;
|
|
30
|
+
isInstance = isInstance && "contacts" in value;
|
|
31
|
+
isInstance = isInstance && "account" in value;
|
|
32
|
+
isInstance = isInstance && "tags" in value;
|
|
33
|
+
return isInstance;
|
|
34
|
+
}
|
|
35
|
+
exports.instanceOfProjectRequest = instanceOfProjectRequest;
|
|
36
|
+
function ProjectRequestFromJSON(json) {
|
|
37
|
+
return ProjectRequestFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
exports.ProjectRequestFromJSON = ProjectRequestFromJSON;
|
|
40
|
+
function ProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if ((json === undefined) || (json === null)) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'name': json['name'],
|
|
46
|
+
'description': json['description'],
|
|
47
|
+
'billingAccountId': json['billingAccountId'],
|
|
48
|
+
'settings': (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
|
|
49
|
+
'contacts': (json['contacts'].map(Contact_1.ContactFromJSON)),
|
|
50
|
+
'account': (0, CloudAccount_1.CloudAccountFromJSON)(json['account']),
|
|
51
|
+
'tags': (json['tags'].map(Tag_1.TagFromJSON)),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
exports.ProjectRequestFromJSONTyped = ProjectRequestFromJSONTyped;
|
|
55
|
+
function ProjectRequestToJSON(value) {
|
|
56
|
+
if (value === undefined) {
|
|
57
|
+
return undefined;
|
|
58
|
+
}
|
|
59
|
+
if (value === null) {
|
|
60
|
+
return null;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'name': value.name,
|
|
64
|
+
'description': value.description,
|
|
65
|
+
'billingAccountId': value.billingAccountId,
|
|
66
|
+
'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value.settings),
|
|
67
|
+
'contacts': (value.contacts.map(Contact_1.ContactToJSON)),
|
|
68
|
+
'account': (0, CloudAccount_1.CloudAccountToJSON)(value.account),
|
|
69
|
+
'tags': (value.tags.map(Tag_1.TagToJSON)),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
exports.ProjectRequestToJSON = ProjectRequestToJSON;
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const ProjectRole: {
|
|
17
|
+
readonly Admin: "ADMIN";
|
|
18
|
+
readonly Contributor: "CONTRIBUTOR";
|
|
19
|
+
readonly Collaborator: "COLLABORATOR";
|
|
20
|
+
readonly None: "NONE";
|
|
21
|
+
};
|
|
22
|
+
export type ProjectRole = typeof ProjectRole[keyof typeof ProjectRole];
|
|
23
|
+
export declare function ProjectRoleFromJSON(json: any): ProjectRole;
|
|
24
|
+
export declare function ProjectRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectRole;
|
|
25
|
+
export declare function ProjectRoleToJSON(value?: ProjectRole | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ProjectRoleToJSON = exports.ProjectRoleFromJSONTyped = exports.ProjectRoleFromJSON = exports.ProjectRole = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.ProjectRole = {
|
|
22
|
+
Admin: 'ADMIN',
|
|
23
|
+
Contributor: 'CONTRIBUTOR',
|
|
24
|
+
Collaborator: 'COLLABORATOR',
|
|
25
|
+
None: 'NONE'
|
|
26
|
+
};
|
|
27
|
+
function ProjectRoleFromJSON(json) {
|
|
28
|
+
return ProjectRoleFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.ProjectRoleFromJSON = ProjectRoleFromJSON;
|
|
31
|
+
function ProjectRoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
exports.ProjectRoleFromJSONTyped = ProjectRoleFromJSONTyped;
|
|
35
|
+
function ProjectRoleToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
exports.ProjectRoleToJSON = ProjectRoleToJSON;
|
|
@@ -0,0 +1,92 @@
|
|
|
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 { BudgetPeriod } from './BudgetPeriod';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProjectSettings
|
|
17
|
+
*/
|
|
18
|
+
export interface ProjectSettings {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ProjectSettings
|
|
23
|
+
*/
|
|
24
|
+
budgetAmount?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {BudgetPeriod}
|
|
28
|
+
* @memberof ProjectSettings
|
|
29
|
+
*/
|
|
30
|
+
budgetPeriod?: BudgetPeriod;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ProjectSettings
|
|
35
|
+
*/
|
|
36
|
+
dragenAmi?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof ProjectSettings
|
|
41
|
+
*/
|
|
42
|
+
enableBackup?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof ProjectSettings
|
|
47
|
+
*/
|
|
48
|
+
enableCompute?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof ProjectSettings
|
|
53
|
+
*/
|
|
54
|
+
enableDragen?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {boolean}
|
|
58
|
+
* @memberof ProjectSettings
|
|
59
|
+
*/
|
|
60
|
+
enableSftp?: boolean;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof ProjectSettings
|
|
65
|
+
*/
|
|
66
|
+
maxF1VCPU?: number;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof ProjectSettings
|
|
71
|
+
*/
|
|
72
|
+
maxSpotVCPU?: number;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof ProjectSettings
|
|
77
|
+
*/
|
|
78
|
+
retentionPolicyDays?: number;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {Array<string>}
|
|
82
|
+
* @memberof ProjectSettings
|
|
83
|
+
*/
|
|
84
|
+
serviceConnections?: Array<string>;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Check if a given object implements the ProjectSettings interface.
|
|
88
|
+
*/
|
|
89
|
+
export declare function instanceOfProjectSettings(value: object): boolean;
|
|
90
|
+
export declare function ProjectSettingsFromJSON(json: any): ProjectSettings;
|
|
91
|
+
export declare function ProjectSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettings;
|
|
92
|
+
export declare function ProjectSettingsToJSON(value?: ProjectSettings | null): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ProjectSettingsToJSON = exports.ProjectSettingsFromJSONTyped = exports.ProjectSettingsFromJSON = exports.instanceOfProjectSettings = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var BudgetPeriod_1 = require("./BudgetPeriod");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the ProjectSettings interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfProjectSettings(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfProjectSettings = instanceOfProjectSettings;
|
|
27
|
+
function ProjectSettingsFromJSON(json) {
|
|
28
|
+
return ProjectSettingsFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.ProjectSettingsFromJSON = ProjectSettingsFromJSON;
|
|
31
|
+
function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'budgetAmount': !(0, runtime_1.exists)(json, 'budgetAmount') ? undefined : json['budgetAmount'],
|
|
37
|
+
'budgetPeriod': !(0, runtime_1.exists)(json, 'budgetPeriod') ? undefined : (0, BudgetPeriod_1.BudgetPeriodFromJSON)(json['budgetPeriod']),
|
|
38
|
+
'dragenAmi': !(0, runtime_1.exists)(json, 'dragenAmi') ? undefined : json['dragenAmi'],
|
|
39
|
+
'enableBackup': !(0, runtime_1.exists)(json, 'enableBackup') ? undefined : json['enableBackup'],
|
|
40
|
+
'enableCompute': !(0, runtime_1.exists)(json, 'enableCompute') ? undefined : json['enableCompute'],
|
|
41
|
+
'enableDragen': !(0, runtime_1.exists)(json, 'enableDragen') ? undefined : json['enableDragen'],
|
|
42
|
+
'enableSftp': !(0, runtime_1.exists)(json, 'enableSftp') ? undefined : json['enableSftp'],
|
|
43
|
+
'maxF1VCPU': !(0, runtime_1.exists)(json, 'maxF1VCPU') ? undefined : json['maxF1VCPU'],
|
|
44
|
+
'maxSpotVCPU': !(0, runtime_1.exists)(json, 'maxSpotVCPU') ? undefined : json['maxSpotVCPU'],
|
|
45
|
+
'retentionPolicyDays': !(0, runtime_1.exists)(json, 'retentionPolicyDays') ? undefined : json['retentionPolicyDays'],
|
|
46
|
+
'serviceConnections': !(0, runtime_1.exists)(json, 'serviceConnections') ? undefined : json['serviceConnections'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
exports.ProjectSettingsFromJSONTyped = ProjectSettingsFromJSONTyped;
|
|
50
|
+
function ProjectSettingsToJSON(value) {
|
|
51
|
+
if (value === undefined) {
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
if (value === null) {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'budgetAmount': value.budgetAmount,
|
|
59
|
+
'budgetPeriod': (0, BudgetPeriod_1.BudgetPeriodToJSON)(value.budgetPeriod),
|
|
60
|
+
'dragenAmi': value.dragenAmi,
|
|
61
|
+
'enableBackup': value.enableBackup,
|
|
62
|
+
'enableCompute': value.enableCompute,
|
|
63
|
+
'enableDragen': value.enableDragen,
|
|
64
|
+
'enableSftp': value.enableSftp,
|
|
65
|
+
'maxF1VCPU': value.maxF1VCPU,
|
|
66
|
+
'maxSpotVCPU': value.maxSpotVCPU,
|
|
67
|
+
'retentionPolicyDays': value.retentionPolicyDays,
|
|
68
|
+
'serviceConnections': value.serviceConnections,
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
exports.ProjectSettingsToJSON = ProjectSettingsToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 ReferenceType
|
|
16
|
+
*/
|
|
17
|
+
export interface ReferenceType {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ReferenceType
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ReferenceType interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfReferenceType(value: object): boolean;
|
|
29
|
+
export declare function ReferenceTypeFromJSON(json: any): ReferenceType;
|
|
30
|
+
export declare function ReferenceTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReferenceType;
|
|
31
|
+
export declare function ReferenceTypeToJSON(value?: ReferenceType | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ReferenceTypeToJSON = exports.ReferenceTypeFromJSONTyped = exports.ReferenceTypeFromJSON = exports.instanceOfReferenceType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ReferenceType interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfReferenceType(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "name" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfReferenceType = instanceOfReferenceType;
|
|
26
|
+
function ReferenceTypeFromJSON(json) {
|
|
27
|
+
return ReferenceTypeFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.ReferenceTypeFromJSON = ReferenceTypeFromJSON;
|
|
30
|
+
function ReferenceTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'name': json['name'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.ReferenceTypeFromJSONTyped = ReferenceTypeFromJSONTyped;
|
|
39
|
+
function ReferenceTypeToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'name': value.name,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.ReferenceTypeToJSON = ReferenceTypeToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 Region
|
|
16
|
+
*/
|
|
17
|
+
export interface Region {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof Region
|
|
22
|
+
*/
|
|
23
|
+
globalRegion?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the Region interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfRegion(value: object): boolean;
|
|
29
|
+
export declare function RegionFromJSON(json: any): Region;
|
|
30
|
+
export declare function RegionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Region;
|
|
31
|
+
export declare function RegionToJSON(value?: Region | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.RegionToJSON = exports.RegionFromJSONTyped = exports.RegionFromJSON = exports.instanceOfRegion = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the Region interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfRegion(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfRegion = instanceOfRegion;
|
|
26
|
+
function RegionFromJSON(json) {
|
|
27
|
+
return RegionFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.RegionFromJSON = RegionFromJSON;
|
|
30
|
+
function RegionFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'globalRegion': !(0, runtime_1.exists)(json, 'globalRegion') ? undefined : json['globalRegion'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.RegionFromJSONTyped = RegionFromJSONTyped;
|
|
39
|
+
function RegionToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'globalRegion': value.globalRegion,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.RegionToJSON = RegionToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 RegisterDatasetRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RegisterDatasetRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {RegisterDatasetRequest}
|
|
21
|
+
* @memberof RegisterDatasetRequest
|
|
22
|
+
*/
|
|
23
|
+
registerDatasetRequest?: RegisterDatasetRequest;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the RegisterDatasetRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfRegisterDatasetRequest(value: object): boolean;
|
|
29
|
+
export declare function RegisterDatasetRequestFromJSON(json: any): RegisterDatasetRequest;
|
|
30
|
+
export declare function RegisterDatasetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterDatasetRequest;
|
|
31
|
+
export declare function RegisterDatasetRequestToJSON(value?: RegisterDatasetRequest | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.RegisterDatasetRequestToJSON = exports.RegisterDatasetRequestFromJSONTyped = exports.RegisterDatasetRequestFromJSON = exports.instanceOfRegisterDatasetRequest = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the RegisterDatasetRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfRegisterDatasetRequest(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfRegisterDatasetRequest = instanceOfRegisterDatasetRequest;
|
|
26
|
+
function RegisterDatasetRequestFromJSON(json) {
|
|
27
|
+
return RegisterDatasetRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.RegisterDatasetRequestFromJSON = RegisterDatasetRequestFromJSON;
|
|
30
|
+
function RegisterDatasetRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'registerDatasetRequest': !(0, runtime_1.exists)(json, 'registerDatasetRequest') ? undefined : RegisterDatasetRequestFromJSON(json['registerDatasetRequest']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.RegisterDatasetRequestFromJSONTyped = RegisterDatasetRequestFromJSONTyped;
|
|
39
|
+
function RegisterDatasetRequestToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'registerDatasetRequest': RegisterDatasetRequestToJSON(value.registerDatasetRequest),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.RegisterDatasetRequestToJSON = RegisterDatasetRequestToJSON;
|
|
@@ -0,0 +1,31 @@
|
|
|
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 ServiceConnection
|
|
16
|
+
*/
|
|
17
|
+
export interface ServiceConnection {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ServiceConnection
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ServiceConnection interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfServiceConnection(value: object): boolean;
|
|
29
|
+
export declare function ServiceConnectionFromJSON(json: any): ServiceConnection;
|
|
30
|
+
export declare function ServiceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceConnection;
|
|
31
|
+
export declare function ServiceConnectionToJSON(value?: ServiceConnection | null): any;
|