@cirrobio/api-client 0.4.2 → 0.4.3

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.4.2 --save
39
+ npm install @cirrobio/api-client@0.4.3 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -46,11 +46,17 @@ export interface ProjectRequirement {
46
46
  */
47
47
  type: GovernanceType;
48
48
  /**
49
- * S3 prefix where files for the requirement are saved
49
+ * S3 prefix where the main file for the requirement is saved
50
50
  * @type {string}
51
51
  * @memberof ProjectRequirement
52
52
  */
53
53
  path: string;
54
+ /**
55
+ * S3 prefix where supplemental files for the requirement are saved
56
+ * @type {string}
57
+ * @memberof ProjectRequirement
58
+ */
59
+ supplementalPath: string;
54
60
  /**
55
61
  *
56
62
  * @type {GovernanceScope}
@@ -31,6 +31,7 @@ function instanceOfProjectRequirement(value) {
31
31
  isInstance = isInstance && "description" in value;
32
32
  isInstance = isInstance && "type" in value;
33
33
  isInstance = isInstance && "path" in value;
34
+ isInstance = isInstance && "supplementalPath" in value;
34
35
  isInstance = isInstance && "scope" in value;
35
36
  isInstance = isInstance && "contacts" in value;
36
37
  isInstance = isInstance && "isFulfilled" in value;
@@ -51,6 +52,7 @@ function ProjectRequirementFromJSONTyped(json, ignoreDiscriminator) {
51
52
  'description': json['description'],
52
53
  'type': (0, GovernanceType_1.GovernanceTypeFromJSON)(json['type']),
53
54
  'path': json['path'],
55
+ 'supplementalPath': json['supplementalPath'],
54
56
  'scope': (0, GovernanceScope_1.GovernanceScopeFromJSON)(json['scope']),
55
57
  'acceptance': !(0, runtime_1.exists)(json, 'acceptance') ? undefined : (0, GovernanceScope_1.GovernanceScopeFromJSON)(json['acceptance']),
56
58
  'contacts': (json['contacts'].map(GovernanceContact_1.GovernanceContactFromJSON)),
@@ -83,6 +85,7 @@ function ProjectRequirementToJSON(value) {
83
85
  'description': value.description,
84
86
  'type': (0, GovernanceType_1.GovernanceTypeToJSON)(value.type),
85
87
  'path': value.path,
88
+ 'supplementalPath': value.supplementalPath,
86
89
  'scope': (0, GovernanceScope_1.GovernanceScopeToJSON)(value.scope),
87
90
  'acceptance': (0, GovernanceScope_1.GovernanceScopeToJSON)(value.acceptance),
88
91
  'contacts': (value.contacts.map(GovernanceContact_1.GovernanceContactToJSON)),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {
@@ -81,11 +81,17 @@ export interface ProjectRequirement {
81
81
  */
82
82
  type: GovernanceType;
83
83
  /**
84
- * S3 prefix where files for the requirement are saved
84
+ * S3 prefix where the main file for the requirement is saved
85
85
  * @type {string}
86
86
  * @memberof ProjectRequirement
87
87
  */
88
88
  path: string;
89
+ /**
90
+ * S3 prefix where supplemental files for the requirement are saved
91
+ * @type {string}
92
+ * @memberof ProjectRequirement
93
+ */
94
+ supplementalPath: string;
89
95
  /**
90
96
  *
91
97
  * @type {GovernanceScope}
@@ -194,6 +200,7 @@ export function instanceOfProjectRequirement(value: object): boolean {
194
200
  isInstance = isInstance && "description" in value;
195
201
  isInstance = isInstance && "type" in value;
196
202
  isInstance = isInstance && "path" in value;
203
+ isInstance = isInstance && "supplementalPath" in value;
197
204
  isInstance = isInstance && "scope" in value;
198
205
  isInstance = isInstance && "contacts" in value;
199
206
  isInstance = isInstance && "isFulfilled" in value;
@@ -216,6 +223,7 @@ export function ProjectRequirementFromJSONTyped(json: any, ignoreDiscriminator:
216
223
  'description': json['description'],
217
224
  'type': GovernanceTypeFromJSON(json['type']),
218
225
  'path': json['path'],
226
+ 'supplementalPath': json['supplementalPath'],
219
227
  'scope': GovernanceScopeFromJSON(json['scope']),
220
228
  'acceptance': !exists(json, 'acceptance') ? undefined : GovernanceScopeFromJSON(json['acceptance']),
221
229
  'contacts': ((json['contacts'] as Array<any>).map(GovernanceContactFromJSON)),
@@ -249,6 +257,7 @@ export function ProjectRequirementToJSON(value?: ProjectRequirement | null): any
249
257
  'description': value.description,
250
258
  'type': GovernanceTypeToJSON(value.type),
251
259
  'path': value.path,
260
+ 'supplementalPath': value.supplementalPath,
252
261
  'scope': GovernanceScopeToJSON(value.scope),
253
262
  'acceptance': GovernanceScopeToJSON(value.acceptance),
254
263
  'contacts': ((value.contacts as Array<any>).map(GovernanceContactToJSON)),