@randock/nameshift-api-client 0.0.332 → 0.0.333

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.332
1
+ ## @randock/nameshift-api-client@0.0.333
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.332 --save
39
+ npm install @randock/nameshift-api-client@0.0.333 --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
- 3fa019f0dd28bf1aec76a3727e4b1b4db1dec5b426b6ba8264a39c76be3ca64497c2adcb6a1bf5858117eb40da0d5c43
47
+ 78092cd4a8aa570d931ff84131acb6ed3450053d9f77d953d8bed4736900e882c32df421d70cf0f1463801a6e73a4ab5
@@ -16,6 +16,7 @@ export interface AccountsPublicApiGetAccountInformationRequest {
16
16
  }
17
17
  export interface AccountsPublicApiRegisterRequest {
18
18
  registerAccountInput: RegisterAccountInput;
19
+ xRecaptchaToken?: string;
19
20
  }
20
21
  /**
21
22
  *
@@ -134,6 +134,9 @@ var AccountsPublicApi = /** @class */ (function (_super) {
134
134
  queryParameters = {};
135
135
  headerParameters = {};
136
136
  headerParameters['Content-Type'] = 'application/json';
137
+ if (requestParameters['xRecaptchaToken'] != null) {
138
+ headerParameters['x-recaptcha-token'] = String(requestParameters['xRecaptchaToken']);
139
+ }
137
140
  return [4 /*yield*/, this.request({
138
141
  path: "/accounts/register",
139
142
  method: 'POST',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.332",
3
+ "version": "0.0.333",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -40,6 +40,7 @@ export interface AccountsPublicApiGetAccountInformationRequest {
40
40
 
41
41
  export interface AccountsPublicApiRegisterRequest {
42
42
  registerAccountInput: RegisterAccountInput;
43
+ xRecaptchaToken?: string;
43
44
  }
44
45
 
45
46
  /**
@@ -97,6 +98,10 @@ export class AccountsPublicApi extends runtime.BaseAPI {
97
98
 
98
99
  headerParameters['Content-Type'] = 'application/json';
99
100
 
101
+ if (requestParameters['xRecaptchaToken'] != null) {
102
+ headerParameters['x-recaptcha-token'] = String(requestParameters['xRecaptchaToken']);
103
+ }
104
+
100
105
  const response = await this.request({
101
106
  path: `/accounts/register`,
102
107
  method: 'POST',