@randock/nameshift-api-client 0.0.360 → 0.0.362
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/IntersectionDomainDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +4 -0
- package/package.json +1 -1
- package/src/models/DomainSalesInformationDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDto.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.362
|
|
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.362 --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
|
+
0e0877d67cf4c5a3691fe94ec5e6dbf74252e552b57cd58f19e0dce99b0f8e877666eb019e3cd12674359bd833149027
|
|
@@ -123,6 +123,12 @@ export interface DomainSalesInformationDto {
|
|
|
123
123
|
* @memberof DomainSalesInformationDto
|
|
124
124
|
*/
|
|
125
125
|
auctionId: string | null;
|
|
126
|
+
/**
|
|
127
|
+
* The domain "locked" status
|
|
128
|
+
* @type {boolean}
|
|
129
|
+
* @memberof DomainSalesInformationDto
|
|
130
|
+
*/
|
|
131
|
+
locked: boolean;
|
|
126
132
|
/**
|
|
127
133
|
* Lead buyer settings
|
|
128
134
|
* @type {LeadBuyerConfigDto}
|
|
@@ -62,6 +62,8 @@ function instanceOfDomainSalesInformationDto(value) {
|
|
|
62
62
|
return false;
|
|
63
63
|
if (!('auctionId' in value) || value['auctionId'] === undefined)
|
|
64
64
|
return false;
|
|
65
|
+
if (!('locked' in value) || value['locked'] === undefined)
|
|
66
|
+
return false;
|
|
65
67
|
if (!('leadBuyerSettings' in value) || value['leadBuyerSettings'] === undefined)
|
|
66
68
|
return false;
|
|
67
69
|
return true;
|
|
@@ -91,6 +93,7 @@ function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
91
93
|
'seoEnabled': json['seoEnabled'],
|
|
92
94
|
'hasActiveAuction': json['hasActiveAuction'],
|
|
93
95
|
'auctionId': json['auctionId'],
|
|
96
|
+
'locked': json['locked'],
|
|
94
97
|
'leadBuyerSettings': (0, LeadBuyerConfigDto_1.LeadBuyerConfigDtoFromJSON)(json['leadBuyerSettings']),
|
|
95
98
|
};
|
|
96
99
|
}
|
|
@@ -120,6 +123,7 @@ function DomainSalesInformationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
120
123
|
'seoEnabled': value['seoEnabled'],
|
|
121
124
|
'hasActiveAuction': value['hasActiveAuction'],
|
|
122
125
|
'auctionId': value['auctionId'],
|
|
126
|
+
'locked': value['locked'],
|
|
123
127
|
'leadBuyerSettings': (0, LeadBuyerConfigDto_1.LeadBuyerConfigDtoToJSON)(value['leadBuyerSettings']),
|
|
124
128
|
};
|
|
125
129
|
}
|
|
@@ -40,6 +40,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
40
40
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
41
41
|
*/
|
|
42
42
|
hijackerId: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Whether the domain can be deleted
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
47
|
+
*/
|
|
48
|
+
isDeleteable: boolean;
|
|
43
49
|
/**
|
|
44
50
|
* The TLD for this domain.
|
|
45
51
|
* @type {string}
|
|
@@ -35,6 +35,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
39
41
|
return false;
|
|
40
42
|
if (!('verified' in value) || value['verified'] === undefined)
|
|
@@ -88,6 +90,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
|
|
|
88
90
|
'id': json['id'],
|
|
89
91
|
'accountId': json['accountId'],
|
|
90
92
|
'hijackerId': json['hijackerId'],
|
|
93
|
+
'isDeleteable': json['isDeleteable'],
|
|
91
94
|
'tld': json['tld'],
|
|
92
95
|
'verified': json['verified'],
|
|
93
96
|
'nameservers': json['nameservers'],
|
|
@@ -122,6 +125,7 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
|
|
|
122
125
|
'id': value['id'],
|
|
123
126
|
'accountId': value['accountId'],
|
|
124
127
|
'hijackerId': value['hijackerId'],
|
|
128
|
+
'isDeleteable': value['isDeleteable'],
|
|
125
129
|
'tld': value['tld'],
|
|
126
130
|
'verified': value['verified'],
|
|
127
131
|
'nameservers': value['nameservers'],
|
|
@@ -40,6 +40,12 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
|
|
|
40
40
|
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
41
41
|
*/
|
|
42
42
|
hijackerId: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Whether the domain can be deleted
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
47
|
+
*/
|
|
48
|
+
isDeleteable: boolean;
|
|
43
49
|
/**
|
|
44
50
|
* The TLD for this domain.
|
|
45
51
|
* @type {string}
|
|
@@ -35,6 +35,8 @@ function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(value)
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
39
41
|
return false;
|
|
40
42
|
if (!('verified' in value) || value['verified'] === undefined)
|
|
@@ -90,6 +92,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyped(json
|
|
|
90
92
|
'id': json['id'],
|
|
91
93
|
'accountId': json['accountId'],
|
|
92
94
|
'hijackerId': json['hijackerId'],
|
|
95
|
+
'isDeleteable': json['isDeleteable'],
|
|
93
96
|
'tld': json['tld'],
|
|
94
97
|
'verified': json['verified'],
|
|
95
98
|
'nameservers': json['nameservers'],
|
|
@@ -125,6 +128,7 @@ function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped(value,
|
|
|
125
128
|
'id': value['id'],
|
|
126
129
|
'accountId': value['accountId'],
|
|
127
130
|
'hijackerId': value['hijackerId'],
|
|
131
|
+
'isDeleteable': value['isDeleteable'],
|
|
128
132
|
'tld': value['tld'],
|
|
129
133
|
'verified': value['verified'],
|
|
130
134
|
'nameservers': value['nameservers'],
|
|
@@ -40,6 +40,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
40
40
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
41
41
|
*/
|
|
42
42
|
hijackerId: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Whether the domain can be deleted
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
47
|
+
*/
|
|
48
|
+
isDeleteable: boolean;
|
|
43
49
|
/**
|
|
44
50
|
* The TLD for this domain.
|
|
45
51
|
* @type {string}
|
|
@@ -35,6 +35,8 @@ function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
39
41
|
return false;
|
|
40
42
|
if (!('verified' in value) || value['verified'] === undefined)
|
|
@@ -90,6 +92,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(json, i
|
|
|
90
92
|
'id': json['id'],
|
|
91
93
|
'accountId': json['accountId'],
|
|
92
94
|
'hijackerId': json['hijackerId'],
|
|
95
|
+
'isDeleteable': json['isDeleteable'],
|
|
93
96
|
'tld': json['tld'],
|
|
94
97
|
'verified': json['verified'],
|
|
95
98
|
'nameservers': json['nameservers'],
|
|
@@ -125,6 +128,7 @@ function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(value, ig
|
|
|
125
128
|
'id': value['id'],
|
|
126
129
|
'accountId': value['accountId'],
|
|
127
130
|
'hijackerId': value['hijackerId'],
|
|
131
|
+
'isDeleteable': value['isDeleteable'],
|
|
128
132
|
'tld': value['tld'],
|
|
129
133
|
'verified': value['verified'],
|
|
130
134
|
'nameservers': value['nameservers'],
|
|
@@ -40,6 +40,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
|
|
|
40
40
|
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
41
41
|
*/
|
|
42
42
|
hijackerId: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Whether the domain can be deleted
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
47
|
+
*/
|
|
48
|
+
isDeleteable: boolean;
|
|
43
49
|
/**
|
|
44
50
|
* The SEO metrics for this domain
|
|
45
51
|
* @type {SeoMetricsDto}
|
|
@@ -35,6 +35,8 @@ function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value) {
|
|
|
35
35
|
return false;
|
|
36
36
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined)
|
|
37
37
|
return false;
|
|
38
|
+
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined)
|
|
39
|
+
return false;
|
|
38
40
|
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined)
|
|
39
41
|
return false;
|
|
40
42
|
if (!('tld' in value) || value['tld'] === undefined)
|
|
@@ -88,6 +90,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json, ignoreDiscrim
|
|
|
88
90
|
'id': json['id'],
|
|
89
91
|
'accountId': json['accountId'],
|
|
90
92
|
'hijackerId': json['hijackerId'],
|
|
93
|
+
'isDeleteable': json['isDeleteable'],
|
|
91
94
|
'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoFromJSON)(json['seoMetrics']),
|
|
92
95
|
'tld': json['tld'],
|
|
93
96
|
'verified': json['verified'],
|
|
@@ -122,6 +125,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value, ignoreDiscrimi
|
|
|
122
125
|
'id': value['id'],
|
|
123
126
|
'accountId': value['accountId'],
|
|
124
127
|
'hijackerId': value['hijackerId'],
|
|
128
|
+
'isDeleteable': value['isDeleteable'],
|
|
125
129
|
'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoToJSON)(value['seoMetrics']),
|
|
126
130
|
'tld': value['tld'],
|
|
127
131
|
'verified': value['verified'],
|
package/package.json
CHANGED
|
@@ -164,6 +164,12 @@ export interface DomainSalesInformationDto {
|
|
|
164
164
|
* @memberof DomainSalesInformationDto
|
|
165
165
|
*/
|
|
166
166
|
auctionId: string | null;
|
|
167
|
+
/**
|
|
168
|
+
* The domain "locked" status
|
|
169
|
+
* @type {boolean}
|
|
170
|
+
* @memberof DomainSalesInformationDto
|
|
171
|
+
*/
|
|
172
|
+
locked: boolean;
|
|
167
173
|
/**
|
|
168
174
|
* Lead buyer settings
|
|
169
175
|
* @type {LeadBuyerConfigDto}
|
|
@@ -193,6 +199,7 @@ export function instanceOfDomainSalesInformationDto(value: object): value is Dom
|
|
|
193
199
|
if (!('seoEnabled' in value) || value['seoEnabled'] === undefined) return false;
|
|
194
200
|
if (!('hasActiveAuction' in value) || value['hasActiveAuction'] === undefined) return false;
|
|
195
201
|
if (!('auctionId' in value) || value['auctionId'] === undefined) return false;
|
|
202
|
+
if (!('locked' in value) || value['locked'] === undefined) return false;
|
|
196
203
|
if (!('leadBuyerSettings' in value) || value['leadBuyerSettings'] === undefined) return false;
|
|
197
204
|
return true;
|
|
198
205
|
}
|
|
@@ -224,6 +231,7 @@ export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
224
231
|
'seoEnabled': json['seoEnabled'],
|
|
225
232
|
'hasActiveAuction': json['hasActiveAuction'],
|
|
226
233
|
'auctionId': json['auctionId'],
|
|
234
|
+
'locked': json['locked'],
|
|
227
235
|
'leadBuyerSettings': LeadBuyerConfigDtoFromJSON(json['leadBuyerSettings']),
|
|
228
236
|
};
|
|
229
237
|
}
|
|
@@ -256,6 +264,7 @@ export function DomainSalesInformationDtoToJSONTyped(value?: DomainSalesInformat
|
|
|
256
264
|
'seoEnabled': value['seoEnabled'],
|
|
257
265
|
'hasActiveAuction': value['hasActiveAuction'],
|
|
258
266
|
'auctionId': value['auctionId'],
|
|
267
|
+
'locked': value['locked'],
|
|
259
268
|
'leadBuyerSettings': LeadBuyerConfigDtoToJSON(value['leadBuyerSettings']),
|
|
260
269
|
};
|
|
261
270
|
}
|
|
@@ -87,6 +87,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
87
87
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
88
88
|
*/
|
|
89
89
|
hijackerId: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the domain can be deleted
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
94
|
+
*/
|
|
95
|
+
isDeleteable: boolean;
|
|
90
96
|
/**
|
|
91
97
|
* The TLD for this domain.
|
|
92
98
|
* @type {string}
|
|
@@ -217,6 +223,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): va
|
|
|
217
223
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
218
224
|
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
219
225
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
226
|
+
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
|
|
220
227
|
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
221
228
|
if (!('verified' in value) || value['verified'] === undefined) return false;
|
|
222
229
|
if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
|
|
@@ -253,6 +260,7 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
|
|
|
253
260
|
'id': json['id'],
|
|
254
261
|
'accountId': json['accountId'],
|
|
255
262
|
'hijackerId': json['hijackerId'],
|
|
263
|
+
'isDeleteable': json['isDeleteable'],
|
|
256
264
|
'tld': json['tld'],
|
|
257
265
|
'verified': json['verified'],
|
|
258
266
|
'nameservers': json['nameservers'],
|
|
@@ -290,6 +298,7 @@ export function IntersectionDomainDtoWithAccountDtoToJSONTyped(value?: Intersect
|
|
|
290
298
|
'id': value['id'],
|
|
291
299
|
'accountId': value['accountId'],
|
|
292
300
|
'hijackerId': value['hijackerId'],
|
|
301
|
+
'isDeleteable': value['isDeleteable'],
|
|
293
302
|
'tld': value['tld'],
|
|
294
303
|
'verified': value['verified'],
|
|
295
304
|
'nameservers': value['nameservers'],
|
|
@@ -87,6 +87,12 @@ export interface IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto {
|
|
|
87
87
|
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
88
88
|
*/
|
|
89
89
|
hijackerId: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the domain can be deleted
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto
|
|
94
|
+
*/
|
|
95
|
+
isDeleteable: boolean;
|
|
90
96
|
/**
|
|
91
97
|
* The TLD for this domain.
|
|
92
98
|
* @type {string}
|
|
@@ -223,6 +229,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDtoWithAuctionInfoDto(
|
|
|
223
229
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
224
230
|
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
225
231
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
232
|
+
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
|
|
226
233
|
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
227
234
|
if (!('verified' in value) || value['verified'] === undefined) return false;
|
|
228
235
|
if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
|
|
@@ -260,6 +267,7 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoFromJSONTyp
|
|
|
260
267
|
'id': json['id'],
|
|
261
268
|
'accountId': json['accountId'],
|
|
262
269
|
'hijackerId': json['hijackerId'],
|
|
270
|
+
'isDeleteable': json['isDeleteable'],
|
|
263
271
|
'tld': json['tld'],
|
|
264
272
|
'verified': json['verified'],
|
|
265
273
|
'nameservers': json['nameservers'],
|
|
@@ -298,6 +306,7 @@ export function IntersectionDomainDtoWithAccountDtoWithAuctionInfoDtoToJSONTyped
|
|
|
298
306
|
'id': value['id'],
|
|
299
307
|
'accountId': value['accountId'],
|
|
300
308
|
'hijackerId': value['hijackerId'],
|
|
309
|
+
'isDeleteable': value['isDeleteable'],
|
|
301
310
|
'tld': value['tld'],
|
|
302
311
|
'verified': value['verified'],
|
|
303
312
|
'nameservers': value['nameservers'],
|
|
@@ -87,6 +87,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
87
87
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
88
88
|
*/
|
|
89
89
|
hijackerId: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the domain can be deleted
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
94
|
+
*/
|
|
95
|
+
isDeleteable: boolean;
|
|
90
96
|
/**
|
|
91
97
|
* The TLD for this domain.
|
|
92
98
|
* @type {string}
|
|
@@ -223,6 +229,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
|
|
|
223
229
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
224
230
|
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
225
231
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
232
|
+
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
|
|
226
233
|
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
227
234
|
if (!('verified' in value) || value['verified'] === undefined) return false;
|
|
228
235
|
if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
|
|
@@ -260,6 +267,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
|
|
|
260
267
|
'id': json['id'],
|
|
261
268
|
'accountId': json['accountId'],
|
|
262
269
|
'hijackerId': json['hijackerId'],
|
|
270
|
+
'isDeleteable': json['isDeleteable'],
|
|
263
271
|
'tld': json['tld'],
|
|
264
272
|
'verified': json['verified'],
|
|
265
273
|
'nameservers': json['nameservers'],
|
|
@@ -298,6 +306,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(va
|
|
|
298
306
|
'id': value['id'],
|
|
299
307
|
'accountId': value['accountId'],
|
|
300
308
|
'hijackerId': value['hijackerId'],
|
|
309
|
+
'isDeleteable': value['isDeleteable'],
|
|
301
310
|
'tld': value['tld'],
|
|
302
311
|
'verified': value['verified'],
|
|
303
312
|
'nameservers': value['nameservers'],
|
|
@@ -87,6 +87,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
|
|
|
87
87
|
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
88
88
|
*/
|
|
89
89
|
hijackerId: string | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the domain can be deleted
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
94
|
+
*/
|
|
95
|
+
isDeleteable: boolean;
|
|
90
96
|
/**
|
|
91
97
|
* The SEO metrics for this domain
|
|
92
98
|
* @type {SeoMetricsDto}
|
|
@@ -217,6 +223,7 @@ export function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value: object):
|
|
|
217
223
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
218
224
|
if (!('accountId' in value) || value['accountId'] === undefined) return false;
|
|
219
225
|
if (!('hijackerId' in value) || value['hijackerId'] === undefined) return false;
|
|
226
|
+
if (!('isDeleteable' in value) || value['isDeleteable'] === undefined) return false;
|
|
220
227
|
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
|
|
221
228
|
if (!('tld' in value) || value['tld'] === undefined) return false;
|
|
222
229
|
if (!('verified' in value) || value['verified'] === undefined) return false;
|
|
@@ -253,6 +260,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json: any, i
|
|
|
253
260
|
'id': json['id'],
|
|
254
261
|
'accountId': json['accountId'],
|
|
255
262
|
'hijackerId': json['hijackerId'],
|
|
263
|
+
'isDeleteable': json['isDeleteable'],
|
|
256
264
|
'seoMetrics': SeoMetricsDtoFromJSON(json['seoMetrics']),
|
|
257
265
|
'tld': json['tld'],
|
|
258
266
|
'verified': json['verified'],
|
|
@@ -290,6 +298,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value?: Inters
|
|
|
290
298
|
'id': value['id'],
|
|
291
299
|
'accountId': value['accountId'],
|
|
292
300
|
'hijackerId': value['hijackerId'],
|
|
301
|
+
'isDeleteable': value['isDeleteable'],
|
|
293
302
|
'seoMetrics': SeoMetricsDtoToJSON(value['seoMetrics']),
|
|
294
303
|
'tld': value['tld'],
|
|
295
304
|
'verified': value['verified'],
|