@cirrobio/api-client 0.10.4 → 0.10.5

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.
Files changed (40) hide show
  1. package/README.md +1 -1
  2. package/dist/apis/DatasetsApi.d.ts +15 -1
  3. package/dist/apis/DatasetsApi.js +40 -0
  4. package/dist/apis/ProcessesApi.d.ts +15 -1
  5. package/dist/apis/ProcessesApi.js +42 -0
  6. package/dist/esm/apis/DatasetsApi.d.ts +15 -1
  7. package/dist/esm/apis/DatasetsApi.js +41 -1
  8. package/dist/esm/apis/ProcessesApi.d.ts +15 -1
  9. package/dist/esm/apis/ProcessesApi.js +43 -1
  10. package/dist/esm/models/DatasetDetail.d.ts +6 -0
  11. package/dist/esm/models/DatasetDetail.js +2 -0
  12. package/dist/esm/models/FileNameMatch.d.ts +43 -0
  13. package/dist/esm/models/FileNameMatch.js +49 -0
  14. package/dist/esm/models/ProjectUser.d.ts +6 -0
  15. package/dist/esm/models/ProjectUser.js +3 -0
  16. package/dist/esm/models/SampleSheets.d.ts +37 -0
  17. package/dist/esm/models/SampleSheets.js +45 -0
  18. package/dist/esm/models/User.d.ts +6 -0
  19. package/dist/esm/models/User.js +3 -0
  20. package/dist/esm/models/ValidateFileNamePatternsRequest.d.ts +37 -0
  21. package/dist/esm/models/ValidateFileNamePatternsRequest.js +46 -0
  22. package/dist/esm/models/index.d.ts +3 -0
  23. package/dist/esm/models/index.js +3 -0
  24. package/dist/esm/runtime.js +1 -1
  25. package/dist/models/DatasetDetail.d.ts +6 -0
  26. package/dist/models/DatasetDetail.js +2 -0
  27. package/dist/models/FileNameMatch.d.ts +43 -0
  28. package/dist/models/FileNameMatch.js +56 -0
  29. package/dist/models/ProjectUser.d.ts +6 -0
  30. package/dist/models/ProjectUser.js +3 -0
  31. package/dist/models/SampleSheets.d.ts +37 -0
  32. package/dist/models/SampleSheets.js +52 -0
  33. package/dist/models/User.d.ts +6 -0
  34. package/dist/models/User.js +3 -0
  35. package/dist/models/ValidateFileNamePatternsRequest.d.ts +37 -0
  36. package/dist/models/ValidateFileNamePatternsRequest.js +53 -0
  37. package/dist/models/index.d.ts +3 -0
  38. package/dist/models/index.js +3 -0
  39. package/dist/runtime.js +1 -1
  40. package/package.json +1 -1
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.10.2 --save
39
+ npm install @cirrobio/api-client@0.10.5 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { CreateResponse, DatasetAssetsManifest, DatasetDetail, ImportDataRequest, PaginatedResponseDatasetListDto, UpdateDatasetRequest, UploadDatasetCreateResponse, UploadDatasetRequest } from '../models/index';
13
+ import type { CreateResponse, DatasetAssetsManifest, DatasetDetail, ImportDataRequest, PaginatedResponseDatasetListDto, SampleSheets, UpdateDatasetRequest, UploadDatasetCreateResponse, UploadDatasetRequest } from '../models/index';
14
14
  export interface DeleteDatasetRequest {
15
15
  projectId: string;
16
16
  datasetId: string;
@@ -30,6 +30,10 @@ export interface GetDatasetsRequest {
30
30
  limit?: number;
31
31
  nextToken?: string;
32
32
  }
33
+ export interface GetSampleSheetsRequest {
34
+ projectId: string;
35
+ datasetId: string;
36
+ }
33
37
  export interface ImportPublicDatasetRequest {
34
38
  projectId: string;
35
39
  importDataRequest: ImportDataRequest;
@@ -99,6 +103,16 @@ export declare class DatasetsApi extends runtime.BaseAPI {
99
103
  * List datasets
100
104
  */
101
105
  getDatasets(requestParameters: GetDatasetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseDatasetListDto>;
106
+ /**
107
+ * Generates the sample sheet output for this dataset, useful for debugging the preprocess script.
108
+ * Generate sample sheets
109
+ */
110
+ getSampleSheetsRaw(requestParameters: GetSampleSheetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SampleSheets>>;
111
+ /**
112
+ * Generates the sample sheet output for this dataset, useful for debugging the preprocess script.
113
+ * Generate sample sheets
114
+ */
115
+ getSampleSheets(requestParameters: GetSampleSheetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SampleSheets>;
102
116
  /**
103
117
  * Download data from public repositories
104
118
  * Import public dataset
@@ -197,6 +197,46 @@ class DatasetsApi extends runtime.BaseAPI {
197
197
  return yield response.value();
198
198
  });
199
199
  }
200
+ /**
201
+ * Generates the sample sheet output for this dataset, useful for debugging the preprocess script.
202
+ * Generate sample sheets
203
+ */
204
+ getSampleSheetsRaw(requestParameters, initOverrides) {
205
+ return __awaiter(this, void 0, void 0, function* () {
206
+ if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
207
+ throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling getSampleSheets.');
208
+ }
209
+ if (requestParameters.datasetId === null || requestParameters.datasetId === undefined) {
210
+ throw new runtime.RequiredError('datasetId', 'Required parameter requestParameters.datasetId was null or undefined when calling getSampleSheets.');
211
+ }
212
+ const queryParameters = {};
213
+ const headerParameters = {};
214
+ if (this.configuration && this.configuration.accessToken) {
215
+ const token = this.configuration.accessToken;
216
+ const tokenString = yield token("accessToken", []);
217
+ if (tokenString) {
218
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
219
+ }
220
+ }
221
+ const response = yield this.request({
222
+ path: `/projects/{projectId}/datasets/{datasetId}/samplesheet`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))).replace(`{${"datasetId"}}`, encodeURIComponent(String(requestParameters.datasetId))),
223
+ method: 'GET',
224
+ headers: headerParameters,
225
+ query: queryParameters,
226
+ }, initOverrides);
227
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SampleSheetsFromJSON)(jsonValue));
228
+ });
229
+ }
230
+ /**
231
+ * Generates the sample sheet output for this dataset, useful for debugging the preprocess script.
232
+ * Generate sample sheets
233
+ */
234
+ getSampleSheets(requestParameters, initOverrides) {
235
+ return __awaiter(this, void 0, void 0, function* () {
236
+ const response = yield this.getSampleSheetsRaw(requestParameters, initOverrides);
237
+ return yield response.value();
238
+ });
239
+ }
200
240
  /**
201
241
  * Download data from public repositories
202
242
  * Import public dataset
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { CreateResponse, CustomPipelineSettings, CustomProcessInput, FileRequirements, FormSchema, PipelineCost, Process, ProcessDetail, ValidateFileRequirementsRequest } from '../models/index';
13
+ import type { CreateResponse, CustomPipelineSettings, CustomProcessInput, FileNameMatch, FileRequirements, FormSchema, PipelineCost, Process, ProcessDetail, ValidateFileNamePatternsRequest, ValidateFileRequirementsRequest } from '../models/index';
14
14
  export interface ArchiveCustomProcessRequest {
15
15
  processId: string;
16
16
  }
@@ -37,6 +37,10 @@ export interface UpdateCustomProcessRequest {
37
37
  processId: string;
38
38
  customProcessInput: CustomProcessInput;
39
39
  }
40
+ export interface ValidateFileNamePatternsOperationRequest {
41
+ processId: string;
42
+ validateFileNamePatternsRequest: ValidateFileNamePatternsRequest;
43
+ }
40
44
  export interface ValidateFileRequirementsOperationRequest {
41
45
  processId: string;
42
46
  validateFileRequirementsRequest: ValidateFileRequirementsRequest;
@@ -125,6 +129,16 @@ export declare class ProcessesApi extends runtime.BaseAPI {
125
129
  * Update custom process
126
130
  */
