@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.
Files changed (33) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +3 -3
  3. package/dist/models/LeadEnrichmentCompanyDto.d.ts +31 -1
  4. package/dist/models/LeadEnrichmentCompanyDto.js +23 -3
  5. package/dist/models/LeadEnrichmentDomainDto.d.ts +6 -0
  6. package/dist/models/LeadEnrichmentDomainDto.js +4 -0
  7. package/dist/models/LeadEnrichmentDomainFactsDto.d.ts +72 -0
  8. package/dist/models/LeadEnrichmentDomainFactsDto.js +81 -0
  9. package/dist/models/LeadEnrichmentDomainVariantDto.d.ts +0 -6
  10. package/dist/models/LeadEnrichmentDomainVariantDto.js +0 -4
  11. package/dist/models/LeadEnrichmentDto.d.ts +26 -0
  12. package/dist/models/LeadEnrichmentDto.js +18 -0
  13. package/dist/models/LeadEnrichmentEmailDto.d.ts +6 -0
  14. package/dist/models/LeadEnrichmentEmailDto.js +4 -0
  15. package/dist/models/LeadEnrichmentIpDto.d.ts +18 -0
  16. package/dist/models/LeadEnrichmentIpDto.js +12 -0
  17. package/dist/models/LeadEnrichmentNamesakeDto.d.ts +68 -0
  18. package/dist/models/LeadEnrichmentNamesakeDto.js +75 -0
  19. package/dist/models/LeadEnrichmentPersonDto.d.ts +6 -0
  20. package/dist/models/LeadEnrichmentPersonDto.js +4 -0
  21. package/dist/models/index.d.ts +2 -0
  22. package/dist/models/index.js +2 -0
  23. package/package.json +1 -1
  24. package/src/models/LeadEnrichmentCompanyDto.ts +49 -4
  25. package/src/models/LeadEnrichmentDomainDto.ts +9 -0
  26. package/src/models/LeadEnrichmentDomainFactsDto.ts +124 -0
  27. package/src/models/LeadEnrichmentDomainVariantDto.ts +0 -9
  28. package/src/models/LeadEnrichmentDto.ts +50 -0
  29. package/src/models/LeadEnrichmentEmailDto.ts +9 -0
  30. package/src/models/LeadEnrichmentIpDto.ts +27 -0
  31. package/src/models/LeadEnrichmentNamesakeDto.ts +120 -0
  32. package/src/models/LeadEnrichmentPersonDto.ts +9 -0
  33. package/src/models/index.ts +2 -0
@@ -25,6 +25,12 @@ export interface LeadEnrichmentIpDto {
25
25
  * @memberof LeadEnrichmentIpDto
26
26
  */
27
27
  org: string | null;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof LeadEnrichmentIpDto
32
+ */
33
+ asn: number | null;
28
34
  /**
29
35
  *
30
36
  * @type {string}
@@ -79,6 +85,18 @@ export interface LeadEnrichmentIpDto {
79
85
  * @memberof LeadEnrichmentIpDto
80
86
  */
81
87
  isTor: boolean | null;
88
+ /**
89
+ * Whether the address belongs to a mobile carrier network.
90
+ * @type {boolean}
91
+ * @memberof LeadEnrichmentIpDto
92
+ */
93
+ isMobile: boolean | null;
94
+ /**
95
+ * When this record was last enriched.
96
+ * @type {string}
97
+ * @memberof LeadEnrichmentIpDto
98
+ */
99
+ enrichedAt: string | null;
82
100
  }
83
101
 
84
102
  /**
@@ -86,6 +104,7 @@ export interface LeadEnrichmentIpDto {
86
104
  */
87
105
  export function instanceOfLeadEnrichmentIpDto(value: object): value is LeadEnrichmentIpDto {
88
106
  if (!('org' in value) || value['org'] === undefined) return false;
107
+ if (!('asn' in value) || value['asn'] === undefined) return false;
89
108
  if (!('asnOrg' in value) || value['asnOrg'] === undefined) return false;
90
109
  if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
91
110
  if (!('city' in value) || value['city'] === undefined) return false;
@@ -95,6 +114,8 @@ export function instanceOfLeadEnrichmentIpDto(value: object): value is LeadEnric
95
114
  if (!('isHosting' in value) || value['isHosting'] === undefined) return false;
96
115
  if (!('isVpn' in value) || value['isVpn'] === undefined) return false;
97
116
  if (!('isTor' in value) || value['isTor'] === undefined) return false;
117
+ if (!('isMobile' in value) || value['isMobile'] === undefined) return false;
118
+ if (!('enrichedAt' in value) || value['enrichedAt'] === undefined) return false;
98
119
  return true;
99
120
  }
100
121
 
