@randock/nameshift-api-client 0.0.512 → 0.0.513

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.512
1
+ ## @randock/nameshift-api-client@0.0.513
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.512 --save
39
+ npm install @randock/nameshift-api-client@0.0.513 --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
- 616e904d2cde3b5d4c8a0eb96762a94087d5f82d54748b55abdeb69f564bd1f8500f2ed8b3e5a3c872fe5f982f54c6a6
47
+ 03c9754bed6cc26a07373e18a1e0edc58ff90aca7642625e86cacf4d9beaf670b93490270a0aae2c73e081ef31fe8f68
@@ -70,6 +70,12 @@ export interface LandingPageInput {
70
70
  * @memberof LandingPageInput
71
71
  */
72
72
  domainNameTldCase?: LandingPageInputDomainNameTldCaseEnum | null;
73
+ /**
74
+ * How the landing page picks its language when the visitor has not chosen one: from the browser language or from the domain extension.
75
+ * @type {string}
76
+ * @memberof LandingPageInput
77
+ */
78
+ localeRedirect?: LandingPageInputLocaleRedirectEnum | null;
73
79
  }
74
80
  /**
75
81
  * @export
@@ -109,6 +115,14 @@ export declare const LandingPageInputDomainNameTldCaseEnum: {
109
115
  readonly UPPER: "upper";
110
116
  };
111
117
  export type LandingPageInputDomainNameTldCaseEnum = typeof LandingPageInputDomainNameTldCaseEnum[keyof typeof LandingPageInputDomainNameTldCaseEnum];
118
+ /**
119
+ * @export
120
+ */
121
+ export declare const LandingPageInputLocaleRedirectEnum: {
122
+ readonly ACCEPT_LANGUAGE: "accept_language";
123
+ readonly TLD: "tld";
124
+ };
125
+ export type LandingPageInputLocaleRedirectEnum = typeof LandingPageInputLocaleRedirectEnum[keyof typeof LandingPageInputLocaleRedirectEnum];
112
126
  /**
113
127
  * Check if a given object implements the LandingPageInput interface.
114
128
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.LandingPageInputDomainNameTldCaseEnum = exports.LandingPageInputDomainNameCaseEnum = exports.LandingPageInputDesignEnum = exports.LandingPageInputRequestLeadBuyerPhoneNumberEnum = void 0;
16
+ exports.LandingPageInputLocaleRedirectEnum = exports.LandingPageInputDomainNameTldCaseEnum = exports.LandingPageInputDomainNameCaseEnum = exports.LandingPageInputDesignEnum = exports.LandingPageInputRequestLeadBuyerPhoneNumberEnum = void 0;
17
17
  exports.instanceOfLandingPageInput = instanceOfLandingPageInput;
18
18
  exports.LandingPageInputFromJSON = LandingPageInputFromJSON;
19
19
  exports.LandingPageInputFromJSONTyped = LandingPageInputFromJSONTyped;
@@ -54,6 +54,13 @@ exports.LandingPageInputDomainNameTldCaseEnum = {
54
54
  LOWER: 'lower',
55
55
  UPPER: 'upper'
56
56
  };
57
+ /**
58
+ * @export
59
+ */
60
+ exports.LandingPageInputLocaleRedirectEnum = {
61
+ ACCEPT_LANGUAGE: 'accept_language',
62
+ TLD: 'tld'
63
+ };
57
64
  /**
58
65
  * Check if a given object implements the LandingPageInput interface.
59
66
  */
@@ -77,6 +84,7 @@ function LandingPageInputFromJSONTyped(json, ignoreDiscriminator) {
77
84
  'domainNameCase': json['domainNameCase'] == null ? undefined : json['domainNameCase'],
78
85
  'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'] == null ? undefined : json['domainNameUppercaseThreshold'],
79
86
  'domainNameTldCase': json['domainNameTldCase'] == null ? undefined : json['domainNameTldCase'],
87
+ 'localeRedirect': json['localeRedirect'] == null ? undefined : json['localeRedirect'],
80
88
  };
81
89
  }
82
90
  function LandingPageInputToJSON(json) {
@@ -97,5 +105,6 @@ function LandingPageInputToJSONTyped(value, ignoreDiscriminator) {
97
105
  'domainNameCase': value['domainNameCase'],
98
106
  'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
99
107
  'domainNameTldCase': value['domainNameTldCase'],
108
+ 'localeRedirect': value['localeRedirect'],
100
109
  };
101
110
  }
