@cirrobio/api-client 0.2.13 → 0.2.14

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.2.13 --save
39
+ npm install @cirrobio/api-client@0.2.14 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -17,7 +17,8 @@
17
17
  export declare enum DatasetConditionField {
18
18
  DatasetId = "DATASET_ID",
19
19
  Tag = "TAG",
20
- ProcessId = "PROCESS_ID"
20
+ ProcessId = "PROCESS_ID",
21
+ CreatedBy = "CREATED_BY"
21
22
  }
22
23
  export declare function DatasetConditionFieldFromJSON(json: any): DatasetConditionField;
23
24
  export declare function DatasetConditionFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatasetConditionField;
@@ -24,6 +24,7 @@ var DatasetConditionField;
24
24
  DatasetConditionField["DatasetId"] = "DATASET_ID";
25
25
  DatasetConditionField["Tag"] = "TAG";
26
26
  DatasetConditionField["ProcessId"] = "PROCESS_ID";
27
+ DatasetConditionField["CreatedBy"] = "CREATED_BY";
27
28
  })(DatasetConditionField = exports.DatasetConditionField || (exports.DatasetConditionField = {}));
28
29
  function DatasetConditionFieldFromJSON(json) {
29
30
  return DatasetConditionFieldFromJSONTyped(json, false);
@@ -123,6 +123,12 @@ export interface ProjectRequirement {
123
123
  * @memberof ProjectRequirement
124
124
  */
125
125
  isFulfilled: boolean;
126
+ /**
127
+ * The id for the requirement fulfillment
128
+ * @type {string}
129
+ * @memberof ProjectRequirement
130
+ */
131
+ fulfillmentId?: string | null;
126
132
  /**
127
133
  * The date the requirement was fulfilled by the user
128
134
  * @type {Date}
@@ -135,6 +141,12 @@ export interface ProjectRequirement {
135
141
  * @memberof ProjectRequirement
136
142
  */
137
143
  fulfillmentFile?: string | null;
144
+ /**
145
+ * The path to the optional fulfillment file
146
+ * @type {string}
147
+ * @memberof ProjectRequirement
148
+ */
149
+ fulfillmentPath?: string | null;
138
150
  }
139
151
  /**
140
152
  * Check if a given object implements the ProjectRequirement interface.
@@ -63,8 +63,10 @@ function ProjectRequirementFromJSONTyped(json, ignoreDiscriminator) {
63
63
  'authorship': !(0, runtime_1.exists)(json, 'authorship') ? undefined : (0, GovernanceScope_1.GovernanceScopeFromJSON)(json['authorship']),
64
64
  'verificationMethod': !(0, runtime_1.exists)(json, 'verificationMethod') ? undefined : (0, GovernanceTrainingVerification_1.GovernanceTrainingVerificationFromJSON)(json['verificationMethod']),
65
65
  'isFulfilled': json['isFulfilled'],
66
+ 'fulfillmentId': !(0, runtime_1.exists)(json, 'fulfillmentId') ? undefined : json['fulfillmentId'],
66
67
  'fulfillmentDate': !(0, runtime_1.exists)(json, 'fulfillmentDate') ? undefined : (json['fulfillmentDate'] === null ? null : new Date(json['fulfillmentDate'])),
67
68
  'fulfillmentFile': !(0, runtime_1.exists)(json, 'fulfillmentFile') ? undefined : json['fulfillmentFile'],
69
+ 'fulfillmentPath': !(0, runtime_1.exists)(json, 'fulfillmentPath') ? undefined : json['fulfillmentPath'],
68
70
  };
69
71
  }
70
72
  exports.ProjectRequirementFromJSONTyped = ProjectRequirementFromJSONTyped;
@@ -93,8 +95,10 @@ function ProjectRequirementToJSON(value) {
93
95
  'authorship': (0, GovernanceScope_1.GovernanceScopeToJSON)(value.authorship),
94
96
  'verificationMethod': (0, GovernanceTrainingVerification_1.GovernanceTrainingVerificationToJSON)(value.verificationMethod),
95
97
  'isFulfilled': value.isFulfilled,
98
+ 'fulfillmentId': value.fulfillmentId,
96
99
  'fulfillmentDate': value.fulfillmentDate === undefined ? undefined : (value.fulfillmentDate === null ? null : value.fulfillmentDate.toISOString()),
97
100
  'fulfillmentFile': value.fulfillmentFile,
101
+ 'fulfillmentPath': value.fulfillmentPath,
98
102
  };
99
103
  }
100
104
  exports.ProjectRequirementToJSON = ProjectRequirementToJSON;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.2.13",
3
+ "version": "0.2.14",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {
@@ -20,7 +20,8 @@
20
20
  export enum DatasetConditionField {
21
21
  DatasetId = 'DATASET_ID',
22
22
  Tag = 'TAG',
23
- ProcessId = 'PROCESS_ID'
23
+ ProcessId = 'PROCESS_ID',
24
+ CreatedBy = 'CREATED_BY'
24
25
  }
25
26
 
26
27
 
@@ -158,6 +158,12 @@ export interface ProjectRequirement {
158
158
  * @memberof ProjectRequirement
159
159
  */
160
160
  isFulfilled: boolean;
161
+ /**
162
+ * The id for the requirement fulfillment
163
+ * @type {string}
164
+ * @memberof ProjectRequirement
165
+ */
166
+ fulfillmentId?: string | null;
161
167
  /**
162
168
  * The date the requirement was fulfilled by the user
163
169
  * @type {Date}
@@ -170,6 +176,12 @@ export interface ProjectRequirement {
170
176
  * @memberof ProjectRequirement
171
177
  */
172
178
  fulfillmentFile?: string | null;
179
+ /**
180
+ * The path to the optional fulfillment file
181
+ * @type {string}
182
+ * @memberof ProjectRequirement
183
+ */
184
+ fulfillmentPath?: string | null;
173
185
  }
