@randock/nameshift-api-client 0.0.515 → 0.0.516

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.515
1
+ ## @randock/nameshift-api-client@0.0.516
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.515 --save
39
+ npm install @randock/nameshift-api-client@0.0.516 --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
- a6dc9de54dfd7fec4d24b1267ab7380cf2f56d59d6f152fdd82b9761216110fe899ba356b3352d0524d5e4d51860bd0b
47
+ e055ea62a2314dab09567fb3b78004f73909710862a171d513b37ae844dd1a377fb4bfab740f3d1f0a8a348065c94e99
@@ -15,8 +15,8 @@ export interface AccountsPublicApiGetAccountInformationRequest {
15
15
  accountId: string;
16
16
  }
17
17
  export interface AccountsPublicApiRegisterRequest {
18
- xNsClient: string;
19
18
  registerAccountInput: RegisterAccountInput;
19
+ xNsClient?: string;
20
20
  xRecaptchaToken?: string;
21
21
  }
22
22
  /**
@@ -131,9 +131,6 @@ var AccountsPublicApi = /** @class */ (function (_super) {
131
131
  return __generator(this, function (_a) {
132
132
  switch (_a.label) {
133
133
  case 0:
134
- if (requestParameters['xNsClient'] == null) {
135
- throw new runtime.RequiredError('xNsClient', 'Required parameter "xNsClient" was null or undefined when calling register().');
136
- }
137
134
  if (requestParameters['registerAccountInput'] == null) {
138
135
  throw new runtime.RequiredError('registerAccountInput', 'Required parameter "registerAccountInput" was null or undefined when calling register().');
139
136
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.515",
3
+ "version": "0.0.516",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -36,8 +36,8 @@ export interface AccountsPublicApiGetAccountInformationRequest {
36
36
  }
37
37
 
38
38
  export interface AccountsPublicApiRegisterRequest {
39
- xNsClient: string;
40
39
  registerAccountInput: RegisterAccountInput;
40
+ xNsClient?: string;
41
41
  xRecaptchaToken?: string;
42
42
  }
43
43
 
@@ -86,13 +86,6 @@ export class AccountsPublicApi extends runtime.BaseAPI {
86
86
  * Register account
87
87
  */
88
88
  async registerRaw(requestParameters: AccountsPublicApiRegisterRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
89
- if (requestParameters['xNsClient'] == null) {
90
- throw new runtime.RequiredError(
91
- 'xNsClient',
92
- 'Required parameter "xNsClient" was null or undefined when calling register().'
93
- );
94
- }
95
-
96
89
  if (requestParameters['registerAccountInput'] == null) {
97
90
  throw new runtime.RequiredError(
98
91
  'registerAccountInput',