@randock/nameshift-api-client 0.0.349 → 0.0.350
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.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.350
|
|
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.350 --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
|
+
9c0c584acfb3c485db7f666b90180b8047716441063ca270623f736340772cbd0a6c29be5f08f4f29b57f790027737f9
|
|
@@ -21,6 +21,12 @@ import type { SeoMetricsDto } from './SeoMetricsDto';
|
|
|
21
21
|
* @interface DomainSalesInformationDto
|
|
22
22
|
*/
|
|
23
23
|
export interface DomainSalesInformationDto {
|
|
24
|
+
/**
|
|
25
|
+
* The domain id
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof DomainSalesInformationDto
|
|
28
|
+
*/
|
|
29
|
+
domainId: object;
|
|
24
30
|
/**
|
|
25
31
|
* The domain name (example.com, xn--maana-pta.com)
|
|
26
32
|
* @type {string}
|
|
@@ -28,6 +28,8 @@ var SeoMetricsDto_1 = require("./SeoMetricsDto");
|
|
|
28
28
|
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
29
29
|
*/
|
|
30
30
|
function instanceOfDomainSalesInformationDto(value) {
|
|
31
|
+
if (!('domainId' in value) || value['domainId'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
if (!('domain' in value) || value['domain'] === undefined)
|
|
32
34
|
return false;
|
|
33
35
|
if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined)
|
|
@@ -72,6 +74,7 @@ function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
72
74
|
return json;
|
|
73
75
|
}
|
|
74
76
|
return {
|
|
77
|
+
'domainId': json['domainId'],
|
|
75
78
|
'domain': json['domain'],
|
|
76
79
|
'domainDisplayName': json['domainDisplayName'],
|
|
77
80
|
'buyNowPrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['buyNowPrice']),
|
|
@@ -100,6 +103,7 @@ function DomainSalesInformationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
100
103
|
return value;
|
|
101
104
|
}
|
|
102
105
|
return {
|
|
106
|
+
'domainId': value['domainId'],
|
|
103
107
|
'domain': value['domain'],
|
|
104
108
|
'domainDisplayName': value['domainDisplayName'],
|
|
105
109
|
'buyNowPrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['buyNowPrice']),
|
package/package.json
CHANGED
|
@@ -62,6 +62,12 @@ import {
|
|
|
62
62
|
* @interface DomainSalesInformationDto
|
|
63
63
|
*/
|
|
64
64
|
export interface DomainSalesInformationDto {
|
|
65
|
+
/**
|
|
66
|
+
* The domain id
|
|
67
|
+
* @type {object}
|
|
68
|
+
* @memberof DomainSalesInformationDto
|
|
69
|
+
*/
|
|
70
|
+
domainId: object;
|
|
65
71
|
/**
|
|
66
72
|
* The domain name (example.com, xn--maana-pta.com)
|
|
67
73
|
* @type {string}
|
|
@@ -170,6 +176,7 @@ export interface DomainSalesInformationDto {
|
|
|
170
176
|
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
171
177
|
*/
|
|
172
178
|
export function instanceOfDomainSalesInformationDto(value: object): value is DomainSalesInformationDto {
|
|
179
|
+
if (!('domainId' in value) || value['domainId'] === undefined) return false;
|
|
173
180
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
174
181
|
if (!('domainDisplayName' in value) || value['domainDisplayName'] === undefined) return false;
|
|
175
182
|
if (!('buyNowPrice' in value) || value['buyNowPrice'] === undefined) return false;
|
|
@@ -200,6 +207,7 @@ export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
200
207
|
}
|
|
201
208
|
return {
|
|
202
209
|
|
|
210
|
+
'domainId': json['domainId'],
|
|
203
211
|
'domain': json['domain'],
|
|
204
212
|
'domainDisplayName': json['domainDisplayName'],
|
|
205
213
|
'buyNowPrice': MoneyDtoFromJSON(json['buyNowPrice']),
|
|
@@ -231,6 +239,7 @@ export function DomainSalesInformationDtoToJSONTyped(value?: DomainSalesInformat
|
|
|
231
239
|
|
|
232
240
|
return {
|
|
233
241
|
|
|
242
|
+
'domainId': value['domainId'],
|
|
234
243
|
'domain': value['domain'],
|
|
235
244
|
'domainDisplayName': value['domainDisplayName'],
|
|
236
245
|
'buyNowPrice': MoneyDtoToJSON(value['buyNowPrice']),
|