@randock/nameshift-api-client 0.0.523 → 0.0.525
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 +1 -1
- package/README.md +3 -3
- package/dist/apis/LeadsApi.d.ts +3 -3
- package/dist/apis/LeadsApi.js +1 -1
- package/dist/models/DomainSalesInformationDto.d.ts +6 -0
- package/dist/models/DomainSalesInformationDto.js +4 -0
- package/dist/models/LandingPageInput.d.ts +6 -0
- package/dist/models/LandingPageInput.js +2 -0
- package/dist/models/LandingPageSettingsDto.d.ts +6 -0
- package/dist/models/LandingPageSettingsDto.js +4 -0
- package/dist/models/ManualLeadDetails.d.ts +226 -0
- package/dist/models/{IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js → ManualLeadDetails.js} +23 -18
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/package.json +1 -1
- package/src/apis/LeadsApi.ts +6 -6
- package/src/models/DomainSalesInformationDto.ts +9 -0
- package/src/models/LandingPageInput.ts +8 -0
- package/src/models/LandingPageSettingsDto.ts +9 -0
- package/src/models/{IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts → ManualLeadDetails.ts} +62 -46
- package/src/models/index.ts +1 -1
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +0 -219
package/.openapi-generator/FILES
CHANGED
|
@@ -355,7 +355,6 @@ src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureF
|
|
|
355
355
|
src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts
|
|
356
356
|
src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts
|
|
357
357
|
src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts
|
|
358
|
-
src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts
|
|
359
358
|
src/models/IntersectionTaskListTaskDto.ts
|
|
360
359
|
src/models/IntersectionTaskListTaskDtoData.ts
|
|
361
360
|
src/models/InvoiceDomainDto.ts
|
|
@@ -465,6 +464,7 @@ src/models/LoginStatus.ts
|
|
|
465
464
|
src/models/MajesticMetrics.ts
|
|
466
465
|
src/models/MajesticTopicTrustFlow.ts
|
|
467
466
|
src/models/ManualLeadBuyerDto.ts
|
|
467
|
+
src/models/ManualLeadDetails.ts
|
|
468
468
|
src/models/ManualLeadLeaseToOwnDto.ts
|
|
469
469
|
src/models/MarketingDashboardStatsDto.ts
|
|
470
470
|
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.525
|
|
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.525 --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
|
+
54409f999332a54237aaa68b591c8a270cfe217d0fc80a933fda71f3e18e7e750a5f39cd72a839e517354f031fc764f6
|
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
|
});
|
|
@@ -142,6 +142,12 @@ export interface DomainSalesInformationDto {
|
|
|
142
142
|
* @memberof DomainSalesInformationDto
|
|
143
143
|
*/
|
|
144
144
|
customCss: string | null;
|
|
145
|
+
/**
|
|
146
|
+
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
147
|
+
* @type {boolean}
|
|
148
|
+
* @memberof DomainSalesInformationDto
|
|
149
|
+
*/
|
|
150
|
+
dutchPriceFormat: boolean;
|
|
145
151
|
}
|
|
146
152
|
/**
|
|
147
153
|
* Check if a given object implements the DomainSalesInformationDto interface.
|
|
@@ -69,6 +69,8 @@ function instanceOfDomainSalesInformationDto(value) {
|
|
|
69
69
|
return false;
|
|
70
70
|
if (!('customCss' in value) || value['customCss'] === undefined)
|
|
71
71
|
return false;
|
|
72
|
+
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined)
|
|
73
|
+
return false;
|
|
72
74
|
return true;
|
|
73
75
|
}
|
|
74
76
|
function DomainSalesInformationDtoFromJSON(json) {
|
|
@@ -99,6 +101,7 @@ function DomainSalesInformationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
99
101
|
'domainAppraisalRequestEnabled': json['domainAppraisalRequestEnabled'],
|
|
100
102
|
'landingPageDesign': (0, DomainSalesInformationDtoLandingPageDesign_1.DomainSalesInformationDtoLandingPageDesignFromJSON)(json['landingPageDesign']),
|
|
101
103
|
'customCss': json['customCss'],
|
|
104
|
+
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
102
105
|
};
|
|
103
106
|
}
|
|
104
107
|
function DomainSalesInformationDtoToJSON(json) {
|
|
@@ -130,5 +133,6 @@ function DomainSalesInformationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
130
133
|
'domainAppraisalRequestEnabled': value['domainAppraisalRequestEnabled'],
|
|
131
134
|
'landingPageDesign': (0, DomainSalesInformationDtoLandingPageDesign_1.DomainSalesInformationDtoLandingPageDesignToJSON)(value['landingPageDesign']),
|
|
132
135
|
'customCss': value['customCss'],
|
|
136
|
+
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
133
137
|
};
|
|
134
138
|
}
|
|
@@ -76,6 +76,12 @@ export interface LandingPageInput {
|
|
|
76
76
|
* @memberof LandingPageInput
|
|
77
77
|
*/
|
|
78
78
|
localeRedirect?: LandingPageInputLocaleRedirectEnum | null;
|
|
79
|
+
/**
|
|
80
|
+
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof LandingPageInput
|
|
83
|
+
*/
|
|
84
|
+
dutchPriceFormat?: boolean | null;
|
|
79
85
|
}
|
|
80
86
|
/**
|
|
81
87
|
* @export
|
|
@@ -85,6 +85,7 @@ function LandingPageInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
85
85
|
'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'] == null ? undefined : json['domainNameUppercaseThreshold'],
|
|
86
86
|
'domainNameTldCase': json['domainNameTldCase'] == null ? undefined : json['domainNameTldCase'],
|
|
87
87
|
'localeRedirect': json['localeRedirect'] == null ? undefined : json['localeRedirect'],
|
|
88
|
+
'dutchPriceFormat': json['dutchPriceFormat'] == null ? undefined : json['dutchPriceFormat'],
|
|
88
89
|
};
|
|
89
90
|
}
|
|
90
91
|
function LandingPageInputToJSON(json) {
|
|
@@ -106,5 +107,6 @@ function LandingPageInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
106
107
|
'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
|
|
107
108
|
'domainNameTldCase': value['domainNameTldCase'],
|
|
108
109
|
'localeRedirect': value['localeRedirect'],
|
|
110
|
+
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
109
111
|
};
|
|
110
112
|
}
|
|
@@ -76,6 +76,12 @@ export interface LandingPageSettingsDto {
|
|
|
76
76
|
* @memberof LandingPageSettingsDto
|
|
77
77
|
*/
|
|
78
78
|
localeRedirect: LandingPageSettingsDtoLocaleRedirectEnum | null;
|
|
79
|
+
/**
|
|
80
|
+
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
81
|
+
* @type {boolean}
|
|
82
|
+
* @memberof LandingPageSettingsDto
|
|
83
|
+
*/
|
|
84
|
+
dutchPriceFormat: boolean | null;
|
|
79
85
|
}
|
|
80
86
|
/**
|
|
81
87
|
* @export
|
|
@@ -85,6 +85,8 @@ function instanceOfLandingPageSettingsDto(value) {
|
|
|
85
85
|
return false;
|
|
86
86
|
if (!('localeRedirect' in value) || value['localeRedirect'] === undefined)
|
|
87
87
|
return false;
|
|
88
|
+
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined)
|
|
89
|
+
return false;
|
|
88
90
|
return true;
|
|
89
91
|
}
|
|
90
92
|
function LandingPageSettingsDtoFromJSON(json) {
|
|
@@ -105,6 +107,7 @@ function LandingPageSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
105
107
|
'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'],
|
|
106
108
|
'domainNameTldCase': json['domainNameTldCase'],
|
|
107
109
|
'localeRedirect': json['localeRedirect'],
|
|
110
|
+
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
108
111
|
};
|
|
109
112
|
}
|
|
110
113
|
function LandingPageSettingsDtoToJSON(json) {
|
|
@@ -126,5 +129,6 @@ function LandingPageSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
126
129
|
'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
|
|
127
130
|
'domainNameTldCase': value['domainNameTldCase'],
|
|
128
131
|
'localeRedirect': value['localeRedirect'],
|
|
132
|
+
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
129
133
|
};
|
|
130
134
|
}
|
|
@@ -0,0 +1,226 @@
|
|
|
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 { ManualLeadBuyerDto } from './ManualLeadBuyerDto';
|
|
13
|
+
import type { ManualLeadLeaseToOwnDto } from './ManualLeadLeaseToOwnDto';
|
|
14
|
+
import type { MoneyDto } from './MoneyDto';
|
|
15
|
+
import type { IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto } from './IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto';
|
|
16
|
+
import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
|
|
17
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
18
|
+
import type { DomainLockConfigurationDto } from './DomainLockConfigurationDto';
|
|
19
|
+
import type { LeadOfferDto } from './LeadOfferDto';
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface ManualLeadDetails
|
|
24
|
+
*/
|
|
25
|
+
export interface ManualLeadDetails {
|
|
26
|
+
/**
|
|
27
|
+
* The lead id
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ManualLeadDetails
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
/**
|
|
33
|
+
* The current lead status
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ManualLeadDetails
|
|
36
|
+
*/
|
|
37
|
+
status: ManualLeadDetailsStatusEnum;
|
|
38
|
+
/**
|
|
39
|
+
* Whether the lead is archived for the current viewer.
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof ManualLeadDetails
|
|
42
|
+
*/
|
|
43
|
+
archived: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* The lead last offer amount
|
|
46
|
+
* @type {MoneyDto}
|
|
47
|
+
* @memberof ManualLeadDetails
|
|
48
|
+
*/
|
|
49
|
+
lastOffer: MoneyDto | null;
|
|
50
|
+
/**
|
|
51
|
+
* Origin of the party who made the last offer.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof ManualLeadDetails
|
|
54
|
+
*/
|
|
55
|
+
lastOfferBy: ManualLeadDetailsLastOfferByEnum | null;
|
|
56
|
+
/**
|
|
57
|
+
* Type of the last offer on the lead.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ManualLeadDetails
|
|
60
|
+
*/
|
|
61
|
+
lastOfferType: ManualLeadDetailsLastOfferTypeEnum | null;
|
|
62
|
+
/**
|
|
63
|
+
* Date and time when the lead was created.
|
|
64
|
+
* @type {Date}
|
|
65
|
+
* @memberof ManualLeadDetails
|
|
66
|
+
*/
|
|
67
|
+
createdAt: Date;
|
|
68
|
+
/**
|
|
69
|
+
* Date and time when the lead was last updated.
|
|
70
|
+
* @type {Date}
|
|
71
|
+
* @memberof ManualLeadDetails
|
|
72
|
+
*/
|
|
73
|
+
updatedAt: Date;
|
|
74
|
+
/**
|
|
75
|
+
* Domain information with account and auction details.
|
|
76
|
+
* @type {IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto}
|
|
77
|
+
* @memberof ManualLeadDetails
|
|
78
|
+
*/
|
|
79
|
+
domain: IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto;
|
|
80
|
+
/**
|
|
81
|
+
* Number of unread messages for the buyer.
|
|
82
|
+
* @type {number}
|
|
83
|
+
* @memberof ManualLeadDetails
|
|
84
|
+
*/
|
|
85
|
+
unreadBuyerMessagesNumber: number;
|
|
86
|
+
/**
|
|
87
|
+
* Number of unread messages for the seller.
|
|
88
|
+
* @type {number}
|
|
89
|
+
* @memberof ManualLeadDetails
|
|
90
|
+
*/
|
|
91
|
+
unreadSellerMessagesNumber: number;
|
|
92
|
+
/**
|
|
93
|
+
* Maximum number of consecutive messages one side can send before waiting for a reply.
|
|
94
|
+
* @type {number}
|
|
95
|
+
* @memberof ManualLeadDetails
|
|
96
|
+
*/
|
|
97
|
+
messagesInRowLimit: number;
|
|
98
|
+
/**
|
|
99
|
+
* URL for completing order payment, if available.
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof ManualLeadDetails
|
|
102
|
+
*/
|
|
103
|
+
orderPaymentUrl: string | null;
|
|
104
|
+
/**
|
|
105
|
+
* Whether the price negotiator AI agent is paused for this lead.
|
|
106
|
+
* @type {boolean}
|
|
107
|
+
* @memberof ManualLeadDetails
|
|
108
|
+
*/
|
|
109
|
+
isPriceNegotiatorAgentPaused: boolean;
|
|
110
|
+
/**
|
|
111
|
+
* Manual lead type, if the lead was created manually.
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof ManualLeadDetails
|
|
114
|
+
*/
|
|
115
|
+
manualType: ManualLeadDetailsManualTypeEnum | null;
|
|
116
|
+
/**
|
|
117
|
+
* Whether the lead is muted for the buyer.
|
|
118
|
+
* @type {boolean}
|
|
119
|
+
* @memberof ManualLeadDetails
|
|
120
|
+
*/
|
|
121
|
+
isMutedForBuyer: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* Lease-to-own configuration for the manual lead, if applicable.
|
|
124
|
+
* @type {ManualLeadLeaseToOwnDto}
|
|
125
|
+
* @memberof ManualLeadDetails
|
|
126
|
+
*/
|
|
127
|
+
leaseToOwn: ManualLeadLeaseToOwnDto | null;
|
|
128
|
+
/**
|
|
129
|
+
* Rent configuration defaults for the lead.
|
|
130
|
+
* @type {LeadRentConfigurationDto}
|
|
131
|
+
* @memberof ManualLeadDetails
|
|
132
|
+
*/
|
|
133
|
+
rent: LeadRentConfigurationDto;
|
|
134
|
+
/**
|
|
135
|
+
* Last offer made by the buyer on the lead.
|
|
136
|
+
* @type {LeadOfferDto}
|
|
137
|
+
* @memberof ManualLeadDetails
|
|
138
|
+
*/
|
|
139
|
+
lastBuyerOffer: LeadOfferDto | null;
|
|
140
|
+
/**
|
|
141
|
+
* Last offer made by the seller on the lead.
|
|
142
|
+
* @type {LeadOfferDto}
|
|
143
|
+
* @memberof ManualLeadDetails
|
|
144
|
+
*/
|
|
145
|
+
lastSellerOffer: LeadOfferDto | null;
|
|
146
|
+
/**
|
|
147
|
+
* Offer expiration configuration for the lead.
|
|
148
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
149
|
+
* @memberof ManualLeadDetails
|
|
150
|
+
*/
|
|
151
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
152
|
+
/**
|
|
153
|
+
* Whether the seller can close the lead now. An accepted lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed.
|
|
154
|
+
* @type {boolean}
|
|
155
|
+
* @memberof ManualLeadDetails
|
|
156
|
+
*/
|
|
157
|
+
canBeClosedBySeller: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* Date and time when the lead was accepted, if applicable.
|
|
160
|
+
* @type {Date}
|
|
161
|
+
* @memberof ManualLeadDetails
|
|
162
|
+
*/
|
|
163
|
+
acceptedAt: Date | null;
|
|
164
|
+
/**
|
|
165
|
+
* Buyer details for the manually created lead.
|
|
166
|
+
* @type {ManualLeadBuyerDto}
|
|
167
|
+
* @memberof ManualLeadDetails
|
|
168
|
+
*/
|
|
169
|
+
buyer: ManualLeadBuyerDto;
|
|
170
|
+
/**
|
|
171
|
+
* Domain lock configuration for the lead domain.
|
|
172
|
+
* @type {DomainLockConfigurationDto}
|
|
173
|
+
* @memberof ManualLeadDetails
|
|
174
|
+
*/
|
|
175
|
+
domainLockConfiguration: DomainLockConfigurationDto;
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* @export
|
|
179
|
+
*/
|
|
180
|
+
export declare const ManualLeadDetailsStatusEnum: {
|
|
181
|
+
readonly DRAFT: "draft";
|
|
182
|
+
readonly UNVERIFIED: "unverified";
|
|
183
|
+
readonly ACTIVE: "active";
|
|
184
|
+
readonly ACCEPTED: "accepted";
|
|
185
|
+
readonly FINISHED: "finished";
|
|
186
|
+
readonly CLOSED: "closed";
|
|
187
|
+
};
|
|
188
|
+
export type ManualLeadDetailsStatusEnum = typeof ManualLeadDetailsStatusEnum[keyof typeof ManualLeadDetailsStatusEnum];
|
|
189
|
+
/**
|
|
190
|
+
* @export
|
|
191
|
+
*/
|
|
192
|
+
export declare const ManualLeadDetailsLastOfferByEnum: {
|
|
193
|
+
readonly BUYER: "buyer";
|
|
194
|
+
readonly SELLER: "seller";
|
|
195
|
+
readonly AI: "ai";
|
|
196
|
+
readonly ADMIN: "admin";
|
|
197
|
+
};
|
|
198
|
+
export type ManualLeadDetailsLastOfferByEnum = typeof ManualLeadDetailsLastOfferByEnum[keyof typeof ManualLeadDetailsLastOfferByEnum];
|
|
199
|
+
/**
|
|
200
|
+
* @export
|
|
201
|
+
*/
|
|
202
|
+
export declare const ManualLeadDetailsLastOfferTypeEnum: {
|
|
203
|
+
readonly LEAD: "lead";
|
|
204
|
+
readonly LEASE_TO_OWN: "lease_to_own";
|
|
205
|
+
readonly RENT: "rent";
|
|
206
|
+
readonly AUCTION: "auction";
|
|
207
|
+
};
|
|
208
|
+
export type ManualLeadDetailsLastOfferTypeEnum = typeof ManualLeadDetailsLastOfferTypeEnum[keyof typeof ManualLeadDetailsLastOfferTypeEnum];
|
|
209
|
+
/**
|
|
210
|
+
* @export
|
|
211
|
+
*/
|
|
212
|
+
export declare const ManualLeadDetailsManualTypeEnum: {
|
|
213
|
+
readonly BUY_NOW: "buy_now";
|
|
214
|
+
readonly OFFER: "offer";
|
|
215
|
+
readonly LEASE_TO_OWN: "lease_to_own";
|
|
216
|
+
readonly RENT: "rent";
|
|
217
|
+
};
|
|
218
|
+
export type ManualLeadDetailsManualTypeEnum = typeof ManualLeadDetailsManualTypeEnum[keyof typeof ManualLeadDetailsManualTypeEnum];
|
|
219
|
+
/**
|
|
220
|
+
* Check if a given object implements the ManualLeadDetails interface.
|
|
221
|
+
*/
|
|
222
|
+
export declare function instanceOfManualLeadDetails(value: object): value is ManualLeadDetails;
|
|
223
|
+
export declare function ManualLeadDetailsFromJSON(json: any): ManualLeadDetails;
|
|
224
|
+
export declare function ManualLeadDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManualLeadDetails;
|
|
225
|
+
export declare function ManualLeadDetailsToJSON(json: any): ManualLeadDetails;
|
|
226
|
+
export declare function ManualLeadDetailsToJSONTyped(value?: ManualLeadDetails | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -13,23 +13,24 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
16
|
+
exports.ManualLeadDetailsManualTypeEnum = exports.ManualLeadDetailsLastOfferTypeEnum = exports.ManualLeadDetailsLastOfferByEnum = exports.ManualLeadDetailsStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfManualLeadDetails = instanceOfManualLeadDetails;
|
|
18
|
+
exports.ManualLeadDetailsFromJSON = ManualLeadDetailsFromJSON;
|
|
19
|
+
exports.ManualLeadDetailsFromJSONTyped = ManualLeadDetailsFromJSONTyped;
|
|
20
|
+
exports.ManualLeadDetailsToJSON = ManualLeadDetailsToJSON;
|
|
21
|
+
exports.ManualLeadDetailsToJSONTyped = ManualLeadDetailsToJSONTyped;
|
|
22
22
|
var ManualLeadBuyerDto_1 = require("./ManualLeadBuyerDto");
|
|
23
23
|
var ManualLeadLeaseToOwnDto_1 = require("./ManualLeadLeaseToOwnDto");
|
|
24
24
|
var MoneyDto_1 = require("./MoneyDto");
|
|
25
25
|
var IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto_1 = require("./IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto");
|
|
26
26
|
var LeadRentConfigurationDto_1 = require("./LeadRentConfigurationDto");
|
|
27
27
|
var LeadOfferExpirationConfigurationDto_1 = require("./LeadOfferExpirationConfigurationDto");
|
|
28
|
+
var DomainLockConfigurationDto_1 = require("./DomainLockConfigurationDto");
|
|
28
29
|
var LeadOfferDto_1 = require("./LeadOfferDto");
|
|
29
30
|
/**
|
|
30
31
|
* @export
|
|
31
32
|
*/
|
|
32
|
-
exports.
|
|
33
|
+
exports.ManualLeadDetailsStatusEnum = {
|
|
33
34
|
DRAFT: 'draft',
|
|
34
35
|
UNVERIFIED: 'unverified',
|
|
35
36
|
ACTIVE: 'active',
|
|
@@ -40,7 +41,7 @@ exports.IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoStatus
|
|
|
40
41
|
/**
|
|
41
42
|
* @export
|
|
42
43
|
*/
|
|
43
|
-
exports.
|
|
44
|
+
exports.ManualLeadDetailsLastOfferByEnum = {
|
|
44
45
|
BUYER: 'buyer',
|
|
45
46
|
SELLER: 'seller',
|
|
46
47
|
AI: 'ai',
|
|
@@ -49,7 +50,7 @@ exports.IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOf
|
|
|
49
50
|
/**
|
|
50
51
|
* @export
|
|
51
52
|
*/
|
|
52
|
-
exports.
|
|
53
|
+
exports.ManualLeadDetailsLastOfferTypeEnum = {
|
|
53
54
|
LEAD: 'lead',
|
|
54
55
|
LEASE_TO_OWN: 'lease_to_own',
|
|
55
56
|
RENT: 'rent',
|
|
@@ -58,16 +59,16 @@ exports.IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOf
|
|
|
58
59
|
/**
|
|
59
60
|
* @export
|
|
60
61
|
*/
|
|
61
|
-
exports.
|
|
62
|
+
exports.ManualLeadDetailsManualTypeEnum = {
|
|
62
63
|
BUY_NOW: 'buy_now',
|
|
63
64
|
OFFER: 'offer',
|
|
64
65
|
LEASE_TO_OWN: 'lease_to_own',
|
|
65
66
|
RENT: 'rent'
|
|
66
67
|
};
|
|
67
68
|
/**
|
|
68
|
-
* Check if a given object implements the
|
|
69
|
+
* Check if a given object implements the ManualLeadDetails interface.
|
|
69
70
|
*/
|
|
70
|
-
function
|
|
71
|
+
function instanceOfManualLeadDetails(value) {
|
|
71
72
|
if (!('id' in value) || value['id'] === undefined)
|
|
72
73
|
return false;
|
|
73
74
|
if (!('status' in value) || value['status'] === undefined)
|
|
@@ -116,12 +117,14 @@ function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetai
|
|
|
116
117
|
return false;
|
|
117
118
|
if (!('buyer' in value) || value['buyer'] === undefined)
|
|
118
119
|
return false;
|
|
120
|
+
if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined)
|
|
121
|
+
return false;
|
|
119
122
|
return true;
|
|
120
123
|
}
|
|
121
|
-
function
|
|
122
|
-
return
|
|
124
|
+
function ManualLeadDetailsFromJSON(json) {
|
|
125
|
+
return ManualLeadDetailsFromJSONTyped(json, false);
|
|
123
126
|
}
|
|
124
|
-
function
|
|
127
|
+
function ManualLeadDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
125
128
|
if (json == null) {
|
|
126
129
|
return json;
|
|
127
130
|
}
|
|
@@ -150,12 +153,13 @@ function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoFromJ
|
|
|
150
153
|
'canBeClosedBySeller': json['canBeClosedBySeller'],
|
|
151
154
|
'acceptedAt': (json['acceptedAt'] == null ? null : new Date(json['acceptedAt'])),
|
|
152
155
|
'buyer': (0, ManualLeadBuyerDto_1.ManualLeadBuyerDtoFromJSON)(json['buyer']),
|
|
156
|
+
'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoFromJSON)(json['domainLockConfiguration']),
|
|
153
157
|
};
|
|
154
158
|
}
|
|
155
|
-
function
|
|
156
|
-
return
|
|
159
|
+
function ManualLeadDetailsToJSON(json) {
|
|
160
|
+
return ManualLeadDetailsToJSONTyped(json, false);
|
|
157
161
|
}
|
|
158
|
-
function
|
|
162
|
+
function ManualLeadDetailsToJSONTyped(value, ignoreDiscriminator) {
|
|
159
163
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
160
164
|
if (value == null) {
|
|
161
165
|
return value;
|
|
@@ -185,5 +189,6 @@ function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoToJSO
|
|
|
185
189
|
'canBeClosedBySeller': value['canBeClosedBySeller'],
|
|
186
190
|
'acceptedAt': (value['acceptedAt'] == null ? null : value['acceptedAt'].toISOString()),
|
|
187
191
|
'buyer': (0, ManualLeadBuyerDto_1.ManualLeadBuyerDtoToJSON)(value['buyer']),
|
|
192
|
+
'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoToJSON)(value['domainLockConfiguration']),
|
|
188
193
|
};
|
|
189
194
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -311,7 +311,6 @@ export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
|
|
|
311
311
|
export * from './IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto';
|
|
312
312
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
313
313
|
export * from './IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto';
|
|
314
|
-
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto';
|
|
315
314
|
export * from './IntersectionTaskListTaskDto';
|
|
316
315
|
export * from './IntersectionTaskListTaskDtoData';
|
|
317
316
|
export * from './InvoiceDomainDto';
|
|
@@ -421,6 +420,7 @@ export * from './LoginStatus';
|
|
|
421
420
|
export * from './MajesticMetrics';
|
|
422
421
|
export * from './MajesticTopicTrustFlow';
|
|
423
422
|
export * from './ManualLeadBuyerDto';
|
|
423
|
+
export * from './ManualLeadDetails';
|
|
424
424
|
export * from './ManualLeadLeaseToOwnDto';
|
|
425
425
|
export * from './MarketingDashboardStatsDto';
|
|
426
426
|
export * from './MarketingOrderListItemDto';
|
package/dist/models/index.js
CHANGED
|
@@ -329,7 +329,6 @@ __exportStar(require("./IntersectionAccountDtoWithSettingsDtoWithNotificationsDt
|
|
|
329
329
|
__exportStar(require("./IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto"), exports);
|
|
330
330
|
__exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
|
|
331
331
|
__exportStar(require("./IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto"), exports);
|
|
332
|
-
__exportStar(require("./IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto"), exports);
|
|
333
332
|
__exportStar(require("./IntersectionTaskListTaskDto"), exports);
|
|
334
333
|
__exportStar(require("./IntersectionTaskListTaskDtoData"), exports);
|
|
335
334
|
__exportStar(require("./InvoiceDomainDto"), exports);
|
|
@@ -439,6 +438,7 @@ __exportStar(require("./LoginStatus"), exports);
|
|
|
439
438
|
__exportStar(require("./MajesticMetrics"), exports);
|
|
440
439
|
__exportStar(require("./MajesticTopicTrustFlow"), exports);
|
|
441
440
|
__exportStar(require("./ManualLeadBuyerDto"), exports);
|
|
441
|
+
__exportStar(require("./ManualLeadDetails"), exports);
|
|
442
442
|
__exportStar(require("./ManualLeadLeaseToOwnDto"), exports);
|
|
443
443
|
__exportStar(require("./MarketingDashboardStatsDto"), exports);
|
|
444
444
|
__exportStar(require("./MarketingOrderListItemDto"), exports);
|
package/package.json
CHANGED
package/src/apis/LeadsApi.ts
CHANGED
|
@@ -19,7 +19,6 @@ import type {
|
|
|
19
19
|
BatchReadSellerLeadMessageInput,
|
|
20
20
|
CreateLeadMessageInput,
|
|
21
21
|
CreateManualLeadInput,
|
|
22
|
-
IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto,
|
|
23
22
|
LeadEnrichmentDto,
|
|
24
23
|
LeadLeaseToOwnAndRentConfigurationPresetsDto,
|
|
25
24
|
LeadOfferExpirationConfigurationInput,
|
|
@@ -28,6 +27,7 @@ import type {
|
|
|
28
27
|
ListAdminRelatedLeads200Response,
|
|
29
28
|
ListLeadMessagesDto,
|
|
30
29
|
LockConfigurationInput,
|
|
30
|
+
ManualLeadDetails,
|
|
31
31
|
ObjectId,
|
|
32
32
|
PutLeadOfferInput,
|
|
33
33
|
SellerLeadDetails,
|
|
@@ -43,8 +43,6 @@ import {
|
|
|
43
43
|
CreateLeadMessageInputToJSON,
|
|
44
44
|
CreateManualLeadInputFromJSON,
|
|
45
45
|
CreateManualLeadInputToJSON,
|
|
46
|
-
IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoFromJSON,
|
|
47
|
-
IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoToJSON,
|
|
48
46
|
LeadEnrichmentDtoFromJSON,
|
|
49
47
|
LeadEnrichmentDtoToJSON,
|
|
50
48
|
LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSON,
|
|
@@ -61,6 +59,8 @@ import {
|
|
|
61
59
|
ListLeadMessagesDtoToJSON,
|
|
62
60
|
LockConfigurationInputFromJSON,
|
|
63
61
|
LockConfigurationInputToJSON,
|
|
62
|
+
ManualLeadDetailsFromJSON,
|
|
63
|
+
ManualLeadDetailsToJSON,
|
|
64
64
|
ObjectIdFromJSON,
|
|
65
65
|
ObjectIdToJSON,
|
|
66
66
|
PutLeadOfferInputFromJSON,
|
|
@@ -660,7 +660,7 @@ export class LeadsApi extends runtime.BaseAPI {
|
|
|
660
660
|
* Returns manual lead information. Requires account ownership. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
661
661
|
* Get manual lead details
|
|
662
662
|
*/
|
|
663
|
-
async getManualLeadRaw(requestParameters: LeadsApiGetManualLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<
|
|
663
|
+
async getManualLeadRaw(requestParameters: LeadsApiGetManualLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ManualLeadDetails>> {
|
|
664
664
|
if (requestParameters['leadId'] == null) {
|
|
665
665
|
throw new runtime.RequiredError(
|
|
666
666
|
'leadId',
|
|
@@ -691,14 +691,14 @@ export class LeadsApi extends runtime.BaseAPI {
|
|
|
691
691
|
query: queryParameters,
|
|
692
692
|
}, initOverrides);
|
|
693
693
|
|
|
694
|
-
return new runtime.JSONApiResponse(response, (jsonValue) =>
|
|
694
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ManualLeadDetailsFromJSON(jsonValue));
|
|
695
695
|
}
|
|
696
696
|
|
|
697
697
|
/**
|
|
698
698
|
* Returns manual lead information. Requires account ownership. **API key scope required:** `LEADS_READ`. Requests authenticated with a seller session do not need any scope.
|
|
699
699
|
* Get manual lead details
|
|
700
700
|
*/
|
|
701
|
-
async getManualLead(requestParameters: LeadsApiGetManualLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<
|
|
701
|
+
async getManualLead(requestParameters: LeadsApiGetManualLeadRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ManualLeadDetails> {
|
|
702
702
|
const response = await this.getManualLeadRaw(requestParameters, initOverrides);
|
|
703
703
|
return await response.value();
|
|
704
704
|
}
|
|
@@ -189,6 +189,12 @@ export interface DomainSalesInformationDto {
|
|
|
189
189
|
* @memberof DomainSalesInformationDto
|
|
190
190
|
*/
|
|
191
191
|
customCss: string | null;
|
|
192
|
+
/**
|
|
193
|
+
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
194
|
+
* @type {boolean}
|
|
195
|
+
* @memberof DomainSalesInformationDto
|
|
196
|
+
*/
|
|
197
|
+
dutchPriceFormat: boolean;
|
|
192
198
|
}
|
|
193
199
|
|
|
194
200
|
/**
|
|
@@ -215,6 +221,7 @@ export function instanceOfDomainSalesInformationDto(value: object): value is Dom
|
|
|
215
221
|
if (!('domainAppraisalRequestEnabled' in value) || value['domainAppraisalRequestEnabled'] === undefined) return false;
|
|
216
222
|
if (!('landingPageDesign' in value) || value['landingPageDesign'] === undefined) return false;
|
|
217
223
|
if (!('customCss' in value) || value['customCss'] === undefined) return false;
|
|
224
|
+
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined) return false;
|
|
218
225
|
return true;
|
|
219
226
|
}
|
|
220
227
|
|
|
@@ -248,6 +255,7 @@ export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
248
255
|
'domainAppraisalRequestEnabled': json['domainAppraisalRequestEnabled'],
|
|
249
256
|
'landingPageDesign': DomainSalesInformationDtoLandingPageDesignFromJSON(json['landingPageDesign']),
|
|
250
257
|
'customCss': json['customCss'],
|
|
258
|
+
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
251
259
|
};
|
|
252
260
|
}
|
|
253
261
|
|
|
@@ -282,6 +290,7 @@ export function DomainSalesInformationDtoToJSONTyped(value?: DomainSalesInformat
|
|
|
282
290
|
'domainAppraisalRequestEnabled': value['domainAppraisalRequestEnabled'],
|
|
283
291
|
'landingPageDesign': DomainSalesInformationDtoLandingPageDesignToJSON(value['landingPageDesign']),
|
|
284
292
|
'customCss': value['customCss'],
|
|
293
|
+
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
285
294
|
};
|
|
286
295
|
}
|
|
287
296
|
|
|
@@ -87,6 +87,12 @@ export interface LandingPageInput {
|
|
|
87
87
|
* @memberof LandingPageInput
|
|
88
88
|
*/
|
|
89
89
|
localeRedirect?: LandingPageInputLocaleRedirectEnum | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof LandingPageInput
|
|
94
|
+
*/
|
|
95
|
+
dutchPriceFormat?: boolean | null;
|
|
90
96
|
}
|
|
91
97
|
|
|
92
98
|
|
|
@@ -169,6 +175,7 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
169
175
|
'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'] == null ? undefined : json['domainNameUppercaseThreshold'],
|
|
170
176
|
'domainNameTldCase': json['domainNameTldCase'] == null ? undefined : json['domainNameTldCase'],
|
|
171
177
|
'localeRedirect': json['localeRedirect'] == null ? undefined : json['localeRedirect'],
|
|
178
|
+
'dutchPriceFormat': json['dutchPriceFormat'] == null ? undefined : json['dutchPriceFormat'],
|
|
172
179
|
};
|
|
173
180
|
}
|
|
174
181
|
|
|
@@ -193,6 +200,7 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
|
|
|
193
200
|
'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
|
|
194
201
|
'domainNameTldCase': value['domainNameTldCase'],
|
|
195
202
|
'localeRedirect': value['localeRedirect'],
|
|
203
|
+
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
196
204
|
};
|
|
197
205
|
}
|
|
198
206
|
|
|
@@ -87,6 +87,12 @@ export interface LandingPageSettingsDto {
|
|
|
87
87
|
* @memberof LandingPageSettingsDto
|
|
88
88
|
*/
|
|
89
89
|
localeRedirect: LandingPageSettingsDtoLocaleRedirectEnum | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof LandingPageSettingsDto
|
|
94
|
+
*/
|
|
95
|
+
dutchPriceFormat: boolean | null;
|
|
90
96
|
}
|
|
91
97
|
|
|
92
98
|
|
|
@@ -156,6 +162,7 @@ export function instanceOfLandingPageSettingsDto(value: object): value is Landin
|
|
|
156
162
|
if (!('domainNameUppercaseThreshold' in value) || value['domainNameUppercaseThreshold'] === undefined) return false;
|
|
157
163
|
if (!('domainNameTldCase' in value) || value['domainNameTldCase'] === undefined) return false;
|
|
158
164
|
if (!('localeRedirect' in value) || value['localeRedirect'] === undefined) return false;
|
|
165
|
+
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined) return false;
|
|
159
166
|
return true;
|
|
160
167
|
}
|
|
161
168
|
|
|
@@ -179,6 +186,7 @@ export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
179
186
|
'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'],
|
|
180
187
|
'domainNameTldCase': json['domainNameTldCase'],
|
|
181
188
|
'localeRedirect': json['localeRedirect'],
|
|
189
|
+
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
182
190
|
};
|
|
183
191
|
}
|
|
184
192
|
|
|
@@ -203,6 +211,7 @@ export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto
|
|
|
203
211
|
'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
|
|
204
212
|
'domainNameTldCase': value['domainNameTldCase'],
|
|
205
213
|
'localeRedirect': value['localeRedirect'],
|
|
214
|
+
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
206
215
|
};
|
|
207
216
|
}
|
|
208
217
|
|
|
@@ -55,6 +55,13 @@ import {
|
|
|
55
55
|
LeadOfferExpirationConfigurationDtoToJSON,
|
|
56
56
|
LeadOfferExpirationConfigurationDtoToJSONTyped,
|
|
57
57
|
} from './LeadOfferExpirationConfigurationDto';
|
|
58
|
+
import type { DomainLockConfigurationDto } from './DomainLockConfigurationDto';
|
|
59
|
+
import {
|
|
60
|
+
DomainLockConfigurationDtoFromJSON,
|
|
61
|
+
DomainLockConfigurationDtoFromJSONTyped,
|
|
62
|
+
DomainLockConfigurationDtoToJSON,
|
|
63
|
+
DomainLockConfigurationDtoToJSONTyped,
|
|
64
|
+
} from './DomainLockConfigurationDto';
|
|
58
65
|
import type { LeadOfferDto } from './LeadOfferDto';
|
|
59
66
|
import {
|
|
60
67
|
LeadOfferDtoFromJSON,
|
|
@@ -66,160 +73,166 @@ import {
|
|
|
66
73
|
/**
|
|
67
74
|
*
|
|
68
75
|
* @export
|
|
69
|
-
* @interface
|
|
76
|
+
* @interface ManualLeadDetails
|
|
70
77
|
*/
|
|
71
|
-
export interface
|
|
78
|
+
export interface ManualLeadDetails {
|
|
72
79
|
/**
|
|
73
80
|
* The lead id
|
|
74
81
|
* @type {string}
|
|
75
|
-
* @memberof
|
|
82
|
+
* @memberof ManualLeadDetails
|
|
76
83
|
*/
|
|
77
84
|
id: string;
|
|
78
85
|
/**
|
|
79
86
|
* The current lead status
|
|
80
87
|
* @type {string}
|
|
81
|
-
* @memberof
|
|
88
|
+
* @memberof ManualLeadDetails
|
|
82
89
|
*/
|
|
83
|
-
status:
|
|
90
|
+
status: ManualLeadDetailsStatusEnum;
|
|
84
91
|
/**
|
|
85
92
|
* Whether the lead is archived for the current viewer.
|
|
86
93
|
* @type {boolean}
|
|
87
|
-
* @memberof
|
|
94
|
+
* @memberof ManualLeadDetails
|
|
88
95
|
*/
|
|
89
96
|
archived: boolean;
|
|
90
97
|
/**
|
|
91
98
|
* The lead last offer amount
|
|
92
99
|
* @type {MoneyDto}
|
|
93
|
-
* @memberof
|
|
100
|
+
* @memberof ManualLeadDetails
|
|
94
101
|
*/
|
|
95
102
|
lastOffer: MoneyDto | null;
|
|
96
103
|
/**
|
|
97
104
|
* Origin of the party who made the last offer.
|
|
98
105
|
* @type {string}
|
|
99
|
-
* @memberof
|
|
106
|
+
* @memberof ManualLeadDetails
|
|
100
107
|
*/
|
|
101
|
-
lastOfferBy:
|
|
108
|
+
lastOfferBy: ManualLeadDetailsLastOfferByEnum | null;
|
|
102
109
|
/**
|
|
103
110
|
* Type of the last offer on the lead.
|
|
104
111
|
* @type {string}
|
|
105
|
-
* @memberof
|
|
112
|
+
* @memberof ManualLeadDetails
|
|
106
113
|
*/
|
|
107
|
-
lastOfferType:
|
|
114
|
+
lastOfferType: ManualLeadDetailsLastOfferTypeEnum | null;
|
|
108
115
|
/**
|
|
109
116
|
* Date and time when the lead was created.
|
|
110
117
|
* @type {Date}
|
|
111
|
-
* @memberof
|
|
118
|
+
* @memberof ManualLeadDetails
|
|
112
119
|
*/
|
|
113
120
|
createdAt: Date;
|
|
114
121
|
/**
|
|
115
122
|
* Date and time when the lead was last updated.
|
|
116
123
|
* @type {Date}
|
|
117
|
-
* @memberof
|
|
124
|
+
* @memberof ManualLeadDetails
|
|
118
125
|
*/
|
|
119
126
|
updatedAt: Date;
|
|
120
127
|
/**
|
|
121
128
|
* Domain information with account and auction details.
|
|
122
129
|
* @type {IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto}
|
|
123
|
-
* @memberof
|
|
130
|
+
* @memberof ManualLeadDetails
|
|
124
131
|
*/
|
|
125
132
|
domain: IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto;
|
|
126
133
|
/**
|
|
127
134
|
* Number of unread messages for the buyer.
|
|
128
135
|
* @type {number}
|
|
129
|
-
* @memberof
|
|
136
|
+
* @memberof ManualLeadDetails
|
|
130
137
|
*/
|
|
131
138
|
unreadBuyerMessagesNumber: number;
|
|
132
139
|
/**
|
|
133
140
|
* Number of unread messages for the seller.
|
|
134
141
|
* @type {number}
|
|
135
|
-
* @memberof
|
|
142
|
+
* @memberof ManualLeadDetails
|
|
136
143
|
*/
|
|
137
144
|
unreadSellerMessagesNumber: number;
|
|
138
145
|
/**
|
|
139
146
|
* Maximum number of consecutive messages one side can send before waiting for a reply.
|
|
140
147
|
* @type {number}
|
|
141
|
-
* @memberof
|
|
148
|
+
* @memberof ManualLeadDetails
|
|
142
149
|
*/
|
|
143
150
|
messagesInRowLimit: number;
|
|
144
151
|
/**
|
|
145
152
|
* URL for completing order payment, if available.
|
|
146
153
|
* @type {string}
|
|
147
|
-
* @memberof
|
|
154
|
+
* @memberof ManualLeadDetails
|
|
148
155
|
*/
|
|
149
156
|
orderPaymentUrl: string | null;
|
|
150
157
|
/**
|
|
151
158
|
* Whether the price negotiator AI agent is paused for this lead.
|
|
152
159
|
* @type {boolean}
|
|
153
|
-
* @memberof
|
|
160
|
+
* @memberof ManualLeadDetails
|
|
154
161
|
*/
|
|
155
162
|
isPriceNegotiatorAgentPaused: boolean;
|
|
156
163
|
/**
|
|
157
164
|
* Manual lead type, if the lead was created manually.
|
|
158
165
|
* @type {string}
|
|
159
|
-
* @memberof
|
|
166
|
+
* @memberof ManualLeadDetails
|
|
160
167
|
*/
|
|
161
|
-
manualType:
|
|
168
|
+
manualType: ManualLeadDetailsManualTypeEnum | null;
|
|
162
169
|
/**
|
|
163
170
|
* Whether the lead is muted for the buyer.
|
|
164
171
|
* @type {boolean}
|
|
165
|
-
* @memberof
|
|
172
|
+
* @memberof ManualLeadDetails
|
|
166
173
|
*/
|
|
167
174
|
isMutedForBuyer: boolean;
|
|
168
175
|
/**
|
|
169
176
|
* Lease-to-own configuration for the manual lead, if applicable.
|
|
170
177
|
* @type {ManualLeadLeaseToOwnDto}
|
|
171
|
-
* @memberof
|
|
178
|
+
* @memberof ManualLeadDetails
|
|
172
179
|
*/
|
|
173
180
|
leaseToOwn: ManualLeadLeaseToOwnDto | null;
|
|
174
181
|
/**
|
|
175
182
|
* Rent configuration defaults for the lead.
|
|
176
183
|
* @type {LeadRentConfigurationDto}
|
|
177
|
-
* @memberof
|
|
184
|
+
* @memberof ManualLeadDetails
|
|
178
185
|
*/
|
|
179
186
|
rent: LeadRentConfigurationDto;
|
|
180
187
|
/**
|
|
181
188
|
* Last offer made by the buyer on the lead.
|
|
182
189
|
* @type {LeadOfferDto}
|
|
183
|
-
* @memberof
|
|
190
|
+
* @memberof ManualLeadDetails
|
|
184
191
|
*/
|
|
185
192
|
lastBuyerOffer: LeadOfferDto | null;
|
|
186
193
|
/**
|
|
187
194
|
* Last offer made by the seller on the lead.
|
|
188
195
|
* @type {LeadOfferDto}
|
|
189
|
-
* @memberof
|
|
196
|
+
* @memberof ManualLeadDetails
|
|
190
197
|
*/
|
|
191
198
|
lastSellerOffer: LeadOfferDto | null;
|
|
192
199
|
/**
|
|
193
200
|
* Offer expiration configuration for the lead.
|
|
194
201
|
* @type {LeadOfferExpirationConfigurationDto}
|
|
195
|
-
* @memberof
|
|
202
|
+
* @memberof ManualLeadDetails
|
|
196
203
|
*/
|
|
197
204
|
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
198
205
|
/**
|
|
199
206
|
* Whether the seller can close the lead now. An accepted lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed.
|
|
200
207
|
* @type {boolean}
|
|
201
|
-
* @memberof
|
|
208
|
+
* @memberof ManualLeadDetails
|
|
202
209
|
*/
|
|
203
210
|
canBeClosedBySeller: boolean;
|
|
204
211
|
/**
|
|
205
212
|
* Date and time when the lead was accepted, if applicable.
|
|
206
213
|
* @type {Date}
|
|
207
|
-
* @memberof
|
|
214
|
+
* @memberof ManualLeadDetails
|
|
208
215
|
*/
|
|
209
216
|
acceptedAt: Date | null;
|
|
210
217
|
/**
|
|
211
218
|
* Buyer details for the manually created lead.
|
|
212
219
|
* @type {ManualLeadBuyerDto}
|
|
213
|
-
* @memberof
|
|
220
|
+
* @memberof ManualLeadDetails
|
|
214
221
|
*/
|
|
215
222
|
buyer: ManualLeadBuyerDto;
|
|
223
|
+
/**
|
|
224
|
+
* Domain lock configuration for the lead domain.
|
|
225
|
+
* @type {DomainLockConfigurationDto}
|
|
226
|
+
* @memberof ManualLeadDetails
|
|
227
|
+
*/
|
|
228
|
+
domainLockConfiguration: DomainLockConfigurationDto;
|
|
216
229
|
}
|
|
217
230
|
|
|
218
231
|
|
|
219
232
|
/**
|
|
220
233
|
* @export
|
|
221
234
|
*/
|
|
222
|
-
export const
|
|
235
|
+
export const ManualLeadDetailsStatusEnum = {
|
|
223
236
|
DRAFT: 'draft',
|
|
224
237
|
UNVERIFIED: 'unverified',
|
|
225
238
|
ACTIVE: 'active',
|
|
@@ -227,46 +240,46 @@ export const IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoS
|
|
|
227
240
|
FINISHED: 'finished',
|
|
228
241
|
CLOSED: 'closed'
|
|
229
242
|
} as const;
|
|
230
|
-
export type
|
|
243
|
+
export type ManualLeadDetailsStatusEnum = typeof ManualLeadDetailsStatusEnum[keyof typeof ManualLeadDetailsStatusEnum];
|
|
231
244
|
|
|
232
245
|
/**
|
|
233
246
|
* @export
|
|
234
247
|
*/
|
|
235
|
-
export const
|
|
248
|
+
export const ManualLeadDetailsLastOfferByEnum = {
|
|
236
249
|
BUYER: 'buyer',
|
|
237
250
|
SELLER: 'seller',
|
|
238
251
|
AI: 'ai',
|
|
239
252
|
ADMIN: 'admin'
|
|
240
253
|
} as const;
|
|
241
|
-
export type
|
|
254
|
+
export type ManualLeadDetailsLastOfferByEnum = typeof ManualLeadDetailsLastOfferByEnum[keyof typeof ManualLeadDetailsLastOfferByEnum];
|
|
242
255
|
|
|
243
256
|
/**
|
|
244
257
|
* @export
|
|
245
258
|
*/
|
|
246
|
-
export const
|
|
259
|
+
export const ManualLeadDetailsLastOfferTypeEnum = {
|
|
247
260
|
LEAD: 'lead',
|
|
248
261
|
LEASE_TO_OWN: 'lease_to_own',
|
|
249
262
|
RENT: 'rent',
|
|
250
263
|
AUCTION: 'auction'
|
|
251
264
|
} as const;
|
|
252
|
-
export type
|
|
265
|
+
export type ManualLeadDetailsLastOfferTypeEnum = typeof ManualLeadDetailsLastOfferTypeEnum[keyof typeof ManualLeadDetailsLastOfferTypeEnum];
|
|
253
266
|
|
|
254
267
|
/**
|
|
255
268
|
* @export
|
|
256
269
|
*/
|
|
257
|
-
export const
|
|
270
|
+
export const ManualLeadDetailsManualTypeEnum = {
|
|
258
271
|
BUY_NOW: 'buy_now',
|
|
259
272
|
OFFER: 'offer',
|
|
260
273
|
LEASE_TO_OWN: 'lease_to_own',
|
|
261
274
|
RENT: 'rent'
|
|
262
275
|
} as const;
|
|
263
|
-
export type
|
|
276
|
+
export type ManualLeadDetailsManualTypeEnum = typeof ManualLeadDetailsManualTypeEnum[keyof typeof ManualLeadDetailsManualTypeEnum];
|
|
264
277
|
|
|
265
278
|
|
|
266
279
|
/**
|
|
267
|
-
* Check if a given object implements the
|
|
280
|
+
* Check if a given object implements the ManualLeadDetails interface.
|
|
268
281
|
*/
|
|
269
|
-
export function
|
|
282
|
+
export function instanceOfManualLeadDetails(value: object): value is ManualLeadDetails {
|
|
270
283
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
271
284
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
272
285
|
if (!('archived' in value) || value['archived'] === undefined) return false;
|
|
@@ -291,14 +304,15 @@ export function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuy
|
|
|
291
304
|
if (!('canBeClosedBySeller' in value) || value['canBeClosedBySeller'] === undefined) return false;
|
|
292
305
|
if (!('acceptedAt' in value) || value['acceptedAt'] === undefined) return false;
|
|
293
306
|
if (!('buyer' in value) || value['buyer'] === undefined) return false;
|
|
307
|
+
if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined) return false;
|
|
294
308
|
return true;
|
|
295
309
|
}
|
|
296
310
|
|
|
297
|
-
export function
|
|
298
|
-
return
|
|
311
|
+
export function ManualLeadDetailsFromJSON(json: any): ManualLeadDetails {
|
|
312
|
+
return ManualLeadDetailsFromJSONTyped(json, false);
|
|
299
313
|
}
|
|
300
314
|
|
|
301
|
-
export function
|
|
315
|
+
export function ManualLeadDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManualLeadDetails {
|
|
302
316
|
if (json == null) {
|
|
303
317
|
return json;
|
|
304
318
|
}
|
|
@@ -328,14 +342,15 @@ export function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsD
|
|
|
328
342
|
'canBeClosedBySeller': json['canBeClosedBySeller'],
|
|
329
343
|
'acceptedAt': (json['acceptedAt'] == null ? null : new Date(json['acceptedAt'])),
|
|
330
344
|
'buyer': ManualLeadBuyerDtoFromJSON(json['buyer']),
|
|
345
|
+
'domainLockConfiguration': DomainLockConfigurationDtoFromJSON(json['domainLockConfiguration']),
|
|
331
346
|
};
|
|
332
347
|
}
|
|
333
348
|
|
|
334
|
-
export function
|
|
335
|
-
return
|
|
349
|
+
export function ManualLeadDetailsToJSON(json: any): ManualLeadDetails {
|
|
350
|
+
return ManualLeadDetailsToJSONTyped(json, false);
|
|
336
351
|
}
|
|
337
352
|
|
|
338
|
-
export function
|
|
353
|
+
export function ManualLeadDetailsToJSONTyped(value?: ManualLeadDetails | null, ignoreDiscriminator: boolean = false): any {
|
|
339
354
|
if (value == null) {
|
|
340
355
|
return value;
|
|
341
356
|
}
|
|
@@ -366,6 +381,7 @@ export function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsD
|
|
|
366
381
|
'canBeClosedBySeller': value['canBeClosedBySeller'],
|
|
367
382
|
'acceptedAt': (value['acceptedAt'] == null ? null : (value['acceptedAt'] as any).toISOString()),
|
|
368
383
|
'buyer': ManualLeadBuyerDtoToJSON(value['buyer']),
|
|
384
|
+
'domainLockConfiguration': DomainLockConfigurationDtoToJSON(value['domainLockConfiguration']),
|
|
369
385
|
};
|
|
370
386
|
}
|
|
371
387
|
|
package/src/models/index.ts
CHANGED
|
@@ -313,7 +313,6 @@ export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
|
|
|
313
313
|
export * from './IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto';
|
|
314
314
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
315
315
|
export * from './IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto';
|
|
316
|
-
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto';
|
|
317
316
|
export * from './IntersectionTaskListTaskDto';
|
|
318
317
|
export * from './IntersectionTaskListTaskDtoData';
|
|
319
318
|
export * from './InvoiceDomainDto';
|
|
@@ -423,6 +422,7 @@ export * from './LoginStatus';
|
|
|
423
422
|
export * from './MajesticMetrics';
|
|
424
423
|
export * from './MajesticTopicTrustFlow';
|
|
425
424
|
export * from './ManualLeadBuyerDto';
|
|
425
|
+
export * from './ManualLeadDetails';
|
|
426
426
|
export * from './ManualLeadLeaseToOwnDto';
|
|
427
427
|
export * from './MarketingDashboardStatsDto';
|
|
428
428
|
export * from './MarketingOrderListItemDto';
|
|
@@ -1,219 +0,0 @@
|
|
|
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 { ManualLeadBuyerDto } from './ManualLeadBuyerDto';
|
|
13
|
-
import type { ManualLeadLeaseToOwnDto } from './ManualLeadLeaseToOwnDto';
|
|
14
|
-
import type { MoneyDto } from './MoneyDto';
|
|
15
|
-
import type { IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto } from './IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto';
|
|
16
|
-
import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
|
|
17
|
-
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
18
|
-
import type { LeadOfferDto } from './LeadOfferDto';
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
* @interface IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
23
|
-
*/
|
|
24
|
-
export interface IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto {
|
|
25
|
-
/**
|
|
26
|
-
* The lead id
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
29
|
-
*/
|
|
30
|
-
id: string;
|
|
31
|
-
/**
|
|
32
|
-
* The current lead status
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
35
|
-
*/
|
|
36
|
-
status: IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoStatusEnum;
|
|
37
|
-
/**
|
|
38
|
-
* Whether the lead is archived for the current viewer.
|
|
39
|
-
* @type {boolean}
|
|
40
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
41
|
-
*/
|
|
42
|
-
archived: boolean;
|
|
43
|
-
/**
|
|
44
|
-
* The lead last offer amount
|
|
45
|
-
* @type {MoneyDto}
|
|
46
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
47
|
-
*/
|
|
48
|
-
lastOffer: MoneyDto | null;
|
|
49
|
-
/**
|
|
50
|
-
* Origin of the party who made the last offer.
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
53
|
-
*/
|
|
54
|
-
lastOfferBy: IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferByEnum | null;
|
|
55
|
-
/**
|
|
56
|
-
* Type of the last offer on the lead.
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
59
|
-
*/
|
|
60
|
-
lastOfferType: IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum | null;
|
|
61
|
-
/**
|
|
62
|
-
* Date and time when the lead was created.
|
|
63
|
-
* @type {Date}
|
|
64
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
65
|
-
*/
|
|
66
|
-
createdAt: Date;
|
|
67
|
-
/**
|
|
68
|
-
* Date and time when the lead was last updated.
|
|
69
|
-
* @type {Date}
|
|
70
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
71
|
-
*/
|
|
72
|
-
updatedAt: Date;
|
|
73
|
-
/**
|
|
74
|
-
* Domain information with account and auction details.
|
|
75
|
-
* @type {IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto}
|
|
76
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
77
|
-
*/
|
|
78
|
-
domain: IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto;
|
|
79
|
-
/**
|
|
80
|
-
* Number of unread messages for the buyer.
|
|
81
|
-
* @type {number}
|
|
82
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
83
|
-
*/
|
|
84
|
-
unreadBuyerMessagesNumber: number;
|
|
85
|
-
/**
|
|
86
|
-
* Number of unread messages for the seller.
|
|
87
|
-
* @type {number}
|
|
88
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
89
|
-
*/
|
|
90
|
-
unreadSellerMessagesNumber: number;
|
|
91
|
-
/**
|
|
92
|
-
* Maximum number of consecutive messages one side can send before waiting for a reply.
|
|
93
|
-
* @type {number}
|
|
94
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
95
|
-
*/
|
|
96
|
-
messagesInRowLimit: number;
|
|
97
|
-
/**
|
|
98
|
-
* URL for completing order payment, if available.
|
|
99
|
-
* @type {string}
|
|
100
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
101
|
-
*/
|
|
102
|
-
orderPaymentUrl: string | null;
|
|
103
|
-
/**
|
|
104
|
-
* Whether the price negotiator AI agent is paused for this lead.
|
|
105
|
-
* @type {boolean}
|
|
106
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
107
|
-
*/
|
|
108
|
-
isPriceNegotiatorAgentPaused: boolean;
|
|
109
|
-
/**
|
|
110
|
-
* Manual lead type, if the lead was created manually.
|
|
111
|
-
* @type {string}
|
|
112
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
113
|
-
*/
|
|
114
|
-
manualType: IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoManualTypeEnum | null;
|
|
115
|
-
/**
|
|
116
|
-
* Whether the lead is muted for the buyer.
|
|
117
|
-
* @type {boolean}
|
|
118
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
119
|
-
*/
|
|
120
|
-
isMutedForBuyer: boolean;
|
|
121
|
-
/**
|
|
122
|
-
* Lease-to-own configuration for the manual lead, if applicable.
|
|
123
|
-
* @type {ManualLeadLeaseToOwnDto}
|
|
124
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
125
|
-
*/
|
|
126
|
-
leaseToOwn: ManualLeadLeaseToOwnDto | null;
|
|
127
|
-
/**
|
|
128
|
-
* Rent configuration defaults for the lead.
|
|
129
|
-
* @type {LeadRentConfigurationDto}
|
|
130
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
131
|
-
*/
|
|
132
|
-
rent: LeadRentConfigurationDto;
|
|
133
|
-
/**
|
|
134
|
-
* Last offer made by the buyer on the lead.
|
|
135
|
-
* @type {LeadOfferDto}
|
|
136
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
137
|
-
*/
|
|
138
|
-
lastBuyerOffer: LeadOfferDto | null;
|
|
139
|
-
/**
|
|
140
|
-
* Last offer made by the seller on the lead.
|
|
141
|
-
* @type {LeadOfferDto}
|
|
142
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
143
|
-
*/
|
|
144
|
-
lastSellerOffer: LeadOfferDto | null;
|
|
145
|
-
/**
|
|
146
|
-
* Offer expiration configuration for the lead.
|
|
147
|
-
* @type {LeadOfferExpirationConfigurationDto}
|
|
148
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
149
|
-
*/
|
|
150
|
-
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
151
|
-
/**
|
|
152
|
-
* Whether the seller can close the lead now. An accepted lead can be closed once its payment link has expired or a month after it was accepted, and a manual lead whose payment link the buyer never used at any time; never while the buyer has paid or a payment is being processed.
|
|
153
|
-
* @type {boolean}
|
|
154
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
155
|
-
*/
|
|
156
|
-
canBeClosedBySeller: boolean;
|
|
157
|
-
/**
|
|
158
|
-
* Date and time when the lead was accepted, if applicable.
|
|
159
|
-
* @type {Date}
|
|
160
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
161
|
-
*/
|
|
162
|
-
acceptedAt: Date | null;
|
|
163
|
-
/**
|
|
164
|
-
* Buyer details for the manually created lead.
|
|
165
|
-
* @type {ManualLeadBuyerDto}
|
|
166
|
-
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
167
|
-
*/
|
|
168
|
-
buyer: ManualLeadBuyerDto;
|
|
169
|
-
}
|
|
170
|
-
/**
|
|
171
|
-
* @export
|
|
172
|
-
*/
|
|
173
|
-
export declare const IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoStatusEnum: {
|
|
174
|
-
readonly DRAFT: "draft";
|
|
175
|
-
readonly UNVERIFIED: "unverified";
|
|
176
|
-
readonly ACTIVE: "active";
|
|
177
|
-
readonly ACCEPTED: "accepted";
|
|
178
|
-
readonly FINISHED: "finished";
|
|
179
|
-
readonly CLOSED: "closed";
|
|
180
|
-
};
|
|
181
|
-
export type IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoStatusEnum = typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoStatusEnum[keyof typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoStatusEnum];
|
|
182
|
-
/**
|
|
183
|
-
* @export
|
|
184
|
-
*/
|
|
185
|
-
export declare const IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferByEnum: {
|
|
186
|
-
readonly BUYER: "buyer";
|
|
187
|
-
readonly SELLER: "seller";
|
|
188
|
-
readonly AI: "ai";
|
|
189
|
-
readonly ADMIN: "admin";
|
|
190
|
-
};
|
|
191
|
-
export type IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferByEnum = typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferByEnum[keyof typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferByEnum];
|
|
192
|
-
/**
|
|
193
|
-
* @export
|
|
194
|
-
*/
|
|
195
|
-
export declare const IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum: {
|
|
196
|
-
readonly LEAD: "lead";
|
|
197
|
-
readonly LEASE_TO_OWN: "lease_to_own";
|
|
198
|
-
readonly RENT: "rent";
|
|
199
|
-
readonly AUCTION: "auction";
|
|
200
|
-
};
|
|
201
|
-
export type IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum = typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum[keyof typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoLastOfferTypeEnum];
|
|
202
|
-
/**
|
|
203
|
-
* @export
|
|
204
|
-
*/
|
|
205
|
-
export declare const IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoManualTypeEnum: {
|
|
206
|
-
readonly BUY_NOW: "buy_now";
|
|
207
|
-
readonly OFFER: "offer";
|
|
208
|
-
readonly LEASE_TO_OWN: "lease_to_own";
|
|
209
|
-
readonly RENT: "rent";
|
|
210
|
-
};
|
|
211
|
-
export type IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoManualTypeEnum = typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoManualTypeEnum[keyof typeof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoManualTypeEnum];
|
|
212
|
-
/**
|
|
213
|
-
* Check if a given object implements the IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto interface.
|
|
214
|
-
*/
|
|
215
|
-
export declare function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto(value: object): value is IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto;
|
|
216
|
-
export declare function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoFromJSON(json: any): IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto;
|
|
217
|
-
export declare function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto;
|
|
218
|
-
export declare function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoToJSON(json: any): IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto;
|
|
219
|
-
export declare function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoToJSONTyped(value?: IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto | null, ignoreDiscriminator?: boolean): any;
|