@randock/nameshift-api-client 0.0.460 → 0.0.461
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 +5 -0
- package/README.md +3 -3
- package/dist/apis/LeadsApi.d.ts +14 -1
- package/dist/apis/LeadsApi.js +63 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +1 -0
- package/dist/models/FeatureFlagListItemDto.js +2 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/LeadEnrichmentCompanyDto.d.ts +68 -0
- package/dist/models/LeadEnrichmentCompanyDto.js +75 -0
- package/dist/models/LeadEnrichmentDto.d.ts +72 -0
- package/dist/models/LeadEnrichmentDto.js +79 -0
- package/dist/models/LeadEnrichmentEmailDto.d.ts +44 -0
- package/dist/models/LeadEnrichmentEmailDto.js +59 -0
- package/dist/models/LeadEnrichmentIpDto.d.ts +62 -0
- package/dist/models/LeadEnrichmentIpDto.js +71 -0
- package/dist/models/LeadEnrichmentWebResultDto.d.ts +44 -0
- package/dist/models/LeadEnrichmentWebResultDto.js +59 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
- package/src/apis/LeadsApi.ts +54 -0
- package/src/models/FeatureFlagListItemDto.ts +2 -1
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/LeadEnrichmentCompanyDto.ts +120 -0
- package/src/models/LeadEnrichmentDto.ts +149 -0
- package/src/models/LeadEnrichmentEmailDto.ts +84 -0
- package/src/models/LeadEnrichmentIpDto.ts +111 -0
- package/src/models/LeadEnrichmentWebResultDto.ts +84 -0
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/index.ts +5 -0
|
@@ -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 LeadEnrichmentEmailDto
|
|
20
|
+
*/
|
|
21
|
+
export interface LeadEnrichmentEmailDto {
|
|
22
|
+
/**
|
|
23
|
+
* Whether the email uses a consumer mail provider.
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof LeadEnrichmentEmailDto
|
|
26
|
+
*/
|
|
27
|
+
isFreeMail: boolean | null;
|
|
28
|
+
/**
|
|
29
|
+
* Whether the email uses a disposable/throwaway service.
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof LeadEnrichmentEmailDto
|
|
32
|
+
*/
|
|
33
|
+
isDisposable: boolean | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof LeadEnrichmentEmailDto
|
|
38
|
+
*/
|
|
39
|
+
webSummary: string | null;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the LeadEnrichmentEmailDto interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfLeadEnrichmentEmailDto(value: object): value is LeadEnrichmentEmailDto {
|
|
46
|
+
if (!('isFreeMail' in value) || value['isFreeMail'] === undefined) return false;
|
|
47
|
+
if (!('isDisposable' in value) || value['isDisposable'] === undefined) return false;
|
|
48
|
+
if (!('webSummary' in value) || value['webSummary'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function LeadEnrichmentEmailDtoFromJSON(json: any): LeadEnrichmentEmailDto {
|
|
53
|
+
return LeadEnrichmentEmailDtoFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function LeadEnrichmentEmailDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentEmailDto {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'isFreeMail': json['isFreeMail'],
|
|
63
|
+
'isDisposable': json['isDisposable'],
|
|
64
|
+
'webSummary': json['webSummary'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function LeadEnrichmentEmailDtoToJSON(json: any): LeadEnrichmentEmailDto {
|
|
69
|
+
return LeadEnrichmentEmailDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function LeadEnrichmentEmailDtoToJSONTyped(value?: LeadEnrichmentEmailDto | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'isFreeMail': value['isFreeMail'],
|
|
80
|
+
'isDisposable': value['isDisposable'],
|
|
81
|
+
'webSummary': value['webSummary'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,111 @@
|
|
|
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 LeadEnrichmentIpDto
|
|
20
|
+
*/
|
|
21
|
+
export interface LeadEnrichmentIpDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof LeadEnrichmentIpDto
|
|
26
|
+
*/
|
|
27
|
+
org: string | null;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LeadEnrichmentIpDto
|
|
32
|
+
*/
|
|
33
|
+
asnOrg: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof LeadEnrichmentIpDto
|
|
38
|
+
*/
|
|
39
|
+
countryCode: string | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof LeadEnrichmentIpDto
|
|
44
|
+
*/
|
|
45
|
+
isHosting: boolean | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof LeadEnrichmentIpDto
|
|
50
|
+
*/
|
|
51
|
+
isVpn: boolean | null;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof LeadEnrichmentIpDto
|
|
56
|
+
*/
|
|
57
|
+
isTor: boolean | null;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the LeadEnrichmentIpDto interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfLeadEnrichmentIpDto(value: object): value is LeadEnrichmentIpDto {
|
|
64
|
+
if (!('org' in value) || value['org'] === undefined) return false;
|
|
65
|
+
if (!('asnOrg' in value) || value['asnOrg'] === undefined) return false;
|
|
66
|
+
if (!('countryCode' in value) || value['countryCode'] === undefined) return false;
|
|
67
|
+
if (!('isHosting' in value) || value['isHosting'] === undefined) return false;
|
|
68
|
+
if (!('isVpn' in value) || value['isVpn'] === undefined) return false;
|
|
69
|
+
if (!('isTor' in value) || value['isTor'] === undefined) return false;
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function LeadEnrichmentIpDtoFromJSON(json: any): LeadEnrichmentIpDto {
|
|
74
|
+
return LeadEnrichmentIpDtoFromJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function LeadEnrichmentIpDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentIpDto {
|
|
78
|
+
if (json == null) {
|
|
79
|
+
return json;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'org': json['org'],
|
|
84
|
+
'asnOrg': json['asnOrg'],
|
|
85
|
+
'countryCode': json['countryCode'],
|
|
86
|
+
'isHosting': json['isHosting'],
|
|
87
|
+
'isVpn': json['isVpn'],
|
|
88
|
+
'isTor': json['isTor'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function LeadEnrichmentIpDtoToJSON(json: any): LeadEnrichmentIpDto {
|
|
93
|
+
return LeadEnrichmentIpDtoToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function LeadEnrichmentIpDtoToJSONTyped(value?: LeadEnrichmentIpDto | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'org': value['org'],
|
|
104
|
+
'asnOrg': value['asnOrg'],
|
|
105
|
+
'countryCode': value['countryCode'],
|
|
106
|
+
'isHosting': value['isHosting'],
|
|
107
|
+
'isVpn': value['isVpn'],
|
|
108
|
+
'isTor': value['isTor'],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
@@ -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 LeadEnrichmentWebResultDto
|
|
20
|
+
*/
|
|
21
|
+
export interface LeadEnrichmentWebResultDto {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof LeadEnrichmentWebResultDto
|
|
26
|
+
*/
|
|
27
|
+
title: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LeadEnrichmentWebResultDto
|
|
32
|
+
*/
|
|
33
|
+
url: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof LeadEnrichmentWebResultDto
|
|
38
|
+
*/
|
|
39
|
+
snippet: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the LeadEnrichmentWebResultDto interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfLeadEnrichmentWebResultDto(value: object): value is LeadEnrichmentWebResultDto {
|
|
46
|
+
if (!('title' in value) || value['title'] === undefined) return false;
|
|
47
|
+
if (!('url' in value) || value['url'] === undefined) return false;
|
|
48
|
+
if (!('snippet' in value) || value['snippet'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function LeadEnrichmentWebResultDtoFromJSON(json: any): LeadEnrichmentWebResultDto {
|
|
53
|
+
return LeadEnrichmentWebResultDtoFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function LeadEnrichmentWebResultDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadEnrichmentWebResultDto {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'title': json['title'],
|
|
63
|
+
'url': json['url'],
|
|
64
|
+
'snippet': json['snippet'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function LeadEnrichmentWebResultDtoToJSON(json: any): LeadEnrichmentWebResultDto {
|
|
69
|
+
return LeadEnrichmentWebResultDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function LeadEnrichmentWebResultDtoToJSONTyped(value?: LeadEnrichmentWebResultDto | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'title': value['title'],
|
|
80
|
+
'url': value['url'],
|
|
81
|
+
'snippet': value['snippet'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -187,7 +187,8 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
187
187
|
USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST: 'USE_MAILER_FALLBACK_FOR_MANUAL_OTP_REQUEST',
|
|
188
188
|
AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD: 'AIRWALLEX_BANK_TRANSFER_PAYMENT_METHOD',
|
|
189
189
|
MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
|
|
190
|
-
AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT'
|
|
190
|
+
AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
|
|
191
|
+
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT'
|
|
191
192
|
} as const;
|
|
192
193
|
export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
|
|
193
194
|
|
package/src/models/index.ts
CHANGED
|
@@ -290,6 +290,11 @@ export * from './LandingPageSettingsDto';
|
|
|
290
290
|
export * from './LeadBuyerConfigDto';
|
|
291
291
|
export * from './LeadDomainDto';
|
|
292
292
|
export * from './LeadDto';
|
|
293
|
+
export * from './LeadEnrichmentCompanyDto';
|
|
294
|
+
export * from './LeadEnrichmentDto';
|
|
295
|
+
export * from './LeadEnrichmentEmailDto';
|
|
296
|
+
export * from './LeadEnrichmentIpDto';
|
|
297
|
+
export * from './LeadEnrichmentWebResultDto';
|
|
293
298
|
export * from './LeadLeaseToOwnAndRentConfigurationPresetsDto';
|
|
294
299
|
export * from './LeadLeaseToOwnConfigurationDto';
|
|
295
300
|
export * from './LeadMessageData';
|