@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
@@ -57,6 +57,12 @@ export interface LeadEnrichmentPersonDto {
57
57
  * @memberof LeadEnrichmentPersonDto
58
58
  */
59
59
  webResults: Array<LeadEnrichmentWebResultDto>;
60
+ /**
61
+ * When this record was last enriched.
62
+ * @type {string}
63
+ * @memberof LeadEnrichmentPersonDto
64
+ */
65
+ enrichedAt: string | null;
60
66
  }
61
67
 
62
68
 
@@ -83,6 +89,7 @@ export function instanceOfLeadEnrichmentPersonDto(value: object): value is LeadE
83
89
  if (!('statedCompany' in value) || value['statedCompany'] === undefined) return false;
84
90
  if (!('webSummary' in value) || value['webSummary'] === undefined) return false;
85
91
  if (!('webResults' in value) || value['webResults'] === undefined) return false;
92
+ if (!('enrichedAt' in value) || value['enrichedAt'] === undefined) return false;
86
93
  return true;
87
94
  }
88
95
 
@@ -101,6 +108,7 @@ export function LeadEnrichmentPersonDtoFromJSONTyped(json: any, ignoreDiscrimina
101
108
  'statedCompany': json['statedCompany'],
102
109
  'webSummary': json['webSummary'],
103
110
  'webResults': ((json['webResults'] as Array<any>).map(LeadEnrichmentWebResultDtoFromJSON)),
111
+ 'enrichedAt': json['enrichedAt'],
104
112
  };
105
113
  }
106
114
 
@@ -120,6 +128,7 @@ export function LeadEnrichmentPersonDtoToJSONTyped(value?: LeadEnrichmentPersonD
120
128
  'statedCompany': value['statedCompany'],
121
129
  'webSummary': value['webSummary'],
122
130
  'webResults': ((value['webResults'] as Array<any>).map(LeadEnrichmentWebResultDtoToJSON)),
131
+ 'enrichedAt': value['enrichedAt'],
123
132
  };
124
133
  }
125
134
 
@@ -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
+
@@ -294,13 +294,18 @@ 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';
300
+ export * from './LeadEnrichmentDomainFactsDto';
299
301
  export * from './LeadEnrichmentDomainVariantDto';
300
302
  export * from './LeadEnrichmentDto';
301
303
  export * from './LeadEnrichmentEmailDto';
302
304
  export * from './LeadEnrichmentIpDto';
305
+ export * from './LeadEnrichmentNamesakeDto';
306
+ export * from './LeadEnrichmentOfferDto';
303
307
  export * from './LeadEnrichmentPersonDto';
308
+ export * from './LeadEnrichmentVisitedDomainDto';
304
309
  export * from './LeadEnrichmentWebResultDto';
305
310
  export * from './LeadLeaseToOwnAndRentConfigurationPresetsDto';
306
311
  export * from './LeadLeaseToOwnConfigurationDto';