@homespot-sdk/api 0.0.639 → 0.0.641
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 +4 -12
- package/README.md +6 -12
- package/dist/apis/LeadControllerApi.d.ts +15 -71
- package/dist/apis/LeadControllerApi.js +18 -109
- package/dist/esm/apis/LeadControllerApi.d.ts +15 -71
- package/dist/esm/apis/LeadControllerApi.js +18 -109
- package/dist/esm/models/IntentResponse.d.ts +136 -0
- package/dist/esm/models/{SearchIntentResponse.js → IntentResponse.js} +37 -26
- package/dist/esm/models/LeadIntentRequest.d.ts +114 -0
- package/dist/esm/models/{SearchIntentRequest.js → LeadIntentRequest.js} +35 -22
- package/dist/esm/models/LeadProjectionResponse.d.ts +6 -19
- package/dist/esm/models/LeadProjectionResponse.js +11 -16
- package/dist/esm/models/LocationRefRequest.d.ts +0 -6
- package/dist/esm/models/LocationRefRequest.js +0 -2
- package/dist/esm/models/PageLeadProjectionResponse.d.ts +8 -8
- package/dist/esm/models/PageLeadProjectionResponse.js +4 -4
- package/dist/esm/models/PageRoleResponse.d.ts +8 -8
- package/dist/esm/models/PageRoleResponse.js +4 -4
- package/dist/esm/models/PageableObject.d.ts +4 -4
- package/dist/esm/models/PageableObject.js +4 -4
- package/dist/esm/models/index.d.ts +2 -6
- package/dist/esm/models/index.js +2 -6
- package/dist/models/IntentResponse.d.ts +136 -0
- package/dist/models/{SearchIntentResponse.js → IntentResponse.js} +43 -32
- package/dist/models/LeadIntentRequest.d.ts +114 -0
- package/dist/models/{SearchIntentRequest.js → LeadIntentRequest.js} +41 -28
- package/dist/models/LeadProjectionResponse.d.ts +6 -19
- package/dist/models/LeadProjectionResponse.js +11 -16
- package/dist/models/LocationRefRequest.d.ts +0 -6
- package/dist/models/LocationRefRequest.js +0 -2
- package/dist/models/PageLeadProjectionResponse.d.ts +8 -8
- package/dist/models/PageLeadProjectionResponse.js +4 -4
- package/dist/models/PageRoleResponse.d.ts +8 -8
- package/dist/models/PageRoleResponse.js +4 -4
- package/dist/models/PageableObject.d.ts +4 -4
- package/dist/models/PageableObject.js +4 -4
- package/dist/models/index.d.ts +2 -6
- package/dist/models/index.js +2 -6
- package/docs/{SearchIntentResponse.md → IntentResponse.md} +12 -12
- package/docs/LeadControllerApi.md +19 -171
- package/docs/{SearchIntentRequest.md → LeadIntentRequest.md} +10 -8
- package/docs/LeadProjectionResponse.md +8 -12
- package/docs/LocationRefRequest.md +0 -2
- package/docs/PageLeadProjectionResponse.md +4 -4
- package/docs/PageRoleResponse.md +4 -4
- package/docs/PageableObject.md +4 -4
- package/package.json +1 -1
- package/src/apis/LeadControllerApi.ts +32 -206
- package/src/models/{SearchIntentResponse.ts → IntentResponse.ts} +60 -48
- package/src/models/{SearchIntentRequest.ts → LeadIntentRequest.ts} +55 -35
- package/src/models/LeadProjectionResponse.ts +21 -44
- package/src/models/LocationRefRequest.ts +0 -8
- package/src/models/PageLeadProjectionResponse.ts +12 -12
- package/src/models/PageRoleResponse.ts +12 -12
- package/src/models/PageableObject.ts +8 -8
- package/src/models/index.ts +2 -6
- package/dist/esm/models/AddressRefRequest.d.ts +0 -63
- package/dist/esm/models/AddressRefRequest.js +0 -54
- package/dist/esm/models/CoordinatesRequest.d.ts +0 -38
- package/dist/esm/models/CoordinatesRequest.js +0 -47
- package/dist/esm/models/ListingIntentRequest.d.ts +0 -98
- package/dist/esm/models/ListingIntentRequest.js +0 -89
- package/dist/esm/models/ListingIntentResponse.d.ts +0 -138
- package/dist/esm/models/ListingIntentResponse.js +0 -101
- package/dist/esm/models/SearchIntentRequest.d.ts +0 -98
- package/dist/esm/models/SearchIntentResponse.d.ts +0 -126
- package/dist/models/AddressRefRequest.d.ts +0 -63
- package/dist/models/AddressRefRequest.js +0 -61
- package/dist/models/CoordinatesRequest.d.ts +0 -38
- package/dist/models/CoordinatesRequest.js +0 -54
- package/dist/models/ListingIntentRequest.d.ts +0 -98
- package/dist/models/ListingIntentRequest.js +0 -97
- package/dist/models/ListingIntentResponse.d.ts +0 -138
- package/dist/models/ListingIntentResponse.js +0 -109
- package/dist/models/SearchIntentRequest.d.ts +0 -98
- package/dist/models/SearchIntentResponse.d.ts +0 -126
- package/docs/AddressRefRequest.md +0 -44
- package/docs/CoordinatesRequest.md +0 -36
- package/docs/ListingIntentRequest.md +0 -44
- package/docs/ListingIntentResponse.md +0 -58
- package/src/models/AddressRefRequest.ts +0 -114
- package/src/models/CoordinatesRequest.ts +0 -75
- package/src/models/ListingIntentRequest.ts +0 -160
- package/src/models/ListingIntentResponse.ts +0 -201
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Service API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ListingIntentResponse
|
|
20
|
-
*/
|
|
21
|
-
export interface ListingIntentResponse {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ListingIntentResponse
|
|
26
|
-
*/
|
|
27
|
-
propertyType: ListingIntentResponsePropertyTypeEnum;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ListingIntentResponse
|
|
32
|
-
*/
|
|
33
|
-
dealType: ListingIntentResponseDealTypeEnum;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof ListingIntentResponse
|
|
38
|
-
*/
|
|
39
|
-
desiredPriceMin?: number;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {number}
|
|
43
|
-
* @memberof ListingIntentResponse
|
|
44
|
-
*/
|
|
45
|
-
desiredPriceMax?: number;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof ListingIntentResponse
|
|
50
|
-
*/
|
|
51
|
-
regionId?: number;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {number}
|
|
55
|
-
* @memberof ListingIntentResponse
|
|
56
|
-
*/
|
|
57
|
-
cityId?: number;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof ListingIntentResponse
|
|
62
|
-
*/
|
|
63
|
-
districtId?: number;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {number}
|
|
67
|
-
* @memberof ListingIntentResponse
|
|
68
|
-
*/
|
|
69
|
-
subDistrictId?: number;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {number}
|
|
73
|
-
* @memberof ListingIntentResponse
|
|
74
|
-
*/
|
|
75
|
-
streetId?: number;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {number}
|
|
79
|
-
* @memberof ListingIntentResponse
|
|
80
|
-
*/
|
|
81
|
-
lat?: number;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {number}
|
|
85
|
-
* @memberof ListingIntentResponse
|
|
86
|
-
*/
|
|
87
|
-
lng?: number;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {number}
|
|
91
|
-
* @memberof ListingIntentResponse
|
|
92
|
-
*/
|
|
93
|
-
area?: number;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {number}
|
|
97
|
-
* @memberof ListingIntentResponse
|
|
98
|
-
*/
|
|
99
|
-
numberOfRooms?: number;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* @export
|
|
105
|
-
*/
|
|
106
|
-
export const ListingIntentResponsePropertyTypeEnum = {
|
|
107
|
-
House: 'HOUSE',
|
|
108
|
-
TownHouse: 'TOWN_HOUSE',
|
|
109
|
-
CountryHouse: 'COUNTRY_HOUSE',
|
|
110
|
-
Villa: 'VILLA',
|
|
111
|
-
Cottage: 'COTTAGE',
|
|
112
|
-
Apartment: 'APARTMENT',
|
|
113
|
-
Duplex: 'DUPLEX',
|
|
114
|
-
Triplex: 'TRIPLEX',
|
|
115
|
-
SemiBasement: 'SEMI_BASEMENT',
|
|
116
|
-
Attic: 'ATTIC',
|
|
117
|
-
AgriculturalLand: 'AGRICULTURAL_LAND',
|
|
118
|
-
ResidentialLand: 'RESIDENTIAL_LAND',
|
|
119
|
-
HotelRoom: 'HOTEL_ROOM',
|
|
120
|
-
MotelRoom: 'MOTEL_ROOM',
|
|
121
|
-
CoLivingSpace: 'CO_LIVING_SPACE',
|
|
122
|
-
Office: 'OFFICE',
|
|
123
|
-
CommercialSpace: 'COMMERCIAL_SPACE',
|
|
124
|
-
CoWorkingSpace: 'CO_WORKING_SPACE',
|
|
125
|
-
Warehouse: 'WAREHOUSE',
|
|
126
|
-
Garage: 'GARAGE'
|
|
127
|
-
} as const;
|
|
128
|
-
export type ListingIntentResponsePropertyTypeEnum = typeof ListingIntentResponsePropertyTypeEnum[keyof typeof ListingIntentResponsePropertyTypeEnum];
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* @export
|
|
132
|
-
*/
|
|
133
|
-
export const ListingIntentResponseDealTypeEnum = {
|
|
134
|
-
Buy: 'BUY',
|
|
135
|
-
Rent: 'RENT'
|
|
136
|
-
} as const;
|
|
137
|
-
export type ListingIntentResponseDealTypeEnum = typeof ListingIntentResponseDealTypeEnum[keyof typeof ListingIntentResponseDealTypeEnum];
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Check if a given object implements the ListingIntentResponse interface.
|
|
142
|
-
*/
|
|
143
|
-
export function instanceOfListingIntentResponse(value: object): value is ListingIntentResponse {
|
|
144
|
-
if (!('propertyType' in value) || value['propertyType'] === undefined) return false;
|
|
145
|
-
if (!('dealType' in value) || value['dealType'] === undefined) return false;
|
|
146
|
-
return true;
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export function ListingIntentResponseFromJSON(json: any): ListingIntentResponse {
|
|
150
|
-
return ListingIntentResponseFromJSONTyped(json, false);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
export function ListingIntentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListingIntentResponse {
|
|
154
|
-
if (json == null) {
|
|
155
|
-
return json;
|
|
156
|
-
}
|
|
157
|
-
return {
|
|
158
|
-
|
|
159
|
-
'propertyType': json['propertyType'],
|
|
160
|
-
'dealType': json['dealType'],
|
|
161
|
-
'desiredPriceMin': json['desiredPriceMin'] == null ? undefined : json['desiredPriceMin'],
|
|
162
|
-
'desiredPriceMax': json['desiredPriceMax'] == null ? undefined : json['desiredPriceMax'],
|
|
163
|
-
'regionId': json['regionId'] == null ? undefined : json['regionId'],
|
|
164
|
-
'cityId': json['cityId'] == null ? undefined : json['cityId'],
|
|
165
|
-
'districtId': json['districtId'] == null ? undefined : json['districtId'],
|
|
166
|
-
'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
|
|
167
|
-
'streetId': json['streetId'] == null ? undefined : json['streetId'],
|
|
168
|
-
'lat': json['lat'] == null ? undefined : json['lat'],
|
|
169
|
-
'lng': json['lng'] == null ? undefined : json['lng'],
|
|
170
|
-
'area': json['area'] == null ? undefined : json['area'],
|
|
171
|
-
'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
|
|
172
|
-
};
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
export function ListingIntentResponseToJSON(json: any): ListingIntentResponse {
|
|
176
|
-
return ListingIntentResponseToJSONTyped(json, false);
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
export function ListingIntentResponseToJSONTyped(value?: ListingIntentResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
180
|
-
if (value == null) {
|
|
181
|
-
return value;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
return {
|
|
185
|
-
|
|
186
|
-
'propertyType': value['propertyType'],
|
|
187
|
-
'dealType': value['dealType'],
|
|
188
|
-
'desiredPriceMin': value['desiredPriceMin'],
|
|
189
|
-
'desiredPriceMax': value['desiredPriceMax'],
|
|
190
|
-
'regionId': value['regionId'],
|
|
191
|
-
'cityId': value['cityId'],
|
|
192
|
-
'districtId': value['districtId'],
|
|
193
|
-
'subDistrictId': value['subDistrictId'],
|
|
194
|
-
'streetId': value['streetId'],
|
|
195
|
-
'lat': value['lat'],
|
|
196
|
-
'lng': value['lng'],
|
|
197
|
-
'area': value['area'],
|
|
198
|
-
'numberOfRooms': value['numberOfRooms'],
|
|
199
|
-
};
|
|
200
|
-
}
|
|
201
|
-
|