@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,56 @@
|
|
|
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.NotebookInstanceToJSON = exports.NotebookInstanceFromJSONTyped = exports.NotebookInstanceFromJSON = exports.instanceOfNotebookInstance = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the NotebookInstance interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfNotebookInstance(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "id" in value;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "createdBy" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfNotebookInstance = instanceOfNotebookInstance;
|
|
28
|
+
function NotebookInstanceFromJSON(json) {
|
|
29
|
+
return NotebookInstanceFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.NotebookInstanceFromJSON = NotebookInstanceFromJSON;
|
|
32
|
+
function NotebookInstanceFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
'createdBy': json['createdBy'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.NotebookInstanceFromJSONTyped = NotebookInstanceFromJSONTyped;
|
|
43
|
+
function NotebookInstanceToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value.id,
|
|
52
|
+
'name': value.name,
|
|
53
|
+
'createdBy': value.createdBy,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.NotebookInstanceToJSON = NotebookInstanceToJSON;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 OpenNotebookInstanceResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface OpenNotebookInstanceResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OpenNotebookInstanceResponse
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OpenNotebookInstanceResponse
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the OpenNotebookInstanceResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfOpenNotebookInstanceResponse(value: object): boolean;
|
|
35
|
+
export declare function OpenNotebookInstanceResponseFromJSON(json: any): OpenNotebookInstanceResponse;
|
|
36
|
+
export declare function OpenNotebookInstanceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): OpenNotebookInstanceResponse;
|
|
37
|
+
export declare function OpenNotebookInstanceResponseToJSON(value?: OpenNotebookInstanceResponse | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
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.OpenNotebookInstanceResponseToJSON = exports.OpenNotebookInstanceResponseFromJSONTyped = exports.OpenNotebookInstanceResponseFromJSON = exports.instanceOfOpenNotebookInstanceResponse = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the OpenNotebookInstanceResponse interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfOpenNotebookInstanceResponse(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "url" in value;
|
|
23
|
+
isInstance = isInstance && "message" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfOpenNotebookInstanceResponse = instanceOfOpenNotebookInstanceResponse;
|
|
27
|
+
function OpenNotebookInstanceResponseFromJSON(json) {
|
|
28
|
+
return OpenNotebookInstanceResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.OpenNotebookInstanceResponseFromJSON = OpenNotebookInstanceResponseFromJSON;
|
|
31
|
+
function OpenNotebookInstanceResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'url': json['url'],
|
|
37
|
+
'message': json['message'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.OpenNotebookInstanceResponseFromJSONTyped = OpenNotebookInstanceResponseFromJSONTyped;
|
|
41
|
+
function OpenNotebookInstanceResponseToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'url': value.url,
|
|
50
|
+
'message': value.message,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.OpenNotebookInstanceResponseToJSON = OpenNotebookInstanceResponseToJSON;
|
|
@@ -0,0 +1,68 @@
|
|
|
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 { Executor } from './Executor';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Process
|
|
17
|
+
*/
|
|
18
|
+
export interface Process {
|
|
19
|
+
/**
|
|
20
|
+
* Unique ID of the Process
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Process
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Process
|
|
29
|
+
*/
|
|
30
|
+
name?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Process
|
|
35
|
+
*/
|
|
36
|
+
description?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Executor}
|
|
40
|
+
* @memberof Process
|
|
41
|
+
*/
|
|
42
|
+
executor?: Executor;
|
|
43
|
+
/**
|
|
44
|
+
* Link to pipeline documentation
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof Process
|
|
47
|
+
*/
|
|
48
|
+
documentationUrl?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Description of the files to be uploaded (optional)
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof Process
|
|
53
|
+
*/
|
|
54
|
+
fileRequirementsMessage?: string;
|
|
55
|
+
/**
|
|
56
|
+
* IDs of pipelines that can be ran downstream
|
|
57
|
+
* @type {Array<string>}
|
|
58
|
+
* @memberof Process
|
|
59
|
+
*/
|
|
60
|
+
childProcessIds?: Array<string>;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Check if a given object implements the Process interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfProcess(value: object): boolean;
|
|
66
|
+
export declare function ProcessFromJSON(json: any): Process;
|
|
67
|
+
export declare function ProcessFromJSONTyped(json: any, ignoreDiscriminator: boolean): Process;
|
|
68
|
+
export declare function ProcessToJSON(value?: Process | null): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
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.ProcessToJSON = exports.ProcessFromJSONTyped = exports.ProcessFromJSON = exports.instanceOfProcess = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var Executor_1 = require("./Executor");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the Process interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfProcess(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfProcess = instanceOfProcess;
|
|
27
|
+
function ProcessFromJSON(json) {
|
|
28
|
+
return ProcessFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.ProcessFromJSON = ProcessFromJSON;
|
|
31
|
+
function ProcessFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
37
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
38
|
+
'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
|
|
39
|
+
'executor': !(0, runtime_1.exists)(json, 'executor') ? undefined : (0, Executor_1.ExecutorFromJSON)(json['executor']),
|
|
40
|
+
'documentationUrl': !(0, runtime_1.exists)(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
41
|
+
'fileRequirementsMessage': !(0, runtime_1.exists)(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
42
|
+
'childProcessIds': !(0, runtime_1.exists)(json, 'childProcessIds') ? undefined : json['childProcessIds'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.ProcessFromJSONTyped = ProcessFromJSONTyped;
|
|
46
|
+
function ProcessToJSON(value) {
|
|
47
|
+
if (value === undefined) {
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
if (value === null) {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'id': value.id,
|
|
55
|
+
'name': value.name,
|
|
56
|
+
'description': value.description,
|
|
57
|
+
'executor': (0, Executor_1.ExecutorToJSON)(value.executor),
|
|
58
|
+
'documentationUrl': value.documentationUrl,
|
|
59
|
+
'fileRequirementsMessage': value.fileRequirementsMessage,
|
|
60
|
+
'childProcessIds': value.childProcessIds,
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
exports.ProcessToJSON = ProcessToJSON;
|
|
@@ -0,0 +1,49 @@
|
|
|
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 Project
|
|
16
|
+
*/
|
|
17
|
+
export interface Project {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Project
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Project
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Project
|
|
34
|
+
*/
|
|
35
|
+
description: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Project
|
|
40
|
+
*/
|
|
41
|
+
status: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the Project interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfProject(value: object): boolean;
|
|
47
|
+
export declare function ProjectFromJSON(json: any): Project;
|
|
48
|
+
export declare function ProjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): Project;
|
|
49
|
+
export declare function ProjectToJSON(value?: Project | null): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.ProjectToJSON = exports.ProjectFromJSONTyped = exports.ProjectFromJSON = exports.instanceOfProject = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the Project interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfProject(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "id" in value;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "description" in value;
|
|
25
|
+
isInstance = isInstance && "status" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfProject = instanceOfProject;
|
|
29
|
+
function ProjectFromJSON(json) {
|
|
30
|
+
return ProjectFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.ProjectFromJSON = ProjectFromJSON;
|
|
33
|
+
function ProjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'id': json['id'],
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'description': json['description'],
|
|
41
|
+
'status': json['status'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.ProjectFromJSONTyped = ProjectFromJSONTyped;
|
|
45
|
+
function ProjectToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'id': value.id,
|
|
54
|
+
'name': value.name,
|
|
55
|
+
'description': value.description,
|
|
56
|
+
'status': value.status,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.ProjectToJSON = ProjectToJSON;
|
|
@@ -0,0 +1,100 @@
|
|
|
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 { Contact } from './Contact';
|
|
13
|
+
import type { ProjectSettings } from './ProjectSettings';
|
|
14
|
+
import type { Tag } from './Tag';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ProjectDetail
|
|
19
|
+
*/
|
|
20
|
+
export interface ProjectDetail {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof ProjectDetail
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof ProjectDetail
|
|
31
|
+
*/
|
|
32
|
+
name: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof ProjectDetail
|
|
37
|
+
*/
|
|
38
|
+
description: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof ProjectDetail
|
|
43
|
+
*/
|
|
44
|
+
billingAccountId: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {Contact}
|
|
48
|
+
* @memberof ProjectDetail
|
|
49
|
+
*/
|
|
50
|
+
contact: Contact;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof ProjectDetail
|
|
55
|
+
*/
|
|
56
|
+
status: string;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {ProjectSettings}
|
|
60
|
+
* @memberof ProjectDetail
|
|
61
|
+
*/
|
|
62
|
+
settings: ProjectSettings;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof ProjectDetail
|
|
67
|
+
*/
|
|
68
|
+
statusMessage: string;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {Array<Tag>}
|
|
72
|
+
* @memberof ProjectDetail
|
|
73
|
+
*/
|
|
74
|
+
tags: Array<Tag>;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof ProjectDetail
|
|
79
|
+
*/
|
|
80
|
+
createdBy: string;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof ProjectDetail
|
|
85
|
+
*/
|
|
86
|
+
createdAt: string;
|
|
87
|
+
/**
|
|
88
|
+
*
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof ProjectDetail
|
|
91
|
+
*/
|
|
92
|
+
updatedAt: string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Check if a given object implements the ProjectDetail interface.
|
|
96
|
+
*/
|
|
97
|
+
export declare function instanceOfProjectDetail(value: object): boolean;
|
|
98
|
+
export declare function ProjectDetailFromJSON(json: any): ProjectDetail;
|
|
99
|
+
export declare function ProjectDetailFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectDetail;
|
|
100
|
+
export declare function ProjectDetailToJSON(value?: ProjectDetail | null): any;
|
|
@@ -0,0 +1,86 @@
|
|
|
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.ProjectDetailToJSON = exports.ProjectDetailFromJSONTyped = exports.ProjectDetailFromJSON = exports.instanceOfProjectDetail = void 0;
|
|
17
|
+
var Contact_1 = require("./Contact");
|
|
18
|
+
var ProjectSettings_1 = require("./ProjectSettings");
|
|
19
|
+
var Tag_1 = require("./Tag");
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the ProjectDetail interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfProjectDetail(value) {
|
|
24
|
+
var isInstance = true;
|
|
25
|
+
isInstance = isInstance && "id" in value;
|
|
26
|
+
isInstance = isInstance && "name" in value;
|
|
27
|
+
isInstance = isInstance && "description" in value;
|
|
28
|
+
isInstance = isInstance && "billingAccountId" in value;
|
|
29
|
+
isInstance = isInstance && "contact" in value;
|
|
30
|
+
isInstance = isInstance && "status" in value;
|
|
31
|
+
isInstance = isInstance && "settings" in value;
|
|
32
|
+
isInstance = isInstance && "statusMessage" in value;
|
|
33
|
+
isInstance = isInstance && "tags" in value;
|
|
34
|
+
isInstance = isInstance && "createdBy" in value;
|
|
35
|
+
isInstance = isInstance && "createdAt" in value;
|
|
36
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
37
|
+
return isInstance;
|
|
38
|
+
}
|
|
39
|
+
exports.instanceOfProjectDetail = instanceOfProjectDetail;
|
|
40
|
+
function ProjectDetailFromJSON(json) {
|
|
41
|
+
return ProjectDetailFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
exports.ProjectDetailFromJSON = ProjectDetailFromJSON;
|
|
44
|
+
function ProjectDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if ((json === undefined) || (json === null)) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': json['id'],
|
|
50
|
+
'name': json['name'],
|
|
51
|
+
'description': json['description'],
|
|
52
|
+
'billingAccountId': json['billingAccountId'],
|
|
53
|
+
'contact': (0, Contact_1.ContactFromJSON)(json['contact']),
|
|
54
|
+
'status': json['status'],
|
|
55
|
+
'settings': (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
|
|
56
|
+
'statusMessage': json['statusMessage'],
|
|
57
|
+
'tags': (json['tags'].map(Tag_1.TagFromJSON)),
|
|
58
|
+
'createdBy': json['createdBy'],
|
|
59
|
+
'createdAt': json['createdAt'],
|
|
60
|
+
'updatedAt': json['updatedAt'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
exports.ProjectDetailFromJSONTyped = ProjectDetailFromJSONTyped;
|
|
64
|
+
function ProjectDetailToJSON(value) {
|
|
65
|
+
if (value === undefined) {
|
|
66
|
+
return undefined;
|
|
67
|
+
}
|
|
68
|
+
if (value === null) {
|
|
69
|
+
return null;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'id': value.id,
|
|
73
|
+
'name': value.name,
|
|
74
|
+
'description': value.description,
|
|
75
|
+
'billingAccountId': value.billingAccountId,
|
|
76
|
+
'contact': (0, Contact_1.ContactToJSON)(value.contact),
|
|
77
|
+
'status': value.status,
|
|
78
|
+
'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value.settings),
|
|
79
|
+
'statusMessage': value.statusMessage,
|
|
80
|
+
'tags': (value.tags.map(Tag_1.TagToJSON)),
|
|
81
|
+
'createdBy': value.createdBy,
|
|
82
|
+
'createdAt': value.createdAt,
|
|
83
|
+
'updatedAt': value.updatedAt,
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
exports.ProjectDetailToJSON = ProjectDetailToJSON;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 ProjectMetrics
|
|
16
|
+
*/
|
|
17
|
+
export interface ProjectMetrics {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ProjectMetrics
|
|
22
|
+
*/
|
|
23
|
+
projectId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: any; }}
|
|
27
|
+
* @memberof ProjectMetrics
|
|
28
|
+
*/
|
|
29
|
+
costs: {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {{ [key: string]: any; }}
|
|
35
|
+
* @memberof ProjectMetrics
|
|
36
|
+
*/
|
|
37
|
+
storageMetrics: {
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the ProjectMetrics interface.
|
|
43
|
+
*/
|
|
44
|
+
export declare function instanceOfProjectMetrics(value: object): boolean;
|
|
45
|
+
export declare function ProjectMetricsFromJSON(json: any): ProjectMetrics;
|
|
46
|
+
export declare function ProjectMetricsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectMetrics;
|
|
47
|
+
export declare function ProjectMetricsToJSON(value?: ProjectMetrics | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.ProjectMetricsToJSON = exports.ProjectMetricsFromJSONTyped = exports.ProjectMetricsFromJSON = exports.instanceOfProjectMetrics = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ProjectMetrics interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfProjectMetrics(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "projectId" in value;
|
|
23
|
+
isInstance = isInstance && "costs" in value;
|
|
24
|
+
isInstance = isInstance && "storageMetrics" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfProjectMetrics = instanceOfProjectMetrics;
|
|
28
|
+
function ProjectMetricsFromJSON(json) {
|
|
29
|
+
return ProjectMetricsFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.ProjectMetricsFromJSON = ProjectMetricsFromJSON;
|
|
32
|
+
function ProjectMetricsFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'projectId': json['projectId'],
|
|
38
|
+
'costs': json['costs'],
|
|
39
|
+
'storageMetrics': json['storageMetrics'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.ProjectMetricsFromJSONTyped = ProjectMetricsFromJSONTyped;
|
|
43
|
+
function ProjectMetricsToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'projectId': value.projectId,
|
|
52
|
+
'costs': value.costs,
|
|
53
|
+
'storageMetrics': value.storageMetrics,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.ProjectMetricsToJSON = ProjectMetricsToJSON;
|