@cirrobio/api-client 0.1.14 → 0.1.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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.1.14 --save
39
+ npm install @cirrobio/api-client@0.1.16 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -46,6 +46,18 @@ export interface Process {
46
46
  * @memberof Process
47
47
  */
48
48
  executor: Executor;
49
+ /**
50
+ * Category of the pipeline
51
+ * @type {string}
52
+ * @memberof Process
53
+ */
54
+ category: string;
55
+ /**
56
+ * Type of pipeline
57
+ * @type {string}
58
+ * @memberof Process
59
+ */
60
+ pipelineType: string;
49
61
  /**
50
62
  * Link to pipeline documentation
51
63
  * @type {string}
@@ -24,6 +24,8 @@ function instanceOfProcess(value) {
24
24
  isInstance = isInstance && "id" in value;
25
25
  isInstance = isInstance && "name" in value;
26
26
  isInstance = isInstance && "executor" in value;
27
+ isInstance = isInstance && "category" in value;
28
+ isInstance = isInstance && "pipelineType" in value;
27
29
  return isInstance;
28
30
  }
29
31
  exports.instanceOfProcess = instanceOfProcess;
@@ -41,6 +43,8 @@ function ProcessFromJSONTyped(json, ignoreDiscriminator) {
41
43
  'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
42
44
  'dataType': !(0, runtime_1.exists)(json, 'dataType') ? undefined : json['dataType'],
43
45
  'executor': (0, Executor_1.ExecutorFromJSON)(json['executor']),
46
+ 'category': json['category'],
47
+ 'pipelineType': json['pipelineType'],
44
48
  'documentationUrl': !(0, runtime_1.exists)(json, 'documentationUrl') ? undefined : json['documentationUrl'],
45
49
  'fileRequirementsMessage': !(0, runtime_1.exists)(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
46
50
  'childProcessIds': !(0, runtime_1.exists)(json, 'childProcessIds') ? undefined : json['childProcessIds'],
@@ -65,6 +69,8 @@ function ProcessToJSON(value) {
65
69
  'description': value.description,
66
70
  'dataType': value.dataType,
67
71
  'executor': (0, Executor_1.ExecutorToJSON)(value.executor),
72
+ 'category': value.category,
73
+ 'pipelineType': value.pipelineType,
68
74
  'documentationUrl': value.documentationUrl,
69
75
  'fileRequirementsMessage': value.fileRequirementsMessage,
70
76
  'childProcessIds': value.childProcessIds,
@@ -49,6 +49,18 @@ export interface ProcessDetail {
49
49
  * @memberof ProcessDetail
50
50
  */
51
51
  executor: Executor;
52
+ /**
53
+ * Category of the pipeline
54
+ * @type {string}
55
+ * @memberof ProcessDetail
56
+ */
57
+ category: string;
58
+ /**
59
+ * Type of pipeline
60
+ * @type {string}
61
+ * @memberof ProcessDetail
62
+ */
63
+ pipelineType: string;
52
64
  /**
53
65
  * IDs of pipelines that can be run downstream
54
66
  * @type {Array<string>}
@@ -28,6 +28,8 @@ function instanceOfProcessDetail(value) {
28
28
  isInstance = isInstance && "name" in value;
29
29
  isInstance = isInstance && "description" in value;
30
30
  isInstance = isInstance && "executor" in value;
31
+ isInstance = isInstance && "category" in value;
32
+ isInstance = isInstance && "pipelineType" in value;
31
33
  isInstance = isInstance && "childProcessIds" in value;
32
34
  isInstance = isInstance && "parentProcessIds" in value;
33
35
  isInstance = isInstance && "linkedProjectIds" in value;
@@ -48,6 +50,8 @@ function ProcessDetailFromJSONTyped(json, ignoreDiscriminator) {
48
50
  'description': json['description'],
49
51
  'dataType': !(0, runtime_1.exists)(json, 'dataType') ? undefined : json['dataType'],
50
52
  'executor': (0, Executor_1.ExecutorFromJSON)(json['executor']),
53
+ 'category': json['category'],
54
+ 'pipelineType': json['pipelineType'],
51
55
  'childProcessIds': json['childProcessIds'],
52
56
  'parentProcessIds': json['parentProcessIds'],
53
57
  'documentationUrl': !(0, runtime_1.exists)(json, 'documentationUrl') ? undefined : json['documentationUrl'],
@@ -75,6 +79,8 @@ function ProcessDetailToJSON(value) {
75
79
  'description': value.description,
76
80
  'dataType': value.dataType,
77
81
  'executor': (0, Executor_1.ExecutorToJSON)(value.executor),
82
+ 'category': value.category,
83
+ 'pipelineType': value.pipelineType,
78
84
  'childProcessIds': value.childProcessIds,
79
85
  'parentProcessIds': value.parentProcessIds,
80
86
  'documentationUrl': value.documentationUrl,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.1.14",
3
+ "version": "0.1.16",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {
@@ -56,6 +56,18 @@ export interface Process {
56
56
  * @memberof Process
57
57
  */
58
58
  executor: Executor;
59
+ /**
60
+ * Category of the pipeline
61
+ * @type {string}
62
+ * @memberof Process
63
+ */
64
+ category: string;
65
+ /**
66
+ * Type of pipeline
67
+ * @type {string}
68
+ * @memberof Process
69
+ */
70
+ pipelineType: string;
59
71
  /**
60
72
  * Link to pipeline documentation
61
73
  * @type {string}
@@ -114,6 +126,8 @@ export function instanceOfProcess(value: object): boolean {
114
126
  isInstance = isInstance && "id" in value;
115
127
  isInstance = isInstance && "name" in value;
116
128
  isInstance = isInstance && "executor" in value;
129
+ isInstance = isInstance && "category" in value;
130
+ isInstance = isInstance && "pipelineType" in value;
117
131
 
118
132
  return isInstance;
119
133
  }
@@ -133,6 +147,8 @@ export function ProcessFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
133
147
  'description': !exists(json, 'description') ? undefined : json['description'],
134
148
  'dataType': !exists(json, 'dataType') ? undefined : json['dataType'],
135
149
  'executor': ExecutorFromJSON(json['executor']),
150
+ 'category': json['category'],
151
+ 'pipelineType': json['pipelineType'],
136
152
  'documentationUrl': !exists(json, 'documentationUrl') ? undefined : json['documentationUrl'],
137
153
  'fileRequirementsMessage': !exists(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
138
154
  'childProcessIds': !exists(json, 'childProcessIds') ? undefined : json['childProcessIds'],
@@ -158,6 +174,8 @@ export function ProcessToJSON(value?: Process | null): any {
158
174
  'description': value.description,
159
175
  'dataType': value.dataType,
160
176
  'executor': ExecutorToJSON(value.executor),
177
+ 'category': value.category,
178
+ 'pipelineType': value.pipelineType,
161
179
  'documentationUrl': value.documentationUrl,
162
180
  'fileRequirementsMessage': value.fileRequirementsMessage,
163
181
  'childProcessIds': value.childProcessIds,
@@ -74,6 +74,18 @@ export interface ProcessDetail {
74
74
  * @memberof ProcessDetail
75
75
  */
76
76
  executor: Executor;
77
+ /**
78
+ * Category of the pipeline
79
+ * @type {string}
80
+ * @memberof ProcessDetail
81
+ */
82
+ category: string;
83
+ /**
84
+ * Type of pipeline
85
+ * @type {string}
86
+ * @memberof ProcessDetail
87
+ */
88
+ pipelineType: string;
77
89
  /**
78
90
  * IDs of pipelines that can be run downstream
79
91
  * @type {Array<string>}
@@ -151,6 +163,8 @@ export function instanceOfProcessDetail(value: object): boolean {
151
163
  isInstance = isInstance && "name" in value;
152
164
  isInstance = isInstance && "description" in value;
153
165
  isInstance = isInstance && "executor" in value;
166
+ isInstance = isInstance && "category" in value;
167
+ isInstance = isInstance && "pipelineType" in value;
154
168
  isInstance = isInstance && "childProcessIds" in value;
155
169
  isInstance = isInstance && "parentProcessIds" in value;
156
170
  isInstance = isInstance && "linkedProjectIds" in value;
@@ -173,6 +187,8 @@ export function ProcessDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
173
187
  'description': json['description'],
174
188
  'dataType': !exists(json, 'dataType') ? undefined : json['dataType'],
175
189
  'executor': ExecutorFromJSON(json['executor']),
190
+ 'category': json['category'],
191
+ 'pipelineType': json['pipelineType'],
176
192
  'childProcessIds': json['childProcessIds'],
177
193
  'parentProcessIds': json['parentProcessIds'],
178
194
  'documentationUrl': !exists(json, 'documentationUrl') ? undefined : json['documentationUrl'],
@@ -201,6 +217,8 @@ export function ProcessDetailToJSON(value?: ProcessDetail | null): any {
201
217
  'description': value.description,
202
218
  'dataType': value.dataType,
203
219
  'executor': ExecutorToJSON(value.executor),
220
+ 'category': value.category,
221
+ 'pipelineType': value.pipelineType,
204
222
  'childProcessIds': value.childProcessIds,
205
223
  'parentProcessIds': value.parentProcessIds,
206
224
  'documentationUrl': value.documentationUrl,