@cirrobio/api-client 0.1.9 → 0.1.11
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 +106 -105
- package/README.md +1 -1
- package/dist/apis/AuditApi.d.ts +44 -44
- package/dist/apis/AuditApi.js +175 -175
- package/dist/apis/BillingApi.d.ts +81 -81
- package/dist/apis/BillingApi.js +354 -354
- package/dist/apis/DashboardsApi.d.ts +88 -88
- package/dist/apis/DashboardsApi.js +374 -374
- package/dist/apis/DatasetsApi.d.ts +162 -162
- package/dist/apis/DatasetsApi.js +670 -670
- package/dist/apis/ExecutionApi.d.ts +110 -110
- package/dist/apis/ExecutionApi.js +442 -442
- package/dist/apis/FileApi.d.ts +46 -46
- package/dist/apis/FileApi.js +200 -200
- package/dist/apis/MetadataApi.d.ts +71 -71
- package/dist/apis/MetadataApi.js +313 -313
- package/dist/apis/MetricsApi.d.ts +41 -41
- package/dist/apis/MetricsApi.js +187 -187
- package/dist/apis/NotebooksApi.d.ts +101 -101
- package/dist/apis/NotebooksApi.js +423 -423
- package/dist/apis/ProcessesApi.d.ts +138 -124
- package/dist/apis/ProcessesApi.js +589 -529
- package/dist/apis/ProjectsApi.d.ts +122 -122
- package/dist/apis/ProjectsApi.js +528 -528
- package/dist/apis/ReferencesApi.d.ts +91 -91
- package/dist/apis/ReferencesApi.js +405 -405
- package/dist/apis/SystemApi.d.ts +36 -36
- package/dist/apis/SystemApi.js +182 -182
- package/dist/apis/UsersApi.d.ts +84 -84
- package/dist/apis/UsersApi.js +363 -363
- package/dist/apis/index.d.ts +14 -14
- package/dist/apis/index.js +32 -32
- package/dist/index.d.ts +3 -3
- package/dist/index.js +21 -21
- package/dist/models/AWSCredentials.d.ts +55 -55
- package/dist/models/AWSCredentials.js +62 -62
- package/dist/models/AccessType.d.ts +25 -25
- package/dist/models/AccessType.js +40 -40
- package/dist/models/AllowedDataType.d.ts +44 -44
- package/dist/models/AllowedDataType.js +57 -57
- package/dist/models/AuditEvent.d.ts +89 -89
- package/dist/models/AuditEvent.js +68 -68
- package/dist/models/AuthInfo.d.ts +49 -49
- package/dist/models/AuthInfo.js +59 -59
- package/dist/models/BillingAccount.d.ts +88 -88
- package/dist/models/BillingAccount.js +80 -80
- package/dist/models/BillingAccountRequest.d.ts +70 -70
- package/dist/models/BillingAccountRequest.js +71 -71
- package/dist/models/BillingMethod.d.ts +24 -24
- package/dist/models/BillingMethod.js +39 -39
- package/dist/models/BudgetPeriod.d.ts +24 -24
- package/dist/models/BudgetPeriod.js +39 -39
- package/dist/models/CloudAccount.d.ts +50 -50
- package/dist/models/CloudAccount.js +58 -58
- package/dist/models/CloudAccountType.d.ts +23 -23
- package/dist/models/CloudAccountType.js +38 -38
- package/dist/models/ColumnDefinition.d.ts +43 -43
- package/dist/models/ColumnDefinition.js +54 -54
- package/dist/models/Contact.d.ts +49 -49
- package/dist/models/Contact.js +59 -59
- package/dist/models/CreateNotebookInstanceRequest.d.ts +49 -49
- package/dist/models/CreateNotebookInstanceRequest.js +59 -59
- package/dist/models/CreateReferenceRequest.d.ts +49 -49
- package/dist/models/CreateReferenceRequest.js +59 -59
- package/dist/models/CreateResponse.d.ts +37 -37
- package/dist/models/CreateResponse.js +53 -53
- package/dist/models/CustomPipelineSettings.d.ts +62 -62
- package/dist/models/CustomPipelineSettings.js +62 -62
- package/dist/models/CustomerType.d.ts +24 -24
- package/dist/models/CustomerType.js +39 -39
- package/dist/models/Dashboard.d.ts +83 -83
- package/dist/models/Dashboard.js +74 -74
- package/dist/models/DashboardRequest.d.ts +59 -59
- package/dist/models/DashboardRequest.js +62 -62
- package/dist/models/Dataset.d.ts +93 -93
- package/dist/models/Dataset.js +82 -82
- package/dist/models/DatasetAssetsManifest.d.ts +58 -58
- package/dist/models/DatasetAssetsManifest.js +61 -61
- package/dist/models/DatasetDetail.d.ts +121 -121
- package/dist/models/DatasetDetail.js +94 -94
- package/dist/models/DatasetViz.d.ts +49 -49
- package/dist/models/DatasetViz.js +56 -56
- package/dist/models/ErrorMessage.d.ts +31 -31
- package/dist/models/ErrorMessage.js +50 -50
- package/dist/models/Executor.d.ts +25 -24
- package/dist/models/Executor.js +40 -39
- package/dist/models/FileAccessRequest.d.ts +44 -44
- package/dist/models/FileAccessRequest.js +56 -56
- package/dist/models/FileEntry.d.ts +45 -45
- package/dist/models/FileEntry.js +54 -54
- package/dist/models/FileMappingRule.d.ts +56 -56
- package/dist/models/FileMappingRule.js +61 -61
- package/dist/models/FileNamePattern.d.ts +43 -43
- package/dist/models/FileNamePattern.js +56 -56
- package/dist/models/FileRequirements.d.ts +44 -44
- package/dist/models/FileRequirements.js +57 -57
- package/dist/models/FormSchema.d.ts +41 -41
- package/dist/models/FormSchema.js +52 -52
- package/dist/models/GenerateSftpCredentialsRequest.d.ts +31 -31
- package/dist/models/GenerateSftpCredentialsRequest.js +50 -50
- package/dist/models/GetExecutionLogsResponse.d.ts +32 -32
- package/dist/models/GetExecutionLogsResponse.js +51 -51
- package/dist/models/ImportDataRequest.d.ts +43 -43
- package/dist/models/ImportDataRequest.js +56 -56
- package/dist/models/InviteUserRequest.d.ts +43 -43
- package/dist/models/InviteUserRequest.js +56 -56
- package/dist/models/InviteUserResponse.d.ts +31 -31
- package/dist/models/InviteUserResponse.js +50 -50
- package/dist/models/LogEntry.d.ts +37 -37
- package/dist/models/LogEntry.js +53 -53
- package/dist/models/LoginProvider.d.ts +49 -49
- package/dist/models/LoginProvider.js +59 -59
- package/dist/models/MetricRecord.d.ts +45 -45
- package/dist/models/MetricRecord.js +55 -55
- package/dist/models/NotebookInstance.d.ts +86 -86
- package/dist/models/NotebookInstance.js +78 -78
- package/dist/models/NotebookInstanceStatusResponse.d.ts +37 -37
- package/dist/models/NotebookInstanceStatusResponse.js +53 -53
- package/dist/models/OpenNotebookInstanceResponse.d.ts +37 -37
- package/dist/models/OpenNotebookInstanceResponse.js +53 -53
- package/dist/models/PaginatedResponseDatasetListDto.d.ts +38 -38
- package/dist/models/PaginatedResponseDatasetListDto.js +54 -54
- package/dist/models/PaginatedResponseSampleDto.d.ts +38 -38
- package/dist/models/PaginatedResponseSampleDto.js +54 -54
- package/dist/models/PipelineCode.d.ts +50 -50
- package/dist/models/PipelineCode.js +60 -60
- package/dist/models/PipelineCost.d.ts +43 -0
- package/dist/models/PipelineCost.js +54 -0
- package/dist/models/PortalErrorResponse.d.ts +50 -50
- package/dist/models/PortalErrorResponse.js +60 -60
- package/dist/models/Process.d.ts +104 -104
- package/dist/models/Process.js +78 -78
- package/dist/models/ProcessDetail.d.ts +125 -125
- package/dist/models/ProcessDetail.js +91 -91
- package/dist/models/Project.d.ts +63 -63
- package/dist/models/Project.js +67 -67
- package/dist/models/ProjectDetail.d.ts +101 -101
- package/dist/models/ProjectDetail.js +87 -87
- package/dist/models/ProjectMetrics.d.ts +44 -44
- package/dist/models/ProjectMetrics.js +56 -56
- package/dist/models/ProjectRequest.d.ts +71 -71
- package/dist/models/ProjectRequest.js +71 -71
- package/dist/models/ProjectRole.d.ts +25 -25
- package/dist/models/ProjectRole.js +40 -40
- package/dist/models/ProjectSettings.d.ts +116 -116
- package/dist/models/ProjectSettings.js +81 -81
- package/dist/models/ProjectUser.d.ts +62 -62
- package/dist/models/ProjectUser.js +66 -66
- package/dist/models/Reference.d.ts +68 -68
- package/dist/models/Reference.js +69 -69
- package/dist/models/ReferenceType.d.ts +51 -51
- package/dist/models/ReferenceType.js +59 -59
- package/dist/models/RepositoryType.d.ts +25 -25
- package/dist/models/RepositoryType.js +40 -40
- package/dist/models/ResourcesInfo.d.ts +49 -49
- package/dist/models/ResourcesInfo.js +59 -59
- package/dist/models/RunAnalysisRequest.d.ts +69 -69
- package/dist/models/RunAnalysisRequest.js +67 -67
- package/dist/models/Sample.d.ts +63 -63
- package/dist/models/Sample.js +65 -65
- package/dist/models/SampleRequest.d.ts +39 -39
- package/dist/models/SampleRequest.js +53 -53
- package/dist/models/ServiceConnection.d.ts +37 -37
- package/dist/models/ServiceConnection.js +53 -53
- package/dist/models/SetUserProjectRoleRequest.d.ts +44 -44
- package/dist/models/SetUserProjectRoleRequest.js +57 -57
- package/dist/models/SftpCredentials.d.ts +49 -49
- package/dist/models/SftpCredentials.js +59 -59
- package/dist/models/Status.d.ts +30 -30
- package/dist/models/Status.js +45 -45
- package/dist/models/StopExecutionResponse.d.ts +37 -37
- package/dist/models/StopExecutionResponse.js +52 -52
- package/dist/models/SyncStatus.d.ts +23 -23
- package/dist/models/SyncStatus.js +38 -38
- package/dist/models/SystemInfoResponse.d.ts +94 -94
- package/dist/models/SystemInfoResponse.js +83 -83
- package/dist/models/Table.d.ts +62 -62
- package/dist/models/Table.js +62 -62
- package/dist/models/Tag.d.ts +43 -43
- package/dist/models/Tag.js +56 -56
- package/dist/models/Task.d.ts +73 -73
- package/dist/models/Task.js +68 -68
- package/dist/models/TenantInfo.d.ts +80 -80
- package/dist/models/TenantInfo.js +75 -75
- package/dist/models/UpdateDatasetRequest.d.ts +50 -50
- package/dist/models/UpdateDatasetRequest.js +60 -60
- package/dist/models/UpdateUserRequest.d.ts +69 -69
- package/dist/models/UpdateUserRequest.js +64 -64
- package/dist/models/UploadDatasetCreateResponse.d.ts +43 -43
- package/dist/models/UploadDatasetCreateResponse.js +56 -56
- package/dist/models/UploadDatasetRequest.d.ts +49 -49
- package/dist/models/UploadDatasetRequest.js +59 -59
- package/dist/models/User.d.ts +49 -49
- package/dist/models/User.js +59 -59
- package/dist/models/UserDetail.d.ts +86 -86
- package/dist/models/UserDetail.js +78 -78
- package/dist/models/UserProjectAssignment.d.ts +50 -50
- package/dist/models/UserProjectAssignment.js +60 -60
- package/dist/models/ValidateFileRequirementsRequest.d.ts +37 -37
- package/dist/models/ValidateFileRequirementsRequest.js +53 -53
- package/dist/models/index.d.ts +83 -82
- package/dist/models/index.js +101 -100
- package/dist/runtime.d.ts +182 -182
- package/dist/runtime.js +562 -562
- package/package.json +1 -1
- package/src/apis/ProcessesApi.ts +55 -0
- package/src/models/Executor.ts +2 -1
- package/src/models/PipelineCost.ts +81 -0
- package/src/models/index.ts +1 -0
- package/dist/models/CreateDashboardRequest.d.ts +0 -31
- package/dist/models/CreateDashboardRequest.js +0 -50
- package/dist/models/CustomPipelineSettingsDto1.d.ts +0 -61
- package/dist/models/CustomPipelineSettingsDto1.js +0 -65
- package/dist/models/CustomProcessRequest.d.ts +0 -99
- package/dist/models/CustomProcessRequest.js +0 -83
- package/dist/models/CustomProcessRequestPipelineCode.d.ts +0 -50
- package/dist/models/CustomProcessRequestPipelineCode.js +0 -58
- package/dist/models/DatasetFile.d.ts +0 -45
- package/dist/models/DatasetFile.js +0 -54
- package/dist/models/DatasetType.d.ts +0 -23
- package/dist/models/DatasetType.js +0 -38
- package/dist/models/ProcessDetailAllOfPipelineCode.d.ts +0 -50
- package/dist/models/ProcessDetailAllOfPipelineCode.js +0 -58
- package/dist/models/Region.d.ts +0 -31
- package/dist/models/Region.js +0 -50
- package/dist/models/RegisterDatasetRequest.d.ts +0 -49
- package/dist/models/RegisterDatasetRequest.js +0 -59
- package/dist/models/RegisterPublicDataRequest.d.ts +0 -43
- package/dist/models/RegisterPublicDataRequest.js +0 -56
- package/dist/models/S3Credentials.d.ts +0 -55
- package/dist/models/S3Credentials.js +0 -62
- package/dist/models/ValidateDataInputsRequest.d.ts +0 -37
- package/dist/models/ValidateDataInputsRequest.js +0 -53
- package/dist/models/ValidateDataInputsResponse.d.ts +0 -44
- package/dist/models/ValidateDataInputsResponse.js +0 -57
package/package.json
CHANGED
package/src/apis/ProcessesApi.ts
CHANGED
|
@@ -20,6 +20,7 @@ import type {
|
|
|
20
20
|
ErrorMessage,
|
|
21
21
|
FileRequirements,
|
|
22
22
|
FormSchema,
|
|
23
|
+
PipelineCost,
|
|
23
24
|
PortalErrorResponse,
|
|
24
25
|
Process,
|
|
25
26
|
ProcessDetail,
|
|
@@ -36,6 +37,8 @@ import {
|
|
|
36
37
|
FileRequirementsToJSON,
|
|
37
38
|
FormSchemaFromJSON,
|
|
38
39
|
FormSchemaToJSON,
|
|
40
|
+
PipelineCostFromJSON,
|
|
41
|
+
PipelineCostToJSON,
|
|
39
42
|
PortalErrorResponseFromJSON,
|
|
40
43
|
PortalErrorResponseToJSON,
|
|
41
44
|
ProcessFromJSON,
|
|
@@ -50,6 +53,11 @@ export interface ArchiveCustomProcessRequest {
|
|
|
50
53
|
processId: string;
|
|
51
54
|
}
|
|
52
55
|
|
|
56
|
+
export interface CalculatePipelineCostRequest {
|
|
57
|
+
processId: string;
|
|
58
|
+
body: object;
|
|
59
|
+
}
|
|
60
|
+
|
|
53
61
|
export interface CreateCustomProcessRequest {
|
|
54
62
|
processDetail: ProcessDetail;
|
|
55
63
|
}
|
|
@@ -124,6 +132,53 @@ export class ProcessesApi extends runtime.BaseAPI {
|
|
|
124
132
|
await this.archiveCustomProcessRaw(requestParameters, initOverrides);
|
|
125
133
|
}
|
|
126
134
|
|
|
135
|
+
/**
|
|
136
|
+
* Retrieves the cost of running the pipeline
|
|
137
|
+
* Calculate pipeline cost
|
|
138
|
+
*/
|
|
139
|
+
async calculatePipelineCostRaw(requestParameters: CalculatePipelineCostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PipelineCost>> {
|
|
140
|
+
if (requestParameters.processId === null || requestParameters.processId === undefined) {
|
|
141
|
+
throw new runtime.RequiredError('processId','Required parameter requestParameters.processId was null or undefined when calling calculatePipelineCost.');
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
if (requestParameters.body === null || requestParameters.body === undefined) {
|
|
145
|
+
throw new runtime.RequiredError('body','Required parameter requestParameters.body was null or undefined when calling calculatePipelineCost.');
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
const queryParameters: any = {};
|
|
149
|
+
|
|
150
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
151
|
+
|
|
152
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
153
|
+
|
|
154
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
155
|
+
const token = this.configuration.accessToken;
|
|
156
|
+
const tokenString = await token("accessToken", []);
|
|
157
|
+
|
|
158
|
+
if (tokenString) {
|
|
159
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
const response = await this.request({
|
|
163
|
+
path: `/processes/{processId}/cost`.replace(`{${"processId"}}`, encodeURIComponent(String(requestParameters.processId))),
|
|
164
|
+
method: 'POST',
|
|
165
|
+
headers: headerParameters,
|
|
166
|
+
query: queryParameters,
|
|
167
|
+
body: requestParameters.body as any,
|
|
168
|
+
}, initOverrides);
|
|
169
|
+
|
|
170
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PipelineCostFromJSON(jsonValue));
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Retrieves the cost of running the pipeline
|
|
175
|
+
* Calculate pipeline cost
|
|
176
|
+
*/
|
|
177
|
+
async calculatePipelineCost(requestParameters: CalculatePipelineCostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PipelineCost> {
|
|
178
|
+
const response = await this.calculatePipelineCostRaw(requestParameters, initOverrides);
|
|
179
|
+
return await response.value();
|
|
180
|
+
}
|
|
181
|
+
|
|
127
182
|
/**
|
|
128
183
|
* Creates a custom data type or pipeline which you can use in the listed projects.
|
|
129
184
|
* Create custom process
|
package/src/models/Executor.ts
CHANGED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cirro Data
|
|
5
|
+
* Cirro Data Platform service API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
* Contact: support@cirro.bio
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PipelineCost
|
|
20
|
+
*/
|
|
21
|
+
export interface PipelineCost {
|
|
22
|
+
/**
|
|
23
|
+
* The total cost of running the pipeline
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof PipelineCost
|
|
26
|
+
*/
|
|
27
|
+
totalCost?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Is this an estimate of the cost?
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof PipelineCost
|
|
32
|
+
*/
|
|
33
|
+
isEstimate?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Description of the cost calculation
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof PipelineCost
|
|
38
|
+
*/
|
|
39
|
+
description?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the PipelineCost interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfPipelineCost(value: object): boolean {
|
|
46
|
+
let isInstance = true;
|
|
47
|
+
|
|
48
|
+
return isInstance;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function PipelineCostFromJSON(json: any): PipelineCost {
|
|
52
|
+
return PipelineCostFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function PipelineCostFromJSONTyped(json: any, ignoreDiscriminator: boolean): PipelineCost {
|
|
56
|
+
if ((json === undefined) || (json === null)) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'totalCost': !exists(json, 'totalCost') ? undefined : json['totalCost'],
|
|
62
|
+
'isEstimate': !exists(json, 'isEstimate') ? undefined : json['isEstimate'],
|
|
63
|
+
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function PipelineCostToJSON(value?: PipelineCost | null): any {
|
|
68
|
+
if (value === undefined) {
|
|
69
|
+
return undefined;
|
|
70
|
+
}
|
|
71
|
+
if (value === null) {
|
|
72
|
+
return null;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'totalCost': value.totalCost,
|
|
77
|
+
'isEstimate': value.isEstimate,
|
|
78
|
+
'description': value.description,
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -46,6 +46,7 @@ export * from './OpenNotebookInstanceResponse';
|
|
|
46
46
|
export * from './PaginatedResponseDatasetListDto';
|
|
47
47
|
export * from './PaginatedResponseSampleDto';
|
|
48
48
|
export * from './PipelineCode';
|
|
49
|
+
export * from './PipelineCost';
|
|
49
50
|
export * from './PortalErrorResponse';
|
|
50
51
|
export * from './Process';
|
|
51
52
|
export * from './ProcessDetail';
|
|
@@ -1,31 +0,0 @@
|
|
|
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 CreateDashboardRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface CreateDashboardRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {object}
|
|
21
|
-
* @memberof CreateDashboardRequest
|
|
22
|
-
*/
|
|
23
|
-
dashboardRequest?: object;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the CreateDashboardRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfCreateDashboardRequest(value: object): boolean;
|
|
29
|
-
export declare function CreateDashboardRequestFromJSON(json: any): CreateDashboardRequest;
|
|
30
|
-
export declare function CreateDashboardRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateDashboardRequest;
|
|
31
|
-
export declare function CreateDashboardRequestToJSON(value?: CreateDashboardRequest | null): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.CreateDashboardRequestToJSON = exports.CreateDashboardRequestFromJSONTyped = exports.CreateDashboardRequestFromJSON = exports.instanceOfCreateDashboardRequest = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the CreateDashboardRequest interface.
|
|
20
|
-
*/
|
|
21
|
-
function instanceOfCreateDashboardRequest(value) {
|
|
22
|
-
var isInstance = true;
|
|
23
|
-
return isInstance;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfCreateDashboardRequest = instanceOfCreateDashboardRequest;
|
|
26
|
-
function CreateDashboardRequestFromJSON(json) {
|
|
27
|
-
return CreateDashboardRequestFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.CreateDashboardRequestFromJSON = CreateDashboardRequestFromJSON;
|
|
30
|
-
function CreateDashboardRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if ((json === undefined) || (json === null)) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'dashboardRequest': !(0, runtime_1.exists)(json, 'dashboardRequest') ? undefined : json['dashboardRequest'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.CreateDashboardRequestFromJSONTyped = CreateDashboardRequestFromJSONTyped;
|
|
39
|
-
function CreateDashboardRequestToJSON(value) {
|
|
40
|
-
if (value === undefined) {
|
|
41
|
-
return undefined;
|
|
42
|
-
}
|
|
43
|
-
if (value === null) {
|
|
44
|
-
return null;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'dashboardRequest': value.dashboardRequest,
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
exports.CreateDashboardRequestToJSON = CreateDashboardRequestToJSON;
|
|
@@ -1,61 +0,0 @@
|
|
|
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 CustomPipelineSettingsDto1
|
|
16
|
-
*/
|
|
17
|
-
export interface CustomPipelineSettingsDto1 {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CustomPipelineSettingsDto1
|
|
22
|
-
*/
|
|
23
|
-
repository: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CustomPipelineSettingsDto1
|
|
28
|
-
*/
|
|
29
|
-
branch: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CustomPipelineSettingsDto1
|
|
34
|
-
*/
|
|
35
|
-
folder: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {Date}
|
|
39
|
-
* @memberof CustomPipelineSettingsDto1
|
|
40
|
-
*/
|
|
41
|
-
lastSync: Date;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof CustomPipelineSettingsDto1
|
|
46
|
-
*/
|
|
47
|
-
syncStatus: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof CustomPipelineSettingsDto1
|
|
52
|
-
*/
|
|
53
|
-
commitHash: string;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Check if a given object implements the CustomPipelineSettingsDto1 interface.
|
|
57
|
-
*/
|
|
58
|
-
export declare function instanceOfCustomPipelineSettingsDto1(value: object): boolean;
|
|
59
|
-
export declare function CustomPipelineSettingsDto1FromJSON(json: any): CustomPipelineSettingsDto1;
|
|
60
|
-
export declare function CustomPipelineSettingsDto1FromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomPipelineSettingsDto1;
|
|
61
|
-
export declare function CustomPipelineSettingsDto1ToJSON(value?: CustomPipelineSettingsDto1 | null): any;
|
|
@@ -1,65 +0,0 @@
|
|
|
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.CustomPipelineSettingsDto1ToJSON = exports.CustomPipelineSettingsDto1FromJSONTyped = exports.CustomPipelineSettingsDto1FromJSON = exports.instanceOfCustomPipelineSettingsDto1 = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the CustomPipelineSettingsDto1 interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfCustomPipelineSettingsDto1(value) {
|
|
21
|
-
var isInstance = true;
|
|
22
|
-
isInstance = isInstance && "repository" in value;
|
|
23
|
-
isInstance = isInstance && "branch" in value;
|
|
24
|
-
isInstance = isInstance && "folder" in value;
|
|
25
|
-
isInstance = isInstance && "lastSync" in value;
|
|
26
|
-
isInstance = isInstance && "syncStatus" in value;
|
|
27
|
-
isInstance = isInstance && "commitHash" in value;
|
|
28
|
-
return isInstance;
|
|
29
|
-
}
|
|
30
|
-
exports.instanceOfCustomPipelineSettingsDto1 = instanceOfCustomPipelineSettingsDto1;
|
|
31
|
-
function CustomPipelineSettingsDto1FromJSON(json) {
|
|
32
|
-
return CustomPipelineSettingsDto1FromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
exports.CustomPipelineSettingsDto1FromJSON = CustomPipelineSettingsDto1FromJSON;
|
|
35
|
-
function CustomPipelineSettingsDto1FromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
-
if ((json === undefined) || (json === null)) {
|
|
37
|
-
return json;
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
'repository': json['repository'],
|
|
41
|
-
'branch': json['branch'],
|
|
42
|
-
'folder': json['folder'],
|
|
43
|
-
'lastSync': (new Date(json['lastSync'])),
|
|
44
|
-
'syncStatus': json['syncStatus'],
|
|
45
|
-
'commitHash': json['commitHash'],
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
exports.CustomPipelineSettingsDto1FromJSONTyped = CustomPipelineSettingsDto1FromJSONTyped;
|
|
49
|
-
function CustomPipelineSettingsDto1ToJSON(value) {
|
|
50
|
-
if (value === undefined) {
|
|
51
|
-
return undefined;
|
|
52
|
-
}
|
|
53
|
-
if (value === null) {
|
|
54
|
-
return null;
|
|
55
|
-
}
|
|
56
|
-
return {
|
|
57
|
-
'repository': value.repository,
|
|
58
|
-
'branch': value.branch,
|
|
59
|
-
'folder': value.folder,
|
|
60
|
-
'lastSync': (value.lastSync.toISOString()),
|
|
61
|
-
'syncStatus': value.syncStatus,
|
|
62
|
-
'commitHash': value.commitHash,
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
exports.CustomPipelineSettingsDto1ToJSON = CustomPipelineSettingsDto1ToJSON;
|
|
@@ -1,99 +0,0 @@
|
|
|
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 { CustomProcessRequestPipelineCode } from './CustomProcessRequestPipelineCode';
|
|
13
|
-
import type { Executor } from './Executor';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface CustomProcessRequest
|
|
18
|
-
*/
|
|
19
|
-
export interface CustomProcessRequest {
|
|
20
|
-
/**
|
|
21
|
-
* Unique ID for the process
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof CustomProcessRequest
|
|
24
|
-
*/
|
|
25
|
-
processId?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Friendly name for the process
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof CustomProcessRequest
|
|
30
|
-
*/
|
|
31
|
-
name?: string;
|
|
32
|
-
/**
|
|
33
|
-
* Describes the analysis performed by the process
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof CustomProcessRequest
|
|
36
|
-
*/
|
|
37
|
-
description: string;
|
|
38
|
-
/**
|
|
39
|
-
* Link to pipeline documentation
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof CustomProcessRequest
|
|
42
|
-
*/
|
|
43
|
-
documentationUrl?: string;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {Executor}
|
|
47
|
-
* @memberof CustomProcessRequest
|
|
48
|
-
*/
|
|
49
|
-
executor: Executor;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {CustomProcessRequestPipelineCode}
|
|
53
|
-
* @memberof CustomProcessRequest
|
|
54
|
-
*/
|
|
55
|
-
pipelineCode: CustomProcessRequestPipelineCode;
|
|
56
|
-
/**
|
|
57
|
-
* Downstream pipeline IDs, the pipelines which can be run off of the outputs to this pipeline
|
|
58
|
-
* @type {Array<string>}
|
|
59
|
-
* @memberof CustomProcessRequest
|
|
60
|
-
*/
|
|
61
|
-
childProcessIds: Array<string>;
|
|
62
|
-
/**
|
|
63
|
-
* Upstream process IDs, these processes provide the type of input data required for this pipeline
|
|
64
|
-
* @type {Array<string>}
|
|
65
|
-
* @memberof CustomProcessRequest
|
|
66
|
-
*/
|
|
67
|
-
parentProcessIds: Array<string>;
|
|
68
|
-
/**
|
|
69
|
-
* Projects that this process is linked to
|
|
70
|
-
* @type {Array<string>}
|
|
71
|
-
* @memberof CustomProcessRequest
|
|
72
|
-
*/
|
|
73
|
-
projectIds: Array<string>;
|
|
74
|
-
/**
|
|
75
|
-
* GitHub repository that contains the process definition
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @memberof CustomProcessRequest
|
|
78
|
-
*/
|
|
79
|
-
definitionRepository: string;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {string}
|
|
83
|
-
* @memberof CustomProcessRequest
|
|
84
|
-
*/
|
|
85
|
-
definitionBranch: string;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {string}
|
|
89
|
-
* @memberof CustomProcessRequest
|
|
90
|
-
*/
|
|
91
|
-
definitionFolder: string;
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Check if a given object implements the CustomProcessRequest interface.
|
|
95
|
-
*/
|
|
96
|
-
export declare function instanceOfCustomProcessRequest(value: object): boolean;
|
|
97
|
-
export declare function CustomProcessRequestFromJSON(json: any): CustomProcessRequest;
|
|
98
|
-
export declare function CustomProcessRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomProcessRequest;
|
|
99
|
-
export declare function CustomProcessRequestToJSON(value?: CustomProcessRequest | null): any;
|
|
@@ -1,83 +0,0 @@
|
|
|
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.CustomProcessRequestToJSON = exports.CustomProcessRequestFromJSONTyped = exports.CustomProcessRequestFromJSON = exports.instanceOfCustomProcessRequest = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
|
-
var CustomProcessRequestPipelineCode_1 = require("./CustomProcessRequestPipelineCode");
|
|
19
|
-
var Executor_1 = require("./Executor");
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the CustomProcessRequest interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfCustomProcessRequest(value) {
|
|
24
|
-
var isInstance = true;
|
|
25
|
-
isInstance = isInstance && "description" in value;
|
|
26
|
-
isInstance = isInstance && "executor" in value;
|
|
27
|
-
isInstance = isInstance && "pipelineCode" in value;
|
|
28
|
-
isInstance = isInstance && "childProcessIds" in value;
|
|
29
|
-
isInstance = isInstance && "parentProcessIds" in value;
|
|
30
|
-
isInstance = isInstance && "projectIds" in value;
|
|
31
|
-
isInstance = isInstance && "definitionRepository" in value;
|
|
32
|
-
isInstance = isInstance && "definitionBranch" in value;
|
|
33
|
-
isInstance = isInstance && "definitionFolder" in value;
|
|
34
|
-
return isInstance;
|
|
35
|
-
}
|
|
36
|
-
exports.instanceOfCustomProcessRequest = instanceOfCustomProcessRequest;
|
|
37
|
-
function CustomProcessRequestFromJSON(json) {
|
|
38
|
-
return CustomProcessRequestFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
exports.CustomProcessRequestFromJSON = CustomProcessRequestFromJSON;
|
|
41
|
-
function CustomProcessRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
if ((json === undefined) || (json === null)) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'processId': !(0, runtime_1.exists)(json, 'processId') ? undefined : json['processId'],
|
|
47
|
-
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
48
|
-
'description': json['description'],
|
|
49
|
-
'documentationUrl': !(0, runtime_1.exists)(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
50
|
-
'executor': (0, Executor_1.ExecutorFromJSON)(json['executor']),
|
|
51
|
-
'pipelineCode': (0, CustomProcessRequestPipelineCode_1.CustomProcessRequestPipelineCodeFromJSON)(json['pipelineCode']),
|
|
52
|
-
'childProcessIds': json['childProcessIds'],
|
|
53
|
-
'parentProcessIds': json['parentProcessIds'],
|
|
54
|
-
'projectIds': json['projectIds'],
|
|
55
|
-
'definitionRepository': json['definitionRepository'],
|
|
56
|
-
'definitionBranch': json['definitionBranch'],
|
|
57
|
-
'definitionFolder': json['definitionFolder'],
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
exports.CustomProcessRequestFromJSONTyped = CustomProcessRequestFromJSONTyped;
|
|
61
|
-
function CustomProcessRequestToJSON(value) {
|
|
62
|
-
if (value === undefined) {
|
|
63
|
-
return undefined;
|
|
64
|
-
}
|
|
65
|
-
if (value === null) {
|
|
66
|
-
return null;
|
|
67
|
-
}
|
|
68
|
-
return {
|
|
69
|
-
'processId': value.processId,
|
|
70
|
-
'name': value.name,
|
|
71
|
-
'description': value.description,
|
|
72
|
-
'documentationUrl': value.documentationUrl,
|
|
73
|
-
'executor': (0, Executor_1.ExecutorToJSON)(value.executor),
|
|
74
|
-
'pipelineCode': (0, CustomProcessRequestPipelineCode_1.CustomProcessRequestPipelineCodeToJSON)(value.pipelineCode),
|
|
75
|
-
'childProcessIds': value.childProcessIds,
|
|
76
|
-
'parentProcessIds': value.parentProcessIds,
|
|
77
|
-
'projectIds': value.projectIds,
|
|
78
|
-
'definitionRepository': value.definitionRepository,
|
|
79
|
-
'definitionBranch': value.definitionBranch,
|
|
80
|
-
'definitionFolder': value.definitionFolder,
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
exports.CustomProcessRequestToJSON = CustomProcessRequestToJSON;
|
|
@@ -1,50 +0,0 @@
|
|
|
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 { RepositoryType } from './RepositoryType';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface CustomProcessRequestPipelineCode
|
|
17
|
-
*/
|
|
18
|
-
export interface CustomProcessRequestPipelineCode {
|
|
19
|
-
/**
|
|
20
|
-
* GitHub repository which contains the workflow code
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof CustomProcessRequestPipelineCode
|
|
23
|
-
*/
|
|
24
|
-
repositoryPath: string;
|
|
25
|
-
/**
|
|
26
|
-
* Branch, tag, or commit hash of the pipeline code
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof CustomProcessRequestPipelineCode
|
|
29
|
-
*/
|
|
30
|
-
version?: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {RepositoryType}
|
|
34
|
-
* @memberof CustomProcessRequestPipelineCode
|
|
35
|
-
*/
|
|
36
|
-
repositoryType?: RepositoryType;
|
|
37
|
-
/**
|
|
38
|
-
* Main script for running the pipeline
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof CustomProcessRequestPipelineCode
|
|
41
|
-
*/
|
|
42
|
-
entryPoint?: string;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the CustomProcessRequestPipelineCode interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfCustomProcessRequestPipelineCode(value: object): boolean;
|
|
48
|
-
export declare function CustomProcessRequestPipelineCodeFromJSON(json: any): CustomProcessRequestPipelineCode;
|
|
49
|
-
export declare function CustomProcessRequestPipelineCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomProcessRequestPipelineCode;
|
|
50
|
-
export declare function CustomProcessRequestPipelineCodeToJSON(value?: CustomProcessRequestPipelineCode | null): any;
|