@cirrobio/api-client 0.0.29-alpha → 0.0.30-alpha
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 +3 -1
- package/README.md +1 -1
- package/dist/models/CustomPipelineSettings.d.ts +6 -5
- package/dist/models/CustomPipelineSettings.js +3 -2
- package/dist/models/ErrorMessage.d.ts +31 -0
- package/dist/models/ErrorMessage.js +50 -0
- package/dist/models/PipelineCode.d.ts +4 -4
- package/dist/models/PipelineCode.js +6 -4
- package/dist/models/PortalErrorResponse.d.ts +50 -0
- package/dist/models/PortalErrorResponse.js +60 -0
- package/dist/models/Process.d.ts +3 -3
- package/dist/models/Process.js +1 -2
- package/dist/models/ProcessDetail.d.ts +8 -8
- package/dist/models/ProcessDetail.js +8 -12
- package/dist/models/ProjectRequest.d.ts +2 -2
- package/dist/models/ProjectRequest.js +4 -5
- package/dist/models/SyncStatus.d.ts +23 -0
- package/dist/models/SyncStatus.js +38 -0
- package/dist/models/ValidateFileRequirementsRequest.d.ts +4 -4
- package/dist/models/ValidateFileRequirementsRequest.js +3 -3
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/package.json +1 -1
- package/src/apis/ProcessesApi.ts +6 -0
- package/src/models/CustomPipelineSettings.ts +14 -7
- package/src/models/ErrorMessage.ts +66 -0
- package/src/models/PipelineCode.ts +10 -7
- package/src/models/PortalErrorResponse.ts +100 -0
- package/src/models/Process.ts +4 -5
- package/src/models/ProcessDetail.ts +18 -23
- package/src/models/ProjectRequest.ts +5 -7
- package/src/models/SyncStatus.ts +37 -0
- package/src/models/ValidateFileRequirementsRequest.ts +7 -7
- package/src/models/index.ts +3 -1
- package/src/models/ProcessDetailAllOfPipelineCode.ts +0 -97
|
@@ -21,16 +21,16 @@ import { exists, mapValues } from '../runtime';
|
|
|
21
21
|
export interface ValidateFileRequirementsRequest {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
|
-
* @type {string}
|
|
24
|
+
* @type {Array<string>}
|
|
25
25
|
* @memberof ValidateFileRequirementsRequest
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
fileNames: Array<string>;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
|
-
* @type {
|
|
30
|
+
* @type {string}
|
|
31
31
|
* @memberof ValidateFileRequirementsRequest
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
sampleSheet: string;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
/**
|
|
@@ -38,8 +38,8 @@ export interface ValidateFileRequirementsRequest {
|
|
|
38
38
|
*/
|
|
39
39
|
export function instanceOfValidateFileRequirementsRequest(value: object): boolean {
|
|
40
40
|
let isInstance = true;
|
|
41
|
-
isInstance = isInstance && "sampleSheet" in value;
|
|
42
41
|
isInstance = isInstance && "fileNames" in value;
|
|
42
|
+
isInstance = isInstance && "sampleSheet" in value;
|
|
43
43
|
|
|
44
44
|
return isInstance;
|
|
45
45
|
}
|
|
@@ -54,8 +54,8 @@ export function ValidateFileRequirementsRequestFromJSONTyped(json: any, ignoreDi
|
|
|
54
54
|
}
|
|
55
55
|
return {
|
|
56
56
|
|
|
57
|
-
'sampleSheet': json['sampleSheet'],
|
|
58
57
|
'fileNames': json['fileNames'],
|
|
58
|
+
'sampleSheet': json['sampleSheet'],
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -68,8 +68,8 @@ export function ValidateFileRequirementsRequestToJSON(value?: ValidateFileRequir
|
|
|
68
68
|
}
|
|
69
69
|
return {
|
|
70
70
|
|
|
71
|
-
'sampleSheet': value.sampleSheet,
|
|
72
71
|
'fileNames': value.fileNames,
|
|
72
|
+
'sampleSheet': value.sampleSheet,
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
|
package/src/models/index.ts
CHANGED
|
@@ -18,6 +18,7 @@ export * from './DatasetAssetsManifest';
|
|
|
18
18
|
export * from './DatasetDetail';
|
|
19
19
|
export * from './DatasetFile';
|
|
20
20
|
export * from './DatasetViz';
|
|
21
|
+
export * from './ErrorMessage';
|
|
21
22
|
export * from './Executor';
|
|
22
23
|
export * from './FileNamePattern';
|
|
23
24
|
export * from './FileRequirements';
|
|
@@ -35,9 +36,9 @@ export * from './OpenNotebookInstanceResponse';
|
|
|
35
36
|
export * from './PaginatedResponseDatasetListDto';
|
|
36
37
|
export * from './PaginatedResponseSampleDto';
|
|
37
38
|
export * from './PipelineCode';
|
|
39
|
+
export * from './PortalErrorResponse';
|
|
38
40
|
export * from './Process';
|
|
39
41
|
export * from './ProcessDetail';
|
|
40
|
-
export * from './ProcessDetailAllOfPipelineCode';
|
|
41
42
|
export * from './Project';
|
|
42
43
|
export * from './ProjectDetail';
|
|
43
44
|
export * from './ProjectMetrics';
|
|
@@ -57,6 +58,7 @@ export * from './SetUserProjectRoleRequest';
|
|
|
57
58
|
export * from './SftpCredentials';
|
|
58
59
|
export * from './Status';
|
|
59
60
|
export * from './StopExecutionResponse';
|
|
61
|
+
export * from './SyncStatus';
|
|
60
62
|
export * from './SystemInfoResponse';
|
|
61
63
|
export * from './Tag';
|
|
62
64
|
export * from './Task';
|
|
@@ -1,97 +0,0 @@
|
|
|
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
|
-
import type { RepositoryType } from './RepositoryType';
|
|
17
|
-
import {
|
|
18
|
-
RepositoryTypeFromJSON,
|
|
19
|
-
RepositoryTypeFromJSONTyped,
|
|
20
|
-
RepositoryTypeToJSON,
|
|
21
|
-
} from './RepositoryType';
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @export
|
|
26
|
-
* @interface ProcessDetailAllOfPipelineCode
|
|
27
|
-
*/
|
|
28
|
-
export interface ProcessDetailAllOfPipelineCode {
|
|
29
|
-
/**
|
|
30
|
-
* GitHub repository which contains the workflow code
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof ProcessDetailAllOfPipelineCode
|
|
33
|
-
*/
|
|
34
|
-
repositoryPath: string;
|
|
35
|
-
/**
|
|
36
|
-
* Branch, tag, or commit hash of the pipeline code
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof ProcessDetailAllOfPipelineCode
|
|
39
|
-
*/
|
|
40
|
-
version?: string;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @type {RepositoryType}
|
|
44
|
-
* @memberof ProcessDetailAllOfPipelineCode
|
|
45
|
-
*/
|
|
46
|
-
repositoryType?: RepositoryType;
|
|
47
|
-
/**
|
|
48
|
-
* Main script for running the pipeline
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof ProcessDetailAllOfPipelineCode
|
|
51
|
-
*/
|
|
52
|
-
entryPoint?: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Check if a given object implements the ProcessDetailAllOfPipelineCode interface.
|
|
57
|
-
*/
|
|
58
|
-
export function instanceOfProcessDetailAllOfPipelineCode(value: object): boolean {
|
|
59
|
-
let isInstance = true;
|
|
60
|
-
isInstance = isInstance && "repositoryPath" in value;
|
|
61
|
-
|
|
62
|
-
return isInstance;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function ProcessDetailAllOfPipelineCodeFromJSON(json: any): ProcessDetailAllOfPipelineCode {
|
|
66
|
-
return ProcessDetailAllOfPipelineCodeFromJSONTyped(json, false);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export function ProcessDetailAllOfPipelineCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProcessDetailAllOfPipelineCode {
|
|
70
|
-
if ((json === undefined) || (json === null)) {
|
|
71
|
-
return json;
|
|
72
|
-
}
|
|
73
|
-
return {
|
|
74
|
-
|
|
75
|
-
'repositoryPath': json['repositoryPath'],
|
|
76
|
-
'version': !exists(json, 'version') ? undefined : json['version'],
|
|
77
|
-
'repositoryType': !exists(json, 'repositoryType') ? undefined : RepositoryTypeFromJSON(json['repositoryType']),
|
|
78
|
-
'entryPoint': !exists(json, 'entryPoint') ? undefined : json['entryPoint'],
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export function ProcessDetailAllOfPipelineCodeToJSON(value?: ProcessDetailAllOfPipelineCode | null): any {
|
|
83
|
-
if (value === undefined) {
|
|
84
|
-
return undefined;
|
|
85
|
-
}
|
|
86
|
-
if (value === null) {
|
|
87
|
-
return null;
|
|
88
|
-
}
|
|
89
|
-
return {
|
|
90
|
-
|
|
91
|
-
'repositoryPath': value.repositoryPath,
|
|
92
|
-
'version': value.version,
|
|
93
|
-
'repositoryType': RepositoryTypeToJSON(value.repositoryType),
|
|
94
|
-
'entryPoint': value.entryPoint,
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
|