@cirrobio/api-client 0.2.22 → 0.4.0

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.
@@ -14,7 +14,7 @@ import type { Executor } from './Executor';
14
14
  import type { FileMappingRule } from './FileMappingRule';
15
15
  import type { PipelineCode } from './PipelineCode';
16
16
  /**
17
- *
17
+ * Identifies a data type or pipeline in Cirro
18
18
  * @export
19
19
  * @interface ProcessDetail
20
20
  */
@@ -32,7 +32,7 @@ export interface ProcessDetail {
32
32
  */
33
33
  name: string;
34
34
  /**
35
- *
35
+ * Description of the process
36
36
  * @type {string}
37
37
  * @memberof ProcessDetail
38
38
  */
@@ -42,7 +42,7 @@ export interface ProcessDetail {
42
42
  * @type {string}
43
43
  * @memberof ProcessDetail
44
44
  */
45
- dataType?: string | null;
45
+ dataType: string;
46
46
  /**
47
47
  *
48
48
  * @type {Executor}
@@ -68,23 +68,23 @@ export interface ProcessDetail {
68
68
  */
69
69
  childProcessIds: Array<string>;
70
70
  /**
71
- * IDs of pipelines that can run this pipeline
71
+ * IDs of processes that can run this pipeline
72
72
  * @type {Array<string>}
73
73
  * @memberof ProcessDetail
74
74
  */
75
75
  parentProcessIds: Array<string>;
76
76
  /**
77
- * Link to pipeline documentation
77
+ * Link to process documentation
78
78
  * @type {string}
79
79
  * @memberof ProcessDetail
80
80
  */
81
- documentationUrl?: string | null;
81
+ documentationUrl?: string;
82
82
  /**
83
83
  * Description of the files to be uploaded (optional)
84
84
  * @type {string}
85
85
  * @memberof ProcessDetail
86
86
  */
87
- fileRequirementsMessage?: string | null;
87
+ fileRequirementsMessage?: string;
88
88
  /**
89
89
  *
90
90
  * @type {PipelineCode}
@@ -98,29 +98,35 @@ export interface ProcessDetail {
98
98
  */
99
99
  owner?: string | null;
100
100
  /**
101
- * Projects that can run this pipeline
101
+ * Projects that can run this process
102
102
  * @type {Array<string>}
103
103
  * @memberof ProcessDetail
104
104
  */
105
105
  linkedProjectIds: Array<string>;
106
106
  /**
107
- * Whether the pipeline is available to all projects in the organization
107
+ * Whether the process is shared with the tenant
108
108
  * @type {boolean}
109
109
  * @memberof ProcessDetail
110
110
  */
111
- isTenantWide?: boolean;
111
+ isTenantWide: boolean;
112
112
  /**
113
113
  * Whether the pipeline is allowed to have multiple dataset sources
114
114
  * @type {boolean}
115
115
  * @memberof ProcessDetail
116
116
  */
117
- allowMultipleSources?: boolean;
117
+ allowMultipleSources: boolean;
118
118
  /**
119
119
  * Whether the pipeline uses the Cirro-provided sample sheet
120
120
  * @type {boolean}
121
121
  * @memberof ProcessDetail
122
122
  */
123
- usesSampleSheet?: boolean;
123
+ usesSampleSheet: boolean;
124
+ /**
125
+ * Whether the process is marked as archived
126
+ * @type {boolean}
127
+ * @memberof ProcessDetail
128
+ */
129
+ isArchived: boolean;
124
130
  /**
125
131
  *
126
132
  * @type {CustomPipelineSettings}
@@ -128,17 +134,23 @@ export interface ProcessDetail {
128
134
  */
129
135
  customSettings?: CustomPipelineSettings | null;
130
136
  /**
131
- * Whether the process is marked for removal
132
- * @type {boolean}
137
+ *
138
+ * @type {Array<FileMappingRule>}
133
139
  * @memberof ProcessDetail
134
140
  */
135
- isArchived?: boolean;
141
+ fileMappingRules?: Array<FileMappingRule> | null;
136
142
  /**
137
- * Describes the files that this dataset type expects.
138
- * @type {Array<FileMappingRule>}
143
+ * When the process was created (does not reflect the pipeline code)
144
+ * @type {Date}
139
145
  * @memberof ProcessDetail
140
146
  */
141
- fileMappingRules?: Array<FileMappingRule> | null;
147
+ createdAt?: Date;
148
+ /**
149
+ * When the process was updated (does not reflect the pipeline code)
150
+ * @type {Date}
151
+ * @memberof ProcessDetail
152
+ */
153
+ updatedAt?: Date;
142
154
  }
143
155
  /**
144
156
  * Check if a given object implements the ProcessDetail interface.
@@ -27,10 +27,15 @@ function instanceOfProcessDetail(value) {
27
27
  isInstance = isInstance && "id" in value;
28
28
  isInstance = isInstance && "name" in value;
29
29
  isInstance = isInstance && "description" in value;
30
+ isInstance = isInstance && "dataType" in value;
30
31
  isInstance = isInstance && "executor" in value;
31
32
  isInstance = isInstance && "childProcessIds" in value;
32
33
  isInstance = isInstance && "parentProcessIds" in value;
33
34
  isInstance = isInstance && "linkedProjectIds" in value;
35
+ isInstance = isInstance && "isTenantWide" in value;
36
+ isInstance = isInstance && "allowMultipleSources" in value;
37
+ isInstance = isInstance && "usesSampleSheet" in value;
38
+ isInstance = isInstance && "isArchived" in value;
34
39
  return isInstance;
35
40
  }
36
41
  exports.instanceOfProcessDetail = instanceOfProcessDetail;
@@ -46,7 +51,7 @@ function ProcessDetailFromJSONTyped(json, ignoreDiscriminator) {
46
51
  'id': json['id'],
47
52
  'name': json['name'],
48
53
  'description': json['description'],
49
- 'dataType': !(0, runtime_1.exists)(json, 'dataType') ? undefined : json['dataType'],
54
+ 'dataType': json['dataType'],
50
55
  'executor': (0, Executor_1.ExecutorFromJSON)(json['executor']),
51
56
  'category': !(0, runtime_1.exists)(json, 'category') ? undefined : json['category'],
52
57
  'pipelineType': !(0, runtime_1.exists)(json, 'pipelineType') ? undefined : json['pipelineType'],
@@ -57,12 +62,14 @@ function ProcessDetailFromJSONTyped(json, ignoreDiscriminator) {
57
62
  'pipelineCode': !(0, runtime_1.exists)(json, 'pipelineCode') ? undefined : (0, PipelineCode_1.PipelineCodeFromJSON)(json['pipelineCode']),
58
63
  'owner': !(0, runtime_1.exists)(json, 'owner') ? undefined : json['owner'],
59
64
  'linkedProjectIds': json['linkedProjectIds'],
60
- 'isTenantWide': !(0, runtime_1.exists)(json, 'isTenantWide') ? undefined : json['isTenantWide'],
61
- 'allowMultipleSources': !(0, runtime_1.exists)(json, 'allowMultipleSources') ? undefined : json['allowMultipleSources'],
62
- 'usesSampleSheet': !(0, runtime_1.exists)(json, 'usesSampleSheet') ? undefined : json['usesSampleSheet'],
65
+ 'isTenantWide': json['isTenantWide'],
66
+ 'allowMultipleSources': json['allowMultipleSources'],
67
+ 'usesSampleSheet': json['usesSampleSheet'],
68
+ 'isArchived': json['isArchived'],
63
69
  'customSettings': !(0, runtime_1.exists)(json, 'customSettings') ? undefined : (0, CustomPipelineSettings_1.CustomPipelineSettingsFromJSON)(json['customSettings']),
64
- 'isArchived': !(0, runtime_1.exists)(json, 'isArchived') ? undefined : json['isArchived'],
65
70
  'fileMappingRules': !(0, runtime_1.exists)(json, 'fileMappingRules') ? undefined : (json['fileMappingRules'] === null ? null : json['fileMappingRules'].map(FileMappingRule_1.FileMappingRuleFromJSON)),
71
+ 'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
72
+ 'updatedAt': !(0, runtime_1.exists)(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
66
73
  };
67
74
  }
68
75
  exports.ProcessDetailFromJSONTyped = ProcessDetailFromJSONTyped;
@@ -91,9 +98,11 @@ function ProcessDetailToJSON(value) {
91
98
  'isTenantWide': value.isTenantWide,
92
99
  'allowMultipleSources': value.allowMultipleSources,
93
100
  'usesSampleSheet': value.usesSampleSheet,
94
- 'customSettings': (0, CustomPipelineSettings_1.CustomPipelineSettingsToJSON)(value.customSettings),
95
101
  'isArchived': value.isArchived,
102
+ 'customSettings': (0, CustomPipelineSettings_1.CustomPipelineSettingsToJSON)(value.customSettings),
96
103
  'fileMappingRules': value.fileMappingRules === undefined ? undefined : (value.fileMappingRules === null ? null : value.fileMappingRules.map(FileMappingRule_1.FileMappingRuleToJSON)),
104
+ 'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
105
+ 'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
97
106
  };
98
107
  }
99
108
  exports.ProcessDetailToJSON = ProcessDetailToJSON;
@@ -27,6 +27,7 @@ export * from './CreateProjectAccessRequest';
27
27
  export * from './CreateReferenceRequest';
28
28
  export * from './CreateResponse';
29
29
  export * from './CustomPipelineSettings';
30
+ export * from './CustomProcessInput';
30
31
  export * from './CustomerType';
31
32
  export * from './Dashboard';
32
33
  export * from './DashboardRequest';
@@ -45,6 +45,7 @@ __exportStar(require("./CreateProjectAccessRequest"), exports);
45
45
  __exportStar(require("./CreateReferenceRequest"), exports);
46
46
  __exportStar(require("./CreateResponse"), exports);
47
47
  __exportStar(require("./CustomPipelineSettings"), exports);
48
+ __exportStar(require("./CustomProcessInput"), exports);
48
49
  __exportStar(require("./CustomerType"), exports);
49
50
  __exportStar(require("./Dashboard"), exports);
50
51
  __exportStar(require("./DashboardRequest"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.2.22",
3
+ "version": "0.4.0",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {
@@ -132,41 +132,6 @@ export class BillingApi extends runtime.BaseAPI {
132
132
  await this.deleteBillingAccountRaw(requestParameters, initOverrides);
133
133
  }
134
134
 
135
- /**
136
- * Generates a billing report xlsx with cost information
137
- * Generate billing report
138
- */
139
- async generateBillingReportRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
140
- const queryParameters: any = {};
141
-
142
- const headerParameters: runtime.HTTPHeaders = {};
143
-
144
- if (this.configuration && this.configuration.accessToken) {
145
- const token = this.configuration.accessToken;
146
- const tokenString = await token("accessToken", []);
147
-
148
- if (tokenString) {
149
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
150
- }
151
- }
152
- const response = await this.request({
153
- path: `/billing-report`,
154
- method: 'GET',
155
- headers: headerParameters,
156
- query: queryParameters,
157
- }, initOverrides);
158
-
159
- return new runtime.VoidApiResponse(response);
160
- }
161
-
162
- /**
163
- * Generates a billing report xlsx with cost information
164
- * Generate billing report
165
- */
166
- async generateBillingReport(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
167
- await this.generateBillingReportRaw(initOverrides);
168
- }
169
-
170
135
  /**
171
136
  * Gets a list of billing accounts the current user has access to
172
137
  * List billing accounts
@@ -17,6 +17,7 @@ import * as runtime from '../runtime';
17
17
  import type {
18
18
  CreateResponse,
19
19
  CustomPipelineSettings,
20
+ CustomProcessInput,
20
21
  ErrorMessage,
21
22
  FileRequirements,
22
23
  FormSchema,
@@ -31,6 +32,8 @@ import {
31
32
  CreateResponseToJSON,
32
33
  CustomPipelineSettingsFromJSON,
33
34
  CustomPipelineSettingsToJSON,
35
+ CustomProcessInputFromJSON,
36
+ CustomProcessInputToJSON,
34
37
  ErrorMessageFromJSON,
35
38
  ErrorMessageToJSON,
36
39
  FileRequirementsFromJSON,
@@ -59,7 +62,7 @@ export interface CalculatePipelineCostRequest {
59
62
  }
60
63
 
61
64
  export interface CreateCustomProcessRequest {
62
- processDetail: ProcessDetail;
65
+ customProcessInput: CustomProcessInput;
63
66
  }
64
67
 
65
68
  export interface GetProcessRequest {
@@ -80,7 +83,7 @@ export interface SyncCustomProcessRequest {
80
83
 
81
84
  export interface UpdateCustomProcessRequest {
82
85
  processId: string;
83
- processDetail: ProcessDetail;
86
+ customProcessInput: CustomProcessInput;
84
87
  }
85
88
 
86
89
  export interface ValidateFileRequirementsOperationRequest {
@@ -184,8 +187,8 @@ export class ProcessesApi extends runtime.BaseAPI {
184
187
  * Create custom process
185
188
  */