127
131
  updateCustomProcess(requestParameters: UpdateCustomProcessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
132
+ /**
133
+ * Checks the input file names with the patterns for testing regex matching
134
+ * Validate file name patterns
135
+ */
136
+ validateFileNamePatternsRaw(requestParameters: ValidateFileNamePatternsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<FileNameMatch>>>;
137
+ /**
138
+ * Checks the input file names with the patterns for testing regex matching
139
+ * Validate file name patterns
140
+ */
141
+ validateFileNamePatterns(requestParameters: ValidateFileNamePatternsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<FileNameMatch>>;
128
142
  /**
129
143
  * Checks the input file names with the expected files for a data type (ingest processes only)
130
144
  * Validate file requirements
@@ -335,6 +335,48 @@ class ProcessesApi extends runtime.BaseAPI {
335
335
  yield this.updateCustomProcessRaw(requestParameters, initOverrides);
336
336
  });
337
337
  }
338
+ /**
339
+ * Checks the input file names with the patterns for testing regex matching
340
+ * Validate file name patterns
341
+ */
342
+ validateFileNamePatternsRaw(requestParameters, initOverrides) {
343
+ return __awaiter(this, void 0, void 0, function* () {
344
+ if (requestParameters.processId === null || requestParameters.processId === undefined) {
345
+ throw new runtime.RequiredError('processId', 'Required parameter requestParameters.processId was null or undefined when calling validateFileNamePatterns.');
346
+ }
347
+ if (requestParameters.validateFileNamePatternsRequest === null || requestParameters.validateFileNamePatternsRequest === undefined) {
348
+ throw new runtime.RequiredError('validateFileNamePatternsRequest', 'Required parameter requestParameters.validateFileNamePatternsRequest was null or undefined when calling validateFileNamePatterns.');
349
+ }
350
+ const queryParameters = {};
351
+ const headerParameters = {};
352
+ headerParameters['Content-Type'] = 'application/json';
353
+ if (this.configuration && this.configuration.accessToken) {
354
+ const token = this.configuration.accessToken;
355
+ const tokenString = yield token("accessToken", []);
356
+ if (tokenString) {
357
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
358
+ }
359
+ }
360
+ const response = yield this.request({
361
+ path: `/processes/{processId}/validate-files:test`.replace(`{${"processId"}}`, encodeURIComponent(String(requestParameters.processId))),
362
+ method: 'POST',
363
+ headers: headerParameters,
364
+ query: queryParameters,
365
+ body: (0, index_1.ValidateFileNamePatternsRequestToJSON)(requestParameters.validateFileNamePatternsRequest),
366
+ }, initOverrides);
367
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.FileNameMatchFromJSON));
368
+ });
369
+ }
370
+ /**
371
+ * Checks the input file names with the patterns for testing regex matching
372
+ * Validate file name patterns
373
+ */
374
+ validateFileNamePatterns(requestParameters, initOverrides) {
375
+ return __awaiter(this, void 0, void 0, function* () {
376
+ const response = yield this.validateFileNamePatternsRaw(requestParameters, initOverrides);
377
+ return yield response.value();
378
+ });
379
+ }
338
380
  /**
339
381
  * Checks the input file names with the expected files for a data type (ingest processes only)
340
382
  * Validate file requirements
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { CreateResponse, DatasetAssetsManifest, DatasetDetail, ImportDataRequest, PaginatedResponseDatasetListDto, UpdateDatasetRequest, UploadDatasetCreateResponse, UploadDatasetRequest } from '../models/index';
13
+ import type { CreateResponse, DatasetAssetsManifest, DatasetDetail, ImportDataRequest, PaginatedResponseDatasetListDto, SampleSheets, UpdateDatasetRequest, UploadDatasetCreateResponse, UploadDatasetRequest } from '../models/index';
14
14
  export interface DeleteDatasetRequest {
15
15
  projectId: string;
16
16
  datasetId: string;
@@ -30,6 +30,10 @@ export interface GetDatasetsRequest {
30
30
  limit?: number;
31
31
  nextToken?: string;
32
32
  }
33
+ export interface GetSampleSheetsRequest {
34
+ projectId: string;
35
+ datasetId: string;
36
+ }
33
37
  export interface ImportPublicDatasetRequest {
34
38
  projectId: string;
35
39
  importDataRequest: ImportDataRequest;
@@ -99,6 +103,16 @@ export declare class DatasetsApi extends runtime.BaseAPI {
99
103
  * List datasets
100
104
  */
101
105
  getDatasets(requestParameters: GetDatasetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedResponseDatasetListDto>;
106
+ /**
107
+ * Generates the sample sheet output for this dataset, useful for debugging the preprocess script.
108
+ * Generate sample sheets
109
+ */
110
+ getSampleSheetsRaw(requestParameters: GetSampleSheetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SampleSheets>>;
111
+ /**
112
+ * Generates the sample sheet output for this dataset, useful for debugging the preprocess script.
113
+ * Generate sample sheets
114
+ */
115
+ getSampleSheets(requestParameters: GetSampleSheetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SampleSheets>;
102
116
  /**
103
117
  * Download data from public repositories
104
118
  * Import public dataset
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { CreateResponseFromJSON, DatasetAssetsManifestFromJSON, DatasetDetailFromJSON, ImportDataRequestToJSON, PaginatedResponseDatasetListDtoFromJSON, UpdateDatasetRequestToJSON, UploadDatasetCreateResponseFromJSON, UploadDatasetRequestToJSON, } from '../models/index';
24
+ import { CreateResponseFromJSON, DatasetAssetsManifestFromJSON, DatasetDetailFromJSON, ImportDataRequestToJSON, PaginatedResponseDatasetListDtoFromJSON, SampleSheetsFromJSON, UpdateDatasetRequestToJSON, UploadDatasetCreateResponseFromJSON, UploadDatasetRequestToJSON, } from '../models/index';
25
25
  /**
26
26
  *
27
27
  */
@@ -194,6 +194,46 @@ export class DatasetsApi extends runtime.BaseAPI {
194
194
  return yield response.value();
195
195
  });
196
196
  }
197
+ /**
198
+ * Generates the sample sheet output for this dataset, useful for debugging the preprocess script.
199
+ * Generate sample sheets
200
+ */
201
+ getSampleSheetsRaw(requestParameters, initOverrides) {
202
+ return __awaiter(this, void 0, void 0, function* () {
203
+ if (requestParameters.projectId === null || requestParameters.projectId === undefined) {
204
+ throw new runtime.RequiredError('projectId', 'Required parameter requestParameters.projectId was null or undefined when calling getSampleSheets.');
205
+ }
206
+ if (requestParameters.datasetId === null || requestParameters.datasetId === undefined) {
207
+ throw new runtime.RequiredError('datasetId', 'Required parameter requestParameters.datasetId was null or undefined when calling getSampleSheets.');
208
+ }
209
+ const queryParameters = {};
210
+ const headerParameters = {};
211
+ if (this.configuration && this.configuration.accessToken) {
212
+ const token = this.configuration.accessToken;
213
+ const tokenString = yield token("accessToken", []);
214
+ if (tokenString) {
215
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
216
+ }
217
+ }
218
+ const response = yield this.request({
219
+ path: `/projects/{projectId}/datasets/{datasetId}/samplesheet`.replace(`{${"projectId"}}`, encodeURIComponent(String(requestParameters.projectId))).replace(`{${"datasetId"}}`, encodeURIComponent(String(requestParameters.datasetId))),
220
+ method: 'GET',
221
+ headers: headerParameters,
222
+ query: queryParameters,
223
+ }, initOverrides);
224
+ return new runtime.JSONApiResponse(response, (jsonValue) => SampleSheetsFromJSON(jsonValue));
225
+ });
226
+ }
227
+ /**
228
+ * Generates the sample sheet output for this dataset, useful for debugging the preprocess script.
229
+ * Generate sample sheets
230
+ */
231
+ getSampleSheets(requestParameters, initOverrides) {
232
+ return __awaiter(this, void 0, void 0, function* () {
233
+ const response = yield this.getSampleSheetsRaw(requestParameters, initOverrides);
234
+ return yield response.value();
235
+ });
236
+ }
197
237
  /**
198
238
  * Download data from public repositories
199
239
  * Import public dataset
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { CreateResponse, CustomPipelineSettings, CustomProcessInput, FileRequirements, FormSchema, PipelineCost, Process, ProcessDetail, ValidateFileRequirementsRequest } from '../models/index';
13
+ import type { CreateResponse, CustomPipelineSettings, CustomProcessInput, FileNameMatch, FileRequirements, FormSchema, PipelineCost, Process, ProcessDetail, ValidateFileNamePatternsRequest, ValidateFileRequirementsRequest } from '../models/index';
14
14
  export interface ArchiveCustomProcessRequest {
15
15
  processId: string;
16
16
  }
@@ -37,6 +37,10 @@ export interface UpdateCustomProcessRequest {
37
37
  processId: string;
38
38
  customProcessInput: CustomProcessInput;
39
39
  }
40
+ export interface ValidateFileNamePatternsOperationRequest {
41
+ processId: string;
42
+ validateFileNamePatternsRequest: ValidateFileNamePatternsRequest;
43
+ }
40
44
  export interface ValidateFileRequirementsOperationRequest {
41
45
  processId: string;
42
46
  validateFileRequirementsRequest: ValidateFileRequirementsRequest;
@@ -125,6 +129,16 @@ export declare class ProcessesApi extends runtime.BaseAPI {
125
129
  * Update custom process
126
130
  */
127
131
  updateCustomProcess(requestParameters: UpdateCustomProcessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
132
+ /**
133
+ * Checks the input file names with the patterns for testing regex matching
134
+ * Validate file name patterns
135
+ */
136
+ validateFileNamePatternsRaw(requestParameters: ValidateFileNamePatternsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<FileNameMatch>>>;
137
+ /**
138
+ * Checks the input file names with the patterns for testing regex matching
139
+ * Validate file name patterns
140
+ */
141
+ validateFileNamePatterns(requestParameters: ValidateFileNamePatternsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<FileNameMatch>>;
128
142
  /**
129
143
  * Checks the input file names with the expected files for a data type (ingest processes only)
130
144
  * Validate file requirements
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { CreateResponseFromJSON, CustomPipelineSettingsFromJSON, CustomProcessInputToJSON, FileRequirementsFromJSON, FormSchemaFromJSON, PipelineCostFromJSON, ProcessFromJSON, ProcessDetailFromJSON, ValidateFileRequirementsRequestToJSON, } from '../models/index';
24
+ import { CreateResponseFromJSON, CustomPipelineSettingsFromJSON, CustomProcessInputToJSON, FileNameMatchFromJSON, FileRequirementsFromJSON, FormSchemaFromJSON, PipelineCostFromJSON, ProcessFromJSON, ProcessDetailFromJSON, ValidateFileNamePatternsRequestToJSON, ValidateFileRequirementsRequestToJSON, } from '../models/index';
25
25
  /**
26
26
  *
27
27
  */
@@ -332,6 +332,48 @@ export class ProcessesApi extends runtime.BaseAPI {
332
332
  yield this.updateCustomProcessRaw(requestParameters, initOverrides);
333
333
  });
334
334
  }
335
+ /**
336
+ * Checks the input file names with the patterns for testing regex matching
337
+ * Validate file name patterns
338
+ */
339
+ validateFileNamePatternsRaw(requestParameters, initOverrides) {
340
+ return __awaiter(this, void 0, void 0, function* () {
341
+ if (requestParameters.processId === null || requestParameters.processId === undefined) {
342
+ throw new runtime.RequiredError('processId', 'Required parameter requestParameters.processId was null or undefined when calling validateFileNamePatterns.');
343
+ }
344
+ if (requestParameters.validateFileNamePatternsRequest === null || requestParameters.validateFileNamePatternsRequest === undefined) {
345
+ throw new runtime.RequiredError('validateFileNamePatternsRequest', 'Required parameter requestParameters.validateFileNamePatternsRequest was null or undefined when calling validateFileNamePatterns.');
346
+ }
347
+ const queryParameters = {};
348
+ const headerParameters = {};
349
+ headerParameters['Content-Type'] = 'application/json';
350
+ if (this.configuration && this.configuration.accessToken) {
351
+ const token = this.configuration.accessToken;
352
+ const tokenString = yield token("accessToken", []);
353
+ if (tokenString) {
354
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
355
+ }
356
+ }
357
+ const response = yield this.request({
358
+ path: `/processes/{processId}/validate-files:test`.replace(`{${"processId"}}`, encodeURIComponent(String(requestParameters.processId))),
359
+ method: 'POST',
360
+ headers: headerParameters,
361
+ query: queryParameters,
362
+ body: ValidateFileNamePatternsRequestToJSON(requestParameters.validateFileNamePatternsRequest),
363
+ }, initOverrides);
364
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(FileNameMatchFromJSON));
365
+ });
366
+ }
367
+ /**
368
+ * Checks the input file names with the patterns for testing regex matching
369
+ * Validate file name patterns
370
+ */
371
+ validateFileNamePatterns(requestParameters, initOverrides) {
372
+ return __awaiter(this, void 0, void 0, function* () {
373
+ const response = yield this.validateFileNamePatternsRaw(requestParameters, initOverrides);
374
+ return yield response.value();
375
+ });
376
+ }
335
377
  /**
336
378
  * Checks the input file names with the expected files for a data type (ingest processes only)
337
379
  * Validate file requirements
@@ -54,6 +54,12 @@ export interface DatasetDetail {
54
54
  * @memberof DatasetDetail
55
55
  */
56
56
  projectId: string;
57
+ /**
58
+ * The originating project ID might be different if the dataset was shared from another project.
59
+ * @type {string}
60
+ * @memberof DatasetDetail
61
+ */
62
+ originatingProjectId?: string;
57
63
  /**
58
64
  *
59
65
  * @type {Array<string>}
@@ -55,6 +55,7 @@ export function DatasetDetailFromJSONTyped(json, ignoreDiscriminator) {
55
55
  's3': json['s3'],
56
56
  'processId': json['processId'],
57
57
  'projectId': json['projectId'],
58
+ 'originatingProjectId': !exists(json, 'originatingProjectId') ? undefined : json['originatingProjectId'],
58
59
  'sourceDatasetIds': json['sourceDatasetIds'],
59
60
  'sourceDatasets': (json['sourceDatasets'].map(NamedItemFromJSON)),
60
61
  'sourceSampleIds': json['sourceSampleIds'],
@@ -85,6 +86,7 @@ export function DatasetDetailToJSON(value) {
85
86
  's3': value.s3,
86
87
  'processId': value.processId,
87
88
  'projectId': value.projectId,
89
+ 'originatingProjectId': value.originatingProjectId,
88
90
  'sourceDatasetIds': value.sourceDatasetIds,
89
91
  'sourceDatasets': (value.sourceDatasets.map(NamedItemToJSON)),
90
92
  'sourceSampleIds': value.sourceSampleIds,
@@ -0,0 +1,43 @@
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 FileNameMatch
16
+ */
17
+ export interface FileNameMatch {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof FileNameMatch
22
+ */
23
+ fileName: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof FileNameMatch
28
+ */
29
+ sampleName: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof FileNameMatch
34
+ */
35
+ regexPatternMatch: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the FileNameMatch interface.
39
+ */
40
+ export declare function instanceOfFileNameMatch(value: object): boolean;
41
+ export declare function FileNameMatchFromJSON(json: any): FileNameMatch;
42
+ export declare function FileNameMatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileNameMatch;
43
+ export declare function FileNameMatchToJSON(value?: FileNameMatch | null): any;
@@ -0,0 +1,49 @@
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
+ * Check if a given object implements the FileNameMatch interface.
16
+ */
17
+ export function instanceOfFileNameMatch(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "fileName" in value;
20
+ isInstance = isInstance && "sampleName" in value;
21
+ isInstance = isInstance && "regexPatternMatch" in value;
22
+ return isInstance;
23
+ }
24
+ export function FileNameMatchFromJSON(json) {
25
+ return FileNameMatchFromJSONTyped(json, false);
26
+ }
27
+ export function FileNameMatchFromJSONTyped(json, ignoreDiscriminator) {
28
+ if ((json === undefined) || (json === null)) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'fileName': json['fileName'],
33
+ 'sampleName': json['sampleName'],
34
+ 'regexPatternMatch': json['regexPatternMatch'],
35
+ };
36
+ }
37
+ export function FileNameMatchToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'fileName': value.fileName,
46
+ 'sampleName': value.sampleName,
47
+ 'regexPatternMatch': value.regexPatternMatch,
48
+ };
49
+ }
@@ -46,6 +46,12 @@ export interface ProjectUser {
46
46
  * @memberof ProjectUser
47
47
  */
48
48
  email: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof ProjectUser
53
+ */
54
+ jobTitle: string;
49
55
  /**
50
56
  *
51
57
  * @type {ProjectRole}
@@ -22,6 +22,7 @@ export function instanceOfProjectUser(value) {
22
22
  isInstance = isInstance && "organization" in value;
23
23
  isInstance = isInstance && "department" in value;
24
24
  isInstance = isInstance && "email" in value;
25
+ isInstance = isInstance && "jobTitle" in value;
25
26
  isInstance = isInstance && "role" in value;
26
27
  return isInstance;
27
28
  }
@@ -38,6 +39,7 @@ export function ProjectUserFromJSONTyped(json, ignoreDiscriminator) {
38
39
  'organization': json['organization'],
39
40
  'department': json['department'],
40
41
  'email': json['email'],
42
+ 'jobTitle': json['jobTitle'],
41
43
  'role': ProjectRoleFromJSON(json['role']),
42
44
  };
43
45
  }
@@ -54,6 +56,7 @@ export function ProjectUserToJSON(value) {
54
56
  'organization': value.organization,
55
57
  'department': value.department,
56
58
  'email': value.email,
59
+ 'jobTitle': value.jobTitle,
57
60
  'role': ProjectRoleToJSON(value.role),
58
61
  };
59
62
  }
@@ -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 SampleSheets
16
+ */
17
+ export interface SampleSheets {
18
+ /**
19
+ * Written to samplesheet.csv, available as ds.samplesheet in preprocess
20
+ * @type {string}
21
+ * @memberof SampleSheets
22
+ */
23
+ samples?: string;
24
+ /**
25
+ * Written to files.csv, available as ds.files in preprocess
26
+ * @type {string}
27
+ * @memberof SampleSheets
28
+ */
29
+ files?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the SampleSheets interface.
33
+ */
34
+ export declare function instanceOfSampleSheets(value: object): boolean;
35
+ export declare function SampleSheetsFromJSON(json: any): SampleSheets;
36
+ export declare function SampleSheetsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SampleSheets;
37
+ export declare function SampleSheetsToJSON(value?: SampleSheets | null): any;
@@ -0,0 +1,45 @@
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
+ import { exists } from '../runtime';
15
+ /**
16
+ * Check if a given object implements the SampleSheets interface.
17
+ */
18
+ export function instanceOfSampleSheets(value) {
19
+ let isInstance = true;
20
+ return isInstance;
21
+ }
22
+ export function SampleSheetsFromJSON(json) {
23
+ return SampleSheetsFromJSONTyped(json, false);
24
+ }
25
+ export function SampleSheetsFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'samples': !exists(json, 'samples') ? undefined : json['samples'],
31
+ 'files': !exists(json, 'files') ? undefined : json['files'],
32
+ };
33
+ }
34
+ export function SampleSheetsToJSON(value) {
35
+ if (value === undefined) {
36
+ return undefined;
37
+ }
38
+ if (value === null) {
39
+ return null;
40
+ }
41
+ return {
42
+ 'samples': value.samples,
43
+ 'files': value.files,
44
+ };
45
+ }
@@ -39,6 +39,12 @@ export interface User {
39
39
  * @memberof User
40
40
  */
41
41
  department: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof User
46
+ */
47
+ jobTitle: string;
42
48
  }
