@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,145 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { CloudAccount } from './CloudAccount';
|
|
17
|
+
import {
|
|
18
|
+
CloudAccountFromJSON,
|
|
19
|
+
CloudAccountFromJSONTyped,
|
|
20
|
+
CloudAccountToJSON,
|
|
21
|
+
} from './CloudAccount';
|
|
22
|
+
import type { Contact } from './Contact';
|
|
23
|
+
import {
|
|
24
|
+
ContactFromJSON,
|
|
25
|
+
ContactFromJSONTyped,
|
|
26
|
+
ContactToJSON,
|
|
27
|
+
} from './Contact';
|
|
28
|
+
import type { ProjectSettings } from './ProjectSettings';
|
|
29
|
+
import {
|
|
30
|
+
ProjectSettingsFromJSON,
|
|
31
|
+
ProjectSettingsFromJSONTyped,
|
|
32
|
+
ProjectSettingsToJSON,
|
|
33
|
+
} from './ProjectSettings';
|
|
34
|
+
import type { Tag } from './Tag';
|
|
35
|
+
import {
|
|
36
|
+
TagFromJSON,
|
|
37
|
+
TagFromJSONTyped,
|
|
38
|
+
TagToJSON,
|
|
39
|
+
} from './Tag';
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @export
|
|
44
|
+
* @interface ProjectRequest
|
|
45
|
+
*/
|
|
46
|
+
export interface ProjectRequest {
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ProjectRequest
|
|
51
|
+
*/
|
|
52
|
+
name: string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ProjectRequest
|
|
57
|
+
*/
|
|
58
|
+
description: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof ProjectRequest
|
|
63
|
+
*/
|
|
64
|
+
billingAccountId: string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {ProjectSettings}
|
|
68
|
+
* @memberof ProjectRequest
|
|
69
|
+
*/
|
|
70
|
+
settings: ProjectSettings;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {Array<Contact>}
|
|
74
|
+
* @memberof ProjectRequest
|
|
75
|
+
*/
|
|
76
|
+
contacts: Array<Contact>;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {CloudAccount}
|
|
80
|
+
* @memberof ProjectRequest
|
|
81
|
+
*/
|
|
82
|
+
account: CloudAccount;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {Array<Tag>}
|
|
86
|
+
* @memberof ProjectRequest
|
|
87
|
+
*/
|
|
88
|
+
tags: Array<Tag>;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the ProjectRequest interface.
|
|
93
|
+
*/
|
|
94
|
+
export function instanceOfProjectRequest(value: object): boolean {
|
|
95
|
+
let isInstance = true;
|
|
96
|
+
isInstance = isInstance && "name" in value;
|
|
97
|
+
isInstance = isInstance && "description" in value;
|
|
98
|
+
isInstance = isInstance && "billingAccountId" in value;
|
|
99
|
+
isInstance = isInstance && "settings" in value;
|
|
100
|
+
isInstance = isInstance && "contacts" in value;
|
|
101
|
+
isInstance = isInstance && "account" in value;
|
|
102
|
+
isInstance = isInstance && "tags" in value;
|
|
103
|
+
|
|
104
|
+
return isInstance;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export function ProjectRequestFromJSON(json: any): ProjectRequest {
|
|
108
|
+
return ProjectRequestFromJSONTyped(json, false);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export function ProjectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectRequest {
|
|
112
|
+
if ((json === undefined) || (json === null)) {
|
|
113
|
+
return json;
|
|
114
|
+
}
|
|
115
|
+
return {
|
|
116
|
+
|
|
117
|
+
'name': json['name'],
|
|
118
|
+
'description': json['description'],
|
|
119
|
+
'billingAccountId': json['billingAccountId'],
|
|
120
|
+
'settings': ProjectSettingsFromJSON(json['settings']),
|
|
121
|
+
'contacts': ((json['contacts'] as Array<any>).map(ContactFromJSON)),
|
|
122
|
+
'account': CloudAccountFromJSON(json['account']),
|
|
123
|
+
'tags': ((json['tags'] as Array<any>).map(TagFromJSON)),
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export function ProjectRequestToJSON(value?: ProjectRequest | null): any {
|
|
128
|
+
if (value === undefined) {
|
|
129
|
+
return undefined;
|
|
130
|
+
}
|
|
131
|
+
if (value === null) {
|
|
132
|
+
return null;
|
|
133
|
+
}
|
|
134
|
+
return {
|
|
135
|
+
|
|
136
|
+
'name': value.name,
|
|
137
|
+
'description': value.description,
|
|
138
|
+
'billingAccountId': value.billingAccountId,
|
|
139
|
+
'settings': ProjectSettingsToJSON(value.settings),
|
|
140
|
+
'contacts': ((value.contacts as Array<any>).map(ContactToJSON)),
|
|
141
|
+
'account': CloudAccountToJSON(value.account),
|
|
142
|
+
'tags': ((value.tags as Array<any>).map(TagToJSON)),
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const ProjectRole = {
|
|
21
|
+
Admin: 'ADMIN',
|
|
22
|
+
Contributor: 'CONTRIBUTOR',
|
|
23
|
+
Collaborator: 'COLLABORATOR',
|
|
24
|
+
None: 'NONE'
|
|
25
|
+
} as const;
|
|
26
|
+
export type ProjectRole = typeof ProjectRole[keyof typeof ProjectRole];
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
export function ProjectRoleFromJSON(json: any): ProjectRole {
|
|
30
|
+
return ProjectRoleFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export function ProjectRoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectRole {
|
|
34
|
+
return json as ProjectRole;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function ProjectRoleToJSON(value?: ProjectRole | null): any {
|
|
38
|
+
return value as any;
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,152 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { BudgetPeriod } from './BudgetPeriod';
|
|
17
|
+
import {
|
|
18
|
+
BudgetPeriodFromJSON,
|
|
19
|
+
BudgetPeriodFromJSONTyped,
|
|
20
|
+
BudgetPeriodToJSON,
|
|
21
|
+
} from './BudgetPeriod';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface ProjectSettings
|
|
27
|
+
*/
|
|
28
|
+
export interface ProjectSettings {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ProjectSettings
|
|
33
|
+
*/
|
|
34
|
+
budgetAmount?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {BudgetPeriod}
|
|
38
|
+
* @memberof ProjectSettings
|
|
39
|
+
*/
|
|
40
|
+
budgetPeriod?: BudgetPeriod;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ProjectSettings
|
|
45
|
+
*/
|
|
46
|
+
dragenAmi?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof ProjectSettings
|
|
51
|
+
*/
|
|
52
|
+
enableBackup?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {boolean}
|
|
56
|
+
* @memberof ProjectSettings
|
|
57
|
+
*/
|
|
58
|
+
enableCompute?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {boolean}
|
|
62
|
+
* @memberof ProjectSettings
|
|
63
|
+
*/
|
|
64
|
+
enableDragen?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {boolean}
|
|
68
|
+
* @memberof ProjectSettings
|
|
69
|
+
*/
|
|
70
|
+
enableSftp?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof ProjectSettings
|
|
75
|
+
*/
|
|
76
|
+
maxF1VCPU?: number;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof ProjectSettings
|
|
81
|
+
*/
|
|
82
|
+
maxSpotVCPU?: number;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof ProjectSettings
|
|
87
|
+
*/
|
|
88
|
+
retentionPolicyDays?: number;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {Array<string>}
|
|
92
|
+
* @memberof ProjectSettings
|
|
93
|
+
*/
|
|
94
|
+
serviceConnections?: Array<string>;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Check if a given object implements the ProjectSettings interface.
|
|
99
|
+
*/
|
|
100
|
+
export function instanceOfProjectSettings(value: object): boolean {
|
|
101
|
+
let isInstance = true;
|
|
102
|
+
|
|
103
|
+
return isInstance;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function ProjectSettingsFromJSON(json: any): ProjectSettings {
|
|
107
|
+
return ProjectSettingsFromJSONTyped(json, false);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function ProjectSettingsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettings {
|
|
111
|
+
if ((json === undefined) || (json === null)) {
|
|
112
|
+
return json;
|
|
113
|
+
}
|
|
114
|
+
return {
|
|
115
|
+
|
|
116
|
+
'budgetAmount': !exists(json, 'budgetAmount') ? undefined : json['budgetAmount'],
|
|
117
|
+
'budgetPeriod': !exists(json, 'budgetPeriod') ? undefined : BudgetPeriodFromJSON(json['budgetPeriod']),
|
|
118
|
+
'dragenAmi': !exists(json, 'dragenAmi') ? undefined : json['dragenAmi'],
|
|
119
|
+
'enableBackup': !exists(json, 'enableBackup') ? undefined : json['enableBackup'],
|
|
120
|
+
'enableCompute': !exists(json, 'enableCompute') ? undefined : json['enableCompute'],
|
|
121
|
+
'enableDragen': !exists(json, 'enableDragen') ? undefined : json['enableDragen'],
|
|
122
|
+
'enableSftp': !exists(json, 'enableSftp') ? undefined : json['enableSftp'],
|
|
123
|
+
'maxF1VCPU': !exists(json, 'maxF1VCPU') ? undefined : json['maxF1VCPU'],
|
|
124
|
+
'maxSpotVCPU': !exists(json, 'maxSpotVCPU') ? undefined : json['maxSpotVCPU'],
|
|
125
|
+
'retentionPolicyDays': !exists(json, 'retentionPolicyDays') ? undefined : json['retentionPolicyDays'],
|
|
126
|
+
'serviceConnections': !exists(json, 'serviceConnections') ? undefined : json['serviceConnections'],
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export function ProjectSettingsToJSON(value?: ProjectSettings | null): any {
|
|
131
|
+
if (value === undefined) {
|
|
132
|
+
return undefined;
|
|
133
|
+
}
|
|
134
|
+
if (value === null) {
|
|
135
|
+
return null;
|
|
136
|
+
}
|
|
137
|
+
return {
|
|
138
|
+
|
|
139
|
+
'budgetAmount': value.budgetAmount,
|
|
140
|
+
'budgetPeriod': BudgetPeriodToJSON(value.budgetPeriod),
|
|
141
|
+
'dragenAmi': value.dragenAmi,
|
|
142
|
+
'enableBackup': value.enableBackup,
|
|
143
|
+
'enableCompute': value.enableCompute,
|
|
144
|
+
'enableDragen': value.enableDragen,
|
|
145
|
+
'enableSftp': value.enableSftp,
|
|
146
|
+
'maxF1VCPU': value.maxF1VCPU,
|
|
147
|
+
'maxSpotVCPU': value.maxSpotVCPU,
|
|
148
|
+
'retentionPolicyDays': value.retentionPolicyDays,
|
|
149
|
+
'serviceConnections': value.serviceConnections,
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ReferenceType
|
|
20
|
+
*/
|
|
21
|
+
export interface ReferenceType {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ReferenceType
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ReferenceType interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfReferenceType(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
isInstance = isInstance && "name" in value;
|
|
36
|
+
|
|
37
|
+
return isInstance;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function ReferenceTypeFromJSON(json: any): ReferenceType {
|
|
41
|
+
return ReferenceTypeFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function ReferenceTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReferenceType {
|
|
45
|
+
if ((json === undefined) || (json === null)) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
|
|
50
|
+
'name': json['name'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function ReferenceTypeToJSON(value?: ReferenceType | null): any {
|
|
55
|
+
if (value === undefined) {
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
if (value === null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'name': value.name,
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface Region
|
|
20
|
+
*/
|
|
21
|
+
export interface Region {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof Region
|
|
26
|
+
*/
|
|
27
|
+
globalRegion?: boolean;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the Region interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfRegion(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
|
|
36
|
+
return isInstance;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function RegionFromJSON(json: any): Region {
|
|
40
|
+
return RegionFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function RegionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Region {
|
|
44
|
+
if ((json === undefined) || (json === null)) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
|
|
49
|
+
'globalRegion': !exists(json, 'globalRegion') ? undefined : json['globalRegion'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function RegionToJSON(value?: Region | null): any {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'globalRegion': value.globalRegion,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface RegisterDatasetRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface RegisterDatasetRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {RegisterDatasetRequest}
|
|
25
|
+
* @memberof RegisterDatasetRequest
|
|
26
|
+
*/
|
|
27
|
+
registerDatasetRequest?: RegisterDatasetRequest;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the RegisterDatasetRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfRegisterDatasetRequest(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
|
|
36
|
+
return isInstance;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function RegisterDatasetRequestFromJSON(json: any): RegisterDatasetRequest {
|
|
40
|
+
return RegisterDatasetRequestFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function RegisterDatasetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterDatasetRequest {
|
|
44
|
+
if ((json === undefined) || (json === null)) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
|
|
49
|
+
'registerDatasetRequest': !exists(json, 'registerDatasetRequest') ? undefined : RegisterDatasetRequestFromJSON(json['registerDatasetRequest']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function RegisterDatasetRequestToJSON(value?: RegisterDatasetRequest | null): any {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'registerDatasetRequest': RegisterDatasetRequestToJSON(value.registerDatasetRequest),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ServiceConnection
|
|
20
|
+
*/
|
|
21
|
+
export interface ServiceConnection {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ServiceConnection
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ServiceConnection interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfServiceConnection(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
isInstance = isInstance && "name" in value;
|
|
36
|
+
|
|
37
|
+
return isInstance;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function ServiceConnectionFromJSON(json: any): ServiceConnection {
|
|
41
|
+
return ServiceConnectionFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function ServiceConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceConnection {
|
|
45
|
+
if ((json === undefined) || (json === null)) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
|
|
50
|
+
'name': json['name'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function ServiceConnectionToJSON(value?: ServiceConnection | null): any {
|
|
55
|
+
if (value === undefined) {
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
if (value === null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'name': value.name,
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SetUserProjectRoleRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface SetUserProjectRoleRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {SetUserProjectRoleRequest}
|
|
25
|
+
* @memberof SetUserProjectRoleRequest
|
|
26
|
+
*/
|
|
27
|
+
setUserProjectRoleRequest?: SetUserProjectRoleRequest;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the SetUserProjectRoleRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfSetUserProjectRoleRequest(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
|
|
36
|
+
return isInstance;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function SetUserProjectRoleRequestFromJSON(json: any): SetUserProjectRoleRequest {
|
|
40
|
+
return SetUserProjectRoleRequestFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function SetUserProjectRoleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetUserProjectRoleRequest {
|
|
44
|
+
if ((json === undefined) || (json === null)) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
|
|
49
|
+
'setUserProjectRoleRequest': !exists(json, 'setUserProjectRoleRequest') ? undefined : SetUserProjectRoleRequestFromJSON(json['setUserProjectRoleRequest']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function SetUserProjectRoleRequestToJSON(value?: SetUserProjectRoleRequest | null): any {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'setUserProjectRoleRequest': SetUserProjectRoleRequestToJSON(value.setUserProjectRoleRequest),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|