@cirrobio/api-client 0.0.26-alpha → 0.0.28-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 +7 -2
- package/README.md +1 -1
- package/dist/apis/ProcessesApi.d.ts +60 -7
- package/dist/apis/ProcessesApi.js +234 -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/FileNamePattern.d.ts +0 -6
- package/dist/models/FileNamePattern.js +0 -3
- package/dist/models/FileRequirements.d.ts +44 -0
- package/dist/models/FileRequirements.js +57 -0
- 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/ProcessDetail.d.ts +1 -1
- package/dist/models/RepositoryType.d.ts +25 -0
- package/dist/models/RepositoryType.js +40 -0
- package/dist/models/ValidateFileRequirementsRequest.d.ts +37 -0
- package/dist/models/ValidateFileRequirementsRequest.js +53 -0
- package/dist/models/index.d.ts +7 -2
- package/dist/models/index.js +7 -2
- package/package.json +1 -1
- package/src/apis/ProcessesApi.ts +213 -19
- package/src/models/CustomPipelineSettingsDto1.ts +111 -0
- package/src/models/CustomProcessRequest.ts +175 -0
- package/src/models/CustomProcessRequestPipelineCode.ts +97 -0
- package/src/models/FileNamePattern.ts +0 -9
- package/src/models/{ValidateDataInputsResponse.ts → FileRequirements.ts} +11 -11
- package/src/models/GenerateSftpCredentialsRequest.ts +3 -4
- package/src/models/PipelineCode.ts +97 -0
- package/src/models/ProcessDetail.ts +1 -1
- package/src/models/RepositoryType.ts +39 -0
- package/src/models/{ValidateDataInputsRequest.ts → ValidateFileRequirementsRequest.ts} +10 -10
- package/src/models/index.ts +7 -2
|
@@ -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;
|
|
@@ -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;
|
|
@@ -0,0 +1,44 @@
|
|
|
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 { AllowedDataType } from './AllowedDataType';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FileRequirements
|
|
17
|
+
*/
|
|
18
|
+
export interface FileRequirements {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<string>}
|
|
22
|
+
* @memberof FileRequirements
|
|
23
|
+
*/
|
|
24
|
+
files: Array<string>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof FileRequirements
|
|
29
|
+
*/
|
|
30
|
+
errorMsg: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<AllowedDataType>}
|
|
34
|
+
* @memberof FileRequirements
|
|
35
|
+
*/
|
|
36
|
+
allowedDataTypes: Array<AllowedDataType>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the FileRequirements interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfFileRequirements(value: object): boolean;
|
|
42
|
+
export declare function FileRequirementsFromJSON(json: any): FileRequirements;
|
|
43
|
+
export declare function FileRequirementsFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileRequirements;
|
|
44
|
+
export declare function FileRequirementsToJSON(value?: FileRequirements | null): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.FileRequirementsToJSON = exports.FileRequirementsFromJSONTyped = exports.FileRequirementsFromJSON = exports.instanceOfFileRequirements = void 0;
|
|
17
|
+
var AllowedDataType_1 = require("./AllowedDataType");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the FileRequirements interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfFileRequirements(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "files" in value;
|
|
24
|
+
isInstance = isInstance && "errorMsg" in value;
|
|
25
|
+
isInstance = isInstance && "allowedDataTypes" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfFileRequirements = instanceOfFileRequirements;
|
|
29
|
+
function FileRequirementsFromJSON(json) {
|
|
30
|
+
return FileRequirementsFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.FileRequirementsFromJSON = FileRequirementsFromJSON;
|
|
33
|
+
function FileRequirementsFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'files': json['files'],
|
|
39
|
+
'errorMsg': json['errorMsg'],
|
|
40
|
+
'allowedDataTypes': (json['allowedDataTypes'].map(AllowedDataType_1.AllowedDataTypeFromJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
exports.FileRequirementsFromJSONTyped = FileRequirementsFromJSONTyped;
|
|
44
|
+
function FileRequirementsToJSON(value) {
|
|
45
|
+
if (value === undefined) {
|
|
46
|
+
return undefined;
|
|
47
|
+
}
|
|
48
|
+
if (value === null) {
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'files': value.files,
|
|
53
|
+
'errorMsg': value.errorMsg,
|
|
54
|
+
'allowedDataTypes': (value.allowedDataTypes.map(AllowedDataType_1.AllowedDataTypeToJSON)),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
exports.FileRequirementsToJSON = FileRequirementsToJSON;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -0,0 +1,40 @@
|
|
|
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.RepositoryTypeToJSON = exports.RepositoryTypeFromJSONTyped = exports.RepositoryTypeFromJSON = exports.RepositoryType = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Type of repository
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var RepositoryType;
|
|
23
|
+
(function (RepositoryType) {
|
|
24
|
+
RepositoryType["None"] = "NONE";
|
|
25
|
+
RepositoryType["Aws"] = "AWS";
|
|
26
|
+
RepositoryType["GithubPublic"] = "GITHUB_PUBLIC";
|
|
27
|
+
RepositoryType["GithubPrivate"] = "GITHUB_PRIVATE";
|
|
28
|
+
})(RepositoryType = exports.RepositoryType || (exports.RepositoryType = {}));
|
|
29
|
+
function RepositoryTypeFromJSON(json) {
|
|
30
|
+
return RepositoryTypeFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.RepositoryTypeFromJSON = RepositoryTypeFromJSON;
|
|
33
|
+
function RepositoryTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
exports.RepositoryTypeFromJSONTyped = RepositoryTypeFromJSONTyped;
|
|
37
|
+
function RepositoryTypeToJSON(value) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
exports.RepositoryTypeToJSON = RepositoryTypeToJSON;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cirro Data
|
|
3
|
+
* Cirro Data Platform service API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
* Contact: support@cirro.bio
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ValidateFileRequirementsRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ValidateFileRequirementsRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ValidateFileRequirementsRequest
|
|
22
|
+
*/
|
|
23
|
+
sampleSheet: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof ValidateFileRequirementsRequest
|
|
28
|
+
*/
|
|
29
|
+
fileNames: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ValidateFileRequirementsRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfValidateFileRequirementsRequest(value: object): boolean;
|
|
35
|
+
export declare function ValidateFileRequirementsRequestFromJSON(json: any): ValidateFileRequirementsRequest;
|
|
36
|
+
export declare function ValidateFileRequirementsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidateFileRequirementsRequest;
|
|
37
|
+
export declare function ValidateFileRequirementsRequestToJSON(value?: ValidateFileRequirementsRequest | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Cirro Data
|
|
6
|
+
* Cirro Data Platform service API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: latest
|
|
9
|
+
* Contact: support@cirro.bio
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ValidateFileRequirementsRequestToJSON = exports.ValidateFileRequirementsRequestFromJSONTyped = exports.ValidateFileRequirementsRequestFromJSON = exports.instanceOfValidateFileRequirementsRequest = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ValidateFileRequirementsRequest interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfValidateFileRequirementsRequest(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "sampleSheet" in value;
|
|
23
|
+
isInstance = isInstance && "fileNames" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfValidateFileRequirementsRequest = instanceOfValidateFileRequirementsRequest;
|
|
27
|
+
function ValidateFileRequirementsRequestFromJSON(json) {
|
|
28
|
+
return ValidateFileRequirementsRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.ValidateFileRequirementsRequestFromJSON = ValidateFileRequirementsRequestFromJSON;
|
|
31
|
+
function ValidateFileRequirementsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'sampleSheet': json['sampleSheet'],
|
|
37
|
+
'fileNames': json['fileNames'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
exports.ValidateFileRequirementsRequestFromJSONTyped = ValidateFileRequirementsRequestFromJSONTyped;
|
|
41
|
+
function ValidateFileRequirementsRequestToJSON(value) {
|
|
42
|
+
if (value === undefined) {
|
|
43
|
+
return undefined;
|
|
44
|
+
}
|
|
45
|
+
if (value === null) {
|
|
46
|
+
return null;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'sampleSheet': value.sampleSheet,
|
|
50
|
+
'fileNames': value.fileNames,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
exports.ValidateFileRequirementsRequestToJSON = ValidateFileRequirementsRequestToJSON;
|