@randock/nameshift-api-client 0.0.467 → 0.0.468
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 -0
- package/README.md +3 -3
- package/dist/models/LeadEnrichmentActivityDto.d.ts +52 -0
- package/dist/models/LeadEnrichmentActivityDto.js +65 -0
- package/dist/models/LeadEnrichmentDto.d.ts +7 -0
- package/dist/models/LeadEnrichmentDto.js +5 -0
- package/dist/models/LeadEnrichmentIpDto.d.ts +24 -0
- package/dist/models/LeadEnrichmentIpDto.js +16 -0
- package/dist/models/LeadEnrichmentOfferDto.d.ts +44 -0
- package/dist/models/LeadEnrichmentOfferDto.js +59 -0
- package/dist/models/LeadEnrichmentVisitedDomainDto.d.ts +44 -0
- package/dist/models/LeadEnrichmentVisitedDomainDto.js +59 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
- package/src/models/LeadEnrichmentActivityDto.ts +108 -0
- package/src/models/LeadEnrichmentDto.ts +16 -0
- package/src/models/LeadEnrichmentIpDto.ts +36 -0
- package/src/models/LeadEnrichmentOfferDto.ts +84 -0
- package/src/models/LeadEnrichmentVisitedDomainDto.ts +84 -0
- package/src/models/index.ts +3 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -332,13 +332,16 @@ src/models/LandingPageSettingsDto.ts
|
|
|
332
332
|
src/models/LeadBuyerConfigDto.ts
|
|
333
333
|
src/models/LeadDomainDto.ts
|
|
334
334
|
src/models/LeadDto.ts
|
|
335
|
+
src/models/LeadEnrichmentActivityDto.ts
|
|
335
336
|
src/models/LeadEnrichmentCompanyDto.ts
|
|
336
337
|
src/models/LeadEnrichmentDomainDto.ts
|
|
337
338
|
src/models/LeadEnrichmentDomainVariantDto.ts
|
|
338
339
|
src/models/LeadEnrichmentDto.ts
|
|
339
340
|
src/models/LeadEnrichmentEmailDto.ts
|
|
340
341
|
src/models/LeadEnrichmentIpDto.ts
|
|
342
|
+
src/models/LeadEnrichmentOfferDto.ts
|
|
341
343
|
src/models/LeadEnrichmentPersonDto.ts
|
|
344
|
+
src/models/LeadEnrichmentVisitedDomainDto.ts
|
|
342
345
|
src/models/LeadEnrichmentWebResultDto.ts
|
|
343
346
|
src/models/LeadLeaseToOwnAndRentConfigurationPresetsDto.ts
|
|
344
347
|
src/models/LeadLeaseToOwnConfigurationDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.468
|
|
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.468 --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
|
+
69c20c188b2dd367696bd7b1446247546ba20a44237d57c0e84407cd4bd60e1d3f53c2622f03bf26b1f8e8c672f3ff73
|
|
@@ -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
|
+
import type { LeadEnrichmentVisitedDomainDto } from './LeadEnrichmentVisitedDomainDto';
|
|
13
|
+
import type { LeadEnrichmentOfferDto } from './LeadEnrichmentOfferDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface LeadEnrichmentActivityDto
|
|
18
|
+
*/
|
|
19
|
+
export interface LeadEnrichmentActivityDto {
|
|
20
|
+
/**
|
|
21
|
+
* Total pageviews across every session attributed to the buyer.
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof LeadEnrichmentActivityDto
|
|
24
|
+
*/
|
|
25
|
+
pageviews: number;
|
|
26
|
+
/**
|
|
27
|
+
* How many different pages of the domain they looked at.
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof LeadEnrichmentActivityDto
|
|
30
|
+
*/
|
|
31
|
+
distinctPages: number;
|
|
32
|
+
/**
|
|
33
|
+
* Offer amounts entered on the buy box, newest first.
|
|
34
|
+
* @type {Array<LeadEnrichmentOfferDto>}
|
|
35
|
+
* @memberof LeadEnrichmentActivityDto
|
|
36
|
+
*/
|
|
37
|
+
offers: Array<LeadEnrichmentOfferDto>;
|
|
38
|
+
/**
|
|
39
|
+
* Other domains of ours this buyer looked at, busiest first. Covers everything after they were identified, plus what they did while still anonymous on a domain they submitted something on — submitting is what captured that domain's session id. Anonymous browsing on domains they never engaged with is not visible.
|
|
40
|
+
* @type {Array<LeadEnrichmentVisitedDomainDto>}
|
|
41
|
+
* @memberof LeadEnrichmentActivityDto
|
|
42
|
+
*/
|
|
43
|
+
otherDomains: Array<LeadEnrichmentVisitedDomainDto>;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the LeadEnrichmentActivityDto interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfLeadEnrichmentActivityDto(value: object): value is LeadEnrichmentActivityDto;
|
|
49
|
+
export declare function LeadEnrichmentActivityDtoFromJSON(json: any): LeadEnrichmentActivityDto;
|
|
50
|
+
export declare function LeadEnrichmentActivityDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentActivityDto;
|
|
51
|
+
export declare function LeadEnrichmentActivityDtoToJSON(json: any): LeadEnrichmentActivityDto;
|
|
52
|
+
export declare function LeadEnrichmentActivityDtoToJSONTyped(value?: LeadEnrichmentActivityDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
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.instanceOfLeadEnrichmentActivityDto = instanceOfLeadEnrichmentActivityDto;
|
|
17
|
+
exports.LeadEnrichmentActivityDtoFromJSON = LeadEnrichmentActivityDtoFromJSON;
|
|
18
|
+
exports.LeadEnrichmentActivityDtoFromJSONTyped = LeadEnrichmentActivityDtoFromJSONTyped;
|
|
19
|
+
exports.LeadEnrichmentActivityDtoToJSON = LeadEnrichmentActivityDtoToJSON;
|
|
20
|
+
exports.LeadEnrichmentActivityDtoToJSONTyped = LeadEnrichmentActivityDtoToJSONTyped;
|
|
21
|
+
var LeadEnrichmentVisitedDomainDto_1 = require("./LeadEnrichmentVisitedDomainDto");
|
|
22
|
+
var LeadEnrichmentOfferDto_1 = require("./LeadEnrichmentOfferDto");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the LeadEnrichmentActivityDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfLeadEnrichmentActivityDto(value) {
|
|
27
|
+
if (!('pageviews' in value) || value['pageviews'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('distinctPages' in value) || value['distinctPages'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('offers' in value) || value['offers'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('otherDomains' in value) || value['otherDomains'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
function LeadEnrichmentActivityDtoFromJSON(json) {
|
|
38
|
+
return LeadEnrichmentActivityDtoFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function LeadEnrichmentActivityDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
+
if (json == null) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'pageviews': json['pageviews'],
|
|
46
|
+
'distinctPages': json['distinctPages'],
|
|
47
|
+
'offers': (json['offers'].map(LeadEnrichmentOfferDto_1.LeadEnrichmentOfferDtoFromJSON)),
|
|
48
|
+
'otherDomains': (json['otherDomains'].map(LeadEnrichmentVisitedDomainDto_1.LeadEnrichmentVisitedDomainDtoFromJSON)),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function LeadEnrichmentActivityDtoToJSON(json) {
|
|
52
|
+
return LeadEnrichmentActivityDtoToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function LeadEnrichmentActivityDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'pageviews': value['pageviews'],
|
|
61
|
+
'distinctPages': value['distinctPages'],
|
|
62
|
+
'offers': (value['offers'].map(LeadEnrichmentOfferDto_1.LeadEnrichmentOfferDtoToJSON)),
|
|
63
|
+
'otherDomains': (value['otherDomains'].map(LeadEnrichmentVisitedDomainDto_1.LeadEnrichmentVisitedDomainDtoToJSON)),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -15,6 +15,7 @@ import type { LeadEnrichmentEmailDto } from './LeadEnrichmentEmailDto';
|
|
|
15
15
|
import type { LeadEnrichmentWebResultDto } from './LeadEnrichmentWebResultDto';
|
|
16
16
|
import type { LeadEnrichmentCompanyDto } from './LeadEnrichmentCompanyDto';
|
|
17
17
|
import type { LeadEnrichmentDomainDto } from './LeadEnrichmentDomainDto';
|
|
18
|
+
import type { LeadEnrichmentActivityDto } from './LeadEnrichmentActivityDto';
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
20
21
|
* @export
|
|
@@ -75,6 +76,12 @@ export interface LeadEnrichmentDto {
|
|
|
75
76
|
* @memberof LeadEnrichmentDto
|
|
76
77
|
*/
|
|
77
78
|
domain: LeadEnrichmentDomainDto | null;
|
|
79
|
+
/**
|
|
80
|
+
* On-site behaviour from analytics. Independent of `available`, which only reflects the enrichment service.
|
|
81
|
+
* @type {LeadEnrichmentActivityDto}
|
|
82
|
+
* @memberof LeadEnrichmentDto
|
|
83
|
+
*/
|
|
84
|
+
activity: LeadEnrichmentActivityDto | null;
|
|
78
85
|
}
|
|
79
86
|
/**
|
|
80
87
|
* Check if a given object implements the LeadEnrichmentDto interface.
|
|
@@ -24,6 +24,7 @@ var LeadEnrichmentEmailDto_1 = require("./LeadEnrichmentEmailDto");
|
|
|
24
24
|
var LeadEnrichmentWebResultDto_1 = require("./LeadEnrichmentWebResultDto");
|
|
25
25
|
var LeadEnrichmentCompanyDto_1 = require("./LeadEnrichmentCompanyDto");
|
|
26
26
|
var LeadEnrichmentDomainDto_1 = require("./LeadEnrichmentDomainDto");
|
|
27
|
+
var LeadEnrichmentActivityDto_1 = require("./LeadEnrichmentActivityDto");
|
|
27
28
|
/**
|
|
28
29
|
* Check if a given object implements the LeadEnrichmentDto interface.
|
|
29
30
|
*/
|
|
@@ -46,6 +47,8 @@ function instanceOfLeadEnrichmentDto(value) {
|
|
|
46
47
|
return false;
|
|
47
48
|
if (!('domain' in value) || value['domain'] === undefined)
|
|
48
49
|
return false;
|
|
50
|
+
if (!('activity' in value) || value['activity'] === undefined)
|
|
51
|
+
return false;
|
|
49
52
|
return true;
|
|
50
53
|
}
|
|
51
54
|
function LeadEnrichmentDtoFromJSON(json) {
|
|
@@ -65,6 +68,7 @@ function LeadEnrichmentDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
65
68
|
'company': (0, LeadEnrichmentCompanyDto_1.LeadEnrichmentCompanyDtoFromJSON)(json['company']),
|
|
66
69
|
'ip': (0, LeadEnrichmentIpDto_1.LeadEnrichmentIpDtoFromJSON)(json['ip']),
|
|
67
70
|
'domain': (0, LeadEnrichmentDomainDto_1.LeadEnrichmentDomainDtoFromJSON)(json['domain']),
|
|
71
|
+
'activity': (0, LeadEnrichmentActivityDto_1.LeadEnrichmentActivityDtoFromJSON)(json['activity']),
|
|
68
72
|
};
|
|
69
73
|
}
|
|
70
74
|
function LeadEnrichmentDtoToJSON(json) {
|
|
@@ -85,5 +89,6 @@ function LeadEnrichmentDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
85
89
|
'company': (0, LeadEnrichmentCompanyDto_1.LeadEnrichmentCompanyDtoToJSON)(value['company']),
|
|
86
90
|
'ip': (0, LeadEnrichmentIpDto_1.LeadEnrichmentIpDtoToJSON)(value['ip']),
|
|
87
91
|
'domain': (0, LeadEnrichmentDomainDto_1.LeadEnrichmentDomainDtoToJSON)(value['domain']),
|
|
92
|
+
'activity': (0, LeadEnrichmentActivityDto_1.LeadEnrichmentActivityDtoToJSON)(value['activity']),
|
|
88
93
|
};
|
|
89
94
|
}
|
|
@@ -33,6 +33,30 @@ export interface LeadEnrichmentIpDto {
|
|
|
33
33
|
* @memberof LeadEnrichmentIpDto
|
|
34
34
|
*/
|
|
35
35
|
countryCode: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* City the buyer's IP address resolves to. Null when that address has not been located; it is never inferred from neighbouring addresses on the same network.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof LeadEnrichmentIpDto
|
|
40
|
+
*/
|
|
41
|
+
city: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* State or province containing `city`.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof LeadEnrichmentIpDto
|
|
46
|
+
*/
|
|
47
|
+
region: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Latitude of the buyer's IP address; null unless `longitude` is set too. Accurate to city level at best.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof LeadEnrichmentIpDto
|
|
52
|
+
*/
|
|
53
|
+
latitude: number | null;
|
|
54
|
+
/**
|
|
55
|
+
* Longitude of the buyer's IP address, always paired with `latitude`.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof LeadEnrichmentIpDto
|
|
58
|
+
*/
|
|
59
|
+
longitude: number | null;
|
|
36
60
|
/**
|
|
37
61
|
*
|
|
38
62
|
* @type {boolean}
|
|
@@ -28,6 +28,14 @@ function instanceOfLeadEnrichmentIpDto(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('countryCode' in value) || value['countryCode'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('city' in value) || value['city'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('region' in value) || value['region'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('longitude' in value) || value['longitude'] === undefined)
|
|
38
|
+
return false;
|
|
31
39
|
if (!('isHosting' in value) || value['isHosting'] === undefined)
|
|
32
40
|
return false;
|
|
33
41
|
if (!('isVpn' in value) || value['isVpn'] === undefined)
|
|
@@ -47,6 +55,10 @@ function LeadEnrichmentIpDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
55
|
'org': json['org'],
|
|
48
56
|
'asnOrg': json['asnOrg'],
|
|
49
57
|
'countryCode': json['countryCode'],
|
|
58
|
+
'city': json['city'],
|
|
59
|
+
'region': json['region'],
|
|
60
|
+
'latitude': json['latitude'],
|
|
61
|
+
'longitude': json['longitude'],
|
|
50
62
|
'isHosting': json['isHosting'],
|
|
51
63
|
'isVpn': json['isVpn'],
|
|
52
64
|
'isTor': json['isTor'],
|
|
@@ -64,6 +76,10 @@ function LeadEnrichmentIpDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
64
76
|
'org': value['org'],
|
|
65
77
|
'asnOrg': value['asnOrg'],
|
|
66
78
|
'countryCode': value['countryCode'],
|
|
79
|
+
'city': value['city'],
|
|
80
|
+
'region': value['region'],
|
|
81
|
+
'latitude': value['latitude'],
|
|
82
|
+
'longitude': value['longitude'],
|
|
67
83
|
'isHosting': value['isHosting'],
|
|
68
84
|
'isVpn': value['isVpn'],
|
|
69
85
|
'isTor': value['isTor'],
|
|
@@ -0,0 +1,44 @@
|
|
|
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 LeadEnrichmentOfferDto
|
|
16
|
+
*/
|
|
17
|
+
export interface LeadEnrichmentOfferDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof LeadEnrichmentOfferDto
|
|
22
|
+
*/
|
|
23
|
+
amount: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LeadEnrichmentOfferDto
|
|
28
|
+
*/
|
|
29
|
+
currencyCode: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof LeadEnrichmentOfferDto
|
|
34
|
+
*/
|
|
35
|
+
at: Date;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the LeadEnrichmentOfferDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfLeadEnrichmentOfferDto(value: object): value is LeadEnrichmentOfferDto;
|
|
41
|
+
export declare function LeadEnrichmentOfferDtoFromJSON(json: any): LeadEnrichmentOfferDto;
|
|
42
|
+
export declare function LeadEnrichmentOfferDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentOfferDto;
|
|
43
|
+
export declare function LeadEnrichmentOfferDtoToJSON(json: any): LeadEnrichmentOfferDto;
|
|
44
|
+
export declare function LeadEnrichmentOfferDtoToJSONTyped(value?: LeadEnrichmentOfferDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfLeadEnrichmentOfferDto = instanceOfLeadEnrichmentOfferDto;
|
|
17
|
+
exports.LeadEnrichmentOfferDtoFromJSON = LeadEnrichmentOfferDtoFromJSON;
|
|
18
|
+
exports.LeadEnrichmentOfferDtoFromJSONTyped = LeadEnrichmentOfferDtoFromJSONTyped;
|
|
19
|
+
exports.LeadEnrichmentOfferDtoToJSON = LeadEnrichmentOfferDtoToJSON;
|
|
20
|
+
exports.LeadEnrichmentOfferDtoToJSONTyped = LeadEnrichmentOfferDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LeadEnrichmentOfferDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLeadEnrichmentOfferDto(value) {
|
|
25
|
+
if (!('amount' in value) || value['amount'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('at' in value) || value['at'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function LeadEnrichmentOfferDtoFromJSON(json) {
|
|
34
|
+
return LeadEnrichmentOfferDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function LeadEnrichmentOfferDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'amount': json['amount'],
|
|
42
|
+
'currencyCode': json['currencyCode'],
|
|
43
|
+
'at': (new Date(json['at'])),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function LeadEnrichmentOfferDtoToJSON(json) {
|
|
47
|
+
return LeadEnrichmentOfferDtoToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function LeadEnrichmentOfferDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'amount': value['amount'],
|
|
56
|
+
'currencyCode': value['currencyCode'],
|
|
57
|
+
'at': ((value['at']).toISOString()),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 LeadEnrichmentVisitedDomainDto
|
|
16
|
+
*/
|
|
17
|
+
export interface LeadEnrichmentVisitedDomainDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LeadEnrichmentVisitedDomainDto
|
|
22
|
+
*/
|
|
23
|
+
domain: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof LeadEnrichmentVisitedDomainDto
|
|
28
|
+
*/
|
|
29
|
+
pageviews: number;
|
|
30
|
+
/**
|
|
31
|
+
* Whether they got as far as an offer or a buy there.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof LeadEnrichmentVisitedDomainDto
|
|
34
|
+
*/
|
|
35
|
+
showedInterest: boolean;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the LeadEnrichmentVisitedDomainDto interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfLeadEnrichmentVisitedDomainDto(value: object): value is LeadEnrichmentVisitedDomainDto;
|
|
41
|
+
export declare function LeadEnrichmentVisitedDomainDtoFromJSON(json: any): LeadEnrichmentVisitedDomainDto;
|
|
42
|
+
export declare function LeadEnrichmentVisitedDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentVisitedDomainDto;
|
|
43
|
+
export declare function LeadEnrichmentVisitedDomainDtoToJSON(json: any): LeadEnrichmentVisitedDomainDto;
|
|
44
|
+
export declare function LeadEnrichmentVisitedDomainDtoToJSONTyped(value?: LeadEnrichmentVisitedDomainDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfLeadEnrichmentVisitedDomainDto = instanceOfLeadEnrichmentVisitedDomainDto;
|
|
17
|
+
exports.LeadEnrichmentVisitedDomainDtoFromJSON = LeadEnrichmentVisitedDomainDtoFromJSON;
|
|
18
|
+
exports.LeadEnrichmentVisitedDomainDtoFromJSONTyped = LeadEnrichmentVisitedDomainDtoFromJSONTyped;
|
|
19
|
+
exports.LeadEnrichmentVisitedDomainDtoToJSON = LeadEnrichmentVisitedDomainDtoToJSON;
|
|
20
|
+
exports.LeadEnrichmentVisitedDomainDtoToJSONTyped = LeadEnrichmentVisitedDomainDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LeadEnrichmentVisitedDomainDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLeadEnrichmentVisitedDomainDto(value) {
|
|
25
|
+
if (!('domain' in value) || value['domain'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('pageviews' in value) || value['pageviews'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('showedInterest' in value) || value['showedInterest'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function LeadEnrichmentVisitedDomainDtoFromJSON(json) {
|
|
34
|
+
return LeadEnrichmentVisitedDomainDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function LeadEnrichmentVisitedDomainDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'domain': json['domain'],
|
|
42
|
+
'pageviews': json['pageviews'],
|
|
43
|
+
'showedInterest': json['showedInterest'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function LeadEnrichmentVisitedDomainDtoToJSON(json) {
|
|
47
|
+
return LeadEnrichmentVisitedDomainDtoToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function LeadEnrichmentVisitedDomainDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'domain': value['domain'],
|
|
56
|
+
'pageviews': value['pageviews'],
|
|
57
|
+
'showedInterest': value['showedInterest'],
|
|
58
|
+
};
|
|
59
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -292,13 +292,16 @@ export * from './LandingPageSettingsDto';
|
|
|
292
292
|
export * from './LeadBuyerConfigDto';
|
|
293
293
|
export * from './LeadDomainDto';
|
|
294
294
|
export * from './LeadDto';
|
|
295
|
+
export * from './LeadEnrichmentActivityDto';
|
|
295
296
|
export * from './LeadEnrichmentCompanyDto';
|
|
296
297
|
export * from './LeadEnrichmentDomainDto';
|
|
297
298
|
export * from './LeadEnrichmentDomainVariantDto';
|
|
298
299
|
export * from './LeadEnrichmentDto';
|
|
299
300
|
export * from './LeadEnrichmentEmailDto';
|
|
300
301
|
export * from './LeadEnrichmentIpDto';
|
|
302
|
+
export * from './LeadEnrichmentOfferDto';
|
|
301
303
|
export * from './LeadEnrichmentPersonDto';
|
|
304
|
+
export * from './LeadEnrichmentVisitedDomainDto';
|
|
302
305
|
export * from './LeadEnrichmentWebResultDto';
|
|
303
306
|
export * from './LeadLeaseToOwnAndRentConfigurationPresetsDto';
|
|
304
307
|
export * from './LeadLeaseToOwnConfigurationDto';
|
package/dist/models/index.js
CHANGED
|
@@ -310,13 +310,16 @@ __exportStar(require("./LandingPageSettingsDto"), exports);
|
|
|
310
310
|
__exportStar(require("./LeadBuyerConfigDto"), exports);
|
|
311
311
|
__exportStar(require("./LeadDomainDto"), exports);
|
|
312
312
|
__exportStar(require("./LeadDto"), exports);
|
|
313
|
+
__exportStar(require("./LeadEnrichmentActivityDto"), exports);
|
|
313
314
|
__exportStar(require("./LeadEnrichmentCompanyDto"), exports);
|
|
314
315
|
__exportStar(require("./LeadEnrichmentDomainDto"), exports);
|
|
315
316
|
__exportStar(require("./LeadEnrichmentDomainVariantDto"), exports);
|
|
316
317
|
__exportStar(require("./LeadEnrichmentDto"), exports);
|
|
317
318
|
__exportStar(require("./LeadEnrichmentEmailDto"), exports);
|
|
318
319
|
__exportStar(require("./LeadEnrichmentIpDto"), exports);
|
|
320
|
+
__exportStar(require("./LeadEnrichmentOfferDto"), exports);
|
|
319
321
|
__exportStar(require("./LeadEnrichmentPersonDto"), exports);
|
|
322
|
+
__exportStar(require("./LeadEnrichmentVisitedDomainDto"), exports);
|
|
320
323
|
__exportStar(require("./LeadEnrichmentWebResultDto"), exports);
|
|
321
324
|
__exportStar(require("./LeadLeaseToOwnAndRentConfigurationPresetsDto"), exports);
|
|
322
325
|
__exportStar(require("./LeadLeaseToOwnConfigurationDto"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,108 @@
|
|
|
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
|
+
import type { LeadEnrichmentVisitedDomainDto } from './LeadEnrichmentVisitedDomainDto';
|
|
17
|
+
import {
|
|
18
|
+
LeadEnrichmentVisitedDomainDtoFromJSON,
|
|
19
|
+
LeadEnrichmentVisitedDomainDtoFromJSONTyped,
|
|
20
|
+
LeadEnrichmentVisitedDomainDtoToJSON,
|
|
21
|
+
LeadEnrichmentVisitedDomainDtoToJSONTyped,
|
|
22
|
+
} from './LeadEnrichmentVisitedDomainDto';
|
|
23
|
+
import type { LeadEnrichmentOfferDto } from './LeadEnrichmentOfferDto';
|
|
24
|
+
import {
|
|
25
|
+
LeadEnrichmentOfferDtoFromJSON,
|
|
26
|
+
LeadEnrichmentOfferDtoFromJSONTyped,
|
|
27
|
+
LeadEnrichmentOfferDtoToJSON,
|
|
28
|
+
LeadEnrichmentOfferDtoToJSONTyped,
|
|
29
|
+
} from './LeadEnrichmentOfferDto';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface LeadEnrichmentActivityDto
|
|
35
|
+
*/
|
|
36
|
+
export interface LeadEnrichmentActivityDto {
|
|
37
|
+
/**
|
|
38
|
+
* Total pageviews across every session attributed to the buyer.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof LeadEnrichmentActivityDto
|
|
41
|
+
*/
|
|
42
|
+
pageviews: number;
|
|
43
|
+
/**
|
|
44
|
+
* How many different pages of the domain they looked at.
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof LeadEnrichmentActivityDto
|
|
47
|
+
*/
|
|
48
|
+
distinctPages: number;
|
|
49
|
+
/**
|
|
50
|
+
* Offer amounts entered on the buy box, newest first.
|
|
51
|
+
* @type {Array<LeadEnrichmentOfferDto>}
|
|
52
|
+
* @memberof LeadEnrichmentActivityDto
|
|
53
|
+
*/
|
|
54
|
+
offers: Array<LeadEnrichmentOfferDto>;
|
|
55
|
+
/**
|
|
56
|
+
* Other domains of ours this buyer looked at, busiest first. Covers everything after they were identified, plus what they did while still anonymous on a domain they submitted something on — submitting is what captured that domain's session id. Anonymous browsing on domains they never engaged with is not visible.
|
|
57
|
+
* @type {Array<LeadEnrichmentVisitedDomainDto>}
|
|
58
|
+
* @memberof LeadEnrichmentActivityDto
|
|
59
|
+
*/
|
|
60
|
+
otherDomains: Array<LeadEnrichmentVisitedDomainDto>;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Check if a given object implements the LeadEnrichmentActivityDto interface.
|
|
65
|
+
*/
|
|
66
|
+
export function instanceOfLeadEnrichmentActivityDto(value: object): value is LeadEnrichmentActivityDto {
|
|
67
|
+
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
68
|
+
if (!('distinctPages' in value) || value['distinctPages'] === undefined) return false;
|
|
69
|
+
if (!('offers' in value) || value['offers'] === undefined) return false;
|
|
70
|
+
if (!('otherDomains' in value) || value['otherDomains'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function LeadEnrichmentActivityDtoFromJSON(json: any): LeadEnrichmentActivityDto {
|
|
75
|
+
return LeadEnrichmentActivityDtoFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function LeadEnrichmentActivityDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentActivityDto {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'pageviews': json['pageviews'],
|
|
85
|
+
'distinctPages': json['distinctPages'],
|
|
86
|
+
'offers': ((json['offers'] as Array<any>).map(LeadEnrichmentOfferDtoFromJSON)),
|
|
87
|
+
'otherDomains': ((json['otherDomains'] as Array<any>).map(LeadEnrichmentVisitedDomainDtoFromJSON)),
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function LeadEnrichmentActivityDtoToJSON(json: any): LeadEnrichmentActivityDto {
|
|
92
|
+
return LeadEnrichmentActivityDtoToJSONTyped(json, false);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function LeadEnrichmentActivityDtoToJSONTyped(value?: LeadEnrichmentActivityDto | null, ignoreDiscriminator: boolean = false): any {
|
|
96
|
+
if (value == null) {
|
|
97
|
+
return value;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
return {
|
|
101
|
+
|
|
102
|
+
'pageviews': value['pageviews'],
|
|
103
|
+
'distinctPages': value['distinctPages'],
|
|
104
|
+
'offers': ((value['offers'] as Array<any>).map(LeadEnrichmentOfferDtoToJSON)),
|
|
105
|
+
'otherDomains': ((value['otherDomains'] as Array<any>).map(LeadEnrichmentVisitedDomainDtoToJSON)),
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
@@ -55,6 +55,13 @@ import {
|
|
|
55
55
|
LeadEnrichmentDomainDtoToJSON,
|
|
56
56
|
LeadEnrichmentDomainDtoToJSONTyped,
|
|
57
57
|
} from './LeadEnrichmentDomainDto';
|
|
58
|
+
import type { LeadEnrichmentActivityDto } from './LeadEnrichmentActivityDto';
|
|
59
|
+
import {
|
|
60
|
+
LeadEnrichmentActivityDtoFromJSON,
|
|
61
|
+
LeadEnrichmentActivityDtoFromJSONTyped,
|
|
62
|
+
LeadEnrichmentActivityDtoToJSON,
|
|
63
|
+
LeadEnrichmentActivityDtoToJSONTyped,
|
|
64
|
+
} from './LeadEnrichmentActivityDto';
|
|
58
65
|
|
|
59
66
|
/**
|
|
60
67
|
*
|
|
@@ -116,6 +123,12 @@ export interface LeadEnrichmentDto {
|
|
|
116
123
|
* @memberof LeadEnrichmentDto
|
|
117
124
|
*/
|
|
118
125
|
domain: LeadEnrichmentDomainDto | null;
|
|
126
|
+
/**
|
|
127
|
+
* On-site behaviour from analytics. Independent of `available`, which only reflects the enrichment service.
|
|
128
|
+
* @type {LeadEnrichmentActivityDto}
|
|
129
|
+
* @memberof LeadEnrichmentDto
|
|
130
|
+
*/
|
|
131
|
+
activity: LeadEnrichmentActivityDto | null;
|
|
119
132
|
}
|
|
120
133
|
|
|
121
134
|
/**
|
|
@@ -131,6 +144,7 @@ export function instanceOfLeadEnrichmentDto(value: object): value is LeadEnrichm
|
|
|
131
144
|
if (!('company' in value) || value['company'] === undefined) return false;
|
|
132
145
|
if (!('ip' in value) || value['ip'] === undefined) return false;
|
|
133
146
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
147
|
+
if (!('activity' in value) || value['activity'] === undefined) return false;
|
|
134
148
|
return true;
|
|
135
149
|
}
|
|
136
150
|
|
|
@@ -153,6 +167,7 @@ export function LeadEnrichmentDtoFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
153
167
|
'company': LeadEnrichmentCompanyDtoFromJSON(json['company']),
|
|
154
168
|
'ip': LeadEnrichmentIpDtoFromJSON(json['ip']),
|
|
155
169
|
'domain': LeadEnrichmentDomainDtoFromJSON(json['domain']),
|
|
170
|
+
'activity': LeadEnrichmentActivityDtoFromJSON(json['activity']),
|
|
156
171
|
};
|
|
157
172
|
}
|
|
158
173
|
|
|
@@ -176,6 +191,7 @@ export function LeadEnrichmentDtoToJSONTyped(value?: LeadEnrichmentDto | null, i
|
|
|
176
191
|
'company': LeadEnrichmentCompanyDtoToJSON(value['company']),
|
|
177
192
|
'ip': LeadEnrichmentIpDtoToJSON(value['ip']),
|
|
178
193
|
'domain': LeadEnrichmentDomainDtoToJSON(value['domain']),
|
|
194
|
+
'activity': LeadEnrichmentActivityDtoToJSON(value['activity']),
|
|
179
195
|
};
|
|
180
196
|
}
|
|
181
197
|
|
|
@@ -37,6 +37,30 @@ export interface LeadEnrichmentIpDto {
|
|
|
37
37
|
* @memberof LeadEnrichmentIpDto
|
|
38
38
|
*/
|
|
39
39
|
countryCode: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* City the buyer's IP address resolves to. Null when that address has not been located; it is never inferred from neighbouring addresses on the same network.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof LeadEnrichmentIpDto
|
|
44
|
+
*/
|
|
45
|
+
city: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* State or province containing `city`.
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof LeadEnrichmentIpDto
|
|
50
|
+
*/
|
|
51
|
+
region: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* Latitude of the buyer's IP address; null unless `longitude` is set too. Accurate to city level at best.
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof LeadEnrichmentIpDto
|
|
56
|
+
*/
|
|
57
|
+
latitude: number | null;
|
|
58
|
+
/**
|
|
59
|
+
* Longitude of the buyer's IP address, always paired with `latitude`.
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof LeadEnrichmentIpDto
|
|
62
|
+
*/
|
|
63
|
+
longitude: number | null;
|
|
40
64
|
/**
|
|
41
65
|
*
|
|
42
66
|
* @type {boolean}
|
|
@@ -64,6 +88,10 @@ export function instanceOfLeadEnrichmentIpDto(value: object): value is LeadEnric
|
|
|
64
88
|
if (!('org' in value) || value['org'] === undefined) return false;
|
|
65
89
|
if (!('asnOrg' in value) || value['asnOrg'] === undefined) return false;
|
|
66
90
|
if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
|
|
91
|
+
if (!('city' in value) || value['city'] === undefined) return false;
|
|
92
|
+
if (!('region' in value) || value['region'] === undefined) return false;
|
|
93
|
+
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
94
|
+
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
67
95
|
if (!('isHosting' in value) || value['isHosting'] === undefined) return false;
|
|
68
96
|
if (!('isVpn' in value) || value['isVpn'] === undefined) return false;
|
|
69
97
|
if (!('isTor' in value) || value['isTor'] === undefined) return false;
|
|
@@ -83,6 +111,10 @@ export function LeadEnrichmentIpDtoFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
83
111
|
'org': json['org'],
|
|
84
112
|
'asnOrg': json['asnOrg'],
|
|
85
113
|
'countryCode': json['countryCode'],
|
|
114
|
+
'city': json['city'],
|
|
115
|
+
'region': json['region'],
|
|
116
|
+
'latitude': json['latitude'],
|
|
117
|
+
'longitude': json['longitude'],
|
|
86
118
|
'isHosting': json['isHosting'],
|
|
87
119
|
'isVpn': json['isVpn'],
|
|
88
120
|
'isTor': json['isTor'],
|
|
@@ -103,6 +135,10 @@ export function LeadEnrichmentIpDtoToJSONTyped(value?: LeadEnrichmentIpDto | nul
|
|
|
103
135
|
'org': value['org'],
|
|
104
136
|
'asnOrg': value['asnOrg'],
|
|
105
137
|
'countryCode': value['countryCode'],
|
|
138
|
+
'city': value['city'],
|
|
139
|
+
'region': value['region'],
|
|
140
|
+
'latitude': value['latitude'],
|
|
141
|
+
'longitude': value['longitude'],
|
|
106
142
|
'isHosting': value['isHosting'],
|
|
107
143
|
'isVpn': value['isVpn'],
|
|
108
144
|
'isTor': value['isTor'],
|
|
@@ -0,0 +1,84 @@
|
|
|
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 LeadEnrichmentOfferDto
|
|
20
|
+
*/
|
|
21
|
+
export interface LeadEnrichmentOfferDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof LeadEnrichmentOfferDto
|
|
26
|
+
*/
|
|
27
|
+
amount: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LeadEnrichmentOfferDto
|
|
32
|
+
*/
|
|
33
|
+
currencyCode: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Date}
|
|
37
|
+
* @memberof LeadEnrichmentOfferDto
|
|
38
|
+
*/
|
|
39
|
+
at: Date;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the LeadEnrichmentOfferDto interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfLeadEnrichmentOfferDto(value: object): value is LeadEnrichmentOfferDto {
|
|
46
|
+
if (!('amount' in value) || value['amount'] === undefined) return false;
|
|
47
|
+
if (!('currencyCode' in value) || value['currencyCode'] === undefined) return false;
|
|
48
|
+
if (!('at' in value) || value['at'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function LeadEnrichmentOfferDtoFromJSON(json: any): LeadEnrichmentOfferDto {
|
|
53
|
+
return LeadEnrichmentOfferDtoFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function LeadEnrichmentOfferDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentOfferDto {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'amount': json['amount'],
|
|
63
|
+
'currencyCode': json['currencyCode'],
|
|
64
|
+
'at': (new Date(json['at'])),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function LeadEnrichmentOfferDtoToJSON(json: any): LeadEnrichmentOfferDto {
|
|
69
|
+
return LeadEnrichmentOfferDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function LeadEnrichmentOfferDtoToJSONTyped(value?: LeadEnrichmentOfferDto | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'amount': value['amount'],
|
|
80
|
+
'currencyCode': value['currencyCode'],
|
|
81
|
+
'at': ((value['at']).toISOString()),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
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 LeadEnrichmentVisitedDomainDto
|
|
20
|
+
*/
|
|
21
|
+
export interface LeadEnrichmentVisitedDomainDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof LeadEnrichmentVisitedDomainDto
|
|
26
|
+
*/
|
|
27
|
+
domain: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof LeadEnrichmentVisitedDomainDto
|
|
32
|
+
*/
|
|
33
|
+
pageviews: number;
|
|
34
|
+
/**
|
|
35
|
+
* Whether they got as far as an offer or a buy there.
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof LeadEnrichmentVisitedDomainDto
|
|
38
|
+
*/
|
|
39
|
+
showedInterest: boolean;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the LeadEnrichmentVisitedDomainDto interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfLeadEnrichmentVisitedDomainDto(value: object): value is LeadEnrichmentVisitedDomainDto {
|
|
46
|
+
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
47
|
+
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
48
|
+
if (!('showedInterest' in value) || value['showedInterest'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function LeadEnrichmentVisitedDomainDtoFromJSON(json: any): LeadEnrichmentVisitedDomainDto {
|
|
53
|
+
return LeadEnrichmentVisitedDomainDtoFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function LeadEnrichmentVisitedDomainDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentVisitedDomainDto {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'domain': json['domain'],
|
|
63
|
+
'pageviews': json['pageviews'],
|
|
64
|
+
'showedInterest': json['showedInterest'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function LeadEnrichmentVisitedDomainDtoToJSON(json: any): LeadEnrichmentVisitedDomainDto {
|
|
69
|
+
return LeadEnrichmentVisitedDomainDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function LeadEnrichmentVisitedDomainDtoToJSONTyped(value?: LeadEnrichmentVisitedDomainDto | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'domain': value['domain'],
|
|
80
|
+
'pageviews': value['pageviews'],
|
|
81
|
+
'showedInterest': value['showedInterest'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -294,13 +294,16 @@ export * from './LandingPageSettingsDto';
|
|
|
294
294
|
export * from './LeadBuyerConfigDto';
|
|
295
295
|
export * from './LeadDomainDto';
|
|
296
296
|
export * from './LeadDto';
|
|
297
|
+
export * from './LeadEnrichmentActivityDto';
|
|
297
298
|
export * from './LeadEnrichmentCompanyDto';
|
|
298
299
|
export * from './LeadEnrichmentDomainDto';
|
|
299
300
|
export * from './LeadEnrichmentDomainVariantDto';
|
|
300
301
|
export * from './LeadEnrichmentDto';
|
|
301
302
|
export * from './LeadEnrichmentEmailDto';
|
|
302
303
|
export * from './LeadEnrichmentIpDto';
|
|
304
|
+
export * from './LeadEnrichmentOfferDto';
|
|
303
305
|
export * from './LeadEnrichmentPersonDto';
|
|
306
|
+
export * from './LeadEnrichmentVisitedDomainDto';
|
|
304
307
|
export * from './LeadEnrichmentWebResultDto';
|
|
305
308
|
export * from './LeadLeaseToOwnAndRentConfigurationPresetsDto';
|
|
306
309
|
export * from './LeadLeaseToOwnConfigurationDto';
|