@@ -70,6 +70,12 @@ export interface LandingPageSettingsDto {
70
70
  * @memberof LandingPageSettingsDto
71
71
  */
72
72
  domainNameTldCase: LandingPageSettingsDtoDomainNameTldCaseEnum | null;
73
+ /**
74
+ * How the landing page picks its language when the visitor has not chosen one: from the browser language or from the domain extension.
75
+ * @type {string}
76
+ * @memberof LandingPageSettingsDto
77
+ */
78
+ localeRedirect: LandingPageSettingsDtoLocaleRedirectEnum | null;
73
79
  }
74
80
  /**
75
81
  * @export
@@ -109,6 +115,14 @@ export declare const LandingPageSettingsDtoDomainNameTldCaseEnum: {
109
115
  readonly UPPER: "upper";
110
116
  };
111
117
  export type LandingPageSettingsDtoDomainNameTldCaseEnum = typeof LandingPageSettingsDtoDomainNameTldCaseEnum[keyof typeof LandingPageSettingsDtoDomainNameTldCaseEnum];
118
+ /**
119
+ * @export
120
+ */
121
+ export declare const LandingPageSettingsDtoLocaleRedirectEnum: {
122
+ readonly ACCEPT_LANGUAGE: "accept_language";
123
+ readonly TLD: "tld";
124
+ };
125
+ export type LandingPageSettingsDtoLocaleRedirectEnum = typeof LandingPageSettingsDtoLocaleRedirectEnum[keyof typeof LandingPageSettingsDtoLocaleRedirectEnum];
112
126
  /**
113
127
  * Check if a given object implements the LandingPageSettingsDto interface.
114
128
  */
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.LandingPageSettingsDtoDomainNameTldCaseEnum = exports.LandingPageSettingsDtoDomainNameCaseEnum = exports.LandingPageSettingsDtoDesignEnum = exports.LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = void 0;
16
+ exports.LandingPageSettingsDtoLocaleRedirectEnum = exports.LandingPageSettingsDtoDomainNameTldCaseEnum = exports.LandingPageSettingsDtoDomainNameCaseEnum = exports.LandingPageSettingsDtoDesignEnum = exports.LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = void 0;
17
17
  exports.instanceOfLandingPageSettingsDto = instanceOfLandingPageSettingsDto;
18
18
  exports.LandingPageSettingsDtoFromJSON = LandingPageSettingsDtoFromJSON;
19
19
  exports.LandingPageSettingsDtoFromJSONTyped = LandingPageSettingsDtoFromJSONTyped;
@@ -54,6 +54,13 @@ exports.LandingPageSettingsDtoDomainNameTldCaseEnum = {
54
54
  LOWER: 'lower',
55
55
  UPPER: 'upper'
56
56
  };
57
+ /**
58
+ * @export
59
+ */
60
+ exports.LandingPageSettingsDtoLocaleRedirectEnum = {
61
+ ACCEPT_LANGUAGE: 'accept_language',
62
+ TLD: 'tld'
63
+ };
57
64
  /**
58
65
  * Check if a given object implements the LandingPageSettingsDto interface.
59
66
  */
@@ -76,6 +83,8 @@ function instanceOfLandingPageSettingsDto(value) {
76
83
  return false;
77
84
  if (!('domainNameTldCase' in value) || value['domainNameTldCase'] === undefined)
78
85
  return false;
86
+ if (!('localeRedirect' in value) || value['localeRedirect'] === undefined)
87
+ return false;
79
88
  return true;
80
89
  }
81
90
  function LandingPageSettingsDtoFromJSON(json) {
@@ -95,6 +104,7 @@ function LandingPageSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
95
104
  'domainNameCase': json['domainNameCase'],
96
105
  'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'],
97
106
  'domainNameTldCase': json['domainNameTldCase'],
107
+ 'localeRedirect': json['localeRedirect'],
98
108
  };
99
109
  }
100
110
  function LandingPageSettingsDtoToJSON(json) {
@@ -115,5 +125,6 @@ function LandingPageSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
115
125
  'domainNameCase': value['domainNameCase'],
116
126
  'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
117
127
  'domainNameTldCase': value['domainNameTldCase'],
128
+ 'localeRedirect': value['localeRedirect'],
118
129
  };
119
130
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.512",
3
+ "version": "0.0.513",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -81,6 +81,12 @@ export interface LandingPageInput {
81
81
  * @memberof LandingPageInput
82
82
  */
83
83
  domainNameTldCase?: LandingPageInputDomainNameTldCaseEnum | null;
84
+ /**
85
+ * How the landing page picks its language when the visitor has not chosen one: from the browser language or from the domain extension.
86
+ * @type {string}
87
+ * @memberof LandingPageInput
88
+ */
89
+ localeRedirect?: LandingPageInputLocaleRedirectEnum | null;
84
90
  }
