@mlhub/models-ts-sdk 0.0.2 → 0.0.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
@@ -1,4 +1,4 @@
1
- ## @mlhub/models-ts-sdk@0.0.2
1
+ ## @mlhub/models-ts-sdk@0.0.3
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -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 @mlhub/models-ts-sdk@0.0.2 --save
39
+ npm install @mlhub/models-ts-sdk@0.0.3 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -21,7 +21,7 @@ export interface DiscoveryCriterion {
21
21
  * @type {any}
22
22
  * @memberof DiscoveryCriterion
23
23
  */
24
- annotations?: any | null;
24
+ annotation?: any | null;
25
25
  /**
26
26
  *
27
27
  * @type {string}
@@ -24,7 +24,7 @@ function DiscoveryCriterionFromJSONTyped(json, ignoreDiscriminator) {
24
24
  return json;
25
25
  }
26
26
  return {
27
- 'annotations': !runtime_1.exists(json, 'annotations') ? undefined : json['annotations'],
27
+ 'annotation': !runtime_1.exists(json, 'annotation') ? undefined : json['annotation'],
28
28
  'author': !runtime_1.exists(json, 'author') ? undefined : json['author'],
29
29
  'bias_evaluation_score': !runtime_1.exists(json, 'bias_evaluation_score') ? undefined : json['bias_evaluation_score'],
30
30
  'edge_optimized': !runtime_1.exists(json, 'edge_optimized') ? undefined : json['edge_optimized'],
@@ -72,7 +72,7 @@ function DiscoveryCriterionToJSON(value) {
72
72
  return null;
73
73
  }
74
74
  return {
75
- 'annotations': value.annotations,
75
+ 'annotation': value.annotation,
76
76
  'author': value.author,
77
77
  'bias_evaluation_score': value.bias_evaluation_score,
78
78
  'edge_optimized': value.edge_optimized,
@@ -21,7 +21,7 @@ export interface ModelMetadata {
21
21
  * @type {any}
22
22
  * @memberof ModelMetadata
23
23
  */
24
- annotations?: any | null;
24
+ annotation?: any | null;
25
25
  /**
26
26
  *
27
27
  * @type {string}
@@ -24,7 +24,7 @@ function ModelMetadataFromJSONTyped(json, ignoreDiscriminator) {
24
24
  return json;
25
25
  }
26
26
  return {
27
- 'annotations': !runtime_1.exists(json, 'annotations') ? undefined : json['annotations'],
27
+ 'annotation': !runtime_1.exists(json, 'annotation') ? undefined : json['annotation'],
28
28
  'author': !runtime_1.exists(json, 'author') ? undefined : json['author'],
29
29
  'bias_evaluation_score': !runtime_1.exists(json, 'bias_evaluation_score') ? undefined : json['bias_evaluation_score'],
30
30
  'edge_optimized': !runtime_1.exists(json, 'edge_optimized') ? undefined : json['edge_optimized'],
@@ -71,7 +71,7 @@ function ModelMetadataToJSON(value) {
71
71
  return null;
72
72
  }
73
73
  return {
74
- 'annotations': value.annotations,
74
+ 'annotation': value.annotation,
75
75
  'author': value.author,
76
76
  'bias_evaluation_score': value.bias_evaluation_score,
77
77
  'edge_optimized': value.edge_optimized,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlhub/models-ts-sdk",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "OpenAPI client for @mlhub/models-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "main": "./dist/index.js",
@@ -39,7 +39,7 @@ export interface DiscoveryCriterion {
39
39
  * @type {any}
40
40
  * @memberof DiscoveryCriterion
41
41
  */
42
- annotations?: any | null;
42
+ annotation?: any | null;
43
43
  /**
44
44
  *
45
45
  * @type {string}
@@ -269,7 +269,7 @@ export function DiscoveryCriterionFromJSONTyped(json: any, ignoreDiscriminator:
269
269
  }
270
270
  return {
271
271
 
272
- 'annotations': !exists(json, 'annotations') ? undefined : json['annotations'],
272
+ 'annotation': !exists(json, 'annotation') ? undefined : json['annotation'],
273
273
  'author': !exists(json, 'author') ? undefined : json['author'],
274
274
  'bias_evaluation_score': !exists(json, 'bias_evaluation_score') ? undefined : json['bias_evaluation_score'],
275
275
  'edge_optimized': !exists(json, 'edge_optimized') ? undefined : json['edge_optimized'],
@@ -318,7 +318,7 @@ export function DiscoveryCriterionToJSON(value?: DiscoveryCriterion | null): any
318
318
  }
319
319
  return {
320
320
 
321
- 'annotations': value.annotations,
321
+ 'annotation': value.annotation,
322
322
  'author': value.author,
323
323
  'bias_evaluation_score': value.bias_evaluation_score,
324
324
  'edge_optimized': value.edge_optimized,
@@ -39,7 +39,7 @@ export interface ModelMetadata {
39
39
  * @type {any}
40
40
  * @memberof ModelMetadata
41
41
  */
42
- annotations?: any | null;
42
+ annotation?: any | null;
43
43
  /**
44
44
  *
45
45
  * @type {string}
@@ -263,7 +263,7 @@ export function ModelMetadataFromJSONTyped(json: any, ignoreDiscriminator: boole
263
263
  }
264
264
  return {
265
265
 
266
- 'annotations': !exists(json, 'annotations') ? undefined : json['annotations'],
266
+ 'annotation': !exists(json, 'annotation') ? undefined : json['annotation'],
267
267
  'author': !exists(json, 'author') ? undefined : json['author'],
268
268
  'bias_evaluation_score': !exists(json, 'bias_evaluation_score') ? undefined : json['bias_evaluation_score'],
269
269
  'edge_optimized': !exists(json, 'edge_optimized') ? undefined : json['edge_optimized'],
@@ -311,7 +311,7 @@ export function ModelMetadataToJSON(value?: ModelMetadata | null): any {
311
311
  }
312
312
  return {
313
313
 
314
- 'annotations': value.annotations,
314
+ 'annotation': value.annotation,
315
315
  'author': value.author,
316
316
  'bias_evaluation_score': value.bias_evaluation_score,
317
317
  'edge_optimized': value.edge_optimized,