@cirrobio/api-client 0.0.18-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 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.18-alpha --save
39
+ npm install @cirrobio/api-client@0.0.20-alpha --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -16,6 +16,7 @@
16
16
  */
17
17
  export declare enum CustomerType {
18
18
  Internal = "INTERNAL",
19
+ Consortium = "CONSORTIUM",
19
20
  External = "EXTERNAL"
20
21
  }
21
22
  export declare function CustomerTypeFromJSON(json: any): CustomerType;
@@ -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) {
@@ -35,6 +35,12 @@ export interface Dataset {
35
35
  * @memberof Dataset
36
36
  */
37
37
  description: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof Dataset
42
+ */
43
+ projectId: string;
38
44
  /**
39
45
  *
40
46
  * @type {string}
@@ -24,6 +24,7 @@ function instanceOfDataset(value) {
24
24
  isInstance = isInstance && "id" in value;
25
25
  isInstance = isInstance && "name" in value;
26
26
  isInstance = isInstance && "description" in value;
27
+ isInstance = isInstance && "projectId" in value;
27
28
  isInstance = isInstance && "processId" in value;
28
29
  isInstance = isInstance && "sourceDatasets" in value;
29
30
  isInstance = isInstance && "status" in value;
@@ -46,6 +47,7 @@ function DatasetFromJSONTyped(json, ignoreDiscriminator) {
46
47
  'id': json['id'],
47
48
  'name': json['name'],
48
49
  'description': json['description'],
50
+ 'projectId': json['projectId'],
49
51
  'processId': json['processId'],
50
52
  'sourceDatasets': json['sourceDatasets'],
51
53
  'status': (0, Status_1.StatusFromJSON)(json['status']),
@@ -67,6 +69,7 @@ function DatasetToJSON(value) {
67
69
  'id': value.id,
68
70
  'name': value.name,
69
71
  'description': value.description,
72
+ 'projectId': value.projectId,
70
73
  'processId': value.processId,
71
74
  'sourceDatasets': value.sourceDatasets,
72
75
  'status': (0, Status_1.StatusToJSON)(value.status),
@@ -47,6 +47,12 @@ export interface DatasetDetail {
47
47
  * @memberof DatasetDetail
48
48
  */
49
49
  processId: string;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof DatasetDetail
54
+ */
55
+ projectId: string;
50
56
  /**
51
57
  *
52
58
  * @type {Array<string>}
@@ -26,6 +26,7 @@ function instanceOfDatasetDetail(value) {
26
26
  isInstance = isInstance && "description" in value;
27
27
  isInstance = isInstance && "s3" in value;
28
28
  isInstance = isInstance && "processId" in value;
29
+ isInstance = isInstance && "projectId" in value;
29
30
  isInstance = isInstance && "sourceDatasets" in value;
30
31
  isInstance = isInstance && "status" in value;
31
32
  isInstance = isInstance && "statusMessage" in value;
@@ -52,6 +53,7 @@ function DatasetDetailFromJSONTyped(json, ignoreDiscriminator) {
52
53
  'description': json['description'],
53
54
  's3': json['s3'],
54
55
  'processId': json['processId'],
56
+ 'projectId': json['projectId'],
55
57
  'sourceDatasets': json['sourceDatasets'],
56
58
  'status': (0, Status_1.StatusFromJSON)(json['status']),
57
59
  'statusMessage': json['statusMessage'],
@@ -77,6 +79,7 @@ function DatasetDetailToJSON(value) {
77
79
  'description': value.description,
78
80
  's3': value.s3,
79
81
  'processId': value.processId,
82
+ 'projectId': value.projectId,
80
83
  'sourceDatasets': value.sourceDatasets,
81
84
  'status': (0, Status_1.StatusToJSON)(value.status),
82
85
  'statusMessage': value.statusMessage,
@@ -28,6 +28,12 @@ export interface UpdateDatasetRequest {
28
28
  * @memberof UpdateDatasetRequest
29
29
  */
30
30
  description: string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof UpdateDatasetRequest
35
+ */
36
+ processId: string;
31
37
  /**
32
38
  *
33
39
  * @type {Array<Tag>}
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.0.18-alpha",
3
+ "version": "0.0.20-alpha",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {
@@ -19,6 +19,7 @@
19
19
  */
20
20
  export enum CustomerType {
21
21
  Internal = 'INTERNAL',
22
+ Consortium = 'CONSORTIUM',
22
23
  External = 'EXTERNAL'
23
24
  }
24
25
 
@@ -50,6 +50,12 @@ export interface Dataset {
50
50
  * @memberof Dataset
51
51
  */
52
52
  description: string;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof Dataset
57
+ */
58
+ projectId: string;
53
59
  /**
54
60
  *
55
61
  * @type {string}
@@ -102,6 +108,7 @@ export function instanceOfDataset(value: object): boolean {
102
108
  isInstance = isInstance && "id" in value;
103
109
  isInstance = isInstance && "name" in value;
104
110
  isInstance = isInstance && "description" in value;
111
+ isInstance = isInstance && "projectId" in value;
105
112
  isInstance = isInstance && "processId" in value;
106
113
  isInstance = isInstance && "sourceDatasets" in value;
107
114
  isInstance = isInstance && "status" in value;
@@ -126,6 +133,7 @@ export function DatasetFromJSONTyped(json: any, ignoreDiscriminator: boolean): D
126
133
  'id': json['id'],
127
134
  'name': json['name'],
128
135
  'description': json['description'],
136
+ 'projectId': json['projectId'],
129
137
  'processId': json['processId'],
130
138
  'sourceDatasets': json['sourceDatasets'],
131
139
  'status': StatusFromJSON(json['status']),
@@ -148,6 +156,7 @@ export function DatasetToJSON(value?: Dataset | null): any {
148
156
  'id': value.id,
149
157
  'name': value.name,
150
158
  'description': value.description,
159
+ 'projectId': value.projectId,
151
160
  'processId': value.processId,
152
161
  'sourceDatasets': value.sourceDatasets,
153
162
  'status': StatusToJSON(value.status),
@@ -62,6 +62,12 @@ export interface DatasetDetail {
62
62
  * @memberof DatasetDetail
63
63
  */
64
64
  processId: string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof DatasetDetail
69
+ */
70
+ projectId: string;
65
71
  /**
66
72
  *
67
73
  * @type {Array<string>}
@@ -128,6 +134,7 @@ export function instanceOfDatasetDetail(value: object): boolean {
128
134
  isInstance = isInstance && "description" in value;
129
135
  isInstance = isInstance && "s3" in value;
130
136
  isInstance = isInstance && "processId" in value;
137
+ isInstance = isInstance && "projectId" in value;
131
138
  isInstance = isInstance && "sourceDatasets" in value;
132
139
  isInstance = isInstance && "status" in value;
133
140
  isInstance = isInstance && "statusMessage" in value;
@@ -156,6 +163,7 @@ export function DatasetDetailFromJSONTyped(json: any, ignoreDiscriminator: boole
156
163
  'description': json['description'],
157
164
  's3': json['s3'],
158
165
  'processId': json['processId'],
166
+ 'projectId': json['projectId'],
159
167
  'sourceDatasets': json['sourceDatasets'],
160
168
  'status': StatusFromJSON(json['status']),
161
169
  'statusMessage': json['statusMessage'],
@@ -182,6 +190,7 @@ export function DatasetDetailToJSON(value?: DatasetDetail | null): any {
182
190
  'description': value.description,
183
191
  's3': value.s3,
184
192
  'processId': value.processId,
193
+ 'projectId': value.projectId,
185
194
  'sourceDatasets': value.sourceDatasets,
186
195
  'status': StatusToJSON(value.status),
187
196
  'statusMessage': value.statusMessage,
@@ -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
  }