@cirrobio/api-client 0.0.27-alpha → 0.0.29-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 -0
- package/README.md +1 -1
- package/dist/apis/ProcessesApi.d.ts +54 -1
- package/dist/apis/ProcessesApi.js +223 -0
- package/dist/models/CustomPipelineSettings.d.ts +8 -8
- package/dist/models/CustomPipelineSettings.js +7 -11
- package/dist/models/CustomPipelineSettingsDto1.d.ts +61 -0
- package/dist/models/CustomPipelineSettingsDto1.js +65 -0
- package/dist/models/CustomProcessRequest.d.ts +99 -0
- package/dist/models/CustomProcessRequest.js +83 -0
- package/dist/models/CustomProcessRequestPipelineCode.d.ts +50 -0
- package/dist/models/CustomProcessRequestPipelineCode.js +58 -0
- package/dist/models/Executor.d.ts +1 -1
- package/dist/models/Executor.js +1 -1
- package/dist/models/FileNamePattern.d.ts +0 -6
- package/dist/models/FileNamePattern.js +0 -3
- package/dist/models/GenerateSftpCredentialsRequest.d.ts +2 -2
- package/dist/models/GenerateSftpCredentialsRequest.js +2 -2
- package/dist/models/PipelineCode.d.ts +50 -0
- package/dist/models/PipelineCode.js +58 -0
- package/dist/models/Process.d.ts +3 -3
- package/dist/models/Process.js +2 -1
- package/dist/models/ProcessDetail.d.ts +10 -3
- package/dist/models/ProcessDetail.js +6 -2
- package/dist/models/ProcessDetailAllOfPipelineCode.d.ts +50 -0
- package/dist/models/ProcessDetailAllOfPipelineCode.js +58 -0
- package/dist/models/RepositoryType.d.ts +25 -0
- package/dist/models/RepositoryType.js +40 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
- package/src/apis/ProcessesApi.ts +191 -0
- package/src/models/CustomPipelineSettings.ts +14 -19
- package/src/models/Executor.ts +1 -1
- package/src/models/FileNamePattern.ts +0 -9
- package/src/models/GenerateSftpCredentialsRequest.ts +3 -4
- package/src/models/PipelineCode.ts +97 -0
- package/src/models/Process.ts +5 -4
- package/src/models/ProcessDetail.ts +20 -4
- package/src/models/ProcessDetailAllOfPipelineCode.ts +97 -0
- package/src/models/RepositoryType.ts +39 -0
- package/src/models/index.ts +3 -0
- package/src/models/CreateDashboardRequest.ts +0 -65
- package/src/models/DatasetType.ts +0 -37
- package/src/models/Region.ts +0 -65
- package/src/models/RegisterDatasetRequest.ts +0 -92
- package/src/models/RegisterPublicDataRequest.ts +0 -83
|
@@ -0,0 +1,83 @@
|
|
|
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;
|
|
@@ -0,0 +1,50 @@
|
|
|
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;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.CustomProcessRequestPipelineCodeToJSON = exports.CustomProcessRequestPipelineCodeFromJSONTyped = exports.CustomProcessRequestPipelineCodeFromJSON = exports.instanceOfCustomProcessRequestPipelineCode = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var RepositoryType_1 = require("./RepositoryType");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the CustomProcessRequestPipelineCode interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfCustomProcessRequestPipelineCode(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
isInstance = isInstance && "repositoryPath" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfCustomProcessRequestPipelineCode = instanceOfCustomProcessRequestPipelineCode;
|
|
28
|
+
function CustomProcessRequestPipelineCodeFromJSON(json) {
|
|
29
|
+
return CustomProcessRequestPipelineCodeFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.CustomProcessRequestPipelineCodeFromJSON = CustomProcessRequestPipelineCodeFromJSON;
|
|
32
|
+
function CustomProcessRequestPipelineCodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'repositoryPath': json['repositoryPath'],
|
|
38
|
+
'version': !(0, runtime_1.exists)(json, 'version') ? undefined : json['version'],
|
|
39
|
+
'repositoryType': !(0, runtime_1.exists)(json, 'repositoryType') ? undefined : (0, RepositoryType_1.RepositoryTypeFromJSON)(json['repositoryType']),
|
|
40
|
+
'entryPoint': !(0, runtime_1.exists)(json, 'entryPoint') ? undefined : json['entryPoint'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.CustomProcessRequestPipelineCodeFromJSONTyped = CustomProcessRequestPipelineCodeFromJSONTyped;
|
|
44
|
+
function CustomProcessRequestPipelineCodeToJSON(value) {
|
|
45
|
+
if (value === undefined) {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
if (value === null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'repositoryPath': value.repositoryPath,
|
|
53
|
+
'version': value.version,
|
|
54
|
+
'repositoryType': (0, RepositoryType_1.RepositoryTypeToJSON)(value.repositoryType),
|
|
55
|
+
'entryPoint': value.entryPoint,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.CustomProcessRequestPipelineCodeToJSON = CustomProcessRequestPipelineCodeToJSON;
|
package/dist/models/Executor.js
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ExecutorToJSON = exports.ExecutorFromJSONTyped = exports.ExecutorFromJSON = exports.Executor = void 0;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* How the workflow is executed
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
@@ -27,12 +27,6 @@ export interface FileNamePattern {
|
|
|
27
27
|
* @memberof FileNamePattern
|
|
28
28
|
*/
|
|
29
29
|
description: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof FileNamePattern
|
|
34
|
-
*/
|
|
35
|
-
sampleMatchingPattern: string;
|
|
36
30
|
}
|
|
37
31
|
/**
|
|
38
32
|
* Check if a given object implements the FileNamePattern interface.
|
|
@@ -21,7 +21,6 @@ function instanceOfFileNamePattern(value) {
|
|
|
21
21
|
var isInstance = true;
|
|
22
22
|
isInstance = isInstance && "exampleName" in value;
|
|
23
23
|
isInstance = isInstance && "description" in value;
|
|
24
|
-
isInstance = isInstance && "sampleMatchingPattern" in value;
|
|
25
24
|
return isInstance;
|
|
26
25
|
}
|
|
27
26
|
exports.instanceOfFileNamePattern = instanceOfFileNamePattern;
|
|
@@ -36,7 +35,6 @@ function FileNamePatternFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
35
|
return {
|
|
37
36
|
'exampleName': json['exampleName'],
|
|
38
37
|
'description': json['description'],
|
|
39
|
-
'sampleMatchingPattern': json['sampleMatchingPattern'],
|
|
40
38
|
};
|
|
41
39
|
}
|
|
42
40
|
exports.FileNamePatternFromJSONTyped = FileNamePatternFromJSONTyped;
|
|
@@ -50,7 +48,6 @@ function FileNamePatternToJSON(value) {
|
|
|
50
48
|
return {
|
|
51
49
|
'exampleName': value.exampleName,
|
|
52
50
|
'description': value.description,
|
|
53
|
-
'sampleMatchingPattern': value.sampleMatchingPattern,
|
|
54
51
|
};
|
|
55
52
|
}
|
|
56
53
|
exports.FileNamePatternToJSON = FileNamePatternToJSON;
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface GenerateSftpCredentialsRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Number of days the credentials are valid for
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof GenerateSftpCredentialsRequest
|
|
22
22
|
*/
|
|
23
|
-
lifetimeDays
|
|
23
|
+
lifetimeDays?: number;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the GenerateSftpCredentialsRequest interface.
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.GenerateSftpCredentialsRequestToJSON = exports.GenerateSftpCredentialsRequestFromJSONTyped = exports.GenerateSftpCredentialsRequestFromJSON = exports.instanceOfGenerateSftpCredentialsRequest = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the GenerateSftpCredentialsRequest interface.
|
|
19
20
|
*/
|
|
20
21
|
function instanceOfGenerateSftpCredentialsRequest(value) {
|
|
21
22
|
var isInstance = true;
|
|
22
|
-
isInstance = isInstance && "lifetimeDays" in value;
|
|
23
23
|
return isInstance;
|
|
24
24
|
}
|
|
25
25
|
exports.instanceOfGenerateSftpCredentialsRequest = instanceOfGenerateSftpCredentialsRequest;
|
|
@@ -32,7 +32,7 @@ function GenerateSftpCredentialsRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
|
-
'lifetimeDays': json['lifetimeDays'],
|
|
35
|
+
'lifetimeDays': !(0, runtime_1.exists)(json, 'lifetimeDays') ? undefined : json['lifetimeDays'],
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
38
|
exports.GenerateSftpCredentialsRequestFromJSONTyped = GenerateSftpCredentialsRequestFromJSONTyped;
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
* Used to describe the pipeline analysis code
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PipelineCode
|
|
17
|
+
*/
|
|
18
|
+
export interface PipelineCode {
|
|
19
|
+
/**
|
|
20
|
+
* GitHub repository which contains the workflow code
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof PipelineCode
|
|
23
|
+
*/
|
|
24
|
+
repositoryPath: string;
|
|
25
|
+
/**
|
|
26
|
+
* Branch, tag, or commit hash of the pipeline code
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PipelineCode
|
|
29
|
+
*/
|
|
30
|
+
version?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {RepositoryType}
|
|
34
|
+
* @memberof PipelineCode
|
|
35
|
+
*/
|
|
36
|
+
repositoryType?: RepositoryType;
|
|
37
|
+
/**
|
|
38
|
+
* Main script for running the pipeline
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof PipelineCode
|
|
41
|
+
*/
|
|
42
|
+
entryPoint?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the PipelineCode interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfPipelineCode(value: object): boolean;
|
|
48
|
+
export declare function PipelineCodeFromJSON(json: any): PipelineCode;
|
|
49
|
+
export declare function PipelineCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): PipelineCode;
|
|
50
|
+
export declare function PipelineCodeToJSON(value?: PipelineCode | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.PipelineCodeToJSON = exports.PipelineCodeFromJSONTyped = exports.PipelineCodeFromJSON = exports.instanceOfPipelineCode = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var RepositoryType_1 = require("./RepositoryType");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the PipelineCode interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfPipelineCode(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
isInstance = isInstance && "repositoryPath" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfPipelineCode = instanceOfPipelineCode;
|
|
28
|
+
function PipelineCodeFromJSON(json) {
|
|
29
|
+
return PipelineCodeFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.PipelineCodeFromJSON = PipelineCodeFromJSON;
|
|
32
|
+
function PipelineCodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'repositoryPath': json['repositoryPath'],
|
|
38
|
+
'version': !(0, runtime_1.exists)(json, 'version') ? undefined : json['version'],
|
|
39
|
+
'repositoryType': !(0, runtime_1.exists)(json, 'repositoryType') ? undefined : (0, RepositoryType_1.RepositoryTypeFromJSON)(json['repositoryType']),
|
|
40
|
+
'entryPoint': !(0, runtime_1.exists)(json, 'entryPoint') ? undefined : json['entryPoint'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.PipelineCodeFromJSONTyped = PipelineCodeFromJSONTyped;
|
|
44
|
+
function PipelineCodeToJSON(value) {
|
|
45
|
+
if (value === undefined) {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
if (value === null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'repositoryPath': value.repositoryPath,
|
|
53
|
+
'version': value.version,
|
|
54
|
+
'repositoryType': (0, RepositoryType_1.RepositoryTypeToJSON)(value.repositoryType),
|
|
55
|
+
'entryPoint': value.entryPoint,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.PipelineCodeToJSON = PipelineCodeToJSON;
|
package/dist/models/Process.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface Process {
|
|
|
23
23
|
*/
|
|
24
24
|
id: string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Friendly name for the process
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof Process
|
|
29
29
|
*/
|
|
@@ -33,7 +33,7 @@ export interface Process {
|
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof Process
|
|
35
35
|
*/
|
|
36
|
-
description
|
|
36
|
+
description: string;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {Executor}
|
|
@@ -51,7 +51,7 @@ export interface Process {
|
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @memberof Process
|
|
53
53
|
*/
|
|
54
|
-
fileRequirementsMessage?: string;
|
|
54
|
+
fileRequirementsMessage?: string | null;
|
|
55
55
|
/**
|
|
56
56
|
* IDs of pipelines that can be ran downstream
|
|
57
57
|
* @type {Array<string>}
|
package/dist/models/Process.js
CHANGED
|
@@ -22,6 +22,7 @@ var Executor_1 = require("./Executor");
|
|
|
22
22
|
function instanceOfProcess(value) {
|
|
23
23
|
var isInstance = true;
|
|
24
24
|
isInstance = isInstance && "id" in value;
|
|
25
|
+
isInstance = isInstance && "description" in value;
|
|
25
26
|
return isInstance;
|
|
26
27
|
}
|
|
27
28
|
exports.instanceOfProcess = instanceOfProcess;
|
|
@@ -36,7 +37,7 @@ function ProcessFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
37
|
return {
|
|
37
38
|
'id': json['id'],
|
|
38
39
|
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
39
|
-
'description':
|
|
40
|
+
'description': json['description'],
|
|
40
41
|
'executor': !(0, runtime_1.exists)(json, 'executor') ? undefined : (0, Executor_1.ExecutorFromJSON)(json['executor']),
|
|
41
42
|
'documentationUrl': !(0, runtime_1.exists)(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
42
43
|
'fileRequirementsMessage': !(0, runtime_1.exists)(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { CustomPipelineSettings } from './CustomPipelineSettings';
|
|
13
13
|
import type { Executor } from './Executor';
|
|
14
|
+
import type { ProcessDetailAllOfPipelineCode } from './ProcessDetailAllOfPipelineCode';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -18,7 +19,7 @@ import type { Executor } from './Executor';
|
|
|
18
19
|
*/
|
|
19
20
|
export interface ProcessDetail {
|
|
20
21
|
/**
|
|
21
|
-
*
|
|
22
|
+
*
|
|
22
23
|
* @type {string}
|
|
23
24
|
* @memberof ProcessDetail
|
|
24
25
|
*/
|
|
@@ -48,11 +49,11 @@ export interface ProcessDetail {
|
|
|
48
49
|
*/
|
|
49
50
|
documentationUrl: string;
|
|
50
51
|
/**
|
|
51
|
-
*
|
|
52
|
+
*
|
|
52
53
|
* @type {string}
|
|
53
54
|
* @memberof ProcessDetail
|
|
54
55
|
*/
|
|
55
|
-
fileRequirementsMessage
|
|
56
|
+
fileRequirementsMessage: string;
|
|
56
57
|
/**
|
|
57
58
|
*
|
|
58
59
|
* @type {Array<string>}
|
|
@@ -77,6 +78,12 @@ export interface ProcessDetail {
|
|
|
77
78
|
* @memberof ProcessDetail
|
|
78
79
|
*/
|
|
79
80
|
linkedProjectIds: Array<string>;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {ProcessDetailAllOfPipelineCode}
|
|
84
|
+
* @memberof ProcessDetail
|
|
85
|
+
*/
|
|
86
|
+
pipelineCode: ProcessDetailAllOfPipelineCode;
|
|
80
87
|
/**
|
|
81
88
|
*
|
|
82
89
|
* @type {CustomPipelineSettings}
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ProcessDetailToJSON = exports.ProcessDetailFromJSONTyped = exports.ProcessDetailFromJSON = exports.instanceOfProcessDetail = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
var CustomPipelineSettings_1 = require("./CustomPipelineSettings");
|
|
19
18
|
var Executor_1 = require("./Executor");
|
|
19
|
+
var ProcessDetailAllOfPipelineCode_1 = require("./ProcessDetailAllOfPipelineCode");
|
|
20
20
|
/**
|
|
21
21
|
* Check if a given object implements the ProcessDetail interface.
|
|
22
22
|
*/
|
|
@@ -27,10 +27,12 @@ function instanceOfProcessDetail(value) {
|
|
|
27
27
|
isInstance = isInstance && "description" in value;
|
|
28
28
|
isInstance = isInstance && "executor" in value;
|
|
29
29
|
isInstance = isInstance && "documentationUrl" in value;
|
|
30
|
+
isInstance = isInstance && "fileRequirementsMessage" in value;
|
|
30
31
|
isInstance = isInstance && "childProcessIds" in value;
|
|
31
32
|
isInstance = isInstance && "parentProcessIds" in value;
|
|
32
33
|
isInstance = isInstance && "owner" in value;
|
|
33
34
|
isInstance = isInstance && "linkedProjectIds" in value;
|
|
35
|
+
isInstance = isInstance && "pipelineCode" in value;
|
|
34
36
|
isInstance = isInstance && "customSettings" in value;
|
|
35
37
|
isInstance = isInstance && "isArchived" in value;
|
|
36
38
|
return isInstance;
|
|
@@ -50,11 +52,12 @@ function ProcessDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
52
|
'description': json['description'],
|
|
51
53
|
'executor': (0, Executor_1.ExecutorFromJSON)(json['executor']),
|
|
52
54
|
'documentationUrl': json['documentationUrl'],
|
|
53
|
-
'fileRequirementsMessage':
|
|
55
|
+
'fileRequirementsMessage': json['fileRequirementsMessage'],
|
|
54
56
|
'childProcessIds': json['childProcessIds'],
|
|
55
57
|
'parentProcessIds': json['parentProcessIds'],
|
|
56
58
|
'owner': json['owner'],
|
|
57
59
|
'linkedProjectIds': json['linkedProjectIds'],
|
|
60
|
+
'pipelineCode': (0, ProcessDetailAllOfPipelineCode_1.ProcessDetailAllOfPipelineCodeFromJSON)(json['pipelineCode']),
|
|
58
61
|
'customSettings': (0, CustomPipelineSettings_1.CustomPipelineSettingsFromJSON)(json['customSettings']),
|
|
59
62
|
'isArchived': json['isArchived'],
|
|
60
63
|
};
|
|
@@ -78,6 +81,7 @@ function ProcessDetailToJSON(value) {
|
|
|
78
81
|
'parentProcessIds': value.parentProcessIds,
|
|
79
82
|
'owner': value.owner,
|
|
80
83
|
'linkedProjectIds': value.linkedProjectIds,
|
|
84
|
+
'pipelineCode': (0, ProcessDetailAllOfPipelineCode_1.ProcessDetailAllOfPipelineCodeToJSON)(value.pipelineCode),
|
|
81
85
|
'customSettings': (0, CustomPipelineSettings_1.CustomPipelineSettingsToJSON)(value.customSettings),
|
|
82
86
|
'isArchived': value.isArchived,
|
|
83
87
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
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 ProcessDetailAllOfPipelineCode
|
|
17
|
+
*/
|
|
18
|
+
export interface ProcessDetailAllOfPipelineCode {
|
|
19
|
+
/**
|
|
20
|
+
* GitHub repository which contains the workflow code
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ProcessDetailAllOfPipelineCode
|
|
23
|
+
*/
|
|
24
|
+
repositoryPath: string;
|
|
25
|
+
/**
|
|
26
|
+
* Branch, tag, or commit hash of the pipeline code
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ProcessDetailAllOfPipelineCode
|
|
29
|
+
*/
|
|
30
|
+
version?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {RepositoryType}
|
|
34
|
+
* @memberof ProcessDetailAllOfPipelineCode
|
|
35
|
+
*/
|
|
36
|
+
repositoryType?: RepositoryType;
|
|
37
|
+
/**
|
|
38
|
+
* Main script for running the pipeline
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ProcessDetailAllOfPipelineCode
|
|
41
|
+
*/
|
|
42
|
+
entryPoint?: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ProcessDetailAllOfPipelineCode interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfProcessDetailAllOfPipelineCode(value: object): boolean;
|
|
48
|
+
export declare function ProcessDetailAllOfPipelineCodeFromJSON(json: any): ProcessDetailAllOfPipelineCode;
|
|
49
|
+
export declare function ProcessDetailAllOfPipelineCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProcessDetailAllOfPipelineCode;
|
|
50
|
+
export declare function ProcessDetailAllOfPipelineCodeToJSON(value?: ProcessDetailAllOfPipelineCode | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.ProcessDetailAllOfPipelineCodeToJSON = exports.ProcessDetailAllOfPipelineCodeFromJSONTyped = exports.ProcessDetailAllOfPipelineCodeFromJSON = exports.instanceOfProcessDetailAllOfPipelineCode = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var RepositoryType_1 = require("./RepositoryType");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the ProcessDetailAllOfPipelineCode interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfProcessDetailAllOfPipelineCode(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
isInstance = isInstance && "repositoryPath" in value;
|
|
25
|
+
return isInstance;
|
|
26
|
+
}
|
|
27
|
+
exports.instanceOfProcessDetailAllOfPipelineCode = instanceOfProcessDetailAllOfPipelineCode;
|
|
28
|
+
function ProcessDetailAllOfPipelineCodeFromJSON(json) {
|
|
29
|
+
return ProcessDetailAllOfPipelineCodeFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
exports.ProcessDetailAllOfPipelineCodeFromJSON = ProcessDetailAllOfPipelineCodeFromJSON;
|
|
32
|
+
function ProcessDetailAllOfPipelineCodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'repositoryPath': json['repositoryPath'],
|
|
38
|
+
'version': !(0, runtime_1.exists)(json, 'version') ? undefined : json['version'],
|
|
39
|
+
'repositoryType': !(0, runtime_1.exists)(json, 'repositoryType') ? undefined : (0, RepositoryType_1.RepositoryTypeFromJSON)(json['repositoryType']),
|
|
40
|
+
'entryPoint': !(0, runtime_1.exists)(json, 'entryPoint') ? undefined : json['entryPoint'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.ProcessDetailAllOfPipelineCodeFromJSONTyped = ProcessDetailAllOfPipelineCodeFromJSONTyped;
|
|
44
|
+
function ProcessDetailAllOfPipelineCodeToJSON(value) {
|
|
45
|
+
if (value === undefined) {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
if (value === null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'repositoryPath': value.repositoryPath,
|
|
53
|
+
'version': value.version,
|
|
54
|
+
'repositoryType': (0, RepositoryType_1.RepositoryTypeToJSON)(value.repositoryType),
|
|
55
|
+
'entryPoint': value.entryPoint,
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
exports.ProcessDetailAllOfPipelineCodeToJSON = ProcessDetailAllOfPipelineCodeToJSON;
|
|
@@ -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
|
+
* Type of repository
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum RepositoryType {
|
|
18
|
+
None = "NONE",
|
|
19
|
+
Aws = "AWS",
|
|
20
|
+
GithubPublic = "GITHUB_PUBLIC",
|
|
21
|
+
GithubPrivate = "GITHUB_PRIVATE"
|
|
22
|
+
}
|
|
23
|
+
export declare function RepositoryTypeFromJSON(json: any): RepositoryType;
|
|
24
|
+
export declare function RepositoryTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepositoryType;
|
|
25
|
+
export declare function RepositoryTypeToJSON(value?: RepositoryType | null): any;
|