@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,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.ServiceConnectionToJSON = exports.ServiceConnectionFromJSONTyped = exports.ServiceConnectionFromJSON = exports.instanceOfServiceConnection = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ServiceConnection interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfServiceConnection(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "name" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfServiceConnection = instanceOfServiceConnection;
|
|
26
|
+
function ServiceConnectionFromJSON(json) {
|
|
27
|
+
return ServiceConnectionFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.ServiceConnectionFromJSON = ServiceConnectionFromJSON;
|
|
30
|
+
function ServiceConnectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'name': json['name'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.ServiceConnectionFromJSONTyped = ServiceConnectionFromJSONTyped;
|
|
39
|
+
function ServiceConnectionToJSON(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.ServiceConnectionToJSON = ServiceConnectionToJSON;
|
|
@@ -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 SetUserProjectRoleRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SetUserProjectRoleRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {SetUserProjectRoleRequest}
|
|
21
|
+
* @memberof SetUserProjectRoleRequest
|
|
22
|
+
*/
|
|
23
|
+
setUserProjectRoleRequest?: SetUserProjectRoleRequest;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SetUserProjectRoleRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSetUserProjectRoleRequest(value: object): boolean;
|
|
29
|
+
export declare function SetUserProjectRoleRequestFromJSON(json: any): SetUserProjectRoleRequest;
|
|
30
|
+
export declare function SetUserProjectRoleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetUserProjectRoleRequest;
|
|
31
|
+
export declare function SetUserProjectRoleRequestToJSON(value?: SetUserProjectRoleRequest | 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.SetUserProjectRoleRequestToJSON = exports.SetUserProjectRoleRequestFromJSONTyped = exports.SetUserProjectRoleRequestFromJSON = exports.instanceOfSetUserProjectRoleRequest = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the SetUserProjectRoleRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfSetUserProjectRoleRequest(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfSetUserProjectRoleRequest = instanceOfSetUserProjectRoleRequest;
|
|
26
|
+
function SetUserProjectRoleRequestFromJSON(json) {
|
|
27
|
+
return SetUserProjectRoleRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.SetUserProjectRoleRequestFromJSON = SetUserProjectRoleRequestFromJSON;
|
|
30
|
+
function SetUserProjectRoleRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'setUserProjectRoleRequest': !(0, runtime_1.exists)(json, 'setUserProjectRoleRequest') ? undefined : SetUserProjectRoleRequestFromJSON(json['setUserProjectRoleRequest']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.SetUserProjectRoleRequestFromJSONTyped = SetUserProjectRoleRequestFromJSONTyped;
|
|
39
|
+
function SetUserProjectRoleRequestToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'setUserProjectRoleRequest': SetUserProjectRoleRequestToJSON(value.setUserProjectRoleRequest),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.SetUserProjectRoleRequestToJSON = SetUserProjectRoleRequestToJSON;
|
|
@@ -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 StopExecutionResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface StopExecutionResponse {
|
|
18
|
+
/**
|
|
19
|
+
* List of job IDs that were successful in termination
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof StopExecutionResponse
|
|
22
|
+
*/
|
|
23
|
+
success?: Array<string>;
|
|
24
|
+
/**
|
|
25
|
+
* List of job IDs that were not successful in termination
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof StopExecutionResponse
|
|
28
|
+
*/
|
|
29
|
+
failed?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the StopExecutionResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfStopExecutionResponse(value: object): boolean;
|
|
35
|
+
export declare function StopExecutionResponseFromJSON(json: any): StopExecutionResponse;
|
|
36
|
+
export declare function StopExecutionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): StopExecutionResponse;
|
|
37
|
+
export declare function StopExecutionResponseToJSON(value?: StopExecutionResponse | null): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.StopExecutionResponseToJSON = exports.StopExecutionResponseFromJSONTyped = exports.StopExecutionResponseFromJSON = exports.instanceOfStopExecutionResponse = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the StopExecutionResponse interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfStopExecutionResponse(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfStopExecutionResponse = instanceOfStopExecutionResponse;
|
|
26
|
+
function StopExecutionResponseFromJSON(json) {
|
|
27
|
+
return StopExecutionResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.StopExecutionResponseFromJSON = StopExecutionResponseFromJSON;
|
|
30
|
+
function StopExecutionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'success': !(0, runtime_1.exists)(json, 'success') ? undefined : json['success'],
|
|
36
|
+
'failed': !(0, runtime_1.exists)(json, 'failed') ? undefined : json['failed'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
exports.StopExecutionResponseFromJSONTyped = StopExecutionResponseFromJSONTyped;
|
|
40
|
+
function StopExecutionResponseToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'success': value.success,
|
|
49
|
+
'failed': value.failed,
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
exports.StopExecutionResponseToJSON = StopExecutionResponseToJSON;
|
|
@@ -0,0 +1,55 @@
|
|
|
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 SystemInfoResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface SystemInfoResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SystemInfoResponse
|
|
22
|
+
*/
|
|
23
|
+
sdkAppId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SystemInfoResponse
|
|
28
|
+
*/
|
|
29
|
+
resourcesBucket: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SystemInfoResponse
|
|
34
|
+
*/
|
|
35
|
+
dataEndpoint: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SystemInfoResponse
|
|
40
|
+
*/
|
|
41
|
+
region: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SystemInfoResponse
|
|
46
|
+
*/
|
|
47
|
+
systemMessage: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the SystemInfoResponse interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfSystemInfoResponse(value: object): boolean;
|
|
53
|
+
export declare function SystemInfoResponseFromJSON(json: any): SystemInfoResponse;
|
|
54
|
+
export declare function SystemInfoResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SystemInfoResponse;
|
|
55
|
+
export declare function SystemInfoResponseToJSON(value?: SystemInfoResponse | null): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.SystemInfoResponseToJSON = exports.SystemInfoResponseFromJSONTyped = exports.SystemInfoResponseFromJSON = exports.instanceOfSystemInfoResponse = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the SystemInfoResponse interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfSystemInfoResponse(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "sdkAppId" in value;
|
|
23
|
+
isInstance = isInstance && "resourcesBucket" in value;
|
|
24
|
+
isInstance = isInstance && "dataEndpoint" in value;
|
|
25
|
+
isInstance = isInstance && "region" in value;
|
|
26
|
+
isInstance = isInstance && "systemMessage" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfSystemInfoResponse = instanceOfSystemInfoResponse;
|
|
30
|
+
function SystemInfoResponseFromJSON(json) {
|
|
31
|
+
return SystemInfoResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.SystemInfoResponseFromJSON = SystemInfoResponseFromJSON;
|
|
34
|
+
function SystemInfoResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'sdkAppId': json['sdkAppId'],
|
|
40
|
+
'resourcesBucket': json['resourcesBucket'],
|
|
41
|
+
'dataEndpoint': json['dataEndpoint'],
|
|
42
|
+
'region': json['region'],
|
|
43
|
+
'systemMessage': json['systemMessage'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
exports.SystemInfoResponseFromJSONTyped = SystemInfoResponseFromJSONTyped;
|
|
47
|
+
function SystemInfoResponseToJSON(value) {
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
if (value === null) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'sdkAppId': value.sdkAppId,
|
|
56
|
+
'resourcesBucket': value.resourcesBucket,
|
|
57
|
+
'dataEndpoint': value.dataEndpoint,
|
|
58
|
+
'region': value.region,
|
|
59
|
+
'systemMessage': value.systemMessage,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
exports.SystemInfoResponseToJSON = SystemInfoResponseToJSON;
|
|
@@ -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 Tag
|
|
16
|
+
*/
|
|
17
|
+
export interface Tag {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Tag
|
|
22
|
+
*/
|
|
23
|
+
key: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Tag
|
|
28
|
+
*/
|
|
29
|
+
value: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the Tag interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfTag(value: object): boolean;
|
|
35
|
+
export declare function TagFromJSON(json: any): Tag;
|
|
36
|
+
export declare function TagFromJSONTyped(json: any, ignoreDiscriminator: boolean): Tag;
|
|
37
|
+
export declare function TagToJSON(value?: Tag | 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.TagToJSON = exports.TagFromJSONTyped = exports.TagFromJSON = exports.instanceOfTag = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the Tag interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfTag(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "key" in value;
|
|
23
|
+
isInstance = isInstance && "value" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfTag = instanceOfTag;
|
|
27
|
+
function TagFromJSON(json) {
|
|
28
|
+
return TagFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.TagFromJSON = TagFromJSON;
|
|
31
|
+
function TagFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'key': json['key'],
|
|
37
|
+
'value': json['value'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.TagFromJSONTyped = TagFromJSONTyped;
|
|
41
|
+
function TagToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'key': value.key,
|
|
50
|
+
'value': value.value,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.TagToJSON = TagToJSON;
|
|
@@ -0,0 +1,73 @@
|
|
|
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 Task
|
|
16
|
+
*/
|
|
17
|
+
export interface Task {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Task
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Task
|
|
28
|
+
*/
|
|
29
|
+
nativeJobId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Task
|
|
34
|
+
*/
|
|
35
|
+
status: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof Task
|
|
40
|
+
*/
|
|
41
|
+
requestedAt: Date;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof Task
|
|
46
|
+
*/
|
|
47
|
+
stoppedAt?: Date;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof Task
|
|
52
|
+
*/
|
|
53
|
+
containerImage?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof Task
|
|
58
|
+
*/
|
|
59
|
+
commandLine?: string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof Task
|
|
64
|
+
*/
|
|
65
|
+
logLocation?: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the Task interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfTask(value: object): boolean;
|
|
71
|
+
export declare function TaskFromJSON(json: any): Task;
|
|
72
|
+
export declare function TaskFromJSONTyped(json: any, ignoreDiscriminator: boolean): Task;
|
|
73
|
+
export declare function TaskToJSON(value?: Task | null): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.TaskToJSON = exports.TaskFromJSONTyped = exports.TaskFromJSON = exports.instanceOfTask = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the Task interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfTask(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "name" in value;
|
|
24
|
+
isInstance = isInstance && "nativeJobId" in value;
|
|
25
|
+
isInstance = isInstance && "status" in value;
|
|
26
|
+
isInstance = isInstance && "requestedAt" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfTask = instanceOfTask;
|
|
30
|
+
function TaskFromJSON(json) {
|
|
31
|
+
return TaskFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.TaskFromJSON = TaskFromJSON;
|
|
34
|
+
function TaskFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'nativeJobId': json['nativeJobId'],
|
|
41
|
+
'status': json['status'],
|
|
42
|
+
'requestedAt': (new Date(json['requestedAt'])),
|
|
43
|
+
'stoppedAt': !(0, runtime_1.exists)(json, 'stoppedAt') ? undefined : (new Date(json['stoppedAt'])),
|
|
44
|
+
'containerImage': !(0, runtime_1.exists)(json, 'containerImage') ? undefined : json['containerImage'],
|
|
45
|
+
'commandLine': !(0, runtime_1.exists)(json, 'commandLine') ? undefined : json['commandLine'],
|
|
46
|
+
'logLocation': !(0, runtime_1.exists)(json, 'logLocation') ? undefined : json['logLocation'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
exports.TaskFromJSONTyped = TaskFromJSONTyped;
|
|
50
|
+
function TaskToJSON(value) {
|
|
51
|
+
if (value === undefined) {
|
|
52
|
+
return undefined;
|
|
53
|
+
}
|
|
54
|
+
if (value === null) {
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'name': value.name,
|
|
59
|
+
'nativeJobId': value.nativeJobId,
|
|
60
|
+
'status': value.status,
|
|
61
|
+
'requestedAt': (value.requestedAt.toISOString()),
|
|
62
|
+
'stoppedAt': value.stoppedAt === undefined ? undefined : (value.stoppedAt.toISOString()),
|
|
63
|
+
'containerImage': value.containerImage,
|
|
64
|
+
'commandLine': value.commandLine,
|
|
65
|
+
'logLocation': value.logLocation,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
exports.TaskToJSON = TaskToJSON;
|
|
@@ -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 UpdateDatasetRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateDatasetRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {UpdateDatasetRequest}
|
|
21
|
+
* @memberof UpdateDatasetRequest
|
|
22
|
+
*/
|
|
23
|
+
updateDatasetRequest?: UpdateDatasetRequest;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UpdateDatasetRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUpdateDatasetRequest(value: object): boolean;
|
|
29
|
+
export declare function UpdateDatasetRequestFromJSON(json: any): UpdateDatasetRequest;
|
|
30
|
+
export declare function UpdateDatasetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateDatasetRequest;
|
|
31
|
+
export declare function UpdateDatasetRequestToJSON(value?: UpdateDatasetRequest | 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.UpdateDatasetRequestToJSON = exports.UpdateDatasetRequestFromJSONTyped = exports.UpdateDatasetRequestFromJSON = exports.instanceOfUpdateDatasetRequest = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the UpdateDatasetRequest interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfUpdateDatasetRequest(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfUpdateDatasetRequest = instanceOfUpdateDatasetRequest;
|
|
26
|
+
function UpdateDatasetRequestFromJSON(json) {
|
|
27
|
+
return UpdateDatasetRequestFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.UpdateDatasetRequestFromJSON = UpdateDatasetRequestFromJSON;
|
|
30
|
+
function UpdateDatasetRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'updateDatasetRequest': !(0, runtime_1.exists)(json, 'updateDatasetRequest') ? undefined : UpdateDatasetRequestFromJSON(json['updateDatasetRequest']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.UpdateDatasetRequestFromJSONTyped = UpdateDatasetRequestFromJSONTyped;
|
|
39
|
+
function UpdateDatasetRequestToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'updateDatasetRequest': UpdateDatasetRequestToJSON(value.updateDatasetRequest),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.UpdateDatasetRequestToJSON = UpdateDatasetRequestToJSON;
|