@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,153 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
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 { AuctionBidDto } from './AuctionBidDto';
|
|
17
|
+
import {
|
|
18
|
+
AuctionBidDtoFromJSON,
|
|
19
|
+
AuctionBidDtoFromJSONTyped,
|
|
20
|
+
AuctionBidDtoToJSON,
|
|
21
|
+
AuctionBidDtoToJSONTyped,
|
|
22
|
+
} from './AuctionBidDto';
|
|
23
|
+
import type { MoneyDto } from './MoneyDto';
|
|
24
|
+
import {
|
|
25
|
+
MoneyDtoFromJSON,
|
|
26
|
+
MoneyDtoFromJSONTyped,
|
|
27
|
+
MoneyDtoToJSON,
|
|
28
|
+
MoneyDtoToJSONTyped,
|
|
29
|
+
} from './MoneyDto';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface AuctionDto
|
|
35
|
+
*/
|
|
36
|
+
export interface AuctionDto {
|
|
37
|
+
/**
|
|
38
|
+
* Auction Id
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof AuctionDto
|
|
41
|
+
*/
|
|
42
|
+
id: string;
|
|
43
|
+
/**
|
|
44
|
+
* Auction minimum bid
|
|
45
|
+
* @type {MoneyDto}
|
|
46
|
+
* @memberof AuctionDto
|
|
47
|
+
*/
|
|
48
|
+
minimumBid: MoneyDto;
|
|
49
|
+
/**
|
|
50
|
+
* Auction reserve price
|
|
51
|
+
* @type {MoneyDto}
|
|
52
|
+
* @memberof AuctionDto
|
|
53
|
+
*/
|
|
54
|
+
reservePrice: MoneyDto | null;
|
|
55
|
+
/**
|
|
56
|
+
* Auction highest bid
|
|
57
|
+
* @type {MoneyDto}
|
|
58
|
+
* @memberof AuctionDto
|
|
59
|
+
*/
|
|
60
|
+
highestBid: MoneyDto | null;
|
|
61
|
+
/**
|
|
62
|
+
* Auction start date
|
|
63
|
+
* @type {Date}
|
|
64
|
+
* @memberof AuctionDto
|
|
65
|
+
*/
|
|
66
|
+
startDate: Date;
|
|
67
|
+
/**
|
|
68
|
+
* Auction end date
|
|
69
|
+
* @type {Date}
|
|
70
|
+
* @memberof AuctionDto
|
|
71
|
+
*/
|
|
72
|
+
endDate: Date;
|
|
73
|
+
/**
|
|
74
|
+
* Auction latestBids bids
|
|
75
|
+
* @type {Array<AuctionBidDto>}
|
|
76
|
+
* @memberof AuctionDto
|
|
77
|
+
*/
|
|
78
|
+
latestBids: Array<AuctionBidDto>;
|
|
79
|
+
/**
|
|
80
|
+
* Auction needs phone verification
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof AuctionDto
|
|
83
|
+
*/
|
|
84
|
+
needsPhoneVerification: boolean;
|
|
85
|
+
/**
|
|
86
|
+
* Auction needs KYC
|
|
87
|
+
* @type {boolean}
|
|
88
|
+
* @memberof AuctionDto
|
|
89
|
+
*/
|
|
90
|
+
needsKyc: boolean;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Check if a given object implements the AuctionDto interface.
|
|
95
|
+
*/
|
|
96
|
+
export function instanceOfAuctionDto(value: object): value is AuctionDto {
|
|
97
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
98
|
+
if (!('minimumBid' in value) || value['minimumBid'] === undefined) return false;
|
|
99
|
+
if (!('reservePrice' in value) || value['reservePrice'] === undefined) return false;
|
|
100
|
+
if (!('highestBid' in value) || value['highestBid'] === undefined) return false;
|
|
101
|
+
if (!('startDate' in value) || value['startDate'] === undefined) return false;
|
|
102
|
+
if (!('endDate' in value) || value['endDate'] === undefined) return false;
|
|
103
|
+
if (!('latestBids' in value) || value['latestBids'] === undefined) return false;
|
|
104
|
+
if (!('needsPhoneVerification' in value) || value['needsPhoneVerification'] === undefined) return false;
|
|
105
|
+
if (!('needsKyc' in value) || value['needsKyc'] === undefined) return false;
|
|
106
|
+
return true;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
export function AuctionDtoFromJSON(json: any): AuctionDto {
|
|
110
|
+
return AuctionDtoFromJSONTyped(json, false);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export function AuctionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuctionDto {
|
|
114
|
+
if (json == null) {
|
|
115
|
+
return json;
|
|
116
|
+
}
|
|
117
|
+
return {
|
|
118
|
+
|
|
119
|
+
'id': json['id'],
|
|
120
|
+
'minimumBid': MoneyDtoFromJSON(json['minimumBid']),
|
|
121
|
+
'reservePrice': MoneyDtoFromJSON(json['reservePrice']),
|
|
122
|
+
'highestBid': MoneyDtoFromJSON(json['highestBid']),
|
|
123
|
+
'startDate': (new Date(json['startDate'])),
|
|
124
|
+
'endDate': (new Date(json['endDate'])),
|
|
125
|
+
'latestBids': ((json['latestBids'] as Array<any>).map(AuctionBidDtoFromJSON)),
|
|
126
|
+
'needsPhoneVerification': json['needsPhoneVerification'],
|
|
127
|
+
'needsKyc': json['needsKyc'],
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export function AuctionDtoToJSON(json: any): AuctionDto {
|
|
132
|
+
return AuctionDtoToJSONTyped(json, false);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export function AuctionDtoToJSONTyped(value?: AuctionDto | null, ignoreDiscriminator: boolean = false): any {
|
|
136
|
+
if (value == null) {
|
|
137
|
+
return value;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
return {
|
|
141
|
+
|
|
142
|
+
'id': value['id'],
|
|
143
|
+
'minimumBid': MoneyDtoToJSON(value['minimumBid']),
|
|
144
|
+
'reservePrice': MoneyDtoToJSON(value['reservePrice']),
|
|
145
|
+
'highestBid': MoneyDtoToJSON(value['highestBid']),
|
|
146
|
+
'startDate': ((value['startDate']).toISOString()),
|
|
147
|
+
'endDate': ((value['endDate']).toISOString()),
|
|
148
|
+
'latestBids': ((value['latestBids'] as Array<any>).map(AuctionBidDtoToJSON)),
|
|
149
|
+
'needsPhoneVerification': value['needsPhoneVerification'],
|
|
150
|
+
'needsKyc': value['needsKyc'],
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
|
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
MoneyDtoToJSON,
|
|
28
28
|
MoneyDtoToJSONTyped,
|
|
29
29
|
} from './MoneyDto';
|
|
30
|
+
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
31
|
+
import {
|
|
32
|
+
LeaseToOwnConfigurationDtoFromJSON,
|
|
33
|
+
LeaseToOwnConfigurationDtoFromJSONTyped,
|
|
34
|
+
LeaseToOwnConfigurationDtoToJSON,
|
|
35
|
+
LeaseToOwnConfigurationDtoToJSONTyped,
|
|
36
|
+
} from './LeaseToOwnConfigurationDto';
|
|
30
37
|
|
|
31
38
|
/**
|
|
32
39
|
*
|
|
@@ -58,6 +65,18 @@ export interface BuyerLeadListItemDto {
|
|
|
58
65
|
* @memberof BuyerLeadListItemDto
|
|
59
66
|
*/
|
|
60
67
|
lastOfferBy: BuyerLeadListItemDtoLastOfferByEnum | null;
|
|
68
|
+
/**
|
|
69
|
+
* The last offer type
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof BuyerLeadListItemDto
|
|
72
|
+
*/
|
|
73
|
+
lastOfferType: BuyerLeadListItemDtoLastOfferTypeEnum | null;
|
|
74
|
+
/**
|
|
75
|
+
* Lease to own configuration
|
|
76
|
+
* @type {LeaseToOwnConfigurationDto}
|
|
77
|
+
* @memberof BuyerLeadListItemDto
|
|
78
|
+
*/
|
|
79
|
+
leaseToOwn: LeaseToOwnConfigurationDto | null;
|
|
61
80
|
/**
|
|
62
81
|
* Created at date
|
|
63
82
|
* @type {Date}
|
|
@@ -114,6 +133,17 @@ export const BuyerLeadListItemDtoLastOfferByEnum = {
|
|
|
114
133
|
} as const;
|
|
115
134
|
export type BuyerLeadListItemDtoLastOfferByEnum = typeof BuyerLeadListItemDtoLastOfferByEnum[keyof typeof BuyerLeadListItemDtoLastOfferByEnum];
|
|
116
135
|
|
|
136
|
+
/**
|
|
137
|
+
* @export
|
|
138
|
+
*/
|
|
139
|
+
export const BuyerLeadListItemDtoLastOfferTypeEnum = {
|
|
140
|
+
LEAD: 'lead',
|
|
141
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
142
|
+
RENT: 'rent',
|
|
143
|
+
AUCTION: 'auction'
|
|
144
|
+
} as const;
|
|
145
|
+
export type BuyerLeadListItemDtoLastOfferTypeEnum = typeof BuyerLeadListItemDtoLastOfferTypeEnum[keyof typeof BuyerLeadListItemDtoLastOfferTypeEnum];
|
|
146
|
+
|
|
117
147
|
|
|
118
148
|
/**
|
|
119
149
|
* Check if a given object implements the BuyerLeadListItemDto interface.
|
|
@@ -123,6 +153,8 @@ export function instanceOfBuyerLeadListItemDto(value: object): value is BuyerLea
|
|
|
123
153
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
124
154
|
if (!('lastOffer' in value) || value['lastOffer'] === undefined) return false;
|
|
125
155
|
if (!('lastOfferBy' in value) || value['lastOfferBy'] === undefined) return false;
|
|
156
|
+
if (!('lastOfferType' in value) || value['lastOfferType'] === undefined) return false;
|
|
157
|
+
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
126
158
|
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
127
159
|
if (!('domain' in value) || value['domain'] === undefined) return false;
|
|
128
160
|
if (!('unreadMessages' in value) || value['unreadMessages'] === undefined) return false;
|
|
@@ -145,6 +177,8 @@ export function BuyerLeadListItemDtoFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
145
177
|
'status': json['status'],
|
|
146
178
|
'lastOffer': MoneyDtoFromJSON(json['lastOffer']),
|
|
147
179
|
'lastOfferBy': json['lastOfferBy'],
|
|
180
|
+
'lastOfferType': json['lastOfferType'],
|
|
181
|
+
'leaseToOwn': LeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
148
182
|
'createdAt': (new Date(json['createdAt'])),
|
|
149
183
|
'domain': BuyerLeadListItemDomainDtoFromJSON(json['domain']),
|
|
150
184
|
'unreadMessages': json['unreadMessages'],
|
|
@@ -168,6 +202,8 @@ export function BuyerLeadListItemDtoToJSONTyped(value?: BuyerLeadListItemDto | n
|
|
|
168
202
|
'status': value['status'],
|
|
169
203
|
'lastOffer': MoneyDtoToJSON(value['lastOffer']),
|
|
170
204
|
'lastOfferBy': value['lastOfferBy'],
|
|
205
|
+
'lastOfferType': value['lastOfferType'],
|
|
206
|
+
'leaseToOwn': LeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
|
171
207
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
172
208
|
'domain': BuyerLeadListItemDomainDtoToJSON(value['domain']),
|
|
173
209
|
'unreadMessages': value['unreadMessages'],
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
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 { MoneyDto } from './MoneyDto';
|
|
17
|
+
import {
|
|
18
|
+
MoneyDtoFromJSON,
|
|
19
|
+
MoneyDtoFromJSONTyped,
|
|
20
|
+
MoneyDtoToJSON,
|
|
21
|
+
MoneyDtoToJSONTyped,
|
|
22
|
+
} from './MoneyDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface DomainAuctionDto
|
|
28
|
+
*/
|
|
29
|
+
export interface DomainAuctionDto {
|
|
30
|
+
/**
|
|
31
|
+
* The auction id
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof DomainAuctionDto
|
|
34
|
+
*/
|
|
35
|
+
id: object;
|
|
36
|
+
/**
|
|
37
|
+
* The auction minimum bid
|
|
38
|
+
* @type {MoneyDto}
|
|
39
|
+
* @memberof DomainAuctionDto
|
|
40
|
+
*/
|
|
41
|
+
minimumBid: MoneyDto;
|
|
42
|
+
/**
|
|
43
|
+
* The auction reserve price
|
|
44
|
+
* @type {MoneyDto}
|
|
45
|
+
* @memberof DomainAuctionDto
|
|
46
|
+
*/
|
|
47
|
+
reservePrice: MoneyDto | null;
|
|
48
|
+
/**
|
|
49
|
+
* The auction start date
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof DomainAuctionDto
|
|
52
|
+
*/
|
|
53
|
+
startDate: Date;
|
|
54
|
+
/**
|
|
55
|
+
* The auction end date
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof DomainAuctionDto
|
|
58
|
+
*/
|
|
59
|
+
endDate: Date;
|
|
60
|
+
/**
|
|
61
|
+
* The auction highest bid
|
|
62
|
+
* @type {MoneyDto}
|
|
63
|
+
* @memberof DomainAuctionDto
|
|
64
|
+
*/
|
|
65
|
+
highestBid: MoneyDto | null;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the DomainAuctionDto interface.
|
|
70
|
+
*/
|
|
71
|
+
export function instanceOfDomainAuctionDto(value: object): value is DomainAuctionDto {
|
|
72
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
73
|
+
if (!('minimumBid' in value) || value['minimumBid'] === undefined) return false;
|
|
74
|
+
if (!('reservePrice' in value) || value['reservePrice'] === undefined) return false;
|
|
75
|
+
if (!('startDate' in value) || value['startDate'] === undefined) return false;
|
|
76
|
+
if (!('endDate' in value) || value['endDate'] === undefined) return false;
|
|
77
|
+
if (!('highestBid' in value) || value['highestBid'] === undefined) return false;
|
|
78
|
+
return true;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function DomainAuctionDtoFromJSON(json: any): DomainAuctionDto {
|
|
82
|
+
return DomainAuctionDtoFromJSONTyped(json, false);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function DomainAuctionDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainAuctionDto {
|
|
86
|
+
if (json == null) {
|
|
87
|
+
return json;
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
|
|
91
|
+
'id': json['id'],
|
|
92
|
+
'minimumBid': MoneyDtoFromJSON(json['minimumBid']),
|
|
93
|
+
'reservePrice': MoneyDtoFromJSON(json['reservePrice']),
|
|
94
|
+
'startDate': (new Date(json['startDate'])),
|
|
95
|
+
'endDate': (new Date(json['endDate'])),
|
|
96
|
+
'highestBid': MoneyDtoFromJSON(json['highestBid']),
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export function DomainAuctionDtoToJSON(json: any): DomainAuctionDto {
|
|
101
|
+
return DomainAuctionDtoToJSONTyped(json, false);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function DomainAuctionDtoToJSONTyped(value?: DomainAuctionDto | null, ignoreDiscriminator: boolean = false): any {
|
|
105
|
+
if (value == null) {
|
|
106
|
+
return value;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
return {
|
|
110
|
+
|
|
111
|
+
'id': value['id'],
|
|
112
|
+
'minimumBid': MoneyDtoToJSON(value['minimumBid']),
|
|
113
|
+
'reservePrice': MoneyDtoToJSON(value['reservePrice']),
|
|
114
|
+
'startDate': ((value['startDate']).toISOString()),
|
|
115
|
+
'endDate': ((value['endDate']).toISOString()),
|
|
116
|
+
'highestBid': MoneyDtoToJSON(value['highestBid']),
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
@@ -146,6 +146,18 @@ export interface DomainSalesInformationDto {
|
|
|
146
146
|
* @memberof DomainSalesInformationDto
|
|
147
147
|
*/
|
|
148
148
|
seoEnabled: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* The domain "isAuctionable" status
|
|
151
|
+
* @type {boolean}
|
|
152
|
+
* @memberof DomainSalesInformationDto
|
|
153
|
+
*/
|
|
154
|
+
hasActiveAuction: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* The domain "auctionId"
|
|
157
|
+
* @type {string}
|
|
158
|
+
* @memberof DomainSalesInformationDto
|
|
159
|
+
*/
|
|
160
|
+
auctionId: string | null;
|
|
149
161
|
/**
|
|
150
162
|
* Lead buyer settings
|
|
151
163
|
* @type {LeadBuyerConfigDto}
|
|
@@ -172,6 +184,8 @@ export function instanceOfDomainSalesInformationDto(value: object): value is Dom
|
|
|
172
184
|
if (!('relatedDomainsEnabled' in value) || value['relatedDomainsEnabled'] === undefined) return false;
|
|
173
185
|
if (!('trustpilotEnabled' in value) || value['trustpilotEnabled'] === undefined) return false;
|
|
174
186
|
if (!('seoEnabled' in value) || value['seoEnabled'] === undefined) return false;
|
|
187
|
+
if (!('hasActiveAuction' in value) || value['hasActiveAuction'] === undefined) return false;
|
|
188
|
+
if (!('auctionId' in value) || value['auctionId'] === undefined) return false;
|
|
175
189
|
if (!('leadBuyerSettings' in value) || value['leadBuyerSettings'] === undefined) return false;
|
|
176
190
|
return true;
|
|
177
191
|
}
|
|
@@ -200,6 +214,8 @@ export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
200
214
|
'relatedDomainsEnabled': json['relatedDomainsEnabled'],
|
|
201
215
|
'trustpilotEnabled': json['trustpilotEnabled'],
|
|
202
216
|
'seoEnabled': json['seoEnabled'],
|
|
217
|
+
'hasActiveAuction': json['hasActiveAuction'],
|
|
218
|
+
'auctionId': json['auctionId'],
|
|
203
219
|
'leadBuyerSettings': LeadBuyerConfigDtoFromJSON(json['leadBuyerSettings']),
|
|
204
220
|
};
|
|
205
221
|
}
|
|
@@ -229,6 +245,8 @@ export function DomainSalesInformationDtoToJSONTyped(value?: DomainSalesInformat
|
|
|
229
245
|
'relatedDomainsEnabled': value['relatedDomainsEnabled'],
|
|
230
246
|
'trustpilotEnabled': value['trustpilotEnabled'],
|
|
231
247
|
'seoEnabled': value['seoEnabled'],
|
|
248
|
+
'hasActiveAuction': value['hasActiveAuction'],
|
|
249
|
+
'auctionId': value['auctionId'],
|
|
232
250
|
'leadBuyerSettings': LeadBuyerConfigDtoToJSON(value['leadBuyerSettings']),
|
|
233
251
|
};
|
|
234
252
|
}
|
package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts
CHANGED
|
@@ -146,7 +146,8 @@ export const IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatur
|
|
|
146
146
|
DOMAIN_AFFILIATE_PROGRAM: 'DOMAIN_AFFILIATE_PROGRAM',
|
|
147
147
|
SELLER_STATS_DASHBOARD: 'SELLER_STATS_DASHBOARD',
|
|
148
148
|
SELLER_TRANSFER_COSTS_PAYMENT: 'SELLER_TRANSFER_COSTS_PAYMENT',
|
|
149
|
-
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER'
|
|
149
|
+
NOTIFICATIONS_MANAGER: 'NOTIFICATIONS_MANAGER',
|
|
150
|
+
DOMAIN_AUCTIONS: 'DOMAIN_AUCTIONS'
|
|
150
151
|
} as const;
|
|
151
152
|
export type IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum = typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum[keyof typeof IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDtoEnabledFeaturesEnum];
|
|
152
153
|
|
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
RentConfigurationDtoToJSON,
|
|
28
28
|
RentConfigurationDtoToJSONTyped,
|
|
29
29
|
} from './RentConfigurationDto';
|
|
30
|
+
import type { DomainAuctionDto } from './DomainAuctionDto';
|
|
31
|
+
import {
|
|
32
|
+
DomainAuctionDtoFromJSON,
|
|
33
|
+
DomainAuctionDtoFromJSONTyped,
|
|
34
|
+
DomainAuctionDtoToJSON,
|
|
35
|
+
DomainAuctionDtoToJSONTyped,
|
|
36
|
+
} from './DomainAuctionDto';
|
|
30
37
|
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
31
38
|
import {
|
|
32
39
|
LeaseToOwnConfigurationDtoFromJSON,
|
|
@@ -177,6 +184,12 @@ export interface IntersectionDomainDtoWithAccountDto {
|
|
|
177
184
|
* @memberof IntersectionDomainDtoWithAccountDto
|
|
178
185
|
*/
|
|
179
186
|
leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
|
|
187
|
+
/**
|
|
188
|
+
* Whether the domain has auction
|
|
189
|
+
* @type {DomainAuctionDto}
|
|
190
|
+
* @memberof IntersectionDomainDtoWithAccountDto
|
|
191
|
+
*/
|
|
192
|
+
auction: DomainAuctionDto | null;
|
|
180
193
|
/**
|
|
181
194
|
*
|
|
182
195
|
* @type {AccountDto}
|
|
@@ -208,6 +221,7 @@ export function instanceOfIntersectionDomainDtoWithAccountDto(value: object): va
|
|
|
208
221
|
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
209
222
|
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
|
|
210
223
|
if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined) return false;
|
|
224
|
+
if (!('auction' in value) || value['auction'] === undefined) return false;
|
|
211
225
|
if (!('account' in value) || value['account'] === undefined) return false;
|
|
212
226
|
return true;
|
|
213
227
|
}
|
|
@@ -241,6 +255,7 @@ export function IntersectionDomainDtoWithAccountDtoFromJSONTyped(json: any, igno
|
|
|
241
255
|
'pageviews': json['pageviews'],
|
|
242
256
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
243
257
|
'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json['leadPriceNegotiator']),
|
|
258
|
+
'auction': DomainAuctionDtoFromJSON(json['auction']),
|
|
244
259
|
'account': AccountDtoFromJSON(json['account']),
|
|
245
260
|
};
|
|
246
261
|
}
|
|
@@ -275,6 +290,7 @@ export function IntersectionDomainDtoWithAccountDtoToJSONTyped(value?: Intersect
|
|
|
275
290
|
'pageviews': value['pageviews'],
|
|
276
291
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
277
292
|
'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON(value['leadPriceNegotiator']),
|
|
293
|
+
'auction': DomainAuctionDtoToJSON(value['auction']),
|
|
278
294
|
'account': AccountDtoToJSON(value['account']),
|
|
279
295
|
};
|
|
280
296
|
}
|
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
RentConfigurationDtoToJSON,
|
|
28
28
|
RentConfigurationDtoToJSONTyped,
|
|
29
29
|
} from './RentConfigurationDto';
|
|
30
|
+
import type { DomainAuctionDto } from './DomainAuctionDto';
|
|
31
|
+
import {
|
|
32
|
+
DomainAuctionDtoFromJSON,
|
|
33
|
+
DomainAuctionDtoFromJSONTyped,
|
|
34
|
+
DomainAuctionDtoToJSON,
|
|
35
|
+
DomainAuctionDtoToJSONTyped,
|
|
36
|
+
} from './DomainAuctionDto';
|
|
30
37
|
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
31
38
|
import {
|
|
32
39
|
LeaseToOwnConfigurationDtoFromJSON,
|
|
@@ -177,6 +184,12 @@ export interface IntersectionDomainDtoWithHijackerDtoWithAccountDto {
|
|
|
177
184
|
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
178
185
|
*/
|
|
179
186
|
leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
|
|
187
|
+
/**
|
|
188
|
+
* Whether the domain has auction
|
|
189
|
+
* @type {DomainAuctionDto}
|
|
190
|
+
* @memberof IntersectionDomainDtoWithHijackerDtoWithAccountDto
|
|
191
|
+
*/
|
|
192
|
+
auction: DomainAuctionDto | null;
|
|
180
193
|
/**
|
|
181
194
|
*
|
|
182
195
|
* @type {AccountDto}
|
|
@@ -214,6 +227,7 @@ export function instanceOfIntersectionDomainDtoWithHijackerDtoWithAccountDto(val
|
|
|
214
227
|
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
215
228
|
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
|
|
216
229
|
if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined) return false;
|
|
230
|
+
if (!('auction' in value) || value['auction'] === undefined) return false;
|
|
217
231
|
if (!('hijacker' in value) || value['hijacker'] === undefined) return false;
|
|
218
232
|
if (!('account' in value) || value['account'] === undefined) return false;
|
|
219
233
|
return true;
|
|
@@ -248,6 +262,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoFromJSONTyped(
|
|
|
248
262
|
'pageviews': json['pageviews'],
|
|
249
263
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
250
264
|
'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json['leadPriceNegotiator']),
|
|
265
|
+
'auction': DomainAuctionDtoFromJSON(json['auction']),
|
|
251
266
|
'hijacker': AccountDtoFromJSON(json['hijacker']),
|
|
252
267
|
'account': AccountDtoFromJSON(json['account']),
|
|
253
268
|
};
|
|
@@ -283,6 +298,7 @@ export function IntersectionDomainDtoWithHijackerDtoWithAccountDtoToJSONTyped(va
|
|
|
283
298
|
'pageviews': value['pageviews'],
|
|
284
299
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
285
300
|
'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON(value['leadPriceNegotiator']),
|
|
301
|
+
'auction': DomainAuctionDtoToJSON(value['auction']),
|
|
286
302
|
'hijacker': AccountDtoToJSON(value['hijacker']),
|
|
287
303
|
'account': AccountDtoToJSON(value['account']),
|
|
288
304
|
};
|
|
@@ -27,6 +27,13 @@ import {
|
|
|
27
27
|
RentConfigurationDtoToJSON,
|
|
28
28
|
RentConfigurationDtoToJSONTyped,
|
|
29
29
|
} from './RentConfigurationDto';
|
|
30
|
+
import type { DomainAuctionDto } from './DomainAuctionDto';
|
|
31
|
+
import {
|
|
32
|
+
DomainAuctionDtoFromJSON,
|
|
33
|
+
DomainAuctionDtoFromJSONTyped,
|
|
34
|
+
DomainAuctionDtoToJSON,
|
|
35
|
+
DomainAuctionDtoToJSONTyped,
|
|
36
|
+
} from './DomainAuctionDto';
|
|
30
37
|
import type { LeaseToOwnConfigurationDto } from './LeaseToOwnConfigurationDto';
|
|
31
38
|
import {
|
|
32
39
|
LeaseToOwnConfigurationDtoFromJSON,
|
|
@@ -183,6 +190,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDto {
|
|
|
183
190
|
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
184
191
|
*/
|
|
185
192
|
leadPriceNegotiator: DomainLeadPriceNegotiatorAiAgentConfigurationDto | null;
|
|
193
|
+
/**
|
|
194
|
+
* Whether the domain has auction
|
|
195
|
+
* @type {DomainAuctionDto}
|
|
196
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDto
|
|
197
|
+
*/
|
|
198
|
+
auction: DomainAuctionDto | null;
|
|
186
199
|
}
|
|
187
200
|
|
|
188
201
|
/**
|
|
@@ -209,6 +222,7 @@ export function instanceOfIntersectionDomainDtoWithSeoMetricsDto(value: object):
|
|
|
209
222
|
if (!('pageviews' in value) || value['pageviews'] === undefined) return false;
|
|
210
223
|
if (!('allowThirdPartySalesDataSharing' in value) || value['allowThirdPartySalesDataSharing'] === undefined) return false;
|
|
211
224
|
if (!('leadPriceNegotiator' in value) || value['leadPriceNegotiator'] === undefined) return false;
|
|
225
|
+
if (!('auction' in value) || value['auction'] === undefined) return false;
|
|
212
226
|
return true;
|
|
213
227
|
}
|
|
214
228
|
|
|
@@ -242,6 +256,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoFromJSONTyped(json: any, i
|
|
|
242
256
|
'pageviews': json['pageviews'],
|
|
243
257
|
'allowThirdPartySalesDataSharing': json['allowThirdPartySalesDataSharing'],
|
|
244
258
|
'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoFromJSON(json['leadPriceNegotiator']),
|
|
259
|
+
'auction': DomainAuctionDtoFromJSON(json['auction']),
|
|
245
260
|
};
|
|
246
261
|
}
|
|
247
262
|
|
|
@@ -276,6 +291,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoToJSONTyped(value?: Inters
|
|
|
276
291
|
'pageviews': value['pageviews'],
|
|
277
292
|
'allowThirdPartySalesDataSharing': value['allowThirdPartySalesDataSharing'],
|
|
278
293
|
'leadPriceNegotiator': DomainLeadPriceNegotiatorAiAgentConfigurationDtoToJSON(value['leadPriceNegotiator']),
|
|
294
|
+
'auction': DomainAuctionDtoToJSON(value['auction']),
|
|
279
295
|
};
|
|
280
296
|
}
|
|
281
297
|
|