@randock/nameshift-api-client 0.0.525 → 0.0.526
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 +2 -0
- package/README.md +3 -3
- package/dist/apis/DomainAppraisalRequestsApi.d.ts +7 -0
- package/dist/apis/DomainAppraisalRequestsApi.js +21 -0
- package/dist/models/DomainSalesInformationDto.d.ts +7 -0
- package/dist/models/DomainSalesInformationDto.js +5 -0
- package/dist/models/DomainSalesInformationFairPriceSealDto.d.ts +47 -0
- package/dist/models/DomainSalesInformationFairPriceSealDto.js +64 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js +5 -0
- package/dist/models/LandingPageInput.d.ts +21 -0
- package/dist/models/LandingPageInput.js +13 -1
- package/dist/models/LandingPageSettingsDto.d.ts +21 -0
- package/dist/models/LandingPageSettingsDto.js +17 -1
- package/dist/models/LatestDomainAppraisalRequestDto.d.ts +51 -0
- package/dist/models/LatestDomainAppraisalRequestDto.js +64 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/apis/DomainAppraisalRequestsApi.ts +35 -0
- package/src/models/DomainSalesInformationDto.ts +16 -0
- package/src/models/DomainSalesInformationFairPriceSealDto.ts +87 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts +16 -0
- package/src/models/LandingPageInput.ts +26 -0
- package/src/models/LandingPageSettingsDto.ts +28 -0
- package/src/models/LatestDomainAppraisalRequestDto.ts +103 -0
- package/src/models/index.ts +2 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -285,6 +285,7 @@ src/models/DomainOriginalLandingPageDesignDto.ts
|
|
|
285
285
|
src/models/DomainPricesChangeDto.ts
|
|
286
286
|
src/models/DomainSalesInformationDto.ts
|
|
287
287
|
src/models/DomainSalesInformationDtoLandingPageDesign.ts
|
|
288
|
+
src/models/DomainSalesInformationFairPriceSealDto.ts
|
|
288
289
|
src/models/DomainSalesInformationLeaseToOwnConfigurationDto.ts
|
|
289
290
|
src/models/DomainSalesInformationRentConfigurationDto.ts
|
|
290
291
|
src/models/DomainSearchTranslationDto.ts
|
|
@@ -381,6 +382,7 @@ src/models/LandingPageModernDesignSettingsInput.ts
|
|
|
381
382
|
src/models/LandingPageOriginalDesignSettingsDto.ts
|
|
382
383
|
src/models/LandingPageOriginalDesignSettingsInput.ts
|
|
383
384
|
src/models/LandingPageSettingsDto.ts
|
|
385
|
+
src/models/LatestDomainAppraisalRequestDto.ts
|
|
384
386
|
src/models/LeadBuyerConfigDto.ts
|
|
385
387
|
src/models/LeadDomainDto.ts
|
|
386
388
|
src/models/LeadDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.526
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.526 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
8c56ddd640df73fe1d99f26af8f915f928838d0e05ee474b25465ae5f51bf576778eba1ef3600996a20d7d26a214e70b
|
|
@@ -22,6 +22,13 @@ export interface DomainAppraisalRequestsApiGetSellerDomainAppraisalRequestsReque
|
|
|
22
22
|
limit?: number;
|
|
23
23
|
sortBy?: Array<string>;
|
|
24
24
|
filterStatus?: string;
|
|
25
|
+
filterDomain?: string;
|
|
26
|
+
filterDomainDisplayName?: string;
|
|
27
|
+
filterCreatedAtFrom?: string;
|
|
28
|
+
filterCreatedAtTo?: string;
|
|
29
|
+
filterAppraisedAtFrom?: string;
|
|
30
|
+
filterAppraisedAtTo?: string;
|
|
31
|
+
filterAppraisedAmountEur?: string;
|
|
25
32
|
}
|
|
26
33
|
/**
|
|
27
34
|
*
|
|
@@ -162,6 +162,27 @@ var DomainAppraisalRequestsApi = /** @class */ (function (_super) {
|
|
|
162
162
|
if (requestParameters['filterStatus'] != null) {
|
|
163
163
|
queryParameters['filter[status]'] = requestParameters['filterStatus'];
|
|
164
164
|
}
|
|
165
|
+
if (requestParameters['filterDomain'] != null) {
|
|
166
|
+
queryParameters['filter[domain]'] = requestParameters['filterDomain'];
|
|
167
|
+
}
|
|
168
|
+
if (requestParameters['filterDomainDisplayName'] != null) {
|
|
169
|
+
queryParameters['filter[domain.displayName]'] = requestParameters['filterDomainDisplayName'];
|
|
170
|
+
}
|
|
171
|
+
if (requestParameters['filterCreatedAtFrom'] != null) {
|
|
172
|
+
queryParameters['filter[createdAtFrom]'] = requestParameters['filterCreatedAtFrom'];
|
|
173
|
+
}
|
|
174
|
+
if (requestParameters['filterCreatedAtTo'] != null) {
|
|
175
|
+
queryParameters['filter[createdAtTo]'] = requestParameters['filterCreatedAtTo'];
|
|
176
|
+
}
|
|
177
|
+
if (requestParameters['filterAppraisedAtFrom'] != null) {
|
|
178
|
+
queryParameters['filter[appraisedAtFrom]'] = requestParameters['filterAppraisedAtFrom'];
|
|
179
|
+
}
|
|
180
|
+
if (requestParameters['filterAppraisedAtTo'] != null) {
|
|
181
|
+
queryParameters['filter[appraisedAtTo]'] = requestParameters['filterAppraisedAtTo'];
|
|
182
|
+
}
|
|
183
|
+
if (requestParameters['filterAppraisedAmountEur'] != null) {
|
|
184
|
+
queryParameters['filter[appraisedAmountEur]'] = requestParameters['filterAppraisedAmountEur'];
|
|
185
|
+
}
|
|
165
186
|
headerParameters = {};
|
|
166
187
|
if (!(this.configuration && this.configuration.apiKey)) return [3 /*break*/, 2];
|
|
167
188
|
_a = headerParameters;
|
|
@@ -14,6 +14,7 @@ import type { LeadBuyerConfigDto } from './LeadBuyerConfigDto';
|
|
|
14
14
|
import type { MoneyDto } from './MoneyDto';
|
|
15
15
|
import type { DomainSalesInformationRentConfigurationDto } from './DomainSalesInformationRentConfigurationDto';
|
|
16
16
|
import type { DomainSalesInformationDtoLandingPageDesign } from './DomainSalesInformationDtoLandingPageDesign';
|
|
17
|
+
import type { DomainSalesInformationFairPriceSealDto } from './DomainSalesInformationFairPriceSealDto';
|
|
17
18
|
import type { DomainSalesInformationLeaseToOwnConfigurationDto } from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
18
19
|
import type { SeoMetricsDto } from './SeoMetricsDto';
|
|
19
20
|
/**
|
|
@@ -130,6 +131,12 @@ export interface DomainSalesInformationDto {
|
|
|
130
131
|
* @memberof DomainSalesInformationDto
|
|
131
132
|
*/
|
|
132
133
|
domainAppraisalRequestEnabled: boolean;
|
|
134
|
+
/**
|
|
135
|
+
* Fair price seal shown on the landing page.
|
|
136
|
+
* @type {DomainSalesInformationFairPriceSealDto}
|
|
137
|
+
* @memberof DomainSalesInformationDto
|
|
138
|
+
*/
|
|
139
|
+
fairPriceSeal: DomainSalesInformationFairPriceSealDto | null;
|
|
133
140
|
/**
|
|
134
141
|
*
|
|
135
142
|
* @type {DomainSalesInformationDtoLandingPageDesign}
|
|
@@ -23,6 +23,7 @@ var LeadBuyerConfigDto_1 = require("./LeadBuyerConfigDto");
|
|
|
23
23
|
var MoneyDto_1 = require("./MoneyDto");
|
|
24
24
|
var DomainSalesInformationRentConfigurationDto_1 = require("./DomainSalesInformationRentConfigurationDto");
|
|
25
25
|
var DomainSalesInformationDtoLandingPageDesign_1 = require("./DomainSalesInformationDtoLandingPageDesign");
|
|
26
|
+
var DomainSalesInformationFairPriceSealDto_1 = require("./DomainSalesInformationFairPriceSealDto");
|
|
26
27
|
var DomainSalesInformationLeaseToOwnConfigurationDto_1 = require("./DomainSalesInformationLeaseToOwnConfigurationDto");
|
|
27
28
|
var SeoMetricsDto_1 = require("./SeoMetricsDto");
|
|
28
29
|
/**
|
|
@@ -65,6 +66,8 @@ function instanceOfDomainSalesInformationDto(value) {
|
|
|
65
66
|
return false;
|
|
66
67
|
if (!('domainAppraisalRequestEnabled' in value) || value['domainAppraisalRequestEnabled'] === undefined)
|
|
67
68
|
return false;
|
|
69
|
+
if (!('fairPriceSeal' in value) || value['fairPriceSeal'] === undefined)
|
|
70
|
+
return false;
|
|
68
71
|
if (!('landingPageDesign' in value) || value['landingPageDesign'] === undefined)
|
|
69
72
|
return false;
|
|
70
73
|
if (!('customCss' in value) || value['customCss'] === undefined)
|
|
@@ -99,6 +102,7 @@ function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
99
102
|
'informationRequestEnabled': json['informationRequestEnabled'],
|
|
100
103
|
'leadBuyerSettings': (0, LeadBuyerConfigDto_1.LeadBuyerConfigDtoFromJSON)(json['leadBuyerSettings']),
|
|
101
104
|
'domainAppraisalRequestEnabled': json['domainAppraisalRequestEnabled'],
|
|
105
|
+
'fairPriceSeal': (0, DomainSalesInformationFairPriceSealDto_1.DomainSalesInformationFairPriceSealDtoFromJSON)(json['fairPriceSeal']),
|
|
102
106
|
'landingPageDesign': (0, DomainSalesInformationDtoLandingPageDesign_1.DomainSalesInformationDtoLandingPageDesignFromJSON)(json['landingPageDesign']),
|
|
103
107
|
'customCss': json['customCss'],
|
|
104
108
|
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
@@ -131,6 +135,7 @@ function DomainSalesInformationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
131
135
|
'informationRequestEnabled': value['informationRequestEnabled'],
|
|
132
136
|
'leadBuyerSettings': (0, LeadBuyerConfigDto_1.LeadBuyerConfigDtoToJSON)(value['leadBuyerSettings']),
|
|
133
137
|
'domainAppraisalRequestEnabled': value['domainAppraisalRequestEnabled'],
|
|
138
|
+
'fairPriceSeal': (0, DomainSalesInformationFairPriceSealDto_1.DomainSalesInformationFairPriceSealDtoToJSON)(value['fairPriceSeal']),
|
|
134
139
|
'landingPageDesign': (0, DomainSalesInformationDtoLandingPageDesign_1.DomainSalesInformationDtoLandingPageDesignToJSON)(value['landingPageDesign']),
|
|
135
140
|
'customCss': value['customCss'],
|
|
136
141
|
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface DomainSalesInformationFairPriceSealDto
|
|
16
|
+
*/
|
|
17
|
+
export interface DomainSalesInformationFairPriceSealDto {
|
|
18
|
+
/**
|
|
19
|
+
* Style of the seal.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof DomainSalesInformationFairPriceSealDto
|
|
22
|
+
*/
|
|
23
|
+
style: DomainSalesInformationFairPriceSealDtoStyleEnum;
|
|
24
|
+
/**
|
|
25
|
+
* When the domain was appraised.
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof DomainSalesInformationFairPriceSealDto
|
|
28
|
+
*/
|
|
29
|
+
appraisedAt: Date;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const DomainSalesInformationFairPriceSealDtoStyleEnum: {
|
|
35
|
+
readonly STAMP: "stamp";
|
|
36
|
+
readonly CERTIFICATE: "certificate";
|
|
37
|
+
readonly RIBBON: "ribbon";
|
|
38
|
+
};
|
|
39
|
+
export type DomainSalesInformationFairPriceSealDtoStyleEnum = typeof DomainSalesInformationFairPriceSealDtoStyleEnum[keyof typeof DomainSalesInformationFairPriceSealDtoStyleEnum];
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the DomainSalesInformationFairPriceSealDto interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfDomainSalesInformationFairPriceSealDto(value: object): value is DomainSalesInformationFairPriceSealDto;
|
|
44
|
+
export declare function DomainSalesInformationFairPriceSealDtoFromJSON(json: any): DomainSalesInformationFairPriceSealDto;
|
|
45
|
+
export declare function DomainSalesInformationFairPriceSealDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationFairPriceSealDto;
|
|
46
|
+
export declare function DomainSalesInformationFairPriceSealDtoToJSON(json: any): DomainSalesInformationFairPriceSealDto;
|
|
47
|
+
export declare function DomainSalesInformationFairPriceSealDtoToJSONTyped(value?: DomainSalesInformationFairPriceSealDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.DomainSalesInformationFairPriceSealDtoStyleEnum = void 0;
|
|
17
|
+
exports.instanceOfDomainSalesInformationFairPriceSealDto = instanceOfDomainSalesInformationFairPriceSealDto;
|
|
18
|
+
exports.DomainSalesInformationFairPriceSealDtoFromJSON = DomainSalesInformationFairPriceSealDtoFromJSON;
|
|
19
|
+
exports.DomainSalesInformationFairPriceSealDtoFromJSONTyped = DomainSalesInformationFairPriceSealDtoFromJSONTyped;
|
|
20
|
+
exports.DomainSalesInformationFairPriceSealDtoToJSON = DomainSalesInformationFairPriceSealDtoToJSON;
|
|
21
|
+
exports.DomainSalesInformationFairPriceSealDtoToJSONTyped = DomainSalesInformationFairPriceSealDtoToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.DomainSalesInformationFairPriceSealDtoStyleEnum = {
|
|
26
|
+
STAMP: 'stamp',
|
|
27
|
+
CERTIFICATE: 'certificate',
|
|
28
|
+
RIBBON: 'ribbon'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the DomainSalesInformationFairPriceSealDto interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfDomainSalesInformationFairPriceSealDto(value) {
|
|
34
|
+
if (!('style' in value) || value['style'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('appraisedAt' in value) || value['appraisedAt'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function DomainSalesInformationFairPriceSealDtoFromJSON(json) {
|
|
41
|
+
return DomainSalesInformationFairPriceSealDtoFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function DomainSalesInformationFairPriceSealDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'style': json['style'],
|
|
49
|
+
'appraisedAt': (new Date(json['appraisedAt'])),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function DomainSalesInformationFairPriceSealDtoToJSON(json) {
|
|
53
|
+
return DomainSalesInformationFairPriceSealDtoToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function DomainSalesInformationFairPriceSealDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'style': value['style'],
|
|
62
|
+
'appraisedAt': ((value['appraisedAt']).toISOString()),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { LeadVerificationSettingsDto } from './LeadVerificationSettingsDto';
|
|
13
|
+
import type { LatestDomainAppraisalRequestDto } from './LatestDomainAppraisalRequestDto';
|
|
13
14
|
import type { MoneyDto } from './MoneyDto';
|
|
14
15
|
import type { RentConfigurationDto } from './RentConfigurationDto';
|
|
15
16
|
import type { DomainAuctionDto } from './DomainAuctionDto';
|
|
@@ -233,6 +234,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
|
|
|
233
234
|
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
234
235
|
*/
|
|
235
236
|
routedTo: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum | null;
|
|
237
|
+
/**
|
|
238
|
+
* Latest domain appraisal request the seller made for the domain.
|
|
239
|
+
* @type {LatestDomainAppraisalRequestDto}
|
|
240
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
241
|
+
*/
|
|
242
|
+
latestDomainAppraisalRequest: LatestDomainAppraisalRequestDto | null;
|
|
236
243
|
}
|
|
237
244
|
/**
|
|
238
245
|
* @export
|
|
@@ -20,6 +20,7 @@ exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped = Inte
|
|
|
20
20
|
exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON = IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON;
|
|
21
21
|
exports.IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped = IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped;
|
|
22
22
|
var LeadVerificationSettingsDto_1 = require("./LeadVerificationSettingsDto");
|
|
23
|
+
var LatestDomainAppraisalRequestDto_1 = require("./LatestDomainAppraisalRequestDto");
|
|
23
24
|
var MoneyDto_1 = require("./MoneyDto");
|
|
24
25
|
var RentConfigurationDto_1 = require("./RentConfigurationDto");
|
|
25
26
|
var DomainAuctionDto_1 = require("./DomainAuctionDto");
|
|
@@ -123,6 +124,8 @@ function instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto(value) {
|
|
|
123
124
|
return false;
|
|
124
125
|
if (!('routedTo' in value) || value['routedTo'] === undefined)
|
|
125
126
|
return false;
|
|
127
|
+
if (!('latestDomainAppraisalRequest' in value) || value['latestDomainAppraisalRequest'] === undefined)
|
|
128
|
+
return false;
|
|
126
129
|
return true;
|
|
127
130
|
}
|
|
128
131
|
function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSON(json) {
|
|
@@ -168,6 +171,7 @@ function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONTyped(json,
|
|
|
168
171
|
'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoFromJSON)(json['leadVerification']),
|
|
169
172
|
'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoFromJSON)(json['seoMetrics']),
|
|
170
173
|
'routedTo': json['routedTo'],
|
|
174
|
+
'latestDomainAppraisalRequest': (0, LatestDomainAppraisalRequestDto_1.LatestDomainAppraisalRequestDtoFromJSON)(json['latestDomainAppraisalRequest']),
|
|
171
175
|
};
|
|
172
176
|
}
|
|
173
177
|
function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSON(json) {
|
|
@@ -214,5 +218,6 @@ function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(value,
|
|
|
214
218
|
'leadVerification': (0, LeadVerificationSettingsDto_1.LeadVerificationSettingsDtoToJSON)(value['leadVerification']),
|
|
215
219
|
'seoMetrics': (0, SeoMetricsDto_1.SeoMetricsDtoToJSON)(value['seoMetrics']),
|
|
216
220
|
'routedTo': value['routedTo'],
|
|
221
|
+
'latestDomainAppraisalRequest': (0, LatestDomainAppraisalRequestDto_1.LatestDomainAppraisalRequestDtoToJSON)(value['latestDomainAppraisalRequest']),
|
|
217
222
|
};
|
|
218
223
|
}
|
|
@@ -76,6 +76,18 @@ export interface LandingPageInput {
|
|
|
76
76
|
* @memberof LandingPageInput
|
|
77
77
|
*/
|
|
78
78
|
localeRedirect?: LandingPageInputLocaleRedirectEnum | null;
|
|
79
|
+
/**
|
|
80
|
+
* Whether the landing page shows the fair price seal of the domain appraisal.
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof LandingPageInput
|
|
83
|
+
*/
|
|
84
|
+
showFairPriceSeal?: boolean | null;
|
|
85
|
+
/**
|
|
86
|
+
* Style of the fair price seal on the landing page.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof LandingPageInput
|
|
89
|
+
*/
|
|
90
|
+
fairPriceSealStyle?: LandingPageInputFairPriceSealStyleEnum | null;
|
|
79
91
|
/**
|
|
80
92
|
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
81
93
|
* @type {boolean}
|
|
@@ -129,6 +141,15 @@ export declare const LandingPageInputLocaleRedirectEnum: {
|
|
|
129
141
|
readonly TLD: "tld";
|
|
130
142
|
};
|
|
131
143
|
export type LandingPageInputLocaleRedirectEnum = typeof LandingPageInputLocaleRedirectEnum[keyof typeof LandingPageInputLocaleRedirectEnum];
|
|
144
|
+
/**
|
|
145
|
+
* @export
|
|
146
|
+
*/
|
|
147
|
+
export declare const LandingPageInputFairPriceSealStyleEnum: {
|
|
148
|
+
readonly STAMP: "stamp";
|
|
149
|
+
readonly CERTIFICATE: "certificate";
|
|
150
|
+
readonly RIBBON: "ribbon";
|
|
151
|
+
};
|
|
152
|
+
export type LandingPageInputFairPriceSealStyleEnum = typeof LandingPageInputFairPriceSealStyleEnum[keyof typeof LandingPageInputFairPriceSealStyleEnum];
|
|
132
153
|
/**
|
|
133
154
|
* Check if a given object implements the LandingPageInput interface.
|
|
134
155
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.LandingPageInputLocaleRedirectEnum = exports.LandingPageInputDomainNameTldCaseEnum = exports.LandingPageInputDomainNameCaseEnum = exports.LandingPageInputDesignEnum = exports.LandingPageInputRequestLeadBuyerPhoneNumberEnum = void 0;
|
|
16
|
+
exports.LandingPageInputFairPriceSealStyleEnum = exports.LandingPageInputLocaleRedirectEnum = exports.LandingPageInputDomainNameTldCaseEnum = exports.LandingPageInputDomainNameCaseEnum = exports.LandingPageInputDesignEnum = exports.LandingPageInputRequestLeadBuyerPhoneNumberEnum = void 0;
|
|
17
17
|
exports.instanceOfLandingPageInput = instanceOfLandingPageInput;
|
|
18
18
|
exports.LandingPageInputFromJSON = LandingPageInputFromJSON;
|
|
19
19
|
exports.LandingPageInputFromJSONTyped = LandingPageInputFromJSONTyped;
|
|
@@ -61,6 +61,14 @@ exports.LandingPageInputLocaleRedirectEnum = {
|
|
|
61
61
|
ACCEPT_LANGUAGE: 'accept_language',
|
|
62
62
|
TLD: 'tld'
|
|
63
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
exports.LandingPageInputFairPriceSealStyleEnum = {
|
|
68
|
+
STAMP: 'stamp',
|
|
69
|
+
CERTIFICATE: 'certificate',
|
|
70
|
+
RIBBON: 'ribbon'
|
|
71
|
+
};
|
|
64
72
|
/**
|
|
65
73
|
* Check if a given object implements the LandingPageInput interface.
|
|
66
74
|
*/
|
|
@@ -85,6 +93,8 @@ function LandingPageInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
85
93
|
'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'] == null ? undefined : json['domainNameUppercaseThreshold'],
|
|
86
94
|
'domainNameTldCase': json['domainNameTldCase'] == null ? undefined : json['domainNameTldCase'],
|
|
87
95
|
'localeRedirect': json['localeRedirect'] == null ? undefined : json['localeRedirect'],
|
|
96
|
+
'showFairPriceSeal': json['showFairPriceSeal'] == null ? undefined : json['showFairPriceSeal'],
|
|
97
|
+
'fairPriceSealStyle': json['fairPriceSealStyle'] == null ? undefined : json['fairPriceSealStyle'],
|
|
88
98
|
'dutchPriceFormat': json['dutchPriceFormat'] == null ? undefined : json['dutchPriceFormat'],
|
|
89
99
|
};
|
|
90
100
|
}
|
|
@@ -107,6 +117,8 @@ function LandingPageInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
107
117
|
'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
|
|
108
118
|
'domainNameTldCase': value['domainNameTldCase'],
|
|
109
119
|
'localeRedirect': value['localeRedirect'],
|
|
120
|
+
'showFairPriceSeal': value['showFairPriceSeal'],
|
|
121
|
+
'fairPriceSealStyle': value['fairPriceSealStyle'],
|
|
110
122
|
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
111
123
|
};
|
|
112
124
|
}
|
|
@@ -76,6 +76,18 @@ export interface LandingPageSettingsDto {
|
|
|
76
76
|
* @memberof LandingPageSettingsDto
|
|
77
77
|
*/
|
|
78
78
|
localeRedirect: LandingPageSettingsDtoLocaleRedirectEnum | null;
|
|
79
|
+
/**
|
|
80
|
+
* Whether the landing page shows the fair price seal of the domain appraisal.
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof LandingPageSettingsDto
|
|
83
|
+
*/
|
|
84
|
+
showFairPriceSeal: boolean | null;
|
|
85
|
+
/**
|
|
86
|
+
* Style of the fair price seal on the landing page.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof LandingPageSettingsDto
|
|
89
|
+
*/
|
|
90
|
+
fairPriceSealStyle: LandingPageSettingsDtoFairPriceSealStyleEnum | null;
|
|
79
91
|
/**
|
|
80
92
|
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
81
93
|
* @type {boolean}
|
|
@@ -129,6 +141,15 @@ export declare const LandingPageSettingsDtoLocaleRedirectEnum: {
|
|
|
129
141
|
readonly TLD: "tld";
|
|
130
142
|
};
|
|
131
143
|
export type LandingPageSettingsDtoLocaleRedirectEnum = typeof LandingPageSettingsDtoLocaleRedirectEnum[keyof typeof LandingPageSettingsDtoLocaleRedirectEnum];
|
|
144
|
+
/**
|
|
145
|
+
* @export
|
|
146
|
+
*/
|
|
147
|
+
export declare const LandingPageSettingsDtoFairPriceSealStyleEnum: {
|
|
148
|
+
readonly STAMP: "stamp";
|
|
149
|
+
readonly CERTIFICATE: "certificate";
|
|
150
|
+
readonly RIBBON: "ribbon";
|
|
151
|
+
};
|
|
152
|
+
export type LandingPageSettingsDtoFairPriceSealStyleEnum = typeof LandingPageSettingsDtoFairPriceSealStyleEnum[keyof typeof LandingPageSettingsDtoFairPriceSealStyleEnum];
|
|
132
153
|
/**
|
|
133
154
|
* Check if a given object implements the LandingPageSettingsDto interface.
|
|
134
155
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.LandingPageSettingsDtoLocaleRedirectEnum = exports.LandingPageSettingsDtoDomainNameTldCaseEnum = exports.LandingPageSettingsDtoDomainNameCaseEnum = exports.LandingPageSettingsDtoDesignEnum = exports.LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = void 0;
|
|
16
|
+
exports.LandingPageSettingsDtoFairPriceSealStyleEnum = exports.LandingPageSettingsDtoLocaleRedirectEnum = exports.LandingPageSettingsDtoDomainNameTldCaseEnum = exports.LandingPageSettingsDtoDomainNameCaseEnum = exports.LandingPageSettingsDtoDesignEnum = exports.LandingPageSettingsDtoRequestLeadBuyerPhoneNumberEnum = void 0;
|
|
17
17
|
exports.instanceOfLandingPageSettingsDto = instanceOfLandingPageSettingsDto;
|
|
18
18
|
exports.LandingPageSettingsDtoFromJSON = LandingPageSettingsDtoFromJSON;
|
|
19
19
|
exports.LandingPageSettingsDtoFromJSONTyped = LandingPageSettingsDtoFromJSONTyped;
|
|
@@ -61,6 +61,14 @@ exports.LandingPageSettingsDtoLocaleRedirectEnum = {
|
|
|
61
61
|
ACCEPT_LANGUAGE: 'accept_language',
|
|
62
62
|
TLD: 'tld'
|
|
63
63
|
};
|
|
64
|
+
/**
|
|
65
|
+
* @export
|
|
66
|
+
*/
|
|
67
|
+
exports.LandingPageSettingsDtoFairPriceSealStyleEnum = {
|
|
68
|
+
STAMP: 'stamp',
|
|
69
|
+
CERTIFICATE: 'certificate',
|
|
70
|
+
RIBBON: 'ribbon'
|
|
71
|
+
};
|
|
64
72
|
/**
|
|
65
73
|
* Check if a given object implements the LandingPageSettingsDto interface.
|
|
66
74
|
*/
|
|
@@ -85,6 +93,10 @@ function instanceOfLandingPageSettingsDto(value) {
|
|
|
85
93
|
return false;
|
|
86
94
|
if (!('localeRedirect' in value) || value['localeRedirect'] === undefined)
|
|
87
95
|
return false;
|
|
96
|
+
if (!('showFairPriceSeal' in value) || value['showFairPriceSeal'] === undefined)
|
|
97
|
+
return false;
|
|
98
|
+
if (!('fairPriceSealStyle' in value) || value['fairPriceSealStyle'] === undefined)
|
|
99
|
+
return false;
|
|
88
100
|
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined)
|
|
89
101
|
return false;
|
|
90
102
|
return true;
|
|
@@ -107,6 +119,8 @@ function LandingPageSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
107
119
|
'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'],
|
|
108
120
|
'domainNameTldCase': json['domainNameTldCase'],
|
|
109
121
|
'localeRedirect': json['localeRedirect'],
|
|
122
|
+
'showFairPriceSeal': json['showFairPriceSeal'],
|
|
123
|
+
'fairPriceSealStyle': json['fairPriceSealStyle'],
|
|
110
124
|
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
111
125
|
};
|
|
112
126
|
}
|
|
@@ -129,6 +143,8 @@ function LandingPageSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
129
143
|
'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
|
|
130
144
|
'domainNameTldCase': value['domainNameTldCase'],
|
|
131
145
|
'localeRedirect': value['localeRedirect'],
|
|
146
|
+
'showFairPriceSeal': value['showFairPriceSeal'],
|
|
147
|
+
'fairPriceSealStyle': value['fairPriceSealStyle'],
|
|
132
148
|
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
133
149
|
};
|
|
134
150
|
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { DomainAppraisalRequestStatus } from './DomainAppraisalRequestStatus';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LatestDomainAppraisalRequestDto
|
|
17
|
+
*/
|
|
18
|
+
export interface LatestDomainAppraisalRequestDto {
|
|
19
|
+
/**
|
|
20
|
+
* Domain appraisal request identifier.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof LatestDomainAppraisalRequestDto
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* Domain appraisal request status.
|
|
27
|
+
* @type {DomainAppraisalRequestStatus}
|
|
28
|
+
* @memberof LatestDomainAppraisalRequestDto
|
|
29
|
+
*/
|
|
30
|
+
status: DomainAppraisalRequestStatus;
|
|
31
|
+
/**
|
|
32
|
+
* Appraised amount in EUR, once appraised.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof LatestDomainAppraisalRequestDto
|
|
35
|
+
*/
|
|
36
|
+
appraisedAmountEur: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* When it was created.
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof LatestDomainAppraisalRequestDto
|
|
41
|
+
*/
|
|
42
|
+
createdAt: Date;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the LatestDomainAppraisalRequestDto interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfLatestDomainAppraisalRequestDto(value: object): value is LatestDomainAppraisalRequestDto;
|
|
48
|
+
export declare function LatestDomainAppraisalRequestDtoFromJSON(json: any): LatestDomainAppraisalRequestDto;
|
|
49
|
+
export declare function LatestDomainAppraisalRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LatestDomainAppraisalRequestDto;
|
|
50
|
+
export declare function LatestDomainAppraisalRequestDtoToJSON(json: any): LatestDomainAppraisalRequestDto;
|
|
51
|
+
export declare function LatestDomainAppraisalRequestDtoToJSONTyped(value?: LatestDomainAppraisalRequestDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* 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.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfLatestDomainAppraisalRequestDto = instanceOfLatestDomainAppraisalRequestDto;
|
|
17
|
+
exports.LatestDomainAppraisalRequestDtoFromJSON = LatestDomainAppraisalRequestDtoFromJSON;
|
|
18
|
+
exports.LatestDomainAppraisalRequestDtoFromJSONTyped = LatestDomainAppraisalRequestDtoFromJSONTyped;
|
|
19
|
+
exports.LatestDomainAppraisalRequestDtoToJSON = LatestDomainAppraisalRequestDtoToJSON;
|
|
20
|
+
exports.LatestDomainAppraisalRequestDtoToJSONTyped = LatestDomainAppraisalRequestDtoToJSONTyped;
|
|
21
|
+
var DomainAppraisalRequestStatus_1 = require("./DomainAppraisalRequestStatus");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LatestDomainAppraisalRequestDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLatestDomainAppraisalRequestDto(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('appraisedAmountEur' in value) || value['appraisedAmountEur'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function LatestDomainAppraisalRequestDtoFromJSON(json) {
|
|
37
|
+
return LatestDomainAppraisalRequestDtoFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function LatestDomainAppraisalRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'id': json['id'],
|
|
45
|
+
'status': (0, DomainAppraisalRequestStatus_1.DomainAppraisalRequestStatusFromJSON)(json['status']),
|
|
46
|
+
'appraisedAmountEur': json['appraisedAmountEur'],
|
|
47
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
function LatestDomainAppraisalRequestDtoToJSON(json) {
|
|
51
|
+
return LatestDomainAppraisalRequestDtoToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
function LatestDomainAppraisalRequestDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': value['id'],
|
|
60
|
+
'status': (0, DomainAppraisalRequestStatus_1.DomainAppraisalRequestStatusToJSON)(value['status']),
|
|
61
|
+
'appraisedAmountEur': value['appraisedAmountEur'],
|
|
62
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
63
|
+
};
|
|
64
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -241,6 +241,7 @@ export * from './DomainOriginalLandingPageDesignDto';
|
|
|
241
241
|
export * from './DomainPricesChangeDto';
|
|
242
242
|
export * from './DomainSalesInformationDto';
|
|
243
243
|
export * from './DomainSalesInformationDtoLandingPageDesign';
|
|
244
|
+
export * from './DomainSalesInformationFairPriceSealDto';
|
|
244
245
|
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
245
246
|
export * from './DomainSalesInformationRentConfigurationDto';
|
|
246
247
|
export * from './DomainSearchTranslationDto';
|
|
@@ -337,6 +338,7 @@ export * from './LandingPageModernDesignSettingsInput';
|
|
|
337
338
|
export * from './LandingPageOriginalDesignSettingsDto';
|
|
338
339
|
export * from './LandingPageOriginalDesignSettingsInput';
|
|
339
340
|
export * from './LandingPageSettingsDto';
|
|
341
|
+
export * from './LatestDomainAppraisalRequestDto';
|
|
340
342
|
export * from './LeadBuyerConfigDto';
|
|
341
343
|
export * from './LeadDomainDto';
|
|
342
344
|
export * from './LeadDto';
|
package/dist/models/index.js
CHANGED
|
@@ -259,6 +259,7 @@ __exportStar(require("./DomainOriginalLandingPageDesignDto"), exports);
|
|
|
259
259
|
__exportStar(require("./DomainPricesChangeDto"), exports);
|
|
260
260
|
__exportStar(require("./DomainSalesInformationDto"), exports);
|
|
261
261
|
__exportStar(require("./DomainSalesInformationDtoLandingPageDesign"), exports);
|
|
262
|
+
__exportStar(require("./DomainSalesInformationFairPriceSealDto"), exports);
|
|
262
263
|
__exportStar(require("./DomainSalesInformationLeaseToOwnConfigurationDto"), exports);
|
|
263
264
|
__exportStar(require("./DomainSalesInformationRentConfigurationDto"), exports);
|
|
264
265
|
__exportStar(require("./DomainSearchTranslationDto"), exports);
|
|
@@ -355,6 +356,7 @@ __exportStar(require("./LandingPageModernDesignSettingsInput"), exports);
|
|
|
355
356
|
__exportStar(require("./LandingPageOriginalDesignSettingsDto"), exports);
|
|
356
357
|
__exportStar(require("./LandingPageOriginalDesignSettingsInput"), exports);
|
|
357
358
|
__exportStar(require("./LandingPageSettingsDto"), exports);
|
|
359
|
+
__exportStar(require("./LatestDomainAppraisalRequestDto"), exports);
|
|
358
360
|
__exportStar(require("./LeadBuyerConfigDto"), exports);
|
|
359
361
|
__exportStar(require("./LeadDomainDto"), exports);
|
|
360
362
|
__exportStar(require("./LeadDto"), exports);
|
package/package.json
CHANGED
|
@@ -38,6 +38,13 @@ export interface DomainAppraisalRequestsApiGetSellerDomainAppraisalRequestsReque
|
|
|
38
38
|
limit?: number;
|
|
39
39
|
sortBy?: Array<string>;
|
|
40
40
|
filterStatus?: string;
|
|
41
|
+
filterDomain?: string;
|
|
42
|
+
filterDomainDisplayName?: string;
|
|
43
|
+
filterCreatedAtFrom?: string;
|
|
44
|
+
filterCreatedAtTo?: string;
|
|
45
|
+
filterAppraisedAtFrom?: string;
|
|
46
|
+
filterAppraisedAtTo?: string;
|
|
47
|
+
filterAppraisedAmountEur?: string;
|
|
41
48
|
}
|
|
42
49
|
|
|
43
50
|
/**
|
|
@@ -118,6 +125,34 @@ export class DomainAppraisalRequestsApi extends runtime.BaseAPI {
|
|
|
118
125
|
queryParameters['filter[status]'] = requestParameters['filterStatus'];
|
|
119
126
|
}
|
|
120
127
|
|
|
128
|
+
if (requestParameters['filterDomain'] != null) {
|
|
129
|
+
queryParameters['filter[domain]'] = requestParameters['filterDomain'];
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
if (requestParameters['filterDomainDisplayName'] != null) {
|
|
133
|
+
queryParameters['filter[domain.displayName]'] = requestParameters['filterDomainDisplayName'];
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
if (requestParameters['filterCreatedAtFrom'] != null) {
|
|
137
|
+
queryParameters['filter[createdAtFrom]'] = requestParameters['filterCreatedAtFrom'];
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
if (requestParameters['filterCreatedAtTo'] != null) {
|
|
141
|
+
queryParameters['filter[createdAtTo]'] = requestParameters['filterCreatedAtTo'];
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
if (requestParameters['filterAppraisedAtFrom'] != null) {
|
|
145
|
+
queryParameters['filter[appraisedAtFrom]'] = requestParameters['filterAppraisedAtFrom'];
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
if (requestParameters['filterAppraisedAtTo'] != null) {
|
|
149
|
+
queryParameters['filter[appraisedAtTo]'] = requestParameters['filterAppraisedAtTo'];
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if (requestParameters['filterAppraisedAmountEur'] != null) {
|
|
153
|
+
queryParameters['filter[appraisedAmountEur]'] = requestParameters['filterAppraisedAmountEur'];
|
|
154
|
+
}
|
|
155
|
+
|
|
121
156
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
122
157
|
|
|
123
158
|
if (this.configuration && this.configuration.apiKey) {
|
|
@@ -48,6 +48,13 @@ import {
|
|
|
48
48
|
DomainSalesInformationDtoLandingPageDesignToJSON,
|
|
49
49
|
DomainSalesInformationDtoLandingPageDesignToJSONTyped,
|
|
50
50
|
} from './DomainSalesInformationDtoLandingPageDesign';
|
|
51
|
+
import type { DomainSalesInformationFairPriceSealDto } from './DomainSalesInformationFairPriceSealDto';
|
|
52
|
+
import {
|
|
53
|
+
DomainSalesInformationFairPriceSealDtoFromJSON,
|
|
54
|
+
DomainSalesInformationFairPriceSealDtoFromJSONTyped,
|
|
55
|
+
DomainSalesInformationFairPriceSealDtoToJSON,
|
|
56
|
+
DomainSalesInformationFairPriceSealDtoToJSONTyped,
|
|
57
|
+
} from './DomainSalesInformationFairPriceSealDto';
|
|
51
58
|
import type { DomainSalesInformationLeaseToOwnConfigurationDto } from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
52
59
|
import {
|
|
53
60
|
DomainSalesInformationLeaseToOwnConfigurationDtoFromJSON,
|
|
@@ -177,6 +184,12 @@ export interface DomainSalesInformationDto {
|
|
|
177
184
|
* @memberof DomainSalesInformationDto
|
|
178
185
|
*/
|
|
179
186
|
domainAppraisalRequestEnabled: boolean;
|
|
187
|
+
/**
|
|
188
|
+
* Fair price seal shown on the landing page.
|
|
189
|
+
* @type {DomainSalesInformationFairPriceSealDto}
|
|
190
|
+
* @memberof DomainSalesInformationDto
|
|
191
|
+
*/
|
|
192
|
+
fairPriceSeal: DomainSalesInformationFairPriceSealDto | null;
|
|
180
193
|
/**
|
|
181
194
|
*
|
|
182
195
|
* @type {DomainSalesInformationDtoLandingPageDesign}
|
|
@@ -219,6 +232,7 @@ export function instanceOfDomainSalesInformationDto(value: object): value is Dom
|
|
|
219
232
|
if (!('informationRequestEnabled' in value) || value['informationRequestEnabled'] === undefined) return false;
|
|
220
233
|
if (!('leadBuyerSettings' in value) || value['leadBuyerSettings'] === undefined) return false;
|
|
221
234
|
if (!('domainAppraisalRequestEnabled' in value) || value['domainAppraisalRequestEnabled'] === undefined) return false;
|
|
235
|
+
if (!('fairPriceSeal' in value) || value['fairPriceSeal'] === undefined) return false;
|
|
222
236
|
if (!('landingPageDesign' in value) || value['landingPageDesign'] === undefined) return false;
|
|
223
237
|
if (!('customCss' in value) || value['customCss'] === undefined) return false;
|
|
224
238
|
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined) return false;
|
|
@@ -253,6 +267,7 @@ export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
253
267
|
'informationRequestEnabled': json['informationRequestEnabled'],
|
|
254
268
|
'leadBuyerSettings': LeadBuyerConfigDtoFromJSON(json['leadBuyerSettings']),
|
|
255
269
|
'domainAppraisalRequestEnabled': json['domainAppraisalRequestEnabled'],
|
|
270
|
+
'fairPriceSeal': DomainSalesInformationFairPriceSealDtoFromJSON(json['fairPriceSeal']),
|
|
256
271
|
'landingPageDesign': DomainSalesInformationDtoLandingPageDesignFromJSON(json['landingPageDesign']),
|
|
257
272
|
'customCss': json['customCss'],
|
|
258
273
|
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
@@ -288,6 +303,7 @@ export function DomainSalesInformationDtoToJSONTyped(value?: DomainSalesInformat
|
|
|
288
303
|
'informationRequestEnabled': value['informationRequestEnabled'],
|
|
289
304
|
'leadBuyerSettings': LeadBuyerConfigDtoToJSON(value['leadBuyerSettings']),
|
|
290
305
|
'domainAppraisalRequestEnabled': value['domainAppraisalRequestEnabled'],
|
|
306
|
+
'fairPriceSeal': DomainSalesInformationFairPriceSealDtoToJSON(value['fairPriceSeal']),
|
|
291
307
|
'landingPageDesign': DomainSalesInformationDtoLandingPageDesignToJSON(value['landingPageDesign']),
|
|
292
308
|
'customCss': value['customCss'],
|
|
293
309
|
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
@@ -0,0 +1,87 @@
|
|
|
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 DomainSalesInformationFairPriceSealDto
|
|
20
|
+
*/
|
|
21
|
+
export interface DomainSalesInformationFairPriceSealDto {
|
|
22
|
+
/**
|
|
23
|
+
* Style of the seal.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof DomainSalesInformationFairPriceSealDto
|
|
26
|
+
*/
|
|
27
|
+
style: DomainSalesInformationFairPriceSealDtoStyleEnum;
|
|
28
|
+
/**
|
|
29
|
+
* When the domain was appraised.
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof DomainSalesInformationFairPriceSealDto
|
|
32
|
+
*/
|
|
33
|
+
appraisedAt: Date;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const DomainSalesInformationFairPriceSealDtoStyleEnum = {
|
|
41
|
+
STAMP: 'stamp',
|
|
42
|
+
CERTIFICATE: 'certificate',
|
|
43
|
+
RIBBON: 'ribbon'
|
|
44
|
+
} as const;
|
|
45
|
+
export type DomainSalesInformationFairPriceSealDtoStyleEnum = typeof DomainSalesInformationFairPriceSealDtoStyleEnum[keyof typeof DomainSalesInformationFairPriceSealDtoStyleEnum];
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the DomainSalesInformationFairPriceSealDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfDomainSalesInformationFairPriceSealDto(value: object): value is DomainSalesInformationFairPriceSealDto {
|
|
52
|
+
if (!('style' in value) || value['style'] === undefined) return false;
|
|
53
|
+
if (!('appraisedAt' in value) || value['appraisedAt'] === undefined) return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function DomainSalesInformationFairPriceSealDtoFromJSON(json: any): DomainSalesInformationFairPriceSealDto {
|
|
58
|
+
return DomainSalesInformationFairPriceSealDtoFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function DomainSalesInformationFairPriceSealDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationFairPriceSealDto {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'style': json['style'],
|
|
68
|
+
'appraisedAt': (new Date(json['appraisedAt'])),
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function DomainSalesInformationFairPriceSealDtoToJSON(json: any): DomainSalesInformationFairPriceSealDto {
|
|
73
|
+
return DomainSalesInformationFairPriceSealDtoToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function DomainSalesInformationFairPriceSealDtoToJSONTyped(value?: DomainSalesInformationFairPriceSealDto | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'style': value['style'],
|
|
84
|
+
'appraisedAt': ((value['appraisedAt']).toISOString()),
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
LeadVerificationSettingsDtoToJSON,
|
|
21
21
|
LeadVerificationSettingsDtoToJSONTyped,
|
|
22
22
|
} from './LeadVerificationSettingsDto';
|
|
23
|
+
import type { LatestDomainAppraisalRequestDto } from './LatestDomainAppraisalRequestDto';
|
|
24
|
+
import {
|
|
25
|
+
LatestDomainAppraisalRequestDtoFromJSON,
|
|
26
|
+
LatestDomainAppraisalRequestDtoFromJSONTyped,
|
|
27
|
+
LatestDomainAppraisalRequestDtoToJSON,
|
|
28
|
+
LatestDomainAppraisalRequestDtoToJSONTyped,
|
|
29
|
+
} from './LatestDomainAppraisalRequestDto';
|
|
23
30
|
import type { MoneyDto } from './MoneyDto';
|
|
24
31
|
import {
|
|
25
32
|
MoneyDtoFromJSON,
|
|
@@ -286,6 +293,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
|
|
|
286
293
|
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
287
294
|
*/
|
|
288
295
|
routedTo: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum | null;
|
|
296
|
+
/**
|
|
297
|
+
* Latest domain appraisal request the seller made for the domain.
|
|
298
|
+
* @type {LatestDomainAppraisalRequestDto}
|
|
299
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
300
|
+
*/
|
|
301
|
+
latestDomainAppraisalRequest: LatestDomainAppraisalRequestDto | null;
|
|
289
302
|
}
|
|
290
303
|
|
|
291
304
|
|
|
@@ -355,6 +368,7 @@ export function instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto(v
|
|
|
355
368
|
if (!('leadVerification' in value) || value['leadVerification'] === undefined) return false;
|
|
356
369
|
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
|
|
357
370
|
if (!('routedTo' in value) || value['routedTo'] === undefined) return false;
|
|
371
|
+
if (!('latestDomainAppraisalRequest' in value) || value['latestDomainAppraisalRequest'] === undefined) return false;
|
|
358
372
|
return true;
|
|
359
373
|
}
|
|
360
374
|
|
|
@@ -403,6 +417,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONType
|
|
|
403
417
|
'leadVerification': LeadVerificationSettingsDtoFromJSON(json['leadVerification']),
|
|
404
418
|
'seoMetrics': SeoMetricsDtoFromJSON(json['seoMetrics']),
|
|
405
419
|
'routedTo': json['routedTo'],
|
|
420
|
+
'latestDomainAppraisalRequest': LatestDomainAppraisalRequestDtoFromJSON(json['latestDomainAppraisalRequest']),
|
|
406
421
|
};
|
|
407
422
|
}
|
|
408
423
|
|
|
@@ -452,6 +467,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(
|
|
|
452
467
|
'leadVerification': LeadVerificationSettingsDtoToJSON(value['leadVerification']),
|
|
453
468
|
'seoMetrics': SeoMetricsDtoToJSON(value['seoMetrics']),
|
|
454
469
|
'routedTo': value['routedTo'],
|
|
470
|
+
'latestDomainAppraisalRequest': LatestDomainAppraisalRequestDtoToJSON(value['latestDomainAppraisalRequest']),
|
|
455
471
|
};
|
|
456
472
|
}
|
|
457
473
|
|
|
@@ -87,6 +87,18 @@ export interface LandingPageInput {
|
|
|
87
87
|
* @memberof LandingPageInput
|
|
88
88
|
*/
|
|
89
89
|
localeRedirect?: LandingPageInputLocaleRedirectEnum | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the landing page shows the fair price seal of the domain appraisal.
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof LandingPageInput
|
|
94
|
+
*/
|
|
95
|
+
showFairPriceSeal?: boolean | null;
|
|
96
|
+
/**
|
|
97
|
+
* Style of the fair price seal on the landing page.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof LandingPageInput
|
|
100
|
+
*/
|
|
101
|
+
fairPriceSealStyle?: LandingPageInputFairPriceSealStyleEnum | null;
|
|
90
102
|
/**
|
|
91
103
|
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
92
104
|
* @type {boolean}
|
|
@@ -147,6 +159,16 @@ export const LandingPageInputLocaleRedirectEnum = {
|
|
|
147
159
|
} as const;
|
|
148
160
|
export type LandingPageInputLocaleRedirectEnum = typeof LandingPageInputLocaleRedirectEnum[keyof typeof LandingPageInputLocaleRedirectEnum];
|
|
149
161
|
|
|
162
|
+
/**
|
|
163
|
+
* @export
|
|
164
|
+
*/
|
|
165
|
+
export const LandingPageInputFairPriceSealStyleEnum = {
|
|
166
|
+
STAMP: 'stamp',
|
|
167
|
+
CERTIFICATE: 'certificate',
|
|
168
|
+
RIBBON: 'ribbon'
|
|
169
|
+
} as const;
|
|
170
|
+
export type LandingPageInputFairPriceSealStyleEnum = typeof LandingPageInputFairPriceSealStyleEnum[keyof typeof LandingPageInputFairPriceSealStyleEnum];
|
|
171
|
+
|
|
150
172
|
|
|
151
173
|
/**
|
|
152
174
|
* Check if a given object implements the LandingPageInput interface.
|
|
@@ -175,6 +197,8 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
175
197
|
'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'] == null ? undefined : json['domainNameUppercaseThreshold'],
|
|
176
198
|
'domainNameTldCase': json['domainNameTldCase'] == null ? undefined : json['domainNameTldCase'],
|
|
177
199
|
'localeRedirect': json['localeRedirect'] == null ? undefined : json['localeRedirect'],
|
|
200
|
+
'showFairPriceSeal': json['showFairPriceSeal'] == null ? undefined : json['showFairPriceSeal'],
|
|
201
|
+
'fairPriceSealStyle': json['fairPriceSealStyle'] == null ? undefined : json['fairPriceSealStyle'],
|
|
178
202
|
'dutchPriceFormat': json['dutchPriceFormat'] == null ? undefined : json['dutchPriceFormat'],
|
|
179
203
|
};
|
|
180
204
|
}
|
|
@@ -200,6 +224,8 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
|
|
|
200
224
|
'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
|
|
201
225
|
'domainNameTldCase': value['domainNameTldCase'],
|
|
202
226
|
'localeRedirect': value['localeRedirect'],
|
|
227
|
+
'showFairPriceSeal': value['showFairPriceSeal'],
|
|
228
|
+
'fairPriceSealStyle': value['fairPriceSealStyle'],
|
|
203
229
|
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
204
230
|
};
|
|
205
231
|
}
|
|
@@ -87,6 +87,18 @@ export interface LandingPageSettingsDto {
|
|
|
87
87
|
* @memberof LandingPageSettingsDto
|
|
88
88
|
*/
|
|
89
89
|
localeRedirect: LandingPageSettingsDtoLocaleRedirectEnum | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the landing page shows the fair price seal of the domain appraisal.
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof LandingPageSettingsDto
|
|
94
|
+
*/
|
|
95
|
+
showFairPriceSeal: boolean | null;
|
|
96
|
+
/**
|
|
97
|
+
* Style of the fair price seal on the landing page.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof LandingPageSettingsDto
|
|
100
|
+
*/
|
|
101
|
+
fairPriceSealStyle: LandingPageSettingsDtoFairPriceSealStyleEnum | null;
|
|
90
102
|
/**
|
|
91
103
|
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
92
104
|
* @type {boolean}
|
|
@@ -147,6 +159,16 @@ export const LandingPageSettingsDtoLocaleRedirectEnum = {
|
|
|
147
159
|
} as const;
|
|
148
160
|
export type LandingPageSettingsDtoLocaleRedirectEnum = typeof LandingPageSettingsDtoLocaleRedirectEnum[keyof typeof LandingPageSettingsDtoLocaleRedirectEnum];
|
|
149
161
|
|
|
162
|
+
/**
|
|
163
|
+
* @export
|
|
164
|
+
*/
|
|
165
|
+
export const LandingPageSettingsDtoFairPriceSealStyleEnum = {
|
|
166
|
+
STAMP: 'stamp',
|
|
167
|
+
CERTIFICATE: 'certificate',
|
|
168
|
+
RIBBON: 'ribbon'
|
|
169
|
+
} as const;
|
|
170
|
+
export type LandingPageSettingsDtoFairPriceSealStyleEnum = typeof LandingPageSettingsDtoFairPriceSealStyleEnum[keyof typeof LandingPageSettingsDtoFairPriceSealStyleEnum];
|
|
171
|
+
|
|
150
172
|
|
|
151
173
|
/**
|
|
152
174
|
* Check if a given object implements the LandingPageSettingsDto interface.
|
|
@@ -162,6 +184,8 @@ export function instanceOfLandingPageSettingsDto(value: object): value is Landin
|
|
|
162
184
|
if (!('domainNameUppercaseThreshold' in value) || value['domainNameUppercaseThreshold'] === undefined) return false;
|
|
163
185
|
if (!('domainNameTldCase' in value) || value['domainNameTldCase'] === undefined) return false;
|
|
164
186
|
if (!('localeRedirect' in value) || value['localeRedirect'] === undefined) return false;
|
|
187
|
+
if (!('showFairPriceSeal' in value) || value['showFairPriceSeal'] === undefined) return false;
|
|
188
|
+
if (!('fairPriceSealStyle' in value) || value['fairPriceSealStyle'] === undefined) return false;
|
|
165
189
|
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined) return false;
|
|
166
190
|
return true;
|
|
167
191
|
}
|
|
@@ -186,6 +210,8 @@ export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
186
210
|
'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'],
|
|
187
211
|
'domainNameTldCase': json['domainNameTldCase'],
|
|
188
212
|
'localeRedirect': json['localeRedirect'],
|
|
213
|
+
'showFairPriceSeal': json['showFairPriceSeal'],
|
|
214
|
+
'fairPriceSealStyle': json['fairPriceSealStyle'],
|
|
189
215
|
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
190
216
|
};
|
|
191
217
|
}
|
|
@@ -211,6 +237,8 @@ export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto
|
|
|
211
237
|
'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
|
|
212
238
|
'domainNameTldCase': value['domainNameTldCase'],
|
|
213
239
|
'localeRedirect': value['localeRedirect'],
|
|
240
|
+
'showFairPriceSeal': value['showFairPriceSeal'],
|
|
241
|
+
'fairPriceSealStyle': value['fairPriceSealStyle'],
|
|
214
242
|
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
215
243
|
};
|
|
216
244
|
}
|
|
@@ -0,0 +1,103 @@
|
|
|
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 { DomainAppraisalRequestStatus } from './DomainAppraisalRequestStatus';
|
|
17
|
+
import {
|
|
18
|
+
DomainAppraisalRequestStatusFromJSON,
|
|
19
|
+
DomainAppraisalRequestStatusFromJSONTyped,
|
|
20
|
+
DomainAppraisalRequestStatusToJSON,
|
|
21
|
+
DomainAppraisalRequestStatusToJSONTyped,
|
|
22
|
+
} from './DomainAppraisalRequestStatus';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface LatestDomainAppraisalRequestDto
|
|
28
|
+
*/
|
|
29
|
+
export interface LatestDomainAppraisalRequestDto {
|
|
30
|
+
/**
|
|
31
|
+
* Domain appraisal request identifier.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LatestDomainAppraisalRequestDto
|
|
34
|
+
*/
|
|
35
|
+
id: string;
|
|
36
|
+
/**
|
|
37
|
+
* Domain appraisal request status.
|
|
38
|
+
* @type {DomainAppraisalRequestStatus}
|
|
39
|
+
* @memberof LatestDomainAppraisalRequestDto
|
|
40
|
+
*/
|
|
41
|
+
status: DomainAppraisalRequestStatus;
|
|
42
|
+
/**
|
|
43
|
+
* Appraised amount in EUR, once appraised.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof LatestDomainAppraisalRequestDto
|
|
46
|
+
*/
|
|
47
|
+
appraisedAmountEur: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* When it was created.
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof LatestDomainAppraisalRequestDto
|
|
52
|
+
*/
|
|
53
|
+
createdAt: Date;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the LatestDomainAppraisalRequestDto interface.
|
|
60
|
+
*/
|
|
61
|
+
export function instanceOfLatestDomainAppraisalRequestDto(value: object): value is LatestDomainAppraisalRequestDto {
|
|
62
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
63
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
64
|
+
if (!('appraisedAmountEur' in value) || value['appraisedAmountEur'] === undefined) return false;
|
|
65
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function LatestDomainAppraisalRequestDtoFromJSON(json: any): LatestDomainAppraisalRequestDto {
|
|
70
|
+
return LatestDomainAppraisalRequestDtoFromJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function LatestDomainAppraisalRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LatestDomainAppraisalRequestDto {
|
|
74
|
+
if (json == null) {
|
|
75
|
+
return json;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'id': json['id'],
|
|
80
|
+
'status': DomainAppraisalRequestStatusFromJSON(json['status']),
|
|
81
|
+
'appraisedAmountEur': json['appraisedAmountEur'],
|
|
82
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function LatestDomainAppraisalRequestDtoToJSON(json: any): LatestDomainAppraisalRequestDto {
|
|
87
|
+
return LatestDomainAppraisalRequestDtoToJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function LatestDomainAppraisalRequestDtoToJSONTyped(value?: LatestDomainAppraisalRequestDto | null, ignoreDiscriminator: boolean = false): any {
|
|
91
|
+
if (value == null) {
|
|
92
|
+
return value;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'id': value['id'],
|
|
98
|
+
'status': DomainAppraisalRequestStatusToJSON(value['status']),
|
|
99
|
+
'appraisedAmountEur': value['appraisedAmountEur'],
|
|
100
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -243,6 +243,7 @@ export * from './DomainOriginalLandingPageDesignDto';
|
|
|
243
243
|
export * from './DomainPricesChangeDto';
|
|
244
244
|
export * from './DomainSalesInformationDto';
|
|
245
245
|
export * from './DomainSalesInformationDtoLandingPageDesign';
|
|
246
|
+
export * from './DomainSalesInformationFairPriceSealDto';
|
|
246
247
|
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
247
248
|
export * from './DomainSalesInformationRentConfigurationDto';
|
|
248
249
|
export * from './DomainSearchTranslationDto';
|
|
@@ -339,6 +340,7 @@ export * from './LandingPageModernDesignSettingsInput';
|
|
|
339
340
|
export * from './LandingPageOriginalDesignSettingsDto';
|
|
340
341
|
export * from './LandingPageOriginalDesignSettingsInput';
|
|
341
342
|
export * from './LandingPageSettingsDto';
|
|
343
|
+
export * from './LatestDomainAppraisalRequestDto';
|
|
342
344
|
export * from './LeadBuyerConfigDto';
|
|
343
345
|
export * from './LeadDomainDto';
|
|
344
346
|
export * from './LeadDto';
|