43
49
  /**
44
50
  * Check if a given object implements the User interface.
@@ -20,6 +20,7 @@ export function instanceOfUser(value) {
20
20
  isInstance = isInstance && "username" in value;
21
21
  isInstance = isInstance && "organization" in value;
22
22
  isInstance = isInstance && "department" in value;
23
+ isInstance = isInstance && "jobTitle" in value;
23
24
  return isInstance;
24
25
  }
25
26
  export function UserFromJSON(json) {
@@ -34,6 +35,7 @@ export function UserFromJSONTyped(json, ignoreDiscriminator) {
34
35
  'username': json['username'],
35
36
  'organization': json['organization'],
36
37
  'department': json['department'],
38
+ 'jobTitle': json['jobTitle'],
37
39
  };
38
40
  }
39
41
  export function UserToJSON(value) {
@@ -48,5 +50,6 @@ export function UserToJSON(value) {
48
50
  'username': value.username,
49
51
  'organization': value.organization,
50
52
  'department': value.department,
53
+ 'jobTitle': value.jobTitle,
51
54
  };
52
55
  }
@@ -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 ValidateFileNamePatternsRequest
16
+ */
17
+ export interface ValidateFileNamePatternsRequest {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof ValidateFileNamePatternsRequest
22
+ */
23
+ fileNames: Array<string>;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof ValidateFileNamePatternsRequest
28
+ */
29
+ fileNamePatterns: Array<string>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ValidateFileNamePatternsRequest interface.
33
+ */
34
+ export declare function instanceOfValidateFileNamePatternsRequest(value: object): boolean;
35
+ export declare function ValidateFileNamePatternsRequestFromJSON(json: any): ValidateFileNamePatternsRequest;
36
+ export declare function ValidateFileNamePatternsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidateFileNamePatternsRequest;
37
+ export declare function ValidateFileNamePatternsRequestToJSON(value?: ValidateFileNamePatternsRequest | null): any;
@@ -0,0 +1,46 @@
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
+ * Check if a given object implements the ValidateFileNamePatternsRequest interface.
16
+ */
17
+ export function instanceOfValidateFileNamePatternsRequest(value) {
18
+ let isInstance = true;
19
+ isInstance = isInstance && "fileNames" in value;
20
+ isInstance = isInstance && "fileNamePatterns" in value;
21
+ return isInstance;
22
+ }
23
+ export function ValidateFileNamePatternsRequestFromJSON(json) {
24
+ return ValidateFileNamePatternsRequestFromJSONTyped(json, false);
25
+ }
26
+ export function ValidateFileNamePatternsRequestFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'fileNames': json['fileNames'],
32
+ 'fileNamePatterns': json['fileNamePatterns'],
33
+ };
34
+ }
35
+ export function ValidateFileNamePatternsRequestToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'fileNames': value.fileNames,
44
+ 'fileNamePatterns': value.fileNamePatterns,
45
+ };
46
+ }
@@ -49,6 +49,7 @@ export * from './Executor';
49
49
  export * from './FeatureFlags';
