@randock/nameshift-api-client 0.0.524 → 0.0.526
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +3 -1
- package/README.md +3 -3
- package/dist/apis/DomainAppraisalRequestsApi.d.ts +7 -0
- package/dist/apis/DomainAppraisalRequestsApi.js +21 -0
- package/dist/apis/LeadsApi.d.ts +3 -3
- package/dist/apis/LeadsApi.js +1 -1
- package/dist/models/DomainSalesInformationDto.d.ts +7 -0
- package/dist/models/DomainSalesInformationDto.js +5 -0
- package/dist/models/DomainSalesInformationFairPriceSealDto.d.ts +47 -0
- package/dist/models/DomainSalesInformationFairPriceSealDto.js +64 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.js +5 -0
- package/dist/models/LandingPageInput.d.ts +21 -0
- package/dist/models/LandingPageInput.js +13 -1
- package/dist/models/LandingPageSettingsDto.d.ts +21 -0
- package/dist/models/LandingPageSettingsDto.js +17 -1
- package/dist/models/LatestDomainAppraisalRequestDto.d.ts +51 -0
- package/dist/models/LatestDomainAppraisalRequestDto.js +64 -0
- package/dist/models/ManualLeadDetails.d.ts +226 -0
- package/dist/models/{IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js → ManualLeadDetails.js} +23 -18
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/package.json +1 -1
- package/src/apis/DomainAppraisalRequestsApi.ts +35 -0
- package/src/apis/LeadsApi.ts +6 -6
- package/src/models/DomainSalesInformationDto.ts +16 -0
- package/src/models/DomainSalesInformationFairPriceSealDto.ts +87 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto.ts +16 -0
- package/src/models/LandingPageInput.ts +26 -0
- package/src/models/LandingPageSettingsDto.ts +28 -0
- package/src/models/LatestDomainAppraisalRequestDto.ts +103 -0
- package/src/models/{IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts → ManualLeadDetails.ts} +62 -46
- package/src/models/index.ts +3 -1
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +0 -219
|
@@ -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
|
@@ -241,6 +241,7 @@ export * from './DomainOriginalLandingPageDesignDto';
|
|
|
241
241
|
export * from './DomainPricesChangeDto';
|
|
242
242
|
export * from './DomainSalesInformationDto';
|
|
243
243
|
export * from './DomainSalesInformationDtoLandingPageDesign';
|
|
244
|
+
export * from './DomainSalesInformationFairPriceSealDto';
|
|
244
245
|
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
245
246
|
export * from './DomainSalesInformationRentConfigurationDto';
|
|
246
247
|
export * from './DomainSearchTranslationDto';
|
|
@@ -311,7 +312,6 @@ export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
|
|
|
311
312
|
export * from './IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto';
|
|
312
313
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
313
314
|
export * from './IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto';
|
|
314
|
-
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto';
|
|
315
315
|
export * from './IntersectionTaskListTaskDto';
|
|
316
316
|
export * from './IntersectionTaskListTaskDtoData';
|
|
317
317
|
export * from './InvoiceDomainDto';
|
|
@@ -338,6 +338,7 @@ export * from './LandingPageModernDesignSettingsInput';
|
|
|
338
338
|
export * from './LandingPageOriginalDesignSettingsDto';
|
|
339
339
|
export * from './LandingPageOriginalDesignSettingsInput';
|
|
340
340
|
export * from './LandingPageSettingsDto';
|
|
341
|
+
export * from './LatestDomainAppraisalRequestDto';
|
|
341
342
|
export * from './LeadBuyerConfigDto';
|
|
342
343
|
export * from './LeadDomainDto';
|
|
343
344
|
export * from './LeadDto';
|
|
@@ -421,6 +422,7 @@ export * from './LoginStatus';
|
|
|
421
422
|
export * from './MajesticMetrics';
|
|
422
423
|
export * from './MajesticTopicTrustFlow';
|
|
423
424
|
export * from './ManualLeadBuyerDto';
|
|
425
|
+
export * from './ManualLeadDetails';
|
|
424
426
|
export * from './ManualLeadLeaseToOwnDto';
|
|
425
427
|
export * from './MarketingDashboardStatsDto';
|
|
426
428
|
export * from './MarketingOrderListItemDto';
|
package/dist/models/index.js
CHANGED
|
@@ -259,6 +259,7 @@ __exportStar(require("./DomainOriginalLandingPageDesignDto"), exports);
|
|
|
259
259
|
__exportStar(require("./DomainPricesChangeDto"), exports);
|
|
260
260
|
__exportStar(require("./DomainSalesInformationDto"), exports);
|
|
261
261
|
__exportStar(require("./DomainSalesInformationDtoLandingPageDesign"), exports);
|
|
262
|
+
__exportStar(require("./DomainSalesInformationFairPriceSealDto"), exports);
|
|
262
263
|
__exportStar(require("./DomainSalesInformationLeaseToOwnConfigurationDto"), exports);
|
|
263
264
|
__exportStar(require("./DomainSalesInformationRentConfigurationDto"), exports);
|
|
264
265
|
__exportStar(require("./DomainSearchTranslationDto"), exports);
|
|
@@ -329,7 +330,6 @@ __exportStar(require("./IntersectionAccountDtoWithSettingsDtoWithNotificationsDt
|
|
|
329
330
|
__exportStar(require("./IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto"), exports);
|
|
330
331
|
__exportStar(require("./IntersectionDomainDtoWithHijackerDtoWithAccountDto"), exports);
|
|
331
332
|
__exportStar(require("./IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto"), exports);
|
|
332
|
-
__exportStar(require("./IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto"), exports);
|
|
333
333
|
__exportStar(require("./IntersectionTaskListTaskDto"), exports);
|
|
334
334
|
__exportStar(require("./IntersectionTaskListTaskDtoData"), exports);
|
|
335
335
|
__exportStar(require("./InvoiceDomainDto"), exports);
|
|
@@ -356,6 +356,7 @@ __exportStar(require("./LandingPageModernDesignSettingsInput"), exports);
|
|
|
356
356
|
__exportStar(require("./LandingPageOriginalDesignSettingsDto"), exports);
|
|
357
357
|
__exportStar(require("./LandingPageOriginalDesignSettingsInput"), exports);
|
|
358
358
|
__exportStar(require("./LandingPageSettingsDto"), exports);
|
|
359
|
+
__exportStar(require("./LatestDomainAppraisalRequestDto"), exports);
|
|
359
360
|
__exportStar(require("./LeadBuyerConfigDto"), exports);
|
|
360
361
|
__exportStar(require("./LeadDomainDto"), exports);
|
|
361
362
|
__exportStar(require("./LeadDto"), exports);
|
|
@@ -439,6 +440,7 @@ __exportStar(require("./LoginStatus"), exports);
|
|
|
439
440
|
__exportStar(require("./MajesticMetrics"), exports);
|
|
440
441
|
__exportStar(require("./MajesticTopicTrustFlow"), exports);
|
|
441
442
|
__exportStar(require("./ManualLeadBuyerDto"), exports);
|
|
443
|
+
__exportStar(require("./ManualLeadDetails"), exports);
|
|
442
444
|
__exportStar(require("./ManualLeadLeaseToOwnDto"), exports);
|
|
443
445
|
__exportStar(require("./MarketingDashboardStatsDto"), exports);
|
|
444
446
|
__exportStar(require("./MarketingOrderListItemDto"), exports);
|
package/package.json
CHANGED
|
@@ -38,6 +38,13 @@ export interface DomainAppraisalRequestsApiGetSellerDomainAppraisalRequestsReque
|
|
|
38
38
|
limit?: number;
|
|
39
39
|
sortBy?: Array<string>;
|
|
40
40
|
filterStatus?: string;
|
|
41
|
+
filterDomain?: string;
|
|
42
|
+
filterDomainDisplayName?: string;
|
|
43
|
+
filterCreatedAtFrom?: string;
|
|
44
|
+
filterCreatedAtTo?: string;
|
|
45
|
+
filterAppraisedAtFrom?: string;
|
|
46
|
+
filterAppraisedAtTo?: string;
|
|
47
|
+
filterAppraisedAmountEur?: string;
|
|
41
48
|
}
|
|
42
49
|
|
|
43
50
|
/**
|
|
@@ -118,6 +125,34 @@ export class DomainAppraisalRequestsApi extends runtime.BaseAPI {
|
|
|
118
125
|
queryParameters['filter[status]'] = requestParameters['filterStatus'];
|
|
119
126
|
}
|
|
120
127
|
|
|
128
|
+
if (requestParameters['filterDomain'] != null) {
|
|
129
|
+
queryParameters['filter[domain]'] = requestParameters['filterDomain'];
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
if (requestParameters['filterDomainDisplayName'] != null) {
|
|
133
|
+
queryParameters['filter[domain.displayName]'] = requestParameters['filterDomainDisplayName'];
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
if (requestParameters['filterCreatedAtFrom'] != null) {
|
|
137
|
+
queryParameters['filter[createdAtFrom]'] = requestParameters['filterCreatedAtFrom'];
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
if (requestParameters['filterCreatedAtTo'] != null) {
|
|
141
|
+
queryParameters['filter[createdAtTo]'] = requestParameters['filterCreatedAtTo'];
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
if (requestParameters['filterAppraisedAtFrom'] != null) {
|
|
145
|
+
queryParameters['filter[appraisedAtFrom]'] = requestParameters['filterAppraisedAtFrom'];
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
if (requestParameters['filterAppraisedAtTo'] != null) {
|
|
149
|
+
queryParameters['filter[appraisedAtTo]'] = requestParameters['filterAppraisedAtTo'];
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
if (requestParameters['filterAppraisedAmountEur'] != null) {
|
|
153
|
+
queryParameters['filter[appraisedAmountEur]'] = requestParameters['filterAppraisedAmountEur'];
|
|
154
|
+
}
|
|
155
|
+
|
|
121
156
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
122
157
|
|
|
123
158
|
if (this.configuration && this.configuration.apiKey) {
|
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
|
}
|
|
@@ -48,6 +48,13 @@ import {
|
|
|
48
48
|
DomainSalesInformationDtoLandingPageDesignToJSON,
|
|
49
49
|
DomainSalesInformationDtoLandingPageDesignToJSONTyped,
|
|
50
50
|
} from './DomainSalesInformationDtoLandingPageDesign';
|
|
51
|
+
import type { DomainSalesInformationFairPriceSealDto } from './DomainSalesInformationFairPriceSealDto';
|
|
52
|
+
import {
|
|
53
|
+
DomainSalesInformationFairPriceSealDtoFromJSON,
|
|
54
|
+
DomainSalesInformationFairPriceSealDtoFromJSONTyped,
|
|
55
|
+
DomainSalesInformationFairPriceSealDtoToJSON,
|
|
56
|
+
DomainSalesInformationFairPriceSealDtoToJSONTyped,
|
|
57
|
+
} from './DomainSalesInformationFairPriceSealDto';
|
|
51
58
|
import type { DomainSalesInformationLeaseToOwnConfigurationDto } from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
52
59
|
import {
|
|
53
60
|
DomainSalesInformationLeaseToOwnConfigurationDtoFromJSON,
|
|
@@ -177,6 +184,12 @@ export interface DomainSalesInformationDto {
|
|
|
177
184
|
* @memberof DomainSalesInformationDto
|
|
178
185
|
*/
|
|
179
186
|
domainAppraisalRequestEnabled: boolean;
|
|
187
|
+
/**
|
|
188
|
+
* Fair price seal shown on the landing page.
|
|
189
|
+
* @type {DomainSalesInformationFairPriceSealDto}
|
|
190
|
+
* @memberof DomainSalesInformationDto
|
|
191
|
+
*/
|
|
192
|
+
fairPriceSeal: DomainSalesInformationFairPriceSealDto | null;
|
|
180
193
|
/**
|
|
181
194
|
*
|
|
182
195
|
* @type {DomainSalesInformationDtoLandingPageDesign}
|
|
@@ -219,6 +232,7 @@ export function instanceOfDomainSalesInformationDto(value: object): value is Dom
|
|
|
219
232
|
if (!('informationRequestEnabled' in value) || value['informationRequestEnabled'] === undefined) return false;
|
|
220
233
|
if (!('leadBuyerSettings' in value) || value['leadBuyerSettings'] === undefined) return false;
|
|
221
234
|
if (!('domainAppraisalRequestEnabled' in value) || value['domainAppraisalRequestEnabled'] === undefined) return false;
|
|
235
|
+
if (!('fairPriceSeal' in value) || value['fairPriceSeal'] === undefined) return false;
|
|
222
236
|
if (!('landingPageDesign' in value) || value['landingPageDesign'] === undefined) return false;
|
|
223
237
|
if (!('customCss' in value) || value['customCss'] === undefined) return false;
|
|
224
238
|
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined) return false;
|
|
@@ -253,6 +267,7 @@ export function DomainSalesInformationDtoFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
253
267
|
'informationRequestEnabled': json['informationRequestEnabled'],
|
|
254
268
|
'leadBuyerSettings': LeadBuyerConfigDtoFromJSON(json['leadBuyerSettings']),
|
|
255
269
|
'domainAppraisalRequestEnabled': json['domainAppraisalRequestEnabled'],
|
|
270
|
+
'fairPriceSeal': DomainSalesInformationFairPriceSealDtoFromJSON(json['fairPriceSeal']),
|
|
256
271
|
'landingPageDesign': DomainSalesInformationDtoLandingPageDesignFromJSON(json['landingPageDesign']),
|
|
257
272
|
'customCss': json['customCss'],
|
|
258
273
|
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
@@ -288,6 +303,7 @@ export function DomainSalesInformationDtoToJSONTyped(value?: DomainSalesInformat
|
|
|
288
303
|
'informationRequestEnabled': value['informationRequestEnabled'],
|
|
289
304
|
'leadBuyerSettings': LeadBuyerConfigDtoToJSON(value['leadBuyerSettings']),
|
|
290
305
|
'domainAppraisalRequestEnabled': value['domainAppraisalRequestEnabled'],
|
|
306
|
+
'fairPriceSeal': DomainSalesInformationFairPriceSealDtoToJSON(value['fairPriceSeal']),
|
|
291
307
|
'landingPageDesign': DomainSalesInformationDtoLandingPageDesignToJSON(value['landingPageDesign']),
|
|
292
308
|
'customCss': value['customCss'],
|
|
293
309
|
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift domain marketplace and management API. ## Authentication - **Bearer JWT** — Seller and buyer sessions obtained via login endpoints. - **API key** — Pass the `apikey` header for programmatic seller access. ## Audiences - **(public)** tags — Unauthenticated or buyer-facing endpoints. - **Accounts / Domains / Leads / Buyers** — Seller or buyer resources. - **Partner** — Partner integrations.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface DomainSalesInformationFairPriceSealDto
|
|
20
|
+
*/
|
|
21
|
+
export interface DomainSalesInformationFairPriceSealDto {
|
|
22
|
+
/**
|
|
23
|
+
* Style of the seal.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof DomainSalesInformationFairPriceSealDto
|
|
26
|
+
*/
|
|
27
|
+
style: DomainSalesInformationFairPriceSealDtoStyleEnum;
|
|
28
|
+
/**
|
|
29
|
+
* When the domain was appraised.
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof DomainSalesInformationFairPriceSealDto
|
|
32
|
+
*/
|
|
33
|
+
appraisedAt: Date;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const DomainSalesInformationFairPriceSealDtoStyleEnum = {
|
|
41
|
+
STAMP: 'stamp',
|
|
42
|
+
CERTIFICATE: 'certificate',
|
|
43
|
+
RIBBON: 'ribbon'
|
|
44
|
+
} as const;
|
|
45
|
+
export type DomainSalesInformationFairPriceSealDtoStyleEnum = typeof DomainSalesInformationFairPriceSealDtoStyleEnum[keyof typeof DomainSalesInformationFairPriceSealDtoStyleEnum];
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the DomainSalesInformationFairPriceSealDto interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfDomainSalesInformationFairPriceSealDto(value: object): value is DomainSalesInformationFairPriceSealDto {
|
|
52
|
+
if (!('style' in value) || value['style'] === undefined) return false;
|
|
53
|
+
if (!('appraisedAt' in value) || value['appraisedAt'] === undefined) return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function DomainSalesInformationFairPriceSealDtoFromJSON(json: any): DomainSalesInformationFairPriceSealDto {
|
|
58
|
+
return DomainSalesInformationFairPriceSealDtoFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function DomainSalesInformationFairPriceSealDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DomainSalesInformationFairPriceSealDto {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'style': json['style'],
|
|
68
|
+
'appraisedAt': (new Date(json['appraisedAt'])),
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function DomainSalesInformationFairPriceSealDtoToJSON(json: any): DomainSalesInformationFairPriceSealDto {
|
|
73
|
+
return DomainSalesInformationFairPriceSealDtoToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function DomainSalesInformationFairPriceSealDtoToJSONTyped(value?: DomainSalesInformationFairPriceSealDto | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'style': value['style'],
|
|
84
|
+
'appraisedAt': ((value['appraisedAt']).toISOString()),
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|