@cirrobio/api-client 0.0.19-alpha → 0.0.21-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/DatasetAssetsManifest.d.ts +6 -0
- package/dist/models/DatasetAssetsManifest.js +2 -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/DatasetAssetsManifest.ts +8 -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.21-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) {
|
|
@@ -17,6 +17,12 @@ import type { DatasetViz } from './DatasetViz';
|
|
|
17
17
|
* @interface DatasetAssetsManifest
|
|
18
18
|
*/
|
|
19
19
|
export interface DatasetAssetsManifest {
|
|
20
|
+
/**
|
|
21
|
+
* Base URL for files
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof DatasetAssetsManifest
|
|
24
|
+
*/
|
|
25
|
+
domain?: string;
|
|
20
26
|
/**
|
|
21
27
|
* List of files in the dataset, including metadata
|
|
22
28
|
* @type {Array<DatasetFile>}
|
|
@@ -34,6 +34,7 @@ function DatasetAssetsManifestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
+
'domain': !(0, runtime_1.exists)(json, 'domain') ? undefined : json['domain'],
|
|
37
38
|
'files': !(0, runtime_1.exists)(json, 'files') ? undefined : (json['files'].map(DatasetFile_1.DatasetFileFromJSON)),
|
|
38
39
|
'viz': !(0, runtime_1.exists)(json, 'viz') ? undefined : (json['viz'].map(DatasetViz_1.DatasetVizFromJSON)),
|
|
39
40
|
};
|
|
@@ -47,6 +48,7 @@ function DatasetAssetsManifestToJSON(value) {
|
|
|
47
48
|
return null;
|
|
48
49
|
}
|
|
49
50
|
return {
|
|
51
|
+
'domain': value.domain,
|
|
50
52
|
'files': value.files === undefined ? undefined : (value.files.map(DatasetFile_1.DatasetFileToJSON)),
|
|
51
53
|
'viz': value.viz === undefined ? undefined : (value.viz.map(DatasetViz_1.DatasetVizToJSON)),
|
|
52
54
|
};
|
|
@@ -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
|
@@ -32,6 +32,12 @@ import {
|
|
|
32
32
|
* @interface DatasetAssetsManifest
|
|
33
33
|
*/
|
|
34
34
|
export interface DatasetAssetsManifest {
|
|
35
|
+
/**
|
|
36
|
+
* Base URL for files
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof DatasetAssetsManifest
|
|
39
|
+
*/
|
|
40
|
+
domain?: string;
|
|
35
41
|
/**
|
|
36
42
|
* List of files in the dataset, including metadata
|
|
37
43
|
* @type {Array<DatasetFile>}
|
|
@@ -65,6 +71,7 @@ export function DatasetAssetsManifestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
65
71
|
}
|
|
66
72
|
return {
|
|
67
73
|
|
|
74
|
+
'domain': !exists(json, 'domain') ? undefined : json['domain'],
|
|
68
75
|
'files': !exists(json, 'files') ? undefined : ((json['files'] as Array<any>).map(DatasetFileFromJSON)),
|
|
69
76
|
'viz': !exists(json, 'viz') ? undefined : ((json['viz'] as Array<any>).map(DatasetVizFromJSON)),
|
|
70
77
|
};
|
|
@@ -79,6 +86,7 @@ export function DatasetAssetsManifestToJSON(value?: DatasetAssetsManifest | null
|
|
|
79
86
|
}
|
|
80
87
|
return {
|
|
81
88
|
|
|
89
|
+
'domain': value.domain,
|
|
82
90
|
'files': value.files === undefined ? undefined : ((value.files as Array<any>).map(DatasetFileToJSON)),
|
|
83
91
|
'viz': value.viz === undefined ? undefined : ((value.viz as Array<any>).map(DatasetVizToJSON)),
|
|
84
92
|
};
|
|
@@ -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
|
}
|