@homespot-sdk/api 0.0.636 → 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 +33 -4
- 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/PublicRoleControllerApi.js +1 -1
- 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/PublicRoleControllerApi.js +1 -1
- 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 +6 -6
- package/dist/esm/models/PageRoleResponse.js +4 -4
- 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 +6 -6
- package/dist/models/PageRoleResponse.js +4 -4
- 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 +4 -4
- package/docs/PageableObject.md +2 -2
- package/docs/PriceRangeRequest.md +36 -0
- package/docs/PublicAgencyControllerApi.md +0 -70
- package/docs/PublicRoleControllerApi.md +1 -1
- 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/PublicRoleControllerApi.ts +1 -1
- 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 +10 -10
- 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,160 @@
|
|
|
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
|
+
import type { LocationRefRequest } from './LocationRefRequest';
|
|
17
|
+
import {
|
|
18
|
+
LocationRefRequestFromJSON,
|
|
19
|
+
LocationRefRequestFromJSONTyped,
|
|
20
|
+
LocationRefRequestToJSON,
|
|
21
|
+
LocationRefRequestToJSONTyped,
|
|
22
|
+
} from './LocationRefRequest';
|
|
23
|
+
import type { PriceRangeRequest } from './PriceRangeRequest';
|
|
24
|
+
import {
|
|
25
|
+
PriceRangeRequestFromJSON,
|
|
26
|
+
PriceRangeRequestFromJSONTyped,
|
|
27
|
+
PriceRangeRequestToJSON,
|
|
28
|
+
PriceRangeRequestToJSONTyped,
|
|
29
|
+
} from './PriceRangeRequest';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface SearchIntentRequest
|
|
35
|
+
*/
|
|
36
|
+
export interface SearchIntentRequest {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SearchIntentRequest
|
|
41
|
+
*/
|
|
42
|
+
propertyType: SearchIntentRequestPropertyTypeEnum;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof SearchIntentRequest
|
|
47
|
+
*/
|
|
48
|
+
dealType: SearchIntentRequestDealTypeEnum;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {PriceRangeRequest}
|
|
52
|
+
* @memberof SearchIntentRequest
|
|
53
|
+
*/
|
|
54
|
+
budget?: PriceRangeRequest;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {LocationRefRequest}
|
|
58
|
+
* @memberof SearchIntentRequest
|
|
59
|
+
*/
|
|
60
|
+
targetLocation?: LocationRefRequest;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof SearchIntentRequest
|
|
65
|
+
*/
|
|
66
|
+
area?: number;
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof SearchIntentRequest
|
|
71
|
+
*/
|
|
72
|
+
numberOfRooms?: number;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @export
|
|
78
|
+
*/
|
|
79
|
+
export const SearchIntentRequestPropertyTypeEnum = {
|
|
80
|
+
House: 'HOUSE',
|
|
81
|
+
TownHouse: 'TOWN_HOUSE',
|
|
82
|
+
CountryHouse: 'COUNTRY_HOUSE',
|
|
83
|
+
Villa: 'VILLA',
|
|
84
|
+
Cottage: 'COTTAGE',
|
|
85
|
+
Apartment: 'APARTMENT',
|
|
86
|
+
Duplex: 'DUPLEX',
|
|
87
|
+
Triplex: 'TRIPLEX',
|
|
88
|
+
SemiBasement: 'SEMI_BASEMENT',
|
|
89
|
+
Attic: 'ATTIC',
|
|
90
|
+
AgriculturalLand: 'AGRICULTURAL_LAND',
|
|
91
|
+
ResidentialLand: 'RESIDENTIAL_LAND',
|
|
92
|
+
HotelRoom: 'HOTEL_ROOM',
|
|
93
|
+
MotelRoom: 'MOTEL_ROOM',
|
|
94
|
+
CoLivingSpace: 'CO_LIVING_SPACE',
|
|
95
|
+
Office: 'OFFICE',
|
|
96
|
+
CommercialSpace: 'COMMERCIAL_SPACE',
|
|
97
|
+
CoWorkingSpace: 'CO_WORKING_SPACE',
|
|
98
|
+
Warehouse: 'WAREHOUSE',
|
|
99
|
+
Garage: 'GARAGE'
|
|
100
|
+
} as const;
|
|
101
|
+
export type SearchIntentRequestPropertyTypeEnum = typeof SearchIntentRequestPropertyTypeEnum[keyof typeof SearchIntentRequestPropertyTypeEnum];
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @export
|
|
105
|
+
*/
|
|
106
|
+
export const SearchIntentRequestDealTypeEnum = {
|
|
107
|
+
Buy: 'BUY',
|
|
108
|
+
Rent: 'RENT'
|
|
109
|
+
} as const;
|
|
110
|
+
export type SearchIntentRequestDealTypeEnum = typeof SearchIntentRequestDealTypeEnum[keyof typeof SearchIntentRequestDealTypeEnum];
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Check if a given object implements the SearchIntentRequest interface.
|
|
115
|
+
*/
|
|
116
|
+
export function instanceOfSearchIntentRequest(value: object): value is SearchIntentRequest {
|
|
117
|
+
if (!('propertyType' in value) || value['propertyType'] === undefined) return false;
|
|
118
|
+
if (!('dealType' in value) || value['dealType'] === undefined) return false;
|
|
119
|
+
return true;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
export function SearchIntentRequestFromJSON(json: any): SearchIntentRequest {
|
|
123
|
+
return SearchIntentRequestFromJSONTyped(json, false);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export function SearchIntentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchIntentRequest {
|
|
127
|
+
if (json == null) {
|
|
128
|
+
return json;
|
|
129
|
+
}
|
|
130
|
+
return {
|
|
131
|
+
|
|
132
|
+
'propertyType': json['propertyType'],
|
|
133
|
+
'dealType': json['dealType'],
|
|
134
|
+
'budget': json['budget'] == null ? undefined : PriceRangeRequestFromJSON(json['budget']),
|
|
135
|
+
'targetLocation': json['targetLocation'] == null ? undefined : LocationRefRequestFromJSON(json['targetLocation']),
|
|
136
|
+
'area': json['area'] == null ? undefined : json['area'],
|
|
137
|
+
'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
|
|
138
|
+
};
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export function SearchIntentRequestToJSON(json: any): SearchIntentRequest {
|
|
142
|
+
return SearchIntentRequestToJSONTyped(json, false);
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export function SearchIntentRequestToJSONTyped(value?: SearchIntentRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
146
|
+
if (value == null) {
|
|
147
|
+
return value;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
return {
|
|
151
|
+
|
|
152
|
+
'propertyType': value['propertyType'],
|
|
153
|
+
'dealType': value['dealType'],
|
|
154
|
+
'budget': PriceRangeRequestToJSON(value['budget']),
|
|
155
|
+
'targetLocation': LocationRefRequestToJSON(value['targetLocation']),
|
|
156
|
+
'area': value['area'],
|
|
157
|
+
'numberOfRooms': value['numberOfRooms'],
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
|
|
@@ -0,0 +1,185 @@
|
|
|
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 SearchIntentResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface SearchIntentResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SearchIntentResponse
|
|
26
|
+
*/
|
|
27
|
+
propertyType: SearchIntentResponsePropertyTypeEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SearchIntentResponse
|
|
32
|
+
*/
|
|
33
|
+
dealType: SearchIntentResponseDealTypeEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof SearchIntentResponse
|
|
38
|
+
*/
|
|
39
|
+
budgetMin?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof SearchIntentResponse
|
|
44
|
+
*/
|
|
45
|
+
budgetMax?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof SearchIntentResponse
|
|
50
|
+
*/
|
|
51
|
+
regionId?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof SearchIntentResponse
|
|
56
|
+
*/
|
|
57
|
+
cityId?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof SearchIntentResponse
|
|
62
|
+
*/
|
|
63
|
+
districtId?: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof SearchIntentResponse
|
|
68
|
+
*/
|
|
69
|
+
subDistrictId?: number;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof SearchIntentResponse
|
|
74
|
+
*/
|
|
75
|
+
streetId?: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {number}
|
|
79
|
+
* @memberof SearchIntentResponse
|
|
80
|
+
*/
|
|
81
|
+
area?: number;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {number}
|
|
85
|
+
* @memberof SearchIntentResponse
|
|
86
|
+
*/
|
|
87
|
+
numberOfRooms?: number;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @export
|
|
93
|
+
*/
|
|
94
|
+
export const SearchIntentResponsePropertyTypeEnum = {
|
|
95
|
+
House: 'HOUSE',
|
|
96
|
+
TownHouse: 'TOWN_HOUSE',
|
|
97
|
+
CountryHouse: 'COUNTRY_HOUSE',
|
|
98
|
+
Villa: 'VILLA',
|
|
99
|
+
Cottage: 'COTTAGE',
|
|
100
|
+
Apartment: 'APARTMENT',
|
|
101
|
+
Duplex: 'DUPLEX',
|
|
102
|
+
Triplex: 'TRIPLEX',
|
|
103
|
+
SemiBasement: 'SEMI_BASEMENT',
|
|
104
|
+
Attic: 'ATTIC',
|
|
105
|
+
AgriculturalLand: 'AGRICULTURAL_LAND',
|
|
106
|
+
ResidentialLand: 'RESIDENTIAL_LAND',
|
|
107
|
+
HotelRoom: 'HOTEL_ROOM',
|
|
108
|
+
MotelRoom: 'MOTEL_ROOM',
|
|
109
|
+
CoLivingSpace: 'CO_LIVING_SPACE',
|
|
110
|
+
Office: 'OFFICE',
|
|
111
|
+
CommercialSpace: 'COMMERCIAL_SPACE',
|
|
112
|
+
CoWorkingSpace: 'CO_WORKING_SPACE',
|
|
113
|
+
Warehouse: 'WAREHOUSE',
|
|
114
|
+
Garage: 'GARAGE'
|
|
115
|
+
} as const;
|
|
116
|
+
export type SearchIntentResponsePropertyTypeEnum = typeof SearchIntentResponsePropertyTypeEnum[keyof typeof SearchIntentResponsePropertyTypeEnum];
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* @export
|
|
120
|
+
*/
|
|
121
|
+
export const SearchIntentResponseDealTypeEnum = {
|
|
122
|
+
Buy: 'BUY',
|
|
123
|
+
Rent: 'RENT'
|
|
124
|
+
} as const;
|
|
125
|
+
export type SearchIntentResponseDealTypeEnum = typeof SearchIntentResponseDealTypeEnum[keyof typeof SearchIntentResponseDealTypeEnum];
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Check if a given object implements the SearchIntentResponse interface.
|
|
130
|
+
*/
|
|
131
|
+
export function instanceOfSearchIntentResponse(value: object): value is SearchIntentResponse {
|
|
132
|
+
if (!('propertyType' in value) || value['propertyType'] === undefined) return false;
|
|
133
|
+
if (!('dealType' in value) || value['dealType'] === undefined) return false;
|
|
134
|
+
return true;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export function SearchIntentResponseFromJSON(json: any): SearchIntentResponse {
|
|
138
|
+
return SearchIntentResponseFromJSONTyped(json, false);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
export function SearchIntentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchIntentResponse {
|
|
142
|
+
if (json == null) {
|
|
143
|
+
return json;
|
|
144
|
+
}
|
|
145
|
+
return {
|
|
146
|
+
|
|
147
|
+
'propertyType': json['propertyType'],
|
|
148
|
+
'dealType': json['dealType'],
|
|
149
|
+
'budgetMin': json['budgetMin'] == null ? undefined : json['budgetMin'],
|
|
150
|
+
'budgetMax': json['budgetMax'] == null ? undefined : json['budgetMax'],
|
|
151
|
+
'regionId': json['regionId'] == null ? undefined : json['regionId'],
|
|
152
|
+
'cityId': json['cityId'] == null ? undefined : json['cityId'],
|
|
153
|
+
'districtId': json['districtId'] == null ? undefined : json['districtId'],
|
|
154
|
+
'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
|
|
155
|
+
'streetId': json['streetId'] == null ? undefined : json['streetId'],
|
|
156
|
+
'area': json['area'] == null ? undefined : json['area'],
|
|
157
|
+
'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export function SearchIntentResponseToJSON(json: any): SearchIntentResponse {
|
|
162
|
+
return SearchIntentResponseToJSONTyped(json, false);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
export function SearchIntentResponseToJSONTyped(value?: SearchIntentResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
166
|
+
if (value == null) {
|
|
167
|
+
return value;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
return {
|
|
171
|
+
|
|
172
|
+
'propertyType': value['propertyType'],
|
|
173
|
+
'dealType': value['dealType'],
|
|
174
|
+
'budgetMin': value['budgetMin'],
|
|
175
|
+
'budgetMax': value['budgetMax'],
|
|
176
|
+
'regionId': value['regionId'],
|
|
177
|
+
'cityId': value['cityId'],
|
|
178
|
+
'districtId': value['districtId'],
|
|
179
|
+
'subDistrictId': value['subDistrictId'],
|
|
180
|
+
'streetId': value['streetId'],
|
|
181
|
+
'area': value['area'],
|
|
182
|
+
'numberOfRooms': value['numberOfRooms'],
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 SourceRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface SourceRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SourceRequest
|
|
26
|
+
*/
|
|
27
|
+
sourceUrl: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the SourceRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfSourceRequest(value: object): value is SourceRequest {
|
|
34
|
+
if (!('sourceUrl' in value) || value['sourceUrl'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function SourceRequestFromJSON(json: any): SourceRequest {
|
|
39
|
+
return SourceRequestFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function SourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceRequest {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'sourceUrl': json['sourceUrl'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function SourceRequestToJSON(json: any): SourceRequest {
|
|
53
|
+
return SourceRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function SourceRequestToJSONTyped(value?: SourceRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'sourceUrl': value['sourceUrl'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 UpdateNoteRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateNoteRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateNoteRequest
|
|
26
|
+
*/
|
|
27
|
+
note: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the UpdateNoteRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfUpdateNoteRequest(value: object): value is UpdateNoteRequest {
|
|
34
|
+
if (!('note' in value) || value['note'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function UpdateNoteRequestFromJSON(json: any): UpdateNoteRequest {
|
|
39
|
+
return UpdateNoteRequestFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function UpdateNoteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateNoteRequest {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'note': json['note'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function UpdateNoteRequestToJSON(json: any): UpdateNoteRequest {
|
|
53
|
+
return UpdateNoteRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function UpdateNoteRequestToJSONTyped(value?: UpdateNoteRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'note': value['note'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -1,20 +1,31 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './AddressRefRequest';
|
|
3
4
|
export * from './AddressRequest';
|
|
4
5
|
export * from './AddressViewResponse';
|
|
5
6
|
export * from './AgencyProfileResponse';
|
|
6
7
|
export * from './AgencySummaryResponse';
|
|
7
8
|
export * from './AssignRoleRequest';
|
|
9
|
+
export * from './AssignToMemberRequest';
|
|
8
10
|
export * from './BatchAssignRoleRequest';
|
|
11
|
+
export * from './ChangeStatusRequest';
|
|
12
|
+
export * from './ContactInfoRequest';
|
|
13
|
+
export * from './CoordinatesRequest';
|
|
9
14
|
export * from './CreateAgencyRequest';
|
|
15
|
+
export * from './CreateLeadRequest';
|
|
10
16
|
export * from './GroupedPermissionsResponse';
|
|
11
17
|
export * from './IdResponse';
|
|
12
18
|
export * from './InvitationDetailsRequest';
|
|
13
19
|
export * from './InvitationDetailsResponse';
|
|
14
20
|
export * from './InvitationViewResponse';
|
|
15
21
|
export * from './InviteMemberRequest';
|
|
22
|
+
export * from './LeadProjectionResponse';
|
|
23
|
+
export * from './ListingIntentRequest';
|
|
24
|
+
export * from './ListingIntentResponse';
|
|
25
|
+
export * from './LocationRefRequest';
|
|
16
26
|
export * from './MemberViewResponse';
|
|
17
27
|
export * from './OrganizationSummaryViewResponse';
|
|
28
|
+
export * from './PageLeadProjectionResponse';
|
|
18
29
|
export * from './PageMetadata';
|
|
19
30
|
export * from './PageRoleResponse';
|
|
20
31
|
export * from './PageableObject';
|
|
@@ -25,11 +36,16 @@ export * from './PermissionResponse';
|
|
|
25
36
|
export * from './PhotoRequest';
|
|
26
37
|
export * from './PresignedUrlResponse';
|
|
27
38
|
export * from './PresignedUrlsResponse';
|
|
39
|
+
export * from './PriceRangeRequest';
|
|
28
40
|
export * from './RoleResponse';
|
|
29
41
|
export * from './RolesRequest';
|
|
42
|
+
export * from './SearchIntentRequest';
|
|
43
|
+
export * from './SearchIntentResponse';
|
|
30
44
|
export * from './SocialMediaRequest';
|
|
31
45
|
export * from './SocialMediasRequest';
|
|
32
46
|
export * from './SortObject';
|
|
47
|
+
export * from './SourceRequest';
|
|
48
|
+
export * from './UpdateNoteRequest';
|
|
33
49
|
export * from './UploadAcknowledgmentResponse';
|
|
34
50
|
export * from './UserContextViewResponse';
|
|
35
51
|
export * from './UserSummaryViewResponse';
|