@randock/nameshift-api-client 0.0.453 → 0.0.455
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/.openapi-generator/FILES +3 -1
- package/README.md +3 -3
- package/dist/apis/DomainsApi.d.ts +15 -1
- package/dist/apis/DomainsApi.js +68 -0
- package/dist/models/DomainSearchTranslationDto.d.ts +52 -0
- package/dist/models/DomainSearchTranslationDto.js +63 -0
- package/dist/models/{IntersectionDomainDtoWithSeoMetricsDto.d.ts → IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts} +61 -43
- package/dist/models/{IntersectionDomainDtoWithSeoMetricsDto.js → IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js} +30 -15
- package/dist/models/List200Response2.d.ts +3 -3
- package/dist/models/List200Response2.js +3 -3
- package/dist/models/TranslateDomainSearchInput.d.ts +32 -0
- package/dist/models/TranslateDomainSearchInput.js +51 -0
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/package.json +1 -1
- package/src/apis/DomainsApi.ts +65 -0
- package/src/models/DomainSearchTranslationDto.ts +93 -0
- package/src/models/{IntersectionDomainDtoWithSeoMetricsDto.ts → IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts} +67 -45
- package/src/models/List200Response2.ts +10 -10
- package/src/models/TranslateDomainSearchInput.ts +66 -0
- package/src/models/index.ts +3 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -234,6 +234,7 @@ src/models/DomainSalesInformationDto.ts
|
|
|
234
234
|
src/models/DomainSalesInformationDtoLandingPageDesign.ts
|
|
235
235
|
src/models/DomainSalesInformationLeaseToOwnConfigurationDto.ts
|
|
236
236
|
src/models/DomainSalesInformationRentConfigurationDto.ts
|
|
237
|
+
src/models/DomainSearchTranslationDto.ts
|
|
237
238
|
src/models/DomainSellerDto.ts
|
|
238
239
|
src/models/DomainStatsDto.ts
|
|
239
240
|
src/models/DomainTldsDto.ts
|
|
@@ -295,7 +296,7 @@ src/models/HttpException.ts
|
|
|
295
296
|
src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
|
|
296
297
|
src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts
|
|
297
298
|
src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
|
|
298
|
-
src/models/
|
|
299
|
+
src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts
|
|
299
300
|
src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts
|
|
300
301
|
src/models/IntersectionTaskListTaskDto.ts
|
|
301
302
|
src/models/IntersectionTaskListTaskDtoData.ts
|
|
@@ -513,6 +514,7 @@ src/models/TimeTableConfigurationDto.ts
|
|
|
513
514
|
src/models/TimeTableConfigurationInput.ts
|
|
514
515
|
src/models/TopAffiliateSellerDto.ts
|
|
515
516
|
src/models/TopSellerAccountDto.ts
|
|
517
|
+
src/models/TranslateDomainSearchInput.ts
|
|
516
518
|
src/models/UkBankAccountDetails.ts
|
|
517
519
|
src/models/UpdateAccountBillingInformationInput.ts
|
|
518
520
|
src/models/UpdateAccountChallengeRewardBalanceInput.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.455
|
|
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.455 --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
|
+
e00f04d5045aa291525532755871ef2fa554e6641bf016fc32c99f094629535f40c630c15dd8f09551ca109e23e73ba0
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BatchImportPreviewDto, BatchUpdateDomainsInput, BulkUpdateDomainsWithFiltersInput, CheckDomainsNsInput, DeleteDomainsInput, DomainExchangeRateDto, DomainFiltersDto, DomainUrlDto, DomainVerificationStatusDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response2, SellerDomainAffiliateCommissionDto, SellerDomainTransferDto, StartAuctionInput, UpdateDomainInput, UpdateDomainTransferAuthCodeInput, UpdateDomainTransferIpsTagInput } from '../models/index';
|
|
13
|
+
import type { BatchImportPreviewDto, BatchUpdateDomainsInput, BulkUpdateDomainsWithFiltersInput, CheckDomainsNsInput, DeleteDomainsInput, DomainExchangeRateDto, DomainFiltersDto, DomainSearchTranslationDto, DomainUrlDto, DomainVerificationStatusDto, GetAllDomainTransfers200Response, IntersectionDomainDtoWithHijackerDtoWithAccountDto, List200Response2, SellerDomainAffiliateCommissionDto, SellerDomainTransferDto, StartAuctionInput, TranslateDomainSearchInput, UpdateDomainInput, UpdateDomainTransferAuthCodeInput, UpdateDomainTransferIpsTagInput } from '../models/index';
|
|
14
14
|
export interface DomainsApiBatchImportRequest {
|
|
15
15
|
domains?: Array<string>;
|
|
16
16
|
file?: Blob | null;
|
|
@@ -66,6 +66,7 @@ export interface DomainsApiGetDomainUrlRequest {
|
|
|
66
66
|
domainId: string;
|
|
67
67
|
}
|
|
68
68
|
export interface DomainsApiListRequest {
|
|
69
|
+
searchFilter?: string;
|
|
69
70
|
filter?: {
|
|
70
71
|
[key: string]: string;
|
|
71
72
|
};
|
|
@@ -84,6 +85,9 @@ export interface DomainsApiStartAuctionRequest {
|
|
|
84
85
|
domainId: string;
|
|
85
86
|
startAuctionInput: StartAuctionInput;
|
|
86
87
|
}
|
|
88
|
+
export interface DomainsApiTranslateSearchRequest {
|
|
89
|
+
translateDomainSearchInput: TranslateDomainSearchInput;
|
|
90
|
+
}
|
|
87
91
|
export interface DomainsApiUpdateRequest {
|
|
88
92
|
domainId: string;
|
|
89
93
|
updateDomainInput: UpdateDomainInput;
|
|
@@ -290,6 +294,16 @@ export declare class DomainsApi extends runtime.BaseAPI {
|
|
|
290
294
|
* Start domain auction
|
|
291
295
|
*/
|
|
292
296
|
startAuction(requestParameters: DomainsApiStartAuctionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
297
|
+
/**
|
|
298
|
+
* Turns a sentence into a filter over the account\'s own domains, with a plain-language summary of what it means. Single-word queries are name searches and should be handled client-side rather than sent here. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
299
|
+
* Translate a natural-language domain search into a filter
|
|
300
|
+
*/
|
|
301
|
+
translateSearchRaw(requestParameters: DomainsApiTranslateSearchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DomainSearchTranslationDto>>;
|
|
302
|
+
/**
|
|
303
|
+
* Turns a sentence into a filter over the account\'s own domains, with a plain-language summary of what it means. Single-word queries are name searches and should be handled client-side rather than sent here. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
304
|
+
* Translate a natural-language domain search into a filter
|
|
305
|
+
*/
|
|
306
|
+
translateSearch(requestParameters: DomainsApiTranslateSearchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DomainSearchTranslationDto>;
|
|
293
307
|
/**
|
|
294
308
|
* Updates pricing, landing page, and other settings for a single domain. **API key scope required:** `DOMAINS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
295
309
|
* Update domain
|
package/dist/apis/DomainsApi.js
CHANGED
|
@@ -1203,6 +1203,9 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
1203
1203
|
switch (_c.label) {
|
|
1204
1204
|
case 0:
|
|
1205
1205
|
queryParameters = {};
|
|
1206
|
+
if (requestParameters['searchFilter'] != null) {
|
|
1207
|
+
queryParameters['searchFilter'] = requestParameters['searchFilter'];
|
|
1208
|
+
}
|
|
1206
1209
|
if (requestParameters['filter'] != null) {
|
|
1207
1210
|
queryParameters['filter'] = requestParameters['filter'];
|
|
1208
1211
|
}
|
|
@@ -1352,6 +1355,71 @@ var DomainsApi = /** @class */ (function (_super) {
|
|
|
1352
1355
|
});
|
|
1353
1356
|
});
|
|
1354
1357
|
};
|
|
1358
|
+
/**
|
|
1359
|
+
* Turns a sentence into a filter over the account\'s own domains, with a plain-language summary of what it means. Single-word queries are name searches and should be handled client-side rather than sent here. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
1360
|
+
* Translate a natural-language domain search into a filter
|
|
1361
|
+
*/
|
|
1362
|
+
DomainsApi.prototype.translateSearchRaw = function (requestParameters, initOverrides) {
|
|
1363
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1364
|
+
var queryParameters, headerParameters, _a, _b, token, tokenString, response;
|
|
1365
|
+
return __generator(this, function (_c) {
|
|
1366
|
+
switch (_c.label) {
|
|
1367
|
+
case 0:
|
|
1368
|
+
if (requestParameters['translateDomainSearchInput'] == null) {
|
|
1369
|
+
throw new runtime.RequiredError('translateDomainSearchInput', 'Required parameter "translateDomainSearchInput" was null or undefined when calling translateSearch().');
|
|
1370
|
+
}
|
|
1371
|
+
queryParameters = {};
|
|
1372
|
+
headerParameters = {};
|
|
1373
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1374
|
+
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
1375
|
+
_a = headerParameters;
|
|
1376
|
+
_b = "apikey";
|
|
1377
|
+
return [4 /*yield*/, this.configuration.apiKey("apikey")];
|
|
1378
|
+
case 1:
|
|
1379
|
+
_a[_b] = _c.sent(); // api_key authentication
|
|
1380
|
+
_c.label = 2;
|
|
1381
|
+
case 2:
|
|
1382
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 4];
|
|
1383
|
+
token = this.configuration.accessToken;
|
|
1384
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
1385
|
+
case 3:
|
|
1386
|
+
tokenString = _c.sent();
|
|
1387
|
+
if (tokenString) {
|
|
1388
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
1389
|
+
}
|
|
1390
|
+
_c.label = 4;
|
|
1391
|
+
case 4: return [4 /*yield*/, this.request({
|
|
1392
|
+
path: "/private/domains/search/translate",
|
|
1393
|
+
method: 'POST',
|
|
1394
|
+
headers: headerParameters,
|
|
1395
|
+
query: queryParameters,
|
|
1396
|
+
body: (0, index_1.TranslateDomainSearchInputToJSON)(requestParameters['translateDomainSearchInput']),
|
|
1397
|
+
}, initOverrides)];
|
|
1398
|
+
case 5:
|
|
1399
|
+
response = _c.sent();
|
|
1400
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.DomainSearchTranslationDtoFromJSON)(jsonValue); })];
|
|
1401
|
+
}
|
|
1402
|
+
});
|
|
1403
|
+
});
|
|
1404
|
+
};
|
|
1405
|
+
/**
|
|
1406
|
+
* Turns a sentence into a filter over the account\'s own domains, with a plain-language summary of what it means. Single-word queries are name searches and should be handled client-side rather than sent here. **API key scope required:** `DOMAINS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
1407
|
+
* Translate a natural-language domain search into a filter
|
|
1408
|
+
*/
|
|
1409
|
+
DomainsApi.prototype.translateSearch = function (requestParameters, initOverrides) {
|
|
1410
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1411
|
+
var response;
|
|
1412
|
+
return __generator(this, function (_a) {
|
|
1413
|
+
switch (_a.label) {
|
|
1414
|
+
case 0: return [4 /*yield*/, this.translateSearchRaw(requestParameters, initOverrides)];
|
|
1415
|
+
case 1:
|
|
1416
|
+
response = _a.sent();
|
|
1417
|
+
return [4 /*yield*/, response.value()];
|
|
1418
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
1419
|
+
}
|
|
1420
|
+
});
|
|
1421
|
+
});
|
|
1422
|
+
};
|
|
1355
1423
|
/**
|
|
1356
1424
|
* Updates pricing, landing page, and other settings for a single domain. **API key scope required:** `DOMAINS_WRITE`. Requests authenticated with a seller session do not need any scope.
|
|
1357
1425
|
* Update domain
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DomainSearchTranslationDto
|
|
16
|
+
*/
|
|
17
|
+
export interface DomainSearchTranslationDto {
|
|
18
|
+
/**
|
|
19
|
+
* False when the request could not be expressed as a filter. The filter is empty in that case and must not be applied — show the summary instead.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof DomainSearchTranslationDto
|
|
22
|
+
*/
|
|
23
|
+
understood: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Opaque filter to send back on the domain list request. Its shape is an implementation detail and may change; clients should pass it through unmodified rather than reading it.
|
|
26
|
+
* @type {{ [key: string]: any; }}
|
|
27
|
+
* @memberof DomainSearchTranslationDto
|
|
28
|
+
*/
|
|
29
|
+
filter: {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* One sentence describing what is being shown, for display above the results.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof DomainSearchTranslationDto
|
|
36
|
+
*/
|
|
37
|
+
summary: string;
|
|
38
|
+
/**
|
|
39
|
+
* Parts of the request that could not be expressed as a filter. Empty when everything was.
|
|
40
|
+
* @type {Array<string>}
|
|
41
|
+
* @memberof DomainSearchTranslationDto
|
|
42
|
+
*/
|
|
43
|
+
unresolved: Array<string>;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the DomainSearchTranslationDto interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfDomainSearchTranslationDto(value: object): value is DomainSearchTranslationDto;
|
|
49
|
+
export declare function DomainSearchTranslationDtoFromJSON(json: any): DomainSearchTranslationDto;
|
|
50
|
+
export declare function DomainSearchTranslationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSearchTranslationDto;
|
|
51
|
+
export declare function DomainSearchTranslationDtoToJSON(json: any): DomainSearchTranslationDto;
|
|
52
|
+
export declare function DomainSearchTranslationDtoToJSONTyped(value?: DomainSearchTranslationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfDomainSearchTranslationDto = instanceOfDomainSearchTranslationDto;
|
|
17
|
+
exports.DomainSearchTranslationDtoFromJSON = DomainSearchTranslationDtoFromJSON;
|
|
18
|
+
exports.DomainSearchTranslationDtoFromJSONTyped = DomainSearchTranslationDtoFromJSONTyped;
|
|
19
|
+
exports.DomainSearchTranslationDtoToJSON = DomainSearchTranslationDtoToJSON;
|
|
20
|
+
exports.DomainSearchTranslationDtoToJSONTyped = DomainSearchTranslationDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DomainSearchTranslationDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDomainSearchTranslationDto(value) {
|
|
25
|
+
if (!('understood' in value) || value['understood'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('filter' in value) || value['filter'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('summary' in value) || value['summary'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('unresolved' in value) || value['unresolved'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function DomainSearchTranslationDtoFromJSON(json) {
|
|
36
|
+
return DomainSearchTranslationDtoFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function DomainSearchTranslationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'understood': json['understood'],
|
|
44
|
+
'filter': json['filter'],
|
|
45
|
+
'summary': json['summary'],
|
|
46
|
+
'unresolved': json['unresolved'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function DomainSearchTranslationDtoToJSON(json) {
|
|
50
|
+
return DomainSearchTranslationDtoToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function DomainSearchTranslationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'understood': value['understood'],
|
|
59
|
+
'filter': value['filter'],
|
|
60
|
+
'summary': value['summary'],
|
|
61
|
+
'unresolved': value['unresolved'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -19,206 +19,224 @@ import type { DomainLeadPriceNegotiatorAiAgentConfigurationDto } from './DomainL
|
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
21
|
* @export
|
|
22
|
-
* @interface
|
|
22
|
+
* @interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
23
23
|
*/
|
|
24
|
-
export interface
|
|
24
|
+
export interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
|
|
25
25
|
/**
|
|
26
26
|
* Unique identifier of the domain.
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
29
29
|
*/
|
|
30
30
|
id: string;
|
|
31
31
|
/**
|
|
32
32
|
* Account ID of the domain owner.
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
35
35
|
*/
|
|
36
36
|
accountId: string;
|
|
37
37
|
/**
|
|
38
38
|
* Account ID of the hijacker managing the domain on behalf of the owner, if any.
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
41
41
|
*/
|
|
42
42
|
hijackerId: string | null;
|
|
43
43
|
/**
|
|
44
44
|
* Top-level domain suffix (e.g. com, nl).
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
47
47
|
*/
|
|
48
48
|
tld: string;
|
|
49
49
|
/**
|
|
50
50
|
* Whether the domain ownership is verified by the owner (via NS3 or TXT record).
|
|
51
51
|
* @type {boolean}
|
|
52
|
-
* @memberof
|
|
52
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
53
53
|
*/
|
|
54
54
|
verified: boolean;
|
|
55
55
|
/**
|
|
56
56
|
* Whether the required nameservers (NS1, NS2) are configured.
|
|
57
57
|
* @type {boolean}
|
|
58
|
-
* @memberof
|
|
58
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
59
59
|
*/
|
|
60
60
|
nameservers: boolean;
|
|
61
61
|
/**
|
|
62
62
|
* Timestamp of the last nameserver verification check.
|
|
63
63
|
* @type {Date}
|
|
64
|
-
* @memberof
|
|
64
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
65
65
|
*/
|
|
66
66
|
nameserversUpdatedAt: Date | null;
|
|
67
67
|
/**
|
|
68
68
|
* Whether the domain currently points to the platform server.
|
|
69
69
|
* @type {boolean}
|
|
70
|
-
* @memberof
|
|
70
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
71
71
|
*/
|
|
72
72
|
pointsToOurServer: boolean | null;
|
|
73
73
|
/**
|
|
74
74
|
* Timestamp of the last check whether the domain points to the platform server.
|
|
75
75
|
* @type {Date}
|
|
76
|
-
* @memberof
|
|
76
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
77
77
|
*/
|
|
78
78
|
pointsToOurServerUpdatedAt: Date | null;
|
|
79
79
|
/**
|
|
80
80
|
* ASCII punycode domain name (e.g. example.com, xn--maana-pta.com).
|
|
81
81
|
* @type {string}
|
|
82
|
-
* @memberof
|
|
82
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
83
83
|
*/
|
|
84
84
|
name: string;
|
|
85
85
|
/**
|
|
86
86
|
* Unicode display domain name (e.g. example.com, mañana.com).
|
|
87
87
|
* @type {string}
|
|
88
|
-
* @memberof
|
|
88
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
89
89
|
*/
|
|
90
90
|
displayName: string;
|
|
91
91
|
/**
|
|
92
92
|
* ISO 4217 currency code used for domain pricing.
|
|
93
93
|
* @type {string}
|
|
94
|
-
* @memberof
|
|
94
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
95
95
|
*/
|
|
96
96
|
currencyCode: string;
|
|
97
97
|
/**
|
|
98
98
|
* Buy-it-now (BIN) price for immediate purchase.
|
|
99
99
|
* @type {MoneyDto}
|
|
100
|
-
* @memberof
|
|
100
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
101
101
|
*/
|
|
102
102
|
buyNow: MoneyDto;
|
|
103
103
|
/**
|
|
104
104
|
* Lease-to-own payment plan configuration.
|
|
105
105
|
* @type {LeaseToOwnConfigurationDto}
|
|
106
|
-
* @memberof
|
|
106
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
107
107
|
*/
|
|
108
108
|
leaseToOwn: LeaseToOwnConfigurationDto;
|
|
109
109
|
/**
|
|
110
110
|
* Monthly rent subscription configuration.
|
|
111
111
|
* @type {RentConfigurationDto}
|
|
112
|
-
* @memberof
|
|
112
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
113
113
|
*/
|
|
114
114
|
rent: RentConfigurationDto;
|
|
115
115
|
/**
|
|
116
116
|
* Public landing page display and lead capture settings.
|
|
117
117
|
* @type {LandingPageSettingsDto}
|
|
118
|
-
* @memberof
|
|
118
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
119
119
|
*/
|
|
120
120
|
landingPageSettings: LandingPageSettingsDto;
|
|
121
121
|
/**
|
|
122
122
|
* Minimum offer amount buyers may submit.
|
|
123
123
|
* @type {MoneyDto}
|
|
124
|
-
* @memberof
|
|
124
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
125
125
|
*/
|
|
126
126
|
minOffer: MoneyDto;
|
|
127
127
|
/**
|
|
128
128
|
* Timestamp when the domain was created in the platform.
|
|
129
129
|
* @type {Date}
|
|
130
|
-
* @memberof
|
|
130
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
131
131
|
*/
|
|
132
132
|
createdAt: Date;
|
|
133
133
|
/**
|
|
134
134
|
* Timestamp when the domain was deleted, if applicable.
|
|
135
135
|
* @type {Date}
|
|
136
|
-
* @memberof
|
|
136
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
137
137
|
*/
|
|
138
138
|
deletedAt: Date | null;
|
|
139
139
|
/**
|
|
140
140
|
* Total pageviews tracked for this domain, or zero if none are tracked.
|
|
141
141
|
* @type {number}
|
|
142
|
-
* @memberof
|
|
142
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
143
143
|
*/
|
|
144
144
|
pageviews: number;
|
|
145
145
|
/**
|
|
146
146
|
* Whether third-party sales data sharing is enabled for this domain.
|
|
147
147
|
* @type {boolean}
|
|
148
|
-
* @memberof
|
|
148
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
149
149
|
*/
|
|
150
150
|
allowThirdPartySalesDataSharing: boolean | null;
|
|
151
151
|
/**
|
|
152
152
|
* Per-domain AI price negotiator agent configuration.
|
|
153
153
|
* @type {DomainLeadPriceNegotiatorAiAgentConfigurationDto}
|
|
154
|
-
* @memberof
|
|
154
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
155
155
|
*/
|
|
156
156
|
leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
|
|
157
157
|
/**
|
|
158
158
|
* Active or most recent auction details, when present.
|
|
159
159
|
* @type {DomainAuctionDto}
|
|
160
|
-
* @memberof
|
|
160
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
161
161
|
*/
|
|
162
162
|
auction: DomainAuctionDto | null;
|
|
163
163
|
/**
|
|
164
164
|
* Fee charged to the seller for running a paid auction.
|
|
165
165
|
* @type {MoneyDto}
|
|
166
|
-
* @memberof
|
|
166
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
167
167
|
*/
|
|
168
168
|
paidAuctionPrice: MoneyDto;
|
|
169
169
|
/**
|
|
170
170
|
* Whether the domain currently has an accepted lead.
|
|
171
171
|
* @type {boolean}
|
|
172
|
-
* @memberof
|
|
172
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
173
173
|
*/
|
|
174
174
|
hasAcceptedLead: boolean;
|
|
175
175
|
/**
|
|
176
176
|
* Whether a new auction can be created for this domain.
|
|
177
177
|
* @type {boolean}
|
|
178
|
-
* @memberof
|
|
178
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
179
179
|
*/
|
|
180
180
|
canCreateAuction: boolean;
|
|
181
181
|
/**
|
|
182
182
|
* Whether the domain can be deleted by the seller.
|
|
183
183
|
* @type {boolean}
|
|
184
|
-
* @memberof
|
|
184
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
185
185
|
*/
|
|
186
186
|
isDeleteable: boolean;
|
|
187
187
|
/**
|
|
188
188
|
* Whether the domain is currently locked from other sales.
|
|
189
189
|
* @type {boolean}
|
|
190
|
-
* @memberof
|
|
190
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
191
191
|
*/
|
|
192
192
|
isLocked: boolean;
|
|
193
193
|
/**
|
|
194
194
|
* End date of the current continuous lock period, or null if not locked.
|
|
195
195
|
* @type {Date}
|
|
196
|
-
* @memberof
|
|
196
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
197
197
|
*/
|
|
198
198
|
lockedUntil: Date | null;
|
|
199
199
|
/**
|
|
200
200
|
* Whether an admin picked this domain for the public showcase on the website.
|
|
201
201
|
* @type {boolean}
|
|
202
|
-
* @memberof
|
|
202
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
203
203
|
*/
|
|
204
204
|
showcased: boolean;
|
|
205
205
|
/**
|
|
206
206
|
* Marketplace this domain resolves to on our nameservers, overriding the account default. Null means the account default applies; "nameshift" means the domain opts out of it and stays on our own landing page.
|
|
207
207
|
* @type {string}
|
|
208
|
-
* @memberof
|
|
208
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
209
209
|
*/
|
|
210
|
-
marketplace:
|
|
210
|
+
marketplace: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum | null;
|
|
211
211
|
/**
|
|
212
212
|
* SEO metrics for the domain from Moz, Majestic, and historical sources.
|
|
213
213
|
* @type {SeoMetricsDto}
|
|
214
|
-
* @memberof
|
|
214
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
215
215
|
*/
|
|
216
216
|
seoMetrics: SeoMetricsDto | null;
|
|
217
|
+
/**
|
|
218
|
+
* Marketplace this domain resolves to with the account default already applied, so a consumer never has to combine the two. Null means we serve the domain ourselves, whether it inherited that or opted out of a default with "nameshift".
|
|
219
|
+
* @type {string}
|
|
220
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
221
|
+
*/
|
|
222
|
+
routedTo: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum | null;
|
|
217
223
|
}
|
|
218
224
|
/**
|
|
219
225
|
* @export
|
|
220
226
|
*/
|
|
221
|
-
export declare const
|
|
227
|
+
export declare const IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum: {
|
|
228
|
+
readonly NAMESHIFT: "nameshift";
|
|
229
|
+
readonly SEDO: "sedo";
|
|
230
|
+
readonly AFTERNIC: "afternic";
|
|
231
|
+
readonly ATOM: "atom";
|
|
232
|
+
readonly SPACESHIP: "spaceship";
|
|
233
|
+
readonly NAMECLUB: "nameclub";
|
|
234
|
+
};
|
|
235
|
+
export type IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum = typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum[keyof typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoMarketplaceEnum];
|
|
236
|
+
/**
|
|
237
|
+
* @export
|
|
238
|
+
*/
|
|
239
|
+
export declare const IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum: {
|
|
222
240
|
readonly NAMESHIFT: "nameshift";
|
|
223
241
|
readonly SEDO: "sedo";
|
|
224
242
|
readonly AFTERNIC: "afternic";
|
|
@@ -226,12 +244,12 @@ export declare const IntersectionDomainDtoWithSeoMetricsDtoMarketplaceEnum: {
|
|
|
226
244
|
readonly SPACESHIP: "spaceship";
|
|
227
245
|
readonly NAMECLUB: "nameclub";
|
|
228
246
|
};
|
|
229
|
-
export type
|
|
247
|
+
export type IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum = typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum[keyof typeof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum];
|
|
230
248
|
/**
|
|
231
|
-
* Check if a given object implements the
|
|
249
|
+
* Check if a given object implements the IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto interface.
|
|
232
250
|
*/
|
|
233
|
-
export declare function
|
|
234
|
-
export declare function
|
|
235
|
-
export declare function
|
|
236
|
-
export declare function
|
|
237
|
-
export declare function
|
|
251
|
+
export declare function instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto(value: object): value is IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto;
|
|
252
|
+
export declare function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSON(json: any): IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto;
|
|
253
|
+
export declare function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto;
|
|
254
|
+
export declare function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON(json: any): IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto;
|
|
255
|
+
export declare function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(value?: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto | null, ignoreDiscriminator?: boolean): any;
|