@randock/nameshift-api-client 0.0.364 → 0.0.366
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 -0
- package/README.md +3 -3
- package/dist/apis/LeadsApi.d.ts +13 -1
- package/dist/apis/LeadsApi.js +56 -0
- package/dist/models/AccountSettingsDto.d.ts +7 -0
- package/dist/models/AccountSettingsDto.js +5 -0
- package/dist/models/AccountSettingsInput.d.ts +6 -0
- package/dist/models/AccountSettingsInput.js +2 -0
- package/dist/models/AdminAccountSettingsInput.d.ts +6 -0
- package/dist/models/AdminAccountSettingsInput.js +2 -0
- package/dist/models/BuyerDomainTransferListItemDto.d.ts +6 -0
- package/dist/models/BuyerDomainTransferListItemDto.js +4 -0
- package/dist/models/BuyerLeadListItemDto.d.ts +6 -0
- package/dist/models/BuyerLeadListItemDto.js +4 -0
- package/dist/models/CreateManualLeadInput.d.ts +14 -0
- package/dist/models/CreateManualLeadInput.js +6 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +4 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +6 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +4 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +7 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +5 -0
- package/dist/models/LeadDomainDto.d.ts +6 -0
- package/dist/models/LeadDomainDto.js +4 -0
- package/dist/models/LeadDto.d.ts +7 -0
- package/dist/models/LeadDto.js +5 -0
- package/dist/models/LeadOfferExpirationConfigurationDto.d.ts +39 -0
- package/dist/models/LeadOfferExpirationConfigurationDto.js +56 -0
- package/dist/models/LeadOfferExpirationConfigurationInput.d.ts +39 -0
- package/dist/models/LeadOfferExpirationConfigurationInput.js +52 -0
- package/dist/models/LeadOfferExpirationDurationInput.d.ts +47 -0
- package/dist/models/LeadOfferExpirationDurationInput.js +60 -0
- package/dist/models/ListLeadsResultItem.d.ts +7 -0
- package/dist/models/ListLeadsResultItem.js +5 -0
- package/dist/models/PutLeadOfferInput.d.ts +7 -0
- package/dist/models/PutLeadOfferInput.js +3 -0
- package/dist/models/SellerLeadDetails.d.ts +7 -0
- package/dist/models/SellerLeadDetails.js +5 -0
- package/dist/models/TaskListLeadDto.d.ts +7 -0
- package/dist/models/TaskListLeadDto.js +5 -0
- package/dist/models/WithSettingsInner.d.ts +7 -0
- package/dist/models/WithSettingsInner.js +5 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
- package/src/apis/LeadsApi.ts +58 -0
- package/src/models/AccountSettingsDto.ts +16 -0
- package/src/models/AccountSettingsInput.ts +8 -0
- package/src/models/AdminAccountSettingsInput.ts +8 -0
- package/src/models/BuyerDomainTransferListItemDto.ts +9 -0
- package/src/models/BuyerLeadListItemDto.ts +9 -0
- package/src/models/CreateManualLeadInput.ts +30 -0
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +9 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +9 -0
- package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +16 -0
- package/src/models/LeadDomainDto.ts +9 -0
- package/src/models/LeadDto.ts +16 -0
- package/src/models/LeadOfferExpirationConfigurationDto.ts +83 -0
- package/src/models/LeadOfferExpirationConfigurationInput.ts +81 -0
- package/src/models/LeadOfferExpirationDurationInput.ts +85 -0
- package/src/models/ListLeadsResultItem.ts +16 -0
- package/src/models/PutLeadOfferInput.ts +15 -0
- package/src/models/SellerLeadDetails.ts +16 -0
- package/src/models/TaskListLeadDto.ts +16 -0
- package/src/models/WithSettingsInner.ts +16 -0
- package/src/models/index.ts +3 -0
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LockDurationDto } from './LockDurationDto';
|
|
17
|
+
import {
|
|
18
|
+
LockDurationDtoFromJSON,
|
|
19
|
+
LockDurationDtoFromJSONTyped,
|
|
20
|
+
LockDurationDtoToJSON,
|
|
21
|
+
LockDurationDtoToJSONTyped,
|
|
22
|
+
} from './LockDurationDto';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface LeadOfferExpirationConfigurationDto
|
|
28
|
+
*/
|
|
29
|
+
export interface LeadOfferExpirationConfigurationDto {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof LeadOfferExpirationConfigurationDto
|
|
34
|
+
*/
|
|
35
|
+
enabled: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {LockDurationDto}
|
|
39
|
+
* @memberof LeadOfferExpirationConfigurationDto
|
|
40
|
+
*/
|
|
41
|
+
duration: LockDurationDto;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the LeadOfferExpirationConfigurationDto interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfLeadOfferExpirationConfigurationDto(value: object): value is LeadOfferExpirationConfigurationDto {
|
|
48
|
+
if (!('enabled' in value) || value['enabled'] === undefined) return false;
|
|
49
|
+
if (!('duration' in value) || value['duration'] === undefined) return false;
|
|
50
|
+
return true;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function LeadOfferExpirationConfigurationDtoFromJSON(json: any): LeadOfferExpirationConfigurationDto {
|
|
54
|
+
return LeadOfferExpirationConfigurationDtoFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function LeadOfferExpirationConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferExpirationConfigurationDto {
|
|
58
|
+
if (json == null) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'enabled': json['enabled'],
|
|
64
|
+
'duration': LockDurationDtoFromJSON(json['duration']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function LeadOfferExpirationConfigurationDtoToJSON(json: any): LeadOfferExpirationConfigurationDto {
|
|
69
|
+
return LeadOfferExpirationConfigurationDtoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function LeadOfferExpirationConfigurationDtoToJSONTyped(value?: LeadOfferExpirationConfigurationDto | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'enabled': value['enabled'],
|
|
80
|
+
'duration': LockDurationDtoToJSON(value['duration']),
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { LeadOfferExpirationDurationInput } from './LeadOfferExpirationDurationInput';
|
|
17
|
+
import {
|
|
18
|
+
LeadOfferExpirationDurationInputFromJSON,
|
|
19
|
+
LeadOfferExpirationDurationInputFromJSONTyped,
|
|
20
|
+
LeadOfferExpirationDurationInputToJSON,
|
|
21
|
+
LeadOfferExpirationDurationInputToJSONTyped,
|
|
22
|
+
} from './LeadOfferExpirationDurationInput';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface LeadOfferExpirationConfigurationInput
|
|
28
|
+
*/
|
|
29
|
+
export interface LeadOfferExpirationConfigurationInput {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof LeadOfferExpirationConfigurationInput
|
|
34
|
+
*/
|
|
35
|
+
enabled?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {LeadOfferExpirationDurationInput}
|
|
39
|
+
* @memberof LeadOfferExpirationConfigurationInput
|
|
40
|
+
*/
|
|
41
|
+
duration?: LeadOfferExpirationDurationInput;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the LeadOfferExpirationConfigurationInput interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfLeadOfferExpirationConfigurationInput(value: object): value is LeadOfferExpirationConfigurationInput {
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function LeadOfferExpirationConfigurationInputFromJSON(json: any): LeadOfferExpirationConfigurationInput {
|
|
52
|
+
return LeadOfferExpirationConfigurationInputFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function LeadOfferExpirationConfigurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferExpirationConfigurationInput {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
62
|
+
'duration': json['duration'] == null ? undefined : LeadOfferExpirationDurationInputFromJSON(json['duration']),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function LeadOfferExpirationConfigurationInputToJSON(json: any): LeadOfferExpirationConfigurationInput {
|
|
67
|
+
return LeadOfferExpirationConfigurationInputToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function LeadOfferExpirationConfigurationInputToJSONTyped(value?: LeadOfferExpirationConfigurationInput | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
+
if (value == null) {
|
|
72
|
+
return value;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'enabled': value['enabled'],
|
|
78
|
+
'duration': LeadOfferExpirationDurationInputToJSON(value['duration']),
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Nameshift
|
|
5
|
+
* Nameshift API
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface LeadOfferExpirationDurationInput
|
|
20
|
+
*/
|
|
21
|
+
export interface LeadOfferExpirationDurationInput {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof LeadOfferExpirationDurationInput
|
|
26
|
+
*/
|
|
27
|
+
amount?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof LeadOfferExpirationDurationInput
|
|
32
|
+
*/
|
|
33
|
+
unit?: LeadOfferExpirationDurationInputUnitEnum;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
*/
|
|
40
|
+
export const LeadOfferExpirationDurationInputUnitEnum = {
|
|
41
|
+
MINUTE: 'minute',
|
|
42
|
+
HOUR: 'hour',
|
|
43
|
+
DAY: 'day'
|
|
44
|
+
} as const;
|
|
45
|
+
export type LeadOfferExpirationDurationInputUnitEnum = typeof LeadOfferExpirationDurationInputUnitEnum[keyof typeof LeadOfferExpirationDurationInputUnitEnum];
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the LeadOfferExpirationDurationInput interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfLeadOfferExpirationDurationInput(value: object): value is LeadOfferExpirationDurationInput {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function LeadOfferExpirationDurationInputFromJSON(json: any): LeadOfferExpirationDurationInput {
|
|
56
|
+
return LeadOfferExpirationDurationInputFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function LeadOfferExpirationDurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferExpirationDurationInput {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'amount': json['amount'] == null ? undefined : json['amount'],
|
|
66
|
+
'unit': json['unit'] == null ? undefined : json['unit'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function LeadOfferExpirationDurationInputToJSON(json: any): LeadOfferExpirationDurationInput {
|
|
71
|
+
return LeadOfferExpirationDurationInputToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function LeadOfferExpirationDurationInputToJSONTyped(value?: LeadOfferExpirationDurationInput | null, ignoreDiscriminator: boolean = false): any {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'amount': value['amount'],
|
|
82
|
+
'unit': value['unit'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
@@ -48,6 +48,13 @@ import {
|
|
|
48
48
|
LeadRentConfigurationDtoToJSON,
|
|
49
49
|
LeadRentConfigurationDtoToJSONTyped,
|
|
50
50
|
} from './LeadRentConfigurationDto';
|
|
51
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
52
|
+
import {
|
|
53
|
+
LeadOfferExpirationConfigurationDtoFromJSON,
|
|
54
|
+
LeadOfferExpirationConfigurationDtoFromJSONTyped,
|
|
55
|
+
LeadOfferExpirationConfigurationDtoToJSON,
|
|
56
|
+
LeadOfferExpirationConfigurationDtoToJSONTyped,
|
|
57
|
+
} from './LeadOfferExpirationConfigurationDto';
|
|
51
58
|
import type { LeadOfferDto } from './LeadOfferDto';
|
|
52
59
|
import {
|
|
53
60
|
LeadOfferDtoFromJSON,
|
|
@@ -212,6 +219,12 @@ export interface ListLeadsResultItem {
|
|
|
212
219
|
* @memberof ListLeadsResultItem
|
|
213
220
|
*/
|
|
214
221
|
lastSellerOffer: LeadOfferDto | null;
|
|
222
|
+
/**
|
|
223
|
+
*
|
|
224
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
225
|
+
* @memberof ListLeadsResultItem
|
|
226
|
+
*/
|
|
227
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
215
228
|
/**
|
|
216
229
|
* The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
|
|
217
230
|
* @type {string}
|
|
@@ -325,6 +338,7 @@ export function instanceOfListLeadsResultItem(value: object): value is ListLeads
|
|
|
325
338
|
if (!('rent' in value) || value['rent'] === undefined) return false;
|
|
326
339
|
if (!('lastBuyerOffer' in value) || value['lastBuyerOffer'] === undefined) return false;
|
|
327
340
|
if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined) return false;
|
|
341
|
+
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
|
|
328
342
|
if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined) return false;
|
|
329
343
|
if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined) return false;
|
|
330
344
|
return true;
|
|
@@ -365,6 +379,7 @@ export function ListLeadsResultItemFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
365
379
|
'rent': LeadRentConfigurationDtoFromJSON(json['rent']),
|
|
366
380
|
'lastBuyerOffer': LeadOfferDtoFromJSON(json['lastBuyerOffer']),
|
|
367
381
|
'lastSellerOffer': LeadOfferDtoFromJSON(json['lastSellerOffer']),
|
|
382
|
+
'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
|
|
368
383
|
'lastMessageMessage': json['lastMessageMessage'],
|
|
369
384
|
'lastMessageDate': (new Date(json['lastMessageDate'])),
|
|
370
385
|
};
|
|
@@ -406,6 +421,7 @@ export function ListLeadsResultItemToJSONTyped(value?: ListLeadsResultItem | nul
|
|
|
406
421
|
'rent': LeadRentConfigurationDtoToJSON(value['rent']),
|
|
407
422
|
'lastBuyerOffer': LeadOfferDtoToJSON(value['lastBuyerOffer']),
|
|
408
423
|
'lastSellerOffer': LeadOfferDtoToJSON(value['lastSellerOffer']),
|
|
424
|
+
'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
|
|
409
425
|
'lastMessageMessage': value['lastMessageMessage'],
|
|
410
426
|
'lastMessageDate': ((value['lastMessageDate']).toISOString()),
|
|
411
427
|
};
|
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
MoneyDtoToJSON,
|
|
21
21
|
MoneyDtoToJSONTyped,
|
|
22
22
|
} from './MoneyDto';
|
|
23
|
+
import type { LeadOfferExpirationConfigurationInput } from './LeadOfferExpirationConfigurationInput';
|
|
24
|
+
import {
|
|
25
|
+
LeadOfferExpirationConfigurationInputFromJSON,
|
|
26
|
+
LeadOfferExpirationConfigurationInputFromJSONTyped,
|
|
27
|
+
LeadOfferExpirationConfigurationInputToJSON,
|
|
28
|
+
LeadOfferExpirationConfigurationInputToJSONTyped,
|
|
29
|
+
} from './LeadOfferExpirationConfigurationInput';
|
|
23
30
|
|
|
24
31
|
/**
|
|
25
32
|
*
|
|
@@ -45,6 +52,12 @@ export interface PutLeadOfferInput {
|
|
|
45
52
|
* @memberof PutLeadOfferInput
|
|
46
53
|
*/
|
|
47
54
|
leaseToOwnMonths?: number | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {LeadOfferExpirationConfigurationInput}
|
|
58
|
+
* @memberof PutLeadOfferInput
|
|
59
|
+
*/
|
|
60
|
+
leadOfferExpirationConfiguration?: LeadOfferExpirationConfigurationInput;
|
|
48
61
|
}
|
|
49
62
|
|
|
50
63
|
|
|
@@ -80,6 +93,7 @@ export function PutLeadOfferInputFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
80
93
|
'offer': json['offer'] == null ? undefined : MoneyDtoFromJSON(json['offer']),
|
|
81
94
|
'offerType': json['offerType'] == null ? undefined : json['offerType'],
|
|
82
95
|
'leaseToOwnMonths': json['leaseToOwnMonths'] == null ? undefined : json['leaseToOwnMonths'],
|
|
96
|
+
'leadOfferExpirationConfiguration': json['leadOfferExpirationConfiguration'] == null ? undefined : LeadOfferExpirationConfigurationInputFromJSON(json['leadOfferExpirationConfiguration']),
|
|
83
97
|
};
|
|
84
98
|
}
|
|
85
99
|
|
|
@@ -97,6 +111,7 @@ export function PutLeadOfferInputToJSONTyped(value?: PutLeadOfferInput | null, i
|
|
|
97
111
|
'offer': MoneyDtoToJSON(value['offer']),
|
|
98
112
|
'offerType': value['offerType'],
|
|
99
113
|
'leaseToOwnMonths': value['leaseToOwnMonths'],
|
|
114
|
+
'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationInputToJSON(value['leadOfferExpirationConfiguration']),
|
|
100
115
|
};
|
|
101
116
|
}
|
|
102
117
|
|
|
@@ -48,6 +48,13 @@ import {
|
|
|
48
48
|
LeadRentConfigurationDtoToJSON,
|
|
49
49
|
LeadRentConfigurationDtoToJSONTyped,
|
|
50
50
|
} from './LeadRentConfigurationDto';
|
|
51
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
52
|
+
import {
|
|
53
|
+
LeadOfferExpirationConfigurationDtoFromJSON,
|
|
54
|
+
LeadOfferExpirationConfigurationDtoFromJSONTyped,
|
|
55
|
+
LeadOfferExpirationConfigurationDtoToJSON,
|
|
56
|
+
LeadOfferExpirationConfigurationDtoToJSONTyped,
|
|
57
|
+
} from './LeadOfferExpirationConfigurationDto';
|
|
51
58
|
import type { DomainLockConfigurationDto } from './DomainLockConfigurationDto';
|
|
52
59
|
import {
|
|
53
60
|
DomainLockConfigurationDtoFromJSON,
|
|
@@ -201,6 +208,12 @@ export interface SellerLeadDetails {
|
|
|
201
208
|
* @memberof SellerLeadDetails
|
|
202
209
|
*/
|
|
203
210
|
lastSellerOffer: LeadOfferDto | null;
|
|
211
|
+
/**
|
|
212
|
+
*
|
|
213
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
214
|
+
* @memberof SellerLeadDetails
|
|
215
|
+
*/
|
|
216
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
204
217
|
}
|
|
205
218
|
|
|
206
219
|
|
|
@@ -276,6 +289,7 @@ export function instanceOfSellerLeadDetails(value: object): value is SellerLeadD
|
|
|
276
289
|
if (!('rent' in value) || value['rent'] === undefined) return false;
|
|
277
290
|
if (!('lastBuyerOffer' in value) || value['lastBuyerOffer'] === undefined) return false;
|
|
278
291
|
if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined) return false;
|
|
292
|
+
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
|
|
279
293
|
return true;
|
|
280
294
|
}
|
|
281
295
|
|
|
@@ -311,6 +325,7 @@ export function SellerLeadDetailsFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
311
325
|
'rent': LeadRentConfigurationDtoFromJSON(json['rent']),
|
|
312
326
|
'lastBuyerOffer': LeadOfferDtoFromJSON(json['lastBuyerOffer']),
|
|
313
327
|
'lastSellerOffer': LeadOfferDtoFromJSON(json['lastSellerOffer']),
|
|
328
|
+
'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
|
|
314
329
|
};
|
|
315
330
|
}
|
|
316
331
|
|
|
@@ -347,6 +362,7 @@ export function SellerLeadDetailsToJSONTyped(value?: SellerLeadDetails | null, i
|
|
|
347
362
|
'rent': LeadRentConfigurationDtoToJSON(value['rent']),
|
|
348
363
|
'lastBuyerOffer': LeadOfferDtoToJSON(value['lastBuyerOffer']),
|
|
349
364
|
'lastSellerOffer': LeadOfferDtoToJSON(value['lastSellerOffer']),
|
|
365
|
+
'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
|
|
350
366
|
};
|
|
351
367
|
}
|
|
352
368
|
|
|
@@ -41,6 +41,13 @@ import {
|
|
|
41
41
|
TaskListLeadRentConfigurationDtoToJSON,
|
|
42
42
|
TaskListLeadRentConfigurationDtoToJSONTyped,
|
|
43
43
|
} from './TaskListLeadRentConfigurationDto';
|
|
44
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
45
|
+
import {
|
|
46
|
+
LeadOfferExpirationConfigurationDtoFromJSON,
|
|
47
|
+
LeadOfferExpirationConfigurationDtoFromJSONTyped,
|
|
48
|
+
LeadOfferExpirationConfigurationDtoToJSON,
|
|
49
|
+
LeadOfferExpirationConfigurationDtoToJSONTyped,
|
|
50
|
+
} from './LeadOfferExpirationConfigurationDto';
|
|
44
51
|
|
|
45
52
|
/**
|
|
46
53
|
*
|
|
@@ -102,6 +109,12 @@ export interface TaskListLeadDto {
|
|
|
102
109
|
* @memberof TaskListLeadDto
|
|
103
110
|
*/
|
|
104
111
|
rent: TaskListLeadRentConfigurationDto;
|
|
112
|
+
/**
|
|
113
|
+
* Lead offer expiration configuration
|
|
114
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
115
|
+
* @memberof TaskListLeadDto
|
|
116
|
+
*/
|
|
117
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
105
118
|
}
|
|
106
119
|
|
|
107
120
|
|
|
@@ -141,6 +154,7 @@ export function instanceOfTaskListLeadDto(value: object): value is TaskListLeadD
|
|
|
141
154
|
if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined) return false;
|
|
142
155
|
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined) return false;
|
|
143
156
|
if (!('rent' in value) || value['rent'] === undefined) return false;
|
|
157
|
+
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
|
|
144
158
|
return true;
|
|
145
159
|
}
|
|
146
160
|
|
|
@@ -163,6 +177,7 @@ export function TaskListLeadDtoFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
163
177
|
'lastSellerOffer': TaskListLeadOfferDtoFromJSON(json['lastSellerOffer']),
|
|
164
178
|
'leaseToOwn': TaskListLeadLeaseToOwnConfigurationDtoFromJSON(json['leaseToOwn']),
|
|
165
179
|
'rent': TaskListLeadRentConfigurationDtoFromJSON(json['rent']),
|
|
180
|
+
'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
|
|
166
181
|
};
|
|
167
182
|
}
|
|
168
183
|
|
|
@@ -186,6 +201,7 @@ export function TaskListLeadDtoToJSONTyped(value?: TaskListLeadDto | null, ignor
|
|
|
186
201
|
'lastSellerOffer': TaskListLeadOfferDtoToJSON(value['lastSellerOffer']),
|
|
187
202
|
'leaseToOwn': TaskListLeadLeaseToOwnConfigurationDtoToJSON(value['leaseToOwn']),
|
|
188
203
|
'rent': TaskListLeadRentConfigurationDtoToJSON(value['rent']),
|
|
204
|
+
'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
|
|
189
205
|
};
|
|
190
206
|
}
|
|
191
207
|
|
|
@@ -48,6 +48,13 @@ import {
|
|
|
48
48
|
AccountSettingsLeaseToOwnConfigurationDtoToJSON,
|
|
49
49
|
AccountSettingsLeaseToOwnConfigurationDtoToJSONTyped,
|
|
50
50
|
} from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
51
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
52
|
+
import {
|
|
53
|
+
LeadOfferExpirationConfigurationDtoFromJSON,
|
|
54
|
+
LeadOfferExpirationConfigurationDtoFromJSONTyped,
|
|
55
|
+
LeadOfferExpirationConfigurationDtoToJSON,
|
|
56
|
+
LeadOfferExpirationConfigurationDtoToJSONTyped,
|
|
57
|
+
} from './LeadOfferExpirationConfigurationDto';
|
|
51
58
|
import type { AuctionConfigurationDto } from './AuctionConfigurationDto';
|
|
52
59
|
import {
|
|
53
60
|
AuctionConfigurationDtoFromJSON,
|
|
@@ -228,6 +235,12 @@ export interface WithSettingsInner {
|
|
|
228
235
|
* @memberof WithSettingsInner
|
|
229
236
|
*/
|
|
230
237
|
domainLockConfiguration: DomainLockConfigurationDto;
|
|
238
|
+
/**
|
|
239
|
+
*
|
|
240
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
241
|
+
* @memberof WithSettingsInner
|
|
242
|
+
*/
|
|
243
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
231
244
|
}
|
|
232
245
|
|
|
233
246
|
/**
|
|
@@ -257,6 +270,7 @@ export function instanceOfWithSettingsInner(value: object): value is WithSetting
|
|
|
257
270
|
if (!('commissionsByDateRange' in value) || value['commissionsByDateRange'] === undefined) return false;
|
|
258
271
|
if (!('auctionConfiguration' in value) || value['auctionConfiguration'] === undefined) return false;
|
|
259
272
|
if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined) return false;
|
|
273
|
+
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
|
|
260
274
|
return true;
|
|
261
275
|
}
|
|
262
276
|
|
|
@@ -293,6 +307,7 @@ export function WithSettingsInnerFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
293
307
|
'commissionsByDateRange': ((json['commissionsByDateRange'] as Array<any>).map(AccountCommissionByDateRangeDtoFromJSON)),
|
|
294
308
|
'auctionConfiguration': AuctionConfigurationDtoFromJSON(json['auctionConfiguration']),
|
|
295
309
|
'domainLockConfiguration': DomainLockConfigurationDtoFromJSON(json['domainLockConfiguration']),
|
|
310
|
+
'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
|
|
296
311
|
};
|
|
297
312
|
}
|
|
298
313
|
|
|
@@ -330,6 +345,7 @@ export function WithSettingsInnerToJSONTyped(value?: WithSettingsInner | null, i
|
|
|
330
345
|
'commissionsByDateRange': ((value['commissionsByDateRange'] as Array<any>).map(AccountCommissionByDateRangeDtoToJSON)),
|
|
331
346
|
'auctionConfiguration': AuctionConfigurationDtoToJSON(value['auctionConfiguration']),
|
|
332
347
|
'domainLockConfiguration': DomainLockConfigurationDtoToJSON(value['domainLockConfiguration']),
|
|
348
|
+
'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
|
|
333
349
|
};
|
|
334
350
|
}
|
|
335
351
|
|
package/src/models/index.ts
CHANGED
|
@@ -199,6 +199,9 @@ export * from './LeadMessageData';
|
|
|
199
199
|
export * from './LeadMessageDataLeaseToOwn';
|
|
200
200
|
export * from './LeadMessageDto';
|
|
201
201
|
export * from './LeadOfferDto';
|
|
202
|
+
export * from './LeadOfferExpirationConfigurationDto';
|
|
203
|
+
export * from './LeadOfferExpirationConfigurationInput';
|
|
204
|
+
export * from './LeadOfferExpirationDurationInput';
|
|
202
205
|
export * from './LeadPriceNegotiatorAiAgentConfigurationDto';
|
|
203
206
|
export * from './LeadPriceNegotiatorAiAgentConfigurationInput';
|
|
204
207
|
export * from './LeadRentConfigurationDto';
|