50
50
  export * from './FileEntry';
51
51
  export * from './FileMappingRule';
52
+ export * from './FileNameMatch';
52
53
  export * from './FileNamePattern';
53
54
  export * from './FileRequirements';
54
55
  export * from './FormSchema';
@@ -116,6 +117,7 @@ export * from './ResourcesInfo';
116
117
  export * from './RunAnalysisRequest';
117
118
  export * from './Sample';
118
119
  export * from './SampleRequest';
120
+ export * from './SampleSheets';
119
121
  export * from './ServiceConnection';
120
122
  export * from './SetUserProjectRoleRequest';
121
123
  export * from './SftpCredentials';
@@ -140,4 +142,5 @@ export * from './User';
140
142
  export * from './UserDetail';
141
143
  export * from './UserProjectAssignment';
142
144
  export * from './UserSettings';
145
+ export * from './ValidateFileNamePatternsRequest';
143
146
  export * from './ValidateFileRequirementsRequest';
@@ -51,6 +51,7 @@ export * from './Executor';
51
51
  export * from './FeatureFlags';
52
52
  export * from './FileEntry';
53
53
  export * from './FileMappingRule';
54
+ export * from './FileNameMatch';
54
55
  export * from './FileNamePattern';
55
56
  export * from './FileRequirements';
