@randock/nameshift-api-client 0.0.52 → 0.0.53

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.52
1
+ ## @randock/nameshift-api-client@0.0.53
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.52 --save
39
+ npm install @randock/nameshift-api-client@0.0.53 --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
- 1386ce900b8d4349730cfcff1a6e65c70cc125085350b4d4d719b7bc593cdb584c24b665479ec27f04757d248a8201f3
47
+ a5c5b964309b745f1f2778dbc910fa161ce4cfd07931e4f3c79684fc029a1d15fee5e643666c901f147815bfd56436a2
@@ -13,6 +13,7 @@ import * as runtime from '../runtime';
13
13
  import type { BuyDomainInput, DomainSalesInformationDto, ObjectId } from '../models/index';
14
14
  export interface DomainsPublicApiGetDomainSalesInformationRequest {
15
15
  domainName: string;
16
+ locale: string;
16
17
  }
17
18
  export interface DomainsPublicApiPostDomainByNameBuyRequest {
18
19
  domainName: string;
@@ -87,7 +87,13 @@ var DomainsPublicApi = /** @class */ (function (_super) {
87
87
  if (requestParameters['domainName'] == null) {
88
88
  throw new runtime.RequiredError('domainName', 'Required parameter "domainName" was null or undefined when calling getDomainSalesInformation().');
89
89
  }
90
+ if (requestParameters['locale'] == null) {
91
+ throw new runtime.RequiredError('locale', 'Required parameter "locale" was null or undefined when calling getDomainSalesInformation().');
92
+ }
90
93
  queryParameters = {};
94
+ if (requestParameters['locale'] != null) {
95
+ queryParameters['locale'] = requestParameters['locale'];
96
+ }
91
97
  headerParameters = {};
92
98
  return [4 /*yield*/, this.request({
93
99
  path: "/domains/by-name/{domainName}/sales-information".replace("{".concat("domainName", "}"), encodeURIComponent(String(requestParameters['domainName']))),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.52",
3
+ "version": "0.0.53",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -39,6 +39,7 @@ import {
39
39
 
40
40
  export interface DomainsPublicApiGetDomainSalesInformationRequest {
41
41
  domainName: string;
42
+ locale: string;
42
43
  }
43
44
 
44
45
  export interface DomainsPublicApiPostDomainByNameBuyRequest {
@@ -62,8 +63,19 @@ export class DomainsPublicApi extends runtime.BaseAPI {
62
63
  );
63
64
  }
64
65
 
66
+ if (requestParameters['locale'] == null) {
67
+ throw new runtime.RequiredError(
68
+ 'locale',
69
+ 'Required parameter "locale" was null or undefined when calling getDomainSalesInformation().'
70
+ );
71
+ }
72
+
65
73
  const queryParameters: any = {};
66
74
 
75
+ if (requestParameters['locale'] != null) {
76
+ queryParameters['locale'] = requestParameters['locale'];
77
+ }
78
+
67
79
  const headerParameters: runtime.HTTPHeaders = {};
68
80
 
69
81
  const response = await this.request({