@cirrobio/api-client 0.1.14 → 0.1.15

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.15 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -46,6 +46,12 @@ 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;
49
55
  /**
50
56
  * Link to pipeline documentation
51
57
  * @type {string}
@@ -24,6 +24,7 @@ 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;
27
28
  return isInstance;
28
29
  }
29
30
  exports.instanceOfProcess = instanceOfProcess;
@@ -41,6 +42,7 @@ function ProcessFromJSONTyped(json, ignoreDiscriminator) {
41
42
  'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
42
43
  'dataType': !(0, runtime_1.exists)(json, 'dataType') ? undefined : json['dataType'],
43
44
  'executor': (0, Executor_1.ExecutorFromJSON)(json['executor']),
45
+ 'category': json['category'],
44
46
  'documentationUrl': !(0, runtime_1.exists)(json, 'documentationUrl') ? undefined : json['documentationUrl'],
45
47
  'fileRequirementsMessage': !(0, runtime_1.exists)(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
46
48
  'childProcessIds': !(0, runtime_1.exists)(json, 'childProcessIds') ? undefined : json['childProcessIds'],
@@ -65,6 +67,7 @@ function ProcessToJSON(value) {
65
67
  'description': value.description,
66
68
  'dataType': value.dataType,
67
69
  'executor': (0, Executor_1.ExecutorToJSON)(value.executor),
70
+ 'category': value.category,
68
71
  'documentationUrl': value.documentationUrl,
69
72
  'fileRequirementsMessage': value.fileRequirementsMessage,
70
73
  'childProcessIds': value.childProcessIds,
@@ -49,6 +49,12 @@ 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;
52
58
  /**
53
59
  * IDs of pipelines that can be run downstream
54
60
  * @type {Array<string>}
@@ -28,6 +28,7 @@ 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;
31
32
  isInstance = isInstance && "childProcessIds" in value;
32
33
  isInstance = isInstance && "parentProcessIds" in value;
33
34
  isInstance = isInstance && "linkedProjectIds" in value;
@@ -48,6 +49,7 @@ function ProcessDetailFromJSONTyped(json, ignoreDiscriminator) {
48
49
  'description': json['description'],
49
50
  'dataType': !(0, runtime_1.exists)(json, 'dataType') ? undefined : json['dataType'],
50
51
  'executor': (0, Executor_1.ExecutorFromJSON)(json['executor']),
52
+ 'category': json['category'],
51
53
  'childProcessIds': json['childProcessIds'],
52
54
  'parentProcessIds': json['parentProcessIds'],
53
55
  'documentationUrl': !(0, runtime_1.exists)(json, 'documentationUrl') ? undefined : json['documentationUrl'],
@@ -75,6 +77,7 @@ function ProcessDetailToJSON(value) {
75
77
  'description': value.description,
76
78
  'dataType': value.dataType,
77
79
  'executor': (0, Executor_1.ExecutorToJSON)(value.executor),
80
+ 'category': value.category,
78
81
  'childProcessIds': value.childProcessIds,
79
82
  'parentProcessIds': value.parentProcessIds,
80
83
  '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.15",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {
@@ -56,6 +56,12 @@ 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;
59
65
  /**
60
66
  * Link to pipeline documentation
61
67
  * @type {string}
@@ -114,6 +120,7 @@ export function instanceOfProcess(value: object): boolean {
114
120
  isInstance = isInstance && "id" in value;
115
121
  isInstance = isInstance && "name" in value;
116
122
  isInstance = isInstance && "executor" in value;
123
+ isInstance = isInstance && "category" in value;
117
124
 
118
125
  return isInstance;
119
126
  }
@@ -133,6 +140,7 @@ export function ProcessFromJSONTyped(json: any, ignoreDiscriminator: boolean): P
133
140
  'description': !exists(json, 'description') ? undefined : json['description'],
134
141
  'dataType': !exists(json, 'dataType') ? undefined : json['dataType'],
135
142
  'executor': ExecutorFromJSON(json['executor']),
143
+ 'category': json['category'],
136
144
  'documentationUrl': !exists(json, 'documentationUrl') ? undefined : json['documentationUrl'],
137
145
  'fileRequirementsMessage': !exists(json, 'fileRequirementsMessage') ? undefined : json['fileRequirementsMessage'],
138
146
  'childProcessIds': !exists(json, 'childProcessIds') ? undefined : json['childProcessIds'],
@@ -158,6 +166,7 @@ export function ProcessToJSON(value?: Process | null): any {
158
166
  'description': value.description,
159
167
  'dataType': value.dataType,
160
168
  'executor': ExecutorToJSON(value.executor),
169
+ 'category': value.category,
161
170
  'documentationUrl': value.documentationUrl,
162
171
  'fileRequirementsMessage': value.fileRequirementsMessage,
163
172
  'childProcessIds': value.childProcessIds,
@@ -74,6 +74,12 @@ 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;
77
83
  /**
78
84
  * IDs of pipelines that can be run downstream
79
85
  * @type {Array<string>}
@@ -151,6 +157,7 @@ export function instanceOfProcessDetail(value: object): boolean {
151
157
  isInstance = isInstance && "name" in value;
152
158
  isInstance = isInstance && "description" in value;
153
159
  isInstance = isInstance && "executor" in value;
160
+ isInstance = isInstance && "category" in value;
154
161
  isInstance = isInstance && "childProcessIds" in value;
155
162
  isInstance = isInstance && "parentProcessIds" in value;
156
163
  isInstance = isInstance && "linkedProjectIds" in value;
@@ -173,6 +180,7 @@ export function ProcessDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
173
180
  'description': json['description'],
174
181
  'dataType': !exists(json, 'dataType') ? undefined : json['dataType'],
175
182
  'executor': ExecutorFromJSON(json['executor']),
183
+ 'category': json['category'],
176
184
  'childProcessIds': json['childProcessIds'],
177
185
  'parentProcessIds': json['parentProcessIds'],
178
186
  'documentationUrl': !exists(json, 'documentationUrl') ? undefined : json['documentationUrl'],
@@ -201,6 +209,7 @@ export function ProcessDetailToJSON(value?: ProcessDetail | null): any {
201
209
  'description': value.description,
202
210
  'dataType': value.dataType,
203
211
  'executor': ExecutorToJSON(value.executor),
212
+ 'category': value.category,
204
213
  'childProcessIds': value.childProcessIds,
205
214
  'parentProcessIds': value.parentProcessIds,
206
215
  'documentationUrl': value.documentationUrl,