@randock/nameshift-api-client 0.0.365 → 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/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +7 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +5 -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/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +16 -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,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);
|
package/package.json
CHANGED
package/src/apis/LeadsApi.ts
CHANGED
|
@@ -21,6 +21,7 @@ import type {
|
|
|
21
21
|
CreateManualLeadInput,
|
|
22
22
|
IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto,
|
|
23
23
|
LeadLeaseToOwnAndRentConfigurationPresetsDto,
|
|
24
|
+
LeadOfferExpirationConfigurationInput,
|
|
24
25
|
List200Response,
|
|
25
26
|
ListLeadMessagesDto,
|
|
26
27
|
LockConfigurationInput,
|
|
@@ -43,6 +44,8 @@ import {
|
|
|
43
44
|
IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoToJSON,
|
|
44
45
|
LeadLeaseToOwnAndRentConfigurationPresetsDtoFromJSON,
|
|
45
46
|
LeadLeaseToOwnAndRentConfigurationPresetsDtoToJSON,
|
|
47
|
+
LeadOfferExpirationConfigurationInputFromJSON,
|
|
48
|
+
LeadOfferExpirationConfigurationInputToJSON,
|
|
46
49
|
List200ResponseFromJSON,
|
|
47
50
|
List200ResponseToJSON,
|
|
48
51
|
ListLeadMessagesDtoFromJSON,
|
|
@@ -129,6 +132,11 @@ export interface LeadsApiUpdateLeadMuteStatusRequest {
|
|
|
129
132
|
updateLeadMuteStatusInput: UpdateLeadMuteStatusInput;
|
|
130
133
|
}
|
|
131
134
|
|
|
135
|
+
export interface LeadsApiUpdateLeadOfferExpirationConfigurationRequest {
|
|
136
|
+
leadId: string;
|
|
137
|
+
leadOfferExpirationConfigurationInput: LeadOfferExpirationConfigurationInput;
|
|
138
|
+
}
|
|
139
|
+
|
|
132
140
|
/**
|
|
133
141
|
*
|
|
134
142
|
*/
|
|
@@ -835,4 +843,54 @@ export class LeadsApi extends runtime.BaseAPI {
|
|
|
835
843
|
await this.updateLeadMuteStatusRaw(requestParameters, initOverrides);
|
|
836
844
|
}
|
|
837
845
|
|
|
846
|
+
/**
|
|
847
|
+
*
|
|
848
|
+
*/
|
|
849
|
+
async updateLeadOfferExpirationConfigurationRaw(requestParameters: LeadsApiUpdateLeadOfferExpirationConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>> {
|
|
850
|
+
if (requestParameters['leadId'] == null) {
|
|
851
|
+
throw new runtime.RequiredError(
|
|
852
|
+
'leadId',
|
|
853
|
+
'Required parameter "leadId" was null or undefined when calling updateLeadOfferExpirationConfiguration().'
|
|
854
|
+
);
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
if (requestParameters['leadOfferExpirationConfigurationInput'] == null) {
|
|
858
|
+
throw new runtime.RequiredError(
|
|
859
|
+
'leadOfferExpirationConfigurationInput',
|
|
860
|
+
'Required parameter "leadOfferExpirationConfigurationInput" was null or undefined when calling updateLeadOfferExpirationConfiguration().'
|
|
861
|
+
);
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
const queryParameters: any = {};
|
|
865
|
+
|
|
866
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
867
|
+
|
|
868
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
869
|
+
|
|
870
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
871
|
+
const token = this.configuration.accessToken;
|
|
872
|
+
const tokenString = await token("bearer", []);
|
|
873
|
+
|
|
874
|
+
if (tokenString) {
|
|
875
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
const response = await this.request({
|
|
879
|
+
path: `/private/leads/{leadId}/offer-expiration-configuration`.replace(`{${"leadId"}}`, encodeURIComponent(String(requestParameters['leadId']))),
|
|
880
|
+
method: 'PUT',
|
|
881
|
+
headers: headerParameters,
|
|
882
|
+
query: queryParameters,
|
|
883
|
+
body: LeadOfferExpirationConfigurationInputToJSON(requestParameters['leadOfferExpirationConfigurationInput']),
|
|
884
|
+
}, initOverrides);
|
|
885
|
+
|
|
886
|
+
return new runtime.VoidApiResponse(response);
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
*
|
|
891
|
+
*/
|
|
892
|
+
async updateLeadOfferExpirationConfiguration(requestParameters: LeadsApiUpdateLeadOfferExpirationConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void> {
|
|
893
|
+
await this.updateLeadOfferExpirationConfigurationRaw(requestParameters, initOverrides);
|
|
894
|
+
}
|
|
895
|
+
|
|
838
896
|
}
|
|
@@ -41,6 +41,13 @@ import {
|
|
|
41
41
|
AccountSettingsLeaseToOwnConfigurationDtoToJSON,
|
|
42
42
|
AccountSettingsLeaseToOwnConfigurationDtoToJSONTyped,
|
|
43
43
|
} from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
44
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
45
|
+
import {
|
|
46
|
+
LeadOfferExpirationConfigurationDtoFromJSON,
|
|
47
|
+
LeadOfferExpirationConfigurationDtoFromJSONTyped,
|
|
48
|
+
LeadOfferExpirationConfigurationDtoToJSON,
|
|
49
|
+
LeadOfferExpirationConfigurationDtoToJSONTyped,
|
|
50
|
+
} from './LeadOfferExpirationConfigurationDto';
|
|
44
51
|
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
45
52
|
import {
|
|
46
53
|
LandingPageSettingsDtoFromJSON,
|
|
@@ -141,6 +148,12 @@ export interface AccountSettingsDto {
|
|
|
141
148
|
* @memberof AccountSettingsDto
|
|
142
149
|
*/
|
|
143
150
|
domainLockConfiguration: DomainLockConfigurationDto;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
154
|
+
* @memberof AccountSettingsDto
|
|
155
|
+
*/
|
|
156
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
144
157
|
}
|
|
145
158
|
|
|
146
159
|
/**
|
|
@@ -159,6 +172,7 @@ export function instanceOfAccountSettingsDto(value: object): value is AccountSet
|
|
|
159
172
|
if (!('alias' in value) || value['alias'] === undefined) return false;
|
|
160
173
|
if (!('transferCostPaymentMaxPercentage' in value) || value['transferCostPaymentMaxPercentage'] === undefined) return false;
|
|
161
174
|
if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined) return false;
|
|
175
|
+
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined) return false;
|
|
162
176
|
return true;
|
|
163
177
|
}
|
|
164
178
|
|
|
@@ -184,6 +198,7 @@ export function AccountSettingsDtoFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
184
198
|
'alias': AccountSettingsAliasDtoFromJSON(json['alias']),
|
|
185
199
|
'transferCostPaymentMaxPercentage': json['transferCostPaymentMaxPercentage'],
|
|
186
200
|
'domainLockConfiguration': DomainLockConfigurationDtoFromJSON(json['domainLockConfiguration']),
|
|
201
|
+
'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoFromJSON(json['leadOfferExpirationConfiguration']),
|
|
187
202
|
};
|
|
188
203
|
}
|
|
189
204
|
|
|
@@ -210,6 +225,7 @@ export function AccountSettingsDtoToJSONTyped(value?: AccountSettingsDto | null,
|
|
|
210
225
|
'alias': AccountSettingsAliasDtoToJSON(value['alias']),
|
|
211
226
|
'transferCostPaymentMaxPercentage': value['transferCostPaymentMaxPercentage'],
|
|
212
227
|
'domainLockConfiguration': DomainLockConfigurationDtoToJSON(value['domainLockConfiguration']),
|
|
228
|
+
'leadOfferExpirationConfiguration': LeadOfferExpirationConfigurationDtoToJSON(value['leadOfferExpirationConfiguration']),
|
|
213
229
|
};
|
|
214
230
|
}
|
|
215
231
|
|
|
@@ -147,6 +147,12 @@ export interface AccountSettingsInput {
|
|
|
147
147
|
* @memberof AccountSettingsInput
|
|
148
148
|
*/
|
|
149
149
|
domainLockConfiguration?: LockConfigurationInput;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {LockConfigurationInput}
|
|
153
|
+
* @memberof AccountSettingsInput
|
|
154
|
+
*/
|
|
155
|
+
leadOfferExpirationConfiguration?: LockConfigurationInput;
|
|
150
156
|
}
|
|
151
157
|
|
|
152
158
|
/**
|
|
@@ -179,6 +185,7 @@ export function AccountSettingsInputFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
179
185
|
'alias': json['alias'] == null ? undefined : AccountAliasInputFromJSON(json['alias']),
|
|
180
186
|
'transferCostPaymentMaxPercentage': json['transferCostPaymentMaxPercentage'] == null ? undefined : json['transferCostPaymentMaxPercentage'],
|
|
181
187
|
'domainLockConfiguration': json['domainLockConfiguration'] == null ? undefined : LockConfigurationInputFromJSON(json['domainLockConfiguration']),
|
|
188
|
+
'leadOfferExpirationConfiguration': json['leadOfferExpirationConfiguration'] == null ? undefined : LockConfigurationInputFromJSON(json['leadOfferExpirationConfiguration']),
|
|
182
189
|
};
|
|
183
190
|
}
|
|
184
191
|
|
|
@@ -206,6 +213,7 @@ export function AccountSettingsInputToJSONTyped(value?: AccountSettingsInput | n
|
|
|
206
213
|
'alias': AccountAliasInputToJSON(value['alias']),
|
|
207
214
|
'transferCostPaymentMaxPercentage': value['transferCostPaymentMaxPercentage'],
|
|
208
215
|
'domainLockConfiguration': LockConfigurationInputToJSON(value['domainLockConfiguration']),
|
|
216
|
+
'leadOfferExpirationConfiguration': LockConfigurationInputToJSON(value['leadOfferExpirationConfiguration']),
|
|
209
217
|
};
|
|
210
218
|
}
|
|
211
219
|
|
|
@@ -96,6 +96,12 @@ export interface AdminAccountSettingsInput {
|
|
|
96
96
|
* @memberof AdminAccountSettingsInput
|
|
97
97
|
*/
|
|
98
98
|
domainLockConfiguration?: LockConfigurationInput;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {LockConfigurationInput}
|
|
102
|
+
* @memberof AdminAccountSettingsInput
|
|
103
|
+
*/
|
|
104
|
+
leadOfferExpirationConfiguration?: LockConfigurationInput;
|
|
99
105
|
}
|
|
100
106
|
|
|
101
107
|
/**
|
|
@@ -123,6 +129,7 @@ export function AdminAccountSettingsInputFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
123
129
|
'domainAffiliate': json['domainAffiliate'] == null ? undefined : AdminAccountSettingsAffiliateInputFromJSON(json['domainAffiliate']),
|
|
124
130
|
'auctionConfiguration': json['auctionConfiguration'] == null ? undefined : AdminAuctionConfigurationInputFromJSON(json['auctionConfiguration']),
|
|
125
131
|
'domainLockConfiguration': json['domainLockConfiguration'] == null ? undefined : LockConfigurationInputFromJSON(json['domainLockConfiguration']),
|
|
132
|
+
'leadOfferExpirationConfiguration': json['leadOfferExpirationConfiguration'] == null ? undefined : LockConfigurationInputFromJSON(json['leadOfferExpirationConfiguration']),
|
|
126
133
|
};
|
|
127
134
|
}
|
|
128
135
|
|
|
@@ -145,6 +152,7 @@ export function AdminAccountSettingsInputToJSONTyped(value?: AdminAccountSetting
|
|
|
145
152
|
'domainAffiliate': AdminAccountSettingsAffiliateInputToJSON(value['domainAffiliate']),
|
|
146
153
|
'auctionConfiguration': AdminAuctionConfigurationInputToJSON(value['auctionConfiguration']),
|
|
147
154
|
'domainLockConfiguration': LockConfigurationInputToJSON(value['domainLockConfiguration']),
|
|
155
|
+
'leadOfferExpirationConfiguration': LockConfigurationInputToJSON(value['leadOfferExpirationConfiguration']),
|
|
148
156
|
};
|
|
149
157
|
}
|
|
150
158
|
|