85
91
 
86
92
 
@@ -126,6 +132,15 @@ export const LandingPageInputDomainNameTldCaseEnum = {
126
132
  } as const;
127
133
  export type LandingPageInputDomainNameTldCaseEnum = typeof LandingPageInputDomainNameTldCaseEnum[keyof typeof LandingPageInputDomainNameTldCaseEnum];
128
134
 
135
+ /**
136
+ * @export
137
+ */
138
+ export const LandingPageInputLocaleRedirectEnum = {
139
+ ACCEPT_LANGUAGE: 'accept_language',
140
+ TLD: 'tld'
141
+ } as const;
142
+ export type LandingPageInputLocaleRedirectEnum = typeof LandingPageInputLocaleRedirectEnum[keyof typeof LandingPageInputLocaleRedirectEnum];
143
+
129
144
 
130
145
  /**
131
146
  * Check if a given object implements the LandingPageInput interface.
@@ -153,6 +168,7 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
153
168
  'domainNameCase': json['domainNameCase'] == null ? undefined : json['domainNameCase'],
154
169
  'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'] == null ? undefined : json['domainNameUppercaseThreshold'],
155
170
  'domainNameTldCase': json['domainNameTldCase'] == null ? undefined : json['domainNameTldCase'],
171
+ 'localeRedirect': json['localeRedirect'] == null ? undefined : json['localeRedirect'],
156
172
  };
157
173
  }
158
174
 
@@ -176,6 +192,7 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
176
192
  'domainNameCase': value['domainNameCase'],
177
193
  'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
178
194
  'domainNameTldCase': value['domainNameTldCase'],
195
+ 'localeRedirect': value['localeRedirect'],
179
196
  };
180
197
  }
181
198
 
@@ -81,6 +81,12 @@ export interface LandingPageSettingsDto {
81
81
  * @memberof LandingPageSettingsDto
82
82
  */
83
83
  domainNameTldCase: LandingPageSettingsDtoDomainNameTldCaseEnum | null;
84
+ /**
85
+ * How the landing page picks its language when the visitor has not chosen one: from the browser language or from the domain extension.
86
+ * @type {string}
87
+ * @memberof LandingPageSettingsDto
88
+ */
89
+ localeRedirect: LandingPageSettingsDtoLocaleRedirectEnum | null;
84
90
  }
85
91
 
86
92
 
@@ -126,6 +132,15 @@ export const LandingPageSettingsDtoDomainNameTldCaseEnum = {
126
132
  } as const;
127
133
  export type LandingPageSettingsDtoDomainNameTldCaseEnum = typeof LandingPageSettingsDtoDomainNameTldCaseEnum[keyof typeof LandingPageSettingsDtoDomainNameTldCaseEnum];
128
134
 
135
+ /**
136
+ * @export
137
+ */
138
+ export const LandingPageSettingsDtoLocaleRedirectEnum = {
139
+ ACCEPT_LANGUAGE: 'accept_language',
140
+ TLD: 'tld'
141
+ } as const;
142
+ export type LandingPageSettingsDtoLocaleRedirectEnum = typeof LandingPageSettingsDtoLocaleRedirectEnum[keyof typeof LandingPageSettingsDtoLocaleRedirectEnum];
143
+
129
144
 
130
145
  /**
131
146
  * Check if a given object implements the LandingPageSettingsDto interface.
@@ -140,6 +155,7 @@ export function instanceOfLandingPageSettingsDto(value: object): value is Landin
140
155
  if (!('domainNameCase' in value) || value['domainNameCase'] === undefined) return false;
141
156
  if (!('domainNameUppercaseThreshold' in value) || value['domainNameUppercaseThreshold'] === undefined) return false;
142
157
  if (!('domainNameTldCase' in value) || value['domainNameTldCase'] === undefined) return false;
158
+ if (!('localeRedirect' in value) || value['localeRedirect'] === undefined) return false;
143
159
  return true;
144
160
  }
145
161
 
@@ -162,6 +178,7 @@ export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminat
162
178
  'domainNameCase': json['domainNameCase'],
163
179
  'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'],
164
180
  'domainNameTldCase': json['domainNameTldCase'],
181
+ 'localeRedirect': json['localeRedirect'],
165
182
  };
166
183
  }
167
184
 
@@ -185,6 +202,7 @@ export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto
185
202
  'domainNameCase': value['domainNameCase'],
186
203
  'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
187
204
  'domainNameTldCase': value['domainNameTldCase'],
205
+ 'localeRedirect': value['localeRedirect'],
188
206
  };
189
207
  }
190
208