@@ -109,6 +130,7 @@ export function LeadEnrichmentIpDtoFromJSONTyped(json: any, ignoreDiscriminator:
109
130
  return {
110
131
 
111
132
  'org': json['org'],
133
+ 'asn': json['asn'],
112
134
  'asnOrg': json['asnOrg'],
113
135
  'countryCode': json['countryCode'],
114
136
  'city': json['city'],
@@ -118,6 +140,8 @@ export function LeadEnrichmentIpDtoFromJSONTyped(json: any, ignoreDiscriminator:
118
140
  'isHosting': json['isHosting'],
119
141
  'isVpn': json['isVpn'],
120
142
  'isTor': json['isTor'],
143
+ 'isMobile': json['isMobile'],
144
+ 'enrichedAt': json['enrichedAt'],
121
145
  };
122
146
  }
123
147
 
@@ -133,6 +157,7 @@ export function LeadEnrichmentIpDtoToJSONTyped(value?: LeadEnrichmentIpDto | nul
133
157
  return {
134
158
 
135
159
  'org': value['org'],
160
+ 'asn': value['asn'],
136
161
  'asnOrg': value['asnOrg'],
137
162
  'countryCode': value['countryCode'],
138
163
  'city': value['city'],
@@ -142,6 +167,8 @@ export function LeadEnrichmentIpDtoToJSONTyped(value?: LeadEnrichmentIpDto | nul
142
167
  'isHosting': value['isHosting'],
143
168
  'isVpn': value['isVpn'],
144
169
  'isTor': value['isTor'],
170
+ 'isMobile': value['isMobile'],
171
+ 'enrichedAt': value['enrichedAt'],
145
172
  };
146
173
  }
147
174
 
@@ -0,0 +1,120 @@
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 LeadEnrichmentNamesakeDto
20
+ */
21
+ export interface LeadEnrichmentNamesakeDto {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof LeadEnrichmentNamesakeDto
26
+ */
27
+ status: string;
28
+ /**
29
+ * The registrable label the record is keyed by ("detheepot").
30
+ * @type {string}
31
+ * @memberof LeadEnrichmentNamesakeDto
32
+ */
33
+ label: string;
34
+ /**
35
+ * Register name that conservatively matched the label.
36
+ * @type {string}
37
+ * @memberof LeadEnrichmentNamesakeDto
38
+ */
39
+ companyName: string | null;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof LeadEnrichmentNamesakeDto
44
+ */
45
+ registryId: string | null;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof LeadEnrichmentNamesakeDto
50
+ */
51
+ countryCode: string | null;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof LeadEnrichmentNamesakeDto
56
+ */
57
+ leiCode: string | null;
58
+ /**
59
+ * When this record was last enriched.
60
+ * @type {string}
61
+ * @memberof LeadEnrichmentNamesakeDto
62
+ */
63
+ enrichedAt: string | null;
64
+ }
65
+
66
+ /**
67
+ * Check if a given object implements the LeadEnrichmentNamesakeDto interface.
68
+ */
69
+ export function instanceOfLeadEnrichmentNamesakeDto(value: object): value is LeadEnrichmentNamesakeDto {
70
+ if (!('status' in value) || value['status'] === undefined) return false;
71
+ if (!('label' in value) || value['label'] === undefined) return false;
72
+ if (!('companyName' in value) || value['companyName'] === undefined) return false;
73
+ if (!('registryId' in value) || value['registryId'] === undefined) return false;
74
+ if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
75
+ if (!('leiCode' in value) || value['leiCode'] === undefined) return false;
76
+ if (!('enrichedAt' in value) || value['enrichedAt'] === undefined) return false;
77
+ return true;
78
+ }
79
+
80
+ export function LeadEnrichmentNamesakeDtoFromJSON(json: any): LeadEnrichmentNamesakeDto {
81
+ return LeadEnrichmentNamesakeDtoFromJSONTyped(json, false);
82
+ }
83
+
84
+ export function LeadEnrichmentNamesakeDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentNamesakeDto {
85
+ if (json == null) {
86
+ return json;
87
+ }
88
+ return {
89
+
90
+ 'status': json['status'],
91
+ 'label': json['label'],
92
+ 'companyName': json['companyName'],
93
+ 'registryId': json['registryId'],
94
+ 'countryCode': json['countryCode'],
95
+ 'leiCode': json['leiCode'],
96
+ 'enrichedAt': json['enrichedAt'],
97
+ };
98
+ }
99
+
100
+ export function LeadEnrichmentNamesakeDtoToJSON(json: any): LeadEnrichmentNamesakeDto {
101
+ return LeadEnrichmentNamesakeDtoToJSONTyped(json, false);
102
+ }
103
+
104
+ export function LeadEnrichmentNamesakeDtoToJSONTyped(value?: LeadEnrichmentNamesakeDto | null, ignoreDiscriminator: boolean = false): any {
105
+ if (value == null) {
106
+ return value;
107
+ }
108
+
109
+ return {
110
+
111
+ 'status': value['status'],
112
+ 'label': value['label'],
113
+ 'companyName': value['companyName'],
114
+ 'registryId': value['registryId'],
115
+ 'countryCode': value['countryCode'],
116
+ 'leiCode': value['leiCode'],
117
+ 'enrichedAt': value['enrichedAt'],
118
+ };
119
+ }
120
+
@@ -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
 
@@ -297,10 +297,12 @@ export * from './LeadDto';
297
297
  export * from './LeadEnrichmentActivityDto';
298
298
  export * from './LeadEnrichmentCompanyDto';
299
299
  export * from './LeadEnrichmentDomainDto';
300
+ export * from './LeadEnrichmentDomainFactsDto';
300
301
  export * from './LeadEnrichmentDomainVariantDto';
301
302
  export * from './LeadEnrichmentDto';
302
303
  export * from './LeadEnrichmentEmailDto';
303
304
  export * from './LeadEnrichmentIpDto';
305
+ export * from './LeadEnrichmentNamesakeDto';
304
306
  export * from './LeadEnrichmentOfferDto';
305
307
  export * from './LeadEnrichmentPersonDto';
306
308
  export * from './LeadEnrichmentVisitedDomainDto';