@randock/nameshift-api-client 0.0.442 → 0.0.444
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 +13 -0
- package/README.md +3 -3
- package/dist/apis/MarketingApi.d.ts +14 -1
- package/dist/apis/MarketingApi.js +56 -0
- package/dist/models/DomainMinimalLandingPageDesignDto.d.ts +46 -0
- package/dist/models/DomainMinimalLandingPageDesignDto.js +63 -0
- package/dist/models/DomainModernLandingPageDesignDto.d.ts +46 -0
- package/dist/models/DomainModernLandingPageDesignDto.js +63 -0
- package/dist/models/DomainOriginalLandingPageDesignDto.d.ts +46 -0
- package/dist/models/DomainOriginalLandingPageDesignDto.js +63 -0
- package/dist/models/DomainSalesInformationDto.d.ts +7 -24
- package/dist/models/DomainSalesInformationDto.js +5 -16
- package/dist/models/DomainSalesInformationDtoLandingPageDesign.d.ts +30 -0
- package/dist/models/DomainSalesInformationDtoLandingPageDesign.js +59 -0
- package/dist/models/DomainSellerDto.d.ts +0 -6
- package/dist/models/DomainSellerDto.js +0 -4
- package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.d.ts +19 -3
- package/dist/models/DomainTransferDetailSellerPayoutInvoiceDto.js +18 -5
- package/dist/models/LandingPageDesignSettingsDto.d.ts +47 -0
- package/dist/models/LandingPageDesignSettingsDto.js +62 -0
- package/dist/models/LandingPageDesignSettingsInput.d.ts +47 -0
- package/dist/models/LandingPageDesignSettingsInput.js +56 -0
- package/dist/models/LandingPageInput.d.ts +6 -47
- package/dist/models/LandingPageInput.js +3 -16
- package/dist/models/LandingPageMinimalDesignSettingsDto.d.ts +32 -0
- package/dist/models/LandingPageMinimalDesignSettingsDto.js +51 -0
- package/dist/models/LandingPageMinimalDesignSettingsInput.d.ts +32 -0
- package/dist/models/LandingPageMinimalDesignSettingsInput.js +49 -0
- package/dist/models/LandingPageModernDesignSettingsDto.d.ts +74 -0
- package/dist/models/LandingPageModernDesignSettingsDto.js +79 -0
- package/dist/models/LandingPageModernDesignSettingsInput.d.ts +74 -0
- package/dist/models/LandingPageModernDesignSettingsInput.js +63 -0
- package/dist/models/LandingPageOriginalDesignSettingsDto.d.ts +74 -0
- package/dist/models/LandingPageOriginalDesignSettingsDto.js +79 -0
- package/dist/models/LandingPageOriginalDesignSettingsInput.d.ts +74 -0
- package/dist/models/LandingPageOriginalDesignSettingsInput.js +63 -0
- package/dist/models/LandingPageSettingsDto.d.ts +6 -47
- package/dist/models/LandingPageSettingsDto.js +5 -32
- package/dist/models/MarketingDashboardStatsDto.d.ts +33 -0
- package/dist/models/MarketingDashboardStatsDto.js +52 -0
- package/dist/models/WithSettingsInner.d.ts +0 -24
- package/dist/models/WithSettingsInner.js +0 -16
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/package.json +1 -1
- package/src/apis/MarketingApi.ts +47 -0
- package/src/models/DomainMinimalLandingPageDesignDto.ts +93 -0
- package/src/models/DomainModernLandingPageDesignDto.ts +93 -0
- package/src/models/DomainOriginalLandingPageDesignDto.ts +93 -0
- package/src/models/DomainSalesInformationDto.ts +16 -36
- package/src/models/DomainSalesInformationDtoLandingPageDesign.ts +84 -0
- package/src/models/DomainSellerDto.ts +0 -9
- package/src/models/DomainTransferDetailSellerPayoutInvoiceDto.ts +26 -6
- package/src/models/LandingPageDesignSettingsDto.ts +106 -0
- package/src/models/LandingPageDesignSettingsInput.ts +103 -0
- package/src/models/LandingPageInput.ts +15 -63
- package/src/models/LandingPageMinimalDesignSettingsDto.ts +66 -0
- package/src/models/LandingPageMinimalDesignSettingsInput.ts +65 -0
- package/src/models/LandingPageModernDesignSettingsDto.ts +129 -0
- package/src/models/LandingPageModernDesignSettingsInput.ts +121 -0
- package/src/models/LandingPageOriginalDesignSettingsDto.ts +129 -0
- package/src/models/LandingPageOriginalDesignSettingsInput.ts +121 -0
- package/src/models/LandingPageSettingsDto.ts +16 -71
- package/src/models/MarketingDashboardStatsDto.ts +74 -0
- package/src/models/WithSettingsInner.ts +0 -36
- package/src/models/index.ts +13 -0
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LandingPageDesignSettingsInput } from './LandingPageDesignSettingsInput';
|
|
17
|
+
import {
|
|
18
|
+
LandingPageDesignSettingsInputFromJSON,
|
|
19
|
+
LandingPageDesignSettingsInputFromJSONTyped,
|
|
20
|
+
LandingPageDesignSettingsInputToJSON,
|
|
21
|
+
LandingPageDesignSettingsInputToJSONTyped,
|
|
22
|
+
} from './LandingPageDesignSettingsInput';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -25,54 +33,12 @@ export interface LandingPageInput {
|
|
|
25
33
|
* @memberof LandingPageInput
|
|
26
34
|
*/
|
|
27
35
|
anonymous?: boolean | null;
|
|
28
|
-
/**
|
|
29
|
-
* Whether to show related domains on the landing page
|
|
30
|
-
* @type {boolean}
|
|
31
|
-
* @memberof LandingPageInput
|
|
32
|
-
*/
|
|
33
|
-
showRelatedDomains?: boolean | null;
|
|
34
|
-
/**
|
|
35
|
-
* Whether to show last online timestamp on the landing page
|
|
36
|
-
* @type {boolean}
|
|
37
|
-
* @memberof LandingPageInput
|
|
38
|
-
*/
|
|
39
|
-
showLastOnline?: boolean | null;
|
|
40
|
-
/**
|
|
41
|
-
* Whether to show estimated delivery time on the landing page
|
|
42
|
-
* @type {boolean}
|
|
43
|
-
* @memberof LandingPageInput
|
|
44
|
-
*/
|
|
45
|
-
showDeliversIn?: boolean | null;
|
|
46
|
-
/**
|
|
47
|
-
* Whether to show Trustpilot widget on the landing page
|
|
48
|
-
* @type {boolean}
|
|
49
|
-
* @memberof LandingPageInput
|
|
50
|
-
*/
|
|
51
|
-
showTrustpilot?: boolean | null;
|
|
52
36
|
/**
|
|
53
37
|
* Whether to display DNSSEC status on the landing page
|
|
54
38
|
* @type {boolean}
|
|
55
39
|
* @memberof LandingPageInput
|
|
56
40
|
*/
|
|
57
41
|
dnssec?: boolean | null;
|
|
58
|
-
/**
|
|
59
|
-
* Whether to display SEO metrics on the landing page
|
|
60
|
-
* @type {boolean}
|
|
61
|
-
* @memberof LandingPageInput
|
|
62
|
-
*/
|
|
63
|
-
seoMetrics?: boolean | null;
|
|
64
|
-
/**
|
|
65
|
-
* Whether to display visitor statistics on the landing page
|
|
66
|
-
* @type {boolean}
|
|
67
|
-
* @memberof LandingPageInput
|
|
68
|
-
*/
|
|
69
|
-
visitorStats?: boolean | null;
|
|
70
|
-
/**
|
|
71
|
-
* Minimum domain authority required to display SEO metrics
|
|
72
|
-
* @type {number}
|
|
73
|
-
* @memberof LandingPageInput
|
|
74
|
-
*/
|
|
75
|
-
minDomainAuthority?: number | null;
|
|
76
42
|
/**
|
|
77
43
|
* Whether to require the lead buyer company name
|
|
78
44
|
* @type {boolean}
|
|
@@ -86,17 +52,17 @@ export interface LandingPageInput {
|
|
|
86
52
|
*/
|
|
87
53
|
requestLeadBuyerPhoneNumber?: LandingPageInputRequestLeadBuyerPhoneNumberEnum | null;
|
|
88
54
|
/**
|
|
89
|
-
*
|
|
55
|
+
* Landing page UI design variant
|
|
90
56
|
* @type {string}
|
|
91
57
|
* @memberof LandingPageInput
|
|
92
58
|
*/
|
|
93
|
-
|
|
59
|
+
design?: LandingPageInputDesignEnum | null;
|
|
94
60
|
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {
|
|
61
|
+
* Settings grouped by landing page design
|
|
62
|
+
* @type {LandingPageDesignSettingsInput}
|
|
97
63
|
* @memberof LandingPageInput
|
|
98
64
|
*/
|
|
99
|
-
|
|
65
|
+
designSettings?: LandingPageDesignSettingsInput;
|
|
100
66
|
}
|
|
101
67
|
|
|
102
68
|
|
|
@@ -139,18 +105,11 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
139
105
|
return {
|
|
140
106
|
|
|
141
107
|
'anonymous': json['anonymous'] == null ? undefined : json['anonymous'],
|
|
142
|
-
'showRelatedDomains': json['showRelatedDomains'] == null ? undefined : json['showRelatedDomains'],
|
|
143
|
-
'showLastOnline': json['showLastOnline'] == null ? undefined : json['showLastOnline'],
|
|
144
|
-
'showDeliversIn': json['showDeliversIn'] == null ? undefined : json['showDeliversIn'],
|
|
145
|
-
'showTrustpilot': json['showTrustpilot'] == null ? undefined : json['showTrustpilot'],
|
|
146
108
|
'dnssec': json['dnssec'] == null ? undefined : json['dnssec'],
|
|
147
|
-
'seoMetrics': json['seoMetrics'] == null ? undefined : json['seoMetrics'],
|
|
148
|
-
'visitorStats': json['visitorStats'] == null ? undefined : json['visitorStats'],
|
|
149
|
-
'minDomainAuthority': json['minDomainAuthority'] == null ? undefined : json['minDomainAuthority'],
|
|
150
109
|
'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'] == null ? undefined : json['requestLeadBuyerCompanyName'],
|
|
151
110
|
'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'] == null ? undefined : json['requestLeadBuyerPhoneNumber'],
|
|
152
|
-
'externalLink': json['externalLink'] == null ? undefined : json['externalLink'],
|
|
153
111
|
'design': json['design'] == null ? undefined : json['design'],
|
|
112
|
+
'designSettings': json['designSettings'] == null ? undefined : LandingPageDesignSettingsInputFromJSON(json['designSettings']),
|
|
154
113
|
};
|
|
155
114
|
}
|
|
156
115
|
|
|
@@ -166,18 +125,11 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
|
|
|
166
125
|
return {
|
|
167
126
|
|
|
168
127
|
'anonymous': value['anonymous'],
|
|
169
|
-
'showRelatedDomains': value['showRelatedDomains'],
|
|
170
|
-
'showLastOnline': value['showLastOnline'],
|
|
171
|
-
'showDeliversIn': value['showDeliversIn'],
|
|
172
|
-
'showTrustpilot': value['showTrustpilot'],
|
|
173
128
|
'dnssec': value['dnssec'],
|
|
174
|
-
'seoMetrics': value['seoMetrics'],
|
|
175
|
-
'visitorStats': value['visitorStats'],
|
|
176
|
-
'minDomainAuthority': value['minDomainAuthority'],
|
|
177
129
|
'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
|
|
178
130
|
'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
|
|
179
|
-
'externalLink': value['externalLink'],
|
|
180
131
|
'design': value['design'],
|
|
132
|
+
'designSettings': LandingPageDesignSettingsInputToJSON(value['designSettings']),
|
|
181
133
|
};
|
|
182
134
|
}
|
|
183
135
|
|
|
@@ -0,0 +1,66 @@
|
|
|
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 LandingPageMinimalDesignSettingsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface LandingPageMinimalDesignSettingsDto {
|
|
22
|
+
/**
|
|
23
|
+
* Hexadecimal background color, or null to use the design default.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof LandingPageMinimalDesignSettingsDto
|
|
26
|
+
*/
|
|
27
|
+
backgroundColor: string | null;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the LandingPageMinimalDesignSettingsDto interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfLandingPageMinimalDesignSettingsDto(value: object): value is LandingPageMinimalDesignSettingsDto {
|
|
34
|
+
if (!('backgroundColor' in value) || value['backgroundColor'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function LandingPageMinimalDesignSettingsDtoFromJSON(json: any): LandingPageMinimalDesignSettingsDto {
|
|
39
|
+
return LandingPageMinimalDesignSettingsDtoFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function LandingPageMinimalDesignSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LandingPageMinimalDesignSettingsDto {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'backgroundColor': json['backgroundColor'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function LandingPageMinimalDesignSettingsDtoToJSON(json: any): LandingPageMinimalDesignSettingsDto {
|
|
53
|
+
return LandingPageMinimalDesignSettingsDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function LandingPageMinimalDesignSettingsDtoToJSONTyped(value?: LandingPageMinimalDesignSettingsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'backgroundColor': value['backgroundColor'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
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 LandingPageMinimalDesignSettingsInput
|
|
20
|
+
*/
|
|
21
|
+
export interface LandingPageMinimalDesignSettingsInput {
|
|
22
|
+
/**
|
|
23
|
+
* Hexadecimal background color, or null to use the design default
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof LandingPageMinimalDesignSettingsInput
|
|
26
|
+
*/
|
|
27
|
+
backgroundColor?: string | null;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the LandingPageMinimalDesignSettingsInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfLandingPageMinimalDesignSettingsInput(value: object): value is LandingPageMinimalDesignSettingsInput {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function LandingPageMinimalDesignSettingsInputFromJSON(json: any): LandingPageMinimalDesignSettingsInput {
|
|
38
|
+
return LandingPageMinimalDesignSettingsInputFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function LandingPageMinimalDesignSettingsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LandingPageMinimalDesignSettingsInput {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'backgroundColor': json['backgroundColor'] == null ? undefined : json['backgroundColor'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function LandingPageMinimalDesignSettingsInputToJSON(json: any): LandingPageMinimalDesignSettingsInput {
|
|
52
|
+
return LandingPageMinimalDesignSettingsInputToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function LandingPageMinimalDesignSettingsInputToJSONTyped(value?: LandingPageMinimalDesignSettingsInput | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'backgroundColor': value['backgroundColor'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -0,0 +1,129 @@
|
|
|
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 LandingPageModernDesignSettingsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface LandingPageModernDesignSettingsDto {
|
|
22
|
+
/**
|
|
23
|
+
* Whether related domains are shown.
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof LandingPageModernDesignSettingsDto
|
|
26
|
+
*/
|
|
27
|
+
showRelatedDomains: boolean | null;
|
|
28
|
+
/**
|
|
29
|
+
* Whether the seller last-online indicator is shown.
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof LandingPageModernDesignSettingsDto
|
|
32
|
+
*/
|
|
33
|
+
showLastOnline: boolean | null;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the estimated delivery time is shown.
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof LandingPageModernDesignSettingsDto
|
|
38
|
+
*/
|
|
39
|
+
showDeliversIn: boolean | null;
|
|
40
|
+
/**
|
|
41
|
+
* Whether the Trustpilot widget is shown.
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof LandingPageModernDesignSettingsDto
|
|
44
|
+
*/
|
|
45
|
+
showTrustpilot: boolean | null;
|
|
46
|
+
/**
|
|
47
|
+
* Whether SEO metrics are displayed.
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof LandingPageModernDesignSettingsDto
|
|
50
|
+
*/
|
|
51
|
+
seoMetrics: boolean | null;
|
|
52
|
+
/**
|
|
53
|
+
* Minimum Moz domain authority required to display SEO metrics.
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof LandingPageModernDesignSettingsDto
|
|
56
|
+
*/
|
|
57
|
+
minDomainAuthority: number | null;
|
|
58
|
+
/**
|
|
59
|
+
* Whether visitor statistics are displayed.
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof LandingPageModernDesignSettingsDto
|
|
62
|
+
*/
|
|
63
|
+
visitorStats: boolean | null;
|
|
64
|
+
/**
|
|
65
|
+
* Optional external link shown on the landing page.
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof LandingPageModernDesignSettingsDto
|
|
68
|
+
*/
|
|
69
|
+
externalLink: string | null;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the LandingPageModernDesignSettingsDto interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfLandingPageModernDesignSettingsDto(value: object): value is LandingPageModernDesignSettingsDto {
|
|
76
|
+
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined) return false;
|
|
77
|
+
if (!('showLastOnline' in value) || value['showLastOnline'] === undefined) return false;
|
|
78
|
+
if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined) return false;
|
|
79
|
+
if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined) return false;
|
|
80
|
+
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
|
|
81
|
+
if (!('minDomainAuthority' in value) || value['minDomainAuthority'] === undefined) return false;
|
|
82
|
+
if (!('visitorStats' in value) || value['visitorStats'] === undefined) return false;
|
|
83
|
+
if (!('externalLink' in value) || value['externalLink'] === undefined) return false;
|
|
84
|
+
return true;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function LandingPageModernDesignSettingsDtoFromJSON(json: any): LandingPageModernDesignSettingsDto {
|
|
88
|
+
return LandingPageModernDesignSettingsDtoFromJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function LandingPageModernDesignSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LandingPageModernDesignSettingsDto {
|
|
92
|
+
if (json == null) {
|
|
93
|
+
return json;
|
|
94
|
+
}
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'showRelatedDomains': json['showRelatedDomains'],
|
|
98
|
+
'showLastOnline': json['showLastOnline'],
|
|
99
|
+
'showDeliversIn': json['showDeliversIn'],
|
|
100
|
+
'showTrustpilot': json['showTrustpilot'],
|
|
101
|
+
'seoMetrics': json['seoMetrics'],
|
|
102
|
+
'minDomainAuthority': json['minDomainAuthority'],
|
|
103
|
+
'visitorStats': json['visitorStats'],
|
|
104
|
+
'externalLink': json['externalLink'],
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function LandingPageModernDesignSettingsDtoToJSON(json: any): LandingPageModernDesignSettingsDto {
|
|
109
|
+
return LandingPageModernDesignSettingsDtoToJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function LandingPageModernDesignSettingsDtoToJSONTyped(value?: LandingPageModernDesignSettingsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
+
if (value == null) {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'showRelatedDomains': value['showRelatedDomains'],
|
|
120
|
+
'showLastOnline': value['showLastOnline'],
|
|
121
|
+
'showDeliversIn': value['showDeliversIn'],
|
|
122
|
+
'showTrustpilot': value['showTrustpilot'],
|
|
123
|
+
'seoMetrics': value['seoMetrics'],
|
|
124
|
+
'minDomainAuthority': value['minDomainAuthority'],
|
|
125
|
+
'visitorStats': value['visitorStats'],
|
|
126
|
+
'externalLink': value['externalLink'],
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|
|
@@ -0,0 +1,121 @@
|
|
|
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 LandingPageModernDesignSettingsInput
|
|
20
|
+
*/
|
|
21
|
+
export interface LandingPageModernDesignSettingsInput {
|
|
22
|
+
/**
|
|
23
|
+
* Whether to show related domains on the landing page
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof LandingPageModernDesignSettingsInput
|
|
26
|
+
*/
|
|
27
|
+
showRelatedDomains?: boolean | null;
|
|
28
|
+
/**
|
|
29
|
+
* Whether to show last online timestamp on the landing page
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof LandingPageModernDesignSettingsInput
|
|
32
|
+
*/
|
|
33
|
+
showLastOnline?: boolean | null;
|
|
34
|
+
/**
|
|
35
|
+
* Whether to show estimated delivery time on the landing page
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof LandingPageModernDesignSettingsInput
|
|
38
|
+
*/
|
|
39
|
+
showDeliversIn?: boolean | null;
|
|
40
|
+
/**
|
|
41
|
+
* Whether to show Trustpilot widget on the landing page
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof LandingPageModernDesignSettingsInput
|
|
44
|
+
*/
|
|
45
|
+
showTrustpilot?: boolean | null;
|
|
46
|
+
/**
|
|
47
|
+
* Whether to display SEO metrics on the landing page
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof LandingPageModernDesignSettingsInput
|
|
50
|
+
*/
|
|
51
|
+
seoMetrics?: boolean | null;
|
|
52
|
+
/**
|
|
53
|
+
* Whether to display visitor statistics on the landing page
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof LandingPageModernDesignSettingsInput
|
|
56
|
+
*/
|
|
57
|
+
visitorStats?: boolean | null;
|
|
58
|
+
/**
|
|
59
|
+
* Minimum domain authority required to display SEO metrics
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof LandingPageModernDesignSettingsInput
|
|
62
|
+
*/
|
|
63
|
+
minDomainAuthority?: number | null;
|
|
64
|
+
/**
|
|
65
|
+
* External link displayed on the landing page
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof LandingPageModernDesignSettingsInput
|
|
68
|
+
*/
|
|
69
|
+
externalLink?: string | null;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the LandingPageModernDesignSettingsInput interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfLandingPageModernDesignSettingsInput(value: object): value is LandingPageModernDesignSettingsInput {
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function LandingPageModernDesignSettingsInputFromJSON(json: any): LandingPageModernDesignSettingsInput {
|
|
80
|
+
return LandingPageModernDesignSettingsInputFromJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function LandingPageModernDesignSettingsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LandingPageModernDesignSettingsInput {
|
|
84
|
+
if (json == null) {
|
|
85
|
+
return json;
|
|
86
|
+
}
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'showRelatedDomains': json['showRelatedDomains'] == null ? undefined : json['showRelatedDomains'],
|
|
90
|
+
'showLastOnline': json['showLastOnline'] == null ? undefined : json['showLastOnline'],
|
|
91
|
+
'showDeliversIn': json['showDeliversIn'] == null ? undefined : json['showDeliversIn'],
|
|
92
|
+
'showTrustpilot': json['showTrustpilot'] == null ? undefined : json['showTrustpilot'],
|
|
93
|
+
'seoMetrics': json['seoMetrics'] == null ? undefined : json['seoMetrics'],
|
|
94
|
+
'visitorStats': json['visitorStats'] == null ? undefined : json['visitorStats'],
|
|
95
|
+
'minDomainAuthority': json['minDomainAuthority'] == null ? undefined : json['minDomainAuthority'],
|
|
96
|
+
'externalLink': json['externalLink'] == null ? undefined : json['externalLink'],
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function LandingPageModernDesignSettingsInputToJSON(json: any): LandingPageModernDesignSettingsInput {
|
|
101
|
+
return LandingPageModernDesignSettingsInputToJSONTyped(json, false);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function LandingPageModernDesignSettingsInputToJSONTyped(value?: LandingPageModernDesignSettingsInput | null, ignoreDiscriminator: boolean = false): any {
|
|
105
|
+
if (value == null) {
|
|
106
|
+
return value;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'showRelatedDomains': value['showRelatedDomains'],
|
|
112
|
+
'showLastOnline': value['showLastOnline'],
|
|
113
|
+
'showDeliversIn': value['showDeliversIn'],
|
|
114
|
+
'showTrustpilot': value['showTrustpilot'],
|
|
115
|
+
'seoMetrics': value['seoMetrics'],
|
|
116
|
+
'visitorStats': value['visitorStats'],
|
|
117
|
+
'minDomainAuthority': value['minDomainAuthority'],
|
|
118
|
+
'externalLink': value['externalLink'],
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
@@ -0,0 +1,129 @@
|
|
|
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 LandingPageOriginalDesignSettingsDto
|
|
20
|
+
*/
|
|
21
|
+
export interface LandingPageOriginalDesignSettingsDto {
|
|
22
|
+
/**
|
|
23
|
+
* Whether related domains are shown.
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof LandingPageOriginalDesignSettingsDto
|
|
26
|
+
*/
|
|
27
|
+
showRelatedDomains: boolean | null;
|
|
28
|
+
/**
|
|
29
|
+
* Whether the seller last-online indicator is shown.
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof LandingPageOriginalDesignSettingsDto
|
|
32
|
+
*/
|
|
33
|
+
showLastOnline: boolean | null;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the estimated delivery time is shown.
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof LandingPageOriginalDesignSettingsDto
|
|
38
|
+
*/
|
|
39
|
+
showDeliversIn: boolean | null;
|
|
40
|
+
/**
|
|
41
|
+
* Whether the Trustpilot widget is shown.
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof LandingPageOriginalDesignSettingsDto
|
|
44
|
+
*/
|
|
45
|
+
showTrustpilot: boolean | null;
|
|
46
|
+
/**
|
|
47
|
+
* Whether SEO metrics are displayed.
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof LandingPageOriginalDesignSettingsDto
|
|
50
|
+
*/
|
|
51
|
+
seoMetrics: boolean | null;
|
|
52
|
+
/**
|
|
53
|
+
* Minimum Moz domain authority required to display SEO metrics.
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof LandingPageOriginalDesignSettingsDto
|
|
56
|
+
*/
|
|
57
|
+
minDomainAuthority: number | null;
|
|
58
|
+
/**
|
|
59
|
+
* Whether visitor statistics are displayed.
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof LandingPageOriginalDesignSettingsDto
|
|
62
|
+
*/
|
|
63
|
+
visitorStats: boolean | null;
|
|
64
|
+
/**
|
|
65
|
+
* Optional external link shown on the landing page.
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof LandingPageOriginalDesignSettingsDto
|
|
68
|
+
*/
|
|
69
|
+
externalLink: string | null;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the LandingPageOriginalDesignSettingsDto interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfLandingPageOriginalDesignSettingsDto(value: object): value is LandingPageOriginalDesignSettingsDto {
|
|
76
|
+
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined) return false;
|
|
77
|
+
if (!('showLastOnline' in value) || value['showLastOnline'] === undefined) return false;
|
|
78
|
+
if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined) return false;
|
|
79
|
+
if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined) return false;
|
|
80
|
+
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
|
|
81
|
+
if (!('minDomainAuthority' in value) || value['minDomainAuthority'] === undefined) return false;
|
|
82
|
+
if (!('visitorStats' in value) || value['visitorStats'] === undefined) return false;
|
|
83
|
+
if (!('externalLink' in value) || value['externalLink'] === undefined) return false;
|
|
84
|
+
return true;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export function LandingPageOriginalDesignSettingsDtoFromJSON(json: any): LandingPageOriginalDesignSettingsDto {
|
|
88
|
+
return LandingPageOriginalDesignSettingsDtoFromJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export function LandingPageOriginalDesignSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LandingPageOriginalDesignSettingsDto {
|
|
92
|
+
if (json == null) {
|
|
93
|
+
return json;
|
|
94
|
+
}
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'showRelatedDomains': json['showRelatedDomains'],
|
|
98
|
+
'showLastOnline': json['showLastOnline'],
|
|
99
|
+
'showDeliversIn': json['showDeliversIn'],
|
|
100
|
+
'showTrustpilot': json['showTrustpilot'],
|
|
101
|
+
'seoMetrics': json['seoMetrics'],
|
|
102
|
+
'minDomainAuthority': json['minDomainAuthority'],
|
|
103
|
+
'visitorStats': json['visitorStats'],
|
|
104
|
+
'externalLink': json['externalLink'],
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function LandingPageOriginalDesignSettingsDtoToJSON(json: any): LandingPageOriginalDesignSettingsDto {
|
|
109
|
+
return LandingPageOriginalDesignSettingsDtoToJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function LandingPageOriginalDesignSettingsDtoToJSONTyped(value?: LandingPageOriginalDesignSettingsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
113
|
+
if (value == null) {
|
|
114
|
+
return value;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'showRelatedDomains': value['showRelatedDomains'],
|
|
120
|
+
'showLastOnline': value['showLastOnline'],
|
|
121
|
+
'showDeliversIn': value['showDeliversIn'],
|
|
122
|
+
'showTrustpilot': value['showTrustpilot'],
|
|
123
|
+
'seoMetrics': value['seoMetrics'],
|
|
124
|
+
'minDomainAuthority': value['minDomainAuthority'],
|
|
125
|
+
'visitorStats': value['visitorStats'],
|
|
126
|
+
'externalLink': value['externalLink'],
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
|