@randock/nameshift-api-client 0.0.468 → 0.0.470
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 +2 -0
- package/README.md +3 -3
- package/dist/models/LeadEnrichmentCompanyDto.d.ts +31 -1
- package/dist/models/LeadEnrichmentCompanyDto.js +23 -3
- package/dist/models/LeadEnrichmentDomainDto.d.ts +6 -0
- package/dist/models/LeadEnrichmentDomainDto.js +4 -0
- package/dist/models/LeadEnrichmentDomainFactsDto.d.ts +72 -0
- package/dist/models/LeadEnrichmentDomainFactsDto.js +81 -0
- package/dist/models/LeadEnrichmentDomainVariantDto.d.ts +0 -6
- package/dist/models/LeadEnrichmentDomainVariantDto.js +0 -4
- package/dist/models/LeadEnrichmentDto.d.ts +26 -0
- package/dist/models/LeadEnrichmentDto.js +18 -0
- package/dist/models/LeadEnrichmentEmailDto.d.ts +6 -0
- package/dist/models/LeadEnrichmentEmailDto.js +4 -0
- package/dist/models/LeadEnrichmentIpDto.d.ts +18 -0
- package/dist/models/LeadEnrichmentIpDto.js +12 -0
- package/dist/models/LeadEnrichmentNamesakeDto.d.ts +68 -0
- package/dist/models/LeadEnrichmentNamesakeDto.js +75 -0
- package/dist/models/LeadEnrichmentPersonDto.d.ts +6 -0
- package/dist/models/LeadEnrichmentPersonDto.js +4 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/models/LeadEnrichmentCompanyDto.ts +49 -4
- package/src/models/LeadEnrichmentDomainDto.ts +9 -0
- package/src/models/LeadEnrichmentDomainFactsDto.ts +124 -0
- package/src/models/LeadEnrichmentDomainVariantDto.ts +0 -9
- package/src/models/LeadEnrichmentDto.ts +50 -0
- package/src/models/LeadEnrichmentEmailDto.ts +9 -0
- package/src/models/LeadEnrichmentIpDto.ts +27 -0
- package/src/models/LeadEnrichmentNamesakeDto.ts +120 -0
- package/src/models/LeadEnrichmentPersonDto.ts +9 -0
- package/src/models/index.ts +2 -0
|
@@ -0,0 +1,68 @@
|
|
|
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 LeadEnrichmentNamesakeDto
|
|
16
|
+
*/
|
|
17
|
+
export interface LeadEnrichmentNamesakeDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LeadEnrichmentNamesakeDto
|
|
22
|
+
*/
|
|
23
|
+
status: string;
|
|
24
|
+
/**
|
|
25
|
+
* The registrable label the record is keyed by ("detheepot").
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LeadEnrichmentNamesakeDto
|
|
28
|
+
*/
|
|
29
|
+
label: string;
|
|
30
|
+
/**
|
|
31
|
+
* Register name that conservatively matched the label.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LeadEnrichmentNamesakeDto
|
|
34
|
+
*/
|
|
35
|
+
companyName: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof LeadEnrichmentNamesakeDto
|
|
40
|
+
*/
|
|
41
|
+
registryId: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof LeadEnrichmentNamesakeDto
|
|
46
|
+
*/
|
|
47
|
+
countryCode: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof LeadEnrichmentNamesakeDto
|
|
52
|
+
*/
|
|
53
|
+
leiCode: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* When this record was last enriched.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof LeadEnrichmentNamesakeDto
|
|
58
|
+
*/
|
|
59
|
+
enrichedAt: string | null;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the LeadEnrichmentNamesakeDto interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfLeadEnrichmentNamesakeDto(value: object): value is LeadEnrichmentNamesakeDto;
|
|
65
|
+
export declare function LeadEnrichmentNamesakeDtoFromJSON(json: any): LeadEnrichmentNamesakeDto;
|
|
66
|
+
export declare function LeadEnrichmentNamesakeDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentNamesakeDto;
|
|
67
|
+
export declare function LeadEnrichmentNamesakeDtoToJSON(json: any): LeadEnrichmentNamesakeDto;
|
|
68
|
+
export declare function LeadEnrichmentNamesakeDtoToJSONTyped(value?: LeadEnrichmentNamesakeDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,75 @@
|
|
|
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.instanceOfLeadEnrichmentNamesakeDto = instanceOfLeadEnrichmentNamesakeDto;
|
|
17
|
+
exports.LeadEnrichmentNamesakeDtoFromJSON = LeadEnrichmentNamesakeDtoFromJSON;
|
|
18
|
+
exports.LeadEnrichmentNamesakeDtoFromJSONTyped = LeadEnrichmentNamesakeDtoFromJSONTyped;
|
|
19
|
+
exports.LeadEnrichmentNamesakeDtoToJSON = LeadEnrichmentNamesakeDtoToJSON;
|
|
20
|
+
exports.LeadEnrichmentNamesakeDtoToJSONTyped = LeadEnrichmentNamesakeDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LeadEnrichmentNamesakeDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLeadEnrichmentNamesakeDto(value) {
|
|
25
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('label' in value) || value['label'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('companyName' in value) || value['companyName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('registryId' in value) || value['registryId'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('countryCode' in value) || value['countryCode'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('leiCode' in value) || value['leiCode'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('enrichedAt' in value) || value['enrichedAt'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function LeadEnrichmentNamesakeDtoFromJSON(json) {
|
|
42
|
+
return LeadEnrichmentNamesakeDtoFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function LeadEnrichmentNamesakeDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'status': json['status'],
|
|
50
|
+
'label': json['label'],
|
|
51
|
+
'companyName': json['companyName'],
|
|
52
|
+
'registryId': json['registryId'],
|
|
53
|
+
'countryCode': json['countryCode'],
|
|
54
|
+
'leiCode': json['leiCode'],
|
|
55
|
+
'enrichedAt': json['enrichedAt'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function LeadEnrichmentNamesakeDtoToJSON(json) {
|
|
59
|
+
return LeadEnrichmentNamesakeDtoToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function LeadEnrichmentNamesakeDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
62
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
'status': value['status'],
|
|
68
|
+
'label': value['label'],
|
|
69
|
+
'companyName': value['companyName'],
|
|
70
|
+
'registryId': value['registryId'],
|
|
71
|
+
'countryCode': value['countryCode'],
|
|
72
|
+
'leiCode': value['leiCode'],
|
|
73
|
+
'enrichedAt': value['enrichedAt'],
|
|
74
|
+
};
|
|
75
|
+
}
|
|
@@ -46,6 +46,12 @@ export interface LeadEnrichmentPersonDto {
|
|
|
46
46
|
* @memberof LeadEnrichmentPersonDto
|
|
47
47
|
*/
|
|
48
48
|
webResults: Array<LeadEnrichmentWebResultDto>;
|
|
49
|
+
/**
|
|
50
|
+
* When this record was last enriched.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof LeadEnrichmentPersonDto
|
|
53
|
+
*/
|
|
54
|
+
enrichedAt: string | null;
|
|
49
55
|
}
|
|
50
56
|
/**
|
|
51
57
|
* @export
|
|
@@ -45,6 +45,8 @@ function instanceOfLeadEnrichmentPersonDto(value) {
|
|
|
45
45
|
return false;
|
|
46
46
|
if (!('webResults' in value) || value['webResults'] === undefined)
|
|
47
47
|
return false;
|
|
48
|
+
if (!('enrichedAt' in value) || value['enrichedAt'] === undefined)
|
|
49
|
+
return false;
|
|
48
50
|
return true;
|
|
49
51
|
}
|
|
50
52
|
function LeadEnrichmentPersonDtoFromJSON(json) {
|
|
@@ -60,6 +62,7 @@ function LeadEnrichmentPersonDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
62
|
'statedCompany': json['statedCompany'],
|
|
61
63
|
'webSummary': json['webSummary'],
|
|
62
64
|
'webResults': (json['webResults'].map(LeadEnrichmentWebResultDto_1.LeadEnrichmentWebResultDtoFromJSON)),
|
|
65
|
+
'enrichedAt': json['enrichedAt'],
|
|
63
66
|
};
|
|
64
67
|
}
|
|
65
68
|
function LeadEnrichmentPersonDtoToJSON(json) {
|
|
@@ -76,5 +79,6 @@ function LeadEnrichmentPersonDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
76
79
|
'statedCompany': value['statedCompany'],
|
|
77
80
|
'webSummary': value['webSummary'],
|
|
78
81
|
'webResults': (value['webResults'].map(LeadEnrichmentWebResultDto_1.LeadEnrichmentWebResultDtoToJSON)),
|
|
82
|
+
'enrichedAt': value['enrichedAt'],
|
|
79
83
|
};
|
|
80
84
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -295,10 +295,12 @@ export * from './LeadDto';
|
|
|
295
295
|
export * from './LeadEnrichmentActivityDto';
|
|
296
296
|
export * from './LeadEnrichmentCompanyDto';
|
|
297
297
|
export * from './LeadEnrichmentDomainDto';
|
|
298
|
+
export * from './LeadEnrichmentDomainFactsDto';
|
|
298
299
|
export * from './LeadEnrichmentDomainVariantDto';
|
|
299
300
|
export * from './LeadEnrichmentDto';
|
|
300
301
|
export * from './LeadEnrichmentEmailDto';
|
|
301
302
|
export * from './LeadEnrichmentIpDto';
|
|
303
|
+
export * from './LeadEnrichmentNamesakeDto';
|
|
302
304
|
export * from './LeadEnrichmentOfferDto';
|
|
303
305
|
export * from './LeadEnrichmentPersonDto';
|
|
304
306
|
export * from './LeadEnrichmentVisitedDomainDto';
|
package/dist/models/index.js
CHANGED
|
@@ -313,10 +313,12 @@ __exportStar(require("./LeadDto"), exports);
|
|
|
313
313
|
__exportStar(require("./LeadEnrichmentActivityDto"), exports);
|
|
314
314
|
__exportStar(require("./LeadEnrichmentCompanyDto"), exports);
|
|
315
315
|
__exportStar(require("./LeadEnrichmentDomainDto"), exports);
|
|
316
|
+
__exportStar(require("./LeadEnrichmentDomainFactsDto"), exports);
|
|
316
317
|
__exportStar(require("./LeadEnrichmentDomainVariantDto"), exports);
|
|
317
318
|
__exportStar(require("./LeadEnrichmentDto"), exports);
|
|
318
319
|
__exportStar(require("./LeadEnrichmentEmailDto"), exports);
|
|
319
320
|
__exportStar(require("./LeadEnrichmentIpDto"), exports);
|
|
321
|
+
__exportStar(require("./LeadEnrichmentNamesakeDto"), exports);
|
|
320
322
|
__exportStar(require("./LeadEnrichmentOfferDto"), exports);
|
|
321
323
|
__exportStar(require("./LeadEnrichmentPersonDto"), exports);
|
|
322
324
|
__exportStar(require("./LeadEnrichmentVisitedDomainDto"), exports);
|
package/package.json
CHANGED
|
@@ -43,6 +43,30 @@ export interface LeadEnrichmentCompanyDto {
|
|
|
43
43
|
* @memberof LeadEnrichmentCompanyDto
|
|
44
44
|
*/
|
|
45
45
|
countryCode: string | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
50
|
+
*/
|
|
51
|
+
industry: string | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
56
|
+
*/
|
|
57
|
+
employeeRange: string | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
62
|
+
*/
|
|
63
|
+
revenueRange: string | null;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
68
|
+
*/
|
|
69
|
+
foundedYear: number | null;
|
|
46
70
|
/**
|
|
47
71
|
*
|
|
48
72
|
* @type {string}
|
|
@@ -60,7 +84,13 @@ export interface LeadEnrichmentCompanyDto {
|
|
|
60
84
|
* @type {string}
|
|
61
85
|
* @memberof LeadEnrichmentCompanyDto
|
|
62
86
|
*/
|
|
63
|
-
|
|
87
|
+
leiCode: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* When this record was last enriched.
|
|
90
|
+
* @type {string}
|
|
91
|
+
* @memberof LeadEnrichmentCompanyDto
|
|
92
|
+
*/
|
|
93
|
+
enrichedAt: string | null;
|
|
64
94
|
}
|
|
65
95
|
|
|
66
96
|
/**
|
|
@@ -71,9 +101,14 @@ export function instanceOfLeadEnrichmentCompanyDto(value: object): value is Lead
|
|
|
71
101
|
if (!('legalName' in value) || value['legalName'] === undefined) return false;
|
|
72
102
|
if (!('tradeName' in value) || value['tradeName'] === undefined) return false;
|
|
73
103
|
if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
|
|
104
|
+
if (!('industry' in value) || value['industry'] === undefined) return false;
|
|
105
|
+
if (!('employeeRange' in value) || value['employeeRange'] === undefined) return false;
|
|
106
|
+
if (!('revenueRange' in value) || value['revenueRange'] === undefined) return false;
|
|
107
|
+
if (!('foundedYear' in value) || value['foundedYear'] === undefined) return false;
|
|
74
108
|
if (!('vatId' in value) || value['vatId'] === undefined) return false;
|
|
75
109
|
if (!('registryId' in value) || value['registryId'] === undefined) return false;
|
|
76
|
-
if (!('
|
|
110
|
+
if (!('leiCode' in value) || value['leiCode'] === undefined) return false;
|
|
111
|
+
if (!('enrichedAt' in value) || value['enrichedAt'] === undefined) return false;
|
|
77
112
|
return true;
|
|
78
113
|
}
|
|
79
114
|
|
|
@@ -91,9 +126,14 @@ export function LeadEnrichmentCompanyDtoFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
91
126
|
'legalName': json['legalName'],
|
|
92
127
|
'tradeName': json['tradeName'],
|
|
93
128
|
'countryCode': json['countryCode'],
|
|
129
|
+
'industry': json['industry'],
|
|
130
|
+
'employeeRange': json['employeeRange'],
|
|
131
|
+
'revenueRange': json['revenueRange'],
|
|
132
|
+
'foundedYear': json['foundedYear'],
|
|
94
133
|
'vatId': json['vatId'],
|
|
95
134
|
'registryId': json['registryId'],
|
|
96
|
-
'
|
|
135
|
+
'leiCode': json['leiCode'],
|
|
136
|
+
'enrichedAt': json['enrichedAt'],
|
|
97
137
|
};
|
|
98
138
|
}
|
|
99
139
|
|
|
@@ -112,9 +152,14 @@ export function LeadEnrichmentCompanyDtoToJSONTyped(value?: LeadEnrichmentCompan
|
|
|
112
152
|
'legalName': value['legalName'],
|
|
113
153
|
'tradeName': value['tradeName'],
|
|
114
154
|
'countryCode': value['countryCode'],
|
|
155
|
+
'industry': value['industry'],
|
|
156
|
+
'employeeRange': value['employeeRange'],
|
|
157
|
+
'revenueRange': value['revenueRange'],
|
|
158
|
+
'foundedYear': value['foundedYear'],
|
|
115
159
|
'vatId': value['vatId'],
|
|
116
160
|
'registryId': value['registryId'],
|
|
117
|
-
'
|
|
161
|
+
'leiCode': value['leiCode'],
|
|
162
|
+
'enrichedAt': value['enrichedAt'],
|
|
118
163
|
};
|
|
119
164
|
}
|
|
120
165
|
|
|
@@ -39,6 +39,12 @@ export interface LeadEnrichmentDomainDto {
|
|
|
39
39
|
* @memberof LeadEnrichmentDomainDto
|
|
40
40
|
*/
|
|
41
41
|
variants: Array<LeadEnrichmentDomainVariantDto>;
|
|
42
|
+
/**
|
|
43
|
+
* When this record was last enriched.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof LeadEnrichmentDomainDto
|
|
46
|
+
*/
|
|
47
|
+
enrichedAt: string | null;
|
|
42
48
|
}
|
|
43
49
|
|
|
44
50
|
/**
|
|
@@ -47,6 +53,7 @@ export interface LeadEnrichmentDomainDto {
|
|
|
47
53
|
export function instanceOfLeadEnrichmentDomainDto(value: object): value is LeadEnrichmentDomainDto {
|
|
48
54
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
49
55
|
if (!('variants' in value) || value['variants'] === undefined) return false;
|
|
56
|
+
if (!('enrichedAt' in value) || value['enrichedAt'] === undefined) return false;
|
|
50
57
|
return true;
|
|
51
58
|
}
|
|
52
59
|
|
|
@@ -62,6 +69,7 @@ export function LeadEnrichmentDomainDtoFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
62
69
|
|
|
63
70
|
'status': json['status'],
|
|
64
71
|
'variants': ((json['variants'] as Array<any>).map(LeadEnrichmentDomainVariantDtoFromJSON)),
|
|
72
|
+
'enrichedAt': json['enrichedAt'],
|
|
65
73
|
};
|
|
66
74
|
}
|
|
67
75
|
|
|
@@ -78,6 +86,7 @@ export function LeadEnrichmentDomainDtoToJSONTyped(value?: LeadEnrichmentDomainD
|
|
|
78
86
|
|
|
79
87
|
'status': value['status'],
|
|
80
88
|
'variants': ((value['variants'] as Array<any>).map(LeadEnrichmentDomainVariantDtoToJSON)),
|
|
89
|
+
'enrichedAt': value['enrichedAt'],
|
|
81
90
|
};
|
|
82
91
|
}
|
|
83
92
|
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* 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.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface LeadEnrichmentDomainFactsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface LeadEnrichmentDomainFactsDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof LeadEnrichmentDomainFactsDto
|
|
26
|
+
*/
|
|
27
|
+
status: string;
|
|
28
|
+
/**
|
|
29
|
+
* Mail-setup classification: corporate MX is the strongest cheap signal a real organization operates the domain.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LeadEnrichmentDomainFactsDto
|
|
32
|
+
*/
|
|
33
|
+
domainType: LeadEnrichmentDomainFactsDtoDomainTypeEnum | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof LeadEnrichmentDomainFactsDto
|
|
38
|
+
*/
|
|
39
|
+
registeredAt: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* Registry nameservers, normalized.
|
|
42
|
+
* @type {Array<string>}
|
|
43
|
+
* @memberof LeadEnrichmentDomainFactsDto
|
|
44
|
+
*/
|
|
45
|
+
nameservers: Array<string>;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof LeadEnrichmentDomainFactsDto
|
|
50
|
+
*/
|
|
51
|
+
websiteReachable: boolean | null;
|
|
52
|
+
/**
|
|
53
|
+
* When this record was last enriched.
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof LeadEnrichmentDomainFactsDto
|
|
56
|
+
*/
|
|
57
|
+
enrichedAt: string | null;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export const LeadEnrichmentDomainFactsDtoDomainTypeEnum = {
|
|
65
|
+
CORPORATE: 'corporate',
|
|
66
|
+
FREE_MAIL: 'free_mail',
|
|
67
|
+
DISPOSABLE: 'disposable',
|
|
68
|
+
UNKNOWN: 'unknown'
|
|
69
|
+
} as const;
|
|
70
|
+
export type LeadEnrichmentDomainFactsDtoDomainTypeEnum = typeof LeadEnrichmentDomainFactsDtoDomainTypeEnum[keyof typeof LeadEnrichmentDomainFactsDtoDomainTypeEnum];
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the LeadEnrichmentDomainFactsDto interface.
|
|
75
|
+
*/
|
|
76
|
+
export function instanceOfLeadEnrichmentDomainFactsDto(value: object): value is LeadEnrichmentDomainFactsDto {
|
|
77
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
78
|
+
if (!('domainType' in value) || value['domainType'] === undefined) return false;
|
|
79
|
+
if (!('registeredAt' in value) || value['registeredAt'] === undefined) return false;
|
|
80
|
+
if (!('nameservers' in value) || value['nameservers'] === undefined) return false;
|
|
81
|
+
if (!('websiteReachable' in value) || value['websiteReachable'] === undefined) return false;
|
|
82
|
+
if (!('enrichedAt' in value) || value['enrichedAt'] === undefined) return false;
|
|
83
|
+
return true;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function LeadEnrichmentDomainFactsDtoFromJSON(json: any): LeadEnrichmentDomainFactsDto {
|
|
87
|
+
return LeadEnrichmentDomainFactsDtoFromJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function LeadEnrichmentDomainFactsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentDomainFactsDto {
|
|
91
|
+
if (json == null) {
|
|
92
|
+
return json;
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
|
|
96
|
+
'status': json['status'],
|
|
97
|
+
'domainType': json['domainType'],
|
|
98
|
+
'registeredAt': json['registeredAt'],
|
|
99
|
+
'nameservers': json['nameservers'],
|
|
100
|
+
'websiteReachable': json['websiteReachable'],
|
|
101
|
+
'enrichedAt': json['enrichedAt'],
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function LeadEnrichmentDomainFactsDtoToJSON(json: any): LeadEnrichmentDomainFactsDto {
|
|
106
|
+
return LeadEnrichmentDomainFactsDtoToJSONTyped(json, false);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function LeadEnrichmentDomainFactsDtoToJSONTyped(value?: LeadEnrichmentDomainFactsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
110
|
+
if (value == null) {
|
|
111
|
+
return value;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
return {
|
|
115
|
+
|
|
116
|
+
'status': value['status'],
|
|
117
|
+
'domainType': value['domainType'],
|
|
118
|
+
'registeredAt': value['registeredAt'],
|
|
119
|
+
'nameservers': value['nameservers'],
|
|
120
|
+
'websiteReachable': value['websiteReachable'],
|
|
121
|
+
'enrichedAt': value['enrichedAt'],
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
|
|
@@ -37,12 +37,6 @@ export interface LeadEnrichmentDomainVariantDto {
|
|
|
37
37
|
* @memberof LeadEnrichmentDomainVariantDto
|
|
38
38
|
*/
|
|
39
39
|
websiteReachable: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Whether the variant's nameservers match the sale domain's.
|
|
42
|
-
* @type {boolean}
|
|
43
|
-
* @memberof LeadEnrichmentDomainVariantDto
|
|
44
|
-
*/
|
|
45
|
-
sameNameservers: boolean | null;
|
|
46
40
|
/**
|
|
47
41
|
* Whether the variant is openly for sale (marketplace parking or a _for-sale record).
|
|
48
42
|
* @type {boolean}
|
|
@@ -76,7 +70,6 @@ export function instanceOfLeadEnrichmentDomainVariantDto(value: object): value i
|
|
|
76
70
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
77
71
|
if (!('registered' in value) || value['registered'] === undefined) return false;
|
|
78
72
|
if (!('websiteReachable' in value) || value['websiteReachable'] === undefined) return false;
|
|
79
|
-
if (!('sameNameservers' in value) || value['sameNameservers'] === undefined) return false;
|
|
80
73
|
if (!('forSale' in value) || value['forSale'] === undefined) return false;
|
|
81
74
|
if (!('forSaleMarketplace' in value) || value['forSaleMarketplace'] === undefined) return false;
|
|
82
75
|
if (!('forSalePriceAmount' in value) || value['forSalePriceAmount'] === undefined) return false;
|
|
@@ -97,7 +90,6 @@ export function LeadEnrichmentDomainVariantDtoFromJSONTyped(json: any, ignoreDis
|
|
|
97
90
|
'domain': json['domain'],
|
|
98
91
|
'registered': json['registered'],
|
|
99
92
|
'websiteReachable': json['websiteReachable'],
|
|
100
|
-
'sameNameservers': json['sameNameservers'],
|
|
101
93
|
'forSale': json['forSale'],
|
|
102
94
|
'forSaleMarketplace': json['forSaleMarketplace'],
|
|
103
95
|
'forSalePriceAmount': json['forSalePriceAmount'],
|
|
@@ -119,7 +111,6 @@ export function LeadEnrichmentDomainVariantDtoToJSONTyped(value?: LeadEnrichment
|
|
|
119
111
|
'domain': value['domain'],
|
|
120
112
|
'registered': value['registered'],
|
|
121
113
|
'websiteReachable': value['websiteReachable'],
|
|
122
|
-
'sameNameservers': value['sameNameservers'],
|
|
123
114
|
'forSale': value['forSale'],
|
|
124
115
|
'forSaleMarketplace': value['forSaleMarketplace'],
|
|
125
116
|
'forSalePriceAmount': value['forSalePriceAmount'],
|
|
@@ -55,6 +55,13 @@ import {
|
|
|
55
55
|
LeadEnrichmentDomainDtoToJSON,
|
|
56
56
|
LeadEnrichmentDomainDtoToJSONTyped,
|
|
57
57
|
} from './LeadEnrichmentDomainDto';
|
|
58
|
+
import type { LeadEnrichmentDomainFactsDto } from './LeadEnrichmentDomainFactsDto';
|
|
59
|
+
import {
|
|
60
|
+
LeadEnrichmentDomainFactsDtoFromJSON,
|
|
61
|
+
LeadEnrichmentDomainFactsDtoFromJSONTyped,
|
|
62
|
+
LeadEnrichmentDomainFactsDtoToJSON,
|
|
63
|
+
LeadEnrichmentDomainFactsDtoToJSONTyped,
|
|
64
|
+
} from './LeadEnrichmentDomainFactsDto';
|
|
58
65
|
import type { LeadEnrichmentActivityDto } from './LeadEnrichmentActivityDto';
|
|
59
66
|
import {
|
|
60
67
|
LeadEnrichmentActivityDtoFromJSON,
|
|
@@ -62,6 +69,13 @@ import {
|
|
|
62
69
|
LeadEnrichmentActivityDtoToJSON,
|
|
63
70
|
LeadEnrichmentActivityDtoToJSONTyped,
|
|
64
71
|
} from './LeadEnrichmentActivityDto';
|
|
72
|
+
import type { LeadEnrichmentNamesakeDto } from './LeadEnrichmentNamesakeDto';
|
|
73
|
+
import {
|
|
74
|
+
LeadEnrichmentNamesakeDtoFromJSON,
|
|
75
|
+
LeadEnrichmentNamesakeDtoFromJSONTyped,
|
|
76
|
+
LeadEnrichmentNamesakeDtoToJSON,
|
|
77
|
+
LeadEnrichmentNamesakeDtoToJSONTyped,
|
|
78
|
+
} from './LeadEnrichmentNamesakeDto';
|
|
65
79
|
|
|
66
80
|
/**
|
|
67
81
|
*
|
|
@@ -93,6 +107,12 @@ export interface LeadEnrichmentDto {
|
|
|
93
107
|
* @memberof LeadEnrichmentDto
|
|
94
108
|
*/
|
|
95
109
|
webResults: Array<LeadEnrichmentWebResultDto>;
|
|
110
|
+
/**
|
|
111
|
+
* When the lead-scoped search last completed.
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof LeadEnrichmentDto
|
|
114
|
+
*/
|
|
115
|
+
enrichedAt: string | null;
|
|
96
116
|
/**
|
|
97
117
|
*
|
|
98
118
|
* @type {LeadEnrichmentEmailDto}
|
|
@@ -111,6 +131,18 @@ export interface LeadEnrichmentDto {
|
|
|
111
131
|
* @memberof LeadEnrichmentDto
|
|
112
132
|
*/
|
|
113
133
|
company: LeadEnrichmentCompanyDto | null;
|
|
134
|
+
/**
|
|
135
|
+
* The company, if any, using the sale domain's name — keyed by its registrable label, so every domain carrying the name shares the answer. A likely buyer signal and context on the name being sold.
|
|
136
|
+
* @type {LeadEnrichmentNamesakeDto}
|
|
137
|
+
* @memberof LeadEnrichmentDto
|
|
138
|
+
*/
|
|
139
|
+
namesake: LeadEnrichmentNamesakeDto | null;
|
|
140
|
+
/**
|
|
141
|
+
* The buyer email domain's infrastructure facts: mail classification, registration date, nameservers.
|
|
142
|
+
* @type {LeadEnrichmentDomainFactsDto}
|
|
143
|
+
* @memberof LeadEnrichmentDto
|
|
144
|
+
*/
|
|
145
|
+
domainFacts: LeadEnrichmentDomainFactsDto | null;
|
|
114
146
|
/**
|
|
115
147
|
*
|
|
116
148
|
* @type {LeadEnrichmentIpDto}
|
|
@@ -123,6 +155,12 @@ export interface LeadEnrichmentDto {
|
|
|
123
155
|
* @memberof LeadEnrichmentDto
|
|
124
156
|
*/
|
|
125
157
|
domain: LeadEnrichmentDomainDto | null;
|
|
158
|
+
/**
|
|
159
|
+
* Sale-domain variants whose registry nameservers equal the buyer's email-domain nameservers — a hint the buyer already holds them. Empty when nothing matches or either side's nameservers are unknown; shared hosting makes it a hint, not proof.
|
|
160
|
+
* @type {Array<string>}
|
|
161
|
+
* @memberof LeadEnrichmentDto
|
|
162
|
+
*/
|
|
163
|
+
buyerNameserverMatches: Array<string>;
|
|
126
164
|
/**
|
|
127
165
|
* On-site behaviour from analytics. Independent of `available`, which only reflects the enrichment service.
|
|
128
166
|
* @type {LeadEnrichmentActivityDto}
|
|
@@ -139,11 +177,15 @@ export function instanceOfLeadEnrichmentDto(value: object): value is LeadEnrichm
|
|
|
139
177
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
140
178
|
if (!('webSummary' in value) || value['webSummary'] === undefined) return false;
|
|
141
179
|
if (!('webResults' in value) || value['webResults'] === undefined) return false;
|
|
180
|
+
if (!('enrichedAt' in value) || value['enrichedAt'] === undefined) return false;
|
|
142
181
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
143
182
|
if (!('person' in value) || value['person'] === undefined) return false;
|
|
144
183
|
if (!('company' in value) || value['company'] === undefined) return false;
|
|
184
|
+
if (!('namesake' in value) || value['namesake'] === undefined) return false;
|
|
185
|
+
if (!('domainFacts' in value) || value['domainFacts'] === undefined) return false;
|
|
145
186
|
if (!('ip' in value) || value['ip'] === undefined) return false;
|
|
146
187
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
188
|
+
if (!('buyerNameserverMatches' in value) || value['buyerNameserverMatches'] === undefined) return false;
|
|
147
189
|
if (!('activity' in value) || value['activity'] === undefined) return false;
|
|
148
190
|
return true;
|
|
149
191
|
}
|
|
@@ -162,11 +204,15 @@ export function LeadEnrichmentDtoFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
162
204
|
'status': json['status'],
|
|
163
205
|
'webSummary': json['webSummary'],
|
|
164
206
|
'webResults': ((json['webResults'] as Array<any>).map(LeadEnrichmentWebResultDtoFromJSON)),
|
|
207
|
+
'enrichedAt': json['enrichedAt'],
|
|
165
208
|
'email': LeadEnrichmentEmailDtoFromJSON(json['email']),
|
|
166
209
|
'person': LeadEnrichmentPersonDtoFromJSON(json['person']),
|
|
167
210
|
'company': LeadEnrichmentCompanyDtoFromJSON(json['company']),
|
|
211
|
+
'namesake': LeadEnrichmentNamesakeDtoFromJSON(json['namesake']),
|
|
212
|
+
'domainFacts': LeadEnrichmentDomainFactsDtoFromJSON(json['domainFacts']),
|
|
168
213
|
'ip': LeadEnrichmentIpDtoFromJSON(json['ip']),
|
|
169
214
|
'domain': LeadEnrichmentDomainDtoFromJSON(json['domain']),
|
|
215
|
+
'buyerNameserverMatches': json['buyerNameserverMatches'],
|
|
170
216
|
'activity': LeadEnrichmentActivityDtoFromJSON(json['activity']),
|
|
171
217
|
};
|
|
172
218
|
}
|
|
@@ -186,11 +232,15 @@ export function LeadEnrichmentDtoToJSONTyped(value?: LeadEnrichmentDto | null, i
|
|
|
186
232
|
'status': value['status'],
|
|
187
233
|
'webSummary': value['webSummary'],
|
|
188
234
|
'webResults': ((value['webResults'] as Array<any>).map(LeadEnrichmentWebResultDtoToJSON)),
|
|
235
|
+
'enrichedAt': value['enrichedAt'],
|
|
189
236
|
'email': LeadEnrichmentEmailDtoToJSON(value['email']),
|
|
190
237
|
'person': LeadEnrichmentPersonDtoToJSON(value['person']),
|
|
191
238
|
'company': LeadEnrichmentCompanyDtoToJSON(value['company']),
|
|
239
|
+
'namesake': LeadEnrichmentNamesakeDtoToJSON(value['namesake']),
|
|
240
|
+
'domainFacts': LeadEnrichmentDomainFactsDtoToJSON(value['domainFacts']),
|
|
192
241
|
'ip': LeadEnrichmentIpDtoToJSON(value['ip']),
|
|
193
242
|
'domain': LeadEnrichmentDomainDtoToJSON(value['domain']),
|
|
243
|
+
'buyerNameserverMatches': value['buyerNameserverMatches'],
|
|
194
244
|
'activity': LeadEnrichmentActivityDtoToJSON(value['activity']),
|
|
195
245
|
};
|
|
196
246
|
}
|
|
@@ -31,6 +31,12 @@ export interface LeadEnrichmentEmailDto {
|
|
|
31
31
|
* @memberof LeadEnrichmentEmailDto
|
|
32
32
|
*/
|
|
33
33
|
isDisposable: boolean | null;
|
|
34
|
+
/**
|
|
35
|
+
* When this record was last enriched.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof LeadEnrichmentEmailDto
|
|
38
|
+
*/
|
|
39
|
+
enrichedAt: string | null;
|
|
34
40
|
}
|
|
35
41
|
|
|
36
42
|
/**
|
|
@@ -39,6 +45,7 @@ export interface LeadEnrichmentEmailDto {
|
|
|
39
45
|
export function instanceOfLeadEnrichmentEmailDto(value: object): value is LeadEnrichmentEmailDto {
|
|
40
46
|
if (!('isFreeMail' in value) || value['isFreeMail'] === undefined) return false;
|
|
41
47
|
if (!('isDisposable' in value) || value['isDisposable'] === undefined) return false;
|
|
48
|
+
if (!('enrichedAt' in value) || value['enrichedAt'] === undefined) return false;
|
|
42
49
|
return true;
|
|
43
50
|
}
|
|
44
51
|
|
|
@@ -54,6 +61,7 @@ export function LeadEnrichmentEmailDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
54
61
|
|
|
55
62
|
'isFreeMail': json['isFreeMail'],
|
|
56
63
|
'isDisposable': json['isDisposable'],
|
|
64
|
+
'enrichedAt': json['enrichedAt'],
|
|
57
65
|
};
|
|
58
66
|
}
|
|
59
67
|
|
|
@@ -70,6 +78,7 @@ export function LeadEnrichmentEmailDtoToJSONTyped(value?: LeadEnrichmentEmailDto
|
|
|
70
78
|
|
|
71
79
|
'isFreeMail': value['isFreeMail'],
|
|
72
80
|
'isDisposable': value['isDisposable'],
|
|
81
|
+
'enrichedAt': value['enrichedAt'],
|
|
73
82
|
};
|
|
74
83
|
}
|
|
75
84
|
|