@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
|
+
/**
|
|
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 UpdateUserRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateUserRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateUserRequest
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateUserRequest
|
|
28
|
+
*/
|
|
29
|
+
email: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateUserRequest
|
|
34
|
+
*/
|
|
35
|
+
phone: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateUserRequest
|
|
40
|
+
*/
|
|
41
|
+
department: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {{ [key: string]: any; }}
|
|
45
|
+
* @memberof UpdateUserRequest
|
|
46
|
+
*/
|
|
47
|
+
settings: {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the UpdateUserRequest interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfUpdateUserRequest(value: object): boolean;
|
|
55
|
+
export declare function UpdateUserRequestFromJSON(json: any): UpdateUserRequest;
|
|
56
|
+
export declare function UpdateUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateUserRequest;
|
|
57
|
+
export declare function UpdateUserRequestToJSON(value?: UpdateUserRequest | 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.UpdateUserRequestToJSON = exports.UpdateUserRequestFromJSONTyped = exports.UpdateUserRequestFromJSON = exports.instanceOfUpdateUserRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the UpdateUserRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfUpdateUserRequest(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "name" in value;
|
|
23
|
+
isInstance = isInstance && "email" in value;
|
|
24
|
+
isInstance = isInstance && "phone" in value;
|
|
25
|
+
isInstance = isInstance && "department" in value;
|
|
26
|
+
isInstance = isInstance && "settings" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfUpdateUserRequest = instanceOfUpdateUserRequest;
|
|
30
|
+
function UpdateUserRequestFromJSON(json) {
|
|
31
|
+
return UpdateUserRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.UpdateUserRequestFromJSON = UpdateUserRequestFromJSON;
|
|
34
|
+
function UpdateUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'name': json['name'],
|
|
40
|
+
'email': json['email'],
|
|
41
|
+
'phone': json['phone'],
|
|
42
|
+
'department': json['department'],
|
|
43
|
+
'settings': json['settings'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateUserRequestFromJSONTyped = UpdateUserRequestFromJSONTyped;
|
|
47
|
+
function UpdateUserRequestToJSON(value) {
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
if (value === null) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'name': value.name,
|
|
56
|
+
'email': value.email,
|
|
57
|
+
'phone': value.phone,
|
|
58
|
+
'department': value.department,
|
|
59
|
+
'settings': value.settings,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
exports.UpdateUserRequestToJSON = UpdateUserRequestToJSON;
|
|
@@ -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 User
|
|
16
|
+
*/
|
|
17
|
+
export interface User {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof User
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof User
|
|
28
|
+
*/
|
|
29
|
+
username: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof User
|
|
34
|
+
*/
|
|
35
|
+
organization: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof User
|
|
40
|
+
*/
|
|
41
|
+
department: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the User interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfUser(value: object): boolean;
|
|
47
|
+
export declare function UserFromJSON(json: any): User;
|
|
48
|
+
export declare function UserFromJSONTyped(json: any, ignoreDiscriminator: boolean): User;
|
|
49
|
+
export declare function UserToJSON(value?: User | 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.UserToJSON = exports.UserFromJSONTyped = exports.UserFromJSON = exports.instanceOfUser = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the User interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfUser(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "name" in value;
|
|
23
|
+
isInstance = isInstance && "username" in value;
|
|
24
|
+
isInstance = isInstance && "organization" in value;
|
|
25
|
+
isInstance = isInstance && "department" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfUser = instanceOfUser;
|
|
29
|
+
function UserFromJSON(json) {
|
|
30
|
+
return UserFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.UserFromJSON = UserFromJSON;
|
|
33
|
+
function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
'username': json['username'],
|
|
40
|
+
'organization': json['organization'],
|
|
41
|
+
'department': json['department'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
exports.UserFromJSONTyped = UserFromJSONTyped;
|
|
45
|
+
function UserToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'name': value.name,
|
|
54
|
+
'username': value.username,
|
|
55
|
+
'organization': value.organization,
|
|
56
|
+
'department': value.department,
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
exports.UserToJSON = UserToJSON;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export * from './BillingAccount';
|
|
2
|
+
export * from './BillingMethod';
|
|
3
|
+
export * from './BudgetPeriod';
|
|
4
|
+
export * from './CloudAccount';
|
|
5
|
+
export * from './Contact';
|
|
6
|
+
export * from './CreateNotebookInstanceRequest';
|
|
7
|
+
export * from './CreateResponse';
|
|
8
|
+
export * from './CustomerType';
|
|
9
|
+
export * from './Dataset';
|
|
10
|
+
export * from './DatasetDetail';
|
|
11
|
+
export * from './DatasetType';
|
|
12
|
+
export * from './Executor';
|
|
13
|
+
export * from './FormSchema';
|
|
14
|
+
export * from './GetExecutionLogsResponse';
|
|
15
|
+
export * from './LogEntry';
|
|
16
|
+
export * from './NotebookInstance';
|
|
17
|
+
export * from './OpenNotebookInstanceResponse';
|
|
18
|
+
export * from './Process';
|
|
19
|
+
export * from './Project';
|
|
20
|
+
export * from './ProjectDetail';
|
|
21
|
+
export * from './ProjectMetrics';
|
|
22
|
+
export * from './ProjectRequest';
|
|
23
|
+
export * from './ProjectRole';
|
|
24
|
+
export * from './ProjectSettings';
|
|
25
|
+
export * from './ReferenceType';
|
|
26
|
+
export * from './Region';
|
|
27
|
+
export * from './RegisterDatasetRequest';
|
|
28
|
+
export * from './ServiceConnection';
|
|
29
|
+
export * from './SetUserProjectRoleRequest';
|
|
30
|
+
export * from './StopExecutionResponse';
|
|
31
|
+
export * from './SystemInfoResponse';
|
|
32
|
+
export * from './Tag';
|
|
33
|
+
export * from './Task';
|
|
34
|
+
export * from './UpdateDatasetRequest';
|
|
35
|
+
export * from './UpdateUserRequest';
|
|
36
|
+
export * from './User';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
/* tslint:disable */
|
|
18
|
+
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./BillingAccount"), exports);
|
|
20
|
+
__exportStar(require("./BillingMethod"), exports);
|
|
21
|
+
__exportStar(require("./BudgetPeriod"), exports);
|
|
22
|
+
__exportStar(require("./CloudAccount"), exports);
|
|
23
|
+
__exportStar(require("./Contact"), exports);
|
|
24
|
+
__exportStar(require("./CreateNotebookInstanceRequest"), exports);
|
|
25
|
+
__exportStar(require("./CreateResponse"), exports);
|
|
26
|
+
__exportStar(require("./CustomerType"), exports);
|
|
27
|
+
__exportStar(require("./Dataset"), exports);
|
|
28
|
+
__exportStar(require("./DatasetDetail"), exports);
|
|
29
|
+
__exportStar(require("./DatasetType"), exports);
|
|
30
|
+
__exportStar(require("./Executor"), exports);
|
|
31
|
+
__exportStar(require("./FormSchema"), exports);
|
|
32
|
+
__exportStar(require("./GetExecutionLogsResponse"), exports);
|
|
33
|
+
__exportStar(require("./LogEntry"), exports);
|
|
34
|
+
__exportStar(require("./NotebookInstance"), exports);
|
|
35
|
+
__exportStar(require("./OpenNotebookInstanceResponse"), exports);
|
|
36
|
+
__exportStar(require("./Process"), exports);
|
|
37
|
+
__exportStar(require("./Project"), exports);
|
|
38
|
+
__exportStar(require("./ProjectDetail"), exports);
|
|
39
|
+
__exportStar(require("./ProjectMetrics"), exports);
|
|
40
|
+
__exportStar(require("./ProjectRequest"), exports);
|
|
41
|
+
__exportStar(require("./ProjectRole"), exports);
|
|
42
|
+
__exportStar(require("./ProjectSettings"), exports);
|
|
43
|
+
__exportStar(require("./ReferenceType"), exports);
|
|
44
|
+
__exportStar(require("./Region"), exports);
|
|
45
|
+
__exportStar(require("./RegisterDatasetRequest"), exports);
|
|
46
|
+
__exportStar(require("./ServiceConnection"), exports);
|
|
47
|
+
__exportStar(require("./SetUserProjectRoleRequest"), exports);
|
|
48
|
+
__exportStar(require("./StopExecutionResponse"), exports);
|
|
49
|
+
__exportStar(require("./SystemInfoResponse"), exports);
|
|
50
|
+
__exportStar(require("./Tag"), exports);
|
|
51
|
+
__exportStar(require("./Task"), exports);
|
|
52
|
+
__exportStar(require("./UpdateDatasetRequest"), exports);
|
|
53
|
+
__exportStar(require("./UpdateUserRequest"), exports);
|
|
54
|
+
__exportStar(require("./User"), exports);
|
|
@@ -0,0 +1,182 @@
|
|
|
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
|
+
export declare const BASE_PATH: string;
|
|
13
|
+
export interface ConfigurationParameters {
|
|
14
|
+
basePath?: string;
|
|
15
|
+
fetchApi?: FetchAPI;
|
|
16
|
+
middleware?: Middleware[];
|
|
17
|
+
queryParamsStringify?: (params: HTTPQuery) => string;
|
|
18
|
+
username?: string;
|
|
19
|
+
password?: string;
|
|
20
|
+
apiKey?: string | ((name: string) => string);
|
|
21
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
|
|
22
|
+
headers?: HTTPHeaders;
|
|
23
|
+
credentials?: RequestCredentials;
|
|
24
|
+
}
|
|
25
|
+
export declare class Configuration {
|
|
26
|
+
private configuration;
|
|
27
|
+
constructor(configuration?: ConfigurationParameters);
|
|
28
|
+
set config(configuration: Configuration);
|
|
29
|
+
get basePath(): string;
|
|
30
|
+
get fetchApi(): FetchAPI | undefined;
|
|
31
|
+
get middleware(): Middleware[];
|
|
32
|
+
get queryParamsStringify(): (params: HTTPQuery) => string;
|
|
33
|
+
get username(): string | undefined;
|
|
34
|
+
get password(): string | undefined;
|
|
35
|
+
get apiKey(): ((name: string) => string) | undefined;
|
|
36
|
+
get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
|
|
37
|
+
get headers(): HTTPHeaders | undefined;
|
|
38
|
+
get credentials(): RequestCredentials | undefined;
|
|
39
|
+
}
|
|
40
|
+
export declare const DefaultConfig: Configuration;
|
|
41
|
+
/**
|
|
42
|
+
* This is the base class for all generated API classes.
|
|
43
|
+
*/
|
|
44
|
+
export declare class BaseAPI {
|
|
45
|
+
protected configuration: Configuration;
|
|
46
|
+
private static readonly jsonRegex;
|
|
47
|
+
private middleware;
|
|
48
|
+
constructor(configuration?: Configuration);
|
|
49
|
+
withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
|
|
50
|
+
withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
|
|
51
|
+
withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
|
|
52
|
+
/**
|
|
53
|
+
* Check if the given MIME is a JSON MIME.
|
|
54
|
+
* JSON MIME examples:
|
|
55
|
+
* application/json
|
|
56
|
+
* application/json; charset=UTF8
|
|
57
|
+
* APPLICATION/JSON
|
|
58
|
+
* application/vnd.company+json
|
|
59
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
60
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
61
|
+
*/
|
|
62
|
+
protected isJsonMime(mime: string | null | undefined): boolean;
|
|
63
|
+
protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
|
|
64
|
+
private createFetchParams;
|
|
65
|
+
private fetchApi;
|
|
66
|
+
/**
|
|
67
|
+
* Create a shallow clone of `this` by constructing a new instance
|
|
68
|
+
* and then shallow cloning data members.
|
|
69
|
+
*/
|
|
70
|
+
private clone;
|
|
71
|
+
}
|
|
72
|
+
export declare class ResponseError extends Error {
|
|
73
|
+
response: Response;
|
|
74
|
+
name: "ResponseError";
|
|
75
|
+
constructor(response: Response, msg?: string);
|
|
76
|
+
}
|
|
77
|
+
export declare class FetchError extends Error {
|
|
78
|
+
cause: Error;
|
|
79
|
+
name: "FetchError";
|
|
80
|
+
constructor(cause: Error, msg?: string);
|
|
81
|
+
}
|
|
82
|
+
export declare class RequiredError extends Error {
|
|
83
|
+
field: string;
|
|
84
|
+
name: "RequiredError";
|
|
85
|
+
constructor(field: string, msg?: string);
|
|
86
|
+
}
|
|
87
|
+
export declare const COLLECTION_FORMATS: {
|
|
88
|
+
csv: string;
|
|
89
|
+
ssv: string;
|
|
90
|
+
tsv: string;
|
|
91
|
+
pipes: string;
|
|
92
|
+
};
|
|
93
|
+
export type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
|
|
94
|
+
export type Json = any;
|
|
95
|
+
export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
|
|
96
|
+
export type HTTPHeaders = {
|
|
97
|
+
[key: string]: string;
|
|
98
|
+
};
|
|
99
|
+
export type HTTPQuery = {
|
|
100
|
+
[key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
|
|
101
|
+
};
|
|
102
|
+
export type HTTPBody = Json | FormData | URLSearchParams;
|
|
103
|
+
export type HTTPRequestInit = {
|
|
104
|
+
headers?: HTTPHeaders;
|
|
105
|
+
method: HTTPMethod;
|
|
106
|
+
credentials?: RequestCredentials;
|
|
107
|
+
body?: HTTPBody;
|
|
108
|
+
};
|
|
109
|
+
export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
|
|
110
|
+
export type InitOverrideFunction = (requestContext: {
|
|
111
|
+
init: HTTPRequestInit;
|
|
112
|
+
context: RequestOpts;
|
|
113
|
+
}) => Promise<RequestInit>;
|
|
114
|
+
export interface FetchParams {
|
|
115
|
+
url: string;
|
|
116
|
+
init: RequestInit;
|
|
117
|
+
}
|
|
118
|
+
export interface RequestOpts {
|
|
119
|
+
path: string;
|
|
120
|
+
method: HTTPMethod;
|
|
121
|
+
headers: HTTPHeaders;
|
|
122
|
+
query?: HTTPQuery;
|
|
123
|
+
body?: HTTPBody;
|
|
124
|
+
}
|
|
125
|
+
export declare function exists(json: any, key: string): boolean;
|
|
126
|
+
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
127
|
+
export declare function mapValues(data: any, fn: (item: any) => any): {};
|
|
128
|
+
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
129
|
+
export interface Consume {
|
|
130
|
+
contentType: string;
|
|
131
|
+
}
|
|
132
|
+
export interface RequestContext {
|
|
133
|
+
fetch: FetchAPI;
|
|
134
|
+
url: string;
|
|
135
|
+
init: RequestInit;
|
|
136
|
+
}
|
|
137
|
+
export interface ResponseContext {
|
|
138
|
+
fetch: FetchAPI;
|
|
139
|
+
url: string;
|
|
140
|
+
init: RequestInit;
|
|
141
|
+
response: Response;
|
|
142
|
+
}
|
|
143
|
+
export interface ErrorContext {
|
|
144
|
+
fetch: FetchAPI;
|
|
145
|
+
url: string;
|
|
146
|
+
init: RequestInit;
|
|
147
|
+
error: unknown;
|
|
148
|
+
response?: Response;
|
|
149
|
+
}
|
|
150
|
+
export interface Middleware {
|
|
151
|
+
pre?(context: RequestContext): Promise<FetchParams | void>;
|
|
152
|
+
post?(context: ResponseContext): Promise<Response | void>;
|
|
153
|
+
onError?(context: ErrorContext): Promise<Response | void>;
|
|
154
|
+
}
|
|
155
|
+
export interface ApiResponse<T> {
|
|
156
|
+
raw: Response;
|
|
157
|
+
value(): Promise<T>;
|
|
158
|
+
}
|
|
159
|
+
export interface ResponseTransformer<T> {
|
|
160
|
+
(json: any): T;
|
|
161
|
+
}
|
|
162
|
+
export declare class JSONApiResponse<T> {
|
|
163
|
+
raw: Response;
|
|
164
|
+
private transformer;
|
|
165
|
+
constructor(raw: Response, transformer?: ResponseTransformer<T>);
|
|
166
|
+
value(): Promise<T>;
|
|
167
|
+
}
|
|
168
|
+
export declare class VoidApiResponse {
|
|
169
|
+
raw: Response;
|
|
170
|
+
constructor(raw: Response);
|
|
171
|
+
value(): Promise<void>;
|
|
172
|
+
}
|
|
173
|
+
export declare class BlobApiResponse {
|
|
174
|
+
raw: Response;
|
|
175
|
+
constructor(raw: Response);
|
|
176
|
+
value(): Promise<Blob>;
|
|
177
|
+
}
|
|
178
|
+
export declare class TextApiResponse {
|
|
179
|
+
raw: Response;
|
|
180
|
+
constructor(raw: Response);
|
|
181
|
+
value(): Promise<string>;
|
|
182
|
+
}
|