@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
|
@@ -46,13 +46,13 @@ export interface PageRoleResponse {
|
|
|
46
46
|
* @type {number}
|
|
47
47
|
* @memberof PageRoleResponse
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
totalElements?: number;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {number}
|
|
53
53
|
* @memberof PageRoleResponse
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
totalPages?: number;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {number}
|
|
@@ -85,22 +85,22 @@ export interface PageRoleResponse {
|
|
|
85
85
|
last?: boolean;
|
|
86
86
|
/**
|
|
87
87
|
*
|
|
88
|
-
* @type {
|
|
88
|
+
* @type {SortObject}
|
|
89
89
|
* @memberof PageRoleResponse
|
|
90
90
|
*/
|
|
91
|
-
|
|
91
|
+
sort?: SortObject;
|
|
92
92
|
/**
|
|
93
93
|
*
|
|
94
|
-
* @type {
|
|
94
|
+
* @type {number}
|
|
95
95
|
* @memberof PageRoleResponse
|
|
96
96
|
*/
|
|
97
|
-
|
|
97
|
+
numberOfElements?: number;
|
|
98
98
|
/**
|
|
99
99
|
*
|
|
100
|
-
* @type {
|
|
100
|
+
* @type {PageableObject}
|
|
101
101
|
* @memberof PageRoleResponse
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
pageable?: PageableObject;
|
|
104
104
|
/**
|
|
105
105
|
*
|
|
106
106
|
* @type {boolean}
|
|
@@ -126,16 +126,16 @@ export function PageRoleResponseFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
126
126
|
}
|
|
127
127
|
return {
|
|
128
128
|
|
|
129
|
-
'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
|
|
130
129
|
'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
|
|
130
|
+
'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
|
|
131
131
|
'size': json['size'] == null ? undefined : json['size'],
|
|
132
132
|
'content': json['content'] == null ? undefined : ((json['content'] as Array<any>).map(RoleResponseFromJSON)),
|
|
133
133
|
'number': json['number'] == null ? undefined : json['number'],
|
|
134
134
|
'first': json['first'] == null ? undefined : json['first'],
|
|
135
135
|
'last': json['last'] == null ? undefined : json['last'],
|
|
136
|
+
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
136
137
|
'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
|
|
137
138
|
'pageable': json['pageable'] == null ? undefined : PageableObjectFromJSON(json['pageable']),
|
|
138
|
-
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
139
139
|
'empty': json['empty'] == null ? undefined : json['empty'],
|
|
140
140
|
};
|
|
141
141
|
}
|
|
@@ -151,16 +151,16 @@ export function PageRoleResponseToJSONTyped(value?: PageRoleResponse | null, ign
|
|
|
151
151
|
|
|
152
152
|
return {
|
|
153
153
|
|
|
154
|
-
'totalPages': value['totalPages'],
|
|
155
154
|
'totalElements': value['totalElements'],
|
|
155
|
+
'totalPages': value['totalPages'],
|
|
156
156
|
'size': value['size'],
|
|
157
157
|
'content': value['content'] == null ? undefined : ((value['content'] as Array<any>).map(RoleResponseToJSON)),
|
|
158
158
|
'number': value['number'],
|
|
159
159
|
'first': value['first'],
|
|
160
160
|
'last': value['last'],
|
|
161
|
+
'sort': SortObjectToJSON(value['sort']),
|
|
161
162
|
'numberOfElements': value['numberOfElements'],
|
|
162
163
|
'pageable': PageableObjectToJSON(value['pageable']),
|
|
163
|
-
'sort': SortObjectToJSON(value['sort']),
|
|
164
164
|
'empty': value['empty'],
|
|
165
165
|
};
|
|
166
166
|
}
|
|
@@ -35,10 +35,10 @@ export interface PageableObject {
|
|
|
35
35
|
offset?: number;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {SortObject}
|
|
39
39
|
* @memberof PageableObject
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
sort?: SortObject;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {boolean}
|
|
@@ -59,10 +59,10 @@ export interface PageableObject {
|
|
|
59
59
|
pageSize?: number;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
|
-
* @type {
|
|
62
|
+
* @type {boolean}
|
|
63
63
|
* @memberof PageableObject
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
unpaged?: boolean;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/**
|
|
@@ -83,11 +83,11 @@ export function PageableObjectFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
83
83
|
return {
|
|
84
84
|
|
|
85
85
|
'offset': json['offset'] == null ? undefined : json['offset'],
|
|
86
|
-
'
|
|
86
|
+
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
87
87
|
'paged': json['paged'] == null ? undefined : json['paged'],
|
|
88
88
|
'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
|
|
89
89
|
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
90
|
-
'
|
|
90
|
+
'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -103,11 +103,11 @@ export function PageableObjectToJSONTyped(value?: PageableObject | null, ignoreD
|
|
|
103
103
|
return {
|
|
104
104
|
|
|
105
105
|
'offset': value['offset'],
|
|
106
|
-
'
|
|
106
|
+
'sort': SortObjectToJSON(value['sort']),
|
|
107
107
|
'paged': value['paged'],
|
|
108
108
|
'pageNumber': value['pageNumber'],
|
|
109
109
|
'pageSize': value['pageSize'],
|
|
110
|
-
'
|
|
110
|
+
'unpaged': value['unpaged'],
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
113
|
|
package/src/models/index.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export * from './AddressRefRequest';
|
|
4
3
|
export * from './AddressRequest';
|
|
5
4
|
export * from './AddressViewResponse';
|
|
6
5
|
export * from './AgencyProfileResponse';
|
|
@@ -10,18 +9,17 @@ export * from './AssignToMemberRequest';
|
|
|
10
9
|
export * from './BatchAssignRoleRequest';
|
|
11
10
|
export * from './ChangeStatusRequest';
|
|
12
11
|
export * from './ContactInfoRequest';
|
|
13
|
-
export * from './CoordinatesRequest';
|
|
14
12
|
export * from './CreateAgencyRequest';
|
|
15
13
|
export * from './CreateLeadRequest';
|
|
16
14
|
export * from './GroupedPermissionsResponse';
|
|
17
15
|
export * from './IdResponse';
|
|
16
|
+
export * from './IntentResponse';
|
|
18
17
|
export * from './InvitationDetailsRequest';
|
|
19
18
|
export * from './InvitationDetailsResponse';
|
|
20
19
|
export * from './InvitationViewResponse';
|
|
21
20
|
export * from './InviteMemberRequest';
|
|
21
|
+
export * from './LeadIntentRequest';
|
|
22
22
|
export * from './LeadProjectionResponse';
|
|
23
|
-
export * from './ListingIntentRequest';
|
|
24
|
-
export * from './ListingIntentResponse';
|
|
25
23
|
export * from './LocationRefRequest';
|
|
26
24
|
export * from './MemberViewResponse';
|
|
27
25
|
export * from './OrganizationSummaryViewResponse';
|
|
@@ -39,8 +37,6 @@ export * from './PresignedUrlsResponse';
|
|
|
39
37
|
export * from './PriceRangeRequest';
|
|
40
38
|
export * from './RoleResponse';
|
|
41
39
|
export * from './RolesRequest';
|
|
42
|
-
export * from './SearchIntentRequest';
|
|
43
|
-
export * from './SearchIntentResponse';
|
|
44
40
|
export * from './SocialMediaRequest';
|
|
45
41
|
export * from './SocialMediasRequest';
|
|
46
42
|
export * from './SortObject';
|
|
@@ -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,54 +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
|
-
import { CoordinatesRequestFromJSON, CoordinatesRequestToJSON, } from './CoordinatesRequest';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the AddressRefRequest interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfAddressRefRequest(value) {
|
|
19
|
-
if (!('coordinates' in value) || value['coordinates'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function AddressRefRequestFromJSON(json) {
|
|
24
|
-
return AddressRefRequestFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function AddressRefRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'regionId': json['regionId'] == null ? undefined : json['regionId'],
|
|
32
|
-
'cityId': json['cityId'] == null ? undefined : json['cityId'],
|
|
33
|
-
'districtId': json['districtId'] == null ? undefined : json['districtId'],
|
|
34
|
-
'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
|
|
35
|
-
'streetId': json['streetId'] == null ? undefined : json['streetId'],
|
|
36
|
-
'coordinates': CoordinatesRequestFromJSON(json['coordinates']),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
export function AddressRefRequestToJSON(json) {
|
|
40
|
-
return AddressRefRequestToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
export function AddressRefRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
-
if (value == null) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'regionId': value['regionId'],
|
|
48
|
-
'cityId': value['cityId'],
|
|
49
|
-
'districtId': value['districtId'],
|
|
50
|
-
'subDistrictId': value['subDistrictId'],
|
|
51
|
-
'streetId': value['streetId'],
|
|
52
|
-
'coordinates': CoordinatesRequestToJSON(value['coordinates']),
|
|
53
|
-
};
|
|
54
|
-
}
|
|
@@ -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,47 +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
|
-
* Check if a given object implements the CoordinatesRequest interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfCoordinatesRequest(value) {
|
|
18
|
-
if (!('lat' in value) || value['lat'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('lng' in value) || value['lng'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function CoordinatesRequestFromJSON(json) {
|
|
25
|
-
return CoordinatesRequestFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function CoordinatesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'lat': json['lat'],
|
|
33
|
-
'lng': json['lng'],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function CoordinatesRequestToJSON(json) {
|
|
37
|
-
return CoordinatesRequestToJSONTyped(json, false);
|
|
38
|
-
}
|
|
39
|
-
export function CoordinatesRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'lat': value['lat'],
|
|
45
|
-
'lng': value['lng'],
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -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 { 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;
|
|
@@ -1,89 +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
|
-
import { AddressRefRequestFromJSON, AddressRefRequestToJSON, } from './AddressRefRequest';
|
|
15
|
-
import { PriceRangeRequestFromJSON, PriceRangeRequestToJSON, } from './PriceRangeRequest';
|
|
16
|
-
/**
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export const ListingIntentRequestPropertyTypeEnum = {
|
|
20
|
-
House: 'HOUSE',
|
|
21
|
-
TownHouse: 'TOWN_HOUSE',
|
|
22
|
-
CountryHouse: 'COUNTRY_HOUSE',
|
|
23
|
-
Villa: 'VILLA',
|
|
24
|
-
Cottage: 'COTTAGE',
|
|
25
|
-
Apartment: 'APARTMENT',
|
|
26
|
-
Duplex: 'DUPLEX',
|
|
27
|
-
Triplex: 'TRIPLEX',
|
|
28
|
-
SemiBasement: 'SEMI_BASEMENT',
|
|
29
|
-
Attic: 'ATTIC',
|
|
30
|
-
AgriculturalLand: 'AGRICULTURAL_LAND',
|
|
31
|
-
ResidentialLand: 'RESIDENTIAL_LAND',
|
|
32
|
-
HotelRoom: 'HOTEL_ROOM',
|
|
33
|
-
MotelRoom: 'MOTEL_ROOM',
|
|
34
|
-
CoLivingSpace: 'CO_LIVING_SPACE',
|
|
35
|
-
Office: 'OFFICE',
|
|
36
|
-
CommercialSpace: 'COMMERCIAL_SPACE',
|
|
37
|
-
CoWorkingSpace: 'CO_WORKING_SPACE',
|
|
38
|
-
Warehouse: 'WAREHOUSE',
|
|
39
|
-
Garage: 'GARAGE'
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* @export
|
|
43
|
-
*/
|
|
44
|
-
export const ListingIntentRequestDealTypeEnum = {
|
|
45
|
-
Buy: 'BUY',
|
|
46
|
-
Rent: 'RENT'
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* Check if a given object implements the ListingIntentRequest interface.
|
|
50
|
-
*/
|
|
51
|
-
export function instanceOfListingIntentRequest(value) {
|
|
52
|
-
if (!('propertyType' in value) || value['propertyType'] === undefined)
|
|
53
|
-
return false;
|
|
54
|
-
if (!('dealType' in value) || value['dealType'] === undefined)
|
|
55
|
-
return false;
|
|
56
|
-
return true;
|
|
57
|
-
}
|
|
58
|
-
export function ListingIntentRequestFromJSON(json) {
|
|
59
|
-
return ListingIntentRequestFromJSONTyped(json, false);
|
|
60
|
-
}
|
|
61
|
-
export function ListingIntentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
62
|
-
if (json == null) {
|
|
63
|
-
return json;
|
|
64
|
-
}
|
|
65
|
-
return {
|
|
66
|
-
'propertyType': json['propertyType'],
|
|
67
|
-
'dealType': json['dealType'],
|
|
68
|
-
'desiredPrice': json['desiredPrice'] == null ? undefined : PriceRangeRequestFromJSON(json['desiredPrice']),
|
|
69
|
-
'address': json['address'] == null ? undefined : AddressRefRequestFromJSON(json['address']),
|
|
70
|
-
'area': json['area'] == null ? undefined : json['area'],
|
|
71
|
-
'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
export function ListingIntentRequestToJSON(json) {
|
|
75
|
-
return ListingIntentRequestToJSONTyped(json, false);
|
|
76
|
-
}
|
|
77
|
-
export function ListingIntentRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
78
|
-
if (value == null) {
|
|
79
|
-
return value;
|
|
80
|
-
}
|
|
81
|
-
return {
|
|
82
|
-
'propertyType': value['propertyType'],
|
|
83
|
-
'dealType': value['dealType'],
|
|
84
|
-
'desiredPrice': PriceRangeRequestToJSON(value['desiredPrice']),
|
|
85
|
-
'address': AddressRefRequestToJSON(value['address']),
|
|
86
|
-
'area': value['area'],
|
|
87
|
-
'numberOfRooms': value['numberOfRooms'],
|
|
88
|
-
};
|
|
89
|
-
}
|