@randock/nameshift-api-client 0.0.468 → 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.
- package/.openapi-generator/FILES +2 -0
- package/README.md +3 -3
- package/dist/models/LeadEnrichmentCompanyDto.d.ts +0 -6
- package/dist/models/LeadEnrichmentCompanyDto.js +0 -4
- package/dist/models/LeadEnrichmentDomainDto.d.ts +6 -0
- package/dist/models/LeadEnrichmentDomainDto.js +4 -0
- package/dist/models/LeadEnrichmentDomainFactsDto.d.ts +72 -0
- package/dist/models/LeadEnrichmentDomainFactsDto.js +81 -0
- package/dist/models/LeadEnrichmentDomainVariantDto.d.ts +0 -6
- package/dist/models/LeadEnrichmentDomainVariantDto.js +0 -4
- package/dist/models/LeadEnrichmentDto.d.ts +26 -0
- package/dist/models/LeadEnrichmentDto.js +18 -0
- package/dist/models/LeadEnrichmentEmailDto.d.ts +6 -0
- package/dist/models/LeadEnrichmentEmailDto.js +4 -0
- package/dist/models/LeadEnrichmentIpDto.d.ts +18 -0
- package/dist/models/LeadEnrichmentIpDto.js +12 -0
- package/dist/models/LeadEnrichmentNamesakeDto.d.ts +68 -0
- package/dist/models/LeadEnrichmentNamesakeDto.js +75 -0
- package/dist/models/LeadEnrichmentPersonDto.d.ts +6 -0
- package/dist/models/LeadEnrichmentPersonDto.js +4 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/models/LeadEnrichmentCompanyDto.ts +0 -9
- package/src/models/LeadEnrichmentDomainDto.ts +9 -0
- package/src/models/LeadEnrichmentDomainFactsDto.ts +124 -0
- package/src/models/LeadEnrichmentDomainVariantDto.ts +0 -9
- package/src/models/LeadEnrichmentDto.ts +50 -0
- package/src/models/LeadEnrichmentEmailDto.ts +9 -0
- package/src/models/LeadEnrichmentIpDto.ts +27 -0
- package/src/models/LeadEnrichmentNamesakeDto.ts +120 -0
- package/src/models/LeadEnrichmentPersonDto.ts +9 -0
- package/src/models/index.ts +2 -0
|
@@ -0,0 +1,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
|
|
package/src/models/index.ts
CHANGED
|
@@ -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';
|