@homespot-sdk/api 0.0.637 → 0.0.638
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 +38 -0
- package/README.md +32 -3
- package/dist/apis/AgencyQueryControllerApi.d.ts +46 -0
- package/dist/apis/AgencyQueryControllerApi.js +65 -0
- package/dist/apis/LeadControllerApi.d.ts +280 -0
- package/dist/apis/LeadControllerApi.js +452 -0
- package/dist/apis/LeadQueryControllerApi.d.ts +88 -0
- package/dist/apis/LeadQueryControllerApi.js +122 -0
- package/dist/apis/PublicAgencyControllerApi.d.ts +1 -21
- package/dist/apis/PublicAgencyControllerApi.js +0 -32
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +3 -0
- package/dist/esm/apis/AgencyQueryControllerApi.d.ts +46 -0
- package/dist/esm/apis/AgencyQueryControllerApi.js +61 -0
- package/dist/esm/apis/LeadControllerApi.d.ts +280 -0
- package/dist/esm/apis/LeadControllerApi.js +448 -0
- package/dist/esm/apis/LeadQueryControllerApi.d.ts +88 -0
- package/dist/esm/apis/LeadQueryControllerApi.js +118 -0
- package/dist/esm/apis/PublicAgencyControllerApi.d.ts +1 -21
- package/dist/esm/apis/PublicAgencyControllerApi.js +1 -33
- package/dist/esm/apis/index.d.ts +3 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/models/AddressRefRequest.d.ts +63 -0
- package/dist/esm/models/AddressRefRequest.js +54 -0
- package/dist/esm/models/AssignToMemberRequest.d.ts +32 -0
- package/dist/esm/models/AssignToMemberRequest.js +43 -0
- package/dist/esm/models/ChangeStatusRequest.d.ts +44 -0
- package/dist/esm/models/ChangeStatusRequest.js +54 -0
- package/dist/esm/models/ContactInfoRequest.d.ts +50 -0
- package/dist/esm/models/ContactInfoRequest.js +49 -0
- package/dist/esm/models/CoordinatesRequest.d.ts +38 -0
- package/dist/esm/models/CoordinatesRequest.js +47 -0
- package/dist/esm/models/CreateLeadRequest.d.ts +45 -0
- package/dist/esm/models/CreateLeadRequest.js +48 -0
- package/dist/esm/models/LeadProjectionResponse.d.ts +130 -0
- package/dist/esm/models/LeadProjectionResponse.js +94 -0
- package/dist/esm/models/ListingIntentRequest.d.ts +98 -0
- package/dist/esm/models/ListingIntentRequest.js +89 -0
- package/dist/esm/models/ListingIntentResponse.d.ts +138 -0
- package/dist/esm/models/ListingIntentResponse.js +101 -0
- package/dist/esm/models/LocationRefRequest.d.ts +56 -0
- package/dist/esm/models/LocationRefRequest.js +49 -0
- package/dist/esm/models/PageLeadProjectionResponse.d.ts +95 -0
- package/dist/esm/models/PageLeadProjectionResponse.js +64 -0
- package/dist/esm/models/PageRoleResponse.d.ts +2 -2
- package/dist/esm/models/PageRoleResponse.js +2 -2
- package/dist/esm/models/PageableObject.d.ts +6 -6
- package/dist/esm/models/PageableObject.js +2 -2
- package/dist/esm/models/PriceRangeRequest.d.ts +38 -0
- package/dist/esm/models/PriceRangeRequest.js +43 -0
- package/dist/esm/models/SearchIntentRequest.d.ts +98 -0
- package/dist/esm/models/SearchIntentRequest.js +89 -0
- package/dist/esm/models/SearchIntentResponse.d.ts +126 -0
- package/dist/esm/models/SearchIntentResponse.js +97 -0
- package/dist/esm/models/SourceRequest.d.ts +32 -0
- package/dist/esm/models/SourceRequest.js +43 -0
- package/dist/esm/models/UpdateNoteRequest.d.ts +32 -0
- package/dist/esm/models/UpdateNoteRequest.js +43 -0
- package/dist/esm/models/index.d.ts +16 -0
- package/dist/esm/models/index.js +16 -0
- package/dist/models/AddressRefRequest.d.ts +63 -0
- package/dist/models/AddressRefRequest.js +61 -0
- package/dist/models/AssignToMemberRequest.d.ts +32 -0
- package/dist/models/AssignToMemberRequest.js +50 -0
- package/dist/models/ChangeStatusRequest.d.ts +44 -0
- package/dist/models/ChangeStatusRequest.js +62 -0
- package/dist/models/ContactInfoRequest.d.ts +50 -0
- package/dist/models/ContactInfoRequest.js +56 -0
- package/dist/models/CoordinatesRequest.d.ts +38 -0
- package/dist/models/CoordinatesRequest.js +54 -0
- package/dist/models/CreateLeadRequest.d.ts +45 -0
- package/dist/models/CreateLeadRequest.js +55 -0
- package/dist/models/LeadProjectionResponse.d.ts +130 -0
- package/dist/models/LeadProjectionResponse.js +102 -0
- package/dist/models/ListingIntentRequest.d.ts +98 -0
- package/dist/models/ListingIntentRequest.js +97 -0
- package/dist/models/ListingIntentResponse.d.ts +138 -0
- package/dist/models/ListingIntentResponse.js +109 -0
- package/dist/models/LocationRefRequest.d.ts +56 -0
- package/dist/models/LocationRefRequest.js +56 -0
- package/dist/models/PageLeadProjectionResponse.d.ts +95 -0
- package/dist/models/PageLeadProjectionResponse.js +71 -0
- package/dist/models/PageRoleResponse.d.ts +2 -2
- package/dist/models/PageRoleResponse.js +2 -2
- package/dist/models/PageableObject.d.ts +6 -6
- package/dist/models/PageableObject.js +2 -2
- package/dist/models/PriceRangeRequest.d.ts +38 -0
- package/dist/models/PriceRangeRequest.js +50 -0
- package/dist/models/SearchIntentRequest.d.ts +98 -0
- package/dist/models/SearchIntentRequest.js +97 -0
- package/dist/models/SearchIntentResponse.d.ts +126 -0
- package/dist/models/SearchIntentResponse.js +105 -0
- package/dist/models/SourceRequest.d.ts +32 -0
- package/dist/models/SourceRequest.js +50 -0
- package/dist/models/UpdateNoteRequest.d.ts +32 -0
- package/dist/models/UpdateNoteRequest.js +50 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.js +16 -0
- package/docs/AddressRefRequest.md +44 -0
- package/docs/AgencyQueryControllerApi.md +78 -0
- package/docs/AssignToMemberRequest.md +34 -0
- package/docs/ChangeStatusRequest.md +34 -0
- package/docs/ContactInfoRequest.md +40 -0
- package/docs/CoordinatesRequest.md +36 -0
- package/docs/CreateLeadRequest.md +38 -0
- package/docs/LeadControllerApi.md +817 -0
- package/docs/LeadProjectionResponse.md +62 -0
- package/docs/LeadQueryControllerApi.md +163 -0
- package/docs/ListingIntentRequest.md +44 -0
- package/docs/ListingIntentResponse.md +58 -0
- package/docs/LocationRefRequest.md +42 -0
- package/docs/PageLeadProjectionResponse.md +54 -0
- package/docs/PageRoleResponse.md +2 -2
- package/docs/PageableObject.md +2 -2
- package/docs/PriceRangeRequest.md +36 -0
- package/docs/PublicAgencyControllerApi.md +0 -70
- package/docs/SearchIntentRequest.md +44 -0
- package/docs/SearchIntentResponse.md +54 -0
- package/docs/SourceRequest.md +34 -0
- package/docs/UpdateNoteRequest.md +34 -0
- package/package.json +1 -1
- package/src/apis/AgencyQueryControllerApi.ts +96 -0
- package/src/apis/LeadControllerApi.ts +851 -0
- package/src/apis/LeadQueryControllerApi.ts +195 -0
- package/src/apis/PublicAgencyControllerApi.ts +0 -60
- package/src/apis/index.ts +3 -0
- package/src/models/AddressRefRequest.ts +114 -0
- package/src/models/AssignToMemberRequest.ts +66 -0
- package/src/models/ChangeStatusRequest.ts +81 -0
- package/src/models/ContactInfoRequest.ts +90 -0
- package/src/models/CoordinatesRequest.ts +75 -0
- package/src/models/CreateLeadRequest.ts +90 -0
- package/src/models/LeadProjectionResponse.ts +213 -0
- package/src/models/ListingIntentRequest.ts +160 -0
- package/src/models/ListingIntentResponse.ts +201 -0
- package/src/models/LocationRefRequest.ts +97 -0
- package/src/models/PageLeadProjectionResponse.ts +167 -0
- package/src/models/PageRoleResponse.ts +4 -4
- package/src/models/PageableObject.ts +8 -8
- package/src/models/PriceRangeRequest.ts +73 -0
- package/src/models/SearchIntentRequest.ts +160 -0
- package/src/models/SearchIntentResponse.ts +185 -0
- package/src/models/SourceRequest.ts +66 -0
- package/src/models/UpdateNoteRequest.ts +66 -0
- package/src/models/index.ts +16 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Service API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
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.LeadProjectionResponseStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfLeadProjectionResponse = instanceOfLeadProjectionResponse;
|
|
18
|
+
exports.LeadProjectionResponseFromJSON = LeadProjectionResponseFromJSON;
|
|
19
|
+
exports.LeadProjectionResponseFromJSONTyped = LeadProjectionResponseFromJSONTyped;
|
|
20
|
+
exports.LeadProjectionResponseToJSON = LeadProjectionResponseToJSON;
|
|
21
|
+
exports.LeadProjectionResponseToJSONTyped = LeadProjectionResponseToJSONTyped;
|
|
22
|
+
const ListingIntentResponse_1 = require("./ListingIntentResponse");
|
|
23
|
+
const SearchIntentResponse_1 = require("./SearchIntentResponse");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.LeadProjectionResponseStatusEnum = {
|
|
28
|
+
New: 'NEW',
|
|
29
|
+
AttemptedContact: 'ATTEMPTED_CONTACT',
|
|
30
|
+
Contacted: 'CONTACTED',
|
|
31
|
+
Disqualified: 'DISQUALIFIED',
|
|
32
|
+
Converted: 'CONVERTED',
|
|
33
|
+
Lost: 'LOST'
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the LeadProjectionResponse interface.
|
|
37
|
+
*/
|
|
38
|
+
function instanceOfLeadProjectionResponse(value) {
|
|
39
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('createdBy' in value) || value['createdBy'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('contactPhoneNumber' in value) || value['contactPhoneNumber'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('isSearcher' in value) || value['isSearcher'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('isLister' in value) || value['isLister'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
function LeadProjectionResponseFromJSON(json) {
|
|
54
|
+
return LeadProjectionResponseFromJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
function LeadProjectionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'id': json['id'],
|
|
62
|
+
'createdBy': json['createdBy'],
|
|
63
|
+
'assignedTo': json['assignedTo'] == null ? undefined : json['assignedTo'],
|
|
64
|
+
'status': json['status'],
|
|
65
|
+
'contactFullName': json['contactFullName'] == null ? undefined : json['contactFullName'],
|
|
66
|
+
'contactPhoneNumber': json['contactPhoneNumber'],
|
|
67
|
+
'contactEmail': json['contactEmail'] == null ? undefined : json['contactEmail'],
|
|
68
|
+
'noteTitle': json['noteTitle'] == null ? undefined : json['noteTitle'],
|
|
69
|
+
'noteContent': json['noteContent'] == null ? undefined : json['noteContent'],
|
|
70
|
+
'sourceType': json['sourceType'] == null ? undefined : json['sourceType'],
|
|
71
|
+
'sourceLink': json['sourceLink'] == null ? undefined : json['sourceLink'],
|
|
72
|
+
'isSearcher': json['isSearcher'],
|
|
73
|
+
'isLister': json['isLister'],
|
|
74
|
+
'searchIntents': json['searchIntents'] == null ? undefined : (json['searchIntents'].map(SearchIntentResponse_1.SearchIntentResponseFromJSON)),
|
|
75
|
+
'listingIntents': json['listingIntents'] == null ? undefined : (json['listingIntents'].map(ListingIntentResponse_1.ListingIntentResponseFromJSON)),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
function LeadProjectionResponseToJSON(json) {
|
|
79
|
+
return LeadProjectionResponseToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
function LeadProjectionResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
'id': value['id'],
|
|
87
|
+
'createdBy': value['createdBy'],
|
|
88
|
+
'assignedTo': value['assignedTo'],
|
|
89
|
+
'status': value['status'],
|
|
90
|
+
'contactFullName': value['contactFullName'],
|
|
91
|
+
'contactPhoneNumber': value['contactPhoneNumber'],
|
|
92
|
+
'contactEmail': value['contactEmail'],
|
|
93
|
+
'noteTitle': value['noteTitle'],
|
|
94
|
+
'noteContent': value['noteContent'],
|
|
95
|
+
'sourceType': value['sourceType'],
|
|
96
|
+
'sourceLink': value['sourceLink'],
|
|
97
|
+
'isSearcher': value['isSearcher'],
|
|
98
|
+
'isLister': value['isLister'],
|
|
99
|
+
'searchIntents': value['searchIntents'] == null ? undefined : (value['searchIntents'].map(SearchIntentResponse_1.SearchIntentResponseToJSON)),
|
|
100
|
+
'listingIntents': value['listingIntents'] == null ? undefined : (value['listingIntents'].map(ListingIntentResponse_1.ListingIntentResponseToJSON)),
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
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 { AddressRefRequest } from './AddressRefRequest';
|
|
13
|
+
import type { PriceRangeRequest } from './PriceRangeRequest';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ListingIntentRequest
|
|
18
|
+
*/
|
|
19
|
+
export interface ListingIntentRequest {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof ListingIntentRequest
|
|
24
|
+
*/
|
|
25
|
+
propertyType: ListingIntentRequestPropertyTypeEnum;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ListingIntentRequest
|
|
30
|
+
*/
|
|
31
|
+
dealType: ListingIntentRequestDealTypeEnum;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {PriceRangeRequest}
|
|
35
|
+
* @memberof ListingIntentRequest
|
|
36
|
+
*/
|
|
37
|
+
desiredPrice?: PriceRangeRequest;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {AddressRefRequest}
|
|
41
|
+
* @memberof ListingIntentRequest
|
|
42
|
+
*/
|
|
43
|
+
address?: AddressRefRequest;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof ListingIntentRequest
|
|
48
|
+
*/
|
|
49
|
+
area?: number;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof ListingIntentRequest
|
|
54
|
+
*/
|
|
55
|
+
numberOfRooms?: number;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* @export
|
|
59
|
+
*/
|
|
60
|
+
export declare const ListingIntentRequestPropertyTypeEnum: {
|
|
61
|
+
readonly House: "HOUSE";
|
|
62
|
+
readonly TownHouse: "TOWN_HOUSE";
|
|
63
|
+
readonly CountryHouse: "COUNTRY_HOUSE";
|
|
64
|
+
readonly Villa: "VILLA";
|
|
65
|
+
readonly Cottage: "COTTAGE";
|
|
66
|
+
readonly Apartment: "APARTMENT";
|
|
67
|
+
readonly Duplex: "DUPLEX";
|
|
68
|
+
readonly Triplex: "TRIPLEX";
|
|
69
|
+
readonly SemiBasement: "SEMI_BASEMENT";
|
|
70
|
+
readonly Attic: "ATTIC";
|
|
71
|
+
readonly AgriculturalLand: "AGRICULTURAL_LAND";
|
|
72
|
+
readonly ResidentialLand: "RESIDENTIAL_LAND";
|
|
73
|
+
readonly HotelRoom: "HOTEL_ROOM";
|
|
74
|
+
readonly MotelRoom: "MOTEL_ROOM";
|
|
75
|
+
readonly CoLivingSpace: "CO_LIVING_SPACE";
|
|
76
|
+
readonly Office: "OFFICE";
|
|
77
|
+
readonly CommercialSpace: "COMMERCIAL_SPACE";
|
|
78
|
+
readonly CoWorkingSpace: "CO_WORKING_SPACE";
|
|
79
|
+
readonly Warehouse: "WAREHOUSE";
|
|
80
|
+
readonly Garage: "GARAGE";
|
|
81
|
+
};
|
|
82
|
+
export type ListingIntentRequestPropertyTypeEnum = typeof ListingIntentRequestPropertyTypeEnum[keyof typeof ListingIntentRequestPropertyTypeEnum];
|
|
83
|
+
/**
|
|
84
|
+
* @export
|
|
85
|
+
*/
|
|
86
|
+
export declare const ListingIntentRequestDealTypeEnum: {
|
|
87
|
+
readonly Buy: "BUY";
|
|
88
|
+
readonly Rent: "RENT";
|
|
89
|
+
};
|
|
90
|
+
export type ListingIntentRequestDealTypeEnum = typeof ListingIntentRequestDealTypeEnum[keyof typeof ListingIntentRequestDealTypeEnum];
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the ListingIntentRequest interface.
|
|
93
|
+
*/
|
|
94
|
+
export declare function instanceOfListingIntentRequest(value: object): value is ListingIntentRequest;
|
|
95
|
+
export declare function ListingIntentRequestFromJSON(json: any): ListingIntentRequest;
|
|
96
|
+
export declare function ListingIntentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListingIntentRequest;
|
|
97
|
+
export declare function ListingIntentRequestToJSON(json: any): ListingIntentRequest;
|
|
98
|
+
export declare function ListingIntentRequestToJSONTyped(value?: ListingIntentRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Service API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
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.ListingIntentRequestDealTypeEnum = exports.ListingIntentRequestPropertyTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfListingIntentRequest = instanceOfListingIntentRequest;
|
|
18
|
+
exports.ListingIntentRequestFromJSON = ListingIntentRequestFromJSON;
|
|
19
|
+
exports.ListingIntentRequestFromJSONTyped = ListingIntentRequestFromJSONTyped;
|
|
20
|
+
exports.ListingIntentRequestToJSON = ListingIntentRequestToJSON;
|
|
21
|
+
exports.ListingIntentRequestToJSONTyped = ListingIntentRequestToJSONTyped;
|
|
22
|
+
const AddressRefRequest_1 = require("./AddressRefRequest");
|
|
23
|
+
const PriceRangeRequest_1 = require("./PriceRangeRequest");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.ListingIntentRequestPropertyTypeEnum = {
|
|
28
|
+
House: 'HOUSE',
|
|
29
|
+
TownHouse: 'TOWN_HOUSE',
|
|
30
|
+
CountryHouse: 'COUNTRY_HOUSE',
|
|
31
|
+
Villa: 'VILLA',
|
|
32
|
+
Cottage: 'COTTAGE',
|
|
33
|
+
Apartment: 'APARTMENT',
|
|
34
|
+
Duplex: 'DUPLEX',
|
|
35
|
+
Triplex: 'TRIPLEX',
|
|
36
|
+
SemiBasement: 'SEMI_BASEMENT',
|
|
37
|
+
Attic: 'ATTIC',
|
|
38
|
+
AgriculturalLand: 'AGRICULTURAL_LAND',
|
|
39
|
+
ResidentialLand: 'RESIDENTIAL_LAND',
|
|
40
|
+
HotelRoom: 'HOTEL_ROOM',
|
|
41
|
+
MotelRoom: 'MOTEL_ROOM',
|
|
42
|
+
CoLivingSpace: 'CO_LIVING_SPACE',
|
|
43
|
+
Office: 'OFFICE',
|
|
44
|
+
CommercialSpace: 'COMMERCIAL_SPACE',
|
|
45
|
+
CoWorkingSpace: 'CO_WORKING_SPACE',
|
|
46
|
+
Warehouse: 'WAREHOUSE',
|
|
47
|
+
Garage: 'GARAGE'
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
exports.ListingIntentRequestDealTypeEnum = {
|
|
53
|
+
Buy: 'BUY',
|
|
54
|
+
Rent: 'RENT'
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ListingIntentRequest interface.
|
|
58
|
+
*/
|
|
59
|
+
function instanceOfListingIntentRequest(value) {
|
|
60
|
+
if (!('propertyType' in value) || value['propertyType'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
if (!('dealType' in value) || value['dealType'] === undefined)
|
|
63
|
+
return false;
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
function ListingIntentRequestFromJSON(json) {
|
|
67
|
+
return ListingIntentRequestFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function ListingIntentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
70
|
+
if (json == null) {
|
|
71
|
+
return json;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'propertyType': json['propertyType'],
|
|
75
|
+
'dealType': json['dealType'],
|
|
76
|
+
'desiredPrice': json['desiredPrice'] == null ? undefined : (0, PriceRangeRequest_1.PriceRangeRequestFromJSON)(json['desiredPrice']),
|
|
77
|
+
'address': json['address'] == null ? undefined : (0, AddressRefRequest_1.AddressRefRequestFromJSON)(json['address']),
|
|
78
|
+
'area': json['area'] == null ? undefined : json['area'],
|
|
79
|
+
'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
function ListingIntentRequestToJSON(json) {
|
|
83
|
+
return ListingIntentRequestToJSONTyped(json, false);
|
|
84
|
+
}
|
|
85
|
+
function ListingIntentRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
86
|
+
if (value == null) {
|
|
87
|
+
return value;
|
|
88
|
+
}
|
|
89
|
+
return {
|
|
90
|
+
'propertyType': value['propertyType'],
|
|
91
|
+
'dealType': value['dealType'],
|
|
92
|
+
'desiredPrice': (0, PriceRangeRequest_1.PriceRangeRequestToJSON)(value['desiredPrice']),
|
|
93
|
+
'address': (0, AddressRefRequest_1.AddressRefRequestToJSON)(value['address']),
|
|
94
|
+
'area': value['area'],
|
|
95
|
+
'numberOfRooms': value['numberOfRooms'],
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
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 ListingIntentResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface ListingIntentResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ListingIntentResponse
|
|
22
|
+
*/
|
|
23
|
+
propertyType: ListingIntentResponsePropertyTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ListingIntentResponse
|
|
28
|
+
*/
|
|
29
|
+
dealType: ListingIntentResponseDealTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ListingIntentResponse
|
|
34
|
+
*/
|
|
35
|
+
desiredPriceMin?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListingIntentResponse
|
|
40
|
+
*/
|
|
41
|
+
desiredPriceMax?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListingIntentResponse
|
|
46
|
+
*/
|
|
47
|
+
regionId?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof ListingIntentResponse
|
|
52
|
+
*/
|
|
53
|
+
cityId?: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof ListingIntentResponse
|
|
58
|
+
*/
|
|
59
|
+
districtId?: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof ListingIntentResponse
|
|
64
|
+
*/
|
|
65
|
+
subDistrictId?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof ListingIntentResponse
|
|
70
|
+
*/
|
|
71
|
+
streetId?: number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof ListingIntentResponse
|
|
76
|
+
*/
|
|
77
|
+
lat?: number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof ListingIntentResponse
|
|
82
|
+
*/
|
|
83
|
+
lng?: number;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {number}
|
|
87
|
+
* @memberof ListingIntentResponse
|
|
88
|
+
*/
|
|
89
|
+
area?: number;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {number}
|
|
93
|
+
* @memberof ListingIntentResponse
|
|
94
|
+
*/
|
|
95
|
+
numberOfRooms?: number;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* @export
|
|
99
|
+
*/
|
|
100
|
+
export declare const ListingIntentResponsePropertyTypeEnum: {
|
|
101
|
+
readonly House: "HOUSE";
|
|
102
|
+
readonly TownHouse: "TOWN_HOUSE";
|
|
103
|
+
readonly CountryHouse: "COUNTRY_HOUSE";
|
|
104
|
+
readonly Villa: "VILLA";
|
|
105
|
+
readonly Cottage: "COTTAGE";
|
|
106
|
+
readonly Apartment: "APARTMENT";
|
|
107
|
+
readonly Duplex: "DUPLEX";
|
|
108
|
+
readonly Triplex: "TRIPLEX";
|
|
109
|
+
readonly SemiBasement: "SEMI_BASEMENT";
|
|
110
|
+
readonly Attic: "ATTIC";
|
|
111
|
+
readonly AgriculturalLand: "AGRICULTURAL_LAND";
|
|
112
|
+
readonly ResidentialLand: "RESIDENTIAL_LAND";
|
|
113
|
+
readonly HotelRoom: "HOTEL_ROOM";
|
|
114
|
+
readonly MotelRoom: "MOTEL_ROOM";
|
|
115
|
+
readonly CoLivingSpace: "CO_LIVING_SPACE";
|
|
116
|
+
readonly Office: "OFFICE";
|
|
117
|
+
readonly CommercialSpace: "COMMERCIAL_SPACE";
|
|
118
|
+
readonly CoWorkingSpace: "CO_WORKING_SPACE";
|
|
119
|
+
readonly Warehouse: "WAREHOUSE";
|
|
120
|
+
readonly Garage: "GARAGE";
|
|
121
|
+
};
|
|
122
|
+
export type ListingIntentResponsePropertyTypeEnum = typeof ListingIntentResponsePropertyTypeEnum[keyof typeof ListingIntentResponsePropertyTypeEnum];
|
|
123
|
+
/**
|
|
124
|
+
* @export
|
|
125
|
+
*/
|
|
126
|
+
export declare const ListingIntentResponseDealTypeEnum: {
|
|
127
|
+
readonly Buy: "BUY";
|
|
128
|
+
readonly Rent: "RENT";
|
|
129
|
+
};
|
|
130
|
+
export type ListingIntentResponseDealTypeEnum = typeof ListingIntentResponseDealTypeEnum[keyof typeof ListingIntentResponseDealTypeEnum];
|
|
131
|
+
/**
|
|
132
|
+
* Check if a given object implements the ListingIntentResponse interface.
|
|
133
|
+
*/
|
|
134
|
+
export declare function instanceOfListingIntentResponse(value: object): value is ListingIntentResponse;
|
|
135
|
+
export declare function ListingIntentResponseFromJSON(json: any): ListingIntentResponse;
|
|
136
|
+
export declare function ListingIntentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListingIntentResponse;
|
|
137
|
+
export declare function ListingIntentResponseToJSON(json: any): ListingIntentResponse;
|
|
138
|
+
export declare function ListingIntentResponseToJSONTyped(value?: ListingIntentResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Service API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
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.ListingIntentResponseDealTypeEnum = exports.ListingIntentResponsePropertyTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfListingIntentResponse = instanceOfListingIntentResponse;
|
|
18
|
+
exports.ListingIntentResponseFromJSON = ListingIntentResponseFromJSON;
|
|
19
|
+
exports.ListingIntentResponseFromJSONTyped = ListingIntentResponseFromJSONTyped;
|
|
20
|
+
exports.ListingIntentResponseToJSON = ListingIntentResponseToJSON;
|
|
21
|
+
exports.ListingIntentResponseToJSONTyped = ListingIntentResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ListingIntentResponsePropertyTypeEnum = {
|
|
26
|
+
House: 'HOUSE',
|
|
27
|
+
TownHouse: 'TOWN_HOUSE',
|
|
28
|
+
CountryHouse: 'COUNTRY_HOUSE',
|
|
29
|
+
Villa: 'VILLA',
|
|
30
|
+
Cottage: 'COTTAGE',
|
|
31
|
+
Apartment: 'APARTMENT',
|
|
32
|
+
Duplex: 'DUPLEX',
|
|
33
|
+
Triplex: 'TRIPLEX',
|
|
34
|
+
SemiBasement: 'SEMI_BASEMENT',
|
|
35
|
+
Attic: 'ATTIC',
|
|
36
|
+
AgriculturalLand: 'AGRICULTURAL_LAND',
|
|
37
|
+
ResidentialLand: 'RESIDENTIAL_LAND',
|
|
38
|
+
HotelRoom: 'HOTEL_ROOM',
|
|
39
|
+
MotelRoom: 'MOTEL_ROOM',
|
|
40
|
+
CoLivingSpace: 'CO_LIVING_SPACE',
|
|
41
|
+
Office: 'OFFICE',
|
|
42
|
+
CommercialSpace: 'COMMERCIAL_SPACE',
|
|
43
|
+
CoWorkingSpace: 'CO_WORKING_SPACE',
|
|
44
|
+
Warehouse: 'WAREHOUSE',
|
|
45
|
+
Garage: 'GARAGE'
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* @export
|
|
49
|
+
*/
|
|
50
|
+
exports.ListingIntentResponseDealTypeEnum = {
|
|
51
|
+
Buy: 'BUY',
|
|
52
|
+
Rent: 'RENT'
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the ListingIntentResponse interface.
|
|
56
|
+
*/
|
|
57
|
+
function instanceOfListingIntentResponse(value) {
|
|
58
|
+
if (!('propertyType' in value) || value['propertyType'] === undefined)
|
|
59
|
+
return false;
|
|
60
|
+
if (!('dealType' in value) || value['dealType'] === undefined)
|
|
61
|
+
return false;
|
|
62
|
+
return true;
|
|
63
|
+
}
|
|
64
|
+
function ListingIntentResponseFromJSON(json) {
|
|
65
|
+
return ListingIntentResponseFromJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
function ListingIntentResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'propertyType': json['propertyType'],
|
|
73
|
+
'dealType': json['dealType'],
|
|
74
|
+
'desiredPriceMin': json['desiredPriceMin'] == null ? undefined : json['desiredPriceMin'],
|
|
75
|
+
'desiredPriceMax': json['desiredPriceMax'] == null ? undefined : json['desiredPriceMax'],
|
|
76
|
+
'regionId': json['regionId'] == null ? undefined : json['regionId'],
|
|
77
|
+
'cityId': json['cityId'] == null ? undefined : json['cityId'],
|
|
78
|
+
'districtId': json['districtId'] == null ? undefined : json['districtId'],
|
|
79
|
+
'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
|
|
80
|
+
'streetId': json['streetId'] == null ? undefined : json['streetId'],
|
|
81
|
+
'lat': json['lat'] == null ? undefined : json['lat'],
|
|
82
|
+
'lng': json['lng'] == null ? undefined : json['lng'],
|
|
83
|
+
'area': json['area'] == null ? undefined : json['area'],
|
|
84
|
+
'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function ListingIntentResponseToJSON(json) {
|
|
88
|
+
return ListingIntentResponseToJSONTyped(json, false);
|
|
89
|
+
}
|
|
90
|
+
function ListingIntentResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
91
|
+
if (value == null) {
|
|
92
|
+
return value;
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
'propertyType': value['propertyType'],
|
|
96
|
+
'dealType': value['dealType'],
|
|
97
|
+
'desiredPriceMin': value['desiredPriceMin'],
|
|
98
|
+
'desiredPriceMax': value['desiredPriceMax'],
|
|
99
|
+
'regionId': value['regionId'],
|
|
100
|
+
'cityId': value['cityId'],
|
|
101
|
+
'districtId': value['districtId'],
|
|
102
|
+
'subDistrictId': value['subDistrictId'],
|
|
103
|
+
'streetId': value['streetId'],
|
|
104
|
+
'lat': value['lat'],
|
|
105
|
+
'lng': value['lng'],
|
|
106
|
+
'area': value['area'],
|
|
107
|
+
'numberOfRooms': value['numberOfRooms'],
|
|
108
|
+
};
|
|
109
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
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 LocationRefRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface LocationRefRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof LocationRefRequest
|
|
22
|
+
*/
|
|
23
|
+
regionId?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof LocationRefRequest
|
|
28
|
+
*/
|
|
29
|
+
cityId?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof LocationRefRequest
|
|
34
|
+
*/
|
|
35
|
+
districtId?: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof LocationRefRequest
|
|
40
|
+
*/
|
|
41
|
+
subDistrictId?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof LocationRefRequest
|
|
46
|
+
*/
|
|
47
|
+
streetId?: number;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the LocationRefRequest interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfLocationRefRequest(value: object): value is LocationRefRequest;
|
|
53
|
+
export declare function LocationRefRequestFromJSON(json: any): LocationRefRequest;
|
|
54
|
+
export declare function LocationRefRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocationRefRequest;
|
|
55
|
+
export declare function LocationRefRequestToJSON(json: any): LocationRefRequest;
|
|
56
|
+
export declare function LocationRefRequestToJSONTyped(value?: LocationRefRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Service API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
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.instanceOfLocationRefRequest = instanceOfLocationRefRequest;
|
|
17
|
+
exports.LocationRefRequestFromJSON = LocationRefRequestFromJSON;
|
|
18
|
+
exports.LocationRefRequestFromJSONTyped = LocationRefRequestFromJSONTyped;
|
|
19
|
+
exports.LocationRefRequestToJSON = LocationRefRequestToJSON;
|
|
20
|
+
exports.LocationRefRequestToJSONTyped = LocationRefRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the LocationRefRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfLocationRefRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function LocationRefRequestFromJSON(json) {
|
|
28
|
+
return LocationRefRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function LocationRefRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'regionId': json['regionId'] == null ? undefined : json['regionId'],
|
|
36
|
+
'cityId': json['cityId'] == null ? undefined : json['cityId'],
|
|
37
|
+
'districtId': json['districtId'] == null ? undefined : json['districtId'],
|
|
38
|
+
'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
|
|
39
|
+
'streetId': json['streetId'] == null ? undefined : json['streetId'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function LocationRefRequestToJSON(json) {
|
|
43
|
+
return LocationRefRequestToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function LocationRefRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'regionId': value['regionId'],
|
|
51
|
+
'cityId': value['cityId'],
|
|
52
|
+
'districtId': value['districtId'],
|
|
53
|
+
'subDistrictId': value['subDistrictId'],
|
|
54
|
+
'streetId': value['streetId'],
|
|
55
|
+
};
|
|
56
|
+
}
|