@randock/nameshift-api-client 0.0.459 → 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 +15 -0
- package/README.md +3 -3
- package/dist/apis/DomainsApi.d.ts +43 -9
- package/dist/apis/DomainsApi.js +156 -10
- package/dist/apis/JobsApi.d.ts +51 -0
- package/dist/apis/JobsApi.js +222 -0
- package/dist/apis/LeadsApi.d.ts +14 -1
- package/dist/apis/LeadsApi.js +63 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/ApplyDomainEditInput.d.ts +40 -0
- package/dist/models/ApplyDomainEditInput.js +53 -0
- package/dist/models/BuyerNotificationDto.d.ts +1 -0
- package/dist/models/BuyerNotificationDto.js +1 -0
- package/dist/models/BuyerNotificationListItemDto.d.ts +1 -0
- package/dist/models/BuyerNotificationListItemDto.js +1 -0
- package/dist/models/DomainEditPreviewDto.d.ts +83 -0
- package/dist/models/DomainEditPreviewDto.js +84 -0
- package/dist/models/DomainEditPreviewRowDto.d.ts +60 -0
- package/dist/models/DomainEditPreviewRowDto.js +67 -0
- package/dist/models/FeatureFlagListItemDto.d.ts +2 -0
- package/dist/models/FeatureFlagListItemDto.js +3 -1
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +2 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +3 -1
- package/dist/models/JobDto.d.ts +101 -0
- package/dist/models/JobDto.js +98 -0
- package/dist/models/JobFailureDto.d.ts +38 -0
- package/dist/models/JobFailureDto.js +55 -0
- package/dist/models/JobStatus.d.ts +27 -0
- package/dist/models/JobStatus.js +53 -0
- package/dist/models/JobType.d.ts +24 -0
- package/dist/models/JobType.js +50 -0
- 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/ListJobs200Response.d.ts +47 -0
- package/dist/models/ListJobs200Response.js +62 -0
- package/dist/models/PreviewDomainEditInput.d.ts +38 -0
- package/dist/models/PreviewDomainEditInput.js +53 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +2 -0
- package/dist/models/PrivateAccountGetMeResponse.js +3 -1
- package/dist/models/UserNotificationDto.d.ts +1 -0
- package/dist/models/UserNotificationDto.js +1 -0
- package/dist/models/UserNotificationListItemDto.d.ts +1 -0
- package/dist/models/UserNotificationListItemDto.js +1 -0
- package/dist/models/index.d.ts +14 -0
- package/dist/models/index.js +14 -0
- package/package.json +1 -1
- package/src/apis/DomainsApi.ts +154 -12
- package/src/apis/JobsApi.ts +163 -0
- package/src/apis/LeadsApi.ts +54 -0
- package/src/apis/index.ts +1 -0
- package/src/models/ApplyDomainEditInput.ts +74 -0
- package/src/models/BuyerNotificationDto.ts +1 -0
- package/src/models/BuyerNotificationListItemDto.ts +1 -0
- package/src/models/DomainEditPreviewDto.ts +146 -0
- package/src/models/DomainEditPreviewRowDto.ts +102 -0
- package/src/models/FeatureFlagListItemDto.ts +3 -1
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +3 -1
- package/src/models/JobDto.ts +189 -0
- package/src/models/JobFailureDto.ts +75 -0
- package/src/models/JobStatus.ts +55 -0
- package/src/models/JobType.ts +52 -0
- 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/ListJobs200Response.ts +106 -0
- package/src/models/PreviewDomainEditInput.ts +74 -0
- package/src/models/PrivateAccountGetMeResponse.ts +3 -1
- package/src/models/UserNotificationDto.ts +1 -0
- package/src/models/UserNotificationListItemDto.ts +1 -0
- package/src/models/index.ts +14 -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
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
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 { PaginateResponseLinks } from './PaginateResponseLinks';
|
|
17
|
+
import {
|
|
18
|
+
PaginateResponseLinksFromJSON,
|
|
19
|
+
PaginateResponseLinksFromJSONTyped,
|
|
20
|
+
PaginateResponseLinksToJSON,
|
|
21
|
+
PaginateResponseLinksToJSONTyped,
|
|
22
|
+
} from './PaginateResponseLinks';
|
|
23
|
+
import type { JobDto } from './JobDto';
|
|
24
|
+
import {
|
|
25
|
+
JobDtoFromJSON,
|
|
26
|
+
JobDtoFromJSONTyped,
|
|
27
|
+
JobDtoToJSON,
|
|
28
|
+
JobDtoToJSONTyped,
|
|
29
|
+
} from './JobDto';
|
|
30
|
+
import type { PaginateResponseMeta } from './PaginateResponseMeta';
|
|
31
|
+
import {
|
|
32
|
+
PaginateResponseMetaFromJSON,
|
|
33
|
+
PaginateResponseMetaFromJSONTyped,
|
|
34
|
+
PaginateResponseMetaToJSON,
|
|
35
|
+
PaginateResponseMetaToJSONTyped,
|
|
36
|
+
} from './PaginateResponseMeta';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface ListJobs200Response
|
|
42
|
+
*/
|
|
43
|
+
export interface ListJobs200Response {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {Array<JobDto>}
|
|
47
|
+
* @memberof ListJobs200Response
|
|
48
|
+
*/
|
|
49
|
+
data: Array<JobDto>;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {PaginateResponseMeta}
|
|
53
|
+
* @memberof ListJobs200Response
|
|
54
|
+
*/
|
|
55
|
+
meta: PaginateResponseMeta;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {PaginateResponseLinks}
|
|
59
|
+
* @memberof ListJobs200Response
|
|
60
|
+
*/
|
|
61
|
+
links: PaginateResponseLinks;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the ListJobs200Response interface.
|
|
66
|
+
*/
|
|
67
|
+
export function instanceOfListJobs200Response(value: object): value is ListJobs200Response {
|
|
68
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
69
|
+
if (!('meta' in value) || value['meta'] === undefined) return false;
|
|
70
|
+
if (!('links' in value) || value['links'] === undefined) return false;
|
|
71
|
+
return true;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function ListJobs200ResponseFromJSON(json: any): ListJobs200Response {
|
|
75
|
+
return ListJobs200ResponseFromJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function ListJobs200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListJobs200Response {
|
|
79
|
+
if (json == null) {
|
|
80
|
+
return json;
|
|
81
|
+
}
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'data': ((json['data'] as Array<any>).map(JobDtoFromJSON)),
|
|
85
|
+
'meta': PaginateResponseMetaFromJSON(json['meta']),
|
|
86
|
+
'links': PaginateResponseLinksFromJSON(json['links']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function ListJobs200ResponseToJSON(json: any): ListJobs200Response {
|
|
91
|
+
return ListJobs200ResponseToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export function ListJobs200ResponseToJSONTyped(value?: ListJobs200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
95
|
+
if (value == null) {
|
|
96
|
+
return value;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
return {
|
|
100
|
+
|
|
101
|
+
'data': ((value['data'] as Array<any>).map(JobDtoToJSON)),
|
|
102
|
+
'meta': PaginateResponseMetaToJSON(value['meta']),
|
|
103
|
+
'links': PaginateResponseLinksToJSON(value['links']),
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
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 PreviewDomainEditInput
|
|
20
|
+
*/
|
|
21
|
+
export interface PreviewDomainEditInput {
|
|
22
|
+
/**
|
|
23
|
+
* The selected domains. Omit to apply to everything the filter and searchFilter match.
|
|
24
|
+
* @type {Array<string>}
|
|
25
|
+
* @memberof PreviewDomainEditInput
|
|
26
|
+
*/
|
|
27
|
+
domainIds?: Array<string>;
|
|
28
|
+
/**
|
|
29
|
+
* The change the seller wants, in their own words.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof PreviewDomainEditInput
|
|
32
|
+
*/
|
|
33
|
+
request: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the PreviewDomainEditInput interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfPreviewDomainEditInput(value: object): value is PreviewDomainEditInput {
|
|
40
|
+
if (!('request' in value) || value['request'] === undefined) return false;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function PreviewDomainEditInputFromJSON(json: any): PreviewDomainEditInput {
|
|
45
|
+
return PreviewDomainEditInputFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function PreviewDomainEditInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PreviewDomainEditInput {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
|
|
54
|
+
'domainIds': json['domainIds'] == null ? undefined : json['domainIds'],
|
|
55
|
+
'request': json['request'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function PreviewDomainEditInputToJSON(json: any): PreviewDomainEditInput {
|
|
60
|
+
return PreviewDomainEditInputToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function PreviewDomainEditInputToJSONTyped(value?: PreviewDomainEditInput | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'domainIds': value['domainIds'],
|
|
71
|
+
'request': value['request'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -186,7 +186,9 @@ export const PrivateAccountGetMeResponseEnabledFeaturesEnum = {
|
|
|
186
186
|
USE_MAILER_FALLBACK_URL: 'USE_MAILER_FALLBACK_URL',
|
|
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
|
-
MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING'
|
|
189
|
+
MARKETPLACE_ROUTING: 'MARKETPLACE_ROUTING',
|
|
190
|
+
AI_DOMAIN_EDIT: 'AI_DOMAIN_EDIT',
|
|
191
|
+
LEAD_ENRICHMENT: 'LEAD_ENRICHMENT'
|
|
190
192
|
} as const;
|
|
191
193
|
export type PrivateAccountGetMeResponseEnabledFeaturesEnum = typeof PrivateAccountGetMeResponseEnabledFeaturesEnum[keyof typeof PrivateAccountGetMeResponseEnabledFeaturesEnum];
|
|
192
194
|
|
|
@@ -133,6 +133,7 @@ export const UserNotificationDtoTypeEnum = {
|
|
|
133
133
|
SELLER_BULK_DOWNLOAD_INVOICES_COMPLETED: 'seller_bulk_download_invoices_completed',
|
|
134
134
|
SELLER_BULK_DOWNLOAD_INVOICES_FAILED: 'seller_bulk_download_invoices_failed',
|
|
135
135
|
EPP_BATCH_UPDATE_DOMAINS_RESULTS: 'epp.batch.update.domains.results',
|
|
136
|
+
BULK_EDIT_DOMAINS_FINISHED: 'bulk_edit_domains_finished',
|
|
136
137
|
ORDER_HAS_BEEN_PAID: 'order_has_been_paid',
|
|
137
138
|
PURCHASES_ARE_CLOSED_DUE_DOMAINS_IS_SOLD_OR_DELETED: 'purchases_are_closed_due_domains_is_sold_or_deleted',
|
|
138
139
|
DOMAIN_OWNER_CHANGED: 'domain_owner_changed',
|
|
@@ -119,6 +119,7 @@ export const UserNotificationListItemDtoTypeEnum = {
|
|
|
119
119
|
SELLER_BULK_DOWNLOAD_INVOICES_COMPLETED: 'seller_bulk_download_invoices_completed',
|
|
120
120
|
SELLER_BULK_DOWNLOAD_INVOICES_FAILED: 'seller_bulk_download_invoices_failed',
|
|
121
121
|
EPP_BATCH_UPDATE_DOMAINS_RESULTS: 'epp.batch.update.domains.results',
|
|
122
|
+
BULK_EDIT_DOMAINS_FINISHED: 'bulk_edit_domains_finished',
|
|
122
123
|
ORDER_HAS_BEEN_PAID: 'order_has_been_paid',
|
|
123
124
|
PURCHASES_ARE_CLOSED_DUE_DOMAINS_IS_SOLD_OR_DELETED: 'purchases_are_closed_due_domains_is_sold_or_deleted',
|
|
124
125
|
DOMAIN_OWNER_CHANGED: 'domain_owner_changed',
|
package/src/models/index.ts
CHANGED
|
@@ -75,6 +75,7 @@ export * from './AirwallexDepositDto';
|
|
|
75
75
|
export * from './AirwallexDepositDtoFee';
|
|
76
76
|
export * from './ApiKeyDto';
|
|
77
77
|
export * from './ApiKeyScopeDto';
|
|
78
|
+
export * from './ApplyDomainEditInput';
|
|
78
79
|
export * from './AuBankAccountDetails';
|
|
79
80
|
export * from './AuctionBidDto';
|
|
80
81
|
export * from './AuctionBidInput';
|
|
@@ -183,6 +184,8 @@ export * from './CursorBasedPaginationResponse';
|
|
|
183
184
|
export * from './DeleteDomainsInput';
|
|
184
185
|
export * from './DomainAuctionDto';
|
|
185
186
|
export * from './DomainCategoryItemDto';
|
|
187
|
+
export * from './DomainEditPreviewDto';
|
|
188
|
+
export * from './DomainEditPreviewRowDto';
|
|
186
189
|
export * from './DomainExchangeRateDto';
|
|
187
190
|
export * from './DomainFiltersDto';
|
|
188
191
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
@@ -270,6 +273,10 @@ export * from './InvoiceItemDto';
|
|
|
270
273
|
export * from './InvoiceItemTaxDto';
|
|
271
274
|
export * from './InvoiceSellerAccountDto';
|
|
272
275
|
export * from './InvoiceTransactionDto';
|
|
276
|
+
export * from './JobDto';
|
|
277
|
+
export * from './JobFailureDto';
|
|
278
|
+
export * from './JobStatus';
|
|
279
|
+
export * from './JobType';
|
|
273
280
|
export * from './LandingPageDesignSettingsDto';
|
|
274
281
|
export * from './LandingPageDesignSettingsInput';
|
|
275
282
|
export * from './LandingPageInput';
|
|
@@ -283,6 +290,11 @@ export * from './LandingPageSettingsDto';
|
|
|
283
290
|
export * from './LeadBuyerConfigDto';
|
|
284
291
|
export * from './LeadDomainDto';
|
|
285
292
|
export * from './LeadDto';
|
|
293
|
+
export * from './LeadEnrichmentCompanyDto';
|
|
294
|
+
export * from './LeadEnrichmentDto';
|
|
295
|
+
export * from './LeadEnrichmentEmailDto';
|
|
296
|
+
export * from './LeadEnrichmentIpDto';
|
|
297
|
+
export * from './LeadEnrichmentWebResultDto';
|
|
286
298
|
export * from './LeadLeaseToOwnAndRentConfigurationPresetsDto';
|
|
287
299
|
export * from './LeadLeaseToOwnConfigurationDto';
|
|
288
300
|
export * from './LeadMessageData';
|
|
@@ -320,6 +332,7 @@ export * from './ListBankDeposits200Response';
|
|
|
320
332
|
export * from './ListBuyerNotifications200Response';
|
|
321
333
|
export * from './ListDomains200Response';
|
|
322
334
|
export * from './ListDomainsWithUpdatedPricing200Response';
|
|
335
|
+
export * from './ListJobs200Response';
|
|
323
336
|
export * from './ListLeadMessagesDto';
|
|
324
337
|
export * from './ListLeads200Response';
|
|
325
338
|
export * from './ListLeadsResultItem';
|
|
@@ -365,6 +378,7 @@ export * from './PartnerDomainFindDto';
|
|
|
365
378
|
export * from './PayAccountPaymentInput';
|
|
366
379
|
export * from './PaymentMethodsStatsDto';
|
|
367
380
|
export * from './PopularCategoryDto';
|
|
381
|
+
export * from './PreviewDomainEditInput';
|
|
368
382
|
export * from './PrivateAccountGetMeResponse';
|
|
369
383
|
export * from './PublicAccountInformationDto';
|
|
370
384
|
export * from './PublicAuctionListItemDto';
|