@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,57 @@
|
|
|
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.CloudAccountToJSON = exports.CloudAccountFromJSONTyped = exports.CloudAccountFromJSON = exports.instanceOfCloudAccount = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var Region_1 = require("./Region");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the CloudAccount interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfCloudAccount(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfCloudAccount = instanceOfCloudAccount;
|
|
27
|
+
function CloudAccountFromJSON(json) {
|
|
28
|
+
return CloudAccountFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.CloudAccountFromJSON = CloudAccountFromJSON;
|
|
31
|
+
function CloudAccountFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'region': !(0, runtime_1.exists)(json, 'region') ? undefined : (0, Region_1.RegionFromJSON)(json['region']),
|
|
37
|
+
'accountId': !(0, runtime_1.exists)(json, 'accountId') ? undefined : json['accountId'],
|
|
38
|
+
'accountName': !(0, runtime_1.exists)(json, 'accountName') ? undefined : json['accountName'],
|
|
39
|
+
'regionName': !(0, runtime_1.exists)(json, 'regionName') ? undefined : json['regionName'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.CloudAccountFromJSONTyped = CloudAccountFromJSONTyped;
|
|
43
|
+
function CloudAccountToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'region': (0, Region_1.RegionToJSON)(value.region),
|
|
52
|
+
'accountId': value.accountId,
|
|
53
|
+
'accountName': value.accountName,
|
|
54
|
+
'regionName': value.regionName,
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
exports.CloudAccountToJSON = CloudAccountToJSON;
|
|
@@ -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 Contact
|
|
16
|
+
*/
|
|
17
|
+
export interface Contact {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Contact
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Contact
|
|
28
|
+
*/
|
|
29
|
+
organization?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Contact
|
|
34
|
+
*/
|
|
35
|
+
email?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof Contact
|
|
40
|
+
*/
|
|
41
|
+
phone?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the Contact interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfContact(value: object): boolean;
|
|
47
|
+
export declare function ContactFromJSON(json: any): Contact;
|
|
48
|
+
export declare function ContactFromJSONTyped(json: any, ignoreDiscriminator: boolean): Contact;
|
|
49
|
+
export declare function ContactToJSON(value?: Contact | 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.ContactToJSON = exports.ContactFromJSONTyped = exports.ContactFromJSON = exports.instanceOfContact = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the Contact interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfContact(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfContact = instanceOfContact;
|
|
26
|
+
function ContactFromJSON(json) {
|
|
27
|
+
return ContactFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.ContactFromJSON = ContactFromJSON;
|
|
30
|
+
function ContactFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
36
|
+
'organization': !(0, runtime_1.exists)(json, 'organization') ? undefined : json['organization'],
|
|
37
|
+
'email': !(0, runtime_1.exists)(json, 'email') ? undefined : json['email'],
|
|
38
|
+
'phone': !(0, runtime_1.exists)(json, 'phone') ? undefined : json['phone'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.ContactFromJSONTyped = ContactFromJSONTyped;
|
|
42
|
+
function ContactToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'name': value.name,
|
|
51
|
+
'organization': value.organization,
|
|
52
|
+
'email': value.email,
|
|
53
|
+
'phone': value.phone,
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
exports.ContactToJSON = ContactToJSON;
|
|
@@ -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 CreateNotebookInstanceRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateNotebookInstanceRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateNotebookInstanceRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* AWS EC2 Instance Type (see list of available options)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateNotebookInstanceRequest
|
|
28
|
+
*/
|
|
29
|
+
instanceType: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof CreateNotebookInstanceRequest
|
|
34
|
+
*/
|
|
35
|
+
acceleratorTypes: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CreateNotebookInstanceRequest
|
|
40
|
+
*/
|
|
41
|
+
volumeSizeGB: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the CreateNotebookInstanceRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfCreateNotebookInstanceRequest(value: object): boolean;
|
|
47
|
+
export declare function CreateNotebookInstanceRequestFromJSON(json: any): CreateNotebookInstanceRequest;
|
|
48
|
+
export declare function CreateNotebookInstanceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateNotebookInstanceRequest;
|
|
49
|
+
export declare function CreateNotebookInstanceRequestToJSON(value?: CreateNotebookInstanceRequest | 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.CreateNotebookInstanceRequestToJSON = exports.CreateNotebookInstanceRequestFromJSONTyped = exports.CreateNotebookInstanceRequestFromJSON = exports.instanceOfCreateNotebookInstanceRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the CreateNotebookInstanceRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfCreateNotebookInstanceRequest(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "name" in value;
|
|
23
|
+
isInstance = isInstance && "instanceType" in value;
|
|
24
|
+
isInstance = isInstance && "acceleratorTypes" in value;
|
|
25
|
+
isInstance = isInstance && "volumeSizeGB" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfCreateNotebookInstanceRequest = instanceOfCreateNotebookInstanceRequest;
|
|
29
|
+
function CreateNotebookInstanceRequestFromJSON(json) {
|
|
30
|
+
return CreateNotebookInstanceRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.CreateNotebookInstanceRequestFromJSON = CreateNotebookInstanceRequestFromJSON;
|
|
33
|
+
function CreateNotebookInstanceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
'instanceType': json['instanceType'],
|
|
40
|
+
'acceleratorTypes': json['acceleratorTypes'],
|
|
41
|
+
'volumeSizeGB': json['volumeSizeGB'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.CreateNotebookInstanceRequestFromJSONTyped = CreateNotebookInstanceRequestFromJSONTyped;
|
|
45
|
+
function CreateNotebookInstanceRequestToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'name': value.name,
|
|
54
|
+
'instanceType': value.instanceType,
|
|
55
|
+
'acceleratorTypes': value.acceleratorTypes,
|
|
56
|
+
'volumeSizeGB': value.volumeSizeGB,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.CreateNotebookInstanceRequestToJSON = CreateNotebookInstanceRequestToJSON;
|
|
@@ -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 CreateResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateResponse
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateResponse
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the CreateResponse interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfCreateResponse(value: object): boolean;
|
|
35
|
+
export declare function CreateResponseFromJSON(json: any): CreateResponse;
|
|
36
|
+
export declare function CreateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateResponse;
|
|
37
|
+
export declare function CreateResponseToJSON(value?: CreateResponse | 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.CreateResponseToJSON = exports.CreateResponseFromJSONTyped = exports.CreateResponseFromJSON = exports.instanceOfCreateResponse = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the CreateResponse interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfCreateResponse(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "id" in value;
|
|
23
|
+
isInstance = isInstance && "message" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfCreateResponse = instanceOfCreateResponse;
|
|
27
|
+
function CreateResponseFromJSON(json) {
|
|
28
|
+
return CreateResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.CreateResponseFromJSON = CreateResponseFromJSON;
|
|
31
|
+
function CreateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'message': json['message'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.CreateResponseFromJSONTyped = CreateResponseFromJSONTyped;
|
|
41
|
+
function CreateResponseToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'id': value.id,
|
|
50
|
+
'message': value.message,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.CreateResponseToJSON = CreateResponseToJSON;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const CustomerType: {
|
|
17
|
+
readonly Free: "FREE";
|
|
18
|
+
readonly Usage: "USAGE";
|
|
19
|
+
readonly Marketplace: "MARKETPLACE";
|
|
20
|
+
readonly Contract: "CONTRACT";
|
|
21
|
+
};
|
|
22
|
+
export type CustomerType = typeof CustomerType[keyof typeof CustomerType];
|
|
23
|
+
export declare function CustomerTypeFromJSON(json: any): CustomerType;
|
|
24
|
+
export declare function CustomerTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomerType;
|
|
25
|
+
export declare function CustomerTypeToJSON(value?: CustomerType | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.CustomerTypeToJSON = exports.CustomerTypeFromJSONTyped = exports.CustomerTypeFromJSON = exports.CustomerType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.CustomerType = {
|
|
22
|
+
Free: 'FREE',
|
|
23
|
+
Usage: 'USAGE',
|
|
24
|
+
Marketplace: 'MARKETPLACE',
|
|
25
|
+
Contract: 'CONTRACT'
|
|
26
|
+
};
|
|
27
|
+
function CustomerTypeFromJSON(json) {
|
|
28
|
+
return CustomerTypeFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.CustomerTypeFromJSON = CustomerTypeFromJSON;
|
|
31
|
+
function CustomerTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
exports.CustomerTypeFromJSONTyped = CustomerTypeFromJSONTyped;
|
|
35
|
+
function CustomerTypeToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
exports.CustomerTypeToJSON = CustomerTypeToJSON;
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { Tag } from './Tag';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Dataset
|
|
17
|
+
*/
|
|
18
|
+
export interface Dataset {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Dataset
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Dataset
|
|
29
|
+
*/
|
|
30
|
+
name: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Dataset
|
|
35
|
+
*/
|
|
36
|
+
desc: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Dataset
|
|
41
|
+
*/
|
|
42
|
+
processId: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<string>}
|
|
46
|
+
* @memberof Dataset
|
|
47
|
+
*/
|
|
48
|
+
sourceDatasets: Array<string>;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof Dataset
|
|
53
|
+
*/
|
|
54
|
+
status: string;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {Array<Tag>}
|
|
58
|
+
* @memberof Dataset
|
|
59
|
+
*/
|
|
60
|
+
tags: Array<Tag>;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof Dataset
|
|
65
|
+
*/
|
|
66
|
+
createdBy: string;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof Dataset
|
|
71
|
+
*/
|
|
72
|
+
createdAt: string;
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof Dataset
|
|
77
|
+
*/
|
|
78
|
+
updatedAt: string;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Check if a given object implements the Dataset interface.
|
|
82
|
+
*/
|
|
83
|
+
export declare function instanceOfDataset(value: object): boolean;
|
|
84
|
+
export declare function DatasetFromJSON(json: any): Dataset;
|
|
85
|
+
export declare function DatasetFromJSONTyped(json: any, ignoreDiscriminator: boolean): Dataset;
|
|
86
|
+
export declare function DatasetToJSON(value?: Dataset | null): any;
|
|
@@ -0,0 +1,78 @@
|
|
|
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.DatasetToJSON = exports.DatasetFromJSONTyped = exports.DatasetFromJSON = exports.instanceOfDataset = void 0;
|
|
17
|
+
var Tag_1 = require("./Tag");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the Dataset interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfDataset(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "id" in value;
|
|
24
|
+
isInstance = isInstance && "name" in value;
|
|
25
|
+
isInstance = isInstance && "desc" in value;
|
|
26
|
+
isInstance = isInstance && "processId" in value;
|
|
27
|
+
isInstance = isInstance && "sourceDatasets" in value;
|
|
28
|
+
isInstance = isInstance && "status" in value;
|
|
29
|
+
isInstance = isInstance && "tags" in value;
|
|
30
|
+
isInstance = isInstance && "createdBy" in value;
|
|
31
|
+
isInstance = isInstance && "createdAt" in value;
|
|
32
|
+
isInstance = isInstance && "updatedAt" in value;
|
|
33
|
+
return isInstance;
|
|
34
|
+
}
|
|
35
|
+
exports.instanceOfDataset = instanceOfDataset;
|
|
36
|
+
function DatasetFromJSON(json) {
|
|
37
|
+
return DatasetFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
exports.DatasetFromJSON = DatasetFromJSON;
|
|
40
|
+
function DatasetFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if ((json === undefined) || (json === null)) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': json['id'],
|
|
46
|
+
'name': json['name'],
|
|
47
|
+
'desc': json['desc'],
|
|
48
|
+
'processId': json['processId'],
|
|
49
|
+
'sourceDatasets': json['sourceDatasets'],
|
|
50
|
+
'status': json['status'],
|
|
51
|
+
'tags': (json['tags'].map(Tag_1.TagFromJSON)),
|
|
52
|
+
'createdBy': json['createdBy'],
|
|
53
|
+
'createdAt': json['createdAt'],
|
|
54
|
+
'updatedAt': json['updatedAt'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
exports.DatasetFromJSONTyped = DatasetFromJSONTyped;
|
|
58
|
+
function DatasetToJSON(value) {
|
|
59
|
+
if (value === undefined) {
|
|
60
|
+
return undefined;
|
|
61
|
+
}
|
|
62
|
+
if (value === null) {
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'id': value.id,
|
|
67
|
+
'name': value.name,
|
|
68
|
+
'desc': value.desc,
|
|
69
|
+
'processId': value.processId,
|
|
70
|
+
'sourceDatasets': value.sourceDatasets,
|
|
71
|
+
'status': value.status,
|
|
72
|
+
'tags': (value.tags.map(Tag_1.TagToJSON)),
|
|
73
|
+
'createdBy': value.createdBy,
|
|
74
|
+
'createdAt': value.createdAt,
|
|
75
|
+
'updatedAt': value.updatedAt,
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
exports.DatasetToJSON = DatasetToJSON;
|