@randock/nameshift-api-client 0.0.467 → 0.0.469

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.
Files changed (42) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +3 -3
  3. package/dist/models/LeadEnrichmentActivityDto.d.ts +52 -0
  4. package/dist/models/LeadEnrichmentActivityDto.js +65 -0
  5. package/dist/models/LeadEnrichmentCompanyDto.d.ts +0 -6
  6. package/dist/models/LeadEnrichmentCompanyDto.js +0 -4
  7. package/dist/models/LeadEnrichmentDomainDto.d.ts +6 -0
  8. package/dist/models/LeadEnrichmentDomainDto.js +4 -0
  9. package/dist/models/LeadEnrichmentDomainFactsDto.d.ts +72 -0
  10. package/dist/models/LeadEnrichmentDomainFactsDto.js +81 -0
  11. package/dist/models/LeadEnrichmentDomainVariantDto.d.ts +0 -6
  12. package/dist/models/LeadEnrichmentDomainVariantDto.js +0 -4
  13. package/dist/models/LeadEnrichmentDto.d.ts +33 -0
  14. package/dist/models/LeadEnrichmentDto.js +23 -0
  15. package/dist/models/LeadEnrichmentEmailDto.d.ts +6 -0
  16. package/dist/models/LeadEnrichmentEmailDto.js +4 -0
  17. package/dist/models/LeadEnrichmentIpDto.d.ts +42 -0
  18. package/dist/models/LeadEnrichmentIpDto.js +28 -0
  19. package/dist/models/LeadEnrichmentNamesakeDto.d.ts +68 -0
  20. package/dist/models/LeadEnrichmentNamesakeDto.js +75 -0
  21. package/dist/models/LeadEnrichmentOfferDto.d.ts +44 -0
  22. package/dist/models/LeadEnrichmentOfferDto.js +59 -0
  23. package/dist/models/LeadEnrichmentPersonDto.d.ts +6 -0
  24. package/dist/models/LeadEnrichmentPersonDto.js +4 -0
  25. package/dist/models/LeadEnrichmentVisitedDomainDto.d.ts +44 -0
  26. package/dist/models/LeadEnrichmentVisitedDomainDto.js +59 -0
  27. package/dist/models/index.d.ts +5 -0
  28. package/dist/models/index.js +5 -0
  29. package/package.json +1 -1
  30. package/src/models/LeadEnrichmentActivityDto.ts +108 -0
  31. package/src/models/LeadEnrichmentCompanyDto.ts +0 -9
  32. package/src/models/LeadEnrichmentDomainDto.ts +9 -0
  33. package/src/models/LeadEnrichmentDomainFactsDto.ts +124 -0
  34. package/src/models/LeadEnrichmentDomainVariantDto.ts +0 -9
  35. package/src/models/LeadEnrichmentDto.ts +66 -0
  36. package/src/models/LeadEnrichmentEmailDto.ts +9 -0
  37. package/src/models/LeadEnrichmentIpDto.ts +63 -0
  38. package/src/models/LeadEnrichmentNamesakeDto.ts +120 -0
  39. package/src/models/LeadEnrichmentOfferDto.ts +84 -0
  40. package/src/models/LeadEnrichmentPersonDto.ts +9 -0
  41. package/src/models/LeadEnrichmentVisitedDomainDto.ts +84 -0
  42. package/src/models/index.ts +5 -0
@@ -24,16 +24,30 @@ exports.LeadEnrichmentIpDtoToJSONTyped = LeadEnrichmentIpDtoToJSONTyped;
24
24
  function instanceOfLeadEnrichmentIpDto(value) {
25
25
  if (!('org' in value) || value['org'] === undefined)
26
26
  return false;
27
+ if (!('asn' in value) || value['asn'] === undefined)
28
+ return false;
27
29
  if (!('asnOrg' in value) || value['asnOrg'] === undefined)
28
30
  return false;
29
31
  if (!('countryCode' in value) || value['countryCode'] === undefined)
30
32
  return false;
33
+ if (!('city' in value) || value['city'] === undefined)
34
+ return false;
35
+ if (!('region' in value) || value['region'] === undefined)
36
+ return false;
37
+ if (!('latitude' in value) || value['latitude'] === undefined)
38
+ return false;
39
+ if (!('longitude' in value) || value['longitude'] === undefined)
40
+ return false;
31
41
  if (!('isHosting' in value) || value['isHosting'] === undefined)
32
42
  return false;
33
43
  if (!('isVpn' in value) || value['isVpn'] === undefined)
34
44
  return false;
35
45
  if (!('isTor' in value) || value['isTor'] === undefined)
36
46
  return false;
47
+ if (!('isMobile' in value) || value['isMobile'] === undefined)
48
+ return false;
49
+ if (!('enrichedAt' in value) || value['enrichedAt'] === undefined)
50
+ return false;
37
51
  return true;
38
52
  }
