@randock/nameshift-api-client 0.0.331 → 0.0.332
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 +20 -0
- package/README.md +3 -3
- package/dist/apis/AuctionsPublicApi.d.ts +29 -0
- package/dist/apis/AuctionsPublicApi.js +124 -0
- package/dist/apis/BuyersApi.d.ts +54 -1
- package/dist/apis/BuyersApi.js +267 -0
- package/dist/apis/BuyersPublicApi.d.ts +23 -1
- package/dist/apis/BuyersPublicApi.js +90 -0
- package/dist/apis/DomainsApi.d.ts +13 -1
- package/dist/apis/DomainsApi.js +56 -0
- package/dist/apis/LeadsApi.d.ts +2 -5
- package/dist/apis/LeadsApi.js +4 -8
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AuctionBidDto.d.ts +51 -0
- package/dist/models/AuctionBidDto.js +64 -0
- package/dist/models/AuctionBidInput.d.ts +32 -0
- package/dist/models/AuctionBidInput.js +51 -0
- package/dist/models/AuctionBuyerDto.d.ts +74 -0
- package/dist/models/AuctionBuyerDto.js +79 -0
- package/dist/models/AuctionBuyerWithTokenDto.d.ts +39 -0
- package/dist/models/AuctionBuyerWithTokenDto.js +56 -0
- package/dist/models/AuctionDto.d.ts +82 -0
- package/dist/models/AuctionDto.js +85 -0
- package/dist/models/BuyerLeadListItemDto.d.ts +23 -0
- package/dist/models/BuyerLeadListItemDto.js +19 -1
- package/dist/models/DomainAuctionDto.d.ts +63 -0
- package/dist/models/DomainAuctionDto.js +72 -0
- package/dist/models/DomainSalesInformationDto.d.ts +12 -0
- package/dist/models/DomainSalesInformationDto.js +8 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +5 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +36 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +28 -1
- package/dist/models/LeadDto.d.ts +43 -0
- package/dist/models/LeadDto.js +33 -1
- package/dist/models/LeadLeaseToOwnConfigurationDto.d.ts +50 -0
- package/dist/models/LeadLeaseToOwnConfigurationDto.js +63 -0
- package/dist/models/LeadMessageData.d.ts +7 -0
- package/dist/models/LeadMessageData.js +5 -0
- package/dist/models/LeadMessageDataLeaseToOwn.d.ts +38 -0
- package/dist/models/LeadMessageDataLeaseToOwn.js +55 -0
- package/dist/models/LeadMessageDto.d.ts +16 -0
- package/dist/models/LeadMessageDto.js +14 -1
- package/dist/models/LeadOfferDto.d.ts +72 -0
- package/dist/models/LeadOfferDto.js +84 -0
- package/dist/models/LeadRentConfigurationDto.d.ts +38 -0
- package/dist/models/LeadRentConfigurationDto.js +55 -0
- package/dist/models/ListLeadsResultItem.d.ts +43 -0
- package/dist/models/ListLeadsResultItem.js +33 -1
- package/dist/models/ManualLeadLeaseToOwnDto.d.ts +12 -0
- package/dist/models/ManualLeadLeaseToOwnDto.js +8 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/PutBuyerLeadOfferInput.d.ts +22 -0
- package/dist/models/PutBuyerLeadOfferInput.js +14 -0
- package/dist/models/PutLeadOfferInput.d.ts +23 -1
- package/dist/models/PutLeadOfferInput.js +15 -3
- package/dist/models/RegisterAuctionBuyerPhoneInput.d.ts +47 -0
- package/dist/models/RegisterAuctionBuyerPhoneInput.js +64 -0
- package/dist/models/RegisterInput.d.ts +38 -0
- package/dist/models/RegisterInput.js +55 -0
- package/dist/models/RequestEmailOtpInput.d.ts +38 -0
- package/dist/models/RequestEmailOtpInput.js +55 -0
- package/dist/models/SellerLeadDetails.d.ts +43 -0
- package/dist/models/SellerLeadDetails.js +33 -1
- package/dist/models/StartAuctionInput.d.ts +51 -0
- package/dist/models/StartAuctionInput.js +62 -0
- package/dist/models/TaskListLeadDto.d.ts +43 -0
- package/dist/models/TaskListLeadDto.js +33 -1
- package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.d.ts +50 -0
- package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.js +63 -0
- package/dist/models/TaskListLeadOfferDto.d.ts +72 -0
- package/dist/models/TaskListLeadOfferDto.js +84 -0
- package/dist/models/TaskListLeadRentConfigurationDto.d.ts +38 -0
- package/dist/models/TaskListLeadRentConfigurationDto.js +55 -0
- package/dist/models/VerifyEmailOtpInput.d.ts +38 -0
- package/dist/models/VerifyEmailOtpInput.js +55 -0
- package/dist/models/VerifyPhoneOtpInput.d.ts +32 -0
- package/dist/models/VerifyPhoneOtpInput.js +51 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +19 -0
- package/package.json +1 -1
- package/src/apis/AuctionsPublicApi.ts +67 -0
- package/src/apis/BuyersApi.ts +249 -0
- package/src/apis/BuyersPublicApi.ts +88 -0
- package/src/apis/DomainsApi.ts +58 -0
- package/src/apis/LeadsApi.ts +3 -11
- package/src/apis/index.ts +1 -0
- package/src/models/AuctionBidDto.ts +101 -0
- package/src/models/AuctionBidInput.ts +66 -0
- package/src/models/AuctionBuyerDto.ts +129 -0
- package/src/models/AuctionBuyerWithTokenDto.ts +83 -0
- package/src/models/AuctionDto.ts +153 -0
- package/src/models/BuyerLeadListItemDto.ts +36 -0
- package/src/models/DomainAuctionDto.ts +119 -0
- package/src/models/DomainSalesInformationDto.ts +18 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +16 -0
- package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +61 -0
- package/src/models/LeadDto.ts +77 -0
- package/src/models/LeadLeaseToOwnConfigurationDto.ts +93 -0
- package/src/models/LeadMessageData.ts +16 -0
- package/src/models/LeadMessageDataLeaseToOwn.ts +75 -0
- package/src/models/LeadMessageDto.ts +20 -0
- package/src/models/LeadOfferDto.ts +132 -0
- package/src/models/LeadRentConfigurationDto.ts +75 -0
- package/src/models/ListLeadsResultItem.ts +77 -0
- package/src/models/ManualLeadLeaseToOwnDto.ts +18 -0
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/PutBuyerLeadOfferInput.ts +29 -0
- package/src/models/PutLeadOfferInput.ts +31 -3
- package/src/models/RegisterAuctionBuyerPhoneInput.ts +87 -0
- package/src/models/RegisterInput.ts +75 -0
- package/src/models/RequestEmailOtpInput.ts +75 -0
- package/src/models/SellerLeadDetails.ts +77 -0
- package/src/models/StartAuctionInput.ts +100 -0
- package/src/models/TaskListLeadDto.ts +77 -0
- package/src/models/TaskListLeadLeaseToOwnConfigurationDto.ts +93 -0
- package/src/models/TaskListLeadOfferDto.ts +132 -0
- package/src/models/TaskListLeadRentConfigurationDto.ts +75 -0
- package/src/models/VerifyEmailOtpInput.ts +75 -0
- package/src/models/VerifyPhoneOtpInput.ts +66 -0
- package/src/models/index.ts +19 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
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 { AuctionBuyerDto } from './AuctionBuyerDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AuctionBuyerWithTokenDto
|
|
17
|
+
*/
|
|
18
|
+
export interface AuctionBuyerWithTokenDto {
|
|
19
|
+
/**
|
|
20
|
+
* Auction buyer token
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AuctionBuyerWithTokenDto
|
|
23
|
+
*/
|
|
24
|
+
token: string;
|
|
25
|
+
/**
|
|
26
|
+
* Auction buyer
|
|
27
|
+
* @type {AuctionBuyerDto}
|
|
28
|
+
* @memberof AuctionBuyerWithTokenDto
|
|
29
|
+
*/
|
|
30
|
+
auctionBuyer: AuctionBuyerDto | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the AuctionBuyerWithTokenDto interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfAuctionBuyerWithTokenDto(value: object): value is AuctionBuyerWithTokenDto;
|
|
36
|
+
export declare function AuctionBuyerWithTokenDtoFromJSON(json: any): AuctionBuyerWithTokenDto;
|
|
37
|
+
export declare function AuctionBuyerWithTokenDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionBuyerWithTokenDto;
|
|
38
|
+
export declare function AuctionBuyerWithTokenDtoToJSON(json: any): AuctionBuyerWithTokenDto;
|
|
39
|
+
export declare function AuctionBuyerWithTokenDtoToJSONTyped(value?: AuctionBuyerWithTokenDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
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.instanceOfAuctionBuyerWithTokenDto = instanceOfAuctionBuyerWithTokenDto;
|
|
17
|
+
exports.AuctionBuyerWithTokenDtoFromJSON = AuctionBuyerWithTokenDtoFromJSON;
|
|
18
|
+
exports.AuctionBuyerWithTokenDtoFromJSONTyped = AuctionBuyerWithTokenDtoFromJSONTyped;
|
|
19
|
+
exports.AuctionBuyerWithTokenDtoToJSON = AuctionBuyerWithTokenDtoToJSON;
|
|
20
|
+
exports.AuctionBuyerWithTokenDtoToJSONTyped = AuctionBuyerWithTokenDtoToJSONTyped;
|
|
21
|
+
var AuctionBuyerDto_1 = require("./AuctionBuyerDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the AuctionBuyerWithTokenDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfAuctionBuyerWithTokenDto(value) {
|
|
26
|
+
if (!('token' in value) || value['token'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('auctionBuyer' in value) || value['auctionBuyer'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function AuctionBuyerWithTokenDtoFromJSON(json) {
|
|
33
|
+
return AuctionBuyerWithTokenDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function AuctionBuyerWithTokenDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'token': json['token'],
|
|
41
|
+
'auctionBuyer': (0, AuctionBuyerDto_1.AuctionBuyerDtoFromJSON)(json['auctionBuyer']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function AuctionBuyerWithTokenDtoToJSON(json) {
|
|
45
|
+
return AuctionBuyerWithTokenDtoToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function AuctionBuyerWithTokenDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'token': value['token'],
|
|
54
|
+
'auctionBuyer': (0, AuctionBuyerDto_1.AuctionBuyerDtoToJSON)(value['auctionBuyer']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
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 { AuctionBidDto } from './AuctionBidDto';
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface AuctionDto
|
|
18
|
+
*/
|
|
19
|
+
export interface AuctionDto {
|
|
20
|
+
/**
|
|
21
|
+
* Auction Id
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof AuctionDto
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
* Auction minimum bid
|
|
28
|
+
* @type {MoneyDto}
|
|
29
|
+
* @memberof AuctionDto
|
|
30
|
+
*/
|
|
31
|
+
minimumBid: MoneyDto;
|
|
32
|
+
/**
|
|
33
|
+
* Auction reserve price
|
|
34
|
+
* @type {MoneyDto}
|
|
35
|
+
* @memberof AuctionDto
|
|
36
|
+
*/
|
|
37
|
+
reservePrice: MoneyDto | null;
|
|
38
|
+
/**
|
|
39
|
+
* Auction highest bid
|
|
40
|
+
* @type {MoneyDto}
|
|
41
|
+
* @memberof AuctionDto
|
|
42
|
+
*/
|
|
43
|
+
highestBid: MoneyDto | null;
|
|
44
|
+
/**
|
|
45
|
+
* Auction start date
|
|
46
|
+
* @type {Date}
|
|
47
|
+
* @memberof AuctionDto
|
|
48
|
+
*/
|
|
49
|
+
startDate: Date;
|
|
50
|
+
/**
|
|
51
|
+
* Auction end date
|
|
52
|
+
* @type {Date}
|
|
53
|
+
* @memberof AuctionDto
|
|
54
|
+
*/
|
|
55
|
+
endDate: Date;
|
|
56
|
+
/**
|
|
57
|
+
* Auction latestBids bids
|
|
58
|
+
* @type {Array<AuctionBidDto>}
|
|
59
|
+
* @memberof AuctionDto
|
|
60
|
+
*/
|
|
61
|
+
latestBids: Array<AuctionBidDto>;
|
|
62
|
+
/**
|
|
63
|
+
* Auction needs phone verification
|
|
64
|
+
* @type {boolean}
|
|
65
|
+
* @memberof AuctionDto
|
|
66
|
+
*/
|
|
67
|
+
needsPhoneVerification: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Auction needs KYC
|
|
70
|
+
* @type {boolean}
|
|
71
|
+
* @memberof AuctionDto
|
|
72
|
+
*/
|
|
73
|
+
needsKyc: boolean;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Check if a given object implements the AuctionDto interface.
|
|
77
|
+
*/
|
|
78
|
+
export declare function instanceOfAuctionDto(value: object): value is AuctionDto;
|
|
79
|
+
export declare function AuctionDtoFromJSON(json: any): AuctionDto;
|
|
80
|
+
export declare function AuctionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionDto;
|
|
81
|
+
export declare function AuctionDtoToJSON(json: any): AuctionDto;
|
|
82
|
+
export declare function AuctionDtoToJSONTyped(value?: AuctionDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
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.instanceOfAuctionDto = instanceOfAuctionDto;
|
|
17
|
+
exports.AuctionDtoFromJSON = AuctionDtoFromJSON;
|
|
18
|
+
exports.AuctionDtoFromJSONTyped = AuctionDtoFromJSONTyped;
|
|
19
|
+
exports.AuctionDtoToJSON = AuctionDtoToJSON;
|
|
20
|
+
exports.AuctionDtoToJSONTyped = AuctionDtoToJSONTyped;
|
|
21
|
+
var AuctionBidDto_1 = require("./AuctionBidDto");
|
|
22
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the AuctionDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfAuctionDto(value) {
|
|
27
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('minimumBid' in value) || value['minimumBid'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('reservePrice' in value) || value['reservePrice'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('highestBid' in value) || value['highestBid'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('startDate' in value) || value['startDate'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('endDate' in value) || value['endDate'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('latestBids' in value) || value['latestBids'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('needsPhoneVerification' in value) || value['needsPhoneVerification'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('needsKyc' in value) || value['needsKyc'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
function AuctionDtoFromJSON(json) {
|
|
48
|
+
return AuctionDtoFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
function AuctionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': json['id'],
|
|
56
|
+
'minimumBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minimumBid']),
|
|
57
|
+
'reservePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['reservePrice']),
|
|
58
|
+
'highestBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['highestBid']),
|
|
59
|
+
'startDate': (new Date(json['startDate'])),
|
|
60
|
+
'endDate': (new Date(json['endDate'])),
|
|
61
|
+
'latestBids': (json['latestBids'].map(AuctionBidDto_1.AuctionBidDtoFromJSON)),
|
|
62
|
+
'needsPhoneVerification': json['needsPhoneVerification'],
|
|
63
|
+
'needsKyc': json['needsKyc'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function AuctionDtoToJSON(json) {
|
|
67
|
+
return AuctionDtoToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function AuctionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
70
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
'id': value['id'],
|
|
76
|
+
'minimumBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['minimumBid']),
|
|
77
|
+
'reservePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['reservePrice']),
|
|
78
|
+
'highestBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['highestBid']),
|
|
79
|
+
'startDate': ((value['startDate']).toISOString()),
|
|
80
|
+
'endDate': ((value['endDate']).toISOString()),
|
|
81
|
+
'latestBids': (value['latestBids'].map(AuctionBidDto_1.AuctionBidDtoToJSON)),
|
|
82
|
+
'needsPhoneVerification': value['needsPhoneVerification'],
|
|
83
|
+
'needsKyc': value['needsKyc'],
|
|
84
|
+
};
|
|
85
|
+
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { BuyerLeadListItemDomainDto } from './BuyerLeadListItemDomainDto';
|
|
13
13
|
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
@@ -41,6 +42,18 @@ export interface BuyerLeadListItemDto {
|
|
|
41
42
|
* @memberof BuyerLeadListItemDto
|
|
42
43
|
*/
|
|
43
44
|
lastOfferBy: BuyerLeadListItemDtoLastOfferByEnum | null;
|
|
45
|
+
/**
|
|
46
|
+
* The last offer type
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof BuyerLeadListItemDto
|
|
49
|
+
*/
|
|
50
|
+
lastOfferType: BuyerLeadListItemDtoLastOfferTypeEnum | null;
|
|
51
|
+
/**
|
|
52
|
+
* Lease to own configuration
|
|
53
|
+
* @type {LeaseToOwnConfigurationDto}
|
|
54
|
+
* @memberof BuyerLeadListItemDto
|
|
55
|
+
*/
|
|
56
|
+
leaseToOwn: LeaseToOwnConfigurationDto | null;
|
|
44
57
|
/**
|
|
45
58
|
* Created at date
|
|
46
59
|
* @type {Date}
|
|
@@ -93,6 +106,16 @@ export declare const BuyerLeadListItemDtoLastOfferByEnum: {
|
|
|
93
106
|
readonly ADMIN: "admin";
|
|
94
107
|
};
|
|
95
108
|
export type BuyerLeadListItemDtoLastOfferByEnum = typeof BuyerLeadListItemDtoLastOfferByEnum[keyof typeof BuyerLeadListItemDtoLastOfferByEnum];
|
|
109
|
+
/**
|
|
110
|
+
* @export
|
|
111
|
+
*/
|
|
112
|
+
export declare const BuyerLeadListItemDtoLastOfferTypeEnum: {
|
|
113
|
+
readonly LEAD: "lead";
|
|
114
|
+
readonly LEASE_TO_OWN: "lease_to_own";
|
|
115
|
+
readonly RENT: "rent";
|
|
116
|
+
readonly AUCTION: "auction";
|
|
117
|
+
};
|
|
118
|
+
export type BuyerLeadListItemDtoLastOfferTypeEnum = typeof BuyerLeadListItemDtoLastOfferTypeEnum[keyof typeof BuyerLeadListItemDtoLastOfferTypeEnum];
|
|
96
119
|
/**
|
|
97
120
|
* Check if a given object implements the BuyerLeadListItemDto interface.
|
|
98
121
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.BuyerLeadListItemDtoLastOfferByEnum = exports.BuyerLeadListItemDtoStatusEnum = void 0;
|
|
16
|
+
exports.BuyerLeadListItemDtoLastOfferTypeEnum = exports.BuyerLeadListItemDtoLastOfferByEnum = exports.BuyerLeadListItemDtoStatusEnum = void 0;
|
|
17
17
|
exports.instanceOfBuyerLeadListItemDto = instanceOfBuyerLeadListItemDto;
|
|
18
18
|
exports.BuyerLeadListItemDtoFromJSON = BuyerLeadListItemDtoFromJSON;
|
|
19
19
|
exports.BuyerLeadListItemDtoFromJSONTyped = BuyerLeadListItemDtoFromJSONTyped;
|
|
@@ -21,6 +21,7 @@ exports.BuyerLeadListItemDtoToJSON = BuyerLeadListItemDtoToJSON;
|
|
|
21
21
|
exports.BuyerLeadListItemDtoToJSONTyped = BuyerLeadListItemDtoToJSONTyped;
|
|
22
22
|
var BuyerLeadListItemDomainDto_1 = require("./BuyerLeadListItemDomainDto");
|
|
23
23
|
var MoneyDto_1 = require("./MoneyDto");
|
|
24
|
+
var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
|
|
24
25
|
/**
|
|
25
26
|
* @export
|
|
26
27
|
*/
|
|
@@ -40,6 +41,15 @@ exports.BuyerLeadListItemDtoLastOfferByEnum = {
|
|
|
40
41
|
AI: 'ai',
|
|
41
42
|
ADMIN: 'admin'
|
|
42
43
|
};
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
exports.BuyerLeadListItemDtoLastOfferTypeEnum = {
|
|
48
|
+
LEAD: 'lead',
|
|
49
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
50
|
+
RENT: 'rent',
|
|
51
|
+
AUCTION: 'auction'
|
|
52
|
+
};
|
|
43
53
|
/**
|
|
44
54
|
* Check if a given object implements the BuyerLeadListItemDto interface.
|
|
45
55
|
*/
|
|
@@ -52,6 +62,10 @@ function instanceOfBuyerLeadListItemDto(value) {
|
|
|
52
62
|
return false;
|
|
53
63
|
if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined)
|
|
54
64
|
return false;
|
|
65
|
+
if (!('lastOfferType' in value) || value['lastOfferType'] === undefined)
|
|
66
|
+
return false;
|
|
67
|
+
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
|
|
68
|
+
return false;
|
|
55
69
|
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
56
70
|
return false;
|
|
57
71
|
if (!('domain' in value) || value['domain'] === undefined)
|
|
@@ -76,6 +90,8 @@ function BuyerLeadListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
76
90
|
'status': json['status'],
|
|
77
91
|
'lastOffer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['lastOffer']),
|
|
78
92
|
'lastOfferBy': json['lastOfferBy'],
|
|
93
|
+
'lastOfferType': json['lastOfferType'],
|
|
94
|
+
'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
79
95
|
'createdAt': (new Date(json['createdAt'])),
|
|
80
96
|
'domain': (0, BuyerLeadListItemDomainDto_1.BuyerLeadListItemDomainDtoFromJSON)(json['domain']),
|
|
81
97
|
'unreadMessages': json['unreadMessages'],
|
|
@@ -96,6 +112,8 @@ function BuyerLeadListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
96
112
|
'status': value['status'],
|
|
97
113
|
'lastOffer': (0, MoneyDto_1.MoneyDtoToJSON)(value['lastOffer']),
|
|
98
114
|
'lastOfferBy': value['lastOfferBy'],
|
|
115
|
+
'lastOfferType': value['lastOfferType'],
|
|
116
|
+
'leaseToOwn': (0, LeaseToOwnConfigurationDto_1.LeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
|
99
117
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
100
118
|
'domain': (0, BuyerLeadListItemDomainDto_1.BuyerLeadListItemDomainDtoToJSON)(value['domain']),
|
|
101
119
|
'unreadMessages': value['unreadMessages'],
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
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 { MoneyDto } from './MoneyDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface DomainAuctionDto
|
|
17
|
+
*/
|
|
18
|
+
export interface DomainAuctionDto {
|
|
19
|
+
/**
|
|
20
|
+
* The auction id
|
|
21
|
+
* @type {object}
|
|
22
|
+
* @memberof DomainAuctionDto
|
|
23
|
+
*/
|
|
24
|
+
id: object;
|
|
25
|
+
/**
|
|
26
|
+
* The auction minimum bid
|
|
27
|
+
* @type {MoneyDto}
|
|
28
|
+
* @memberof DomainAuctionDto
|
|
29
|
+
*/
|
|
30
|
+
minimumBid: MoneyDto;
|
|
31
|
+
/**
|
|
32
|
+
* The auction reserve price
|
|
33
|
+
* @type {MoneyDto}
|
|
34
|
+
* @memberof DomainAuctionDto
|
|
35
|
+
*/
|
|
36
|
+
reservePrice: MoneyDto | null;
|
|
37
|
+
/**
|
|
38
|
+
* The auction start date
|
|
39
|
+
* @type {Date}
|
|
40
|
+
* @memberof DomainAuctionDto
|
|
41
|
+
*/
|
|
42
|
+
startDate: Date;
|
|
43
|
+
/**
|
|
44
|
+
* The auction end date
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof DomainAuctionDto
|
|
47
|
+
*/
|
|
48
|
+
endDate: Date;
|
|
49
|
+
/**
|
|
50
|
+
* The auction highest bid
|
|
51
|
+
* @type {MoneyDto}
|
|
52
|
+
* @memberof DomainAuctionDto
|
|
53
|
+
*/
|
|
54
|
+
highestBid: MoneyDto | null;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the DomainAuctionDto interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfDomainAuctionDto(value: object): value is DomainAuctionDto;
|
|
60
|
+
export declare function DomainAuctionDtoFromJSON(json: any): DomainAuctionDto;
|
|
61
|
+
export declare function DomainAuctionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainAuctionDto;
|
|
62
|
+
export declare function DomainAuctionDtoToJSON(json: any): DomainAuctionDto;
|
|
63
|
+
export declare function DomainAuctionDtoToJSONTyped(value?: DomainAuctionDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
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.instanceOfDomainAuctionDto = instanceOfDomainAuctionDto;
|
|
17
|
+
exports.DomainAuctionDtoFromJSON = DomainAuctionDtoFromJSON;
|
|
18
|
+
exports.DomainAuctionDtoFromJSONTyped = DomainAuctionDtoFromJSONTyped;
|
|
19
|
+
exports.DomainAuctionDtoToJSON = DomainAuctionDtoToJSON;
|
|
20
|
+
exports.DomainAuctionDtoToJSONTyped = DomainAuctionDtoToJSONTyped;
|
|
21
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the DomainAuctionDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfDomainAuctionDto(value) {
|
|
26
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('minimumBid' in value) || value['minimumBid'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('reservePrice' in value) || value['reservePrice'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('startDate' in value) || value['startDate'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('endDate' in value) || value['endDate'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('highestBid' in value) || value['highestBid'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function DomainAuctionDtoFromJSON(json) {
|
|
41
|
+
return DomainAuctionDtoFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function DomainAuctionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'id': json['id'],
|
|
49
|
+
'minimumBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['minimumBid']),
|
|
50
|
+
'reservePrice': (0, MoneyDto_1.MoneyDtoFromJSON)(json['reservePrice']),
|
|
51
|
+
'startDate': (new Date(json['startDate'])),
|
|
52
|
+
'endDate': (new Date(json['endDate'])),
|
|
53
|
+
'highestBid': (0, MoneyDto_1.MoneyDtoFromJSON)(json['highestBid']),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function DomainAuctionDtoToJSON(json) {
|
|
57
|
+
return DomainAuctionDtoToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function DomainAuctionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
60
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'id': value['id'],
|
|
66
|
+
'minimumBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['minimumBid']),
|
|
67
|
+
'reservePrice': (0, MoneyDto_1.MoneyDtoToJSON)(value['reservePrice']),
|
|
68
|
+
'startDate': ((value['startDate']).toISOString()),
|
|
69
|
+
'endDate': ((value['endDate']).toISOString()),
|
|
70
|
+
'highestBid': (0, MoneyDto_1.MoneyDtoToJSON)(value['highestBid']),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
@@ -105,6 +105,18 @@ export interface DomainSalesInformationDto {
|
|
|
105
105
|
* @memberof DomainSalesInformationDto
|
|
106
106
|
*/
|
|
107
107
|
seoEnabled: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* The domain "isAuctionable" status
|
|
110
|
+
* @type {boolean}
|
|
111
|
+
* @memberof DomainSalesInformationDto
|
|
112
|
+
*/
|
|
113
|
+
hasActiveAuction: boolean;
|
|
114
|
+
/**
|
|
115
|
+
* The domain "auctionId"
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof DomainSalesInformationDto
|
|
118
|
+
*/
|
|
119
|
+
auctionId: string | null;
|
|
108
120
|
/**
|
|
109
121
|
* Lead buyer settings
|
|
110
122
|
* @type {LeadBuyerConfigDto}
|
|
@@ -56,6 +56,10 @@ function instanceOfDomainSalesInformationDto(value) {
|
|
|
56
56
|
return false;
|
|
57
57
|
if (!('seoEnabled' in value) || value['seoEnabled'] === undefined)
|
|
58
58
|
return false;
|
|
59
|
+
if (!('hasActiveAuction' in value) || value['hasActiveAuction'] === undefined)
|
|
60
|
+
return false;
|
|
61
|
+
if (!('auctionId' in value) || value['auctionId'] === undefined)
|
|
62
|
+
return false;
|
|
59
63
|
if (!('leadBuyerSettings' in value) || value['leadBuyerSettings'] === undefined)
|
|
60
64
|
return false;
|
|
61
65
|
return true;
|
|
@@ -82,6 +86,8 @@ function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
82
86
|
'relatedDomainsEnabled': json['relatedDomainsEnabled'],
|
|
83
87
|
'trustpilotEnabled': json['trustpilotEnabled'],
|
|
84
88
|
'seoEnabled': json['seoEnabled'],
|
|
89
|
+
'hasActiveAuction': json['hasActiveAuction'],
|
|
90
|
+
'auctionId': json['auctionId'],
|
|
85
91
|
'leadBuyerSettings': (0, LeadBuyerConfigDto_1.LeadBuyerConfigDtoFromJSON)(json['leadBuyerSettings']),
|
|
86
92
|
};
|
|
87
93
|
}
|
|
@@ -108,6 +114,8 @@ function DomainSalesInformationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
108
114
|
'relatedDomainsEnabled': value['relatedDomainsEnabled'],
|
|
109
115
|
'trustpilotEnabled': value['trustpilotEnabled'],
|
|
110
116
|
'seoEnabled': value['seoEnabled'],
|
|
117
|
+
'hasActiveAuction': value['hasActiveAuction'],
|
|
118
|
+
'auctionId': value['auctionId'],
|
|
111
119
|
'leadBuyerSettings': (0, LeadBuyerConfigDto_1.LeadBuyerConfigDtoToJSON)(value['leadBuyerSettings']),
|
|
112
120
|
};
|
|
113
121
|
}
|
|
@@ -104,6 +104,7 @@ export declare const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWi
|
|
|
104
104
|
readonly SELLER_STATS_DASHBOARD: "SELLER_STATS_DASHBOARD";
|
|
105
105
|
readonly SELLER_TRANSFER_COSTS_PAYMENT: "SELLER_TRANSFER_COSTS_PAYMENT";
|
|
106
106
|
readonly NOTIFICATIONS_MANAGER: "NOTIFICATIONS_MANAGER";
|
|
107
|
+
readonly DOMAIN_AUCTIONS: "DOMAIN_AUCTIONS";
|
|
107
108
|
};
|
|
108
109
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
109
110
|
/**
|
package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js
CHANGED
|
@@ -40,7 +40,8 @@ exports.IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlag
|
|
|
40
40
|
DOMAIN_AFFILIATE_PROGRAM: 'DOMAIN_AFFILIATE_PROGRAM',
|
|
41
41
|
SELLER_STATS_DASHBOARD: 'SELLER_STATS_DASHBOARD',
|
|
42
42
|
SELLER_TRANSFER_COSTS_PAYMENT: 'SELLER_TRANSFER_COSTS_PAYMENT',
|
|
43
|
-
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER'
|
|
43
|
+
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
|
|
44
|
+
DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS'
|
|
44
45
|
};
|
|
45
46
|
/**
|
|
46
47
|
* Check if a given object implements the IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto interface.
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
13
|
import type { RentConfigurationDto } from './RentConfigurationDto';
|
|
14
|
+
import type { DomainAuctionDto } from './DomainAuctionDto';
|
|
14
15
|
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
15
16
|
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
16
17
|
import type { AccountDto } from './AccountDto';
|
|
@@ -136,6 +137,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
136
137
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
137
138
|
*/
|
|
138
139
|
leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
|
|
140
|
+
/**
|
|
141
|
+
* Whether the domain has auction
|
|
142
|
+
* @type {DomainAuctionDto}
|
|
143
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
144
|
+
*/
|
|
145
|
+
auction: DomainAuctionDto | null;
|
|
139
146
|
/**
|
|
140
147
|
*
|
|
141
148
|
* @type {AccountDto}
|
|
@@ -20,6 +20,7 @@ exports.IntersectionDomainDtoWithAccountDtoToJSON = IntersectionDomainDtoWithAcc
|
|
|
20
20
|
exports.IntersectionDomainDtoWithAccountDtoToJSONTyped = IntersectionDomainDtoWithAccountDtoToJSONTyped;
|
|
21
21
|
var MoneyDto_1 = require("./MoneyDto");
|
|
22
22
|
var RentConfigurationDto_1 = require("./RentConfigurationDto");
|
|
23
|
+
var DomainAuctionDto_1 = require("./DomainAuctionDto");
|
|
23
24
|
var LeaseToOwnConfigurationDto_1 = require("./LeaseToOwnConfigurationDto");
|
|
24
25
|
var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
|
|
25
26
|
var AccountDto_1 = require("./AccountDto");
|
|
@@ -66,6 +67,8 @@ function instanceOfIntersectionDomainDtoWithAccountDto(value) {
|
|
|
66
67
|
return false;
|
|
67
68
|
if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined)
|
|
68
69
|
return false;
|
|
70
|
+
if (!('auction' in value) || value['auction'] === undefined)
|
|
71
|
+
return false;
|
|
69
72
|
if (!('account' in value) || value['account'] === undefined)
|
|
70
73
|
return false;
|
|
71
74
|
return true;
|
|
@@ -97,6 +100,7 @@ function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json, ignoreDiscrimina
|
|
|
97
100
|
'pageviews': json['pageviews'],
|
|
98
101
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
99
102
|
'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON)(json['leadPriceNegotiator']),
|
|
103
|
+
'auction': (0, DomainAuctionDto_1.DomainAuctionDtoFromJSON)(json['auction']),
|
|
100
104
|
'account': (0, AccountDto_1.AccountDtoFromJSON)(json['account']),
|
|
101
105
|
};
|
|
102
106
|
}
|
|
@@ -128,6 +132,7 @@ function IntersectionDomainDtoWithAccountDtoToJSONTyped(value, ignoreDiscriminat
|
|
|
128
132
|
'pageviews': value['pageviews'],
|
|
129
133
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
130
134
|
'leadPriceNegotiator': (0, DomainLeadPriceNegotiatorAiAgentConfigurationDto_1.DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON)(value['leadPriceNegotiator']),
|
|
135
|
+
'auction': (0, DomainAuctionDto_1.DomainAuctionDtoToJSON)(value['auction']),
|
|
131
136
|
'account': (0, AccountDto_1.AccountDtoToJSON)(value['account']),
|
|
132
137
|
};
|
|
133
138
|
}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
13
|
import type { RentConfigurationDto } from './RentConfigurationDto';
|
|
14
|
+
import type { DomainAuctionDto } from './DomainAuctionDto';
|
|
14
15
|
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
15
16
|
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
16
17
|
import type { AccountDto } from './AccountDto';
|
|
@@ -136,6 +137,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
136
137
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
137
138
|
*/
|
|
138
139
|
leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
|
|
140
|
+
/**
|
|
141
|
+
* Whether the domain has auction
|
|
142
|
+
* @type {DomainAuctionDto}
|
|
143
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
144
|
+
*/
|
|
145
|
+
auction: DomainAuctionDto | null;
|
|
139
146
|
/**
|
|
140
147
|
*
|
|
141
148
|
* @type {AccountDto}
|