174
186
 
175
187
  /**
@@ -216,8 +228,10 @@ export function ProjectRequirementFromJSONTyped(json: any, ignoreDiscriminator:
216
228
  'authorship': !exists(json, 'authorship') ? undefined : GovernanceScopeFromJSON(json['authorship']),
217
229
  'verificationMethod': !exists(json, 'verificationMethod') ? undefined : GovernanceTrainingVerificationFromJSON(json['verificationMethod']),
218
230
  'isFulfilled': json['isFulfilled'],
231
+ 'fulfillmentId': !exists(json, 'fulfillmentId') ? undefined : json['fulfillmentId'],
219
232
  'fulfillmentDate': !exists(json, 'fulfillmentDate') ? undefined : (json['fulfillmentDate'] === null ? null : new Date(json['fulfillmentDate'])),
220
233
  'fulfillmentFile': !exists(json, 'fulfillmentFile') ? undefined : json['fulfillmentFile'],
234
+ 'fulfillmentPath': !exists(json, 'fulfillmentPath') ? undefined : json['fulfillmentPath'],
221
235
  };
222
236
  }
223
237
 
@@ -247,8 +261,10 @@ export function ProjectRequirementToJSON(value?: ProjectRequirement | null): any
247
261
  'authorship': GovernanceScopeToJSON(value.authorship),
248
262
  'verificationMethod': GovernanceTrainingVerificationToJSON(value.verificationMethod),
249
263
  'isFulfilled': value.isFulfilled,
264
+ 'fulfillmentId': value.fulfillmentId,
250
265
  'fulfillmentDate': value.fulfillmentDate === undefined ? undefined : (value.fulfillmentDate === null ? null : value.fulfillmentDate.toISOString()),
251
266
  'fulfillmentFile': value.fulfillmentFile,
267
+ 'fulfillmentPath': value.fulfillmentPath,
252
268
  };
253
269
  }
254
270