@randock/nameshift-api-client 0.0.152 → 0.0.153
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.153
|
|
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.153 --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
|
+
3fd3f500169d8a48862a37f780be7da30ec535d90ec2a7aa0eb31ce0f8347761aaba9bac7054d82f8493b83b5a3d2316
|
|
@@ -25,6 +25,8 @@ var MoneyDto_1 = require("./MoneyDto");
|
|
|
25
25
|
function instanceOfPublicDomainDto(value) {
|
|
26
26
|
if (!('id' in value) || value['id'] === undefined)
|
|
27
27
|
return false;
|
|
28
|
+
if (!('seller' in value) || value['seller'] === undefined)
|
|
29
|
+
return false;
|
|
28
30
|
if (!('url' in value) || value['url'] === undefined)
|
|
29
31
|
return false;
|
|
30
32
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
@@ -50,6 +52,7 @@ function PublicDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
52
|
}
|
|
51
53
|
return {
|
|
52
54
|
'id': json['id'],
|
|
55
|
+
'seller': json['seller'],
|
|
53
56
|
'url': json['url'],
|
|
54
57
|
'tld': json['tld'],
|
|
55
58
|
'name': json['name'],
|
|
@@ -69,6 +72,7 @@ function PublicDomainDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
69
72
|
}
|
|
70
73
|
return {
|
|
71
74
|
'id': value['id'],
|
|
75
|
+
'seller': value['seller'],
|
|
72
76
|
'url': value['url'],
|
|
73
77
|
'tld': value['tld'],
|
|
74
78
|
'name': value['name'],
|
package/package.json
CHANGED
|
@@ -33,6 +33,12 @@ export interface PublicDomainDto {
|
|
|
33
33
|
* @memberof PublicDomainDto
|
|
34
34
|
*/
|
|
35
35
|
id: string;
|
|
36
|
+
/**
|
|
37
|
+
* The seller name
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PublicDomainDto
|
|
40
|
+
*/
|
|
41
|
+
seller: string | null;
|
|
36
42
|
/**
|
|
37
43
|
* The buy url
|
|
38
44
|
* @type {string}
|
|
@@ -83,6 +89,7 @@ export interface PublicDomainDto {
|
|
|
83
89
|
*/
|
|
84
90
|
export function instanceOfPublicDomainDto(value: object): value is PublicDomainDto {
|
|
85
91
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
92
|
+
if (!('seller' in value) || value['seller'] === undefined) return false;
|
|
86
93
|
if (!('url' in value) || value['url'] === undefined) return false;
|
|
87
94
|
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
88
95
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
@@ -104,6 +111,7 @@ export function PublicDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
104
111
|
return {
|
|
105
112
|
|
|
106
113
|
'id': json['id'],
|
|
114
|
+
'seller': json['seller'],
|
|
107
115
|
'url': json['url'],
|
|
108
116
|
'tld': json['tld'],
|
|
109
117
|
'name': json['name'],
|
|
@@ -126,6 +134,7 @@ export function PublicDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
126
134
|
return {
|
|
127
135
|
|
|
128
136
|
'id': value['id'],
|
|
137
|
+
'seller': value['seller'],
|
|
129
138
|
'url': value['url'],
|
|
130
139
|
'tld': value['tld'],
|
|
131
140
|
'name': value['name'],
|