@homespot-sdk/api 0.0.637 → 0.0.639
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +38 -0
- package/README.md +32 -3
- package/dist/apis/AgencyQueryControllerApi.d.ts +46 -0
- package/dist/apis/AgencyQueryControllerApi.js +65 -0
- package/dist/apis/LeadControllerApi.d.ts +280 -0
- package/dist/apis/LeadControllerApi.js +452 -0
- package/dist/apis/LeadQueryControllerApi.d.ts +88 -0
- package/dist/apis/LeadQueryControllerApi.js +122 -0
- package/dist/apis/PublicAgencyControllerApi.d.ts +1 -21
- package/dist/apis/PublicAgencyControllerApi.js +0 -32
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +3 -0
- package/dist/esm/apis/AgencyQueryControllerApi.d.ts +46 -0
- package/dist/esm/apis/AgencyQueryControllerApi.js +61 -0
- package/dist/esm/apis/LeadControllerApi.d.ts +280 -0
- package/dist/esm/apis/LeadControllerApi.js +448 -0
- package/dist/esm/apis/LeadQueryControllerApi.d.ts +88 -0
- package/dist/esm/apis/LeadQueryControllerApi.js +118 -0
- package/dist/esm/apis/PublicAgencyControllerApi.d.ts +1 -21
- package/dist/esm/apis/PublicAgencyControllerApi.js +1 -33
- package/dist/esm/apis/index.d.ts +3 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/models/AddressRefRequest.d.ts +63 -0
- package/dist/esm/models/AddressRefRequest.js +54 -0
- package/dist/esm/models/AssignToMemberRequest.d.ts +32 -0
- package/dist/esm/models/AssignToMemberRequest.js +43 -0
- package/dist/esm/models/ChangeStatusRequest.d.ts +44 -0
- package/dist/esm/models/ChangeStatusRequest.js +54 -0
- package/dist/esm/models/ContactInfoRequest.d.ts +50 -0
- package/dist/esm/models/ContactInfoRequest.js +49 -0
- package/dist/esm/models/CoordinatesRequest.d.ts +38 -0
- package/dist/esm/models/CoordinatesRequest.js +47 -0
- package/dist/esm/models/CreateLeadRequest.d.ts +45 -0
- package/dist/esm/models/CreateLeadRequest.js +48 -0
- package/dist/esm/models/LeadProjectionResponse.d.ts +130 -0
- package/dist/esm/models/LeadProjectionResponse.js +94 -0
- package/dist/esm/models/ListingIntentRequest.d.ts +98 -0
- package/dist/esm/models/ListingIntentRequest.js +89 -0
- package/dist/esm/models/ListingIntentResponse.d.ts +138 -0
- package/dist/esm/models/ListingIntentResponse.js +101 -0
- package/dist/esm/models/LocationRefRequest.d.ts +56 -0
- package/dist/esm/models/LocationRefRequest.js +49 -0
- package/dist/esm/models/PageLeadProjectionResponse.d.ts +95 -0
- package/dist/esm/models/PageLeadProjectionResponse.js +64 -0
- package/dist/esm/models/PageRoleResponse.d.ts +2 -2
- package/dist/esm/models/PageRoleResponse.js +2 -2
- package/dist/esm/models/PageableObject.d.ts +6 -6
- package/dist/esm/models/PageableObject.js +2 -2
- package/dist/esm/models/PriceRangeRequest.d.ts +38 -0
- package/dist/esm/models/PriceRangeRequest.js +43 -0
- package/dist/esm/models/SearchIntentRequest.d.ts +98 -0
- package/dist/esm/models/SearchIntentRequest.js +89 -0
- package/dist/esm/models/SearchIntentResponse.d.ts +126 -0
- package/dist/esm/models/SearchIntentResponse.js +97 -0
- package/dist/esm/models/SourceRequest.d.ts +32 -0
- package/dist/esm/models/SourceRequest.js +43 -0
- package/dist/esm/models/UpdateNoteRequest.d.ts +32 -0
- package/dist/esm/models/UpdateNoteRequest.js +43 -0
- package/dist/esm/models/index.d.ts +16 -0
- package/dist/esm/models/index.js +16 -0
- package/dist/models/AddressRefRequest.d.ts +63 -0
- package/dist/models/AddressRefRequest.js +61 -0
- package/dist/models/AssignToMemberRequest.d.ts +32 -0
- package/dist/models/AssignToMemberRequest.js +50 -0
- package/dist/models/ChangeStatusRequest.d.ts +44 -0
- package/dist/models/ChangeStatusRequest.js +62 -0
- package/dist/models/ContactInfoRequest.d.ts +50 -0
- package/dist/models/ContactInfoRequest.js +56 -0
- package/dist/models/CoordinatesRequest.d.ts +38 -0
- package/dist/models/CoordinatesRequest.js +54 -0
- package/dist/models/CreateLeadRequest.d.ts +45 -0
- package/dist/models/CreateLeadRequest.js +55 -0
- package/dist/models/LeadProjectionResponse.d.ts +130 -0
- package/dist/models/LeadProjectionResponse.js +102 -0
- package/dist/models/ListingIntentRequest.d.ts +98 -0
- package/dist/models/ListingIntentRequest.js +97 -0
- package/dist/models/ListingIntentResponse.d.ts +138 -0
- package/dist/models/ListingIntentResponse.js +109 -0
- package/dist/models/LocationRefRequest.d.ts +56 -0
- package/dist/models/LocationRefRequest.js +56 -0
- package/dist/models/PageLeadProjectionResponse.d.ts +95 -0
- package/dist/models/PageLeadProjectionResponse.js +71 -0
- package/dist/models/PageRoleResponse.d.ts +2 -2
- package/dist/models/PageRoleResponse.js +2 -2
- package/dist/models/PageableObject.d.ts +6 -6
- package/dist/models/PageableObject.js +2 -2
- package/dist/models/PriceRangeRequest.d.ts +38 -0
- package/dist/models/PriceRangeRequest.js +50 -0
- package/dist/models/SearchIntentRequest.d.ts +98 -0
- package/dist/models/SearchIntentRequest.js +97 -0
- package/dist/models/SearchIntentResponse.d.ts +126 -0
- package/dist/models/SearchIntentResponse.js +105 -0
- package/dist/models/SourceRequest.d.ts +32 -0
- package/dist/models/SourceRequest.js +50 -0
- package/dist/models/UpdateNoteRequest.d.ts +32 -0
- package/dist/models/UpdateNoteRequest.js +50 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.js +16 -0
- package/docs/AddressRefRequest.md +44 -0
- package/docs/AgencyQueryControllerApi.md +78 -0
- package/docs/AssignToMemberRequest.md +34 -0
- package/docs/ChangeStatusRequest.md +34 -0
- package/docs/ContactInfoRequest.md +40 -0
- package/docs/CoordinatesRequest.md +36 -0
- package/docs/CreateLeadRequest.md +38 -0
- package/docs/LeadControllerApi.md +817 -0
- package/docs/LeadProjectionResponse.md +62 -0
- package/docs/LeadQueryControllerApi.md +163 -0
- package/docs/ListingIntentRequest.md +44 -0
- package/docs/ListingIntentResponse.md +58 -0
- package/docs/LocationRefRequest.md +42 -0
- package/docs/PageLeadProjectionResponse.md +54 -0
- package/docs/PageRoleResponse.md +2 -2
- package/docs/PageableObject.md +2 -2
- package/docs/PriceRangeRequest.md +36 -0
- package/docs/PublicAgencyControllerApi.md +0 -70
- package/docs/SearchIntentRequest.md +44 -0
- package/docs/SearchIntentResponse.md +54 -0
- package/docs/SourceRequest.md +34 -0
- package/docs/UpdateNoteRequest.md +34 -0
- package/package.json +1 -1
- package/src/apis/AgencyQueryControllerApi.ts +96 -0
- package/src/apis/LeadControllerApi.ts +851 -0
- package/src/apis/LeadQueryControllerApi.ts +195 -0
- package/src/apis/PublicAgencyControllerApi.ts +0 -60
- package/src/apis/index.ts +3 -0
- package/src/models/AddressRefRequest.ts +114 -0
- package/src/models/AssignToMemberRequest.ts +66 -0
- package/src/models/ChangeStatusRequest.ts +81 -0
- package/src/models/ContactInfoRequest.ts +90 -0
- package/src/models/CoordinatesRequest.ts +75 -0
- package/src/models/CreateLeadRequest.ts +90 -0
- package/src/models/LeadProjectionResponse.ts +213 -0
- package/src/models/ListingIntentRequest.ts +160 -0
- package/src/models/ListingIntentResponse.ts +201 -0
- package/src/models/LocationRefRequest.ts +97 -0
- package/src/models/PageLeadProjectionResponse.ts +167 -0
- package/src/models/PageRoleResponse.ts +4 -4
- package/src/models/PageableObject.ts +8 -8
- package/src/models/PriceRangeRequest.ts +73 -0
- package/src/models/SearchIntentRequest.ts +160 -0
- package/src/models/SearchIntentResponse.ts +185 -0
- package/src/models/SourceRequest.ts +66 -0
- package/src/models/UpdateNoteRequest.ts +66 -0
- package/src/models/index.ts +16 -0
|
@@ -0,0 +1,89 @@
|
|
|
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 { LocationRefRequestFromJSON, LocationRefRequestToJSON, } from './LocationRefRequest';
|
|
15
|
+
import { PriceRangeRequestFromJSON, PriceRangeRequestToJSON, } from './PriceRangeRequest';
|
|
16
|
+
/**
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export const SearchIntentRequestPropertyTypeEnum = {
|
|
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 SearchIntentRequestDealTypeEnum = {
|
|
45
|
+
Buy: 'BUY',
|
|
46
|
+
Rent: 'RENT'
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the SearchIntentRequest interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfSearchIntentRequest(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 SearchIntentRequestFromJSON(json) {
|
|
59
|
+
return SearchIntentRequestFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
export function SearchIntentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'propertyType': json['propertyType'],
|
|
67
|
+
'dealType': json['dealType'],
|
|
68
|
+
'budget': json['budget'] == null ? undefined : PriceRangeRequestFromJSON(json['budget']),
|
|
69
|
+
'targetLocation': json['targetLocation'] == null ? undefined : LocationRefRequestFromJSON(json['targetLocation']),
|
|
70
|
+
'area': json['area'] == null ? undefined : json['area'],
|
|
71
|
+
'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
export function SearchIntentRequestToJSON(json) {
|
|
75
|
+
return SearchIntentRequestToJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
export function SearchIntentRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
'propertyType': value['propertyType'],
|
|
83
|
+
'dealType': value['dealType'],
|
|
84
|
+
'budget': PriceRangeRequestToJSON(value['budget']),
|
|
85
|
+
'targetLocation': LocationRefRequestToJSON(value['targetLocation']),
|
|
86
|
+
'area': value['area'],
|
|
87
|
+
'numberOfRooms': value['numberOfRooms'],
|
|
88
|
+
};
|
|
89
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
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;
|
|
@@ -0,0 +1,97 @@
|
|
|
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 SearchIntentResponsePropertyTypeEnum = {
|
|
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 SearchIntentResponseDealTypeEnum = {
|
|
43
|
+
Buy: 'BUY',
|
|
44
|
+
Rent: 'RENT'
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the SearchIntentResponse interface.
|
|
48
|
+
*/
|
|
49
|
+
export function instanceOfSearchIntentResponse(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 SearchIntentResponseFromJSON(json) {
|
|
57
|
+
return SearchIntentResponseFromJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function SearchIntentResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'propertyType': json['propertyType'],
|
|
65
|
+
'dealType': json['dealType'],
|
|
66
|
+
'budgetMin': json['budgetMin'] == null ? undefined : json['budgetMin'],
|
|
67
|
+
'budgetMax': json['budgetMax'] == null ? undefined : json['budgetMax'],
|
|
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
|
+
'area': json['area'] == null ? undefined : json['area'],
|
|
74
|
+
'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
export function SearchIntentResponseToJSON(json) {
|
|
78
|
+
return SearchIntentResponseToJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
export function SearchIntentResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
return {
|
|
85
|
+
'propertyType': value['propertyType'],
|
|
86
|
+
'dealType': value['dealType'],
|
|
87
|
+
'budgetMin': value['budgetMin'],
|
|
88
|
+
'budgetMax': value['budgetMax'],
|
|
89
|
+
'regionId': value['regionId'],
|
|
90
|
+
'cityId': value['cityId'],
|
|
91
|
+
'districtId': value['districtId'],
|
|
92
|
+
'subDistrictId': value['subDistrictId'],
|
|
93
|
+
'streetId': value['streetId'],
|
|
94
|
+
'area': value['area'],
|
|
95
|
+
'numberOfRooms': value['numberOfRooms'],
|
|
96
|
+
};
|
|
97
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 SourceRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SourceRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SourceRequest
|
|
22
|
+
*/
|
|
23
|
+
sourceUrl: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SourceRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSourceRequest(value: object): value is SourceRequest;
|
|
29
|
+
export declare function SourceRequestFromJSON(json: any): SourceRequest;
|
|
30
|
+
export declare function SourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceRequest;
|
|
31
|
+
export declare function SourceRequestToJSON(json: any): SourceRequest;
|
|
32
|
+
export declare function SourceRequestToJSONTyped(value?: SourceRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 SourceRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfSourceRequest(value) {
|
|
18
|
+
if (!('sourceUrl' in value) || value['sourceUrl'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function SourceRequestFromJSON(json) {
|
|
23
|
+
return SourceRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function SourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'sourceUrl': json['sourceUrl'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function SourceRequestToJSON(json) {
|
|
34
|
+
return SourceRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function SourceRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'sourceUrl': value['sourceUrl'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 UpdateNoteRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateNoteRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateNoteRequest
|
|
22
|
+
*/
|
|
23
|
+
note: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UpdateNoteRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUpdateNoteRequest(value: object): value is UpdateNoteRequest;
|
|
29
|
+
export declare function UpdateNoteRequestFromJSON(json: any): UpdateNoteRequest;
|
|
30
|
+
export declare function UpdateNoteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateNoteRequest;
|
|
31
|
+
export declare function UpdateNoteRequestToJSON(json: any): UpdateNoteRequest;
|
|
32
|
+
export declare function UpdateNoteRequestToJSONTyped(value?: UpdateNoteRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 UpdateNoteRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUpdateNoteRequest(value) {
|
|
18
|
+
if (!('note' in value) || value['note'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function UpdateNoteRequestFromJSON(json) {
|
|
23
|
+
return UpdateNoteRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function UpdateNoteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'note': json['note'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function UpdateNoteRequestToJSON(json) {
|
|
34
|
+
return UpdateNoteRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function UpdateNoteRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'note': value['note'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -1,18 +1,29 @@
|
|
|
1
|
+
export * from './AddressRefRequest';
|
|
1
2
|
export * from './AddressRequest';
|
|
2
3
|
export * from './AddressViewResponse';
|
|
3
4
|
export * from './AgencyProfileResponse';
|
|
4
5
|
export * from './AgencySummaryResponse';
|
|
5
6
|
export * from './AssignRoleRequest';
|
|
7
|
+
export * from './AssignToMemberRequest';
|
|
6
8
|
export * from './BatchAssignRoleRequest';
|
|
9
|
+
export * from './ChangeStatusRequest';
|
|
10
|
+
export * from './ContactInfoRequest';
|
|
11
|
+
export * from './CoordinatesRequest';
|
|
7
12
|
export * from './CreateAgencyRequest';
|
|
13
|
+
export * from './CreateLeadRequest';
|
|
8
14
|
export * from './GroupedPermissionsResponse';
|
|
9
15
|
export * from './IdResponse';
|
|
10
16
|
export * from './InvitationDetailsRequest';
|
|
11
17
|
export * from './InvitationDetailsResponse';
|
|
12
18
|
export * from './InvitationViewResponse';
|
|
13
19
|
export * from './InviteMemberRequest';
|
|
20
|
+
export * from './LeadProjectionResponse';
|
|
21
|
+
export * from './ListingIntentRequest';
|
|
22
|
+
export * from './ListingIntentResponse';
|
|
23
|
+
export * from './LocationRefRequest';
|
|
14
24
|
export * from './MemberViewResponse';
|
|
15
25
|
export * from './OrganizationSummaryViewResponse';
|
|
26
|
+
export * from './PageLeadProjectionResponse';
|
|
16
27
|
export * from './PageMetadata';
|
|
17
28
|
export * from './PageRoleResponse';
|
|
18
29
|
export * from './PageableObject';
|
|
@@ -23,11 +34,16 @@ export * from './PermissionResponse';
|
|
|
23
34
|
export * from './PhotoRequest';
|
|
24
35
|
export * from './PresignedUrlResponse';
|
|
25
36
|
export * from './PresignedUrlsResponse';
|
|
37
|
+
export * from './PriceRangeRequest';
|
|
26
38
|
export * from './RoleResponse';
|
|
27
39
|
export * from './RolesRequest';
|
|
40
|
+
export * from './SearchIntentRequest';
|
|
41
|
+
export * from './SearchIntentResponse';
|
|
28
42
|
export * from './SocialMediaRequest';
|
|
29
43
|
export * from './SocialMediasRequest';
|
|
30
44
|
export * from './SortObject';
|
|
45
|
+
export * from './SourceRequest';
|
|
46
|
+
export * from './UpdateNoteRequest';
|
|
31
47
|
export * from './UploadAcknowledgmentResponse';
|
|
32
48
|
export * from './UserContextViewResponse';
|
|
33
49
|
export * from './UserSummaryViewResponse';
|
package/dist/esm/models/index.js
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';
|
|
@@ -0,0 +1,63 @@
|
|
|
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;
|
|
@@ -0,0 +1,61 @@
|
|
|
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
|
+
}
|