@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
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
LeadVerificationSettingsDtoToJSON,
|
|
21
21
|
LeadVerificationSettingsDtoToJSONTyped,
|
|
22
22
|
} from './LeadVerificationSettingsDto';
|
|
23
|
+
import type { LatestDomainAppraisalRequestDto } from './LatestDomainAppraisalRequestDto';
|
|
24
|
+
import {
|
|
25
|
+
LatestDomainAppraisalRequestDtoFromJSON,
|
|
26
|
+
LatestDomainAppraisalRequestDtoFromJSONTyped,
|
|
27
|
+
LatestDomainAppraisalRequestDtoToJSON,
|
|
28
|
+
LatestDomainAppraisalRequestDtoToJSONTyped,
|
|
29
|
+
} from './LatestDomainAppraisalRequestDto';
|
|
23
30
|
import type { MoneyDto } from './MoneyDto';
|
|
24
31
|
import {
|
|
25
32
|
MoneyDtoFromJSON,
|
|
@@ -286,6 +293,12 @@ export interface IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto {
|
|
|
286
293
|
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
287
294
|
*/
|
|
288
295
|
routedTo: IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoRoutedToEnum | null;
|
|
296
|
+
/**
|
|
297
|
+
* Latest domain appraisal request the seller made for the domain.
|
|
298
|
+
* @type {LatestDomainAppraisalRequestDto}
|
|
299
|
+
* @memberof IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto
|
|
300
|
+
*/
|
|
301
|
+
latestDomainAppraisalRequest: LatestDomainAppraisalRequestDto | null;
|
|
289
302
|
}
|
|
290
303
|
|
|
291
304
|
|
|
@@ -355,6 +368,7 @@ export function instanceOfIntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto(v
|
|
|
355
368
|
if (!('leadVerification' in value) || value['leadVerification'] === undefined) return false;
|
|
356
369
|
if (!('seoMetrics' in value) || value['seoMetrics'] === undefined) return false;
|
|
357
370
|
if (!('routedTo' in value) || value['routedTo'] === undefined) return false;
|
|
371
|
+
if (!('latestDomainAppraisalRequest' in value) || value['latestDomainAppraisalRequest'] === undefined) return false;
|
|
358
372
|
return true;
|
|
359
373
|
}
|
|
360
374
|
|
|
@@ -403,6 +417,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoFromJSONType
|
|
|
403
417
|
'leadVerification': LeadVerificationSettingsDtoFromJSON(json['leadVerification']),
|
|
404
418
|
'seoMetrics': SeoMetricsDtoFromJSON(json['seoMetrics']),
|
|
405
419
|
'routedTo': json['routedTo'],
|
|
420
|
+
'latestDomainAppraisalRequest': LatestDomainAppraisalRequestDtoFromJSON(json['latestDomainAppraisalRequest']),
|
|
406
421
|
};
|
|
407
422
|
}
|
|
408
423
|
|
|
@@ -452,6 +467,7 @@ export function IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDtoToJSONTyped(
|
|
|
452
467
|
'leadVerification': LeadVerificationSettingsDtoToJSON(value['leadVerification']),
|
|
453
468
|
'seoMetrics': SeoMetricsDtoToJSON(value['seoMetrics']),
|
|
454
469
|
'routedTo': value['routedTo'],
|
|
470
|
+
'latestDomainAppraisalRequest': LatestDomainAppraisalRequestDtoToJSON(value['latestDomainAppraisalRequest']),
|
|
455
471
|
};
|
|
456
472
|
}
|
|
457
473
|
|
|
@@ -87,6 +87,18 @@ export interface LandingPageInput {
|
|
|
87
87
|
* @memberof LandingPageInput
|
|
88
88
|
*/
|
|
89
89
|
localeRedirect?: LandingPageInputLocaleRedirectEnum | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the landing page shows the fair price seal of the domain appraisal.
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof LandingPageInput
|
|
94
|
+
*/
|
|
95
|
+
showFairPriceSeal?: boolean | null;
|
|
96
|
+
/**
|
|
97
|
+
* Style of the fair price seal on the landing page.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof LandingPageInput
|
|
100
|
+
*/
|
|
101
|
+
fairPriceSealStyle?: LandingPageInputFairPriceSealStyleEnum | null;
|
|
90
102
|
/**
|
|
91
103
|
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
92
104
|
* @type {boolean}
|
|
@@ -147,6 +159,16 @@ export const LandingPageInputLocaleRedirectEnum = {
|
|
|
147
159
|
} as const;
|
|
148
160
|
export type LandingPageInputLocaleRedirectEnum = typeof LandingPageInputLocaleRedirectEnum[keyof typeof LandingPageInputLocaleRedirectEnum];
|
|
149
161
|
|
|
162
|
+
/**
|
|
163
|
+
* @export
|
|
164
|
+
*/
|
|
165
|
+
export const LandingPageInputFairPriceSealStyleEnum = {
|
|
166
|
+
STAMP: 'stamp',
|
|
167
|
+
CERTIFICATE: 'certificate',
|
|
168
|
+
RIBBON: 'ribbon'
|
|
169
|
+
} as const;
|
|
170
|
+
export type LandingPageInputFairPriceSealStyleEnum = typeof LandingPageInputFairPriceSealStyleEnum[keyof typeof LandingPageInputFairPriceSealStyleEnum];
|
|
171
|
+
|
|
150
172
|
|
|
151
173
|
/**
|
|
152
174
|
* Check if a given object implements the LandingPageInput interface.
|
|
@@ -175,6 +197,8 @@ export function LandingPageInputFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
175
197
|
'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'] == null ? undefined : json['domainNameUppercaseThreshold'],
|
|
176
198
|
'domainNameTldCase': json['domainNameTldCase'] == null ? undefined : json['domainNameTldCase'],
|
|
177
199
|
'localeRedirect': json['localeRedirect'] == null ? undefined : json['localeRedirect'],
|
|
200
|
+
'showFairPriceSeal': json['showFairPriceSeal'] == null ? undefined : json['showFairPriceSeal'],
|
|
201
|
+
'fairPriceSealStyle': json['fairPriceSealStyle'] == null ? undefined : json['fairPriceSealStyle'],
|
|
178
202
|
'dutchPriceFormat': json['dutchPriceFormat'] == null ? undefined : json['dutchPriceFormat'],
|
|
179
203
|
};
|
|
180
204
|
}
|
|
@@ -200,6 +224,8 @@ export function LandingPageInputToJSONTyped(value?: LandingPageInput | null, ign
|
|
|
200
224
|
'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
|
|
201
225
|
'domainNameTldCase': value['domainNameTldCase'],
|
|
202
226
|
'localeRedirect': value['localeRedirect'],
|
|
227
|
+
'showFairPriceSeal': value['showFairPriceSeal'],
|
|
228
|
+
'fairPriceSealStyle': value['fairPriceSealStyle'],
|
|
203
229
|
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
204
230
|
};
|
|
205
231
|
}
|
|
@@ -87,6 +87,18 @@ export interface LandingPageSettingsDto {
|
|
|
87
87
|
* @memberof LandingPageSettingsDto
|
|
88
88
|
*/
|
|
89
89
|
localeRedirect: LandingPageSettingsDtoLocaleRedirectEnum | null;
|
|
90
|
+
/**
|
|
91
|
+
* Whether the landing page shows the fair price seal of the domain appraisal.
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof LandingPageSettingsDto
|
|
94
|
+
*/
|
|
95
|
+
showFairPriceSeal: boolean | null;
|
|
96
|
+
/**
|
|
97
|
+
* Style of the fair price seal on the landing page.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof LandingPageSettingsDto
|
|
100
|
+
*/
|
|
101
|
+
fairPriceSealStyle: LandingPageSettingsDtoFairPriceSealStyleEnum | null;
|
|
90
102
|
/**
|
|
91
103
|
* Whether whole euro prices on the Dutch landing home are written with a comma and a dash (€ 2.459,-).
|
|
92
104
|
* @type {boolean}
|
|
@@ -147,6 +159,16 @@ export const LandingPageSettingsDtoLocaleRedirectEnum = {
|
|
|
147
159
|
} as const;
|
|
148
160
|
export type LandingPageSettingsDtoLocaleRedirectEnum = typeof LandingPageSettingsDtoLocaleRedirectEnum[keyof typeof LandingPageSettingsDtoLocaleRedirectEnum];
|
|
149
161
|
|
|
162
|
+
/**
|
|
163
|
+
* @export
|
|
164
|
+
*/
|
|
165
|
+
export const LandingPageSettingsDtoFairPriceSealStyleEnum = {
|
|
166
|
+
STAMP: 'stamp',
|
|
167
|
+
CERTIFICATE: 'certificate',
|
|
168
|
+
RIBBON: 'ribbon'
|
|
169
|
+
} as const;
|
|
170
|
+
export type LandingPageSettingsDtoFairPriceSealStyleEnum = typeof LandingPageSettingsDtoFairPriceSealStyleEnum[keyof typeof LandingPageSettingsDtoFairPriceSealStyleEnum];
|
|
171
|
+
|
|
150
172
|
|
|
151
173
|
/**
|
|
152
174
|
* Check if a given object implements the LandingPageSettingsDto interface.
|
|
@@ -162,6 +184,8 @@ export function instanceOfLandingPageSettingsDto(value: object): value is Landin
|
|
|
162
184
|
if (!('domainNameUppercaseThreshold' in value) || value['domainNameUppercaseThreshold'] === undefined) return false;
|
|
163
185
|
if (!('domainNameTldCase' in value) || value['domainNameTldCase'] === undefined) return false;
|
|
164
186
|
if (!('localeRedirect' in value) || value['localeRedirect'] === undefined) return false;
|
|
187
|
+
if (!('showFairPriceSeal' in value) || value['showFairPriceSeal'] === undefined) return false;
|
|
188
|
+
if (!('fairPriceSealStyle' in value) || value['fairPriceSealStyle'] === undefined) return false;
|
|
165
189
|
if (!('dutchPriceFormat' in value) || value['dutchPriceFormat'] === undefined) return false;
|
|
166
190
|
return true;
|
|
167
191
|
}
|
|
@@ -186,6 +210,8 @@ export function LandingPageSettingsDtoFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
186
210
|
'domainNameUppercaseThreshold': json['domainNameUppercaseThreshold'],
|
|
187
211
|
'domainNameTldCase': json['domainNameTldCase'],
|
|
188
212
|
'localeRedirect': json['localeRedirect'],
|
|
213
|
+
'showFairPriceSeal': json['showFairPriceSeal'],
|
|
214
|
+
'fairPriceSealStyle': json['fairPriceSealStyle'],
|
|
189
215
|
'dutchPriceFormat': json['dutchPriceFormat'],
|
|
190
216
|
};
|
|
191
217
|
}
|
|
@@ -211,6 +237,8 @@ export function LandingPageSettingsDtoToJSONTyped(value?: LandingPageSettingsDto
|
|
|
211
237
|
'domainNameUppercaseThreshold': value['domainNameUppercaseThreshold'],
|
|
212
238
|
'domainNameTldCase': value['domainNameTldCase'],
|
|
213
239
|
'localeRedirect': value['localeRedirect'],
|
|
240
|
+
'showFairPriceSeal': value['showFairPriceSeal'],
|
|
241
|
+
'fairPriceSealStyle': value['fairPriceSealStyle'],
|
|
214
242
|
'dutchPriceFormat': value['dutchPriceFormat'],
|
|
215
243
|
};
|
|
216
244
|
}
|
|
@@ -0,0 +1,103 @@
|
|
|
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
|
+
import type { DomainAppraisalRequestStatus } from './DomainAppraisalRequestStatus';
|
|
17
|
+
import {
|
|
18
|
+
DomainAppraisalRequestStatusFromJSON,
|
|
19
|
+
DomainAppraisalRequestStatusFromJSONTyped,
|
|
20
|
+
DomainAppraisalRequestStatusToJSON,
|
|
21
|
+
DomainAppraisalRequestStatusToJSONTyped,
|
|
22
|
+
} from './DomainAppraisalRequestStatus';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface LatestDomainAppraisalRequestDto
|
|
28
|
+
*/
|
|
29
|
+
export interface LatestDomainAppraisalRequestDto {
|
|
30
|
+
/**
|
|
31
|
+
* Domain appraisal request identifier.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof LatestDomainAppraisalRequestDto
|
|
34
|
+
*/
|
|
35
|
+
id: string;
|
|
36
|
+
/**
|
|
37
|
+
* Domain appraisal request status.
|
|
38
|
+
* @type {DomainAppraisalRequestStatus}
|
|
39
|
+
* @memberof LatestDomainAppraisalRequestDto
|
|
40
|
+
*/
|
|
41
|
+
status: DomainAppraisalRequestStatus;
|
|
42
|
+
/**
|
|
43
|
+
* Appraised amount in EUR, once appraised.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof LatestDomainAppraisalRequestDto
|
|
46
|
+
*/
|
|
47
|
+
appraisedAmountEur: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* When it was created.
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof LatestDomainAppraisalRequestDto
|
|
52
|
+
*/
|
|
53
|
+
createdAt: Date;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Check if a given object implements the LatestDomainAppraisalRequestDto interface.
|
|
60
|
+
*/
|
|
61
|
+
export function instanceOfLatestDomainAppraisalRequestDto(value: object): value is LatestDomainAppraisalRequestDto {
|
|
62
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
63
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
64
|
+
if (!('appraisedAmountEur' in value) || value['appraisedAmountEur'] === undefined) return false;
|
|
65
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function LatestDomainAppraisalRequestDtoFromJSON(json: any): LatestDomainAppraisalRequestDto {
|
|
70
|
+
return LatestDomainAppraisalRequestDtoFromJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function LatestDomainAppraisalRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LatestDomainAppraisalRequestDto {
|
|
74
|
+
if (json == null) {
|
|
75
|
+
return json;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'id': json['id'],
|
|
80
|
+
'status': DomainAppraisalRequestStatusFromJSON(json['status']),
|
|
81
|
+
'appraisedAmountEur': json['appraisedAmountEur'],
|
|
82
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function LatestDomainAppraisalRequestDtoToJSON(json: any): LatestDomainAppraisalRequestDto {
|
|
87
|
+
return LatestDomainAppraisalRequestDtoToJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function LatestDomainAppraisalRequestDtoToJSONTyped(value?: LatestDomainAppraisalRequestDto | null, ignoreDiscriminator: boolean = false): any {
|
|
91
|
+
if (value == null) {
|
|
92
|
+
return value;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'id': value['id'],
|
|
98
|
+
'status': DomainAppraisalRequestStatusToJSON(value['status']),
|
|
99
|
+
'appraisedAmountEur': value['appraisedAmountEur'],
|
|
100
|
+
'createdAt': ((value['createdAt']).toISOString()),
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|
|
@@ -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
|
@@ -243,6 +243,7 @@ export * from './DomainOriginalLandingPageDesignDto';
|
|
|
243
243
|
export * from './DomainPricesChangeDto';
|
|
244
244
|
export * from './DomainSalesInformationDto';
|
|
245
245
|
export * from './DomainSalesInformationDtoLandingPageDesign';
|
|
246
|
+
export * from './DomainSalesInformationFairPriceSealDto';
|
|
246
247
|
export * from './DomainSalesInformationLeaseToOwnConfigurationDto';
|
|
247
248
|
export * from './DomainSalesInformationRentConfigurationDto';
|
|
248
249
|
export * from './DomainSearchTranslationDto';
|
|
@@ -313,7 +314,6 @@ export * from './IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFe
|
|
|
313
314
|
export * from './IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto';
|
|
314
315
|
export * from './IntersectionDomainDtoWithHijackerDtoWithAccountDto';
|
|
315
316
|
export * from './IntersectionDomainDtoWithSeoMetricsDtoWithRoutingDto';
|
|
316
|
-
export * from './IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto';
|
|
317
317
|
export * from './IntersectionTaskListTaskDto';
|
|
318
318
|
export * from './IntersectionTaskListTaskDtoData';
|
|
319
319
|
export * from './InvoiceDomainDto';
|
|
@@ -340,6 +340,7 @@ export * from './LandingPageModernDesignSettingsInput';
|
|
|
340
340
|
export * from './LandingPageOriginalDesignSettingsDto';
|
|
341
341
|
export * from './LandingPageOriginalDesignSettingsInput';
|
|
342
342
|
export * from './LandingPageSettingsDto';
|
|
343
|
+
export * from './LatestDomainAppraisalRequestDto';
|
|
343
344
|
export * from './LeadBuyerConfigDto';
|
|
344
345
|
export * from './LeadDomainDto';
|
|
345
346
|
export * from './LeadDto';
|
|
@@ -423,6 +424,7 @@ export * from './LoginStatus';
|
|
|
423
424
|
export * from './MajesticMetrics';
|
|
424
425
|
export * from './MajesticTopicTrustFlow';
|
|
425
426
|
export * from './ManualLeadBuyerDto';
|
|
427
|
+
export * from './ManualLeadDetails';
|
|
426
428
|
export * from './ManualLeadLeaseToOwnDto';
|
|
427
429
|
export * from './MarketingDashboardStatsDto';
|
|
428
430
|
export * from './MarketingOrderListItemDto';
|