186
189
  async createCustomProcessRaw(requestParameters: CreateCustomProcessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateResponse>> {
187
- if (requestParameters.processDetail === null || requestParameters.processDetail === undefined) {
188
- throw new runtime.RequiredError('processDetail','Required parameter requestParameters.processDetail was null or undefined when calling createCustomProcess.');
190
+ if (requestParameters.customProcessInput === null || requestParameters.customProcessInput === undefined) {
191
+ throw new runtime.RequiredError('customProcessInput','Required parameter requestParameters.customProcessInput was null or undefined when calling createCustomProcess.');
189
192
  }
190
193
 
191
194
  const queryParameters: any = {};
@@ -207,7 +210,7 @@ export class ProcessesApi extends runtime.BaseAPI {
207
210
  method: 'POST',
208
211
  headers: headerParameters,
209
212
  query: queryParameters,
210
- body: ProcessDetailToJSON(requestParameters.processDetail),
213
+ body: CustomProcessInputToJSON(requestParameters.customProcessInput),
211
214
  }, initOverrides);
212
215
 
213
216
  return new runtime.JSONApiResponse(response, (jsonValue) => CreateResponseFromJSON(jsonValue));
@@ -391,8 +394,8 @@ export class ProcessesApi extends runtime.BaseAPI {
391
394
  throw new runtime.RequiredError('processId','Required parameter requestParameters.processId was null or undefined when calling updateCustomProcess.');
392
395
  }
393
396
 
394
- if (requestParameters.processDetail === null || requestParameters.processDetail === undefined) {
395
- throw new runtime.RequiredError('processDetail','Required parameter requestParameters.processDetail was null or undefined when calling updateCustomProcess.');
397
+ if (requestParameters.customProcessInput === null || requestParameters.customProcessInput === undefined) {
398
+ throw new runtime.RequiredError('customProcessInput','Required parameter requestParameters.customProcessInput was null or undefined when calling updateCustomProcess.');
396
399
  }
397
400
 
398
401
  const queryParameters: any = {};
@@ -414,7 +417,7 @@ export class ProcessesApi extends runtime.BaseAPI {
414
417
  method: 'PUT',
415
418
  headers: headerParameters,
416
419
  query: queryParameters,
417
- body: ProcessDetailToJSON(requestParameters.processDetail),
420
+ body: CustomProcessInputToJSON(requestParameters.customProcessInput),
418
421
  }, initOverrides);
419
422
 
420
423
  return new runtime.VoidApiResponse(response);
@@ -0,0 +1,225 @@
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 { CustomPipelineSettings } from './CustomPipelineSettings';
17
+ import {
18
+ CustomPipelineSettingsFromJSON,
19
+ CustomPipelineSettingsFromJSONTyped,
20
+ CustomPipelineSettingsToJSON,
21
+ } from './CustomPipelineSettings';
22
+ import type { Executor } from './Executor';
23
+ import {
24
+ ExecutorFromJSON,
25
+ ExecutorFromJSONTyped,
26
+ ExecutorToJSON,
27
+ } from './Executor';
28
+ import type { FileMappingRule } from './FileMappingRule';
29
+ import {
30
+ FileMappingRuleFromJSON,
31
+ FileMappingRuleFromJSONTyped,
32
+ FileMappingRuleToJSON,
33
+ } from './FileMappingRule';
34
+ import type { PipelineCode } from './PipelineCode';
35
+ import {
36
+ PipelineCodeFromJSON,
37
+ PipelineCodeFromJSONTyped,
38
+ PipelineCodeToJSON,
39
+ } from './PipelineCode';
40
+
41
+ /**
42
+ *
43
+ * @export
44
+ * @interface CustomProcessInput
45
+ */
46
+ export interface CustomProcessInput {
47
+ /**
48
+ * Unique ID of the Process
49
+ * @type {string}
50
+ * @memberof CustomProcessInput
51
+ */
52
+ id: string;
53
+ /**
54
+ * Friendly name for the process
55
+ * @type {string}
56
+ * @memberof CustomProcessInput
57
+ */
58
+ name: string;
59
+ /**
60
+ * Description of the process
61
+ * @type {string}
62
+ * @memberof CustomProcessInput
63
+ */
64
+ description: string;
65
+ /**
66
+ * Name of the data type this pipeline produces (if it is not defined, use the name)
67
+ * @type {string}
68
+ * @memberof CustomProcessInput
69
+ */
70
+ dataType?: string | null;
71
+ /**
72
+ *
73
+ * @type {Executor}
74
+ * @memberof CustomProcessInput
75
+ */
76
+ executor: Executor;
77
+ /**
78
+ * Category of the process
79
+ * @type {string}
80
+ * @memberof CustomProcessInput
81
+ */
82
+ category?: string;
83
+ /**
84
+ * IDs of pipelines that can be run downstream
85
+ * @type {Array<string>}
86
+ * @memberof CustomProcessInput
87
+ */
88
+ childProcessIds: Array<string>;
89
+ /**
90
+ * IDs of processes that can run this pipeline
91
+ * @type {Array<string>}
92
+ * @memberof CustomProcessInput
93
+ */
94
+ parentProcessIds: Array<string>;
95
+ /**
96
+ * Link to process documentation
97
+ * @type {string}
98
+ * @memberof CustomProcessInput
99
+ */
100
+ documentationUrl?: string | null;
101
+ /**
102
+ * Description of the files to be uploaded (optional)
103
+ * @type {string}
104
+ * @memberof CustomProcessInput
105
+ */
106
+ fileRequirementsMessage?: string | null;
107
+ /**
108
+ *
109
+ * @type {PipelineCode}
110
+ * @memberof CustomProcessInput
111
+ */
112
+ pipelineCode?: PipelineCode | null;
113
+ /**
114
+ * Projects that can run this process
115
+ * @type {Array<string>}
116
+ * @memberof CustomProcessInput
117
+ */
118
+ linkedProjectIds: Array<string>;
119
+ /**
120
+ * Whether the process is shared with the tenant
121
+ * @type {boolean}
122
+ * @memberof CustomProcessInput
123
+ */
124
+ isTenantWide?: boolean;
125
+ /**
126
+ * Whether the pipeline is allowed to have multiple dataset sources
127
+ * @type {boolean}
128
+ * @memberof CustomProcessInput
129
+ */
130
+ allowMultipleSources?: boolean;
131
+ /**
132
+ * Whether the pipeline uses the Cirro-provided sample sheet
133
+ * @type {boolean}
134
+ * @memberof CustomProcessInput
135
+ */
136
+ usesSampleSheet?: boolean;
137
+ /**
138
+ *
139
+ * @type {CustomPipelineSettings}
140
+ * @memberof CustomProcessInput
141
+ */
142
+ customSettings?: CustomPipelineSettings | null;
143
+ /**
144
+ *
145
+ * @type {Array<FileMappingRule>}
146
+ * @memberof CustomProcessInput
147
+ */
148
+ fileMappingRules?: Array<FileMappingRule> | null;
149
+ }
150
+
151
+ /**
152
+ * Check if a given object implements the CustomProcessInput interface.
153
+ */
154
+ export function instanceOfCustomProcessInput(value: object): boolean {
155
+ let isInstance = true;
156
+ isInstance = isInstance && "id" in value;
157
+ isInstance = isInstance && "name" in value;
158
+ isInstance = isInstance && "description" in value;
159
+ isInstance = isInstance && "executor" in value;
160
+ isInstance = isInstance && "childProcessIds" in value;
161
+ isInstance = isInstance && "parentProcessIds" in value;
162
+ isInstance = isInstance && "linkedProjectIds" in value;
163
+
164
+ return isInstance;
165
+ }
166
+
167
+ export function CustomProcessInputFromJSON(json: any): CustomProcessInput {
168
+ return CustomProcessInputFromJSONTyped(json, false);
169
+ }
170
+
171
+ export function CustomProcessInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomProcessInput {
172
+ if ((json === undefined) || (json === null)) {
173
+ return json;
174
+ }
175
+ return {
176
+
177
+ 'id': json['id'],
178
+ 'name': json['name'],
179
+ 'description': json['description'],
180
+ 'dataType': !exists(json, 'dataType') ? undefined : json['dataType'],
181
+ 'executor': ExecutorFromJSON(json['executor']),
182
+ 'category': !exists(json, 'category') ? undefined : json['category'],
183
+ 'childProcessIds': json['childProcessIds'],
184
+ 'parentProcessIds': json['parentProcessIds'],
185
+ 'documentationUrl': !exists(json, 'documentationUrl') ? undefined : json['documentationUrl'],
186
+ 'fileRequirementsMessage': !exists(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
187
+ 'pipelineCode': !exists(json, 'pipelineCode') ? undefined : PipelineCodeFromJSON(json['pipelineCode']),
188
+ 'linkedProjectIds': json['linkedProjectIds'],
189
+ 'isTenantWide': !exists(json, 'isTenantWide') ? undefined : json['isTenantWide'],
190
+ 'allowMultipleSources': !exists(json, 'allowMultipleSources') ? undefined : json['allowMultipleSources'],
191
+ 'usesSampleSheet': !exists(json, 'usesSampleSheet') ? undefined : json['usesSampleSheet'],
192
+ 'customSettings': !exists(json, 'customSettings') ? undefined : CustomPipelineSettingsFromJSON(json['customSettings']),
193
+ 'fileMappingRules': !exists(json, 'fileMappingRules') ? undefined : (json['fileMappingRules'] === null ? null : (json['fileMappingRules'] as Array<any>).map(FileMappingRuleFromJSON)),
194
+ };
195
+ }
196
+
197
+ export function CustomProcessInputToJSON(value?: CustomProcessInput | null): any {
198
+ if (value === undefined) {
199
+ return undefined;
200
+ }
201
+ if (value === null) {
202
+ return null;
203
+ }
204
+ return {
205
+
206
+ 'id': value.id,
207
+ 'name': value.name,
208
+ 'description': value.description,
209
+ 'dataType': value.dataType,
210
+ 'executor': ExecutorToJSON(value.executor),
211
+ 'category': value.category,
212
+ 'childProcessIds': value.childProcessIds,
213
+ 'parentProcessIds': value.parentProcessIds,
214
+ 'documentationUrl': value.documentationUrl,
215
+ 'fileRequirementsMessage': value.fileRequirementsMessage,
216
+ 'pipelineCode': PipelineCodeToJSON(value.pipelineCode),
217
+ 'linkedProjectIds': value.linkedProjectIds,
218
+ 'isTenantWide': value.isTenantWide,
219
+ 'allowMultipleSources': value.allowMultipleSources,
220
+ 'usesSampleSheet': value.usesSampleSheet,
221
+ 'customSettings': CustomPipelineSettingsToJSON(value.customSettings),
222
+ 'fileMappingRules': value.fileMappingRules === undefined ? undefined : (value.fileMappingRules === null ? null : (value.fileMappingRules as Array<any>).map(FileMappingRuleToJSON)),
223
+ };
224
+ }
225
+