@randock/nameshift-api-client 0.0.158 → 0.0.159
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
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.159
|
|
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 @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.159 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
527b6f8e71a071c80036257312cdd6facc29349c4fe15c72d83f0e5d55b1e50a56211a9cd796d8a69afeec2720f46ba8
|
|
@@ -26,13 +26,13 @@ export interface ValidationError {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ValidationError
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
message: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ValidationError
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
property: string | null;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Check if a given object implements the ValidationError interface.
|
|
@@ -24,10 +24,10 @@ exports.ValidationErrorToJSONTyped = ValidationErrorToJSONTyped;
|
|
|
24
24
|
function instanceOfValidationError(value) {
|
|
25
25
|
if (!('code' in value) || value['code'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('property' in value) || value['property'] === undefined)
|
|
28
|
-
return false;
|
|
29
27
|
if (!('message' in value) || value['message'] === undefined)
|
|
30
28
|
return false;
|
|
29
|
+
if (!('property' in value) || value['property'] === undefined)
|
|
30
|
+
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
33
|
function ValidationErrorFromJSON(json) {
|
|
@@ -39,8 +39,8 @@ function ValidationErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
}
|
|
40
40
|
return {
|
|
41
41
|
'code': json['code'],
|
|
42
|
-
'property': json['property'],
|
|
43
42
|
'message': json['message'],
|
|
43
|
+
'property': json['property'],
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
function ValidationErrorToJSON(json) {
|
|
@@ -53,7 +53,7 @@ function ValidationErrorToJSONTyped(value, ignoreDiscriminator) {
|
|
|
53
53
|
}
|
|
54
54
|
return {
|
|
55
55
|
'code': value['code'],
|
|
56
|
-
'property': value['property'],
|
|
57
56
|
'message': value['message'],
|
|
57
|
+
'property': value['property'],
|
|
58
58
|
};
|
|
59
59
|
}
|
package/package.json
CHANGED
|
@@ -30,13 +30,13 @@ export interface ValidationError {
|
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof ValidationError
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
message: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof ValidationError
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
property: string | null;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -44,8 +44,8 @@ export interface ValidationError {
|
|
|
44
44
|
*/
|
|
45
45
|
export function instanceOfValidationError(value: object): value is ValidationError {
|
|
46
46
|
if (!('code' in value) || value['code'] === undefined) return false;
|
|
47
|
-
if (!('property' in value) || value['property'] === undefined) return false;
|
|
48
47
|
if (!('message' in value) || value['message'] === undefined) return false;
|
|
48
|
+
if (!('property' in value) || value['property'] === undefined) return false;
|
|
49
49
|
return true;
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -60,8 +60,8 @@ export function ValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
60
60
|
return {
|
|
61
61
|
|
|
62
62
|
'code': json['code'],
|
|
63
|
-
'property': json['property'],
|
|
64
63
|
'message': json['message'],
|
|
64
|
+
'property': json['property'],
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
|
|
@@ -77,8 +77,8 @@ export function ValidationErrorFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
77
77
|
return {
|
|
78
78
|
|
|
79
79
|
'code': value['code'],
|
|
80
|
-
'property': value['property'],
|
|
81
80
|
'message': value['message'],
|
|
81
|
+
'property': value['property'],
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
|