@knowledge-stack/ksapi 1.3.0 → 1.4.0

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
- ## @knowledge-stack/ksapi@1.3.0
1
+ ## @knowledge-stack/ksapi@1.4.0
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 @knowledge-stack/ksapi@1.3.0 --save
39
+ npm install @knowledge-stack/ksapi@1.4.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -34,6 +34,18 @@ export interface ValidationError {
34
34
  * @memberof ValidationError
35
35
  */
36
36
  type: string;
37
+ /**
38
+ *
39
+ * @type {any}
40
+ * @memberof ValidationError
41
+ */
42
+ input?: any | null;
43
+ /**
44
+ *
45
+ * @type {object}
46
+ * @memberof ValidationError
47
+ */
48
+ ctx?: object;
37
49
  }
38
50
  /**
39
51
  * Check if a given object implements the ValidationError interface.
@@ -35,6 +35,8 @@ export function ValidationErrorFromJSONTyped(json, ignoreDiscriminator) {
35
35
  'loc': (json['loc'].map(ValidationErrorLocInnerFromJSON)),
36
36
  'msg': json['msg'],
37
37
  'type': json['type'],
38
+ 'input': json['input'] == null ? undefined : json['input'],
39
+ 'ctx': json['ctx'] == null ? undefined : json['ctx'],
38
40
  };
39
41
  }
40
42
  export function ValidationErrorToJSON(json) {
@@ -48,6 +50,8 @@ export function ValidationErrorToJSONTyped(value, ignoreDiscriminator = false) {
48
50
  'loc': (value['loc'].map(ValidationErrorLocInnerToJSON)),
49
51
  'msg': value['msg'],
50
52
  'type': value['type'],
53
+ 'input': value['input'],
54
+ 'ctx': value['ctx'],
51
55
  };
52
56
  }
53
57
  export const ValidationErrorPropertyValidationAttributesMap = {};
@@ -34,6 +34,18 @@ export interface ValidationError {
34
34
  * @memberof ValidationError
35
35
  */
36
36
  type: string;
37
+ /**
38
+ *
39
+ * @type {any}
40
+ * @memberof ValidationError
41
+ */
42
+ input?: any | null;
43
+ /**
44
+ *
45
+ * @type {object}
46
+ * @memberof ValidationError
47
+ */
48
+ ctx?: object;
37
49
  }
38
50
  /**
39
51
  * Check if a given object implements the ValidationError interface.
@@ -43,6 +43,8 @@ function ValidationErrorFromJSONTyped(json, ignoreDiscriminator) {
43
43
  'loc': (json['loc'].map(ValidationErrorLocInner_1.ValidationErrorLocInnerFromJSON)),
44
44
  'msg': json['msg'],
45
45
  'type': json['type'],
46
+ 'input': json['input'] == null ? undefined : json['input'],
47
+ 'ctx': json['ctx'] == null ? undefined : json['ctx'],
46
48
  };
47
49
  }
48
50
  function ValidationErrorToJSON(json) {
@@ -56,6 +58,8 @@ function ValidationErrorToJSONTyped(value, ignoreDiscriminator = false) {
56
58
  'loc': (value['loc'].map(ValidationErrorLocInner_1.ValidationErrorLocInnerToJSON)),
57
59
  'msg': value['msg'],
58
60
  'type': value['type'],
61
+ 'input': value['input'],
62
+ 'ctx': value['ctx'],
59
63
  };
60
64
  }
61
65
  exports.ValidationErrorPropertyValidationAttributesMap = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowledge-stack/ksapi",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "OpenAPI client for @knowledge-stack/ksapi",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -45,6 +45,18 @@ export interface ValidationError {
45
45
  * @memberof ValidationError
46
46
  */
47
47
  type: string;
48
+ /**
49
+ *
50
+ * @type {any}
51
+ * @memberof ValidationError
52
+ */
53
+ input?: any | null;
54
+ /**
55
+ *
56
+ * @type {object}
57
+ * @memberof ValidationError
58
+ */
59
+ ctx?: object;
48
60
  }
49
61
 
50
62
  /**
@@ -70,6 +82,8 @@ export function ValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boo
70
82
  'loc': ((json['loc'] as Array<any>).map(ValidationErrorLocInnerFromJSON)),
71
83
  'msg': json['msg'],
72
84
  'type': json['type'],
85
+ 'input': json['input'] == null ? undefined : json['input'],
86
+ 'ctx': json['ctx'] == null ? undefined : json['ctx'],
73
87
  };
74
88
  }
75
89
 
@@ -87,6 +101,8 @@ export function ValidationErrorToJSONTyped(value?: ValidationError | null, ignor
87
101
  'loc': ((value['loc'] as Array<any>).map(ValidationErrorLocInnerToJSON)),
88
102
  'msg': value['msg'],
89
103
  'type': value['type'],
104
+ 'input': value['input'],
105
+ 'ctx': value['ctx'],
90
106
  };
91
107
  }
92
108