@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,48 @@
|
|
|
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 { ContactInfoRequestFromJSON, ContactInfoRequestToJSON, } from './ContactInfoRequest';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the CreateLeadRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfCreateLeadRequest(value) {
|
|
19
|
+
if (!('contactInfo' in value) || value['contactInfo'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function CreateLeadRequestFromJSON(json) {
|
|
24
|
+
return CreateLeadRequestFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function CreateLeadRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'contactInfo': ContactInfoRequestFromJSON(json['contactInfo']),
|
|
32
|
+
'note': json['note'] == null ? undefined : json['note'],
|
|
33
|
+
'sourceUrl': json['sourceUrl'] == null ? undefined : json['sourceUrl'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function CreateLeadRequestToJSON(json) {
|
|
37
|
+
return CreateLeadRequestToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function CreateLeadRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'contactInfo': ContactInfoRequestToJSON(value['contactInfo']),
|
|
45
|
+
'note': value['note'],
|
|
46
|
+
'sourceUrl': value['sourceUrl'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
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 { ListingIntentResponse } from './ListingIntentResponse';
|
|
13
|
+
import type { SearchIntentResponse } from './SearchIntentResponse';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface LeadProjectionResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface LeadProjectionResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof LeadProjectionResponse
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof LeadProjectionResponse
|
|
30
|
+
*/
|
|
31
|
+
createdBy: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof LeadProjectionResponse
|
|
36
|
+
*/
|
|
37
|
+
assignedTo?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof LeadProjectionResponse
|
|
42
|
+
*/
|
|
43
|
+
status: LeadProjectionResponseStatusEnum;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof LeadProjectionResponse
|
|
48
|
+
*/
|
|
49
|
+
contactFullName?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof LeadProjectionResponse
|
|
54
|
+
*/
|
|
55
|
+
contactPhoneNumber: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof LeadProjectionResponse
|
|
60
|
+
*/
|
|
61
|
+
contactEmail?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof LeadProjectionResponse
|
|
66
|
+
*/
|
|
67
|
+
noteTitle?: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof LeadProjectionResponse
|
|
72
|
+
*/
|
|
73
|
+
noteContent?: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof LeadProjectionResponse
|
|
78
|
+
*/
|
|
79
|
+
sourceType?: string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof LeadProjectionResponse
|
|
84
|
+
*/
|
|
85
|
+
sourceLink?: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
* @memberof LeadProjectionResponse
|
|
90
|
+
*/
|
|
91
|
+
isSearcher: boolean;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {boolean}
|
|
95
|
+
* @memberof LeadProjectionResponse
|
|
96
|
+
*/
|
|
97
|
+
isLister: boolean;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {Array<SearchIntentResponse>}
|
|
101
|
+
* @memberof LeadProjectionResponse
|
|
102
|
+
*/
|
|
103
|
+
searchIntents?: Array<SearchIntentResponse>;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {Array<ListingIntentResponse>}
|
|
107
|
+
* @memberof LeadProjectionResponse
|
|
108
|
+
*/
|
|
109
|
+
listingIntents?: Array<ListingIntentResponse>;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* @export
|
|
113
|
+
*/
|
|
114
|
+
export declare const LeadProjectionResponseStatusEnum: {
|
|
115
|
+
readonly New: "NEW";
|
|
116
|
+
readonly AttemptedContact: "ATTEMPTED_CONTACT";
|
|
117
|
+
readonly Contacted: "CONTACTED";
|
|
118
|
+
readonly Disqualified: "DISQUALIFIED";
|
|
119
|
+
readonly Converted: "CONVERTED";
|
|
120
|
+
readonly Lost: "LOST";
|
|
121
|
+
};
|
|
122
|
+
export type LeadProjectionResponseStatusEnum = typeof LeadProjectionResponseStatusEnum[keyof typeof LeadProjectionResponseStatusEnum];
|
|
123
|
+
/**
|
|
124
|
+
* Check if a given object implements the LeadProjectionResponse interface.
|
|
125
|
+
*/
|
|
126
|
+
export declare function instanceOfLeadProjectionResponse(value: object): value is LeadProjectionResponse;
|
|
127
|
+
export declare function LeadProjectionResponseFromJSON(json: any): LeadProjectionResponse;
|
|
128
|
+
export declare function LeadProjectionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadProjectionResponse;
|
|
129
|
+
export declare function LeadProjectionResponseToJSON(json: any): LeadProjectionResponse;
|
|
130
|
+
export declare function LeadProjectionResponseToJSONTyped(value?: LeadProjectionResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,94 @@
|
|
|
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 { ListingIntentResponseFromJSON, ListingIntentResponseToJSON, } from './ListingIntentResponse';
|
|
15
|
+
import { SearchIntentResponseFromJSON, SearchIntentResponseToJSON, } from './SearchIntentResponse';
|
|
16
|
+
/**
|
|
17
|
+
* @export
|
|
18
|
+
*/
|
|
19
|
+
export const LeadProjectionResponseStatusEnum = {
|
|
20
|
+
New: 'NEW',
|
|
21
|
+
AttemptedContact: 'ATTEMPTED_CONTACT',
|
|
22
|
+
Contacted: 'CONTACTED',
|
|
23
|
+
Disqualified: 'DISQUALIFIED',
|
|
24
|
+
Converted: 'CONVERTED',
|
|
25
|
+
Lost: 'LOST'
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the LeadProjectionResponse interface.
|
|
29
|
+
*/
|
|
30
|
+
export function instanceOfLeadProjectionResponse(value) {
|
|
31
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('createdBy' in value) || value['createdBy'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('contactPhoneNumber' in value) || value['contactPhoneNumber'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('isSearcher' in value) || value['isSearcher'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('isLister' in value) || value['isLister'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
export function LeadProjectionResponseFromJSON(json) {
|
|
46
|
+
return LeadProjectionResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function LeadProjectionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'id': json['id'],
|
|
54
|
+
'createdBy': json['createdBy'],
|
|
55
|
+
'assignedTo': json['assignedTo'] == null ? undefined : json['assignedTo'],
|
|
56
|
+
'status': json['status'],
|
|
57
|
+
'contactFullName': json['contactFullName'] == null ? undefined : json['contactFullName'],
|
|
58
|
+
'contactPhoneNumber': json['contactPhoneNumber'],
|
|
59
|
+
'contactEmail': json['contactEmail'] == null ? undefined : json['contactEmail'],
|
|
60
|
+
'noteTitle': json['noteTitle'] == null ? undefined : json['noteTitle'],
|
|
61
|
+
'noteContent': json['noteContent'] == null ? undefined : json['noteContent'],
|
|
62
|
+
'sourceType': json['sourceType'] == null ? undefined : json['sourceType'],
|
|
63
|
+
'sourceLink': json['sourceLink'] == null ? undefined : json['sourceLink'],
|
|
64
|
+
'isSearcher': json['isSearcher'],
|
|
65
|
+
'isLister': json['isLister'],
|
|
66
|
+
'searchIntents': json['searchIntents'] == null ? undefined : (json['searchIntents'].map(SearchIntentResponseFromJSON)),
|
|
67
|
+
'listingIntents': json['listingIntents'] == null ? undefined : (json['listingIntents'].map(ListingIntentResponseFromJSON)),
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
export function LeadProjectionResponseToJSON(json) {
|
|
71
|
+
return LeadProjectionResponseToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
export function LeadProjectionResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
'id': value['id'],
|
|
79
|
+
'createdBy': value['createdBy'],
|
|
80
|
+
'assignedTo': value['assignedTo'],
|
|
81
|
+
'status': value['status'],
|
|
82
|
+
'contactFullName': value['contactFullName'],
|
|
83
|
+
'contactPhoneNumber': value['contactPhoneNumber'],
|
|
84
|
+
'contactEmail': value['contactEmail'],
|
|
85
|
+
'noteTitle': value['noteTitle'],
|
|
86
|
+
'noteContent': value['noteContent'],
|
|
87
|
+
'sourceType': value['sourceType'],
|
|
88
|
+
'sourceLink': value['sourceLink'],
|
|
89
|
+
'isSearcher': value['isSearcher'],
|
|
90
|
+
'isLister': value['isLister'],
|
|
91
|
+
'searchIntents': value['searchIntents'] == null ? undefined : (value['searchIntents'].map(SearchIntentResponseToJSON)),
|
|
92
|
+
'listingIntents': value['listingIntents'] == null ? undefined : (value['listingIntents'].map(ListingIntentResponseToJSON)),
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
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;
|
|
@@ -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 { 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
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
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;
|