@randock/nameshift-api-client 0.0.545 → 0.0.546
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.546
|
|
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.546 --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
|
+
ace6db2f256510aa5aaa39d8ef92ad6650e3f4d42838e8c34fa4263d40b72a74e0ff0646f442159301f67d005e3d26e2
|
|
@@ -155,6 +155,12 @@ export interface DomainSalesInformationDto {
|
|
|
155
155
|
* @memberof DomainSalesInformationDto
|
|
156
156
|
*/
|
|
157
157
|
dutchPriceFormat: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Whether the landing page shows the "is for sale" text under the domain name.
|
|
160
|
+
* @type {boolean}
|
|
161
|
+
* @memberof DomainSalesInformationDto
|
|
162
|
+
*/
|
|
163
|
+
showForSaleText: boolean;
|
|
158
164
|
}
|
|
159
165
|
/**
|
|
160
166
|
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
@@ -74,6 +74,8 @@ function instanceOfDomainSalesInformationDto(value) {
|
|
|
74
74
|
return false;
|
|
75
75
|
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined)
|
|
76
76
|
return false;
|
|
77
|
+
if (!('showForSaleText' in value) || value['showForSaleText'] === undefined)
|
|
78
|
+
return false;
|
|
77
79
|
return true;
|
|
78
80
|
}
|
|
79
81
|
function DomainSalesInformationDtoFromJSON(json) {
|
|
@@ -106,6 +108,7 @@ function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
106
108
|
'landingPageDesign': (0, DomainSalesInformationDtoLandingPageDesign_1.DomainSalesInformationDtoLandingPageDesignFromJSON)(json['landingPageDesign']),
|
|
107
109
|
'customCss': json['customCss'],
|
|
108
110
|
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
111
|
+
'showForSaleText': json['showForSaleText'],
|
|
109
112
|
};
|
|
110
113
|
}
|
|
111
114
|
function DomainSalesInformationDtoToJSON(json) {
|
|
@@ -139,5 +142,6 @@ function DomainSalesInformationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
139
142
|
'landingPageDesign': (0, DomainSalesInformationDtoLandingPageDesign_1.DomainSalesInformationDtoLandingPageDesignToJSON)(value['landingPageDesign']),
|
|
140
143
|
'customCss': value['customCss'],
|
|
141
144
|
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
145
|
+
'showForSaleText': value['showForSaleText'],
|
|
142
146
|
};
|
|
143
147
|
}
|
|
@@ -94,6 +94,12 @@ export interface LandingPageInput {
|
|
|
94
94
|
* @memberof LandingPageInput
|
|
95
95
|
*/
|
|
96
96
|
dutchPriceFormat?: boolean | null;
|
|
97
|
+
/**
|
|
98
|
+
* Whether the landing page shows the "is for sale" text under the domain name.
|
|
99
|
+
* @type {boolean}
|
|
100
|
+
* @memberof LandingPageInput
|
|
101
|
+
*/
|
|
102
|
+
showForSaleText?: boolean | null;
|
|
97
103
|
}
|
|
98
104
|
/**
|
|
99
105
|
* @export
|
|
@@ -96,6 +96,7 @@ function LandingPageInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
96
96
|
'showFairPriceSeal': json['showFairPriceSeal'] == null ? undefined : json['showFairPriceSeal'],
|
|
97
97
|
'fairPriceSealStyle': json['fairPriceSealStyle'] == null ? undefined : json['fairPriceSealStyle'],
|
|
98
98
|
'dutchPriceFormat': json['dutchPriceFormat'] == null ? undefined : json['dutchPriceFormat'],
|
|
99
|
+
'showForSaleText': json['showForSaleText'] == null ? undefined : json['showForSaleText'],
|
|
99
100
|
};
|
|
100
101
|
}
|
|
101
102
|
function LandingPageInputToJSON(json) {
|
|
@@ -120,5 +121,6 @@ function LandingPageInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
120
121
|
'showFairPriceSeal': value['showFairPriceSeal'],
|
|
121
122
|
'fairPriceSealStyle': value['fairPriceSealStyle'],
|
|
122
123
|
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
124
|
+
'showForSaleText': value['showForSaleText'],
|
|
123
125
|
};
|
|
124
126
|
}
|
|
@@ -94,6 +94,12 @@ export interface LandingPageSettingsDto {
|
|
|
94
94
|
* @memberof LandingPageSettingsDto
|
|
95
95
|
*/
|
|
96
96
|
dutchPriceFormat: boolean | null;
|
|
97
|
+
/**
|
|
98
|
+
* Whether the landing page shows the "is for sale" text under the domain name.
|
|
99
|
+
* @type {boolean}
|
|
100
|
+
* @memberof LandingPageSettingsDto
|
|
101
|
+
*/
|
|
102
|
+
showForSaleText: boolean | null;
|
|
97
103
|
}
|
|
98
104
|
/**
|
|
99
105
|
* @export
|
|
@@ -99,6 +99,8 @@ function instanceOfLandingPageSettingsDto(value) {
|
|
|
99
99
|
return false;
|
|
100
100
|
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined)
|
|
101
101
|
return false;
|
|
102
|
+
if (!('showForSaleText' in value) || value['showForSaleText'] === undefined)
|
|
103
|
+
return false;
|
|
102
104
|
return true;
|
|
103
105
|
}
|
|
104
106
|
function LandingPageSettingsDtoFromJSON(json) {
|
|
@@ -122,6 +124,7 @@ function LandingPageSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
122
124
|
'showFairPriceSeal': json['showFairPriceSeal'],
|
|
123
125
|
'fairPriceSealStyle': json['fairPriceSealStyle'],
|
|
124
126
|
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
127
|
+
'showForSaleText': json['showForSaleText'],
|
|
125
128
|
};
|
|
126
129
|
}
|
|
127
130
|
function LandingPageSettingsDtoToJSON(json) {
|
|
@@ -146,5 +149,6 @@ function LandingPageSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
146
149
|
'showFairPriceSeal': value['showFairPriceSeal'],
|
|
147
150
|
'fairPriceSealStyle': value['fairPriceSealStyle'],
|
|
148
151
|
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
152
|
+
'showForSaleText': value['showForSaleText'],
|
|
149
153
|
};
|
|
150
154
|
}
|
package/package.json
CHANGED
|
@@ -208,6 +208,12 @@ export interface DomainSalesInformationDto {
|
|
|
208
208
|
* @memberof DomainSalesInformationDto
|
|
209
209
|
*/
|
|
210
210
|
dutchPriceFormat: boolean;
|
|
211
|
+
/**
|
|
212
|
+
* Whether the landing page shows the "is for sale" text under the domain name.
|
|
213
|
+
* @type {boolean}
|
|
214
|
+
* @memberof DomainSalesInformationDto
|
|
215
|
+
*/
|
|
216
|
+
showForSaleText: boolean;
|
|
211
217
|
}
|
|
212
218
|
|
|
213
219
|
/**
|
|
@@ -236,6 +242,7 @@ export function instanceOfDomainSalesInformationDto(value: object): value is Dom
|
|
|
236
242
|
if (!('landingPageDesign' in value) || value['landingPageDesign'] === undefined) return false;
|
|
237
243
|
if (!('customCss' in value) || value['customCss'] === undefined) return false;
|
|
238
244
|
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined) return false;
|
|
245
|
+
if (!('showForSaleText' in value) || value['showForSaleText'] === undefined) return false;
|
|
239
246
|
return true;
|
|
240
247
|
}
|
|
241
248
|
|
|
@@ -271,6 +278,7 @@ export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
271
278
|
'landingPageDesign': DomainSalesInformationDtoLandingPageDesignFromJSON(json['landingPageDesign']),
|
|
272
279
|
'customCss': json['customCss'],
|
|
273
280
|
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
281
|
+
'showForSaleText': json['showForSaleText'],
|
|
274
282
|
};
|
|
275
283
|
}
|
|
276
284
|
|
|
@@ -307,6 +315,7 @@ export function DomainSalesInformationDtoToJSONTyped(value?: DomainSalesInformat
|
|
|
307
315
|
'landingPageDesign': DomainSalesInformationDtoLandingPageDesignToJSON(value['landingPageDesign']),
|
|
308
316
|
'customCss': value['customCss'],
|
|
309
317
|
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
318
|
+
'showForSaleText': value['showForSaleText'],
|
|
310
319
|
};
|
|
311
320
|
}
|
|
312
321
|
|
|
@@ -105,6 +105,12 @@ export interface LandingPageInput {
|
|
|
105
105
|
* @memberof LandingPageInput
|
|
106
106
|
*/
|
|
107
107
|
dutchPriceFormat?: boolean | null;
|
|
108
|
+
/**
|
|
109
|
+
* Whether the landing page shows the "is for sale" text under the domain name.
|
|
110
|
+
* @type {boolean}
|
|
111
|
+
* @memberof LandingPageInput
|
|
112
|
+
*/
|
|
113
|
+
showForSaleText?: boolean | null;
|
|
108
114
|
}
|
|
109
115
|
|
|
110
116
|
|
|
@@ -200,6 +206,7 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
200
206
|
'showFairPriceSeal': json['showFairPriceSeal'] == null ? undefined : json['showFairPriceSeal'],
|
|
201
207
|
'fairPriceSealStyle': json['fairPriceSealStyle'] == null ? undefined : json['fairPriceSealStyle'],
|
|
202
208
|
'dutchPriceFormat': json['dutchPriceFormat'] == null ? undefined : json['dutchPriceFormat'],
|
|
209
|
+
'showForSaleText': json['showForSaleText'] == null ? undefined : json['showForSaleText'],
|
|
203
210
|
};
|
|
204
211
|
}
|
|
205
212
|
|
|
@@ -227,6 +234,7 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
|
|
|
227
234
|
'showFairPriceSeal': value['showFairPriceSeal'],
|
|
228
235
|
'fairPriceSealStyle': value['fairPriceSealStyle'],
|
|
229
236
|
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
237
|
+
'showForSaleText': value['showForSaleText'],
|
|
230
238
|
};
|
|
231
239
|
}
|
|
232
240
|
|
|
@@ -105,6 +105,12 @@ export interface LandingPageSettingsDto {
|
|
|
105
105
|
* @memberof LandingPageSettingsDto
|
|
106
106
|
*/
|
|
107
107
|
dutchPriceFormat: boolean | null;
|
|
108
|
+
/**
|
|
109
|
+
* Whether the landing page shows the "is for sale" text under the domain name.
|
|
110
|
+
* @type {boolean}
|
|
111
|
+
* @memberof LandingPageSettingsDto
|
|
112
|
+
*/
|
|
113
|
+
showForSaleText: boolean | null;
|
|
108
114
|
}
|
|
109
115
|
|
|
110
116
|
|
|
@@ -187,6 +193,7 @@ export function instanceOfLandingPageSettingsDto(value: object): value is Landin
|
|
|
187
193
|
if (!('showFairPriceSeal' in value) || value['showFairPriceSeal'] === undefined) return false;
|
|
188
194
|
if (!('fairPriceSealStyle' in value) || value['fairPriceSealStyle'] === undefined) return false;
|
|
189
195
|
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined) return false;
|
|
196
|
+
if (!('showForSaleText' in value) || value['showForSaleText'] === undefined) return false;
|
|
190
197
|
return true;
|
|
191
198
|
}
|
|
192
199
|
|
|
@@ -213,6 +220,7 @@ export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
213
220
|
'showFairPriceSeal': json['showFairPriceSeal'],
|
|
214
221
|
'fairPriceSealStyle': json['fairPriceSealStyle'],
|
|
215
222
|
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
223
|
+
'showForSaleText': json['showForSaleText'],
|
|
216
224
|
};
|
|
217
225
|
}
|
|
218
226
|
|
|
@@ -240,6 +248,7 @@ export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto
|
|
|
240
248
|
'showFairPriceSeal': value['showFairPriceSeal'],
|
|
241
249
|
'fairPriceSealStyle': value['fairPriceSealStyle'],
|
|
242
250
|
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
251
|
+
'showForSaleText': value['showForSaleText'],
|
|
243
252
|
};
|
|
244
253
|
}
|
|
245
254
|
|