@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
package/.openapi-generator/FILES
CHANGED
|
@@ -35,6 +35,7 @@ src/models/DatasetAssetsManifest.ts
|
|
|
35
35
|
src/models/DatasetDetail.ts
|
|
36
36
|
src/models/DatasetFile.ts
|
|
37
37
|
src/models/DatasetViz.ts
|
|
38
|
+
src/models/ErrorMessage.ts
|
|
38
39
|
src/models/Executor.ts
|
|
39
40
|
src/models/FileNamePattern.ts
|
|
40
41
|
src/models/FileRequirements.ts
|
|
@@ -52,9 +53,9 @@ src/models/OpenNotebookInstanceResponse.ts
|
|
|
52
53
|
src/models/PaginatedResponseDatasetListDto.ts
|
|
53
54
|
src/models/PaginatedResponseSampleDto.ts
|
|
54
55
|
src/models/PipelineCode.ts
|
|
56
|
+
src/models/PortalErrorResponse.ts
|
|
55
57
|
src/models/Process.ts
|
|
56
58
|
src/models/ProcessDetail.ts
|
|
57
|
-
src/models/ProcessDetailAllOfPipelineCode.ts
|
|
58
59
|
src/models/Project.ts
|
|
59
60
|
src/models/ProjectDetail.ts
|
|
60
61
|
src/models/ProjectMetrics.ts
|
|
@@ -74,6 +75,7 @@ src/models/SetUserProjectRoleRequest.ts
|
|
|
74
75
|
src/models/SftpCredentials.ts
|
|
75
76
|
src/models/Status.ts
|
|
76
77
|
src/models/StopExecutionResponse.ts
|
|
78
|
+
src/models/SyncStatus.ts
|
|
77
79
|
src/models/SystemInfoResponse.ts
|
|
78
80
|
src/models/Tag.ts
|
|
79
81
|
src/models/Task.ts
|
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @cirrobio/api-client@0.0.
|
|
39
|
+
npm install @cirrobio/api-client@0.0.30-alpha --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { SyncStatus } from './SyncStatus';
|
|
12
13
|
/**
|
|
13
|
-
*
|
|
14
|
+
* Used to describe the location of the process definition dependencies
|
|
14
15
|
* @export
|
|
15
16
|
* @interface CustomPipelineSettings
|
|
16
17
|
*/
|
|
@@ -34,19 +35,19 @@ export interface CustomPipelineSettings {
|
|
|
34
35
|
*/
|
|
35
36
|
folder?: string;
|
|
36
37
|
/**
|
|
37
|
-
*
|
|
38
|
+
* Time of last sync
|
|
38
39
|
* @type {Date}
|
|
39
40
|
* @memberof CustomPipelineSettings
|
|
40
41
|
*/
|
|
41
42
|
lastSync?: Date | null;
|
|
42
43
|
/**
|
|
43
44
|
*
|
|
44
|
-
* @type {
|
|
45
|
+
* @type {SyncStatus}
|
|
45
46
|
* @memberof CustomPipelineSettings
|
|
46
47
|
*/
|
|
47
|
-
syncStatus?:
|
|
48
|
+
syncStatus?: SyncStatus | null;
|
|
48
49
|
/**
|
|
49
|
-
*
|
|
50
|
+
* Commit hash of the last successful sync
|
|
50
51
|
* @type {string}
|
|
51
52
|
* @memberof CustomPipelineSettings
|
|
52
53
|
*/
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CustomPipelineSettingsToJSON = exports.CustomPipelineSettingsFromJSONTyped = exports.CustomPipelineSettingsFromJSON = exports.instanceOfCustomPipelineSettings = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
|
+
var SyncStatus_1 = require("./SyncStatus");
|
|
18
19
|
/**
|
|
19
20
|
* Check if a given object implements the CustomPipelineSettings interface.
|
|
20
21
|
*/
|
|
@@ -37,7 +38,7 @@ function CustomPipelineSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
'branch': !(0, runtime_1.exists)(json, 'branch') ? undefined : json['branch'],
|
|
38
39
|
'folder': !(0, runtime_1.exists)(json, 'folder') ? undefined : json['folder'],
|
|
39
40
|
'lastSync': !(0, runtime_1.exists)(json, 'lastSync') ? undefined : (json['lastSync'] === null ? null : new Date(json['lastSync'])),
|
|
40
|
-
'syncStatus': !(0, runtime_1.exists)(json, 'syncStatus') ? undefined : json['syncStatus'],
|
|
41
|
+
'syncStatus': !(0, runtime_1.exists)(json, 'syncStatus') ? undefined : (0, SyncStatus_1.SyncStatusFromJSON)(json['syncStatus']),
|
|
41
42
|
'commitHash': !(0, runtime_1.exists)(json, 'commitHash') ? undefined : json['commitHash'],
|
|
42
43
|
};
|
|
43
44
|
}
|
|
@@ -54,7 +55,7 @@ function CustomPipelineSettingsToJSON(value) {
|
|
|
54
55
|
'branch': value.branch,
|
|
55
56
|
'folder': value.folder,
|
|
56
57
|
'lastSync': value.lastSync === undefined ? undefined : (value.lastSync === null ? null : value.lastSync.toISOString()),
|
|
57
|
-
'syncStatus': value.syncStatus,
|
|
58
|
+
'syncStatus': (0, SyncStatus_1.SyncStatusToJSON)(value.syncStatus),
|
|
58
59
|
'commitHash': value.commitHash,
|
|
59
60
|
};
|
|
60
61
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 ErrorMessage
|
|
16
|
+
*/
|
|
17
|
+
export interface ErrorMessage {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ErrorMessage
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ErrorMessage interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfErrorMessage(value: object): boolean;
|
|
29
|
+
export declare function ErrorMessageFromJSON(json: any): ErrorMessage;
|
|
30
|
+
export declare function ErrorMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorMessage;
|
|
31
|
+
export declare function ErrorMessageToJSON(value?: ErrorMessage | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.ErrorMessageToJSON = exports.ErrorMessageFromJSONTyped = exports.ErrorMessageFromJSON = exports.instanceOfErrorMessage = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ErrorMessage interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfErrorMessage(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "message" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
exports.instanceOfErrorMessage = instanceOfErrorMessage;
|
|
26
|
+
function ErrorMessageFromJSON(json) {
|
|
27
|
+
return ErrorMessageFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
exports.ErrorMessageFromJSON = ErrorMessageFromJSON;
|
|
30
|
+
function ErrorMessageFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'message': json['message'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
exports.ErrorMessageFromJSONTyped = ErrorMessageFromJSONTyped;
|
|
39
|
+
function ErrorMessageToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'message': value.message,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.ErrorMessageToJSON = ErrorMessageToJSON;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { RepositoryType } from './RepositoryType';
|
|
13
13
|
/**
|
|
14
|
-
* Used to describe the pipeline analysis code
|
|
14
|
+
* Used to describe the pipeline analysis code, not required for ingest processes
|
|
15
15
|
* @export
|
|
16
16
|
* @interface PipelineCode
|
|
17
17
|
*/
|
|
@@ -27,19 +27,19 @@ export interface PipelineCode {
|
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof PipelineCode
|
|
29
29
|
*/
|
|
30
|
-
version
|
|
30
|
+
version: string;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @type {RepositoryType}
|
|
34
34
|
* @memberof PipelineCode
|
|
35
35
|
*/
|
|
36
|
-
repositoryType
|
|
36
|
+
repositoryType: RepositoryType;
|
|
37
37
|
/**
|
|
38
38
|
* Main script for running the pipeline
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof PipelineCode
|
|
41
41
|
*/
|
|
42
|
-
entryPoint
|
|
42
|
+
entryPoint: string;
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Check if a given object implements the PipelineCode interface.
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.PipelineCodeToJSON = exports.PipelineCodeFromJSONTyped = exports.PipelineCodeFromJSON = exports.instanceOfPipelineCode = void 0;
|
|
17
|
-
var runtime_1 = require("../runtime");
|
|
18
17
|
var RepositoryType_1 = require("./RepositoryType");
|
|
19
18
|
/**
|
|
20
19
|
* Check if a given object implements the PipelineCode interface.
|
|
@@ -22,6 +21,9 @@ var RepositoryType_1 = require("./RepositoryType");
|
|
|
22
21
|
function instanceOfPipelineCode(value) {
|
|
23
22
|
var isInstance = true;
|
|
24
23
|
isInstance = isInstance && "repositoryPath" in value;
|
|
24
|
+
isInstance = isInstance && "version" in value;
|
|
25
|
+
isInstance = isInstance && "repositoryType" in value;
|
|
26
|
+
isInstance = isInstance && "entryPoint" in value;
|
|
25
27
|
return isInstance;
|
|
26
28
|
}
|
|
27
29
|
exports.instanceOfPipelineCode = instanceOfPipelineCode;
|
|
@@ -35,9 +37,9 @@ function PipelineCodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
37
|
}
|
|
36
38
|
return {
|
|
37
39
|
'repositoryPath': json['repositoryPath'],
|
|
38
|
-
'version':
|
|
39
|
-
'repositoryType':
|
|
40
|
-
'entryPoint':
|
|
40
|
+
'version': json['version'],
|
|
41
|
+
'repositoryType': (0, RepositoryType_1.RepositoryTypeFromJSON)(json['repositoryType']),
|
|
42
|
+
'entryPoint': json['entryPoint'],
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
exports.PipelineCodeFromJSONTyped = PipelineCodeFromJSONTyped;
|
|
@@ -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 { ErrorMessage } from './ErrorMessage';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PortalErrorResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface PortalErrorResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof PortalErrorResponse
|
|
23
|
+
*/
|
|
24
|
+
statusCode: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PortalErrorResponse
|
|
29
|
+
*/
|
|
30
|
+
errorCode: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PortalErrorResponse
|
|
35
|
+
*/
|
|
36
|
+
errorDetail: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<ErrorMessage>}
|
|
40
|
+
* @memberof PortalErrorResponse
|
|
41
|
+
*/
|
|
42
|
+
errors: Array<ErrorMessage>;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the PortalErrorResponse interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfPortalErrorResponse(value: object): boolean;
|
|
48
|
+
export declare function PortalErrorResponseFromJSON(json: any): PortalErrorResponse;
|
|
49
|
+
export declare function PortalErrorResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PortalErrorResponse;
|
|
50
|
+
export declare function PortalErrorResponseToJSON(value?: PortalErrorResponse | null): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.PortalErrorResponseToJSON = exports.PortalErrorResponseFromJSONTyped = exports.PortalErrorResponseFromJSON = exports.instanceOfPortalErrorResponse = void 0;
|
|
17
|
+
var ErrorMessage_1 = require("./ErrorMessage");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the PortalErrorResponse interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfPortalErrorResponse(value) {
|
|
22
|
+
var isInstance = true;
|
|
23
|
+
isInstance = isInstance && "statusCode" in value;
|
|
24
|
+
isInstance = isInstance && "errorCode" in value;
|
|
25
|
+
isInstance = isInstance && "errorDetail" in value;
|
|
26
|
+
isInstance = isInstance && "errors" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
exports.instanceOfPortalErrorResponse = instanceOfPortalErrorResponse;
|
|
30
|
+
function PortalErrorResponseFromJSON(json) {
|
|
31
|
+
return PortalErrorResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
exports.PortalErrorResponseFromJSON = PortalErrorResponseFromJSON;
|
|
34
|
+
function PortalErrorResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if ((json === undefined) || (json === null)) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'statusCode': json['statusCode'],
|
|
40
|
+
'errorCode': json['errorCode'],
|
|
41
|
+
'errorDetail': json['errorDetail'],
|
|
42
|
+
'errors': (json['errors'].map(ErrorMessage_1.ErrorMessageFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.PortalErrorResponseFromJSONTyped = PortalErrorResponseFromJSONTyped;
|
|
46
|
+
function PortalErrorResponseToJSON(value) {
|
|
47
|
+
if (value === undefined) {
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
if (value === null) {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'statusCode': value.statusCode,
|
|
55
|
+
'errorCode': value.errorCode,
|
|
56
|
+
'errorDetail': value.errorDetail,
|
|
57
|
+
'errors': (value.errors.map(ErrorMessage_1.ErrorMessageToJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
exports.PortalErrorResponseToJSON = PortalErrorResponseToJSON;
|
package/dist/models/Process.d.ts
CHANGED
|
@@ -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;
|
|
55
55
|
/**
|
|
56
56
|
* IDs of pipelines that can be ran downstream
|
|
57
57
|
* @type {Array<string>}
|
|
@@ -59,7 +59,7 @@ export interface Process {
|
|
|
59
59
|
*/
|
|
60
60
|
childProcessIds?: Array<string>;
|
|
61
61
|
/**
|
|
62
|
-
* IDs of pipelines that can
|
|
62
|
+
* IDs of pipelines that can run this pipeline
|
|
63
63
|
* @type {Array<string>}
|
|
64
64
|
* @memberof Process
|
|
65
65
|
*/
|
package/dist/models/Process.js
CHANGED
|
@@ -22,7 +22,6 @@ 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;
|
|
26
25
|
return isInstance;
|
|
27
26
|
}
|
|
28
27
|
exports.instanceOfProcess = instanceOfProcess;
|
|
@@ -37,7 +36,7 @@ function ProcessFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
36
|
return {
|
|
38
37
|
'id': json['id'],
|
|
39
38
|
'name': !(0, runtime_1.exists)(json, 'name') ? undefined : json['name'],
|
|
40
|
-
'description': json['description'],
|
|
39
|
+
'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
|
|
41
40
|
'executor': !(0, runtime_1.exists)(json, 'executor') ? undefined : (0, Executor_1.ExecutorFromJSON)(json['executor']),
|
|
42
41
|
'documentationUrl': !(0, runtime_1.exists)(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
43
42
|
'fileRequirementsMessage': !(0, runtime_1.exists)(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { CustomPipelineSettings } from './CustomPipelineSettings';
|
|
13
13
|
import type { Executor } from './Executor';
|
|
14
|
-
import type {
|
|
14
|
+
import type { PipelineCode } from './PipelineCode';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -47,13 +47,13 @@ export interface ProcessDetail {
|
|
|
47
47
|
* @type {string}
|
|
48
48
|
* @memberof ProcessDetail
|
|
49
49
|
*/
|
|
50
|
-
documentationUrl
|
|
50
|
+
documentationUrl?: string | null;
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
53
|
* @type {string}
|
|
54
54
|
* @memberof ProcessDetail
|
|
55
55
|
*/
|
|
56
|
-
fileRequirementsMessage
|
|
56
|
+
fileRequirementsMessage?: string | null;
|
|
57
57
|
/**
|
|
58
58
|
*
|
|
59
59
|
* @type {Array<string>}
|
|
@@ -71,7 +71,7 @@ export interface ProcessDetail {
|
|
|
71
71
|
* @type {string}
|
|
72
72
|
* @memberof ProcessDetail
|
|
73
73
|
*/
|
|
74
|
-
owner
|
|
74
|
+
owner?: string;
|
|
75
75
|
/**
|
|
76
76
|
*
|
|
77
77
|
* @type {Array<string>}
|
|
@@ -80,10 +80,10 @@ export interface ProcessDetail {
|
|
|
80
80
|
linkedProjectIds: Array<string>;
|
|
81
81
|
/**
|
|
82
82
|
*
|
|
83
|
-
* @type {
|
|
83
|
+
* @type {PipelineCode}
|
|
84
84
|
* @memberof ProcessDetail
|
|
85
85
|
*/
|
|
86
|
-
pipelineCode
|
|
86
|
+
pipelineCode?: PipelineCode | null;
|
|
87
87
|
/**
|
|
88
88
|
*
|
|
89
89
|
* @type {CustomPipelineSettings}
|
|
@@ -91,11 +91,11 @@ export interface ProcessDetail {
|
|
|
91
91
|
*/
|
|
92
92
|
customSettings: CustomPipelineSettings;
|
|
93
93
|
/**
|
|
94
|
-
*
|
|
94
|
+
* Whether the process is marked for removal
|
|
95
95
|
* @type {boolean}
|
|
96
96
|
* @memberof ProcessDetail
|
|
97
97
|
*/
|
|
98
|
-
isArchived
|
|
98
|
+
isArchived?: boolean;
|
|
99
99
|
}
|
|
100
100
|
/**
|
|
101
101
|
* Check if a given object implements the ProcessDetail interface.
|
|
@@ -14,9 +14,10 @@
|
|
|
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");
|
|
17
18
|
var CustomPipelineSettings_1 = require("./CustomPipelineSettings");
|
|
18
19
|
var Executor_1 = require("./Executor");
|
|
19
|
-
var
|
|
20
|
+
var PipelineCode_1 = require("./PipelineCode");
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the ProcessDetail interface.
|
|
22
23
|
*/
|
|
@@ -26,15 +27,10 @@ function instanceOfProcessDetail(value) {
|
|
|
26
27
|
isInstance = isInstance && "name" in value;
|
|
27
28
|
isInstance = isInstance && "description" in value;
|
|
28
29
|
isInstance = isInstance && "executor" in value;
|
|
29
|
-
isInstance = isInstance && "documentationUrl" in value;
|
|
30
|
-
isInstance = isInstance && "fileRequirementsMessage" in value;
|
|
31
30
|
isInstance = isInstance && "childProcessIds" in value;
|
|
32
31
|
isInstance = isInstance && "parentProcessIds" in value;
|
|
33
|
-
isInstance = isInstance && "owner" in value;
|
|
34
32
|
isInstance = isInstance && "linkedProjectIds" in value;
|
|
35
|
-
isInstance = isInstance && "pipelineCode" in value;
|
|
36
33
|
isInstance = isInstance && "customSettings" in value;
|
|
37
|
-
isInstance = isInstance && "isArchived" in value;
|
|
38
34
|
return isInstance;
|
|
39
35
|
}
|
|
40
36
|
exports.instanceOfProcessDetail = instanceOfProcessDetail;
|
|
@@ -51,15 +47,15 @@ function ProcessDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
51
47
|
'name': json['name'],
|
|
52
48
|
'description': json['description'],
|
|
53
49
|
'executor': (0, Executor_1.ExecutorFromJSON)(json['executor']),
|
|
54
|
-
'documentationUrl': json['documentationUrl'],
|
|
55
|
-
'fileRequirementsMessage': json['fileRequirementsMessage'],
|
|
50
|
+
'documentationUrl': !(0, runtime_1.exists)(json, 'documentationUrl') ? undefined : json['documentationUrl'],
|
|
51
|
+
'fileRequirementsMessage': !(0, runtime_1.exists)(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
|
|
56
52
|
'childProcessIds': json['childProcessIds'],
|
|
57
53
|
'parentProcessIds': json['parentProcessIds'],
|
|
58
|
-
'owner': json['owner'],
|
|
54
|
+
'owner': !(0, runtime_1.exists)(json, 'owner') ? undefined : json['owner'],
|
|
59
55
|
'linkedProjectIds': json['linkedProjectIds'],
|
|
60
|
-
'pipelineCode': (0,
|
|
56
|
+
'pipelineCode': !(0, runtime_1.exists)(json, 'pipelineCode') ? undefined : (0, PipelineCode_1.PipelineCodeFromJSON)(json['pipelineCode']),
|
|
61
57
|
'customSettings': (0, CustomPipelineSettings_1.CustomPipelineSettingsFromJSON)(json['customSettings']),
|
|
62
|
-
'isArchived': json['isArchived'],
|
|
58
|
+
'isArchived': !(0, runtime_1.exists)(json, 'isArchived') ? undefined : json['isArchived'],
|
|
63
59
|
};
|
|
64
60
|
}
|
|
65
61
|
exports.ProcessDetailFromJSONTyped = ProcessDetailFromJSONTyped;
|
|
@@ -81,7 +77,7 @@ function ProcessDetailToJSON(value) {
|
|
|
81
77
|
'parentProcessIds': value.parentProcessIds,
|
|
82
78
|
'owner': value.owner,
|
|
83
79
|
'linkedProjectIds': value.linkedProjectIds,
|
|
84
|
-
'pipelineCode': (0,
|
|
80
|
+
'pipelineCode': (0, PipelineCode_1.PipelineCodeToJSON)(value.pipelineCode),
|
|
85
81
|
'customSettings': (0, CustomPipelineSettings_1.CustomPipelineSettingsToJSON)(value.customSettings),
|
|
86
82
|
'isArchived': value.isArchived,
|
|
87
83
|
};
|
|
@@ -54,13 +54,13 @@ export interface ProjectRequest {
|
|
|
54
54
|
* @type {CloudAccount}
|
|
55
55
|
* @memberof ProjectRequest
|
|
56
56
|
*/
|
|
57
|
-
account
|
|
57
|
+
account?: CloudAccount | null;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {Array<Tag>}
|
|
61
61
|
* @memberof ProjectRequest
|
|
62
62
|
*/
|
|
63
|
-
tags
|
|
63
|
+
tags?: Array<Tag> | null;
|
|
64
64
|
}
|
|
65
65
|
/**
|
|
66
66
|
* Check if a given object implements the ProjectRequest interface.
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ProjectRequestToJSON = exports.ProjectRequestFromJSONTyped = exports.ProjectRequestFromJSON = exports.instanceOfProjectRequest = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
17
18
|
var CloudAccount_1 = require("./CloudAccount");
|
|
18
19
|
var Contact_1 = require("./Contact");
|
|
19
20
|
var ProjectSettings_1 = require("./ProjectSettings");
|
|
@@ -28,8 +29,6 @@ function instanceOfProjectRequest(value) {
|
|
|
28
29
|
isInstance = isInstance && "billingAccountId" in value;
|
|
29
30
|
isInstance = isInstance && "settings" in value;
|
|
30
31
|
isInstance = isInstance && "contacts" in value;
|
|
31
|
-
isInstance = isInstance && "account" in value;
|
|
32
|
-
isInstance = isInstance && "tags" in value;
|
|
33
32
|
return isInstance;
|
|
34
33
|
}
|
|
35
34
|
exports.instanceOfProjectRequest = instanceOfProjectRequest;
|
|
@@ -47,8 +46,8 @@ function ProjectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
46
|
'billingAccountId': json['billingAccountId'],
|
|
48
47
|
'settings': (0, ProjectSettings_1.ProjectSettingsFromJSON)(json['settings']),
|
|
49
48
|
'contacts': (json['contacts'].map(Contact_1.ContactFromJSON)),
|
|
50
|
-
'account': (0, CloudAccount_1.CloudAccountFromJSON)(json['account']),
|
|
51
|
-
'tags': (json['tags'] === null ? null : json['tags'].map(Tag_1.TagFromJSON)),
|
|
49
|
+
'account': !(0, runtime_1.exists)(json, 'account') ? undefined : (0, CloudAccount_1.CloudAccountFromJSON)(json['account']),
|
|
50
|
+
'tags': !(0, runtime_1.exists)(json, 'tags') ? undefined : (json['tags'] === null ? null : json['tags'].map(Tag_1.TagFromJSON)),
|
|
52
51
|
};
|
|
53
52
|
}
|
|
54
53
|
exports.ProjectRequestFromJSONTyped = ProjectRequestFromJSONTyped;
|
|
@@ -66,7 +65,7 @@ function ProjectRequestToJSON(value) {
|
|
|
66
65
|
'settings': (0, ProjectSettings_1.ProjectSettingsToJSON)(value.settings),
|
|
67
66
|
'contacts': (value.contacts.map(Contact_1.ContactToJSON)),
|
|
68
67
|
'account': (0, CloudAccount_1.CloudAccountToJSON)(value.account),
|
|
69
|
-
'tags': (value.tags === null ? null : value.tags.map(Tag_1.TagToJSON)),
|
|
68
|
+
'tags': value.tags === undefined ? undefined : (value.tags === null ? null : value.tags.map(Tag_1.TagToJSON)),
|
|
70
69
|
};
|
|
71
70
|
}
|
|
72
71
|
exports.ProjectRequestToJSON = ProjectRequestToJSON;
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
* Status of last sync
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum SyncStatus {
|
|
18
|
+
Successful = "SUCCESSFUL",
|
|
19
|
+
Failed = "FAILED"
|
|
20
|
+
}
|
|
21
|
+
export declare function SyncStatusFromJSON(json: any): SyncStatus;
|
|
22
|
+
export declare function SyncStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SyncStatus;
|
|
23
|
+
export declare function SyncStatusToJSON(value?: SyncStatus | null): any;
|
|
@@ -0,0 +1,38 @@
|
|
|
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.SyncStatusToJSON = exports.SyncStatusFromJSONTyped = exports.SyncStatusFromJSON = exports.SyncStatus = void 0;
|
|
17
|
+
/**
|
|
18
|
+
* Status of last sync
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
var SyncStatus;
|
|
23
|
+
(function (SyncStatus) {
|
|
24
|
+
SyncStatus["Successful"] = "SUCCESSFUL";
|
|
25
|
+
SyncStatus["Failed"] = "FAILED";
|
|
26
|
+
})(SyncStatus = exports.SyncStatus || (exports.SyncStatus = {}));
|
|
27
|
+
function SyncStatusFromJSON(json) {
|
|
28
|
+
return SyncStatusFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.SyncStatusFromJSON = SyncStatusFromJSON;
|
|
31
|
+
function SyncStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
exports.SyncStatusFromJSONTyped = SyncStatusFromJSONTyped;
|
|
35
|
+
function SyncStatusToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
exports.SyncStatusToJSON = SyncStatusToJSON;
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
export interface ValidateFileRequirementsRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
20
|
+
* @type {Array<string>}
|
|
21
21
|
* @memberof ValidateFileRequirementsRequest
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
fileNames: Array<string>;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {string}
|
|
27
27
|
* @memberof ValidateFileRequirementsRequest
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
sampleSheet: string;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the ValidateFileRequirementsRequest interface.
|