@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
|
@@ -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 LandingPageOriginalDesignSettingsInput
|
|
20
|
+
*/
|
|
21
|
+
export interface LandingPageOriginalDesignSettingsInput {
|
|
22
|
+
/**
|
|
23
|
+
* Whether to show related domains on the landing page
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof LandingPageOriginalDesignSettingsInput
|
|
26
|
+
*/
|
|
27
|
+
showRelatedDomains?: boolean | null;
|
|
28
|
+
/**
|
|
29
|
+
* Whether to show last online timestamp on the landing page
|
|
30
|
+
* @type {boolean}
|
|
31
|
+
* @memberof LandingPageOriginalDesignSettingsInput
|
|
32
|
+
*/
|
|
33
|
+
showLastOnline?: boolean | null;
|
|
34
|
+
/**
|
|
35
|
+
* Whether to show estimated delivery time on the landing page
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof LandingPageOriginalDesignSettingsInput
|
|
38
|
+
*/
|
|
39
|
+
showDeliversIn?: boolean | null;
|
|
40
|
+
/**
|
|
41
|
+
* Whether to show Trustpilot widget on the landing page
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof LandingPageOriginalDesignSettingsInput
|
|
44
|
+
*/
|
|
45
|
+
showTrustpilot?: boolean | null;
|
|
46
|
+
/**
|
|
47
|
+
* Whether to display SEO metrics on the landing page
|
|
48
|
+
* @type {boolean}
|
|
49
|
+
* @memberof LandingPageOriginalDesignSettingsInput
|
|
50
|
+
*/
|
|
51
|
+
seoMetrics?: boolean | null;
|
|
52
|
+
/**
|
|
53
|
+
* Whether to display visitor statistics on the landing page
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof LandingPageOriginalDesignSettingsInput
|
|
56
|
+
*/
|
|
57
|
+
visitorStats?: boolean | null;
|
|
58
|
+
/**
|
|
59
|
+
* Minimum domain authority required to display SEO metrics
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof LandingPageOriginalDesignSettingsInput
|
|
62
|
+
*/
|
|
63
|
+
minDomainAuthority?: number | null;
|
|
64
|
+
/**
|
|
65
|
+
* External link displayed on the landing page
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof LandingPageOriginalDesignSettingsInput
|
|
68
|
+
*/
|
|
69
|
+
externalLink?: string | null;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the LandingPageOriginalDesignSettingsInput interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfLandingPageOriginalDesignSettingsInput(value: object): value is LandingPageOriginalDesignSettingsInput {
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function LandingPageOriginalDesignSettingsInputFromJSON(json: any): LandingPageOriginalDesignSettingsInput {
|
|
80
|
+
return LandingPageOriginalDesignSettingsInputFromJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function LandingPageOriginalDesignSettingsInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LandingPageOriginalDesignSettingsInput {
|
|
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 LandingPageOriginalDesignSettingsInputToJSON(json: any): LandingPageOriginalDesignSettingsInput {
|
|
101
|
+
return LandingPageOriginalDesignSettingsInputToJSONTyped(json, false);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function LandingPageOriginalDesignSettingsInputToJSONTyped(value?: LandingPageOriginalDesignSettingsInput | 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
|
+
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LandingPageDesignSettingsDto } from './LandingPageDesignSettingsDto';
|
|
17
|
+
import {
|
|
18
|
+
LandingPageDesignSettingsDtoFromJSON,
|
|
19
|
+
LandingPageDesignSettingsDtoFromJSONTyped,
|
|
20
|
+
LandingPageDesignSettingsDtoToJSON,
|
|
21
|
+
LandingPageDesignSettingsDtoToJSONTyped,
|
|
22
|
+
} from './LandingPageDesignSettingsDto';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -25,48 +33,6 @@ export interface LandingPageSettingsDto {
|
|
|
25
33
|
* @memberof LandingPageSettingsDto
|
|
26
34
|
*/
|
|
27
35
|
anonymous: boolean | null;
|
|
28
|
-
/**
|
|
29
|
-
* Whether related domains are shown on the landing page.
|
|
30
|
-
* @type {boolean}
|
|
31
|
-
* @memberof LandingPageSettingsDto
|
|
32
|
-
*/
|
|
33
|
-
showRelatedDomains: boolean | null;
|
|
34
|
-
/**
|
|
35
|
-
* Whether SEO metrics are displayed on the landing page.
|
|
36
|
-
* @type {boolean}
|
|
37
|
-
* @memberof LandingPageSettingsDto
|
|
38
|
-
*/
|
|
39
|
-
seoMetrics: boolean | null;
|
|
40
|
-
/**
|
|
41
|
-
* Whether visitor statistics are displayed on the landing page.
|
|
42
|
-
* @type {boolean}
|
|
43
|
-
* @memberof LandingPageSettingsDto
|
|
44
|
-
*/
|
|
45
|
-
visitorStats: boolean | null;
|
|
46
|
-
/**
|
|
47
|
-
* Minimum Moz domain authority required to display SEO metrics.
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof LandingPageSettingsDto
|
|
50
|
-
*/
|
|
51
|
-
minDomainAuthority: number | null;
|
|
52
|
-
/**
|
|
53
|
-
* Whether the seller last-online indicator is shown.
|
|
54
|
-
* @type {boolean}
|
|
55
|
-
* @memberof LandingPageSettingsDto
|
|
56
|
-
*/
|
|
57
|
-
showLastOnline: boolean | null;
|
|
58
|
-
/**
|
|
59
|
-
* Whether the estimated delivery time is shown.
|
|
60
|
-
* @type {boolean}
|
|
61
|
-
* @memberof LandingPageSettingsDto
|
|
62
|
-
*/
|
|
63
|
-
showDeliversIn: boolean | null;
|
|
64
|
-
/**
|
|
65
|
-
* Whether the Trustpilot widget is shown.
|
|
66
|
-
* @type {boolean}
|
|
67
|
-
* @memberof LandingPageSettingsDto
|
|
68
|
-
*/
|
|
69
|
-
showTrustpilot: boolean | null;
|
|
70
36
|
/**
|
|
71
37
|
* Whether DNSSEC status is displayed on the landing page.
|
|
72
38
|
* @type {boolean}
|
|
@@ -86,17 +52,17 @@ export interface LandingPageSettingsDto {
|
|
|
86
52
|
*/
|
|
87
53
|
requestLeadBuyerPhoneNumber: LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum | null;
|
|
88
54
|
/**
|
|
89
|
-
*
|
|
55
|
+
* Landing page UI design variant.
|
|
90
56
|
* @type {string}
|
|
91
57
|
* @memberof LandingPageSettingsDto
|
|
92
58
|
*/
|
|
93
|
-
|
|
59
|
+
design: LandingPageSettingsDtoDesignEnum | null;
|
|
94
60
|
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {
|
|
61
|
+
* Settings grouped by landing page design.
|
|
62
|
+
* @type {LandingPageDesignSettingsDto}
|
|
97
63
|
* @memberof LandingPageSettingsDto
|
|
98
64
|
*/
|
|
99
|
-
|
|
65
|
+
designSettings: LandingPageDesignSettingsDto;
|
|
100
66
|
}
|
|
101
67
|
|
|
102
68
|
|
|
@@ -126,18 +92,11 @@ export type LandingPageSettingsDtoDesignEnum = typeof LandingPageSettingsDtoDesi
|
|
|
126
92
|
*/
|
|
127
93
|
export function instanceOfLandingPageSettingsDto(value: object): value is LandingPageSettingsDto {
|
|
128
94
|
if (!('anonymous' in value) || value['anonymous'] === undefined) return false;
|
|
129
|
-
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined) return false;
|
|
130
|
-
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
|
|
131
|
-
if (!('visitorStats' in value) || value['visitorStats'] === undefined) return false;
|
|
132
|
-
if (!('minDomainAuthority' in value) || value['minDomainAuthority'] === undefined) return false;
|
|
133
|
-
if (!('showLastOnline' in value) || value['showLastOnline'] === undefined) return false;
|
|
134
|
-
if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined) return false;
|
|
135
|
-
if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined) return false;
|
|
136
95
|
if (!('dnssec' in value) || value['dnssec'] === undefined) return false;
|
|
137
96
|
if (!('requestLeadBuyerCompanyName' in value) || value['requestLeadBuyerCompanyName'] === undefined) return false;
|
|
138
97
|
if (!('requestLeadBuyerPhoneNumber' in value) || value['requestLeadBuyerPhoneNumber'] === undefined) return false;
|
|
139
|
-
if (!('externalLink' in value) || value['externalLink'] === undefined) return false;
|
|
140
98
|
if (!('design' in value) || value['design'] === undefined) return false;
|
|
99
|
+
if (!('designSettings' in value) || value['designSettings'] === undefined) return false;
|
|
141
100
|
return true;
|
|
142
101
|
}
|
|
143
102
|
|
|
@@ -152,18 +111,11 @@ export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
152
111
|
return {
|
|
153
112
|
|
|
154
113
|
'anonymous': json['anonymous'],
|
|
155
|
-
'showRelatedDomains': json['showRelatedDomains'],
|
|
156
|
-
'seoMetrics': json['seoMetrics'],
|
|
157
|
-
'visitorStats': json['visitorStats'],
|
|
158
|
-
'minDomainAuthority': json['minDomainAuthority'],
|
|
159
|
-
'showLastOnline': json['showLastOnline'],
|
|
160
|
-
'showDeliversIn': json['showDeliversIn'],
|
|
161
|
-
'showTrustpilot': json['showTrustpilot'],
|
|
162
114
|
'dnssec': json['dnssec'],
|
|
163
115
|
'requestLeadBuyerCompanyName': json['requestLeadBuyerCompanyName'],
|
|
164
116
|
'requestLeadBuyerPhoneNumber': json['requestLeadBuyerPhoneNumber'],
|
|
165
|
-
'externalLink': json['externalLink'],
|
|
166
117
|
'design': json['design'],
|
|
118
|
+
'designSettings': LandingPageDesignSettingsDtoFromJSON(json['designSettings']),
|
|
167
119
|
};
|
|
168
120
|
}
|
|
169
121
|
|
|
@@ -179,18 +131,11 @@ export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto
|
|
|
179
131
|
return {
|
|
180
132
|
|
|
181
133
|
'anonymous': value['anonymous'],
|
|
182
|
-
'showRelatedDomains': value['showRelatedDomains'],
|
|
183
|
-
'seoMetrics': value['seoMetrics'],
|
|
184
|
-
'visitorStats': value['visitorStats'],
|
|
185
|
-
'minDomainAuthority': value['minDomainAuthority'],
|
|
186
|
-
'showLastOnline': value['showLastOnline'],
|
|
187
|
-
'showDeliversIn': value['showDeliversIn'],
|
|
188
|
-
'showTrustpilot': value['showTrustpilot'],
|
|
189
134
|
'dnssec': value['dnssec'],
|
|
190
135
|
'requestLeadBuyerCompanyName': value['requestLeadBuyerCompanyName'],
|
|
191
136
|
'requestLeadBuyerPhoneNumber': value['requestLeadBuyerPhoneNumber'],
|
|
192
|
-
'externalLink': value['externalLink'],
|
|
193
137
|
'design': value['design'],
|
|
138
|
+
'designSettings': LandingPageDesignSettingsDtoToJSON(value['designSettings']),
|
|
194
139
|
};
|
|
195
140
|
}
|
|
196
141
|
|
|
@@ -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
|
+
import type { PaymentMethodsStatsDto } from './PaymentMethodsStatsDto';
|
|
17
|
+
import {
|
|
18
|
+
PaymentMethodsStatsDtoFromJSON,
|
|
19
|
+
PaymentMethodsStatsDtoFromJSONTyped,
|
|
20
|
+
PaymentMethodsStatsDtoToJSON,
|
|
21
|
+
PaymentMethodsStatsDtoToJSONTyped,
|
|
22
|
+
} from './PaymentMethodsStatsDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface MarketingDashboardStatsDto
|
|
28
|
+
*/
|
|
29
|
+
export interface MarketingDashboardStatsDto {
|
|
30
|
+
/**
|
|
31
|
+
* Payment methods statistics
|
|
32
|
+
* @type {PaymentMethodsStatsDto}
|
|
33
|
+
* @memberof MarketingDashboardStatsDto
|
|
34
|
+
*/
|
|
35
|
+
paymentMethods: PaymentMethodsStatsDto;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the MarketingDashboardStatsDto interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfMarketingDashboardStatsDto(value: object): value is MarketingDashboardStatsDto {
|
|
42
|
+
if (!('paymentMethods' in value) || value['paymentMethods'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function MarketingDashboardStatsDtoFromJSON(json: any): MarketingDashboardStatsDto {
|
|
47
|
+
return MarketingDashboardStatsDtoFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function MarketingDashboardStatsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): MarketingDashboardStatsDto {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'paymentMethods': PaymentMethodsStatsDtoFromJSON(json['paymentMethods']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function MarketingDashboardStatsDtoToJSON(json: any): MarketingDashboardStatsDto {
|
|
61
|
+
return MarketingDashboardStatsDtoToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function MarketingDashboardStatsDtoToJSONTyped(value?: MarketingDashboardStatsDto | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'paymentMethods': PaymentMethodsStatsDtoToJSON(value['paymentMethods']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -115,30 +115,6 @@ export interface WithSettingsInner {
|
|
|
115
115
|
* @memberof WithSettingsInner
|
|
116
116
|
*/
|
|
117
117
|
anonymous: boolean;
|
|
118
|
-
/**
|
|
119
|
-
* Whether related domains are shown on domain pages.
|
|
120
|
-
* @type {boolean}
|
|
121
|
-
* @memberof WithSettingsInner
|
|
122
|
-
*/
|
|
123
|
-
showRelatedDomains: boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Whether last-online status is shown publicly.
|
|
126
|
-
* @type {boolean}
|
|
127
|
-
* @memberof WithSettingsInner
|
|
128
|
-
*/
|
|
129
|
-
showLastOnline: boolean;
|
|
130
|
-
/**
|
|
131
|
-
* Whether delivery time is shown on domain pages.
|
|
132
|
-
* @type {boolean}
|
|
133
|
-
* @memberof WithSettingsInner
|
|
134
|
-
*/
|
|
135
|
-
showDeliversIn: boolean;
|
|
136
|
-
/**
|
|
137
|
-
* Whether Trustpilot widget is shown on domain pages.
|
|
138
|
-
* @type {boolean}
|
|
139
|
-
* @memberof WithSettingsInner
|
|
140
|
-
*/
|
|
141
|
-
showTrustpilot: boolean;
|
|
142
118
|
/**
|
|
143
119
|
* Whether DNSSEC is enabled for domains.
|
|
144
120
|
* @type {boolean}
|
|
@@ -250,10 +226,6 @@ export function instanceOfWithSettingsInner(value: object): value is WithSetting
|
|
|
250
226
|
if (!('defaultCurrencyCode' in value) || value['defaultCurrencyCode'] === undefined) return false;
|
|
251
227
|
if (!('defaultStartingOffer' in value) || value['defaultStartingOffer'] === undefined) return false;
|
|
252
228
|
if (!('anonymous' in value) || value['anonymous'] === undefined) return false;
|
|
253
|
-
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined) return false;
|
|
254
|
-
if (!('showLastOnline' in value) || value['showLastOnline'] === undefined) return false;
|
|
255
|
-
if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined) return false;
|
|
256
|
-
if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined) return false;
|
|
257
229
|
if (!('dnssec' in value) || value['dnssec'] === undefined) return false;
|
|
258
230
|
if (!('sidnIdcode' in value) || value['sidnIdcode'] === undefined) return false;
|
|
259
231
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
@@ -287,10 +259,6 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
287
259
|
'defaultCurrencyCode': json['defaultCurrencyCode'],
|
|
288
260
|
'defaultStartingOffer': MoneyDtoFromJSON(json['defaultStartingOffer']),
|
|
289
261
|
'anonymous': json['anonymous'],
|
|
290
|
-
'showRelatedDomains': json['showRelatedDomains'],
|
|
291
|
-
'showLastOnline': json['showLastOnline'],
|
|
292
|
-
'showDeliversIn': json['showDeliversIn'],
|
|
293
|
-
'showTrustpilot': json['showTrustpilot'],
|
|
294
262
|
'dnssec': json['dnssec'],
|
|
295
263
|
'sidnIdcode': json['sidnIdcode'],
|
|
296
264
|
'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
@@ -325,10 +293,6 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
|
|
|
325
293
|
'defaultCurrencyCode': value['defaultCurrencyCode'],
|
|
326
294
|
'defaultStartingOffer': MoneyDtoToJSON(value['defaultStartingOffer']),
|
|
327
295
|
'anonymous': value['anonymous'],
|
|
328
|
-
'showRelatedDomains': value['showRelatedDomains'],
|
|
329
|
-
'showLastOnline': value['showLastOnline'],
|
|
330
|
-
'showDeliversIn': value['showDeliversIn'],
|
|
331
|
-
'showTrustpilot': value['showTrustpilot'],
|
|
332
296
|
'dnssec': value['dnssec'],
|
|
333
297
|
'sidnIdcode': value['sidnIdcode'],
|
|
334
298
|
'leaseToOwn': AccountSettingsLeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
package/src/models/index.ts
CHANGED
|
@@ -178,8 +178,12 @@ export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
|
178
178
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
|
|
179
179
|
export * from './DomainLockConfigurationDto';
|
|
180
180
|
export * from './DomainLockDto';
|
|
181
|
+
export * from './DomainMinimalLandingPageDesignDto';
|
|
182
|
+
export * from './DomainModernLandingPageDesignDto';
|
|
183
|
+
export * from './DomainOriginalLandingPageDesignDto';
|
|
181
184
|
export * from './DomainPricesChangeDto';
|
|
182
185
|
export * from './DomainSalesInformationDto';
|
|
186
|
+
export * from './DomainSalesInformationDtoLandingPageDesign';
|
|
183
187
|
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
184
188
|
export * from './DomainSalesInformationRentConfigurationDto';
|
|
185
189
|
export * from './DomainSellerDto';
|
|
@@ -253,7 +257,15 @@ export * from './InvoiceItemDto';
|
|
|
253
257
|
export * from './InvoiceItemTaxDto';
|
|
254
258
|
export * from './InvoiceSellerAccountDto';
|
|
255
259
|
export * from './InvoiceTransactionDto';
|
|
260
|
+
export * from './LandingPageDesignSettingsDto';
|
|
261
|
+
export * from './LandingPageDesignSettingsInput';
|
|
256
262
|
export * from './LandingPageInput';
|
|
263
|
+
export * from './LandingPageMinimalDesignSettingsDto';
|
|
264
|
+
export * from './LandingPageMinimalDesignSettingsInput';
|
|
265
|
+
export * from './LandingPageModernDesignSettingsDto';
|
|
266
|
+
export * from './LandingPageModernDesignSettingsInput';
|
|
267
|
+
export * from './LandingPageOriginalDesignSettingsDto';
|
|
268
|
+
export * from './LandingPageOriginalDesignSettingsInput';
|
|
257
269
|
export * from './LandingPageSettingsDto';
|
|
258
270
|
export * from './LeadBuyerConfigDto';
|
|
259
271
|
export * from './LeadDomainDto';
|
|
@@ -309,6 +321,7 @@ export * from './MajesticMetrics';
|
|
|
309
321
|
export * from './MajesticTopicTrustFlow';
|
|
310
322
|
export * from './ManualLeadBuyerDto';
|
|
311
323
|
export * from './ManualLeadLeaseToOwnDto';
|
|
324
|
+
export * from './MarketingDashboardStatsDto';
|
|
312
325
|
export * from './MarketingOrderListItemDto';
|
|
313
326
|
export * from './MarketingSalesFiltersDto';
|
|
314
327
|
export * from './MoneyDecimalDto';
|