@cirrobio/api-client 0.0.28-alpha → 0.0.30-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/.openapi-generator/FILES +3 -3
  2. package/README.md +1 -1
  3. package/dist/apis/ProcessesApi.d.ts +5 -5
  4. package/dist/apis/ProcessesApi.js +7 -7
  5. package/dist/models/CustomPipelineSettings.d.ts +13 -12
  6. package/dist/models/CustomPipelineSettings.js +9 -12
  7. package/dist/models/ErrorMessage.d.ts +31 -0
  8. package/dist/models/ErrorMessage.js +50 -0
  9. package/dist/models/Executor.d.ts +1 -1
  10. package/dist/models/Executor.js +1 -1
  11. package/dist/models/PipelineCode.d.ts +4 -4
  12. package/dist/models/PipelineCode.js +6 -4
  13. package/dist/models/PortalErrorResponse.d.ts +50 -0
  14. package/dist/models/PortalErrorResponse.js +60 -0
  15. package/dist/models/Process.d.ts +2 -2
  16. package/dist/models/ProcessDetail.d.ts +13 -6
  17. package/dist/models/ProcessDetail.js +6 -6
  18. package/dist/models/ProcessDetailAllOfPipelineCode.d.ts +50 -0
  19. package/dist/models/ProcessDetailAllOfPipelineCode.js +58 -0
  20. package/dist/models/ProjectRequest.d.ts +2 -2
  21. package/dist/models/ProjectRequest.js +4 -5
  22. package/dist/models/SyncStatus.d.ts +23 -0
  23. package/dist/models/SyncStatus.js +38 -0
  24. package/dist/models/ValidateFileRequirementsRequest.d.ts +4 -4
  25. package/dist/models/ValidateFileRequirementsRequest.js +3 -3
  26. package/dist/models/index.d.ts +3 -3
  27. package/dist/models/index.js +3 -3
  28. package/package.json +1 -1
  29. package/src/apis/ProcessesApi.ts +20 -17
  30. package/src/models/CustomPipelineSettings.ts +26 -24
  31. package/src/models/{Region.ts → ErrorMessage.ts} +14 -13
  32. package/src/models/Executor.ts +1 -1
  33. package/src/models/PipelineCode.ts +10 -7
  34. package/src/models/PortalErrorResponse.ts +100 -0
  35. package/src/models/Process.ts +2 -2
  36. package/src/models/ProcessDetail.ts +23 -12
  37. package/src/models/ProjectRequest.ts +5 -7
  38. package/src/models/{DatasetType.ts → SyncStatus.ts} +9 -9
  39. package/src/models/ValidateFileRequirementsRequest.ts +7 -7
  40. package/src/models/index.ts +3 -3
  41. package/src/models/CreateDashboardRequest.ts +0 -65
  42. package/src/models/CustomPipelineSettingsDto1.ts +0 -111
  43. package/src/models/CustomProcessRequest.ts +0 -175
  44. package/src/models/CustomProcessRequestPipelineCode.ts +0 -97
  45. package/src/models/RegisterDatasetRequest.ts +0 -92
  46. package/src/models/RegisterPublicDataRequest.ts +0 -83