39
53
  function LeadEnrichmentIpDtoFromJSON(json) {
@@ -45,11 +59,18 @@ function LeadEnrichmentIpDtoFromJSONTyped(json, ignoreDiscriminator) {
45
59
  }
46
60
  return {
47
61
  'org': json['org'],
62
+ 'asn': json['asn'],
48
63
  'asnOrg': json['asnOrg'],
49
64
  'countryCode': json['countryCode'],
65
+ 'city': json['city'],
66
+ 'region': json['region'],
67
+ 'latitude': json['latitude'],
68
+ 'longitude': json['longitude'],
50
69
  'isHosting': json['isHosting'],
51
70
  'isVpn': json['isVpn'],
52
71
  'isTor': json['isTor'],
72
+ 'isMobile': json['isMobile'],
73
+ 'enrichedAt': json['enrichedAt'],
53
74
  };
54
75
  }
55
76
  function LeadEnrichmentIpDtoToJSON(json) {
@@ -62,10 +83,17 @@ function LeadEnrichmentIpDtoToJSONTyped(value, ignoreDiscriminator) {
62
83
  }
63
84
  return {
64
85
  'org': value['org'],
86
+ 'asn': value['asn'],
65
87
  'asnOrg': value['asnOrg'],
66
88
  'countryCode': value['countryCode'],
89
+ 'city': value['city'],
90
+ 'region': value['region'],
91
+ 'latitude': value['latitude'],
92
+ 'longitude': value['longitude'],
67
93
  'isHosting': value['isHosting'],
68
94
  'isVpn': value['isVpn'],
69
95
  'isTor': value['isTor'],
96
+ 'isMobile': value['isMobile'],
97
+ 'enrichedAt': value['enrichedAt'],
70
98
  };
71
99
  }
@@ -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
+ }
@@ -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
+ }
@@ -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
  }
@@ -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
+ }
@@ -292,13 +292,18 @@ 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';
298
+ export * from './LeadEnrichmentDomainFactsDto';
297
299
  export * from './LeadEnrichmentDomainVariantDto';
298
300
  export * from './LeadEnrichmentDto';
299
301
  export * from './LeadEnrichmentEmailDto';
300
302
  export * from './LeadEnrichmentIpDto';
303
+ export * from './LeadEnrichmentNamesakeDto';
304
+ export * from './LeadEnrichmentOfferDto';
301
305
  export * from './LeadEnrichmentPersonDto';
306
+ export * from './LeadEnrichmentVisitedDomainDto';
302
307
  export * from './LeadEnrichmentWebResultDto';
303
308
  export * from './LeadLeaseToOwnAndRentConfigurationPresetsDto';
304
309
  export * from './LeadLeaseToOwnConfigurationDto';
@@ -310,13 +310,18 @@ __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);
316
+ __exportStar(require("./LeadEnrichmentDomainFactsDto"), exports);
315
317
  __exportStar(require("./LeadEnrichmentDomainVariantDto"), exports);
316
318
  __exportStar(require("./LeadEnrichmentDto"), exports);
317
319
  __exportStar(require("./LeadEnrichmentEmailDto"), exports);
318
320
  __exportStar(require("./LeadEnrichmentIpDto"), exports);
321
+ __exportStar(require("./LeadEnrichmentNamesakeDto"), exports);
322
+ __exportStar(require("./LeadEnrichmentOfferDto"), exports);
319
323
  __exportStar(require("./LeadEnrichmentPersonDto"), exports);
324
+ __exportStar(require("./LeadEnrichmentVisitedDomainDto"), exports);
320
325
  __exportStar(require("./LeadEnrichmentWebResultDto"), exports);
321
326
  __exportStar(require("./LeadLeaseToOwnAndRentConfigurationPresetsDto"), exports);
322
327
  __exportStar(require("./LeadLeaseToOwnConfigurationDto"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randock/nameshift-api-client",
3
- "version": "0.0.467",
3
+ "version": "0.0.469",
4
4
  "description": "OpenAPI client for @randock/nameshift-api-client",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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,12 +55,6 @@ export interface LeadEnrichmentCompanyDto {
55
55
  * @memberof LeadEnrichmentCompanyDto
56
56
  */
57
57
  registryId: string | null;
58
- /**
59
- *
60
- * @type {string}
61
- * @memberof LeadEnrichmentCompanyDto
62
- */
63
- domainRegisteredAt: string | null;
64
58
  }
65
59
 
66
60
  /**
@@ -73,7 +67,6 @@ export function instanceOfLeadEnrichmentCompanyDto(value: object): value is Lead
73
67
  if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
74
68
  if (!('vatId' in value) || value['vatId'] === undefined) return false;
75
69
  if (!('registryId' in value) || value['registryId'] === undefined) return false;
76
- if (!('domainRegisteredAt' in value) || value['domainRegisteredAt'] === undefined) return false;
77
70
  return true;
78
71
  }
79
72
 
@@ -93,7 +86,6 @@ export function LeadEnrichmentCompanyDtoFromJSONTyped(json: any, ignoreDiscrimin
93
86
  'countryCode': json['countryCode'],
94
87
  'vatId': json['vatId'],
95
88
  'registryId': json['registryId'],
96
- 'domainRegisteredAt': json['domainRegisteredAt'],
97
89
  };
98
90
  }
99
91
 
@@ -114,7 +106,6 @@ export function LeadEnrichmentCompanyDtoToJSONTyped(value?: LeadEnrichmentCompan
114
106
  'countryCode': value['countryCode'],
115
107
  'vatId': value['vatId'],
116
108
  'registryId': value['registryId'],
117
- 'domainRegisteredAt': value['domainRegisteredAt'],
118
109
  };
119
110
  }
120
111