@randock/nameshift-api-client 0.0.330 → 0.0.332
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 +24 -0
- package/README.md +3 -3
- package/dist/apis/AuctionsPublicApi.d.ts +29 -0
- package/dist/apis/AuctionsPublicApi.js +124 -0
- package/dist/apis/BuyersApi.d.ts +54 -1
- package/dist/apis/BuyersApi.js +267 -0
- package/dist/apis/BuyersPublicApi.d.ts +23 -1
- package/dist/apis/BuyersPublicApi.js +90 -0
- package/dist/apis/DomainsApi.d.ts +44 -1
- package/dist/apis/DomainsApi.js +216 -0
- package/dist/apis/LeadsApi.d.ts +2 -5
- package/dist/apis/LeadsApi.js +4 -8
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AuctionBidDto.d.ts +51 -0
- package/dist/models/AuctionBidDto.js +64 -0
- package/dist/models/AuctionBidInput.d.ts +32 -0
- package/dist/models/AuctionBidInput.js +51 -0
- package/dist/models/AuctionBuyerDto.d.ts +74 -0
- package/dist/models/AuctionBuyerDto.js +79 -0
- package/dist/models/AuctionBuyerWithTokenDto.d.ts +39 -0
- package/dist/models/AuctionBuyerWithTokenDto.js +56 -0
- package/dist/models/AuctionDto.d.ts +82 -0
- package/dist/models/AuctionDto.js +85 -0
- package/dist/models/BulkUpdateDomainsWithFiltersInput.d.ts +59 -0
- package/dist/models/BulkUpdateDomainsWithFiltersInput.js +62 -0
- package/dist/models/BuyerLeadListItemDto.d.ts +23 -0
- package/dist/models/BuyerLeadListItemDto.js +19 -1
- package/dist/models/DomainAuctionDto.d.ts +63 -0
- package/dist/models/DomainAuctionDto.js +72 -0
- package/dist/models/DomainFiltersDto.d.ts +38 -0
- package/dist/models/DomainFiltersDto.js +55 -0
- package/dist/models/DomainSalesInformationDto.d.ts +12 -0
- package/dist/models/DomainSalesInformationDto.js +8 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.d.ts +1 -0
- package/dist/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.js +2 -1
- package/dist/models/IntersectionDomainDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithAccountDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.js +5 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.d.ts +7 -0
- package/dist/models/IntersectionDomainDtoWithSeoMetricsDto.js +5 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.d.ts +36 -0
- package/dist/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.js +28 -1
- package/dist/models/LeadDto.d.ts +43 -0
- package/dist/models/LeadDto.js +33 -1
- package/dist/models/LeadLeaseToOwnConfigurationDto.d.ts +50 -0
- package/dist/models/LeadLeaseToOwnConfigurationDto.js +63 -0
- package/dist/models/LeadMessageData.d.ts +7 -0
- package/dist/models/LeadMessageData.js +5 -0
- package/dist/models/LeadMessageDataLeaseToOwn.d.ts +38 -0
- package/dist/models/LeadMessageDataLeaseToOwn.js +55 -0
- package/dist/models/LeadMessageDto.d.ts +16 -0
- package/dist/models/LeadMessageDto.js +14 -1
- package/dist/models/LeadOfferDto.d.ts +72 -0
- package/dist/models/LeadOfferDto.js +84 -0
- package/dist/models/LeadRentConfigurationDto.d.ts +38 -0
- package/dist/models/LeadRentConfigurationDto.js +55 -0
- package/dist/models/ListLeadsResultItem.d.ts +43 -0
- package/dist/models/ListLeadsResultItem.js +33 -1
- package/dist/models/ManualLeadLeaseToOwnDto.d.ts +12 -0
- package/dist/models/ManualLeadLeaseToOwnDto.js +8 -0
- package/dist/models/PrivateAccountGetMeResponse.d.ts +1 -0
- package/dist/models/PrivateAccountGetMeResponse.js +2 -1
- package/dist/models/PutBuyerLeadOfferInput.d.ts +22 -0
- package/dist/models/PutBuyerLeadOfferInput.js +14 -0
- package/dist/models/PutLeadOfferInput.d.ts +23 -1
- package/dist/models/PutLeadOfferInput.js +15 -3
- package/dist/models/RegisterAuctionBuyerPhoneInput.d.ts +47 -0
- package/dist/models/RegisterAuctionBuyerPhoneInput.js +64 -0
- package/dist/models/RegisterInput.d.ts +38 -0
- package/dist/models/RegisterInput.js +55 -0
- package/dist/models/RequestEmailOtpInput.d.ts +38 -0
- package/dist/models/RequestEmailOtpInput.js +55 -0
- package/dist/models/SellerLeadDetails.d.ts +43 -0
- package/dist/models/SellerLeadDetails.js +33 -1
- package/dist/models/StartAuctionInput.d.ts +51 -0
- package/dist/models/StartAuctionInput.js +62 -0
- package/dist/models/TaskListLeadDto.d.ts +43 -0
- package/dist/models/TaskListLeadDto.js +33 -1
- package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.d.ts +50 -0
- package/dist/models/TaskListLeadLeaseToOwnConfigurationDto.js +63 -0
- package/dist/models/TaskListLeadOfferDto.d.ts +72 -0
- package/dist/models/TaskListLeadOfferDto.js +84 -0
- package/dist/models/TaskListLeadRentConfigurationDto.d.ts +38 -0
- package/dist/models/TaskListLeadRentConfigurationDto.js +55 -0
- package/dist/models/UpdateLeaseToOwnConfigurationDto.d.ts +44 -0
- package/dist/models/UpdateLeaseToOwnConfigurationDto.js +53 -0
- package/dist/models/UpdateRentConfigurationDto.d.ts +39 -0
- package/dist/models/UpdateRentConfigurationDto.js +52 -0
- package/dist/models/VerifyEmailOtpInput.d.ts +38 -0
- package/dist/models/VerifyEmailOtpInput.js +55 -0
- package/dist/models/VerifyPhoneOtpInput.d.ts +32 -0
- package/dist/models/VerifyPhoneOtpInput.js +51 -0
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.js +23 -0
- package/package.json +1 -1
- package/src/apis/AuctionsPublicApi.ts +67 -0
- package/src/apis/BuyersApi.ts +249 -0
- package/src/apis/BuyersPublicApi.ts +88 -0
- package/src/apis/DomainsApi.ts +192 -0
- package/src/apis/LeadsApi.ts +3 -11
- package/src/apis/index.ts +1 -0
- package/src/models/AuctionBidDto.ts +101 -0
- package/src/models/AuctionBidInput.ts +66 -0
- package/src/models/AuctionBuyerDto.ts +129 -0
- package/src/models/AuctionBuyerWithTokenDto.ts +83 -0
- package/src/models/AuctionDto.ts +153 -0
- package/src/models/BulkUpdateDomainsWithFiltersInput.ts +120 -0
- package/src/models/BuyerLeadListItemDto.ts +36 -0
- package/src/models/DomainAuctionDto.ts +119 -0
- package/src/models/DomainFiltersDto.ts +75 -0
- package/src/models/DomainSalesInformationDto.ts +18 -0
- package/src/models/IntersectionAccountDtoWithSettingsDtoWithNotificationsDtoWithFeatureFlagsDto.ts +2 -1
- package/src/models/IntersectionDomainDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithHijackerDtoWithAccountDto.ts +16 -0
- package/src/models/IntersectionDomainDtoWithSeoMetricsDto.ts +16 -0
- package/src/models/IntersectionLeadDtoWithLeadDetailsDtoWithManualLeadBuyerDetailsDto.ts +61 -0
- package/src/models/LeadDto.ts +77 -0
- package/src/models/LeadLeaseToOwnConfigurationDto.ts +93 -0
- package/src/models/LeadMessageData.ts +16 -0
- package/src/models/LeadMessageDataLeaseToOwn.ts +75 -0
- package/src/models/LeadMessageDto.ts +20 -0
- package/src/models/LeadOfferDto.ts +132 -0
- package/src/models/LeadRentConfigurationDto.ts +75 -0
- package/src/models/ListLeadsResultItem.ts +77 -0
- package/src/models/ManualLeadLeaseToOwnDto.ts +18 -0
- package/src/models/PrivateAccountGetMeResponse.ts +2 -1
- package/src/models/PutBuyerLeadOfferInput.ts +29 -0
- package/src/models/PutLeadOfferInput.ts +31 -3
- package/src/models/RegisterAuctionBuyerPhoneInput.ts +87 -0
- package/src/models/RegisterInput.ts +75 -0
- package/src/models/RequestEmailOtpInput.ts +75 -0
- package/src/models/SellerLeadDetails.ts +77 -0
- package/src/models/StartAuctionInput.ts +100 -0
- package/src/models/TaskListLeadDto.ts +77 -0
- package/src/models/TaskListLeadLeaseToOwnConfigurationDto.ts +93 -0
- package/src/models/TaskListLeadOfferDto.ts +132 -0
- package/src/models/TaskListLeadRentConfigurationDto.ts +75 -0
- package/src/models/UpdateLeaseToOwnConfigurationDto.ts +81 -0
- package/src/models/UpdateRentConfigurationDto.ts +81 -0
- package/src/models/VerifyEmailOtpInput.ts +75 -0
- package/src/models/VerifyPhoneOtpInput.ts +66 -0
- package/src/models/index.ts +23 -0
|
@@ -0,0 +1,63 @@
|
|
|
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.instanceOfLeadLeaseToOwnConfigurationDto = instanceOfLeadLeaseToOwnConfigurationDto;
|
|
17
|
+
exports.LeadLeaseToOwnConfigurationDtoFromJSON = LeadLeaseToOwnConfigurationDtoFromJSON;
|
|
18
|
+
exports.LeadLeaseToOwnConfigurationDtoFromJSONTyped = LeadLeaseToOwnConfigurationDtoFromJSONTyped;
|
|
19
|
+
exports.LeadLeaseToOwnConfigurationDtoToJSON = LeadLeaseToOwnConfigurationDtoToJSON;
|
|
20
|
+
exports.LeadLeaseToOwnConfigurationDtoToJSONTyped = LeadLeaseToOwnConfigurationDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LeadLeaseToOwnConfigurationDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLeadLeaseToOwnConfigurationDto(value) {
|
|
25
|
+
if (!('minMonths' in value) || value['minMonths'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('maxMonths' in value) || value['maxMonths'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('kickBackPercentage' in value) || value['kickBackPercentage'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('markupComissionPercentage' in value) || value['markupComissionPercentage'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function LeadLeaseToOwnConfigurationDtoFromJSON(json) {
|
|
36
|
+
return LeadLeaseToOwnConfigurationDtoFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function LeadLeaseToOwnConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'minMonths': json['minMonths'],
|
|
44
|
+
'maxMonths': json['maxMonths'],
|
|
45
|
+
'kickBackPercentage': json['kickBackPercentage'],
|
|
46
|
+
'markupComissionPercentage': json['markupComissionPercentage'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function LeadLeaseToOwnConfigurationDtoToJSON(json) {
|
|
50
|
+
return LeadLeaseToOwnConfigurationDtoToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function LeadLeaseToOwnConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'minMonths': value['minMonths'],
|
|
59
|
+
'maxMonths': value['maxMonths'],
|
|
60
|
+
'kickBackPercentage': value['kickBackPercentage'],
|
|
61
|
+
'markupComissionPercentage': value['markupComissionPercentage'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { LeadMessageDataLeaseToOwn } from './LeadMessageDataLeaseToOwn';
|
|
12
13
|
import type { MoneyDto } from './MoneyDto';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -22,6 +23,12 @@ export interface LeadMessageData {
|
|
|
22
23
|
* @memberof LeadMessageData
|
|
23
24
|
*/
|
|
24
25
|
price: MoneyDto;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {LeadMessageDataLeaseToOwn}
|
|
29
|
+
* @memberof LeadMessageData
|
|
30
|
+
*/
|
|
31
|
+
leaseToOwn: LeadMessageDataLeaseToOwn | null;
|
|
25
32
|
}
|
|
26
33
|
/**
|
|
27
34
|
* Check if a given object implements the LeadMessageData interface.
|
|
@@ -18,6 +18,7 @@ exports.LeadMessageDataFromJSON = LeadMessageDataFromJSON;
|
|
|
18
18
|
exports.LeadMessageDataFromJSONTyped = LeadMessageDataFromJSONTyped;
|
|
19
19
|
exports.LeadMessageDataToJSON = LeadMessageDataToJSON;
|
|
20
20
|
exports.LeadMessageDataToJSONTyped = LeadMessageDataToJSONTyped;
|
|
21
|
+
var LeadMessageDataLeaseToOwn_1 = require("./LeadMessageDataLeaseToOwn");
|
|
21
22
|
var MoneyDto_1 = require("./MoneyDto");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the LeadMessageData interface.
|
|
@@ -25,6 +26,8 @@ var MoneyDto_1 = require("./MoneyDto");
|
|
|
25
26
|
function instanceOfLeadMessageData(value) {
|
|
26
27
|
if (!('price' in value) || value['price'] === undefined)
|
|
27
28
|
return false;
|
|
29
|
+
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
|
|
30
|
+
return false;
|
|
28
31
|
return true;
|
|
29
32
|
}
|
|
30
33
|
function LeadMessageDataFromJSON(json) {
|
|
@@ -36,6 +39,7 @@ function LeadMessageDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
39
|
}
|
|
37
40
|
return {
|
|
38
41
|
'price': (0, MoneyDto_1.MoneyDtoFromJSON)(json['price']),
|
|
42
|
+
'leaseToOwn': (0, LeadMessageDataLeaseToOwn_1.LeadMessageDataLeaseToOwnFromJSON)(json['leaseToOwn']),
|
|
39
43
|
};
|
|
40
44
|
}
|
|
41
45
|
function LeadMessageDataToJSON(json) {
|
|
@@ -48,5 +52,6 @@ function LeadMessageDataToJSONTyped(value, ignoreDiscriminator) {
|
|
|
48
52
|
}
|
|
49
53
|
return {
|
|
50
54
|
'price': (0, MoneyDto_1.MoneyDtoToJSON)(value['price']),
|
|
55
|
+
'leaseToOwn': (0, LeadMessageDataLeaseToOwn_1.LeadMessageDataLeaseToOwnToJSON)(value['leaseToOwn']),
|
|
51
56
|
};
|
|
52
57
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 LeadMessageDataLeaseToOwn
|
|
16
|
+
*/
|
|
17
|
+
export interface LeadMessageDataLeaseToOwn {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof LeadMessageDataLeaseToOwn
|
|
22
|
+
*/
|
|
23
|
+
minMonths: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof LeadMessageDataLeaseToOwn
|
|
28
|
+
*/
|
|
29
|
+
maxMonths: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the LeadMessageDataLeaseToOwn interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfLeadMessageDataLeaseToOwn(value: object): value is LeadMessageDataLeaseToOwn;
|
|
35
|
+
export declare function LeadMessageDataLeaseToOwnFromJSON(json: any): LeadMessageDataLeaseToOwn;
|
|
36
|
+
export declare function LeadMessageDataLeaseToOwnFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadMessageDataLeaseToOwn;
|
|
37
|
+
export declare function LeadMessageDataLeaseToOwnToJSON(json: any): LeadMessageDataLeaseToOwn;
|
|
38
|
+
export declare function LeadMessageDataLeaseToOwnToJSONTyped(value?: LeadMessageDataLeaseToOwn | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfLeadMessageDataLeaseToOwn = instanceOfLeadMessageDataLeaseToOwn;
|
|
17
|
+
exports.LeadMessageDataLeaseToOwnFromJSON = LeadMessageDataLeaseToOwnFromJSON;
|
|
18
|
+
exports.LeadMessageDataLeaseToOwnFromJSONTyped = LeadMessageDataLeaseToOwnFromJSONTyped;
|
|
19
|
+
exports.LeadMessageDataLeaseToOwnToJSON = LeadMessageDataLeaseToOwnToJSON;
|
|
20
|
+
exports.LeadMessageDataLeaseToOwnToJSONTyped = LeadMessageDataLeaseToOwnToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LeadMessageDataLeaseToOwn interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLeadMessageDataLeaseToOwn(value) {
|
|
25
|
+
if (!('minMonths' in value) || value['minMonths'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('maxMonths' in value) || value['maxMonths'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function LeadMessageDataLeaseToOwnFromJSON(json) {
|
|
32
|
+
return LeadMessageDataLeaseToOwnFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function LeadMessageDataLeaseToOwnFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'minMonths': json['minMonths'],
|
|
40
|
+
'maxMonths': json['maxMonths'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function LeadMessageDataLeaseToOwnToJSON(json) {
|
|
44
|
+
return LeadMessageDataLeaseToOwnToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function LeadMessageDataLeaseToOwnToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'minMonths': value['minMonths'],
|
|
53
|
+
'maxMonths': value['maxMonths'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -28,6 +28,12 @@ export interface LeadMessageDto {
|
|
|
28
28
|
* @memberof LeadMessageDto
|
|
29
29
|
*/
|
|
30
30
|
type: LeadMessageDtoTypeEnum;
|
|
31
|
+
/**
|
|
32
|
+
* The lead message offer type
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof LeadMessageDto
|
|
35
|
+
*/
|
|
36
|
+
offerType: LeadMessageDtoOfferTypeEnum | null;
|
|
31
37
|
/**
|
|
32
38
|
* The lead message origin
|
|
33
39
|
* @type {string}
|
|
@@ -76,6 +82,16 @@ export declare const LeadMessageDtoTypeEnum: {
|
|
|
76
82
|
readonly MESSAGE: "message";
|
|
77
83
|
};
|
|
78
84
|
export type LeadMessageDtoTypeEnum = typeof LeadMessageDtoTypeEnum[keyof typeof LeadMessageDtoTypeEnum];
|
|
85
|
+
/**
|
|
86
|
+
* @export
|
|
87
|
+
*/
|
|
88
|
+
export declare const LeadMessageDtoOfferTypeEnum: {
|
|
89
|
+
readonly LEAD: "lead";
|
|
90
|
+
readonly LEASE_TO_OWN: "lease_to_own";
|
|
91
|
+
readonly RENT: "rent";
|
|
92
|
+
readonly AUCTION: "auction";
|
|
93
|
+
};
|
|
94
|
+
export type LeadMessageDtoOfferTypeEnum = typeof LeadMessageDtoOfferTypeEnum[keyof typeof LeadMessageDtoOfferTypeEnum];
|
|
79
95
|
/**
|
|
80
96
|
* @export
|
|
81
97
|
*/
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.LeadMessageDtoOriginEnum = exports.LeadMessageDtoTypeEnum = void 0;
|
|
16
|
+
exports.LeadMessageDtoOriginEnum = exports.LeadMessageDtoOfferTypeEnum = exports.LeadMessageDtoTypeEnum = void 0;
|
|
17
17
|
exports.instanceOfLeadMessageDto = instanceOfLeadMessageDto;
|
|
18
18
|
exports.LeadMessageDtoFromJSON = LeadMessageDtoFromJSON;
|
|
19
19
|
exports.LeadMessageDtoFromJSONTyped = LeadMessageDtoFromJSONTyped;
|
|
@@ -30,6 +30,15 @@ exports.LeadMessageDtoTypeEnum = {
|
|
|
30
30
|
OFFER_REJECTED: 'offer_rejected',
|
|
31
31
|
MESSAGE: 'message'
|
|
32
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
exports.LeadMessageDtoOfferTypeEnum = {
|
|
37
|
+
LEAD: 'lead',
|
|
38
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
39
|
+
RENT: 'rent',
|
|
40
|
+
AUCTION: 'auction'
|
|
41
|
+
};
|
|
33
42
|
/**
|
|
34
43
|
* @export
|
|
35
44
|
*/
|
|
@@ -47,6 +56,8 @@ function instanceOfLeadMessageDto(value) {
|
|
|
47
56
|
return false;
|
|
48
57
|
if (!('type' in value) || value['type'] === undefined)
|
|
49
58
|
return false;
|
|
59
|
+
if (!('offerType' in value) || value['offerType'] === undefined)
|
|
60
|
+
return false;
|
|
50
61
|
if (!('origin' in value) || value['origin'] === undefined)
|
|
51
62
|
return false;
|
|
52
63
|
if (!('data' in value) || value['data'] === undefined)
|
|
@@ -71,6 +82,7 @@ function LeadMessageDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
71
82
|
return {
|
|
72
83
|
'id': json['id'],
|
|
73
84
|
'type': json['type'],
|
|
85
|
+
'offerType': json['offerType'],
|
|
74
86
|
'origin': json['origin'],
|
|
75
87
|
'data': (0, LeadMessageData_1.LeadMessageDataFromJSON)(json['data']),
|
|
76
88
|
'message': json['message'],
|
|
@@ -90,6 +102,7 @@ function LeadMessageDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
90
102
|
return {
|
|
91
103
|
'id': value['id'],
|
|
92
104
|
'type': value['type'],
|
|
105
|
+
'offerType': value['offerType'],
|
|
93
106
|
'origin': value['origin'],
|
|
94
107
|
'data': (0, LeadMessageData_1.LeadMessageDataToJSON)(value['data']),
|
|
95
108
|
'message': value['message'],
|
|
@@ -0,0 +1,72 @@
|
|
|
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 { LeadMessageDataLeaseToOwn } from './LeadMessageDataLeaseToOwn';
|
|
13
|
+
import type { MoneyDto } from './MoneyDto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface LeadOfferDto
|
|
18
|
+
*/
|
|
19
|
+
export interface LeadOfferDto {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {MoneyDto}
|
|
23
|
+
* @memberof LeadOfferDto
|
|
24
|
+
*/
|
|
25
|
+
offer: MoneyDto;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof LeadOfferDto
|
|
30
|
+
*/
|
|
31
|
+
offerBy: LeadOfferDtoOfferByEnum;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof LeadOfferDto
|
|
36
|
+
*/
|
|
37
|
+
offerType: LeadOfferDtoOfferTypeEnum;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {LeadMessageDataLeaseToOwn}
|
|
41
|
+
* @memberof LeadOfferDto
|
|
42
|
+
*/
|
|
43
|
+
leaseToOwn: LeadMessageDataLeaseToOwn | null;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
*/
|
|
48
|
+
export declare const LeadOfferDtoOfferByEnum: {
|
|
49
|
+
readonly BUYER: "buyer";
|
|
50
|
+
readonly SELLER: "seller";
|
|
51
|
+
readonly AI: "ai";
|
|
52
|
+
readonly ADMIN: "admin";
|
|
53
|
+
};
|
|
54
|
+
export type LeadOfferDtoOfferByEnum = typeof LeadOfferDtoOfferByEnum[keyof typeof LeadOfferDtoOfferByEnum];
|
|
55
|
+
/**
|
|
56
|
+
* @export
|
|
57
|
+
*/
|
|
58
|
+
export declare const LeadOfferDtoOfferTypeEnum: {
|
|
59
|
+
readonly LEAD: "lead";
|
|
60
|
+
readonly LEASE_TO_OWN: "lease_to_own";
|
|
61
|
+
readonly RENT: "rent";
|
|
62
|
+
readonly AUCTION: "auction";
|
|
63
|
+
};
|
|
64
|
+
export type LeadOfferDtoOfferTypeEnum = typeof LeadOfferDtoOfferTypeEnum[keyof typeof LeadOfferDtoOfferTypeEnum];
|
|
65
|
+
/**
|
|
66
|
+
* Check if a given object implements the LeadOfferDto interface.
|
|
67
|
+
*/
|
|
68
|
+
export declare function instanceOfLeadOfferDto(value: object): value is LeadOfferDto;
|
|
69
|
+
export declare function LeadOfferDtoFromJSON(json: any): LeadOfferDto;
|
|
70
|
+
export declare function LeadOfferDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadOfferDto;
|
|
71
|
+
export declare function LeadOfferDtoToJSON(json: any): LeadOfferDto;
|
|
72
|
+
export declare function LeadOfferDtoToJSONTyped(value?: LeadOfferDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,84 @@
|
|
|
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.LeadOfferDtoOfferTypeEnum = exports.LeadOfferDtoOfferByEnum = void 0;
|
|
17
|
+
exports.instanceOfLeadOfferDto = instanceOfLeadOfferDto;
|
|
18
|
+
exports.LeadOfferDtoFromJSON = LeadOfferDtoFromJSON;
|
|
19
|
+
exports.LeadOfferDtoFromJSONTyped = LeadOfferDtoFromJSONTyped;
|
|
20
|
+
exports.LeadOfferDtoToJSON = LeadOfferDtoToJSON;
|
|
21
|
+
exports.LeadOfferDtoToJSONTyped = LeadOfferDtoToJSONTyped;
|
|
22
|
+
var LeadMessageDataLeaseToOwn_1 = require("./LeadMessageDataLeaseToOwn");
|
|
23
|
+
var MoneyDto_1 = require("./MoneyDto");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.LeadOfferDtoOfferByEnum = {
|
|
28
|
+
BUYER: 'buyer',
|
|
29
|
+
SELLER: 'seller',
|
|
30
|
+
AI: 'ai',
|
|
31
|
+
ADMIN: 'admin'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
*/
|
|
36
|
+
exports.LeadOfferDtoOfferTypeEnum = {
|
|
37
|
+
LEAD: 'lead',
|
|
38
|
+
LEASE_TO_OWN: 'lease_to_own',
|
|
39
|
+
RENT: 'rent',
|
|
40
|
+
AUCTION: 'auction'
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the LeadOfferDto interface.
|
|
44
|
+
*/
|
|
45
|
+
function instanceOfLeadOfferDto(value) {
|
|
46
|
+
if (!('offer' in value) || value['offer'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
if (!('offerBy' in value) || value['offerBy'] === undefined)
|
|
49
|
+
return false;
|
|
50
|
+
if (!('offerType' in value) || value['offerType'] === undefined)
|
|
51
|
+
return false;
|
|
52
|
+
if (!('leaseToOwn' in value) || value['leaseToOwn'] === undefined)
|
|
53
|
+
return false;
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
function LeadOfferDtoFromJSON(json) {
|
|
57
|
+
return LeadOfferDtoFromJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function LeadOfferDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'offer': (0, MoneyDto_1.MoneyDtoFromJSON)(json['offer']),
|
|
65
|
+
'offerBy': json['offerBy'],
|
|
66
|
+
'offerType': json['offerType'],
|
|
67
|
+
'leaseToOwn': (0, LeadMessageDataLeaseToOwn_1.LeadMessageDataLeaseToOwnFromJSON)(json['leaseToOwn']),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function LeadOfferDtoToJSON(json) {
|
|
71
|
+
return LeadOfferDtoToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
function LeadOfferDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
74
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
'offer': (0, MoneyDto_1.MoneyDtoToJSON)(value['offer']),
|
|
80
|
+
'offerBy': value['offerBy'],
|
|
81
|
+
'offerType': value['offerType'],
|
|
82
|
+
'leaseToOwn': (0, LeadMessageDataLeaseToOwn_1.LeadMessageDataLeaseToOwnToJSON)(value['leaseToOwn']),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 LeadRentConfigurationDto
|
|
16
|
+
*/
|
|
17
|
+
export interface LeadRentConfigurationDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof LeadRentConfigurationDto
|
|
22
|
+
*/
|
|
23
|
+
recurringMarkupPercentage: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof LeadRentConfigurationDto
|
|
28
|
+
*/
|
|
29
|
+
minMonthPriceEur: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the LeadRentConfigurationDto interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfLeadRentConfigurationDto(value: object): value is LeadRentConfigurationDto;
|
|
35
|
+
export declare function LeadRentConfigurationDtoFromJSON(json: any): LeadRentConfigurationDto;
|
|
36
|
+
export declare function LeadRentConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadRentConfigurationDto;
|
|
37
|
+
export declare function LeadRentConfigurationDtoToJSON(json: any): LeadRentConfigurationDto;
|
|
38
|
+
export declare function LeadRentConfigurationDtoToJSONTyped(value?: LeadRentConfigurationDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfLeadRentConfigurationDto = instanceOfLeadRentConfigurationDto;
|
|
17
|
+
exports.LeadRentConfigurationDtoFromJSON = LeadRentConfigurationDtoFromJSON;
|
|
18
|
+
exports.LeadRentConfigurationDtoFromJSONTyped = LeadRentConfigurationDtoFromJSONTyped;
|
|
19
|
+
exports.LeadRentConfigurationDtoToJSON = LeadRentConfigurationDtoToJSON;
|
|
20
|
+
exports.LeadRentConfigurationDtoToJSONTyped = LeadRentConfigurationDtoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LeadRentConfigurationDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLeadRentConfigurationDto(value) {
|
|
25
|
+
if (!('recurringMarkupPercentage' in value) || value['recurringMarkupPercentage'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('minMonthPriceEur' in value) || value['minMonthPriceEur'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function LeadRentConfigurationDtoFromJSON(json) {
|
|
32
|
+
return LeadRentConfigurationDtoFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function LeadRentConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'recurringMarkupPercentage': json['recurringMarkupPercentage'],
|
|
40
|
+
'minMonthPriceEur': json['minMonthPriceEur'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function LeadRentConfigurationDtoToJSON(json) {
|
|
44
|
+
return LeadRentConfigurationDtoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function LeadRentConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'recurringMarkupPercentage': value['recurringMarkupPercentage'],
|
|
53
|
+
'minMonthPriceEur': value['minMonthPriceEur'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -9,9 +9,12 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { LeadLeaseToOwnConfigurationDto } from './LeadLeaseToOwnConfigurationDto';
|
|
12
13
|
import type { LeadMessageData } from './LeadMessageData';
|
|
13
14
|
import type { LeadDomainDto } from './LeadDomainDto';
|
|
14
15
|
import type { MoneyDto } from './MoneyDto';
|
|
16
|
+
import type { LeadRentConfigurationDto } from './LeadRentConfigurationDto';
|
|
17
|
+
import type { LeadOfferDto } from './LeadOfferDto';
|
|
15
18
|
/**
|
|
16
19
|
*
|
|
17
20
|
* @export
|
|
@@ -42,6 +45,12 @@ export interface ListLeadsResultItem {
|
|
|
42
45
|
* @memberof ListLeadsResultItem
|
|
43
46
|
*/
|
|
44
47
|
lastOfferBy: ListLeadsResultItemLastOfferByEnum | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ListLeadsResultItem
|
|
52
|
+
*/
|
|
53
|
+
lastOfferType: ListLeadsResultItemLastOfferTypeEnum | null;
|
|
45
54
|
/**
|
|
46
55
|
*
|
|
47
56
|
* @type {string}
|
|
@@ -138,6 +147,30 @@ export interface ListLeadsResultItem {
|
|
|
138
147
|
* @memberof ListLeadsResultItem
|
|
139
148
|
*/
|
|
140
149
|
manualType: ListLeadsResultItemManualTypeEnum | null;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {LeadLeaseToOwnConfigurationDto}
|
|
153
|
+
* @memberof ListLeadsResultItem
|
|
154
|
+
*/
|
|
155
|
+
leaseToOwn: LeadLeaseToOwnConfigurationDto | null;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {LeadRentConfigurationDto}
|
|
159
|
+
* @memberof ListLeadsResultItem
|
|
160
|
+
*/
|
|
161
|
+
rent: LeadRentConfigurationDto;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {LeadOfferDto}
|
|
165
|
+
* @memberof ListLeadsResultItem
|
|
166
|
+
*/
|
|
167
|
+
lastBuyerOffer: LeadOfferDto | null;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {LeadOfferDto}
|
|
171
|
+
* @memberof ListLeadsResultItem
|
|
172
|
+
*/
|
|
173
|
+
lastSellerOffer: LeadOfferDto | null;
|
|
141
174
|
/**
|
|
142
175
|
* The message in case lastMessageType === LeadMessageTypeEnum.MESSAGE
|
|
143
176
|
* @type {string}
|
|
@@ -172,6 +205,16 @@ export declare const ListLeadsResultItemLastOfferByEnum: {
|
|
|
172
205
|
readonly ADMIN: "admin";
|
|
173
206
|
};
|
|
174
207
|
export type ListLeadsResultItemLastOfferByEnum = typeof ListLeadsResultItemLastOfferByEnum[keyof typeof ListLeadsResultItemLastOfferByEnum];
|
|
208
|
+
/**
|
|
209
|
+
* @export
|
|
210
|
+
*/
|
|
211
|
+
export declare const ListLeadsResultItemLastOfferTypeEnum: {
|
|
212
|
+
readonly LEAD: "lead";
|
|
213
|
+
readonly LEASE_TO_OWN: "lease_to_own";
|
|
214
|
+
readonly RENT: "rent";
|
|
215
|
+
readonly AUCTION: "auction";
|
|
216
|
+
};
|
|
217
|
+
export type ListLeadsResultItemLastOfferTypeEnum = typeof ListLeadsResultItemLastOfferTypeEnum[keyof typeof ListLeadsResultItemLastOfferTypeEnum];
|
|
175
218
|
/**
|
|
176
219
|
* @export
|
|
177
220
|
*/
|