@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
package/.openapi-generator/FILES
CHANGED
|
@@ -232,6 +232,9 @@ src/models/LeadMessageData.ts
|
|
|
232
232
|
src/models/LeadMessageDataLeaseToOwn.ts
|
|
233
233
|
src/models/LeadMessageDto.ts
|
|
234
234
|
src/models/LeadOfferDto.ts
|
|
235
|
+
src/models/LeadOfferExpirationConfigurationDto.ts
|
|
236
|
+
src/models/LeadOfferExpirationConfigurationInput.ts
|
|
237
|
+
src/models/LeadOfferExpirationDurationInput.ts
|
|
235
238
|
src/models/LeadPriceNegotiatorAiAgentConfigurationDto.ts
|
|
236
239
|
src/models/LeadPriceNegotiatorAiAgentConfigurationInput.ts
|
|
237
240
|
src/models/LeadRentConfigurationDto.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @randock/nameshift-api-client@0.0.
|
|
1
|
+
## @randock/nameshift-api-client@0.0.366
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @randock/nameshift-api-client@0.0.
|
|
39
|
+
npm install @randock/nameshift-api-client@0.0.366 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -44,4 +44,4 @@ _unPublished (not recommended):_
|
|
|
44
44
|
```
|
|
45
45
|
npm install PATH_TO_GENERATED_PACKAGE --save
|
|
46
46
|
```
|
|
47
|
-
|
|
47
|
+
cb2f5f5f448dc6b306e243f3d4db3ce360d0a0fe0cb71171f164301d3ff5a154dde74728357cfc28dbe177e2e9e8c184
|
package/dist/apis/LeadsApi.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { BatchReadSellerLeadMessageInput, CreateLeadMessageInput, CreateManualLeadInput, IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto, LeadLeaseToOwnAndRentConfigurationPresetsDto, List200Response, ListLeadMessagesDto, LockConfigurationInput, ObjectId, PutLeadOfferInput, SellerLeadDetails, UpdateLeadMuteStatusInput } from '../models/index';
|
|
13
|
+
import type { BatchReadSellerLeadMessageInput, CreateLeadMessageInput, CreateManualLeadInput, IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto, LeadLeaseToOwnAndRentConfigurationPresetsDto, LeadOfferExpirationConfigurationInput, List200Response, ListLeadMessagesDto, LockConfigurationInput, ObjectId, PutLeadOfferInput, SellerLeadDetails, UpdateLeadMuteStatusInput } from '../models/index';
|
|
14
14
|
export interface LeadsApiAcceptLeadOfferRequest {
|
|
15
15
|
leadId: string;
|
|
16
16
|
}
|
|
@@ -64,6 +64,10 @@ export interface LeadsApiUpdateLeadMuteStatusRequest {
|
|
|
64
64
|
leadId: string;
|
|
65
65
|
updateLeadMuteStatusInput: UpdateLeadMuteStatusInput;
|
|
66
66
|
}
|
|
67
|
+
export interface LeadsApiUpdateLeadOfferExpirationConfigurationRequest {
|
|
68
|
+
leadId: string;
|
|
69
|
+
leadOfferExpirationConfigurationInput: LeadOfferExpirationConfigurationInput;
|
|
70
|
+
}
|
|
67
71
|
/**
|
|
68
72
|
*
|
|
69
73
|
*/
|
|
@@ -196,4 +200,12 @@ export declare class LeadsApi extends runtime.BaseAPI {
|
|
|
196
200
|
*
|
|
197
201
|
*/
|
|
198
202
|
updateLeadMuteStatus(requestParameters: LeadsApiUpdateLeadMuteStatusRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
203
|
+
/**
|
|
204
|
+
*
|
|
205
|
+
*/
|
|
206
|
+
updateLeadOfferExpirationConfigurationRaw(requestParameters: LeadsApiUpdateLeadOfferExpirationConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
207
|
+
/**
|
|
208
|
+
*
|
|
209
|
+
*/
|
|
210
|
+
updateLeadOfferExpirationConfiguration(requestParameters: LeadsApiUpdateLeadOfferExpirationConfigurationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
199
211
|
}
|
package/dist/apis/LeadsApi.js
CHANGED
|
@@ -937,6 +937,62 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
937
937
|
});
|
|
938
938
|
});
|
|
939
939
|
};
|
|
940
|
+
/**
|
|
941
|
+
*
|
|
942
|
+
*/
|
|
943
|
+
LeadsApi.prototype.updateLeadOfferExpirationConfigurationRaw = function (requestParameters, initOverrides) {
|
|
944
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
945
|
+
var queryParameters, headerParameters, token, tokenString, response;
|
|
946
|
+
return __generator(this, function (_a) {
|
|
947
|
+
switch (_a.label) {
|
|
948
|
+
case 0:
|
|
949
|
+
if (requestParameters['leadId'] == null) {
|
|
950
|
+
throw new runtime.RequiredError('leadId', 'Required parameter "leadId" was null or undefined when calling updateLeadOfferExpirationConfiguration().');
|
|
951
|
+
}
|
|
952
|
+
if (requestParameters['leadOfferExpirationConfigurationInput'] == null) {
|
|
953
|
+
throw new runtime.RequiredError('leadOfferExpirationConfigurationInput', 'Required parameter "leadOfferExpirationConfigurationInput" was null or undefined when calling updateLeadOfferExpirationConfiguration().');
|
|
954
|
+
}
|
|
955
|
+
queryParameters = {};
|
|
956
|
+
headerParameters = {};
|
|
957
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
958
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
959
|
+
token = this.configuration.accessToken;
|
|
960
|
+
return [4 /*yield*/, token("bearer", [])];
|
|
961
|
+
case 1:
|
|
962
|
+
tokenString = _a.sent();
|
|
963
|
+
if (tokenString) {
|
|
964
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
965
|
+
}
|
|
966
|
+
_a.label = 2;
|
|
967
|
+
case 2: return [4 /*yield*/, this.request({
|
|
968
|
+
path: "/private/leads/{leadId}/offer-expiration-configuration".replace("{".concat("leadId", "}"), encodeURIComponent(String(requestParameters['leadId']))),
|
|
969
|
+
method: 'PUT',
|
|
970
|
+
headers: headerParameters,
|
|
971
|
+
query: queryParameters,
|
|
972
|
+
body: (0, index_1.LeadOfferExpirationConfigurationInputToJSON)(requestParameters['leadOfferExpirationConfigurationInput']),
|
|
973
|
+
}, initOverrides)];
|
|
974
|
+
case 3:
|
|
975
|
+
response = _a.sent();
|
|
976
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
977
|
+
}
|
|
978
|
+
});
|
|
979
|
+
});
|
|
980
|
+
};
|
|
981
|
+
/**
|
|
982
|
+
*
|
|
983
|
+
*/
|
|
984
|
+
LeadsApi.prototype.updateLeadOfferExpirationConfiguration = function (requestParameters, initOverrides) {
|
|
985
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
986
|
+
return __generator(this, function (_a) {
|
|
987
|
+
switch (_a.label) {
|
|
988
|
+
case 0: return [4 /*yield*/, this.updateLeadOfferExpirationConfigurationRaw(requestParameters, initOverrides)];
|
|
989
|
+
case 1:
|
|
990
|
+
_a.sent();
|
|
991
|
+
return [2 /*return*/];
|
|
992
|
+
}
|
|
993
|
+
});
|
|
994
|
+
});
|
|
995
|
+
};
|
|
940
996
|
return LeadsApi;
|
|
941
997
|
}(runtime.BaseAPI));
|
|
942
998
|
exports.LeadsApi = LeadsApi;
|
|
@@ -13,6 +13,7 @@ import type { MoneyDto } from './MoneyDto';
|
|
|
13
13
|
import type { AccountSettingsSidnDto } from './AccountSettingsSidnDto';
|
|
14
14
|
import type { AccountSettingsAliasDto } from './AccountSettingsAliasDto';
|
|
15
15
|
import type { AccountSettingsLeaseToOwnConfigurationDto } from './AccountSettingsLeaseToOwnConfigurationDto';
|
|
16
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
16
17
|
import type { LandingPageSettingsDto } from './LandingPageSettingsDto';
|
|
17
18
|
import type { DomainLockConfigurationDto } from './DomainLockConfigurationDto';
|
|
18
19
|
import type { AccountSettingsRentConfigurationDto } from './AccountSettingsRentConfigurationDto';
|
|
@@ -94,6 +95,12 @@ export interface AccountSettingsDto {
|
|
|
94
95
|
* @memberof AccountSettingsDto
|
|
95
96
|
*/
|
|
96
97
|
domainLockConfiguration: DomainLockConfigurationDto;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
101
|
+
* @memberof AccountSettingsDto
|
|
102
|
+
*/
|
|
103
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
97
104
|
}
|
|
98
105
|
/**
|
|
99
106
|
* Check if a given object implements the AccountSettingsDto interface.
|
|
@@ -22,6 +22,7 @@ var MoneyDto_1 = require("./MoneyDto");
|
|
|
22
22
|
var AccountSettingsSidnDto_1 = require("./AccountSettingsSidnDto");
|
|
23
23
|
var AccountSettingsAliasDto_1 = require("./AccountSettingsAliasDto");
|
|
24
24
|
var AccountSettingsLeaseToOwnConfigurationDto_1 = require("./AccountSettingsLeaseToOwnConfigurationDto");
|
|
25
|
+
var LeadOfferExpirationConfigurationDto_1 = require("./LeadOfferExpirationConfigurationDto");
|
|
25
26
|
var LandingPageSettingsDto_1 = require("./LandingPageSettingsDto");
|
|
26
27
|
var DomainLockConfigurationDto_1 = require("./DomainLockConfigurationDto");
|
|
27
28
|
var AccountSettingsRentConfigurationDto_1 = require("./AccountSettingsRentConfigurationDto");
|
|
@@ -53,6 +54,8 @@ function instanceOfAccountSettingsDto(value) {
|
|
|
53
54
|
return false;
|
|
54
55
|
if (!('domainLockConfiguration' in value) || value['domainLockConfiguration'] === undefined)
|
|
55
56
|
return false;
|
|
57
|
+
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined)
|
|
58
|
+
return false;
|
|
56
59
|
return true;
|
|
57
60
|
}
|
|
58
61
|
function AccountSettingsDtoFromJSON(json) {
|
|
@@ -75,6 +78,7 @@ function AccountSettingsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
75
78
|
'alias': (0, AccountSettingsAliasDto_1.AccountSettingsAliasDtoFromJSON)(json['alias']),
|
|
76
79
|
'transferCostPaymentMaxPercentage': json['transferCostPaymentMaxPercentage'],
|
|
77
80
|
'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoFromJSON)(json['domainLockConfiguration']),
|
|
81
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
78
82
|
};
|
|
79
83
|
}
|
|
80
84
|
function AccountSettingsDtoToJSON(json) {
|
|
@@ -98,5 +102,6 @@ function AccountSettingsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
98
102
|
'alias': (0, AccountSettingsAliasDto_1.AccountSettingsAliasDtoToJSON)(value['alias']),
|
|
99
103
|
'transferCostPaymentMaxPercentage': value['transferCostPaymentMaxPercentage'],
|
|
100
104
|
'domainLockConfiguration': (0, DomainLockConfigurationDto_1.DomainLockConfigurationDtoToJSON)(value['domainLockConfiguration']),
|
|
105
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
|
|
101
106
|
};
|
|
102
107
|
}
|
|
@@ -100,6 +100,12 @@ export interface AccountSettingsInput {
|
|
|
100
100
|
* @memberof AccountSettingsInput
|
|
101
101
|
*/
|
|
102
102
|
domainLockConfiguration?: LockConfigurationInput;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {LockConfigurationInput}
|
|
106
|
+
* @memberof AccountSettingsInput
|
|
107
|
+
*/
|
|
108
|
+
leadOfferExpirationConfiguration?: LockConfigurationInput;
|
|
103
109
|
}
|
|
104
110
|
/**
|
|
105
111
|
* Check if a given object implements the AccountSettingsInput interface.
|
|
@@ -52,6 +52,7 @@ function AccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
'alias': json['alias'] == null ? undefined : (0, AccountAliasInput_1.AccountAliasInputFromJSON)(json['alias']),
|
|
53
53
|
'transferCostPaymentMaxPercentage': json['transferCostPaymentMaxPercentage'] == null ? undefined : json['transferCostPaymentMaxPercentage'],
|
|
54
54
|
'domainLockConfiguration': json['domainLockConfiguration'] == null ? undefined : (0, LockConfigurationInput_1.LockConfigurationInputFromJSON)(json['domainLockConfiguration']),
|
|
55
|
+
'leadOfferExpirationConfiguration': json['leadOfferExpirationConfiguration'] == null ? undefined : (0, LockConfigurationInput_1.LockConfigurationInputFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
55
56
|
};
|
|
56
57
|
}
|
|
57
58
|
function AccountSettingsInputToJSON(json) {
|
|
@@ -76,5 +77,6 @@ function AccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
76
77
|
'alias': (0, AccountAliasInput_1.AccountAliasInputToJSON)(value['alias']),
|
|
77
78
|
'transferCostPaymentMaxPercentage': value['transferCostPaymentMaxPercentage'],
|
|
78
79
|
'domainLockConfiguration': (0, LockConfigurationInput_1.LockConfigurationInputToJSON)(value['domainLockConfiguration']),
|
|
80
|
+
'leadOfferExpirationConfiguration': (0, LockConfigurationInput_1.LockConfigurationInputToJSON)(value['leadOfferExpirationConfiguration']),
|
|
79
81
|
};
|
|
80
82
|
}
|
|
@@ -67,6 +67,12 @@ export interface AdminAccountSettingsInput {
|
|
|
67
67
|
* @memberof AdminAccountSettingsInput
|
|
68
68
|
*/
|
|
69
69
|
domainLockConfiguration?: LockConfigurationInput;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {LockConfigurationInput}
|
|
73
|
+
* @memberof AdminAccountSettingsInput
|
|
74
|
+
*/
|
|
75
|
+
leadOfferExpirationConfiguration?: LockConfigurationInput;
|
|
70
76
|
}
|
|
71
77
|
/**
|
|
72
78
|
* Check if a given object implements the AdminAccountSettingsInput interface.
|
|
@@ -44,6 +44,7 @@ function AdminAccountSettingsInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'domainAffiliate': json['domainAffiliate'] == null ? undefined : (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputFromJSON)(json['domainAffiliate']),
|
|
45
45
|
'auctionConfiguration': json['auctionConfiguration'] == null ? undefined : (0, AdminAuctionConfigurationInput_1.AdminAuctionConfigurationInputFromJSON)(json['auctionConfiguration']),
|
|
46
46
|
'domainLockConfiguration': json['domainLockConfiguration'] == null ? undefined : (0, LockConfigurationInput_1.LockConfigurationInputFromJSON)(json['domainLockConfiguration']),
|
|
47
|
+
'leadOfferExpirationConfiguration': json['leadOfferExpirationConfiguration'] == null ? undefined : (0, LockConfigurationInput_1.LockConfigurationInputFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
47
48
|
};
|
|
48
49
|
}
|
|
49
50
|
function AdminAccountSettingsInputToJSON(json) {
|
|
@@ -63,5 +64,6 @@ function AdminAccountSettingsInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
63
64
|
'domainAffiliate': (0, AdminAccountSettingsAffiliateInput_1.AdminAccountSettingsAffiliateInputToJSON)(value['domainAffiliate']),
|
|
64
65
|
'auctionConfiguration': (0, AdminAuctionConfigurationInput_1.AdminAuctionConfigurationInputToJSON)(value['auctionConfiguration']),
|
|
65
66
|
'domainLockConfiguration': (0, LockConfigurationInput_1.LockConfigurationInputToJSON)(value['domainLockConfiguration']),
|
|
67
|
+
'leadOfferExpirationConfiguration': (0, LockConfigurationInput_1.LockConfigurationInputToJSON)(value['leadOfferExpirationConfiguration']),
|
|
66
68
|
};
|
|
67
69
|
}
|
|
@@ -64,6 +64,12 @@ export interface BuyerDomainTransferListItemDto {
|
|
|
64
64
|
* @memberof BuyerDomainTransferListItemDto
|
|
65
65
|
*/
|
|
66
66
|
ipsTag: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* The buyer domain transfer is expired
|
|
69
|
+
* @type {boolean}
|
|
70
|
+
* @memberof BuyerDomainTransferListItemDto
|
|
71
|
+
*/
|
|
72
|
+
isOfferExpired: boolean;
|
|
67
73
|
}
|
|
68
74
|
/**
|
|
69
75
|
* @export
|
|
@@ -59,6 +59,8 @@ function instanceOfBuyerDomainTransferListItemDto(value) {
|
|
|
59
59
|
return false;
|
|
60
60
|
if (!('ipsTag' in value) || value['ipsTag'] === undefined)
|
|
61
61
|
return false;
|
|
62
|
+
if (!('isOfferExpired' in value) || value['isOfferExpired'] === undefined)
|
|
63
|
+
return false;
|
|
62
64
|
return true;
|
|
63
65
|
}
|
|
64
66
|
function BuyerDomainTransferListItemDtoFromJSON(json) {
|
|
@@ -77,6 +79,7 @@ function BuyerDomainTransferListItemDtoFromJSONTyped(json, ignoreDiscriminator)
|
|
|
77
79
|
'domain': (0, BuyerDomainTransferListItemDomainDto_1.BuyerDomainTransferListItemDomainDtoFromJSON)(json['domain']),
|
|
78
80
|
'createdAt': (new Date(json['createdAt'])),
|
|
79
81
|
'ipsTag': json['ipsTag'],
|
|
82
|
+
'isOfferExpired': json['isOfferExpired'],
|
|
80
83
|
};
|
|
81
84
|
}
|
|
82
85
|
function BuyerDomainTransferListItemDtoToJSON(json) {
|
|
@@ -96,5 +99,6 @@ function BuyerDomainTransferListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
96
99
|
'domain': (0, BuyerDomainTransferListItemDomainDto_1.BuyerDomainTransferListItemDomainDtoToJSON)(value['domain']),
|
|
97
100
|
'createdAt': ((value['createdAt']).toISOString()),
|
|
98
101
|
'ipsTag': value['ipsTag'],
|
|
102
|
+
'isOfferExpired': value['isOfferExpired'],
|
|
99
103
|
};
|
|
100
104
|
}
|
|
@@ -84,6 +84,12 @@ export interface BuyerLeadListItemDto {
|
|
|
84
84
|
* @memberof BuyerLeadListItemDto
|
|
85
85
|
*/
|
|
86
86
|
isMuted: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* The lead is offer expired
|
|
89
|
+
* @type {boolean}
|
|
90
|
+
* @memberof BuyerLeadListItemDto
|
|
91
|
+
*/
|
|
92
|
+
isOfferExpired: boolean;
|
|
87
93
|
}
|
|
88
94
|
/**
|
|
89
95
|
* @export
|
|
@@ -76,6 +76,8 @@ function instanceOfBuyerLeadListItemDto(value) {
|
|
|
76
76
|
return false;
|
|
77
77
|
if (!('isMuted' in value) || value['isMuted'] === undefined)
|
|
78
78
|
return false;
|
|
79
|
+
if (!('isOfferExpired' in value) || value['isOfferExpired'] === undefined)
|
|
80
|
+
return false;
|
|
79
81
|
return true;
|
|
80
82
|
}
|
|
81
83
|
function BuyerLeadListItemDtoFromJSON(json) {
|
|
@@ -97,6 +99,7 @@ function BuyerLeadListItemDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
97
99
|
'unreadMessages': json['unreadMessages'],
|
|
98
100
|
'orderPaymentUrl': json['orderPaymentUrl'],
|
|
99
101
|
'isMuted': json['isMuted'],
|
|
102
|
+
'isOfferExpired': json['isOfferExpired'],
|
|
100
103
|
};
|
|
101
104
|
}
|
|
102
105
|
function BuyerLeadListItemDtoToJSON(json) {
|
|
@@ -119,5 +122,6 @@ function BuyerLeadListItemDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
119
122
|
'unreadMessages': value['unreadMessages'],
|
|
120
123
|
'orderPaymentUrl': value['orderPaymentUrl'],
|
|
121
124
|
'isMuted': value['isMuted'],
|
|
125
|
+
'isOfferExpired': value['isOfferExpired'],
|
|
122
126
|
};
|
|
123
127
|
}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { LockConfigurationInput } from './LockConfigurationInput';
|
|
13
|
+
import type { LeadOfferExpirationConfigurationInput } from './LeadOfferExpirationConfigurationInput';
|
|
12
14
|
import type { MoneyInput } from './MoneyInput';
|
|
13
15
|
/**
|
|
14
16
|
*
|
|
@@ -70,6 +72,18 @@ export interface CreateManualLeadInput {
|
|
|
70
72
|
* @memberof CreateManualLeadInput
|
|
71
73
|
*/
|
|
72
74
|
leaseToOwnMaxMonths: number | null;
|
|
75
|
+
/**
|
|
76
|
+
*
|
|
77
|
+
* @type {LeadOfferExpirationConfigurationInput}
|
|
78
|
+
* @memberof CreateManualLeadInput
|
|
79
|
+
*/
|
|
80
|
+
leadOfferExpirationConfiguration?: LeadOfferExpirationConfigurationInput;
|
|
81
|
+
/**
|
|
82
|
+
*
|
|
83
|
+
* @type {LockConfigurationInput}
|
|
84
|
+
* @memberof CreateManualLeadInput
|
|
85
|
+
*/
|
|
86
|
+
domainLockConfiguration?: LockConfigurationInput;
|
|
73
87
|
}
|
|
74
88
|
/**
|
|
75
89
|
* @export
|
|
@@ -19,6 +19,8 @@ exports.CreateManualLeadInputFromJSON = CreateManualLeadInputFromJSON;
|
|
|
19
19
|
exports.CreateManualLeadInputFromJSONTyped = CreateManualLeadInputFromJSONTyped;
|
|
20
20
|
exports.CreateManualLeadInputToJSON = CreateManualLeadInputToJSON;
|
|
21
21
|
exports.CreateManualLeadInputToJSONTyped = CreateManualLeadInputToJSONTyped;
|
|
22
|
+
var LockConfigurationInput_1 = require("./LockConfigurationInput");
|
|
23
|
+
var LeadOfferExpirationConfigurationInput_1 = require("./LeadOfferExpirationConfigurationInput");
|
|
22
24
|
var MoneyInput_1 = require("./MoneyInput");
|
|
23
25
|
/**
|
|
24
26
|
* @export
|
|
@@ -70,6 +72,8 @@ function CreateManualLeadInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
70
72
|
'offer': (0, MoneyInput_1.MoneyInputFromJSON)(json['offer']),
|
|
71
73
|
'leaseToOwnMinMonths': json['leaseToOwnMinMonths'],
|
|
72
74
|
'leaseToOwnMaxMonths': json['leaseToOwnMaxMonths'],
|
|
75
|
+
'leadOfferExpirationConfiguration': json['leadOfferExpirationConfiguration'] == null ? undefined : (0, LeadOfferExpirationConfigurationInput_1.LeadOfferExpirationConfigurationInputFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
76
|
+
'domainLockConfiguration': json['domainLockConfiguration'] == null ? undefined : (0, LockConfigurationInput_1.LockConfigurationInputFromJSON)(json['domainLockConfiguration']),
|
|
73
77
|
};
|
|
74
78
|
}
|
|
75
79
|
function CreateManualLeadInputToJSON(json) {
|
|
@@ -90,5 +94,7 @@ function CreateManualLeadInputToJSONTyped(value, ignoreDiscriminator) {
|
|
|
90
94
|
'offer': (0, MoneyInput_1.MoneyInputToJSON)(value['offer']),
|
|
91
95
|
'leaseToOwnMinMonths': value['leaseToOwnMinMonths'],
|
|
92
96
|
'leaseToOwnMaxMonths': value['leaseToOwnMaxMonths'],
|
|
97
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationInput_1.LeadOfferExpirationConfigurationInputToJSON)(value['leadOfferExpirationConfiguration']),
|
|
98
|
+
'domainLockConfiguration': (0, LockConfigurationInput_1.LockConfigurationInputToJSON)(value['domainLockConfiguration']),
|
|
93
99
|
};
|
|
94
100
|
}
|
|
@@ -14,6 +14,7 @@ import type { ManualLeadLeaseToOwnDto } from './ManualLeadLeaseToOwnDto';
|
|
|
14
14
|
import type { MoneyDto } from './MoneyDto';
|
|
15
15
|
import type { IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto } from './IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto';
|
|
16
16
|
import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
|
|
17
|
+
import type { LeadOfferExpirationConfigurationDto } from './LeadOfferExpirationConfigurationDto';
|
|
17
18
|
import type { LeadOfferDto } from './LeadOfferDto';
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
@@ -141,6 +142,12 @@ export interface IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetails
|
|
|
141
142
|
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
142
143
|
*/
|
|
143
144
|
lastSellerOffer: LeadOfferDto | null;
|
|
145
|
+
/**
|
|
146
|
+
*
|
|
147
|
+
* @type {LeadOfferExpirationConfigurationDto}
|
|
148
|
+
* @memberof IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto
|
|
149
|
+
*/
|
|
150
|
+
leadOfferExpirationConfiguration: LeadOfferExpirationConfigurationDto;
|
|
144
151
|
}
|
|
145
152
|
/**
|
|
146
153
|
* @export
|
|
@@ -24,6 +24,7 @@ var ManualLeadLeaseToOwnDto_1 = require("./ManualLeadLeaseToOwnDto");
|
|
|
24
24
|
var MoneyDto_1 = require("./MoneyDto");
|
|
25
25
|
var IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto_1 = require("./IntersectionDomainDtoWithAccountDtoWithAuctionInfoDto");
|
|
26
26
|
var LeadRentConfigurationDto_1 = require("./LeadRentConfigurationDto");
|
|
27
|
+
var LeadOfferExpirationConfigurationDto_1 = require("./LeadOfferExpirationConfigurationDto");
|
|
27
28
|
var LeadOfferDto_1 = require("./LeadOfferDto");
|
|
28
29
|
/**
|
|
29
30
|
* @export
|
|
@@ -106,6 +107,8 @@ function instanceOfIntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetai
|
|
|
106
107
|
return false;
|
|
107
108
|
if (!('lastSellerOffer' in value) || value['lastSellerOffer'] === undefined)
|
|
108
109
|
return false;
|
|
110
|
+
if (!('leadOfferExpirationConfiguration' in value) || value['leadOfferExpirationConfiguration'] === undefined)
|
|
111
|
+
return false;
|
|
109
112
|
return true;
|
|
110
113
|
}
|
|
111
114
|
function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoFromJSON(json) {
|
|
@@ -136,6 +139,7 @@ function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoFromJ
|
|
|
136
139
|
'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoFromJSON)(json['rent']),
|
|
137
140
|
'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastBuyerOffer']),
|
|
138
141
|
'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoFromJSON)(json['lastSellerOffer']),
|
|
142
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoFromJSON)(json['leadOfferExpirationConfiguration']),
|
|
139
143
|
};
|
|
140
144
|
}
|
|
141
145
|
function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoToJSON(json) {
|
|
@@ -167,5 +171,6 @@ function IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDtoToJSO
|
|
|
167
171
|
'rent': (0, LeadRentConfigurationDto_1.LeadRentConfigurationDtoToJSON)(value['rent']),
|
|
168
172
|
'lastBuyerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastBuyerOffer']),
|
|
169
173
|
'lastSellerOffer': (0, LeadOfferDto_1.LeadOfferDtoToJSON)(value['lastSellerOffer']),
|
|
174
|
+
'leadOfferExpirationConfiguration': (0, LeadOfferExpirationConfigurationDto_1.LeadOfferExpirationConfigurationDtoToJSON)(value['leadOfferExpirationConfiguration']),
|
|
170
175
|
};
|
|
171
176
|
}
|
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;
|