@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
package/dist/models/LeadDto.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import type { LeadLeaseToOwnConfigurationDto } from './LeadLeaseToOwnConfigurati
|
|
|
13
13
|
import type { LeadDomainDto } from './LeadDomainDto';
|
|
14
14
|
import type { MoneyDto } from './MoneyDto';
|
|
15
15
|
import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
|
|
16
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
16
17
|
import type { LeadOfferDto } from './LeadOfferDto';
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -134,6 +135,12 @@ export interface LeadDto {
|
|
|
134
135
|
* @memberof LeadDto
|
|
135
136
|
*/
|
|
136
137
|
lastSellerOffer: LeadOfferDto | null;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
141
|
+
* @memberof LeadDto
|
|
142
|
+
*/
|
|
143
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
137
144
|
}
|
|
138
145
|
/**
|
|
139
146
|
* @export
|
package/dist/models/LeadDto.js
CHANGED
|
@@ -23,6 +23,7 @@ var LeadLeaseToOwnConfigurationDto_1 = require("./LeadLeaseToOwnConfigurationDto
|
|
|
23
23
|
var LeadDomainDto_1 = require("./LeadDomainDto");
|
|
24
24
|
var MoneyDto_1 = require("./MoneyDto");
|
|
25
25
|
var LeadRentConfigurationDto_1 = require("./LeadRentConfigurationDto");
|
|
26
|
+
var LeadOfferExpirationConfigurationDto_1 = require("./LeadOfferExpirationConfigurationDto");
|
|
26
27
|
var LeadOfferDto_1 = require("./LeadOfferDto");
|
|
27
28
|
/**
|
|
28
29
|
* @export
|
|
@@ -103,6 +104,8 @@ function instanceOfLeadDto(value) {
|
|
|
103
104
|
return false;
|
|
104
105
|
if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined)
|
|
105
106
|
return false;
|
|
107
|
+
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined)
|
|
108
|
+
return false;
|
|
106
109
|
return true;
|
|
107
110
|
}
|
|
108
111
|
function LeadDtoFromJSON(json) {
|
|
@@ -132,6 +135,7 @@ function LeadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
132
135
|
'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoFromJSON)(json['rent']),
|
|
133
136
|
'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastBuyerOffer']),
|
|
134
137
|
'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastSellerOffer']),
|
|
138
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
135
139
|
};
|
|
136
140
|
}
|
|
137
141
|
function LeadDtoToJSON(json) {
|
|
@@ -162,5 +166,6 @@ function LeadDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
162
166
|
'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoToJSON)(value['rent']),
|
|
163
167
|
'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastBuyerOffer']),
|
|
164
168
|
'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastSellerOffer']),
|
|
169
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
|
|
165
170
|
};
|
|
166
171
|
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
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 { LockDurationDto } from './LockDurationDto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LeadOfferExpirationConfigurationDto
|
|
17
|
+
*/
|
|
18
|
+
export interface LeadOfferExpirationConfigurationDto {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof LeadOfferExpirationConfigurationDto
|
|
23
|
+
*/
|
|
24
|
+
enabled: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {LockDurationDto}
|
|
28
|
+
* @memberof LeadOfferExpirationConfigurationDto
|
|
29
|
+
*/
|
|
30
|
+
duration: LockDurationDto;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the LeadOfferExpirationConfigurationDto interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfLeadOfferExpirationConfigurationDto(value: object): value is LeadOfferExpirationConfigurationDto;
|
|
36
|
+
export declare function LeadOfferExpirationConfigurationDtoFromJSON(json: any): LeadOfferExpirationConfigurationDto;
|
|
37
|
+
export declare function LeadOfferExpirationConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferExpirationConfigurationDto;
|
|
38
|
+
export declare function LeadOfferExpirationConfigurationDtoToJSON(json: any): LeadOfferExpirationConfigurationDto;
|
|
39
|
+
export declare function LeadOfferExpirationConfigurationDtoToJSONTyped(value?: LeadOfferExpirationConfigurationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfLeadOfferExpirationConfigurationDto = instanceOfLeadOfferExpirationConfigurationDto;
|
|
17
|
+
exports.LeadOfferExpirationConfigurationDtoFromJSON = LeadOfferExpirationConfigurationDtoFromJSON;
|
|
18
|
+
exports.LeadOfferExpirationConfigurationDtoFromJSONTyped = LeadOfferExpirationConfigurationDtoFromJSONTyped;
|
|
19
|
+
exports.LeadOfferExpirationConfigurationDtoToJSON = LeadOfferExpirationConfigurationDtoToJSON;
|
|
20
|
+
exports.LeadOfferExpirationConfigurationDtoToJSONTyped = LeadOfferExpirationConfigurationDtoToJSONTyped;
|
|
21
|
+
var LockDurationDto_1 = require("./LockDurationDto");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LeadOfferExpirationConfigurationDto interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLeadOfferExpirationConfigurationDto(value) {
|
|
26
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('duration' in value) || value['duration'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function LeadOfferExpirationConfigurationDtoFromJSON(json) {
|
|
33
|
+
return LeadOfferExpirationConfigurationDtoFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function LeadOfferExpirationConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'enabled': json['enabled'],
|
|
41
|
+
'duration': (0, LockDurationDto_1.LockDurationDtoFromJSON)(json['duration']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function LeadOfferExpirationConfigurationDtoToJSON(json) {
|
|
45
|
+
return LeadOfferExpirationConfigurationDtoToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function LeadOfferExpirationConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'enabled': value['enabled'],
|
|
54
|
+
'duration': (0, LockDurationDto_1.LockDurationDtoToJSON)(value['duration']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
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 { LeadOfferExpirationDurationInput } from './LeadOfferExpirationDurationInput';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LeadOfferExpirationConfigurationInput
|
|
17
|
+
*/
|
|
18
|
+
export interface LeadOfferExpirationConfigurationInput {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof LeadOfferExpirationConfigurationInput
|
|
23
|
+
*/
|
|
24
|
+
enabled?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {LeadOfferExpirationDurationInput}
|
|
28
|
+
* @memberof LeadOfferExpirationConfigurationInput
|
|
29
|
+
*/
|
|
30
|
+
duration?: LeadOfferExpirationDurationInput;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the LeadOfferExpirationConfigurationInput interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfLeadOfferExpirationConfigurationInput(value: object): value is LeadOfferExpirationConfigurationInput;
|
|
36
|
+
export declare function LeadOfferExpirationConfigurationInputFromJSON(json: any): LeadOfferExpirationConfigurationInput;
|
|
37
|
+
export declare function LeadOfferExpirationConfigurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferExpirationConfigurationInput;
|
|
38
|
+
export declare function LeadOfferExpirationConfigurationInputToJSON(json: any): LeadOfferExpirationConfigurationInput;
|
|
39
|
+
export declare function LeadOfferExpirationConfigurationInputToJSONTyped(value?: LeadOfferExpirationConfigurationInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfLeadOfferExpirationConfigurationInput = instanceOfLeadOfferExpirationConfigurationInput;
|
|
17
|
+
exports.LeadOfferExpirationConfigurationInputFromJSON = LeadOfferExpirationConfigurationInputFromJSON;
|
|
18
|
+
exports.LeadOfferExpirationConfigurationInputFromJSONTyped = LeadOfferExpirationConfigurationInputFromJSONTyped;
|
|
19
|
+
exports.LeadOfferExpirationConfigurationInputToJSON = LeadOfferExpirationConfigurationInputToJSON;
|
|
20
|
+
exports.LeadOfferExpirationConfigurationInputToJSONTyped = LeadOfferExpirationConfigurationInputToJSONTyped;
|
|
21
|
+
var LeadOfferExpirationDurationInput_1 = require("./LeadOfferExpirationDurationInput");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the LeadOfferExpirationConfigurationInput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfLeadOfferExpirationConfigurationInput(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function LeadOfferExpirationConfigurationInputFromJSON(json) {
|
|
29
|
+
return LeadOfferExpirationConfigurationInputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function LeadOfferExpirationConfigurationInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
37
|
+
'duration': json['duration'] == null ? undefined : (0, LeadOfferExpirationDurationInput_1.LeadOfferExpirationDurationInputFromJSON)(json['duration']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function LeadOfferExpirationConfigurationInputToJSON(json) {
|
|
41
|
+
return LeadOfferExpirationConfigurationInputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function LeadOfferExpirationConfigurationInputToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'enabled': value['enabled'],
|
|
50
|
+
'duration': (0, LeadOfferExpirationDurationInput_1.LeadOfferExpirationDurationInputToJSON)(value['duration']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Nameshift
|
|
3
|
+
* Nameshift API
|
|
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
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface LeadOfferExpirationDurationInput
|
|
16
|
+
*/
|
|
17
|
+
export interface LeadOfferExpirationDurationInput {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof LeadOfferExpirationDurationInput
|
|
22
|
+
*/
|
|
23
|
+
amount?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LeadOfferExpirationDurationInput
|
|
28
|
+
*/
|
|
29
|
+
unit?: LeadOfferExpirationDurationInputUnitEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const LeadOfferExpirationDurationInputUnitEnum: {
|
|
35
|
+
readonly MINUTE: "minute";
|
|
36
|
+
readonly HOUR: "hour";
|
|
37
|
+
readonly DAY: "day";
|
|
38
|
+
};
|
|
39
|
+
export type LeadOfferExpirationDurationInputUnitEnum = typeof LeadOfferExpirationDurationInputUnitEnum[keyof typeof LeadOfferExpirationDurationInputUnitEnum];
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the LeadOfferExpirationDurationInput interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfLeadOfferExpirationDurationInput(value: object): value is LeadOfferExpirationDurationInput;
|
|
44
|
+
export declare function LeadOfferExpirationDurationInputFromJSON(json: any): LeadOfferExpirationDurationInput;
|
|
45
|
+
export declare function LeadOfferExpirationDurationInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferExpirationDurationInput;
|
|
46
|
+
export declare function LeadOfferExpirationDurationInputToJSON(json: any): LeadOfferExpirationDurationInput;
|
|
47
|
+
export declare function LeadOfferExpirationDurationInputToJSONTyped(value?: LeadOfferExpirationDurationInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Nameshift
|
|
6
|
+
* Nameshift API
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.LeadOfferExpirationDurationInputUnitEnum = void 0;
|
|
17
|
+
exports.instanceOfLeadOfferExpirationDurationInput = instanceOfLeadOfferExpirationDurationInput;
|
|
18
|
+
exports.LeadOfferExpirationDurationInputFromJSON = LeadOfferExpirationDurationInputFromJSON;
|
|
19
|
+
exports.LeadOfferExpirationDurationInputFromJSONTyped = LeadOfferExpirationDurationInputFromJSONTyped;
|
|
20
|
+
exports.LeadOfferExpirationDurationInputToJSON = LeadOfferExpirationDurationInputToJSON;
|
|
21
|
+
exports.LeadOfferExpirationDurationInputToJSONTyped = LeadOfferExpirationDurationInputToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.LeadOfferExpirationDurationInputUnitEnum = {
|
|
26
|
+
MINUTE: 'minute',
|
|
27
|
+
HOUR: 'hour',
|
|
28
|
+
DAY: 'day'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the LeadOfferExpirationDurationInput interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfLeadOfferExpirationDurationInput(value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function LeadOfferExpirationDurationInputFromJSON(json) {
|
|
37
|
+
return LeadOfferExpirationDurationInputFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function LeadOfferExpirationDurationInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'amount': json['amount'] == null ? undefined : json['amount'],
|
|
45
|
+
'unit': json['unit'] == null ? undefined : json['unit'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function LeadOfferExpirationDurationInputToJSON(json) {
|
|
49
|
+
return LeadOfferExpirationDurationInputToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function LeadOfferExpirationDurationInputToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'amount': value['amount'],
|
|
58
|
+
'unit': value['unit'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -14,6 +14,7 @@ import type { LeadMessageData } from './LeadMessageData';
|
|
|
14
14
|
import type { LeadDomainDto } from './LeadDomainDto';
|
|
15
15
|
import type { MoneyDto } from './MoneyDto';
|
|
16
16
|
import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
|
|
17
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
17
18
|
import type { LeadOfferDto } from './LeadOfferDto';
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
@@ -171,6 +172,12 @@ export interface ListLeadsResultItem {
|
|
|
171
172
|
* @memberof ListLeadsResultItem
|
|
172
173
|
*/
|
|
173
174
|
lastSellerOffer: LeadOfferDto | null;
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
178
|
+
* @memberof ListLeadsResultItem
|
|
179
|
+
*/
|
|
180
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
174
181
|
/**
|
|
175
182
|
* The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
|
|
176
183
|
* @type {string}
|
|
@@ -24,6 +24,7 @@ var LeadMessageData_1 = require("./LeadMessageData");
|
|
|
24
24
|
var LeadDomainDto_1 = require("./LeadDomainDto");
|
|
25
25
|
var MoneyDto_1 = require("./MoneyDto");
|
|
26
26
|
var LeadRentConfigurationDto_1 = require("./LeadRentConfigurationDto");
|
|
27
|
+
var LeadOfferExpirationConfigurationDto_1 = require("./LeadOfferExpirationConfigurationDto");
|
|
27
28
|
var LeadOfferDto_1 = require("./LeadOfferDto");
|
|
28
29
|
/**
|
|
29
30
|
* @export
|
|
@@ -135,6 +136,8 @@ function instanceOfListLeadsResultItem(value) {
|
|
|
135
136
|
return false;
|
|
136
137
|
if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined)
|
|
137
138
|
return false;
|
|
139
|
+
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined)
|
|
140
|
+
return false;
|
|
138
141
|
if (!('lastMessageMessage' in value) || value['lastMessageMessage'] === undefined)
|
|
139
142
|
return false;
|
|
140
143
|
if (!('lastMessageDate' in value) || value['lastMessageDate'] === undefined)
|
|
@@ -174,6 +177,7 @@ function ListLeadsResultItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
174
177
|
'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoFromJSON)(json['rent']),
|
|
175
178
|
'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastBuyerOffer']),
|
|
176
179
|
'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastSellerOffer']),
|
|
180
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
177
181
|
'lastMessageMessage': json['lastMessageMessage'],
|
|
178
182
|
'lastMessageDate': (new Date(json['lastMessageDate'])),
|
|
179
183
|
};
|
|
@@ -212,6 +216,7 @@ function ListLeadsResultItemToJSONTyped(value, ignoreDiscriminator) {
|
|
|
212
216
|
'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoToJSON)(value['rent']),
|
|
213
217
|
'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastBuyerOffer']),
|
|
214
218
|
'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastSellerOffer']),
|
|
219
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
|
|
215
220
|
'lastMessageMessage': value['lastMessageMessage'],
|
|
216
221
|
'lastMessageDate': ((value['lastMessageDate']).toISOString()),
|
|
217
222
|
};
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { MoneyDto } from './MoneyDto';
|
|
13
|
+
import type { LeadOfferExpirationConfigurationInput } from './LeadOfferExpirationConfigurationInput';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -34,6 +35,12 @@ export interface PutLeadOfferInput {
|
|
|
34
35
|
* @memberof PutLeadOfferInput
|
|
35
36
|
*/
|
|
36
37
|
leaseToOwnMonths?: number | null;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {LeadOfferExpirationConfigurationInput}
|
|
41
|
+
* @memberof PutLeadOfferInput
|
|
42
|
+
*/
|
|
43
|
+
leadOfferExpirationConfiguration?: LeadOfferExpirationConfigurationInput;
|
|
37
44
|
}
|
|
38
45
|
/**
|
|
39
46
|
* @export
|
|
@@ -20,6 +20,7 @@ exports.PutLeadOfferInputFromJSONTyped = PutLeadOfferInputFromJSONTyped;
|
|
|
20
20
|
exports.PutLeadOfferInputToJSON = PutLeadOfferInputToJSON;
|
|
21
21
|
exports.PutLeadOfferInputToJSONTyped = PutLeadOfferInputToJSONTyped;
|
|
22
22
|
var MoneyDto_1 = require("./MoneyDto");
|
|
23
|
+
var LeadOfferExpirationConfigurationInput_1 = require("./LeadOfferExpirationConfigurationInput");
|
|
23
24
|
/**
|
|
24
25
|
* @export
|
|
25
26
|
*/
|
|
@@ -46,6 +47,7 @@ function PutLeadOfferInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
47
|
'offer': json['offer'] == null ? undefined : (0, MoneyDto_1.MoneyDtoFromJSON)(json['offer']),
|
|
47
48
|
'offerType': json['offerType'] == null ? undefined : json['offerType'],
|
|
48
49
|
'leaseToOwnMonths': json['leaseToOwnMonths'] == null ? undefined : json['leaseToOwnMonths'],
|
|
50
|
+
'leadOfferExpirationConfiguration': json['leadOfferExpirationConfiguration'] == null ? undefined : (0, LeadOfferExpirationConfigurationInput_1.LeadOfferExpirationConfigurationInputFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
49
51
|
};
|
|
50
52
|
}
|
|
51
53
|
function PutLeadOfferInputToJSON(json) {
|
|
@@ -60,5 +62,6 @@ function PutLeadOfferInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
60
62
|
'offer': (0, MoneyDto_1.MoneyDtoToJSON)(value['offer']),
|
|
61
63
|
'offerType': value['offerType'],
|
|
62
64
|
'leaseToOwnMonths': value['leaseToOwnMonths'],
|
|
65
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationInput_1.LeadOfferExpirationConfigurationInputToJSON)(value['leadOfferExpirationConfiguration']),
|
|
63
66
|
};
|
|
64
67
|
}
|
|
@@ -14,6 +14,7 @@ import type { MoneyDto } from './MoneyDto';
|
|
|
14
14
|
import type { IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto } from './IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto';
|
|
15
15
|
import type { BuyerDto } from './BuyerDto';
|
|
16
16
|
import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
|
|
17
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
17
18
|
import type { DomainLockConfigurationDto } from './DomainLockConfigurationDto';
|
|
18
19
|
import type { LeadOfferDto } from './LeadOfferDto';
|
|
19
20
|
/**
|
|
@@ -154,6 +155,12 @@ export interface SellerLeadDetails {
|
|
|
154
155
|
* @memberof SellerLeadDetails
|
|
155
156
|
*/
|
|
156
157
|
lastSellerOffer: LeadOfferDto | null;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
161
|
+
* @memberof SellerLeadDetails
|
|
162
|
+
*/
|
|
163
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
157
164
|
}
|
|
158
165
|
/**
|
|
159
166
|
* @export
|
|
@@ -24,6 +24,7 @@ var MoneyDto_1 = require("./MoneyDto");
|
|
|
24
24
|
var IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto_1 = require("./IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto");
|
|
25
25
|
var BuyerDto_1 = require("./BuyerDto");
|
|
26
26
|
var LeadRentConfigurationDto_1 = require("./LeadRentConfigurationDto");
|
|
27
|
+
var LeadOfferExpirationConfigurationDto_1 = require("./LeadOfferExpirationConfigurationDto");
|
|
27
28
|
var DomainLockConfigurationDto_1 = require("./DomainLockConfigurationDto");
|
|
28
29
|
var LeadOfferDto_1 = require("./LeadOfferDto");
|
|
29
30
|
/**
|
|
@@ -111,6 +112,8 @@ function instanceOfSellerLeadDetails(value) {
|
|
|
111
112
|
return false;
|
|
112
113
|
if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined)
|
|
113
114
|
return false;
|
|
115
|
+
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined)
|
|
116
|
+
return false;
|
|
114
117
|
return true;
|
|
115
118
|
}
|
|
116
119
|
function SellerLeadDetailsFromJSON(json) {
|
|
@@ -143,6 +146,7 @@ function SellerLeadDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
143
146
|
'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoFromJSON)(json['rent']),
|
|
144
147
|
'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastBuyerOffer']),
|
|
145
148
|
'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastSellerOffer']),
|
|
149
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
146
150
|
};
|
|
147
151
|
}
|
|
148
152
|
function SellerLeadDetailsToJSON(json) {
|
|
@@ -176,5 +180,6 @@ function SellerLeadDetailsToJSONTyped(value, ignoreDiscriminator) {
|
|
|
176
180
|
'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoToJSON)(value['rent']),
|
|
177
181
|
'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastBuyerOffer']),
|
|
178
182
|
'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastSellerOffer']),
|
|
183
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
|
|
179
184
|
};
|
|
180
185
|
}
|
|
@@ -13,6 +13,7 @@ import type { TaskListLeadLeaseToOwnConfigurationDto } from './TaskListLeadLease
|
|
|
13
13
|
import type { TaskListLeadOfferDto } from './TaskListLeadOfferDto';
|
|
14
14
|
import type { MoneyDto } from './MoneyDto';
|
|
15
15
|
import type { TaskListLeadRentConfigurationDto } from './TaskListLeadRentConfigurationDto';
|
|
16
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
16
17
|
/**
|
|
17
18
|
*
|
|
18
19
|
* @export
|
|
@@ -73,6 +74,12 @@ export interface TaskListLeadDto {
|
|
|
73
74
|
* @memberof TaskListLeadDto
|
|
74
75
|
*/
|
|
75
76
|
rent: TaskListLeadRentConfigurationDto;
|
|
77
|
+
/**
|
|
78
|
+
* Lead offer expiration configuration
|
|
79
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
80
|
+
* @memberof TaskListLeadDto
|
|
81
|
+
*/
|
|
82
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
76
83
|
}
|
|
77
84
|
/**
|
|
78
85
|
* @export
|
|
@@ -23,6 +23,7 @@ var TaskListLeadLeaseToOwnConfigurationDto_1 = require("./TaskListLeadLeaseToOwn
|
|
|
23
23
|
var TaskListLeadOfferDto_1 = require("./TaskListLeadOfferDto");
|
|
24
24
|
var MoneyDto_1 = require("./MoneyDto");
|
|
25
25
|
var TaskListLeadRentConfigurationDto_1 = require("./TaskListLeadRentConfigurationDto");
|
|
26
|
+
var LeadOfferExpirationConfigurationDto_1 = require("./LeadOfferExpirationConfigurationDto");
|
|
26
27
|
/**
|
|
27
28
|
* @export
|
|
28
29
|
*/
|
|
@@ -63,6 +64,8 @@ function instanceOfTaskListLeadDto(value) {
|
|
|
63
64
|
return false;
|
|
64
65
|
if (!('rent' in value) || value['rent'] === undefined)
|
|
65
66
|
return false;
|
|
67
|
+
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined)
|
|
68
|
+
return false;
|
|
66
69
|
return true;
|
|
67
70
|
}
|
|
68
71
|
function TaskListLeadDtoFromJSON(json) {
|
|
@@ -82,6 +85,7 @@ function TaskListLeadDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
82
85
|
'lastSellerOffer': (0, TaskListLeadOfferDto_1.TaskListLeadOfferDtoFromJSON)(json['lastSellerOffer']),
|
|
83
86
|
'leaseToOwn': (0, TaskListLeadLeaseToOwnConfigurationDto_1.TaskListLeadLeaseToOwnConfigurationDtoFromJSON)(json['leaseToOwn']),
|
|
84
87
|
'rent': (0, TaskListLeadRentConfigurationDto_1.TaskListLeadRentConfigurationDtoFromJSON)(json['rent']),
|
|
88
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
85
89
|
};
|
|
86
90
|
}
|
|
87
91
|
function TaskListLeadDtoToJSON(json) {
|
|
@@ -102,5 +106,6 @@ function TaskListLeadDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
102
106
|
'lastSellerOffer': (0, TaskListLeadOfferDto_1.TaskListLeadOfferDtoToJSON)(value['lastSellerOffer']),
|
|
103
107
|
'leaseToOwn': (0, TaskListLeadLeaseToOwnConfigurationDto_1.TaskListLeadLeaseToOwnConfigurationDtoToJSON)(value['leaseToOwn']),
|
|
104
108
|
'rent': (0, TaskListLeadRentConfigurationDto_1.TaskListLeadRentConfigurationDtoToJSON)(value['rent']),
|
|
109
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
|
|
105
110
|
};
|
|
106
111
|
}
|
|
@@ -14,6 +14,7 @@ import type { AccountSettingsAffiliateDto } from './AccountSettingsAffiliateDto'
|
|
|
14
14
|
import type { MoneyDto } from './MoneyDto';
|
|
15
15
|
import type { AccountAliasDto } from './AccountAliasDto';
|
|
16
16
|
import type { AccountSettingsLeaseToOwnConfigurationDto } from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
17
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
17
18
|
import type { AuctionConfigurationDto } from './AuctionConfigurationDto';
|
|
18
19
|
import type { AccountCommissionByDateRangeDto } from './AccountCommissionByDateRangeDto';
|
|
19
20
|
import type { TimeTableConfigurationDto } from './TimeTableConfigurationDto';
|
|
@@ -163,6 +164,12 @@ export interface WithSettingsInner {
|
|
|
163
164
|
* @memberof WithSettingsInner
|
|
164
165
|
*/
|
|
165
166
|
domainLockConfiguration: DomainLockConfigurationDto;
|
|
167
|
+
/**
|
|
168
|
+
*
|
|
169
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
170
|
+
* @memberof WithSettingsInner
|
|
171
|
+
*/
|
|
172
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
166
173
|
}
|
|
167
174
|
/**
|
|
168
175
|
* Check if a given object implements the WithSettingsInner interface.
|
|
@@ -23,6 +23,7 @@ var AccountSettingsAffiliateDto_1 = require("./AccountSettingsAffiliateDto");
|
|
|
23
23
|
var MoneyDto_1 = require("./MoneyDto");
|
|
24
24
|
var AccountAliasDto_1 = require("./AccountAliasDto");
|
|
25
25
|
var AccountSettingsLeaseToOwnConfigurationDto_1 = require("./AccountSettingsLeaseToOwnConfigurationDto");
|
|
26
|
+
var LeadOfferExpirationConfigurationDto_1 = require("./LeadOfferExpirationConfigurationDto");
|
|
26
27
|
var AuctionConfigurationDto_1 = require("./AuctionConfigurationDto");
|
|
27
28
|
var AccountCommissionByDateRangeDto_1 = require("./AccountCommissionByDateRangeDto");
|
|
28
29
|
var TimeTableConfigurationDto_1 = require("./TimeTableConfigurationDto");
|
|
@@ -78,6 +79,8 @@ function instanceOfWithSettingsInner(value) {
|
|
|
78
79
|
return false;
|
|
79
80
|
if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined)
|
|
80
81
|
return false;
|
|
82
|
+
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined)
|
|
83
|
+
return false;
|
|
81
84
|
return true;
|
|
82
85
|
}
|
|
83
86
|
function WithSettingsInnerFromJSON(json) {
|
|
@@ -111,6 +114,7 @@ function WithSettingsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
111
114
|
'commissionsByDateRange': (json['commissionsByDateRange'].map(AccountCommissionByDateRangeDto_1.AccountCommissionByDateRangeDtoFromJSON)),
|
|
112
115
|
'auctionConfiguration': (0, AuctionConfigurationDto_1.AuctionConfigurationDtoFromJSON)(json['auctionConfiguration']),
|
|
113
116
|
'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoFromJSON)(json['domainLockConfiguration']),
|
|
117
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
114
118
|
};
|
|
115
119
|
}
|
|
116
120
|
function WithSettingsInnerToJSON(json) {
|
|
@@ -145,5 +149,6 @@ function WithSettingsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
|
145
149
|
'commissionsByDateRange': (value['commissionsByDateRange'].map(AccountCommissionByDateRangeDto_1.AccountCommissionByDateRangeDtoToJSON)),
|
|
146
150
|
'auctionConfiguration': (0, AuctionConfigurationDto_1.AuctionConfigurationDtoToJSON)(value['auctionConfiguration']),
|
|
147
151
|
'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoToJSON)(value['domainLockConfiguration']),
|
|
152
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
|
|
148
153
|
};
|
|
149
154
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -197,6 +197,9 @@ export * from './LeadMessageData';
|
|
|
197
197
|
export * from './LeadMessageDataLeaseToOwn';
|
|
198
198
|
export * from './LeadMessageDto';
|
|
199
199
|
export * from './LeadOfferDto';
|
|
200
|
+
export * from './LeadOfferExpirationConfigurationDto';
|
|
201
|
+
export * from './LeadOfferExpirationConfigurationInput';
|
|
202
|
+
export * from './LeadOfferExpirationDurationInput';
|
|
200
203
|
export * from './LeadPriceNegotiatorAiAgentConfigurationDto';
|
|
201
204
|
export * from './LeadPriceNegotiatorAiAgentConfigurationInput';
|
|
202
205
|
export * from './LeadRentConfigurationDto';
|
package/dist/models/index.js
CHANGED
|
@@ -215,6 +215,9 @@ __exportStar(require("./LeadMessageData"), exports);
|
|
|
215
215
|
__exportStar(require("./LeadMessageDataLeaseToOwn"), exports);
|
|
216
216
|
__exportStar(require("./LeadMessageDto"), exports);
|
|
217
217
|
__exportStar(require("./LeadOfferDto"), exports);
|
|
218
|
+
__exportStar(require("./LeadOfferExpirationConfigurationDto"), exports);
|
|
219
|
+
__exportStar(require("./LeadOfferExpirationConfigurationInput"), exports);
|
|
220
|
+
__exportStar(require("./LeadOfferExpirationDurationInput"), exports);
|
|
218
221
|
__exportStar(require("./LeadPriceNegotiatorAiAgentConfigurationDto"), exports);
|
|
219
222
|
__exportStar(require("./LeadPriceNegotiatorAiAgentConfigurationInput"), exports);
|
|
220
223
|
__exportStar(require("./LeadRentConfigurationDto"), exports);
|