@randock/nameshift-api-client 0.0.165 → 0.0.166

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.165
1
+ ## @randock/nameshift-api-client@0.0.166
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.165 --save
39
+ npm install @randock/nameshift-api-client@0.0.166 --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
- c18cc29e96e56687807fdbb7d3f32b117650dbe9e47add9aefb56805094995cfabe09584f0d9c43c85fc4c7a347639b4
47
+ 05240f63cc21d7796d2d2fcd2bfb9609aefa9fdfc3579da6053a998223dc1963c6891969c059ad0024d2b3200e46ad5c
@@ -15,6 +15,12 @@
15
15
  * @interface RegisterAccountInput
16
16
  */
17
17
  export interface RegisterAccountInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RegisterAccountInput
22
+ */
23
+ locale: string;
18
24
  /**
19
25
  *
20
26
  * @type {string}
@@ -22,6 +22,8 @@ exports.RegisterAccountInputToJSONTyped = RegisterAccountInputToJSONTyped;
22
22
  * Check if a given object implements the RegisterAccountInput interface.
23
23
  */
24
24
  function instanceOfRegisterAccountInput(value) {
25
+ if (!('locale' in value) || value['locale'] === undefined)
26
+ return false;
25
27
  if (!('firstname' in value) || value['firstname'] === undefined)
26
28
  return false;
27
29
  if (!('lastname' in value) || value['lastname'] === undefined)
@@ -40,6 +42,7 @@ function RegisterAccountInputFromJSONTyped(json, ignoreDiscriminator) {
40
42
  return json;
41
43
  }
42
44
  return {
45
+ 'locale': json['locale'],
43
46
  'firstname': json['firstname'],
44
47
  'lastname': json['lastname'],
45
48
  'email': json['email'],
@@ -56,6 +59,7 @@ function RegisterAccountInputToJSONTyped(value, ignoreDiscriminator) {
56
59
  return value;
57
60
  }
58
61
  return {
62
+ 'locale': value['locale'],
59
63
  'firstname': value['firstname'],
60
64
  'lastname': value['lastname'],
61
65
  'email': value['email'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.165",
3
+ "version": "0.0.166",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -19,6 +19,12 @@ import { mapValues } from '../runtime';
19
19
  * @interface RegisterAccountInput
20
20
  */
21
21
  export interface RegisterAccountInput {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof RegisterAccountInput
26
+ */
27
+ locale: string;
22
28
  /**
23
29
  *
24
30
  * @type {string}
@@ -55,6 +61,7 @@ export interface RegisterAccountInput {
55
61
  * Check if a given object implements the RegisterAccountInput interface.
56
62
  */
57
63
  export function instanceOfRegisterAccountInput(value: object): value is RegisterAccountInput {
64
+ if (!('locale' in value) || value['locale'] === undefined) return false;
58
65
  if (!('firstname' in value) || value['firstname'] === undefined) return false;
59
66
  if (!('lastname' in value) || value['lastname'] === undefined) return false;
60
67
  if (!('email' in value) || value['email'] === undefined) return false;
@@ -72,6 +79,7 @@ export function RegisterAccountInputFromJSONTyped(json: any, ignoreDiscriminator
72
79
  }
73
80
  return {
74
81
 
82
+ 'locale': json['locale'],
75
83
  'firstname': json['firstname'],
76
84
  'lastname': json['lastname'],
77
85
  'email': json['email'],
@@ -91,6 +99,7 @@ export function RegisterAccountInputFromJSONTyped(json: any, ignoreDiscriminator
91
99
 
92
100
  return {
93
101
 
102
+ 'locale': value['locale'],
94
103
  'firstname': value['firstname'],
95
104
  'lastname': value['lastname'],
96
105
  'email': value['email'],