@cirrobio/api-client 0.1.8 → 0.1.10
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 +1 -0
- package/README.md +1 -1
- package/dist/models/Executor.d.ts +2 -1
- package/dist/models/Executor.js +1 -0
- package/dist/models/FileMappingRule.d.ts +56 -0
- package/dist/models/FileMappingRule.js +61 -0
- package/dist/models/FileNamePattern.d.ts +8 -2
- package/dist/models/FileNamePattern.js +3 -0
- package/dist/models/ProcessDetail.d.ts +7 -0
- package/dist/models/ProcessDetail.js +3 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/models/Executor.ts +2 -1
- package/src/models/FileMappingRule.ts +106 -0
- package/src/models/FileNamePattern.ts +11 -2
- package/src/models/ProcessDetail.ts +14 -0
- package/src/models/index.ts +1 -0
- package/src/runtime.ts +1 -1
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
export declare enum Executor {
|
|
18
18
|
Ingest = "INGEST",
|
|
19
19
|
Nextflow = "NEXTFLOW",
|
|
20
|
-
Cromwell = "CROMWELL"
|
|
20
|
+
Cromwell = "CROMWELL",
|
|
21
|
+
OmicsReady2Run = "OMICS_READY2RUN"
|
|
21
22
|
}
|
|
22
23
|
export declare function ExecutorFromJSON(json: any): Executor;
|
|
23
24
|
export declare function ExecutorFromJSONTyped(json: any, ignoreDiscriminator: boolean): Executor;
|
package/dist/models/Executor.js
CHANGED
|
@@ -24,6 +24,7 @@ var Executor;
|
|
|
24
24
|
Executor["Ingest"] = "INGEST";
|
|
25
25
|
Executor["Nextflow"] = "NEXTFLOW";
|
|
26
26
|
Executor["Cromwell"] = "CROMWELL";
|
|
27
|
+
Executor["OmicsReady2Run"] = "OMICS_READY2RUN";
|
|
27
28
|
})(Executor = exports.Executor || (exports.Executor = {}));
|
|
28
29
|
function ExecutorFromJSON(json) {
|
|
29
30
|
return ExecutorFromJSONTyped(json, false);
|
|
@@ -0,0 +1,56 @@
|
|
|
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 { FileNamePattern } from './FileNamePattern';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FileMappingRule
|
|
17
|
+
*/
|
|
18
|
+
export interface FileMappingRule {
|
|
19
|
+
/**
|
|
20
|
+
* Describes the group of possible files that meet a single file type criteria.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof FileMappingRule
|
|
23
|
+
*/
|
|
24
|
+
description: string;
|
|
25
|
+
/**
|
|
26
|
+
* Minimum number of files to expect for the file type group.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof FileMappingRule
|
|
29
|
+
*/
|
|
30
|
+
min?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Maximum number of files to expect for the file type group.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof FileMappingRule
|
|
35
|
+
*/
|
|
36
|
+
max?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies if the file type will be associated with a sample.
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof FileMappingRule
|
|
41
|
+
*/
|
|
42
|
+
isSample?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Describes the possible file patterns to expect for the file type group.
|
|
45
|
+
* @type {Array<FileNamePattern>}
|
|
46
|
+
* @memberof FileMappingRule
|
|
47
|
+
*/
|
|
48
|
+
fileNamePatterns: Array<FileNamePattern>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the FileMappingRule interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfFileMappingRule(value: object): boolean;
|
|
54
|
+
export declare function FileMappingRuleFromJSON(json: any): FileMappingRule;
|
|
55
|
+
export declare function FileMappingRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileMappingRule;
|
|
56
|
+
export declare function FileMappingRuleToJSON(value?: FileMappingRule | null): any;
|
|
@@ -0,0 +1,61 @@
|
|
|
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.FileMappingRuleToJSON = exports.FileMappingRuleFromJSONTyped = exports.FileMappingRuleFromJSON = exports.instanceOfFileMappingRule = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
18
|
+
var FileNamePattern_1 = require("./FileNamePattern");
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the FileMappingRule interface.
|
|
21
|
+
*/
|
|
22
|
+
function instanceOfFileMappingRule(value) {
|
|
23
|
+
var isInstance = true;
|
|
24
|
+
isInstance = isInstance && "description" in value;
|
|
25
|
+
isInstance = isInstance && "fileNamePatterns" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
exports.instanceOfFileMappingRule = instanceOfFileMappingRule;
|
|
29
|
+
function FileMappingRuleFromJSON(json) {
|
|
30
|
+
return FileMappingRuleFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
exports.FileMappingRuleFromJSON = FileMappingRuleFromJSON;
|
|
33
|
+
function FileMappingRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if ((json === undefined) || (json === null)) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'description': json['description'],
|
|
39
|
+
'min': !(0, runtime_1.exists)(json, 'min') ? undefined : json['min'],
|
|
40
|
+
'max': !(0, runtime_1.exists)(json, 'max') ? undefined : json['max'],
|
|
41
|
+
'isSample': !(0, runtime_1.exists)(json, 'isSample') ? undefined : json['isSample'],
|
|
42
|
+
'fileNamePatterns': (json['fileNamePatterns'].map(FileNamePattern_1.FileNamePatternFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
exports.FileMappingRuleFromJSONTyped = FileMappingRuleFromJSONTyped;
|
|
46
|
+
function FileMappingRuleToJSON(value) {
|
|
47
|
+
if (value === undefined) {
|
|
48
|
+
return undefined;
|
|
49
|
+
}
|
|
50
|
+
if (value === null) {
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'description': value.description,
|
|
55
|
+
'min': value.min,
|
|
56
|
+
'max': value.max,
|
|
57
|
+
'isSample': value.isSample,
|
|
58
|
+
'fileNamePatterns': (value.fileNamePatterns.map(FileNamePattern_1.FileNamePatternToJSON)),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
exports.FileMappingRuleToJSON = FileMappingRuleToJSON;
|
|
@@ -16,17 +16,23 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface FileNamePattern {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* User-readable name for the file type used for display.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof FileNamePattern
|
|
22
22
|
*/
|
|
23
23
|
exampleName: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* File description.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof FileNamePattern
|
|
28
28
|
*/
|
|
29
29
|
description: string;
|
|
30
|
+
/**
|
|
31
|
+
* File name pattern, formatted as a valid regex, to extract sample name and other metadata.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FileNamePattern
|
|
34
|
+
*/
|
|
35
|
+
sampleMatchingPattern: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the FileNamePattern interface.
|
|
@@ -21,6 +21,7 @@ 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;
|
|
24
25
|
return isInstance;
|
|
25
26
|
}
|
|
26
27
|
exports.instanceOfFileNamePattern = instanceOfFileNamePattern;
|
|
@@ -35,6 +36,7 @@ function FileNamePatternFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
36
|
return {
|
|
36
37
|
'exampleName': json['exampleName'],
|
|
37
38
|
'description': json['description'],
|
|
39
|
+
'sampleMatchingPattern': json['sampleMatchingPattern'],
|
|
38
40
|
};
|
|
39
41
|
}
|
|
40
42
|
exports.FileNamePatternFromJSONTyped = FileNamePatternFromJSONTyped;
|
|
@@ -48,6 +50,7 @@ function FileNamePatternToJSON(value) {
|
|
|
48
50
|
return {
|
|
49
51
|
'exampleName': value.exampleName,
|
|
50
52
|
'description': value.description,
|
|
53
|
+
'sampleMatchingPattern': value.sampleMatchingPattern,
|
|
51
54
|
};
|
|
52
55
|
}
|
|
53
56
|
exports.FileNamePatternToJSON = FileNamePatternToJSON;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { CustomPipelineSettings } from './CustomPipelineSettings';
|
|
13
13
|
import type { Executor } from './Executor';
|
|
14
|
+
import type { FileMappingRule } from './FileMappingRule';
|
|
14
15
|
import type { PipelineCode } from './PipelineCode';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -108,6 +109,12 @@ export interface ProcessDetail {
|
|
|
108
109
|
* @memberof ProcessDetail
|
|
109
110
|
*/
|
|
110
111
|
isArchived?: boolean;
|
|
112
|
+
/**
|
|
113
|
+
* Describes the files that this dataset type expects.
|
|
114
|
+
* @type {Array<FileMappingRule>}
|
|
115
|
+
* @memberof ProcessDetail
|
|
116
|
+
*/
|
|
117
|
+
fileMappingRules?: Array<FileMappingRule> | null;
|
|
111
118
|
}
|
|
112
119
|
/**
|
|
113
120
|
* Check if a given object implements the ProcessDetail interface.
|
|
@@ -17,6 +17,7 @@ exports.ProcessDetailToJSON = exports.ProcessDetailFromJSONTyped = exports.Proce
|
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
18
|
var CustomPipelineSettings_1 = require("./CustomPipelineSettings");
|
|
19
19
|
var Executor_1 = require("./Executor");
|
|
20
|
+
var FileMappingRule_1 = require("./FileMappingRule");
|
|
20
21
|
var PipelineCode_1 = require("./PipelineCode");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the ProcessDetail interface.
|
|
@@ -57,6 +58,7 @@ function ProcessDetailFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
58
|
'allowMultipleSources': !(0, runtime_1.exists)(json, 'allowMultipleSources') ? undefined : json['allowMultipleSources'],
|
|
58
59
|
'customSettings': !(0, runtime_1.exists)(json, 'customSettings') ? undefined : (0, CustomPipelineSettings_1.CustomPipelineSettingsFromJSON)(json['customSettings']),
|
|
59
60
|
'isArchived': !(0, runtime_1.exists)(json, 'isArchived') ? undefined : json['isArchived'],
|
|
61
|
+
'fileMappingRules': !(0, runtime_1.exists)(json, 'fileMappingRules') ? undefined : (json['fileMappingRules'] === null ? null : json['fileMappingRules'].map(FileMappingRule_1.FileMappingRuleFromJSON)),
|
|
60
62
|
};
|
|
61
63
|
}
|
|
62
64
|
exports.ProcessDetailFromJSONTyped = ProcessDetailFromJSONTyped;
|
|
@@ -83,6 +85,7 @@ function ProcessDetailToJSON(value) {
|
|
|
83
85
|
'allowMultipleSources': value.allowMultipleSources,
|
|
84
86
|
'customSettings': (0, CustomPipelineSettings_1.CustomPipelineSettingsToJSON)(value.customSettings),
|
|
85
87
|
'isArchived': value.isArchived,
|
|
88
|
+
'fileMappingRules': value.fileMappingRules === undefined ? undefined : (value.fileMappingRules === null ? null : value.fileMappingRules.map(FileMappingRule_1.FileMappingRuleToJSON)),
|
|
86
89
|
};
|
|
87
90
|
}
|
|
88
91
|
exports.ProcessDetailToJSON = ProcessDetailToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ export * from './ErrorMessage';
|
|
|
26
26
|
export * from './Executor';
|
|
27
27
|
export * from './FileAccessRequest';
|
|
28
28
|
export * from './FileEntry';
|
|
29
|
+
export * from './FileMappingRule';
|
|
29
30
|
export * from './FileNamePattern';
|
|
30
31
|
export * from './FileRequirements';
|
|
31
32
|
export * from './FormSchema';
|
package/dist/models/index.js
CHANGED
|
@@ -44,6 +44,7 @@ __exportStar(require("./ErrorMessage"), exports);
|
|
|
44
44
|
__exportStar(require("./Executor"), exports);
|
|
45
45
|
__exportStar(require("./FileAccessRequest"), exports);
|
|
46
46
|
__exportStar(require("./FileEntry"), exports);
|
|
47
|
+
__exportStar(require("./FileMappingRule"), exports);
|
|
47
48
|
__exportStar(require("./FileNamePattern"), exports);
|
|
48
49
|
__exportStar(require("./FileRequirements"), exports);
|
|
49
50
|
__exportStar(require("./FormSchema"), exports);
|
package/dist/runtime.js
CHANGED
|
@@ -76,7 +76,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
76
76
|
};
|
|
77
77
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
78
78
|
exports.TextApiResponse = exports.BlobApiResponse = exports.VoidApiResponse = exports.JSONApiResponse = exports.canConsumeForm = exports.mapValues = exports.querystring = exports.exists = exports.COLLECTION_FORMATS = exports.RequiredError = exports.FetchError = exports.ResponseError = exports.BaseAPI = exports.DefaultConfig = exports.Configuration = exports.BASE_PATH = void 0;
|
|
79
|
-
exports.BASE_PATH = "
|
|
79
|
+
exports.BASE_PATH = "https://dev.cirro.bio/api".replace(/\/+$/, "");
|
|
80
80
|
var Configuration = /** @class */ (function () {
|
|
81
81
|
function Configuration(configuration) {
|
|
82
82
|
if (configuration === void 0) { configuration = {}; }
|
package/package.json
CHANGED
package/src/models/Executor.ts
CHANGED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Cirro Data
|
|
5
|
+
* Cirro Data Platform service API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
* Contact: support@cirro.bio
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { exists, mapValues } from '../runtime';
|
|
16
|
+
import type { FileNamePattern } from './FileNamePattern';
|
|
17
|
+
import {
|
|
18
|
+
FileNamePatternFromJSON,
|
|
19
|
+
FileNamePatternFromJSONTyped,
|
|
20
|
+
FileNamePatternToJSON,
|
|
21
|
+
} from './FileNamePattern';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface FileMappingRule
|
|
27
|
+
*/
|
|
28
|
+
export interface FileMappingRule {
|
|
29
|
+
/**
|
|
30
|
+
* Describes the group of possible files that meet a single file type criteria.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof FileMappingRule
|
|
33
|
+
*/
|
|
34
|
+
description: string;
|
|
35
|
+
/**
|
|
36
|
+
* Minimum number of files to expect for the file type group.
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof FileMappingRule
|
|
39
|
+
*/
|
|
40
|
+
min?: number;
|
|
41
|
+
/**
|
|
42
|
+
* Maximum number of files to expect for the file type group.
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof FileMappingRule
|
|
45
|
+
*/
|
|
46
|
+
max?: number;
|
|
47
|
+
/**
|
|
48
|
+
* Specifies if the file type will be associated with a sample.
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof FileMappingRule
|
|
51
|
+
*/
|
|
52
|
+
isSample?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* Describes the possible file patterns to expect for the file type group.
|
|
55
|
+
* @type {Array<FileNamePattern>}
|
|
56
|
+
* @memberof FileMappingRule
|
|
57
|
+
*/
|
|
58
|
+
fileNamePatterns: Array<FileNamePattern>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the FileMappingRule interface.
|
|
63
|
+
*/
|
|
64
|
+
export function instanceOfFileMappingRule(value: object): boolean {
|
|
65
|
+
let isInstance = true;
|
|
66
|
+
isInstance = isInstance && "description" in value;
|
|
67
|
+
isInstance = isInstance && "fileNamePatterns" in value;
|
|
68
|
+
|
|
69
|
+
return isInstance;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function FileMappingRuleFromJSON(json: any): FileMappingRule {
|
|
73
|
+
return FileMappingRuleFromJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function FileMappingRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileMappingRule {
|
|
77
|
+
if ((json === undefined) || (json === null)) {
|
|
78
|
+
return json;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'description': json['description'],
|
|
83
|
+
'min': !exists(json, 'min') ? undefined : json['min'],
|
|
84
|
+
'max': !exists(json, 'max') ? undefined : json['max'],
|
|
85
|
+
'isSample': !exists(json, 'isSample') ? undefined : json['isSample'],
|
|
86
|
+
'fileNamePatterns': ((json['fileNamePatterns'] as Array<any>).map(FileNamePatternFromJSON)),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function FileMappingRuleToJSON(value?: FileMappingRule | null): any {
|
|
91
|
+
if (value === undefined) {
|
|
92
|
+
return undefined;
|
|
93
|
+
}
|
|
94
|
+
if (value === null) {
|
|
95
|
+
return null;
|
|
96
|
+
}
|
|
97
|
+
return {
|
|
98
|
+
|
|
99
|
+
'description': value.description,
|
|
100
|
+
'min': value.min,
|
|
101
|
+
'max': value.max,
|
|
102
|
+
'isSample': value.isSample,
|
|
103
|
+
'fileNamePatterns': ((value.fileNamePatterns as Array<any>).map(FileNamePatternToJSON)),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -20,17 +20,23 @@ import { exists, mapValues } from '../runtime';
|
|
|
20
20
|
*/
|
|
21
21
|
export interface FileNamePattern {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* User-readable name for the file type used for display.
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof FileNamePattern
|
|
26
26
|
*/
|
|
27
27
|
exampleName: string;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* File description.
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof FileNamePattern
|
|
32
32
|
*/
|
|
33
33
|
description: string;
|
|
34
|
+
/**
|
|
35
|
+
* File name pattern, formatted as a valid regex, to extract sample name and other metadata.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof FileNamePattern
|
|
38
|
+
*/
|
|
39
|
+
sampleMatchingPattern: string;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
/**
|
|
@@ -40,6 +46,7 @@ export function instanceOfFileNamePattern(value: object): boolean {
|
|
|
40
46
|
let isInstance = true;
|
|
41
47
|
isInstance = isInstance && "exampleName" in value;
|
|
42
48
|
isInstance = isInstance && "description" in value;
|
|
49
|
+
isInstance = isInstance && "sampleMatchingPattern" in value;
|
|
43
50
|
|
|
44
51
|
return isInstance;
|
|
45
52
|
}
|
|
@@ -56,6 +63,7 @@ export function FileNamePatternFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
56
63
|
|
|
57
64
|
'exampleName': json['exampleName'],
|
|
58
65
|
'description': json['description'],
|
|
66
|
+
'sampleMatchingPattern': json['sampleMatchingPattern'],
|
|
59
67
|
};
|
|
60
68
|
}
|
|
61
69
|
|
|
@@ -70,6 +78,7 @@ export function FileNamePatternToJSON(value?: FileNamePattern | null): any {
|
|
|
70
78
|
|
|
71
79
|
'exampleName': value.exampleName,
|
|
72
80
|
'description': value.description,
|
|
81
|
+
'sampleMatchingPattern': value.sampleMatchingPattern,
|
|
73
82
|
};
|
|
74
83
|
}
|
|
75
84
|
|
|
@@ -25,6 +25,12 @@ import {
|
|
|
25
25
|
ExecutorFromJSONTyped,
|
|
26
26
|
ExecutorToJSON,
|
|
27
27
|
} from './Executor';
|
|
28
|
+
import type { FileMappingRule } from './FileMappingRule';
|
|
29
|
+
import {
|
|
30
|
+
FileMappingRuleFromJSON,
|
|
31
|
+
FileMappingRuleFromJSONTyped,
|
|
32
|
+
FileMappingRuleToJSON,
|
|
33
|
+
} from './FileMappingRule';
|
|
28
34
|
import type { PipelineCode } from './PipelineCode';
|
|
29
35
|
import {
|
|
30
36
|
PipelineCodeFromJSON,
|
|
@@ -128,6 +134,12 @@ export interface ProcessDetail {
|
|
|
128
134
|
* @memberof ProcessDetail
|
|
129
135
|
*/
|
|
130
136
|
isArchived?: boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Describes the files that this dataset type expects.
|
|
139
|
+
* @type {Array<FileMappingRule>}
|
|
140
|
+
* @memberof ProcessDetail
|
|
141
|
+
*/
|
|
142
|
+
fileMappingRules?: Array<FileMappingRule> | null;
|
|
131
143
|
}
|
|
132
144
|
|
|
133
145
|
/**
|
|
@@ -171,6 +183,7 @@ export function ProcessDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
171
183
|
'allowMultipleSources': !exists(json, 'allowMultipleSources') ? undefined : json['allowMultipleSources'],
|
|
172
184
|
'customSettings': !exists(json, 'customSettings') ? undefined : CustomPipelineSettingsFromJSON(json['customSettings']),
|
|
173
185
|
'isArchived': !exists(json, 'isArchived') ? undefined : json['isArchived'],
|
|
186
|
+
'fileMappingRules': !exists(json, 'fileMappingRules') ? undefined : (json['fileMappingRules'] === null ? null : (json['fileMappingRules'] as Array<any>).map(FileMappingRuleFromJSON)),
|
|
174
187
|
};
|
|
175
188
|
}
|
|
176
189
|
|
|
@@ -198,6 +211,7 @@ export function ProcessDetailToJSON(value?: ProcessDetail | null): any {
|
|
|
198
211
|
'allowMultipleSources': value.allowMultipleSources,
|
|
199
212
|
'customSettings': CustomPipelineSettingsToJSON(value.customSettings),
|
|
200
213
|
'isArchived': value.isArchived,
|
|
214
|
+
'fileMappingRules': value.fileMappingRules === undefined ? undefined : (value.fileMappingRules === null ? null : (value.fileMappingRules as Array<any>).map(FileMappingRuleToJSON)),
|
|
201
215
|
};
|
|
202
216
|
}
|
|
203
217
|
|
package/src/models/index.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * from './ErrorMessage';
|
|
|
28
28
|
export * from './Executor';
|
|
29
29
|
export * from './FileAccessRequest';
|
|
30
30
|
export * from './FileEntry';
|
|
31
|
+
export * from './FileMappingRule';
|
|
31
32
|
export * from './FileNamePattern';
|
|
32
33
|
export * from './FileRequirements';
|
|
33
34
|
export * from './FormSchema';
|
package/src/runtime.ts
CHANGED