@@ -1,175 +0,0 @@
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 { CustomProcessRequestPipelineCode } from './CustomProcessRequestPipelineCode';
17
- import {
18
- CustomProcessRequestPipelineCodeFromJSON,
19
- CustomProcessRequestPipelineCodeFromJSONTyped,
20
- CustomProcessRequestPipelineCodeToJSON,
21
- } from './CustomProcessRequestPipelineCode';
22
- import type { Executor } from './Executor';
23
- import {
24
- ExecutorFromJSON,
25
- ExecutorFromJSONTyped,
26
- ExecutorToJSON,
27
- } from './Executor';
28
-
29
- /**
30
- *
31
- * @export
32
- * @interface CustomProcessRequest
33
- */
34
- export interface CustomProcessRequest {
35
- /**
36
- * Unique ID for the process
37
- * @type {string}
38
- * @memberof CustomProcessRequest
39
- */
40
- processId?: string;
41
- /**
42
- * Friendly name for the process
43
- * @type {string}
44
- * @memberof CustomProcessRequest
45
- */
46
- name?: string;
47
- /**
48
- * Describes the analysis performed by the process
49
- * @type {string}
50
- * @memberof CustomProcessRequest
51
- */
52
- description: string;
53
- /**
54
- * Link to pipeline documentation
55
- * @type {string}
56
- * @memberof CustomProcessRequest
57
- */
58
- documentationUrl?: string;
59
- /**
60
- *
61
- * @type {Executor}
62
- * @memberof CustomProcessRequest
63
- */
64
- executor: Executor;
65
- /**
66
- *
67
- * @type {CustomProcessRequestPipelineCode}
68
- * @memberof CustomProcessRequest
69
- */
70
- pipelineCode: CustomProcessRequestPipelineCode;
71
- /**
72
- * Downstream pipeline IDs, the pipelines which can be run off of the outputs to this pipeline
73
- * @type {Array<string>}
74
- * @memberof CustomProcessRequest
75
- */
76
- childProcessIds: Array<string>;
77
- /**
78
- * Upstream process IDs, these processes provide the type of input data required for this pipeline
79
- * @type {Array<string>}
80
- * @memberof CustomProcessRequest
81
- */
82
- parentProcessIds: Array<string>;
83
- /**
84
- * Projects that this process is linked to
85
- * @type {Array<string>}
86
- * @memberof CustomProcessRequest
87
- */
88
- projectIds: Array<string>;
89
- /**
90
- * GitHub repository that contains the process definition
91
- * @type {string}
92
- * @memberof CustomProcessRequest
93
- */
94
- definitionRepository: string;
95
- /**
96
- *
97
- * @type {string}
98
- * @memberof CustomProcessRequest
99
- */
100
- definitionBranch: string;
101
- /**
102
- *
103
- * @type {string}
104
- * @memberof CustomProcessRequest
105
- */
106
- definitionFolder: string;
107
- }
108
-
109
- /**
110
- * Check if a given object implements the CustomProcessRequest interface.
111
- */
112
- export function instanceOfCustomProcessRequest(value: object): boolean {
113
- let isInstance = true;
114
- isInstance = isInstance && "description" in value;
115
- isInstance = isInstance && "executor" in value;
116
- isInstance = isInstance && "pipelineCode" in value;
117
- isInstance = isInstance && "childProcessIds" in value;
118
- isInstance = isInstance && "parentProcessIds" in value;
119
- isInstance = isInstance && "projectIds" in value;
120
- isInstance = isInstance && "definitionRepository" in value;
121
- isInstance = isInstance && "definitionBranch" in value;
122
- isInstance = isInstance && "definitionFolder" in value;
123
-
124
- return isInstance;
125
- }
126
-
127
- export function CustomProcessRequestFromJSON(json: any): CustomProcessRequest {
128
- return CustomProcessRequestFromJSONTyped(json, false);
129
- }
130
-
131
- export function CustomProcessRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomProcessRequest {
132
- if ((json === undefined) || (json === null)) {
133
- return json;
134
- }
135
- return {
136
-
137
- 'processId': !exists(json, 'processId') ? undefined : json['processId'],
138
- 'name': !exists(json, 'name') ? undefined : json['name'],
139
- 'description': json['description'],
140
- 'documentationUrl': !exists(json, 'documentationUrl') ? undefined : json['documentationUrl'],
141
- 'executor': ExecutorFromJSON(json['executor']),
142
- 'pipelineCode': CustomProcessRequestPipelineCodeFromJSON(json['pipelineCode']),
143
- 'childProcessIds': json['childProcessIds'],
144
- 'parentProcessIds': json['parentProcessIds'],
145
- 'projectIds': json['projectIds'],
146
- 'definitionRepository': json['definitionRepository'],
147
- 'definitionBranch': json['definitionBranch'],
148
- 'definitionFolder': json['definitionFolder'],
149
- };
150
- }
151
-
152
- export function CustomProcessRequestToJSON(value?: CustomProcessRequest | null): any {
153
- if (value === undefined) {
154
- return undefined;
155
- }
156
- if (value === null) {
157
- return null;
158
- }
159
- return {
160
-
161
- 'processId': value.processId,
162
- 'name': value.name,
163
- 'description': value.description,
164
- 'documentationUrl': value.documentationUrl,
165
- 'executor': ExecutorToJSON(value.executor),
166
- 'pipelineCode': CustomProcessRequestPipelineCodeToJSON(value.pipelineCode),
167
- 'childProcessIds': value.childProcessIds,
168
- 'parentProcessIds': value.parentProcessIds,
169
- 'projectIds': value.projectIds,
170
- 'definitionRepository': value.definitionRepository,
171
- 'definitionBranch': value.definitionBranch,
172
- 'definitionFolder': value.definitionFolder,
173
- };
174
- }
175
-
@@ -1,97 +0,0 @@
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 { RepositoryType } from './RepositoryType';
17
- import {
18
- RepositoryTypeFromJSON,
19
- RepositoryTypeFromJSONTyped,
20
- RepositoryTypeToJSON,
21
- } from './RepositoryType';
22
-
23
- /**
24
- *
25
- * @export
26
- * @interface CustomProcessRequestPipelineCode
27
- */
28
- export interface CustomProcessRequestPipelineCode {
29
- /**
30
- * GitHub repository which contains the workflow code
31
- * @type {string}
32
- * @memberof CustomProcessRequestPipelineCode
33
- */
34
- repositoryPath: string;
35
- /**
36
- * Branch, tag, or commit hash of the pipeline code
37
- * @type {string}
38
- * @memberof CustomProcessRequestPipelineCode
39
- */
40
- version?: string;
41
- /**
42
- *
43
- * @type {RepositoryType}
44
- * @memberof CustomProcessRequestPipelineCode
45
- */
46
- repositoryType?: RepositoryType;
47
- /**
48
- * Main script for running the pipeline
49
- * @type {string}
50
- * @memberof CustomProcessRequestPipelineCode
51
- */
52
- entryPoint?: string;
53
- }
54
-
55
- /**
56
- * Check if a given object implements the CustomProcessRequestPipelineCode interface.
57
- */
58
- export function instanceOfCustomProcessRequestPipelineCode(value: object): boolean {
59
- let isInstance = true;
60
- isInstance = isInstance && "repositoryPath" in value;
61
-
62
- return isInstance;
63
- }
64
-
65
- export function CustomProcessRequestPipelineCodeFromJSON(json: any): CustomProcessRequestPipelineCode {
66
- return CustomProcessRequestPipelineCodeFromJSONTyped(json, false);
67
- }
68
-
69
- export function CustomProcessRequestPipelineCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomProcessRequestPipelineCode {
70
- if ((json === undefined) || (json === null)) {
71
- return json;
72
- }
73
- return {
74
-
75
- 'repositoryPath': json['repositoryPath'],
76
- 'version': !exists(json, 'version') ? undefined : json['version'],
77
- 'repositoryType': !exists(json, 'repositoryType') ? undefined : RepositoryTypeFromJSON(json['repositoryType']),
78
- 'entryPoint': !exists(json, 'entryPoint') ? undefined : json['entryPoint'],
79
- };
80
- }
81
-
82
- export function CustomProcessRequestPipelineCodeToJSON(value?: CustomProcessRequestPipelineCode | null): any {
83
- if (value === undefined) {
84
- return undefined;
85
- }
86
- if (value === null) {
87
- return null;
88
- }
89
- return {
90
-
91
- 'repositoryPath': value.repositoryPath,
92
- 'version': value.version,
93
- 'repositoryType': RepositoryTypeToJSON(value.repositoryType),
94
- 'entryPoint': value.entryPoint,
95
- };
96
- }
97
-
@@ -1,92 +0,0 @@
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
- /**
17
- *
18
- * @export
19
- * @interface RegisterDatasetRequest
20
- */
21
- export interface RegisterDatasetRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof RegisterDatasetRequest
26
- */
27
- name: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof RegisterDatasetRequest
32
- */
33
- description: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof RegisterDatasetRequest
38
- */
39
- processId: string;
40
- /**
41
- * List of file names (with relative paths) that will be uploaded
42
- * @type {Array<string>}
43
- * @memberof RegisterDatasetRequest
44
- */
45
- expectedFiles?: Array<string>;
46
- }
47
-
48
- /**
49
- * Check if a given object implements the RegisterDatasetRequest interface.
50
- */
51
- export function instanceOfRegisterDatasetRequest(value: object): boolean {
52
- let isInstance = true;
53
- isInstance = isInstance && "name" in value;
54
- isInstance = isInstance && "description" in value;
55
- isInstance = isInstance && "processId" in value;
56
-
57
- return isInstance;
58
- }
59
-
60
- export function RegisterDatasetRequestFromJSON(json: any): RegisterDatasetRequest {
61
- return RegisterDatasetRequestFromJSONTyped(json, false);
62
- }
63
-
64
- export function RegisterDatasetRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterDatasetRequest {
65
- if ((json === undefined) || (json === null)) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'name': json['name'],
71
- 'description': json['description'],
72
- 'processId': json['processId'],
73
- 'expectedFiles': !exists(json, 'expectedFiles') ? undefined : json['expectedFiles'],
74
- };
75
- }
76
-
77
- export function RegisterDatasetRequestToJSON(value?: RegisterDatasetRequest | null): any {
78
- if (value === undefined) {
79
- return undefined;
80
- }
81
- if (value === null) {
82
- return null;
83
- }
84
- return {
85
-
86
- 'name': value.name,
87
- 'description': value.description,
88
- 'processId': value.processId,
89
- 'expectedFiles': value.expectedFiles,
90
- };
91
- }
92
-
@@ -1,83 +0,0 @@
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
- /**
17
- *
18
- * @export
19
- * @interface RegisterPublicDataRequest
20
- */
21
- export interface RegisterPublicDataRequest {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof RegisterPublicDataRequest
26
- */
27
- name: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof RegisterPublicDataRequest
32
- */
33
- description: string;
34
- /**
35
- * List of SRA/ENA/DDBJ/GEO/Synapse IDs
36
- * @type {Array<string>}
37
- * @memberof RegisterPublicDataRequest
38
- */
39
- publicIds?: Array<string>;
40
- }
41
-
42
- /**
43
- * Check if a given object implements the RegisterPublicDataRequest interface.
44
- */
45
- export function instanceOfRegisterPublicDataRequest(value: object): boolean {
46
- let isInstance = true;
47
- isInstance = isInstance && "name" in value;
48
- isInstance = isInstance && "description" in value;
49
-
50
- return isInstance;
51
- }
52
-
53
- export function RegisterPublicDataRequestFromJSON(json: any): RegisterPublicDataRequest {
54
- return RegisterPublicDataRequestFromJSONTyped(json, false);
55
- }
56
-
57
- export function RegisterPublicDataRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegisterPublicDataRequest {
58
- if ((json === undefined) || (json === null)) {
59
- return json;
60
- }
61
- return {
62
-
63
- 'name': json['name'],
64
- 'description': json['description'],
65
- 'publicIds': !exists(json, 'publicIds') ? undefined : json['publicIds'],
66
- };
67
- }
68
-
69
- export function RegisterPublicDataRequestToJSON(value?: RegisterPublicDataRequest | null): any {
70
- if (value === undefined) {
71
- return undefined;
72
- }
73
- if (value === null) {
74
- return null;
75
- }
76
- return {
77
-
78
- 'name': value.name,
79
- 'description': value.description,
80
- 'publicIds': value.publicIds,
81
- };
82
- }
83
-