@randock/nameshift-api-client 0.0.48 → 0.0.50

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.
@@ -11,6 +11,7 @@ src/apis/DomainsApi.ts
11
11
  src/apis/DomainsPublicApi.ts
12
12
  src/apis/LeadsApi.ts
13
13
  src/apis/LeadsPublicApi.ts
14
+ src/apis/UsersApi.ts
14
15
  src/apis/UsersPublicApi.ts
15
16
  src/apis/index.ts
16
17
  src/index.ts
@@ -77,6 +78,7 @@ src/models/SellerDomainTransferDtoAuthCode.ts
77
78
  src/models/SellerDomainTransferListItemDomainDto.ts
78
79
  src/models/SellerDomainTransferListItemDto.ts
79
80
  src/models/SetNewPasswordInput.ts
81
+ src/models/StoreUserLocaleInput.ts
80
82
  src/models/ThrottlerException.ts
81
83
  src/models/UpdateDomainInput.ts
82
84
  src/models/UpdateDomainTransferAuthCodeInput.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @randock/nameshift-api-client@0.0.48
1
+ ## @randock/nameshift-api-client@0.0.50
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.48 --save
39
+ npm install @randock/nameshift-api-client@0.0.50 --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
- 002cb7cdbbef6e673ed7b7143f973491de649389f9dfb1a903a6e0ba5248041c9101a24388e0a5840ed997fd58ec8a33
47
+ 12d38b1e6cd2ef344d8359c5f38e1ceb31d4e5f0bc6d8a0f33df89e1d8b56686a5feba47ce653232407afd5dd302a5d9
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { StoreUserLocaleInput } from '../models/index';
14
+ export interface UsersApiSetLocaleRequest {
15
+ storeUserLocaleInput: StoreUserLocaleInput;
16
+ }
17
+ /**
18
+ *
19
+ */
20
+ export declare class UsersApi extends runtime.BaseAPI {
21
+ /**
22
+ *
23
+ */
24
+ setLocaleRaw(requestParameters: UsersApiSetLocaleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
25
+ /**
26
+ *
27
+ */
28
+ setLocale(requestParameters: UsersApiSetLocaleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
29
+ }
@@ -0,0 +1,133 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
31
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
32
+ return new (P || (P = Promise))(function (resolve, reject) {
33
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
34
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
35
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
36
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
37
+ });
38
+ };
39
+ var __generator = (this && this.__generator) || function (thisArg, body) {
40
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
41
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
42
+ function verb(n) { return function (v) { return step([n, v]); }; }
43
+ function step(op) {
44
+ if (f) throw new TypeError("Generator is already executing.");
45
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
46
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
47
+ if (y = 0, t) op = [op[0] & 2, t.value];
48
+ switch (op[0]) {
49
+ case 0: case 1: t = op; break;
50
+ case 4: _.label++; return { value: op[1], done: false };
51
+ case 5: _.label++; y = op[1]; op = [0]; continue;
52
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
53
+ default:
54
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
55
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
56
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
57
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
58
+ if (t[2]) _.ops.pop();
59
+ _.trys.pop(); continue;
60
+ }
61
+ op = body.call(thisArg, _);
62
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
63
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
64
+ }
65
+ };
66
+ Object.defineProperty(exports, "__esModule", { value: true });
67
+ exports.UsersApi = void 0;
68
+ var runtime = require("../runtime");
69
+ var index_1 = require("../models/index");
70
+ /**
71
+ *
72
+ */
73
+ var UsersApi = /** @class */ (function (_super) {
74
+ __extends(UsersApi, _super);
75
+ function UsersApi() {
76
+ return _super !== null && _super.apply(this, arguments) || this;
77
+ }
78
+ /**
79
+ *
80
+ */
81
+ UsersApi.prototype.setLocaleRaw = function (requestParameters, initOverrides) {
82
+ return __awaiter(this, void 0, void 0, function () {
83
+ var queryParameters, headerParameters, token, tokenString, response;
84
+ return __generator(this, function (_a) {
85
+ switch (_a.label) {
86
+ case 0:
87
+ if (requestParameters['storeUserLocaleInput'] == null) {
88
+ throw new runtime.RequiredError('storeUserLocaleInput', 'Required parameter "storeUserLocaleInput" was null or undefined when calling setLocale().');
89
+ }
90
+ queryParameters = {};
91
+ headerParameters = {};
92
+ headerParameters['Content-Type'] = 'application/json';
93
+ if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
94
+ token = this.configuration.accessToken;
95
+ return [4 /*yield*/, token("bearer", [])];
96
+ case 1:
97
+ tokenString = _a.sent();
98
+ if (tokenString) {
99
+ headerParameters["Authorization"] = "Bearer ".concat(tokenString);
100
+ }
101
+ _a.label = 2;
102
+ case 2: return [4 /*yield*/, this.request({
103
+ path: "/private/users/store-locale",
104
+ method: 'PATCH',
105
+ headers: headerParameters,
106
+ query: queryParameters,
107
+ body: (0, index_1.StoreUserLocaleInputToJSON)(requestParameters['storeUserLocaleInput']),
108
+ }, initOverrides)];
109
+ case 3:
110
+ response = _a.sent();
111
+ return [2 /*return*/, new runtime.VoidApiResponse(response)];
112
+ }
113
+ });
114
+ });
115
+ };
116
+ /**
117
+ *
118
+ */
119
+ UsersApi.prototype.setLocale = function (requestParameters, initOverrides) {
120
+ return __awaiter(this, void 0, void 0, function () {
121
+ return __generator(this, function (_a) {
122
+ switch (_a.label) {
123
+ case 0: return [4 /*yield*/, this.setLocaleRaw(requestParameters, initOverrides)];
124
+ case 1:
125
+ _a.sent();
126
+ return [2 /*return*/];
127
+ }
128
+ });
129
+ });
130
+ };
131
+ return UsersApi;
132
+ }(runtime.BaseAPI));
133
+ exports.UsersApi = UsersApi;
@@ -6,4 +6,5 @@ export * from './DomainsApi';
6
6
  export * from './DomainsPublicApi';
7
7
  export * from './LeadsApi';
8
8
  export * from './LeadsPublicApi';
9
+ export * from './UsersApi';
9
10
  export * from './UsersPublicApi';
@@ -24,4 +24,5 @@ __exportStar(require("./DomainsApi"), exports);
24
24
  __exportStar(require("./DomainsPublicApi"), exports);
25
25
  __exportStar(require("./LeadsApi"), exports);
26
26
  __exportStar(require("./LeadsPublicApi"), exports);
27
+ __exportStar(require("./UsersApi"), exports);
27
28
  __exportStar(require("./UsersPublicApi"), exports);
@@ -20,19 +20,19 @@ export interface BuyDomainInput {
20
20
  * @type {string}
21
21
  * @memberof BuyDomainInput
22
22
  */
23
- companyName?: string;
23
+ companyName: string | null;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof BuyDomainInput
28
28
  */
29
- companyVatNumber?: string;
29
+ companyVatNumber: string | null;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof BuyDomainInput
34
34
  */
35
- leadId?: string;
35
+ leadId: string | null;
36
36
  /**
37
37
  *
38
38
  * @type {string}
@@ -18,6 +18,12 @@ exports.BuyDomainInputToJSON = exports.BuyDomainInputFromJSONTyped = exports.Buy
18
18
  * Check if a given object implements the BuyDomainInput interface.
19
19
  */
20
20
  function instanceOfBuyDomainInput(value) {
21
+ if (!('companyName' in value) || value['companyName'] === undefined)
22
+ return false;
23
+ if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined)
24
+ return false;
25
+ if (!('leadId' in value) || value['leadId'] === undefined)
26
+ return false;
21
27
  if (!('firstname' in value) || value['firstname'] === undefined)
22
28
  return false;
23
29
  if (!('lastname' in value) || value['lastname'] === undefined)
@@ -46,9 +52,9 @@ function BuyDomainInputFromJSONTyped(json, ignoreDiscriminator) {
46
52
  return json;
47
53
  }
48
54
  return {
49
- 'companyName': json['companyName'] == null ? undefined : json['companyName'],
50
- 'companyVatNumber': json['companyVatNumber'] == null ? undefined : json['companyVatNumber'],
51
- 'leadId': json['leadId'] == null ? undefined : json['leadId'],
55
+ 'companyName': json['companyName'],
56
+ 'companyVatNumber': json['companyVatNumber'],
57
+ 'leadId': json['leadId'],
52
58
  'firstname': json['firstname'],
53
59
  'lastname': json['lastname'],
54
60
  'email': json['email'],
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Nameshift
3
+ * Nameshift API
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface StoreUserLocaleInput
16
+ */
17
+ export interface StoreUserLocaleInput {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof StoreUserLocaleInput
22
+ */
23
+ locale: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the StoreUserLocaleInput interface.
27
+ */
28
+ export declare function instanceOfStoreUserLocaleInput(value: object): value is StoreUserLocaleInput;
29
+ export declare function StoreUserLocaleInputFromJSON(json: any): StoreUserLocaleInput;
30
+ export declare function StoreUserLocaleInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreUserLocaleInput;
31
+ export declare function StoreUserLocaleInputToJSON(value?: StoreUserLocaleInput | null): any;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Nameshift
6
+ * Nameshift API
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.StoreUserLocaleInputToJSON = exports.StoreUserLocaleInputFromJSONTyped = exports.StoreUserLocaleInputFromJSON = exports.instanceOfStoreUserLocaleInput = void 0;
17
+ /**
18
+ * Check if a given object implements the StoreUserLocaleInput interface.
19
+ */
20
+ function instanceOfStoreUserLocaleInput(value) {
21
+ if (!('locale' in value) || value['locale'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ exports.instanceOfStoreUserLocaleInput = instanceOfStoreUserLocaleInput;
26
+ function StoreUserLocaleInputFromJSON(json) {
27
+ return StoreUserLocaleInputFromJSONTyped(json, false);
28
+ }
29
+ exports.StoreUserLocaleInputFromJSON = StoreUserLocaleInputFromJSON;
30
+ function StoreUserLocaleInputFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'locale': json['locale'],
36
+ };
37
+ }
38
+ exports.StoreUserLocaleInputFromJSONTyped = StoreUserLocaleInputFromJSONTyped;
39
+ function StoreUserLocaleInputToJSON(value) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'locale': value['locale'],
45
+ };
46
+ }
47
+ exports.StoreUserLocaleInputToJSON = StoreUserLocaleInputToJSON;
@@ -61,6 +61,7 @@ export * from './SellerDomainTransferDtoAuthCode';
61
61
  export * from './SellerDomainTransferListItemDomainDto';
62
62
  export * from './SellerDomainTransferListItemDto';
63
63
  export * from './SetNewPasswordInput';
64
+ export * from './StoreUserLocaleInput';
64
65
  export * from './ThrottlerException';
65
66
  export * from './UpdateDomainInput';
66
67
  export * from './UpdateDomainTransferAuthCodeInput';
@@ -79,6 +79,7 @@ __exportStar(require("./SellerDomainTransferDtoAuthCode"), exports);
79
79
  __exportStar(require("./SellerDomainTransferListItemDomainDto"), exports);
80
80
  __exportStar(require("./SellerDomainTransferListItemDto"), exports);
81
81
  __exportStar(require("./SetNewPasswordInput"), exports);
82
+ __exportStar(require("./StoreUserLocaleInput"), exports);
82
83
  __exportStar(require("./ThrottlerException"), exports);
83
84
  __exportStar(require("./UpdateDomainInput"), exports);
84
85
  __exportStar(require("./UpdateDomainTransferAuthCodeInput"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.48",
3
+ "version": "0.0.50",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -0,0 +1,83 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import * as runtime from '../runtime';
17
+ import type {
18
+ StoreUserLocaleInput,
19
+ ThrottlerException,
20
+ ValidationException,
21
+ } from '../models/index';
22
+ import {
23
+ StoreUserLocaleInputFromJSON,
24
+ StoreUserLocaleInputToJSON,
25
+ ThrottlerExceptionFromJSON,
26
+ ThrottlerExceptionToJSON,
27
+ ValidationExceptionFromJSON,
28
+ ValidationExceptionToJSON,
29
+ } from '../models/index';
30
+
31
+ export interface UsersApiSetLocaleRequest {
32
+ storeUserLocaleInput: StoreUserLocaleInput;
33
+ }
34
+
35
+ /**
36
+ *
37
+ */
38
+ export class UsersApi extends runtime.BaseAPI {
39
+
40
+ /**
41
+ *
42
+ */
43
+ async setLocaleRaw(requestParameters: UsersApiSetLocaleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
44
+ if (requestParameters['storeUserLocaleInput'] == null) {
45
+ throw new runtime.RequiredError(
46
+ 'storeUserLocaleInput',
47
+ 'Required parameter "storeUserLocaleInput" was null or undefined when calling setLocale().'
48
+ );
49
+ }
50
+
51
+ const queryParameters: any = {};
52
+
53
+ const headerParameters: runtime.HTTPHeaders = {};
54
+
55
+ headerParameters['Content-Type'] = 'application/json';
56
+
57
+ if (this.configuration && this.configuration.accessToken) {
58
+ const token = this.configuration.accessToken;
59
+ const tokenString = await token("bearer", []);
60
+
61
+ if (tokenString) {
62
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
63
+ }
64
+ }
65
+ const response = await this.request({
66
+ path: `/private/users/store-locale`,
67
+ method: 'PATCH',
68
+ headers: headerParameters,
69
+ query: queryParameters,
70
+ body: StoreUserLocaleInputToJSON(requestParameters['storeUserLocaleInput']),
71
+ }, initOverrides);
72
+
73
+ return new runtime.VoidApiResponse(response);
74
+ }
75
+
76
+ /**
77
+ *
78
+ */
79
+ async setLocale(requestParameters: UsersApiSetLocaleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
80
+ await this.setLocaleRaw(requestParameters, initOverrides);
81
+ }
82
+
83
+ }
package/src/apis/index.ts CHANGED
@@ -8,4 +8,5 @@ export * from './DomainsApi';
8
8
  export * from './DomainsPublicApi';
9
9
  export * from './LeadsApi';
10
10
  export * from './LeadsPublicApi';
11
+ export * from './UsersApi';
11
12
  export * from './UsersPublicApi';
@@ -24,19 +24,19 @@ export interface BuyDomainInput {
24
24
  * @type {string}
25
25
  * @memberof BuyDomainInput
26
26
  */
27
- companyName?: string;
27
+ companyName: string | null;
28
28
  /**
29
29
  *
30
30
  * @type {string}
31
31
  * @memberof BuyDomainInput
32
32
  */
33
- companyVatNumber?: string;
33
+ companyVatNumber: string | null;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
37
  * @memberof BuyDomainInput
38
38
  */
39
- leadId?: string;
39
+ leadId: string | null;
40
40
  /**
41
41
  *
42
42
  * @type {string}
@@ -91,6 +91,9 @@ export interface BuyDomainInput {
91
91
  * Check if a given object implements the BuyDomainInput interface.
92
92
  */
93
93
  export function instanceOfBuyDomainInput(value: object): value is BuyDomainInput {
94
+ if (!('companyName' in value) || value['companyName'] === undefined) return false;
95
+ if (!('companyVatNumber' in value) || value['companyVatNumber'] === undefined) return false;
96
+ if (!('leadId' in value) || value['leadId'] === undefined) return false;
94
97
  if (!('firstname' in value) || value['firstname'] === undefined) return false;
95
98
  if (!('lastname' in value) || value['lastname'] === undefined) return false;
96
99
  if (!('email' in value) || value['email'] === undefined) return false;
@@ -112,9 +115,9 @@ export function BuyDomainInputFromJSONTyped(json: any, ignoreDiscriminator: bool
112
115
  }
113
116
  return {
114
117
 
115
- 'companyName': json['companyName'] == null ? undefined : json['companyName'],
116
- 'companyVatNumber': json['companyVatNumber'] == null ? undefined : json['companyVatNumber'],
117
- 'leadId': json['leadId'] == null ? undefined : json['leadId'],
118
+ 'companyName': json['companyName'],
119
+ 'companyVatNumber': json['companyVatNumber'],
120
+ 'leadId': json['leadId'],
118
121
  'firstname': json['firstname'],
119
122
  'lastname': json['lastname'],
120
123
  'email': json['email'],
@@ -0,0 +1,61 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Nameshift
5
+ * Nameshift API
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface StoreUserLocaleInput
20
+ */
21
+ export interface StoreUserLocaleInput {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof StoreUserLocaleInput
26
+ */
27
+ locale: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the StoreUserLocaleInput interface.
32
+ */
33
+ export function instanceOfStoreUserLocaleInput(value: object): value is StoreUserLocaleInput {
34
+ if (!('locale' in value) || value['locale'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function StoreUserLocaleInputFromJSON(json: any): StoreUserLocaleInput {
39
+ return StoreUserLocaleInputFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function StoreUserLocaleInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreUserLocaleInput {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'locale': json['locale'],
49
+ };
50
+ }
51
+
52
+ export function StoreUserLocaleInputToJSON(value?: StoreUserLocaleInput | null): any {
53
+ if (value == null) {
54
+ return value;
55
+ }
56
+ return {
57
+
58
+ 'locale': value['locale'],
59
+ };
60
+ }
61
+
@@ -63,6 +63,7 @@ export * from './SellerDomainTransferDtoAuthCode';
63
63
  export * from './SellerDomainTransferListItemDomainDto';
64
64
  export * from './SellerDomainTransferListItemDto';
65
65
  export * from './SetNewPasswordInput';
66
+ export * from './StoreUserLocaleInput';
66
67
  export * from './ThrottlerException';
67
68
  export * from './UpdateDomainInput';
68
69
  export * from './UpdateDomainTransferAuthCodeInput';