@randock/nameshift-api-client 0.0.442 → 0.0.443
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 +12 -0
- package/README.md +3 -3
- 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/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/WithSettingsInner.d.ts +0 -24
- package/dist/models/WithSettingsInner.js +0 -16
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.js +12 -0
- package/package.json +1 -1
- 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/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/WithSettingsInner.ts +0 -36
- package/src/models/index.ts +12 -0
|
@@ -44,30 +44,6 @@ export interface WithSettingsInner {
|
|
|
44
44
|
* @memberof WithSettingsInner
|
|
45
45
|
*/
|
|
46
46
|
anonymous: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Whether related domains are shown on domain pages.
|
|
49
|
-
* @type {boolean}
|
|
50
|
-
* @memberof WithSettingsInner
|
|
51
|
-
*/
|
|
52
|
-
showRelatedDomains: boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Whether last-online status is shown publicly.
|
|
55
|
-
* @type {boolean}
|
|
56
|
-
* @memberof WithSettingsInner
|
|
57
|
-
*/
|
|
58
|
-
showLastOnline: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Whether delivery time is shown on domain pages.
|
|
61
|
-
* @type {boolean}
|
|
62
|
-
* @memberof WithSettingsInner
|
|
63
|
-
*/
|
|
64
|
-
showDeliversIn: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Whether Trustpilot widget is shown on domain pages.
|
|
67
|
-
* @type {boolean}
|
|
68
|
-
* @memberof WithSettingsInner
|
|
69
|
-
*/
|
|
70
|
-
showTrustpilot: boolean;
|
|
71
47
|
/**
|
|
72
48
|
* Whether DNSSEC is enabled for domains.
|
|
73
49
|
* @type {boolean}
|
|
@@ -39,14 +39,6 @@ function instanceOfWithSettingsInner(value) {
|
|
|
39
39
|
return false;
|
|
40
40
|
if (!('anonymous' in value) || value['anonymous'] === undefined)
|
|
41
41
|
return false;
|
|
42
|
-
if (!('showRelatedDomains' in value) || value['showRelatedDomains'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('showLastOnline' in value) || value['showLastOnline'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('showDeliversIn' in value) || value['showDeliversIn'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
if (!('showTrustpilot' in value) || value['showTrustpilot'] === undefined)
|
|
49
|
-
return false;
|
|
50
42
|
if (!('dnssec' in value) || value['dnssec'] === undefined)
|
|
51
43
|
return false;
|
|
52
44
|
if (!('sidnIdcode' in value) || value['sidnIdcode'] === undefined)
|
|
@@ -94,10 +86,6 @@ function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
94
86
|
'defaultCurrencyCode': json['defaultCurrencyCode'],
|
|
95
87
|
'defaultStartingOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['defaultStartingOffer']),
|
|
96
88
|
'anonymous': json['anonymous'],
|
|
97
|
-
'showRelatedDomains': json['showRelatedDomains'],
|
|
98
|
-
'showLastOnline': json['showLastOnline'],
|
|
99
|
-
'showDeliversIn': json['showDeliversIn'],
|
|
100
|
-
'showTrustpilot': json['showTrustpilot'],
|
|
101
89
|
'dnssec': json['dnssec'],
|
|
102
90
|
'sidnIdcode': json['sidnIdcode'],
|
|
103
91
|
'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
@@ -129,10 +117,6 @@ function WithSettingsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
|
129
117
|
'defaultCurrencyCode': value['defaultCurrencyCode'],
|
|
130
118
|
'defaultStartingOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['defaultStartingOffer']),
|
|
131
119
|
'anonymous': value['anonymous'],
|
|
132
|
-
'showRelatedDomains': value['showRelatedDomains'],
|
|
133
|
-
'showLastOnline': value['showLastOnline'],
|
|
134
|
-
'showDeliversIn': value['showDeliversIn'],
|
|
135
|
-
'showTrustpilot': value['showTrustpilot'],
|
|
136
120
|
'dnssec': value['dnssec'],
|
|
137
121
|
'sidnIdcode': value['sidnIdcode'],
|
|
138
122
|
'leaseToOwn': (0, AccountSettingsLeaseToOwnConfigurationDto_1.AccountSettingsLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
package/dist/models/index.d.ts
CHANGED
|
@@ -176,8 +176,12 @@ export * from './DomainLeadPriceNegotiatorAiAgentConfigurationDto';
|
|
|
176
176
|
export * from './DomainLeadPriceNegotiatorAiAgentConfigurationInput';
|
|
177
177
|
export * from './DomainLockConfigurationDto';
|
|
178
178
|
export * from './DomainLockDto';
|
|
179
|
+
export * from './DomainMinimalLandingPageDesignDto';
|
|
180
|
+
export * from './DomainModernLandingPageDesignDto';
|
|
181
|
+
export * from './DomainOriginalLandingPageDesignDto';
|
|
179
182
|
export * from './DomainPricesChangeDto';
|
|
180
183
|
export * from './DomainSalesInformationDto';
|
|
184
|
+
export * from './DomainSalesInformationDtoLandingPageDesign';
|
|
181
185
|
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
182
186
|
export * from './DomainSalesInformationRentConfigurationDto';
|
|
183
187
|
export * from './DomainSellerDto';
|
|
@@ -251,7 +255,15 @@ export * from './InvoiceItemDto';
|
|
|
251
255
|
export * from './InvoiceItemTaxDto';
|
|
252
256
|
export * from './InvoiceSellerAccountDto';
|
|
253
257
|
export * from './InvoiceTransactionDto';
|
|
258
|
+
export * from './LandingPageDesignSettingsDto';
|
|
259
|
+
export * from './LandingPageDesignSettingsInput';
|
|
254
260
|
export * from './LandingPageInput';
|
|
261
|
+
export * from './LandingPageMinimalDesignSettingsDto';
|
|
262
|
+
export * from './LandingPageMinimalDesignSettingsInput';
|
|
263
|
+
export * from './LandingPageModernDesignSettingsDto';
|
|
264
|
+
export * from './LandingPageModernDesignSettingsInput';
|
|
265
|
+
export * from './LandingPageOriginalDesignSettingsDto';
|
|
266
|
+
export * from './LandingPageOriginalDesignSettingsInput';
|
|
255
267
|
export * from './LandingPageSettingsDto';
|
|
256
268
|
export * from './LeadBuyerConfigDto';
|
|
257
269
|
export * from './LeadDomainDto';
|
package/dist/models/index.js
CHANGED
|
@@ -194,8 +194,12 @@ __exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationDto"), expo
|
|
|
194
194
|
__exportStar(require("./DomainLeadPriceNegotiatorAiAgentConfigurationInput"), exports);
|
|
195
195
|
__exportStar(require("./DomainLockConfigurationDto"), exports);
|
|
196
196
|
__exportStar(require("./DomainLockDto"), exports);
|
|
197
|
+
__exportStar(require("./DomainMinimalLandingPageDesignDto"), exports);
|
|
198
|
+
__exportStar(require("./DomainModernLandingPageDesignDto"), exports);
|
|
199
|
+
__exportStar(require("./DomainOriginalLandingPageDesignDto"), exports);
|
|
197
200
|
__exportStar(require("./DomainPricesChangeDto"), exports);
|
|
198
201
|
__exportStar(require("./DomainSalesInformationDto"), exports);
|
|
202
|
+
__exportStar(require("./DomainSalesInformationDtoLandingPageDesign"), exports);
|
|
199
203
|
__exportStar(require("./DomainSalesInformationLeaseToOwnConfigurationDto"), exports);
|
|
200
204
|
__exportStar(require("./DomainSalesInformationRentConfigurationDto"), exports);
|
|
201
205
|
__exportStar(require("./DomainSellerDto"), exports);
|
|
@@ -269,7 +273,15 @@ __exportStar(require("./InvoiceItemDto"), exports);
|
|
|
269
273
|
__exportStar(require("./InvoiceItemTaxDto"), exports);
|
|
270
274
|
__exportStar(require("./InvoiceSellerAccountDto"), exports);
|
|
271
275
|
__exportStar(require("./InvoiceTransactionDto"), exports);
|
|
276
|
+
__exportStar(require("./LandingPageDesignSettingsDto"), exports);
|
|
277
|
+
__exportStar(require("./LandingPageDesignSettingsInput"), exports);
|
|
272
278
|
__exportStar(require("./LandingPageInput"), exports);
|
|
279
|
+
__exportStar(require("./LandingPageMinimalDesignSettingsDto"), exports);
|
|
280
|
+
__exportStar(require("./LandingPageMinimalDesignSettingsInput"), exports);
|
|
281
|
+
__exportStar(require("./LandingPageModernDesignSettingsDto"), exports);
|
|
282
|
+
__exportStar(require("./LandingPageModernDesignSettingsInput"), exports);
|
|
283
|
+
__exportStar(require("./LandingPageOriginalDesignSettingsDto"), exports);
|
|
284
|
+
__exportStar(require("./LandingPageOriginalDesignSettingsInput"), exports);
|
|
273
285
|
__exportStar(require("./LandingPageSettingsDto"), exports);
|
|
274
286
|
__exportStar(require("./LeadBuyerConfigDto"), exports);
|
|
275
287
|
__exportStar(require("./LeadDomainDto"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,93 @@
|
|
|
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 { LandingPageMinimalDesignSettingsDto } from './LandingPageMinimalDesignSettingsDto';
|
|
17
|
+
import {
|
|
18
|
+
LandingPageMinimalDesignSettingsDtoFromJSON,
|
|
19
|
+
LandingPageMinimalDesignSettingsDtoFromJSONTyped,
|
|
20
|
+
LandingPageMinimalDesignSettingsDtoToJSON,
|
|
21
|
+
LandingPageMinimalDesignSettingsDtoToJSONTyped,
|
|
22
|
+
} from './LandingPageMinimalDesignSettingsDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface DomainMinimalLandingPageDesignDto
|
|
28
|
+
*/
|
|
29
|
+
export interface DomainMinimalLandingPageDesignDto {
|
|
30
|
+
/**
|
|
31
|
+
* Active landing page design.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DomainMinimalLandingPageDesignDto
|
|
34
|
+
*/
|
|
35
|
+
design: DomainMinimalLandingPageDesignDtoDesignEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Resolved settings for the minimal design.
|
|
38
|
+
* @type {LandingPageMinimalDesignSettingsDto}
|
|
39
|
+
* @memberof DomainMinimalLandingPageDesignDto
|
|
40
|
+
*/
|
|
41
|
+
settings: LandingPageMinimalDesignSettingsDto;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export const DomainMinimalLandingPageDesignDtoDesignEnum = {
|
|
49
|
+
MINIMAL: 'minimal'
|
|
50
|
+
} as const;
|
|
51
|
+
export type DomainMinimalLandingPageDesignDtoDesignEnum = typeof DomainMinimalLandingPageDesignDtoDesignEnum[keyof typeof DomainMinimalLandingPageDesignDtoDesignEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the DomainMinimalLandingPageDesignDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfDomainMinimalLandingPageDesignDto(value: object): value is DomainMinimalLandingPageDesignDto {
|
|
58
|
+
if (!('design' in value) || value['design'] === undefined) return false;
|
|
59
|
+
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function DomainMinimalLandingPageDesignDtoFromJSON(json: any): DomainMinimalLandingPageDesignDto {
|
|
64
|
+
return DomainMinimalLandingPageDesignDtoFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function DomainMinimalLandingPageDesignDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainMinimalLandingPageDesignDto {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'design': json['design'],
|
|
74
|
+
'settings': LandingPageMinimalDesignSettingsDtoFromJSON(json['settings']),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function DomainMinimalLandingPageDesignDtoToJSON(json: any): DomainMinimalLandingPageDesignDto {
|
|
79
|
+
return DomainMinimalLandingPageDesignDtoToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function DomainMinimalLandingPageDesignDtoToJSONTyped(value?: DomainMinimalLandingPageDesignDto | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'design': value['design'],
|
|
90
|
+
'settings': LandingPageMinimalDesignSettingsDtoToJSON(value['settings']),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
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 { LandingPageModernDesignSettingsDto } from './LandingPageModernDesignSettingsDto';
|
|
17
|
+
import {
|
|
18
|
+
LandingPageModernDesignSettingsDtoFromJSON,
|
|
19
|
+
LandingPageModernDesignSettingsDtoFromJSONTyped,
|
|
20
|
+
LandingPageModernDesignSettingsDtoToJSON,
|
|
21
|
+
LandingPageModernDesignSettingsDtoToJSONTyped,
|
|
22
|
+
} from './LandingPageModernDesignSettingsDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface DomainModernLandingPageDesignDto
|
|
28
|
+
*/
|
|
29
|
+
export interface DomainModernLandingPageDesignDto {
|
|
30
|
+
/**
|
|
31
|
+
* Active landing page design.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DomainModernLandingPageDesignDto
|
|
34
|
+
*/
|
|
35
|
+
design: DomainModernLandingPageDesignDtoDesignEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Resolved settings for the modern design.
|
|
38
|
+
* @type {LandingPageModernDesignSettingsDto}
|
|
39
|
+
* @memberof DomainModernLandingPageDesignDto
|
|
40
|
+
*/
|
|
41
|
+
settings: LandingPageModernDesignSettingsDto;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export const DomainModernLandingPageDesignDtoDesignEnum = {
|
|
49
|
+
MODERN: 'modern'
|
|
50
|
+
} as const;
|
|
51
|
+
export type DomainModernLandingPageDesignDtoDesignEnum = typeof DomainModernLandingPageDesignDtoDesignEnum[keyof typeof DomainModernLandingPageDesignDtoDesignEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the DomainModernLandingPageDesignDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfDomainModernLandingPageDesignDto(value: object): value is DomainModernLandingPageDesignDto {
|
|
58
|
+
if (!('design' in value) || value['design'] === undefined) return false;
|
|
59
|
+
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function DomainModernLandingPageDesignDtoFromJSON(json: any): DomainModernLandingPageDesignDto {
|
|
64
|
+
return DomainModernLandingPageDesignDtoFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function DomainModernLandingPageDesignDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainModernLandingPageDesignDto {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'design': json['design'],
|
|
74
|
+
'settings': LandingPageModernDesignSettingsDtoFromJSON(json['settings']),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function DomainModernLandingPageDesignDtoToJSON(json: any): DomainModernLandingPageDesignDto {
|
|
79
|
+
return DomainModernLandingPageDesignDtoToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function DomainModernLandingPageDesignDtoToJSONTyped(value?: DomainModernLandingPageDesignDto | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'design': value['design'],
|
|
90
|
+
'settings': LandingPageModernDesignSettingsDtoToJSON(value['settings']),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,93 @@
|
|
|
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 { LandingPageOriginalDesignSettingsDto } from './LandingPageOriginalDesignSettingsDto';
|
|
17
|
+
import {
|
|
18
|
+
LandingPageOriginalDesignSettingsDtoFromJSON,
|
|
19
|
+
LandingPageOriginalDesignSettingsDtoFromJSONTyped,
|
|
20
|
+
LandingPageOriginalDesignSettingsDtoToJSON,
|
|
21
|
+
LandingPageOriginalDesignSettingsDtoToJSONTyped,
|
|
22
|
+
} from './LandingPageOriginalDesignSettingsDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface DomainOriginalLandingPageDesignDto
|
|
28
|
+
*/
|
|
29
|
+
export interface DomainOriginalLandingPageDesignDto {
|
|
30
|
+
/**
|
|
31
|
+
* Active landing page design.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof DomainOriginalLandingPageDesignDto
|
|
34
|
+
*/
|
|
35
|
+
design: DomainOriginalLandingPageDesignDtoDesignEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Resolved settings for the original design.
|
|
38
|
+
* @type {LandingPageOriginalDesignSettingsDto}
|
|
39
|
+
* @memberof DomainOriginalLandingPageDesignDto
|
|
40
|
+
*/
|
|
41
|
+
settings: LandingPageOriginalDesignSettingsDto;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export const DomainOriginalLandingPageDesignDtoDesignEnum = {
|
|
49
|
+
ORIGINAL: 'original'
|
|
50
|
+
} as const;
|
|
51
|
+
export type DomainOriginalLandingPageDesignDtoDesignEnum = typeof DomainOriginalLandingPageDesignDtoDesignEnum[keyof typeof DomainOriginalLandingPageDesignDtoDesignEnum];
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the DomainOriginalLandingPageDesignDto interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfDomainOriginalLandingPageDesignDto(value: object): value is DomainOriginalLandingPageDesignDto {
|
|
58
|
+
if (!('design' in value) || value['design'] === undefined) return false;
|
|
59
|
+
if (!('settings' in value) || value['settings'] === undefined) return false;
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function DomainOriginalLandingPageDesignDtoFromJSON(json: any): DomainOriginalLandingPageDesignDto {
|
|
64
|
+
return DomainOriginalLandingPageDesignDtoFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function DomainOriginalLandingPageDesignDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainOriginalLandingPageDesignDto {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'design': json['design'],
|
|
74
|
+
'settings': LandingPageOriginalDesignSettingsDtoFromJSON(json['settings']),
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function DomainOriginalLandingPageDesignDtoToJSON(json: any): DomainOriginalLandingPageDesignDto {
|
|
79
|
+
return DomainOriginalLandingPageDesignDtoToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function DomainOriginalLandingPageDesignDtoToJSONTyped(value?: DomainOriginalLandingPageDesignDto | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'design': value['design'],
|
|
90
|
+
'settings': LandingPageOriginalDesignSettingsDtoToJSON(value['settings']),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -41,6 +41,13 @@ import {
|
|
|
41
41
|
DomainSalesInformationRentConfigurationDtoToJSON,
|
|
42
42
|
DomainSalesInformationRentConfigurationDtoToJSONTyped,
|
|
43
43
|
} from './DomainSalesInformationRentConfigurationDto';
|
|
44
|
+
import type { DomainSalesInformationDtoLandingPageDesign } from './DomainSalesInformationDtoLandingPageDesign';
|
|
45
|
+
import {
|
|
46
|
+
DomainSalesInformationDtoLandingPageDesignFromJSON,
|
|
47
|
+
DomainSalesInformationDtoLandingPageDesignFromJSONTyped,
|
|
48
|
+
DomainSalesInformationDtoLandingPageDesignToJSON,
|
|
49
|
+
DomainSalesInformationDtoLandingPageDesignToJSONTyped,
|
|
50
|
+
} from './DomainSalesInformationDtoLandingPageDesign';
|
|
44
51
|
import type { DomainSalesInformationLeaseToOwnConfigurationDto } from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
45
52
|
import {
|
|
46
53
|
DomainSalesInformationLeaseToOwnConfigurationDtoFromJSON,
|
|
@@ -128,30 +135,6 @@ export interface DomainSalesInformationDto {
|
|
|
128
135
|
* @memberof DomainSalesInformationDto
|
|
129
136
|
*/
|
|
130
137
|
seo: SeoMetricsDto | null;
|
|
131
|
-
/**
|
|
132
|
-
* Whether visitor statistics are enabled on the landing page.
|
|
133
|
-
* @type {boolean}
|
|
134
|
-
* @memberof DomainSalesInformationDto
|
|
135
|
-
*/
|
|
136
|
-
statsEnabled: boolean;
|
|
137
|
-
/**
|
|
138
|
-
* Whether related domains are shown on the landing page.
|
|
139
|
-
* @type {boolean}
|
|
140
|
-
* @memberof DomainSalesInformationDto
|
|
141
|
-
*/
|
|
142
|
-
relatedDomainsEnabled: boolean;
|
|
143
|
-
/**
|
|
144
|
-
* Whether the Trustpilot widget is enabled on the landing page.
|
|
145
|
-
* @type {boolean}
|
|
146
|
-
* @memberof DomainSalesInformationDto
|
|
147
|
-
*/
|
|
148
|
-
trustpilotEnabled: boolean;
|
|
149
|
-
/**
|
|
150
|
-
* Whether SEO metrics are enabled on the landing page.
|
|
151
|
-
* @type {boolean}
|
|
152
|
-
* @memberof DomainSalesInformationDto
|
|
153
|
-
*/
|
|
154
|
-
seoEnabled: boolean;
|
|
155
138
|
/**
|
|
156
139
|
* Whether the domain currently has an active auction.
|
|
157
140
|
* @type {boolean}
|
|
@@ -176,6 +159,12 @@ export interface DomainSalesInformationDto {
|
|
|
176
159
|
* @memberof DomainSalesInformationDto
|
|
177
160
|
*/
|
|
178
161
|
leadBuyerSettings: LeadBuyerConfigDto | null;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {DomainSalesInformationDtoLandingPageDesign}
|
|
165
|
+
* @memberof DomainSalesInformationDto
|
|
166
|
+
*/
|
|
167
|
+
landingPageDesign: DomainSalesInformationDtoLandingPageDesign;
|
|
179
168
|
}
|
|
180
169
|
|
|
181
170
|
/**
|
|
@@ -193,14 +182,11 @@ export function instanceOfDomainSalesInformationDto(value: object): value is Dom
|
|
|
193
182
|
if (!('sold' in value) || value['sold'] === undefined) return false;
|
|
194
183
|
if (!('isPurchaseable' in value) || value['isPurchaseable'] === undefined) return false;
|
|
195
184
|
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
196
|
-
if (!('statsEnabled' in value) || value['statsEnabled'] === undefined) return false;
|
|
197
|
-
if (!('relatedDomainsEnabled' in value) || value['relatedDomainsEnabled'] === undefined) return false;
|
|
198
|
-
if (!('trustpilotEnabled' in value) || value['trustpilotEnabled'] === undefined) return false;
|
|
199
|
-
if (!('seoEnabled' in value) || value['seoEnabled'] === undefined) return false;
|
|
200
185
|
if (!('hasActiveAuction' in value) || value['hasActiveAuction'] === undefined) return false;
|
|
201
186
|
if (!('auctionId' in value) || value['auctionId'] === undefined) return false;
|
|
202
187
|
if (!('locked' in value) || value['locked'] === undefined) return false;
|
|
203
188
|
if (!('leadBuyerSettings' in value) || value['leadBuyerSettings'] === undefined) return false;
|
|
189
|
+
if (!('landingPageDesign' in value) || value['landingPageDesign'] === undefined) return false;
|
|
204
190
|
return true;
|
|
205
191
|
}
|
|
206
192
|
|
|
@@ -225,14 +211,11 @@ export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
225
211
|
'sold': json['sold'],
|
|
226
212
|
'isPurchaseable': json['isPurchaseable'],
|
|
227
213
|
'seo': SeoMetricsDtoFromJSON(json['seo']),
|
|
228
|
-
'statsEnabled': json['statsEnabled'],
|
|
229
|
-
'relatedDomainsEnabled': json['relatedDomainsEnabled'],
|
|
230
|
-
'trustpilotEnabled': json['trustpilotEnabled'],
|
|
231
|
-
'seoEnabled': json['seoEnabled'],
|
|
232
214
|
'hasActiveAuction': json['hasActiveAuction'],
|
|
233
215
|
'auctionId': json['auctionId'],
|
|
234
216
|
'locked': json['locked'],
|
|
235
217
|
'leadBuyerSettings': LeadBuyerConfigDtoFromJSON(json['leadBuyerSettings']),
|
|
218
|
+
'landingPageDesign': DomainSalesInformationDtoLandingPageDesignFromJSON(json['landingPageDesign']),
|
|
236
219
|
};
|
|
237
220
|
}
|
|
238
221
|
|
|
@@ -258,14 +241,11 @@ export function DomainSalesInformationDtoToJSONTyped(value?: DomainSalesInformat
|
|
|
258
241
|
'sold': value['sold'],
|
|
259
242
|
'isPurchaseable': value['isPurchaseable'],
|
|
260
243
|
'seo': SeoMetricsDtoToJSON(value['seo']),
|
|
261
|
-
'statsEnabled': value['statsEnabled'],
|
|
262
|
-
'relatedDomainsEnabled': value['relatedDomainsEnabled'],
|
|
263
|
-
'trustpilotEnabled': value['trustpilotEnabled'],
|
|
264
|
-
'seoEnabled': value['seoEnabled'],
|
|
265
244
|
'hasActiveAuction': value['hasActiveAuction'],
|
|
266
245
|
'auctionId': value['auctionId'],
|
|
267
246
|
'locked': value['locked'],
|
|
268
247
|
'leadBuyerSettings': LeadBuyerConfigDtoToJSON(value['leadBuyerSettings']),
|
|
248
|
+
'landingPageDesign': DomainSalesInformationDtoLandingPageDesignToJSON(value['landingPageDesign']),
|
|
269
249
|
};
|
|
270
250
|
}
|
|
271
251
|
|
|
@@ -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 type { DomainMinimalLandingPageDesignDto } from './DomainMinimalLandingPageDesignDto';
|
|
16
|
+
import {
|
|
17
|
+
instanceOfDomainMinimalLandingPageDesignDto,
|
|
18
|
+
DomainMinimalLandingPageDesignDtoFromJSON,
|
|
19
|
+
DomainMinimalLandingPageDesignDtoFromJSONTyped,
|
|
20
|
+
DomainMinimalLandingPageDesignDtoToJSON,
|
|
21
|
+
} from './DomainMinimalLandingPageDesignDto';
|
|
22
|
+
import type { DomainModernLandingPageDesignDto } from './DomainModernLandingPageDesignDto';
|
|
23
|
+
import {
|
|
24
|
+
instanceOfDomainModernLandingPageDesignDto,
|
|
25
|
+
DomainModernLandingPageDesignDtoFromJSON,
|
|
26
|
+
DomainModernLandingPageDesignDtoFromJSONTyped,
|
|
27
|
+
DomainModernLandingPageDesignDtoToJSON,
|
|
28
|
+
} from './DomainModernLandingPageDesignDto';
|
|
29
|
+
import type { DomainOriginalLandingPageDesignDto } from './DomainOriginalLandingPageDesignDto';
|
|
30
|
+
import {
|
|
31
|
+
instanceOfDomainOriginalLandingPageDesignDto,
|
|
32
|
+
DomainOriginalLandingPageDesignDtoFromJSON,
|
|
33
|
+
DomainOriginalLandingPageDesignDtoFromJSONTyped,
|
|
34
|
+
DomainOriginalLandingPageDesignDtoToJSON,
|
|
35
|
+
} from './DomainOriginalLandingPageDesignDto';
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @type DomainSalesInformationDtoLandingPageDesign
|
|
39
|
+
* Active landing page design and its resolved settings.
|
|
40
|
+
* @export
|
|
41
|
+
*/
|
|
42
|
+
export type DomainSalesInformationDtoLandingPageDesign = { design: 'minimal' } & DomainMinimalLandingPageDesignDto | { design: 'modern' } & DomainModernLandingPageDesignDto | { design: 'original' } & DomainOriginalLandingPageDesignDto;
|
|
43
|
+
|
|
44
|
+
export function DomainSalesInformationDtoLandingPageDesignFromJSON(json: any): DomainSalesInformationDtoLandingPageDesign {
|
|
45
|
+
return DomainSalesInformationDtoLandingPageDesignFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function DomainSalesInformationDtoLandingPageDesignFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationDtoLandingPageDesign {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
switch (json['design']) {
|
|
53
|
+
case 'minimal':
|
|
54
|
+
return Object.assign({}, DomainMinimalLandingPageDesignDtoFromJSONTyped(json, true), { design: 'minimal' } as const);
|
|
55
|
+
case 'modern':
|
|
56
|
+
return Object.assign({}, DomainModernLandingPageDesignDtoFromJSONTyped(json, true), { design: 'modern' } as const);
|
|
57
|
+
case 'original':
|
|
58
|
+
return Object.assign({}, DomainOriginalLandingPageDesignDtoFromJSONTyped(json, true), { design: 'original' } as const);
|
|
59
|
+
default:
|
|
60
|
+
throw new Error(`No variant of DomainSalesInformationDtoLandingPageDesign exists with 'design=${json['design']}'`);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function DomainSalesInformationDtoLandingPageDesignToJSON(json: any): any {
|
|
65
|
+
return DomainSalesInformationDtoLandingPageDesignToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function DomainSalesInformationDtoLandingPageDesignToJSONTyped(value?: DomainSalesInformationDtoLandingPageDesign | null, ignoreDiscriminator: boolean = false): any {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
switch (value['design']) {
|
|
73
|
+
case 'minimal':
|
|
74
|
+
return Object.assign({}, DomainMinimalLandingPageDesignDtoToJSON(value), { design: 'minimal' } as const);
|
|
75
|
+
case 'modern':
|
|
76
|
+
return Object.assign({}, DomainModernLandingPageDesignDtoToJSON(value), { design: 'modern' } as const);
|
|
77
|
+
case 'original':
|
|
78
|
+
return Object.assign({}, DomainOriginalLandingPageDesignDtoToJSON(value), { design: 'original' } as const);
|
|
79
|
+
default:
|
|
80
|
+
throw new Error(`No variant of DomainSalesInformationDtoLandingPageDesign exists with 'design=${value['design']}'`);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -67,12 +67,6 @@ export interface DomainSellerDto {
|
|
|
67
67
|
* @memberof DomainSellerDto
|
|
68
68
|
*/
|
|
69
69
|
description: string | null;
|
|
70
|
-
/**
|
|
71
|
-
* Optional external link configured on the seller landing page.
|
|
72
|
-
* @type {string}
|
|
73
|
-
* @memberof DomainSellerDto
|
|
74
|
-
*/
|
|
75
|
-
externalLink: string | null;
|
|
76
70
|
}
|
|
77
71
|
|
|
78
72
|
/**
|
|
@@ -87,7 +81,6 @@ export function instanceOfDomainSellerDto(value: object): value is DomainSellerD
|
|
|
87
81
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
88
82
|
if (!('avatar' in value) || value['avatar'] === undefined) return false;
|
|
89
83
|
if (!('description' in value) || value['description'] === undefined) return false;
|
|
90
|
-
if (!('externalLink' in value) || value['externalLink'] === undefined) return false;
|
|
91
84
|
return true;
|
|
92
85
|
}
|
|
93
86
|
|
|
@@ -109,7 +102,6 @@ export function DomainSellerDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
109
102
|
'name': json['name'],
|
|
110
103
|
'avatar': json['avatar'],
|
|
111
104
|
'description': json['description'],
|
|
112
|
-
'externalLink': json['externalLink'],
|
|
113
105
|
};
|
|
114
106
|
}
|
|
115
107
|
|
|
@@ -132,7 +124,6 @@ export function DomainSellerDtoToJSONTyped(value?: DomainSellerDto | null, ignor
|
|
|
132
124
|
'name': value['name'],
|
|
133
125
|
'avatar': value['avatar'],
|
|
134
126
|
'description': value['description'],
|
|
135
|
-
'externalLink': value['externalLink'],
|
|
136
127
|
};
|
|
137
128
|
}
|
|
138
129
|
|