@randock/nameshift-api-client 0.0.166 → 0.0.167

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.166
1
+ ## @randock/nameshift-api-client@0.0.167
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.166 --save
39
+ npm install @randock/nameshift-api-client@0.0.167 --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
- 05240f63cc21d7796d2d2fcd2bfb9609aefa9fdfc3579da6053a998223dc1963c6891969c059ad0024d2b3200e46ad5c
47
+ aa7cc705d0ea600a47550ee37453dfd05d4a25791142e5f121bf5143121d7d6fc329a6e809b797d6da8c7e157fe2d3a4
@@ -38,7 +38,7 @@ export interface BadRequestException {
38
38
  * @type {string}
39
39
  * @memberof BadRequestException
40
40
  */
41
- code: string;
41
+ error: string;
42
42
  }
43
43
  /**
44
44
  * Check if a given object implements the BadRequestException interface.
@@ -28,7 +28,7 @@ function instanceOfBadRequestException(value) {
28
28
  return false;
29
29
  if (!('message' in value) || value['message'] === undefined)
30
30
  return false;
31
- if (!('code' in value) || value['code'] === undefined)
31
+ if (!('error' in value) || value['error'] === undefined)
32
32
  return false;
33
33
  return true;
34
34
  }
@@ -43,7 +43,7 @@ function BadRequestExceptionFromJSONTyped(json, ignoreDiscriminator) {
43
43
  'name': json['name'],
44
44
  'statusCode': json['statusCode'],
45
45
  'message': json['message'],
46
- 'code': json['code'],
46
+ 'error': json['error'],
47
47
  };
48
48
  }
49
49
  function BadRequestExceptionToJSON(json) {
@@ -58,6 +58,6 @@ function BadRequestExceptionToJSONTyped(value, ignoreDiscriminator) {
58
58
  'name': value['name'],
59
59
  'statusCode': value['statusCode'],
60
60
  'message': value['message'],
61
- 'code': value['code'],
61
+ 'error': value['error'],
62
62
  };
63
63
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.166",
3
+ "version": "0.0.167",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -42,7 +42,7 @@ export interface BadRequestException {
42
42
  * @type {string}
43
43
  * @memberof BadRequestException
44
44
  */
45
- code: string;
45
+ error: string;
46
46
  }
47
47
 
48
48
  /**
@@ -52,7 +52,7 @@ export function instanceOfBadRequestException(value: object): value is BadReques
52
52
  if (!('name' in value) || value['name'] === undefined) return false;
53
53
  if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
54
54
  if (!('message' in value) || value['message'] === undefined) return false;
55
- if (!('code' in value) || value['code'] === undefined) return false;
55
+ if (!('error' in value) || value['error'] === undefined) return false;
56
56
  return true;
57
57
  }
58
58
 
@@ -69,7 +69,7 @@ export function BadRequestExceptionFromJSONTyped(json: any, ignoreDiscriminator:
69
69
  'name': json['name'],
70
70
  'statusCode': json['statusCode'],
71
71
  'message': json['message'],
72
- 'code': json['code'],
72
+ 'error': json['error'],
73
73
  };
74
74
  }
75
75
 
@@ -87,7 +87,7 @@ export function BadRequestExceptionFromJSONTyped(json: any, ignoreDiscriminator:
87
87
  'name': value['name'],
88
88
  'statusCode': value['statusCode'],
89
89
  'message': value['message'],
90
- 'code': value['code'],
90
+ 'error': value['error'],
91
91
  };
92
92
  }
93
93