56
57
  export * from './FormSchema';
@@ -118,6 +119,7 @@ export * from './ResourcesInfo';
118
119
  export * from './RunAnalysisRequest';
119
120
  export * from './Sample';
120
121
  export * from './SampleRequest';
122
+ export * from './SampleSheets';
121
123
  export * from './ServiceConnection';
122
124
  export * from './SetUserProjectRoleRequest';
123
125
  export * from './SftpCredentials';
@@ -142,4 +144,5 @@ export * from './User';
142
144
  export * from './UserDetail';
143
145
  export * from './UserProjectAssignment';
144
146
  export * from './UserSettings';
147
+ export * from './ValidateFileNamePatternsRequest';
145
148
  export * from './ValidateFileRequirementsRequest';
@@ -20,7 +20,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
20
20
  step((generator = generator.apply(thisArg, _arguments || [])).next());
21
21
  });
22
22
  };
23
- export const BASE_PATH = "http://localhost:8080/api".replace(/\/+$/, "");
23
+ export const BASE_PATH = "https://dev.cirro.bio/api".replace(/\/+$/, "");
24
24
  export class Configuration {
25
25
  constructor(configuration = {}) {
26
26
  this.configuration = configuration;
@@ -54,6 +54,12 @@ export interface DatasetDetail {
54
54
  * @memberof DatasetDetail
55
55
  */
56
56
  projectId: string;
57
+ /**
58
+ * The originating project ID might be different if the dataset was shared from another project.
59
+ * @type {string}
60
+ * @memberof DatasetDetail
61
+ */
62
+ originatingProjectId?: string;
57
63
  /**
58
64
  *
59
65
  * @type {Array<string>}
@@ -60,6 +60,7 @@ function DatasetDetailFromJSONTyped(json, ignoreDiscriminator) {
60
60
  's3': json['s3'],
61
61
  'processId': json['processId'],
62
62
  'projectId': json['projectId'],
63
+ 'originatingProjectId': !(0, runtime_1.exists)(json, 'originatingProjectId') ? undefined : json['originatingProjectId'],
63
64
  'sourceDatasetIds': json['sourceDatasetIds'],
64
65
  'sourceDatasets': (json['sourceDatasets'].map(NamedItem_1.NamedItemFromJSON)),
65
66
  'sourceSampleIds': json['sourceSampleIds'],
@@ -91,6 +92,7 @@ function DatasetDetailToJSON(value) {
91
92
  's3': value.s3,
92
93
  'processId': value.processId,
93
94
  'projectId': value.projectId,
95
+ 'originatingProjectId': value.originatingProjectId,
94
96
  'sourceDatasetIds': value.sourceDatasetIds,
95
97
  'sourceDatasets': (value.sourceDatasets.map(NamedItem_1.NamedItemToJSON)),
96
98
  'sourceSampleIds': value.sourceSampleIds,
@@ -0,0 +1,43 @@
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 FileNameMatch
16
+ */
17
+ export interface FileNameMatch {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof FileNameMatch
22
+ */
23
+ fileName: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof FileNameMatch
28
+ */
29
+ sampleName: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof FileNameMatch
34
+ */
35
+ regexPatternMatch: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the FileNameMatch interface.
39
+ */
40
+ export declare function instanceOfFileNameMatch(value: object): boolean;
41
+ export declare function FileNameMatchFromJSON(json: any): FileNameMatch;
42
+ export declare function FileNameMatchFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileNameMatch;
43
+ export declare function FileNameMatchToJSON(value?: FileNameMatch | null): any;
@@ -0,0 +1,56 @@
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.FileNameMatchToJSON = exports.FileNameMatchFromJSONTyped = exports.FileNameMatchFromJSON = exports.instanceOfFileNameMatch = void 0;
17
+ /**
18
+ * Check if a given object implements the FileNameMatch interface.
19
+ */
20
+ function instanceOfFileNameMatch(value) {
21
+ let isInstance = true;
22
+ isInstance = isInstance && "fileName" in value;
23
+ isInstance = isInstance && "sampleName" in value;
24
+ isInstance = isInstance && "regexPatternMatch" in value;
25
+ return isInstance;
26
+ }
27
+ exports.instanceOfFileNameMatch = instanceOfFileNameMatch;
28
+ function FileNameMatchFromJSON(json) {
29
+ return FileNameMatchFromJSONTyped(json, false);
30
+ }
31
+ exports.FileNameMatchFromJSON = FileNameMatchFromJSON;
32
+ function FileNameMatchFromJSONTyped(json, ignoreDiscriminator) {
33
+ if ((json === undefined) || (json === null)) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'fileName': json['fileName'],
38
+ 'sampleName': json['sampleName'],
39
+ 'regexPatternMatch': json['regexPatternMatch'],
40
+ };
41
+ }
42
+ exports.FileNameMatchFromJSONTyped = FileNameMatchFromJSONTyped;
43
+ function FileNameMatchToJSON(value) {
44
+ if (value === undefined) {
45
+ return undefined;
46
+ }
47
+ if (value === null) {
48
+ return null;
49
+ }
50
+ return {
51
+ 'fileName': value.fileName,
52
+ 'sampleName': value.sampleName,
53
+ 'regexPatternMatch': value.regexPatternMatch,
54
+ };
55
+ }
56
+ exports.FileNameMatchToJSON = FileNameMatchToJSON;
@@ -46,6 +46,12 @@ export interface ProjectUser {
46
46
  * @memberof ProjectUser
47
47
  */
48
48
  email: string;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof ProjectUser
53
+ */
54
+ jobTitle: string;
49
55
  /**
50
56
  *
51
57
  * @type {ProjectRole}
@@ -25,6 +25,7 @@ function instanceOfProjectUser(value) {
25
25
  isInstance = isInstance && "organization" in value;
26
26
  isInstance = isInstance && "department" in value;
27
27
  isInstance = isInstance && "email" in value;
28
+ isInstance = isInstance && "jobTitle" in value;
28
29
  isInstance = isInstance && "role" in value;
29
30
  return isInstance;
30
31
  }
@@ -43,6 +44,7 @@ function ProjectUserFromJSONTyped(json, ignoreDiscriminator) {
43
44
  'organization': json['organization'],
44
45
  'department': json['department'],
45
46
  'email': json['email'],
47
+ 'jobTitle': json['jobTitle'],
46
48
  'role': (0, ProjectRole_1.ProjectRoleFromJSON)(json['role']),
47
49
  };
48
50
  }
@@ -60,6 +62,7 @@ function ProjectUserToJSON(value) {
60
62
  'organization': value.organization,
61
63
  'department': value.department,
62
64
  'email': value.email,
65
+ 'jobTitle': value.jobTitle,
63
66
  'role': (0, ProjectRole_1.ProjectRoleToJSON)(value.role),
64
67
  };
65
68
  }
@@ -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 SampleSheets
16
+ */
17
+ export interface SampleSheets {
18
+ /**
19
+ * Written to samplesheet.csv, available as ds.samplesheet in preprocess
20
+ * @type {string}
21
+ * @memberof SampleSheets
22
+ */
23
+ samples?: string;
24
+ /**
25
+ * Written to files.csv, available as ds.files in preprocess
26
+ * @type {string}
27
+ * @memberof SampleSheets
28
+ */
29
+ files?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the SampleSheets interface.
33
+ */
34
+ export declare function instanceOfSampleSheets(value: object): boolean;
35
+ export declare function SampleSheetsFromJSON(json: any): SampleSheets;
36
+ export declare function SampleSheetsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SampleSheets;
37
+ export declare function SampleSheetsToJSON(value?: SampleSheets | null): any;
@@ -0,0 +1,52 @@
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.SampleSheetsToJSON = exports.SampleSheetsFromJSONTyped = exports.SampleSheetsFromJSON = exports.instanceOfSampleSheets = void 0;
17
+ const runtime_1 = require("../runtime");
18
+ /**
19
+ * Check if a given object implements the SampleSheets interface.
20
+ */
21
+ function instanceOfSampleSheets(value) {
22
+ let isInstance = true;
23
+ return isInstance;
24
+ }
25
+ exports.instanceOfSampleSheets = instanceOfSampleSheets;
26
+ function SampleSheetsFromJSON(json) {
27
+ return SampleSheetsFromJSONTyped(json, false);
28
+ }
29
+ exports.SampleSheetsFromJSON = SampleSheetsFromJSON;
30
+ function SampleSheetsFromJSONTyped(json, ignoreDiscriminator) {
31
+ if ((json === undefined) || (json === null)) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'samples': !(0, runtime_1.exists)(json, 'samples') ? undefined : json['samples'],
36
+ 'files': !(0, runtime_1.exists)(json, 'files') ? undefined : json['files'],
37
+ };
38
+ }
39
+ exports.SampleSheetsFromJSONTyped = SampleSheetsFromJSONTyped;
40
+ function SampleSheetsToJSON(value) {
41
+ if (value === undefined) {
42
+ return undefined;
43
+ }
44
+ if (value === null) {
45
+ return null;
46
+ }
47
+ return {
48
+ 'samples': value.samples,
49
+ 'files': value.files,
50
+ };
51
+ }
52
+ exports.SampleSheetsToJSON = SampleSheetsToJSON;
@@ -39,6 +39,12 @@ export interface User {
39
39
  * @memberof User
40
40
  */
41
41
  department: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof User
46
+ */
47
+ jobTitle: string;
42
48
  }
43
49
  /**
44
50
  * Check if a given object implements the User interface.
@@ -23,6 +23,7 @@ function instanceOfUser(value) {
23
23
  isInstance = isInstance && "username" in value;
24
24
  isInstance = isInstance && "organization" in value;
25
25
  isInstance = isInstance && "department" in value;
26
+ isInstance = isInstance && "jobTitle" in value;
26
27
  return isInstance;
27
28
  }
28
29
  exports.instanceOfUser = instanceOfUser;
@@ -39,6 +40,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
39
40
  'username': json['username'],
40
41
  'organization': json['organization'],
41
42
  'department': json['department'],
43
+ 'jobTitle': json['jobTitle'],
42
44
  };
43
45
  }
44
46
  exports.UserFromJSONTyped = UserFromJSONTyped;
@@ -54,6 +56,7 @@ function UserToJSON(value) {
54
56
  'username': value.username,
55
57
  'organization': value.organization,
56
58
  'department': value.department,
59
+ 'jobTitle': value.jobTitle,
57
60
  };
58
61
  }
59
62
  exports.UserToJSON = UserToJSON;
@@ -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 ValidateFileNamePatternsRequest
16
+ */
17
+ export interface ValidateFileNamePatternsRequest {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof ValidateFileNamePatternsRequest
22
+ */
23
+ fileNames: Array<string>;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof ValidateFileNamePatternsRequest
28
+ */
29
+ fileNamePatterns: Array<string>;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ValidateFileNamePatternsRequest interface.
33
+ */
34
+ export declare function instanceOfValidateFileNamePatternsRequest(value: object): boolean;
35
+ export declare function ValidateFileNamePatternsRequestFromJSON(json: any): ValidateFileNamePatternsRequest;
36
+ export declare function ValidateFileNamePatternsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidateFileNamePatternsRequest;
37
+ export declare function ValidateFileNamePatternsRequestToJSON(value?: ValidateFileNamePatternsRequest | 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.ValidateFileNamePatternsRequestToJSON = exports.ValidateFileNamePatternsRequestFromJSONTyped = exports.ValidateFileNamePatternsRequestFromJSON = exports.instanceOfValidateFileNamePatternsRequest = void 0;
17
+ /**
18
+ * Check if a given object implements the ValidateFileNamePatternsRequest interface.
19
+ */
20
+ function instanceOfValidateFileNamePatternsRequest(value) {
21
+ let isInstance = true;
22
+ isInstance = isInstance && "fileNames" in value;
23
+ isInstance = isInstance && "fileNamePatterns" in value;
24
+ return isInstance;
25
+ }
26
+ exports.instanceOfValidateFileNamePatternsRequest = instanceOfValidateFileNamePatternsRequest;
27
+ function ValidateFileNamePatternsRequestFromJSON(json) {
28
+ return ValidateFileNamePatternsRequestFromJSONTyped(json, false);
29
+ }
30
+ exports.ValidateFileNamePatternsRequestFromJSON = ValidateFileNamePatternsRequestFromJSON;
31
+ function ValidateFileNamePatternsRequestFromJSONTyped(json, ignoreDiscriminator) {
32
+ if ((json === undefined) || (json === null)) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'fileNames': json['fileNames'],
37
+ 'fileNamePatterns': json['fileNamePatterns'],
38
+ };
39
+ }
40
+ exports.ValidateFileNamePatternsRequestFromJSONTyped = ValidateFileNamePatternsRequestFromJSONTyped;
41
+ function ValidateFileNamePatternsRequestToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'fileNames': value.fileNames,
50
+ 'fileNamePatterns': value.fileNamePatterns,
51
+ };
52
+ }
53
+ exports.ValidateFileNamePatternsRequestToJSON = ValidateFileNamePatternsRequestToJSON;
@@ -49,6 +49,7 @@ export * from './Executor';
49
49
  export * from './FeatureFlags';
50
50
  export * from './FileEntry';
51
51
  export * from './FileMappingRule';
52
+ export * from './FileNameMatch';
52
53
  export * from './FileNamePattern';
53
54
  export * from './FileRequirements';
54
55
  export * from './FormSchema';
@@ -116,6 +117,7 @@ export * from './ResourcesInfo';
116
117
  export * from './RunAnalysisRequest';
117
118
  export * from './Sample';
118
119
  export * from './SampleRequest';
120
+ export * from './SampleSheets';
119
121
  export * from './ServiceConnection';
120
122
  export * from './SetUserProjectRoleRequest';
121
123
  export * from './SftpCredentials';
@@ -140,4 +142,5 @@ export * from './User';
140
142
  export * from './UserDetail';
141
143
  export * from './UserProjectAssignment';
142
144
  export * from './UserSettings';
145
+ export * from './ValidateFileNamePatternsRequest';
143
146
  export * from './ValidateFileRequirementsRequest';
@@ -67,6 +67,7 @@ __exportStar(require("./Executor"), exports);
67
67
  __exportStar(require("./FeatureFlags"), exports);
68
68
  __exportStar(require("./FileEntry"), exports);
69
69
  __exportStar(require("./FileMappingRule"), exports);
70
+ __exportStar(require("./FileNameMatch"), exports);
70
71
  __exportStar(require("./FileNamePattern"), exports);
71
72
  __exportStar(require("./FileRequirements"), exports);
72
73
  __exportStar(require("./FormSchema"), exports);
@@ -134,6 +135,7 @@ __exportStar(require("./ResourcesInfo"), exports);
134
135
  __exportStar(require("./RunAnalysisRequest"), exports);
135
136
  __exportStar(require("./Sample"), exports);
136
137
  __exportStar(require("./SampleRequest"), exports);
138
+ __exportStar(require("./SampleSheets"), exports);
137
139
  __exportStar(require("./ServiceConnection"), exports);
138
140
  __exportStar(require("./SetUserProjectRoleRequest"), exports);
139
141
  __exportStar(require("./SftpCredentials"), exports);
@@ -158,4 +160,5 @@ __exportStar(require("./User"), exports);
158
160
  __exportStar(require("./UserDetail"), exports);
159
161
  __exportStar(require("./UserProjectAssignment"), exports);
160
162
  __exportStar(require("./UserSettings"), exports);
163
+ __exportStar(require("./ValidateFileNamePatternsRequest"), exports);
161
164
  __exportStar(require("./ValidateFileRequirementsRequest"), exports);
package/dist/runtime.js CHANGED
@@ -23,7 +23,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
25
  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;
26
- exports.BASE_PATH = "http://localhost:8080/api".replace(/\/+$/, "");
26
+ exports.BASE_PATH = "https://dev.cirro.bio/api".replace(/\/+$/, "");
27
27
  class Configuration {
28
28
  constructor(configuration = {}) {
29
29
  this.configuration = configuration;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {