@randock/nameshift-api-client 0.0.524 → 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 +3 -1
- package/README.md +3 -3
- package/dist/apis/DomainAppraisalRequestsApi.d.ts +7 -0
- package/dist/apis/DomainAppraisalRequestsApi.js +21 -0
- package/dist/apis/LeadsApi.d.ts +3 -3
- package/dist/apis/LeadsApi.js +1 -1
- 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/ManualLeadDetails.d.ts +226 -0
- package/dist/models/{IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js → ManualLeadDetails.js} +23 -18
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/package.json +1 -1
- package/src/apis/DomainAppraisalRequestsApi.ts +35 -0
- package/src/apis/LeadsApi.ts +6 -6
- 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/{IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts → ManualLeadDetails.ts} +62 -46
- package/src/models/index.ts +3 -1
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +0 -219
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
|
|
@@ -355,7 +356,6 @@ src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureF
|
|
|
355
356
|
src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts
|
|
356
357
|
src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
|
|
357
358
|
src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts
|
|
358
|
-
src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts
|
|
359
359
|
src/models/IntersectionTaskListTaskDto.ts
|
|
360
360
|
src/models/IntersectionTaskListTaskDtoData.ts
|
|
361
361
|
src/models/InvoiceDomainDto.ts
|
|
@@ -382,6 +382,7 @@ src/models/LandingPageModernDesignSettingsInput.ts
|
|
|
382
382
|
src/models/LandingPageOriginalDesignSettingsDto.ts
|
|
383
383
|
src/models/LandingPageOriginalDesignSettingsInput.ts
|
|
384
384
|
src/models/LandingPageSettingsDto.ts
|
|
385
|
+
src/models/LatestDomainAppraisalRequestDto.ts
|
|
385
386
|
src/models/LeadBuyerConfigDto.ts
|
|
386
387
|
src/models/LeadDomainDto.ts
|
|
387
388
|
src/models/LeadDto.ts
|
|
@@ -465,6 +466,7 @@ src/models/LoginStatus.ts
|
|
|
465
466
|
src/models/MajesticMetrics.ts
|
|
466
467
|
src/models/MajesticTopicTrustFlow.ts
|
|
467
468
|
src/models/ManualLeadBuyerDto.ts
|
|
469
|
+
src/models/ManualLeadDetails.ts
|
|
468
470
|
src/models/ManualLeadLeaseToOwnDto.ts
|
|
469
471
|
src/models/MarketingDashboardStatsDto.ts
|
|
470
472
|
src/models/MarketingOrderListItemDto.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;
|
package/dist/apis/LeadsApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BatchReadSellerLeadMessageInput, CreateLeadMessageInput, CreateManualLeadInput,
|
|
13
|
+
import type { BatchReadSellerLeadMessageInput, CreateLeadMessageInput, CreateManualLeadInput, LeadEnrichmentDto, LeadLeaseToOwnAndRentConfigurationPresetsDto, LeadOfferExpirationConfigurationInput, LeadQuickReplyListDto, List200Response, ListAdminRelatedLeads200Response, ListLeadMessagesDto, LockConfigurationInput, ManualLeadDetails, ObjectId, PutLeadOfferInput, SellerLeadDetails, UpdateLeadMuteStatusInput } from '../models/index';
|
|
14
14
|
export interface LeadsApiAcceptLeadOfferRequest {
|
|
15
15
|
leadId: string;
|
|
16
16
|
}
|
|
@@ -200,12 +200,12 @@ export declare class LeadsApi extends runtime.BaseAPI {
|
|
|
200
200
|
* Returns manual lead information. Requires account ownership. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
201
201
|
* Get manual lead details
|
|
202
202
|
*/
|
|
203
|
-
getManualLeadRaw(requestParameters: LeadsApiGetManualLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
203
|
+
getManualLeadRaw(requestParameters: LeadsApiGetManualLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ManualLeadDetails>>;
|
|
204
204
|
/**
|
|
205
205
|
* Returns manual lead information. Requires account ownership. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
206
206
|
* Get manual lead details
|
|
207
207
|
*/
|
|
208
|
-
getManualLead(requestParameters: LeadsApiGetManualLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
208
|
+
getManualLead(requestParameters: LeadsApiGetManualLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ManualLeadDetails>;
|
|
209
209
|
/**
|
|
210
210
|
* Lists messages in the lead conversation. Requires account ownership. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
211
211
|
* List lead messages
|
package/dist/apis/LeadsApi.js
CHANGED
|
@@ -744,7 +744,7 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
744
744
|
}, initOverrides)];
|
|
745
745
|
case 5:
|
|
746
746
|
response = _c.sent();
|
|
747
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.
|
|
747
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ManualLeadDetailsFromJSON)(jsonValue); })];
|
|
748
748
|
}
|
|
749
749
|
});
|
|
750
750
|
});
|
|
@@ -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
|
+
}
|