@randock/nameshift-api-client 0.0.523 → 0.0.524
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 +3 -3
- package/dist/models/DomainSalesInformationDto.d.ts +6 -0
- package/dist/models/DomainSalesInformationDto.js +4 -0
- package/dist/models/LandingPageInput.d.ts +6 -0
- package/dist/models/LandingPageInput.js +2 -0
- package/dist/models/LandingPageSettingsDto.d.ts +6 -0
- package/dist/models/LandingPageSettingsDto.js +4 -0
- package/package.json +1 -1
- package/src/models/DomainSalesInformationDto.ts +9 -0
- package/src/models/LandingPageInput.ts +8 -0
- package/src/models/LandingPageSettingsDto.ts +9 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.524
|
|
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.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.524 --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
|
-
|
|
47
|
+
93c8aaa6cd38bb940accd380e9d8214d8094d3f3fcf4c6dcc917067f694c5f136a0179c922f46ac5ac4d60f5eed847ea
|
|
@@ -142,6 +142,12 @@ export interface DomainSalesInformationDto {
|
|
|
142
142
|
* @memberof DomainSalesInformationDto
|
|
143
143
|
*/
|
|
144
144
|
customCss: string | null;
|
|
145
|
+
/**
|
|
146
|
+
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
147
|
+
* @type {boolean}
|
|
148
|
+
* @memberof DomainSalesInformationDto
|
|
149
|
+
*/
|
|
150
|
+
dutchPriceFormat: boolean;
|
|
145
151
|
}
|
|
146
152
|
/**
|
|
147
153
|
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
@@ -69,6 +69,8 @@ function instanceOfDomainSalesInformationDto(value) {
|
|
|
69
69
|
return false;
|
|
70
70
|
if (!('customCss' in value) || value['customCss'] === undefined)
|
|
71
71
|
return false;
|
|
72
|
+
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined)
|
|
73
|
+
return false;
|
|
72
74
|
return true;
|
|
73
75
|
}
|
|
74
76
|
function DomainSalesInformationDtoFromJSON(json) {
|
|
@@ -99,6 +101,7 @@ function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
99
101
|
'domainAppraisalRequestEnabled': json['domainAppraisalRequestEnabled'],
|
|
100
102
|
'landingPageDesign': (0, DomainSalesInformationDtoLandingPageDesign_1.DomainSalesInformationDtoLandingPageDesignFromJSON)(json['landingPageDesign']),
|
|
101
103
|
'customCss': json['customCss'],
|
|
104
|
+
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
102
105
|
};
|
|
103
106
|
}
|
|
104
107
|
function DomainSalesInformationDtoToJSON(json) {
|
|
@@ -130,5 +133,6 @@ function DomainSalesInformationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
130
133
|
'domainAppraisalRequestEnabled': value['domainAppraisalRequestEnabled'],
|
|
131
134
|
'landingPageDesign': (0, DomainSalesInformationDtoLandingPageDesign_1.DomainSalesInformationDtoLandingPageDesignToJSON)(value['landingPageDesign']),
|
|
132
135
|
'customCss': value['customCss'],
|
|
136
|
+
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
133
137
|
};
|
|
134
138
|
}
|
|
@@ -76,6 +76,12 @@ export interface LandingPageInput {
|
|
|
76
76
|
* @memberof LandingPageInput
|
|
77
77
|
*/
|
|
78
78
|
localeRedirect?: LandingPageInputLocaleRedirectEnum | null;
|
|
79
|
+
/**
|
|
80
|
+
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof LandingPageInput
|
|
83
|
+
*/
|
|
84
|
+
dutchPriceFormat?: boolean | null;
|
|
79
85
|
}
|
|
80
86
|
/**
|
|
81
87
|
* @export
|
|
@@ -85,6 +85,7 @@ function LandingPageInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
85
85
|
'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'] == null ? undefined : json['domainNameUppercaseThreshold'],
|
|
86
86
|
'domainNameTldCase': json['domainNameTldCase'] == null ? undefined : json['domainNameTldCase'],
|
|
87
87
|
'localeRedirect': json['localeRedirect'] == null ? undefined : json['localeRedirect'],
|
|
88
|
+
'dutchPriceFormat': json['dutchPriceFormat'] == null ? undefined : json['dutchPriceFormat'],
|
|
88
89
|
};
|
|
89
90
|
}
|
|
90
91
|
function LandingPageInputToJSON(json) {
|
|
@@ -106,5 +107,6 @@ function LandingPageInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
106
107
|
'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
|
|
107
108
|
'domainNameTldCase': value['domainNameTldCase'],
|
|
108
109
|
'localeRedirect': value['localeRedirect'],
|
|
110
|
+
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
109
111
|
};
|
|
110
112
|
}
|
|
@@ -76,6 +76,12 @@ export interface LandingPageSettingsDto {
|
|
|
76
76
|
* @memberof LandingPageSettingsDto
|
|
77
77
|
*/
|
|
78
78
|
localeRedirect: LandingPageSettingsDtoLocaleRedirectEnum | null;
|
|
79
|
+
/**
|
|
80
|
+
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof LandingPageSettingsDto
|
|
83
|
+
*/
|
|
84
|
+
dutchPriceFormat: boolean | null;
|
|
79
85
|
}
|
|
80
86
|
/**
|
|
81
87
|
* @export
|
|
@@ -85,6 +85,8 @@ function instanceOfLandingPageSettingsDto(value) {
|
|
|
85
85
|
return false;
|
|
86
86
|
if (!('localeRedirect' in value) || value['localeRedirect'] === undefined)
|
|
87
87
|
return false;
|
|
88
|
+
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined)
|
|
89
|
+
return false;
|
|
88
90
|
return true;
|
|
89
91
|
}
|
|
90
92
|
function LandingPageSettingsDtoFromJSON(json) {
|
|
@@ -105,6 +107,7 @@ function LandingPageSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
105
107
|
'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'],
|
|
106
108
|
'domainNameTldCase': json['domainNameTldCase'],
|
|
107
109
|
'localeRedirect': json['localeRedirect'],
|
|
110
|
+
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
108
111
|
};
|
|
109
112
|
}
|
|
110
113
|
function LandingPageSettingsDtoToJSON(json) {
|
|
@@ -126,5 +129,6 @@ function LandingPageSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
126
129
|
'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
|
|
127
130
|
'domainNameTldCase': value['domainNameTldCase'],
|
|
128
131
|
'localeRedirect': value['localeRedirect'],
|
|
132
|
+
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
129
133
|
};
|
|
130
134
|
}
|
package/package.json
CHANGED
|
@@ -189,6 +189,12 @@ export interface DomainSalesInformationDto {
|
|
|
189
189
|
* @memberof DomainSalesInformationDto
|
|
190
190
|
*/
|
|
191
191
|
customCss: string | null;
|
|
192
|
+
/**
|
|
193
|
+
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
194
|
+
* @type {boolean}
|
|
195
|
+
* @memberof DomainSalesInformationDto
|
|
196
|
+
*/
|
|
197
|
+
dutchPriceFormat: boolean;
|
|
192
198
|
}
|
|
193
199
|
|
|
194
200
|
/**
|
|
@@ -215,6 +221,7 @@ export function instanceOfDomainSalesInformationDto(value: object): value is Dom
|
|
|
215
221
|
if (!('domainAppraisalRequestEnabled' in value) || value['domainAppraisalRequestEnabled'] === undefined) return false;
|
|
216
222
|
if (!('landingPageDesign' in value) || value['landingPageDesign'] === undefined) return false;
|
|
217
223
|
if (!('customCss' in value) || value['customCss'] === undefined) return false;
|
|
224
|
+
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined) return false;
|
|
218
225
|
return true;
|
|
219
226
|
}
|
|
220
227
|
|
|
@@ -248,6 +255,7 @@ export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
248
255
|
'domainAppraisalRequestEnabled': json['domainAppraisalRequestEnabled'],
|
|
249
256
|
'landingPageDesign': DomainSalesInformationDtoLandingPageDesignFromJSON(json['landingPageDesign']),
|
|
250
257
|
'customCss': json['customCss'],
|
|
258
|
+
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
251
259
|
};
|
|
252
260
|
}
|
|
253
261
|
|
|
@@ -282,6 +290,7 @@ export function DomainSalesInformationDtoToJSONTyped(value?: DomainSalesInformat
|
|
|
282
290
|
'domainAppraisalRequestEnabled': value['domainAppraisalRequestEnabled'],
|
|
283
291
|
'landingPageDesign': DomainSalesInformationDtoLandingPageDesignToJSON(value['landingPageDesign']),
|
|
284
292
|
'customCss': value['customCss'],
|
|
293
|
+
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
285
294
|
};
|
|
286
295
|
}
|
|
287
296
|
|
|
@@ -87,6 +87,12 @@ export interface LandingPageInput {
|
|
|
87
87
|
* @memberof LandingPageInput
|
|
88
88
|
*/
|
|
89
89
|
localeRedirect?: LandingPageInputLocaleRedirectEnum | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof LandingPageInput
|
|
94
|
+
*/
|
|
95
|
+
dutchPriceFormat?: boolean | null;
|
|
90
96
|
}
|
|
91
97
|
|
|
92
98
|
|
|
@@ -169,6 +175,7 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
169
175
|
'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'] == null ? undefined : json['domainNameUppercaseThreshold'],
|
|
170
176
|
'domainNameTldCase': json['domainNameTldCase'] == null ? undefined : json['domainNameTldCase'],
|
|
171
177
|
'localeRedirect': json['localeRedirect'] == null ? undefined : json['localeRedirect'],
|
|
178
|
+
'dutchPriceFormat': json['dutchPriceFormat'] == null ? undefined : json['dutchPriceFormat'],
|
|
172
179
|
};
|
|
173
180
|
}
|
|
174
181
|
|
|
@@ -193,6 +200,7 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
|
|
|
193
200
|
'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
|
|
194
201
|
'domainNameTldCase': value['domainNameTldCase'],
|
|
195
202
|
'localeRedirect': value['localeRedirect'],
|
|
203
|
+
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
196
204
|
};
|
|
197
205
|
}
|
|
198
206
|
|
|
@@ -87,6 +87,12 @@ export interface LandingPageSettingsDto {
|
|
|
87
87
|
* @memberof LandingPageSettingsDto
|
|
88
88
|
*/
|
|
89
89
|
localeRedirect: LandingPageSettingsDtoLocaleRedirectEnum | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof LandingPageSettingsDto
|
|
94
|
+
*/
|
|
95
|
+
dutchPriceFormat: boolean | null;
|
|
90
96
|
}
|
|
91
97
|
|
|
92
98
|
|
|
@@ -156,6 +162,7 @@ export function instanceOfLandingPageSettingsDto(value: object): value is Landin
|
|
|
156
162
|
if (!('domainNameUppercaseThreshold' in value) || value['domainNameUppercaseThreshold'] === undefined) return false;
|
|
157
163
|
if (!('domainNameTldCase' in value) || value['domainNameTldCase'] === undefined) return false;
|
|
158
164
|
if (!('localeRedirect' in value) || value['localeRedirect'] === undefined) return false;
|
|
165
|
+
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined) return false;
|
|
159
166
|
return true;
|
|
160
167
|
}
|
|
161
168
|
|
|
@@ -179,6 +186,7 @@ export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
179
186
|
'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'],
|
|
180
187
|
'domainNameTldCase': json['domainNameTldCase'],
|
|
181
188
|
'localeRedirect': json['localeRedirect'],
|
|
189
|
+
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
182
190
|
};
|
|
183
191
|
}
|
|
184
192
|
|
|
@@ -203,6 +211,7 @@ export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto
|
|
|
203
211
|
'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
|
|
204
212
|
'domainNameTldCase': value['domainNameTldCase'],
|
|
205
213
|
'localeRedirect': value['localeRedirect'],
|
|
214
|
+
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
206
215
|
};
|
|
207
216
|
}
|
|
208
217
|
|