@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,138 +0,0 @@
|
|
|
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;
|
|
@@ -1,101 +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
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export const ListingIntentResponsePropertyTypeEnum = {
|
|
18
|
-
House: 'HOUSE',
|
|
19
|
-
TownHouse: 'TOWN_HOUSE',
|
|
20
|
-
CountryHouse: 'COUNTRY_HOUSE',
|
|
21
|
-
Villa: 'VILLA',
|
|
22
|
-
Cottage: 'COTTAGE',
|
|
23
|
-
Apartment: 'APARTMENT',
|
|
24
|
-
Duplex: 'DUPLEX',
|
|
25
|
-
Triplex: 'TRIPLEX',
|
|
26
|
-
SemiBasement: 'SEMI_BASEMENT',
|
|
27
|
-
Attic: 'ATTIC',
|
|
28
|
-
AgriculturalLand: 'AGRICULTURAL_LAND',
|
|
29
|
-
ResidentialLand: 'RESIDENTIAL_LAND',
|
|
30
|
-
HotelRoom: 'HOTEL_ROOM',
|
|
31
|
-
MotelRoom: 'MOTEL_ROOM',
|
|
32
|
-
CoLivingSpace: 'CO_LIVING_SPACE',
|
|
33
|
-
Office: 'OFFICE',
|
|
34
|
-
CommercialSpace: 'COMMERCIAL_SPACE',
|
|
35
|
-
CoWorkingSpace: 'CO_WORKING_SPACE',
|
|
36
|
-
Warehouse: 'WAREHOUSE',
|
|
37
|
-
Garage: 'GARAGE'
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* @export
|
|
41
|
-
*/
|
|
42
|
-
export const ListingIntentResponseDealTypeEnum = {
|
|
43
|
-
Buy: 'BUY',
|
|
44
|
-
Rent: 'RENT'
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Check if a given object implements the ListingIntentResponse interface.
|
|
48
|
-
*/
|
|
49
|
-
export function instanceOfListingIntentResponse(value) {
|
|
50
|
-
if (!('propertyType' in value) || value['propertyType'] === undefined)
|
|
51
|
-
return false;
|
|
52
|
-
if (!('dealType' in value) || value['dealType'] === undefined)
|
|
53
|
-
return false;
|
|
54
|
-
return true;
|
|
55
|
-
}
|
|
56
|
-
export function ListingIntentResponseFromJSON(json) {
|
|
57
|
-
return ListingIntentResponseFromJSONTyped(json, false);
|
|
58
|
-
}
|
|
59
|
-
export function ListingIntentResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
60
|
-
if (json == null) {
|
|
61
|
-
return json;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
'propertyType': json['propertyType'],
|
|
65
|
-
'dealType': json['dealType'],
|
|
66
|
-
'desiredPriceMin': json['desiredPriceMin'] == null ? undefined : json['desiredPriceMin'],
|
|
67
|
-
'desiredPriceMax': json['desiredPriceMax'] == null ? undefined : json['desiredPriceMax'],
|
|
68
|
-
'regionId': json['regionId'] == null ? undefined : json['regionId'],
|
|
69
|
-
'cityId': json['cityId'] == null ? undefined : json['cityId'],
|
|
70
|
-
'districtId': json['districtId'] == null ? undefined : json['districtId'],
|
|
71
|
-
'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
|
|
72
|
-
'streetId': json['streetId'] == null ? undefined : json['streetId'],
|
|
73
|
-
'lat': json['lat'] == null ? undefined : json['lat'],
|
|
74
|
-
'lng': json['lng'] == null ? undefined : json['lng'],
|
|
75
|
-
'area': json['area'] == null ? undefined : json['area'],
|
|
76
|
-
'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
export function ListingIntentResponseToJSON(json) {
|
|
80
|
-
return ListingIntentResponseToJSONTyped(json, false);
|
|
81
|
-
}
|
|
82
|
-
export function ListingIntentResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
83
|
-
if (value == null) {
|
|
84
|
-
return value;
|
|
85
|
-
}
|
|
86
|
-
return {
|
|
87
|
-
'propertyType': value['propertyType'],
|
|
88
|
-
'dealType': value['dealType'],
|
|
89
|
-
'desiredPriceMin': value['desiredPriceMin'],
|
|
90
|
-
'desiredPriceMax': value['desiredPriceMax'],
|
|
91
|
-
'regionId': value['regionId'],
|
|
92
|
-
'cityId': value['cityId'],
|
|
93
|
-
'districtId': value['districtId'],
|
|
94
|
-
'subDistrictId': value['subDistrictId'],
|
|
95
|
-
'streetId': value['streetId'],
|
|
96
|
-
'lat': value['lat'],
|
|
97
|
-
'lng': value['lng'],
|
|
98
|
-
'area': value['area'],
|
|
99
|
-
'numberOfRooms': value['numberOfRooms'],
|
|
100
|
-
};
|
|
101
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
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 { LocationRefRequest } from './LocationRefRequest';
|
|
13
|
-
import type { PriceRangeRequest } from './PriceRangeRequest';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface SearchIntentRequest
|
|
18
|
-
*/
|
|
19
|
-
export interface SearchIntentRequest {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof SearchIntentRequest
|
|
24
|
-
*/
|
|
25
|
-
propertyType: SearchIntentRequestPropertyTypeEnum;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof SearchIntentRequest
|
|
30
|
-
*/
|
|
31
|
-
dealType: SearchIntentRequestDealTypeEnum;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {PriceRangeRequest}
|
|
35
|
-
* @memberof SearchIntentRequest
|
|
36
|
-
*/
|
|
37
|
-
budget?: PriceRangeRequest;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {LocationRefRequest}
|
|
41
|
-
* @memberof SearchIntentRequest
|
|
42
|
-
*/
|
|
43
|
-
targetLocation?: LocationRefRequest;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {number}
|
|
47
|
-
* @memberof SearchIntentRequest
|
|
48
|
-
*/
|
|
49
|
-
area?: number;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {number}
|
|
53
|
-
* @memberof SearchIntentRequest
|
|
54
|
-
*/
|
|
55
|
-
numberOfRooms?: number;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
|
-
export declare const SearchIntentRequestPropertyTypeEnum: {
|
|
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 SearchIntentRequestPropertyTypeEnum = typeof SearchIntentRequestPropertyTypeEnum[keyof typeof SearchIntentRequestPropertyTypeEnum];
|
|
83
|
-
/**
|
|
84
|
-
* @export
|
|
85
|
-
*/
|
|
86
|
-
export declare const SearchIntentRequestDealTypeEnum: {
|
|
87
|
-
readonly Buy: "BUY";
|
|
88
|
-
readonly Rent: "RENT";
|
|
89
|
-
};
|
|
90
|
-
export type SearchIntentRequestDealTypeEnum = typeof SearchIntentRequestDealTypeEnum[keyof typeof SearchIntentRequestDealTypeEnum];
|
|
91
|
-
/**
|
|
92
|
-
* Check if a given object implements the SearchIntentRequest interface.
|
|
93
|
-
*/
|
|
94
|
-
export declare function instanceOfSearchIntentRequest(value: object): value is SearchIntentRequest;
|
|
95
|
-
export declare function SearchIntentRequestFromJSON(json: any): SearchIntentRequest;
|
|
96
|
-
export declare function SearchIntentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchIntentRequest;
|
|
97
|
-
export declare function SearchIntentRequestToJSON(json: any): SearchIntentRequest;
|
|
98
|
-
export declare function SearchIntentRequestToJSONTyped(value?: SearchIntentRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,126 +0,0 @@
|
|
|
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 SearchIntentResponse
|
|
16
|
-
*/
|
|
17
|
-
export interface SearchIntentResponse {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SearchIntentResponse
|
|
22
|
-
*/
|
|
23
|
-
propertyType: SearchIntentResponsePropertyTypeEnum;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof SearchIntentResponse
|
|
28
|
-
*/
|
|
29
|
-
dealType: SearchIntentResponseDealTypeEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof SearchIntentResponse
|
|
34
|
-
*/
|
|
35
|
-
budgetMin?: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof SearchIntentResponse
|
|
40
|
-
*/
|
|
41
|
-
budgetMax?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof SearchIntentResponse
|
|
46
|
-
*/
|
|
47
|
-
regionId?: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof SearchIntentResponse
|
|
52
|
-
*/
|
|
53
|
-
cityId?: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof SearchIntentResponse
|
|
58
|
-
*/
|
|
59
|
-
districtId?: number;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof SearchIntentResponse
|
|
64
|
-
*/
|
|
65
|
-
subDistrictId?: number;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {number}
|
|
69
|
-
* @memberof SearchIntentResponse
|
|
70
|
-
*/
|
|
71
|
-
streetId?: number;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {number}
|
|
75
|
-
* @memberof SearchIntentResponse
|
|
76
|
-
*/
|
|
77
|
-
area?: number;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {number}
|
|
81
|
-
* @memberof SearchIntentResponse
|
|
82
|
-
*/
|
|
83
|
-
numberOfRooms?: number;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* @export
|
|
87
|
-
*/
|
|
88
|
-
export declare const SearchIntentResponsePropertyTypeEnum: {
|
|
89
|
-
readonly House: "HOUSE";
|
|
90
|
-
readonly TownHouse: "TOWN_HOUSE";
|
|
91
|
-
readonly CountryHouse: "COUNTRY_HOUSE";
|
|
92
|
-
readonly Villa: "VILLA";
|
|
93
|
-
readonly Cottage: "COTTAGE";
|
|
94
|
-
readonly Apartment: "APARTMENT";
|
|
95
|
-
readonly Duplex: "DUPLEX";
|
|
96
|
-
readonly Triplex: "TRIPLEX";
|
|
97
|
-
readonly SemiBasement: "SEMI_BASEMENT";
|
|
98
|
-
readonly Attic: "ATTIC";
|
|
99
|
-
readonly AgriculturalLand: "AGRICULTURAL_LAND";
|
|
100
|
-
readonly ResidentialLand: "RESIDENTIAL_LAND";
|
|
101
|
-
readonly HotelRoom: "HOTEL_ROOM";
|
|
102
|
-
readonly MotelRoom: "MOTEL_ROOM";
|
|
103
|
-
readonly CoLivingSpace: "CO_LIVING_SPACE";
|
|
104
|
-
readonly Office: "OFFICE";
|
|
105
|
-
readonly CommercialSpace: "COMMERCIAL_SPACE";
|
|
106
|
-
readonly CoWorkingSpace: "CO_WORKING_SPACE";
|
|
107
|
-
readonly Warehouse: "WAREHOUSE";
|
|
108
|
-
readonly Garage: "GARAGE";
|
|
109
|
-
};
|
|
110
|
-
export type SearchIntentResponsePropertyTypeEnum = typeof SearchIntentResponsePropertyTypeEnum[keyof typeof SearchIntentResponsePropertyTypeEnum];
|
|
111
|
-
/**
|
|
112
|
-
* @export
|
|
113
|
-
*/
|
|
114
|
-
export declare const SearchIntentResponseDealTypeEnum: {
|
|
115
|
-
readonly Buy: "BUY";
|
|
116
|
-
readonly Rent: "RENT";
|
|
117
|
-
};
|
|
118
|
-
export type SearchIntentResponseDealTypeEnum = typeof SearchIntentResponseDealTypeEnum[keyof typeof SearchIntentResponseDealTypeEnum];
|
|
119
|
-
/**
|
|
120
|
-
* Check if a given object implements the SearchIntentResponse interface.
|
|
121
|
-
*/
|
|
122
|
-
export declare function instanceOfSearchIntentResponse(value: object): value is SearchIntentResponse;
|
|
123
|
-
export declare function SearchIntentResponseFromJSON(json: any): SearchIntentResponse;
|
|
124
|
-
export declare function SearchIntentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchIntentResponse;
|
|
125
|
-
export declare function SearchIntentResponseToJSON(json: any): SearchIntentResponse;
|
|
126
|
-
export declare function SearchIntentResponseToJSONTyped(value?: SearchIntentResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,63 +0,0 @@
|
|
|
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 { CoordinatesRequest } from './CoordinatesRequest';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AddressRefRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface AddressRefRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof AddressRefRequest
|
|
23
|
-
*/
|
|
24
|
-
regionId?: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof AddressRefRequest
|
|
29
|
-
*/
|
|
30
|
-
cityId?: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof AddressRefRequest
|
|
35
|
-
*/
|
|
36
|
-
districtId?: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof AddressRefRequest
|
|
41
|
-
*/
|
|
42
|
-
subDistrictId?: number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof AddressRefRequest
|
|
47
|
-
*/
|
|
48
|
-
streetId?: number;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {CoordinatesRequest}
|
|
52
|
-
* @memberof AddressRefRequest
|
|
53
|
-
*/
|
|
54
|
-
coordinates: CoordinatesRequest;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Check if a given object implements the AddressRefRequest interface.
|
|
58
|
-
*/
|
|
59
|
-
export declare function instanceOfAddressRefRequest(value: object): value is AddressRefRequest;
|
|
60
|
-
export declare function AddressRefRequestFromJSON(json: any): AddressRefRequest;
|
|
61
|
-
export declare function AddressRefRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressRefRequest;
|
|
62
|
-
export declare function AddressRefRequestToJSON(json: any): AddressRefRequest;
|
|
63
|
-
export declare function AddressRefRequestToJSONTyped(value?: AddressRefRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,61 +0,0 @@
|
|
|
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.instanceOfAddressRefRequest = instanceOfAddressRefRequest;
|
|
17
|
-
exports.AddressRefRequestFromJSON = AddressRefRequestFromJSON;
|
|
18
|
-
exports.AddressRefRequestFromJSONTyped = AddressRefRequestFromJSONTyped;
|
|
19
|
-
exports.AddressRefRequestToJSON = AddressRefRequestToJSON;
|
|
20
|
-
exports.AddressRefRequestToJSONTyped = AddressRefRequestToJSONTyped;
|
|
21
|
-
const CoordinatesRequest_1 = require("./CoordinatesRequest");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the AddressRefRequest interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfAddressRefRequest(value) {
|
|
26
|
-
if (!('coordinates' in value) || value['coordinates'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function AddressRefRequestFromJSON(json) {
|
|
31
|
-
return AddressRefRequestFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function AddressRefRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'regionId': json['regionId'] == null ? undefined : json['regionId'],
|
|
39
|
-
'cityId': json['cityId'] == null ? undefined : json['cityId'],
|
|
40
|
-
'districtId': json['districtId'] == null ? undefined : json['districtId'],
|
|
41
|
-
'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
|
|
42
|
-
'streetId': json['streetId'] == null ? undefined : json['streetId'],
|
|
43
|
-
'coordinates': (0, CoordinatesRequest_1.CoordinatesRequestFromJSON)(json['coordinates']),
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function AddressRefRequestToJSON(json) {
|
|
47
|
-
return AddressRefRequestToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function AddressRefRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
50
|
-
if (value == null) {
|
|
51
|
-
return value;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'regionId': value['regionId'],
|
|
55
|
-
'cityId': value['cityId'],
|
|
56
|
-
'districtId': value['districtId'],
|
|
57
|
-
'subDistrictId': value['subDistrictId'],
|
|
58
|
-
'streetId': value['streetId'],
|
|
59
|
-
'coordinates': (0, CoordinatesRequest_1.CoordinatesRequestToJSON)(value['coordinates']),
|
|
60
|
-
};
|
|
61
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
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 CoordinatesRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface CoordinatesRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof CoordinatesRequest
|
|
22
|
-
*/
|
|
23
|
-
lat: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof CoordinatesRequest
|
|
28
|
-
*/
|
|
29
|
-
lng: number;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the CoordinatesRequest interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfCoordinatesRequest(value: object): value is CoordinatesRequest;
|
|
35
|
-
export declare function CoordinatesRequestFromJSON(json: any): CoordinatesRequest;
|
|
36
|
-
export declare function CoordinatesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoordinatesRequest;
|
|
37
|
-
export declare function CoordinatesRequestToJSON(json: any): CoordinatesRequest;
|
|
38
|
-
export declare function CoordinatesRequestToJSONTyped(value?: CoordinatesRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,54 +0,0 @@
|
|
|
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.instanceOfCoordinatesRequest = instanceOfCoordinatesRequest;
|
|
17
|
-
exports.CoordinatesRequestFromJSON = CoordinatesRequestFromJSON;
|
|
18
|
-
exports.CoordinatesRequestFromJSONTyped = CoordinatesRequestFromJSONTyped;
|
|
19
|
-
exports.CoordinatesRequestToJSON = CoordinatesRequestToJSON;
|
|
20
|
-
exports.CoordinatesRequestToJSONTyped = CoordinatesRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the CoordinatesRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfCoordinatesRequest(value) {
|
|
25
|
-
if (!('lat' in value) || value['lat'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('lng' in value) || value['lng'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function CoordinatesRequestFromJSON(json) {
|
|
32
|
-
return CoordinatesRequestFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function CoordinatesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'lat': json['lat'],
|
|
40
|
-
'lng': json['lng'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function CoordinatesRequestToJSON(json) {
|
|
44
|
-
return CoordinatesRequestToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function CoordinatesRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'lat': value['lat'],
|
|
52
|
-
'lng': value['lng'],
|
|
53
|
-
};
|
|
54
|
-
}
|