@cirrobio/api-client 0.0.19-alpha → 0.0.20-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.
- package/README.md +1 -1
- package/dist/models/CustomerType.d.ts +1 -0
- package/dist/models/CustomerType.js +1 -0
- package/dist/models/UpdateDatasetRequest.d.ts +6 -0
- package/dist/models/UpdateDatasetRequest.js +3 -0
- package/package.json +1 -1
- package/src/models/CustomerType.ts +1 -0
- package/src/models/UpdateDatasetRequest.ts +9 -0
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.0.
|
|
39
|
+
npm install @cirrobio/api-client@0.0.20-alpha --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -22,6 +22,7 @@ exports.CustomerTypeToJSON = exports.CustomerTypeFromJSONTyped = exports.Custome
|
|
|
22
22
|
var CustomerType;
|
|
23
23
|
(function (CustomerType) {
|
|
24
24
|
CustomerType["Internal"] = "INTERNAL";
|
|
25
|
+
CustomerType["Consortium"] = "CONSORTIUM";
|
|
25
26
|
CustomerType["External"] = "EXTERNAL";
|
|
26
27
|
})(CustomerType = exports.CustomerType || (exports.CustomerType = {}));
|
|
27
28
|
function CustomerTypeFromJSON(json) {
|
|
@@ -22,6 +22,7 @@ function instanceOfUpdateDatasetRequest(value) {
|
|
|
22
22
|
var isInstance = true;
|
|
23
23
|
isInstance = isInstance && "name" in value;
|
|
24
24
|
isInstance = isInstance && "description" in value;
|
|
25
|
+
isInstance = isInstance && "processId" in value;
|
|
25
26
|
isInstance = isInstance && "tags" in value;
|
|
26
27
|
return isInstance;
|
|
27
28
|
}
|
|
@@ -37,6 +38,7 @@ function UpdateDatasetRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
return {
|
|
38
39
|
'name': json['name'],
|
|
39
40
|
'description': json['description'],
|
|
41
|
+
'processId': json['processId'],
|
|
40
42
|
'tags': (json['tags'].map(Tag_1.TagFromJSON)),
|
|
41
43
|
};
|
|
42
44
|
}
|
|
@@ -51,6 +53,7 @@ function UpdateDatasetRequestToJSON(value) {
|
|
|
51
53
|
return {
|
|
52
54
|
'name': value.name,
|
|
53
55
|
'description': value.description,
|
|
56
|
+
'processId': value.processId,
|
|
54
57
|
'tags': (value.tags.map(Tag_1.TagToJSON)),
|
|
55
58
|
};
|
|
56
59
|
}
|
package/package.json
CHANGED
|
@@ -38,6 +38,12 @@ export interface UpdateDatasetRequest {
|
|
|
38
38
|
* @memberof UpdateDatasetRequest
|
|
39
39
|
*/
|
|
40
40
|
description: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateDatasetRequest
|
|
45
|
+
*/
|
|
46
|
+
processId: string;
|
|
41
47
|
/**
|
|
42
48
|
*
|
|
43
49
|
* @type {Array<Tag>}
|
|
@@ -53,6 +59,7 @@ export function instanceOfUpdateDatasetRequest(value: object): boolean {
|
|
|
53
59
|
let isInstance = true;
|
|
54
60
|
isInstance = isInstance && "name" in value;
|
|
55
61
|
isInstance = isInstance && "description" in value;
|
|
62
|
+
isInstance = isInstance && "processId" in value;
|
|
56
63
|
isInstance = isInstance && "tags" in value;
|
|
57
64
|
|
|
58
65
|
return isInstance;
|
|
@@ -70,6 +77,7 @@ export function UpdateDatasetRequestFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
70
77
|
|
|
71
78
|
'name': json['name'],
|
|
72
79
|
'description': json['description'],
|
|
80
|
+
'processId': json['processId'],
|
|
73
81
|
'tags': ((json['tags'] as Array<any>).map(TagFromJSON)),
|
|
74
82
|
};
|
|
75
83
|
}
|
|
@@ -85,6 +93,7 @@ export function UpdateDatasetRequestToJSON(value?: UpdateDatasetRequest | null):
|
|
|
85
93
|
|
|
86
94
|
'name': value.name,
|
|
87
95
|
'description': value.description,
|
|
96
|
+
'processId': value.processId,
|
|
88
97
|
'tags': ((value.tags as Array<any>).map(TagToJSON)),
|
|
89
98
|
};
|
|
90
99
|
}
|