@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,201 @@
|
|
|
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 ListingIntentResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface ListingIntentResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ListingIntentResponse
|
|
26
|
+
*/
|
|
27
|
+
propertyType: ListingIntentResponsePropertyTypeEnum;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ListingIntentResponse
|
|
32
|
+
*/
|
|
33
|
+
dealType: ListingIntentResponseDealTypeEnum;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ListingIntentResponse
|
|
38
|
+
*/
|
|
39
|
+
desiredPriceMin?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof ListingIntentResponse
|
|
44
|
+
*/
|
|
45
|
+
desiredPriceMax?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof ListingIntentResponse
|
|
50
|
+
*/
|
|
51
|
+
regionId?: number;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof ListingIntentResponse
|
|
56
|
+
*/
|
|
57
|
+
cityId?: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof ListingIntentResponse
|
|
62
|
+
*/
|
|
63
|
+
districtId?: number;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {number}
|
|
67
|
+
* @memberof ListingIntentResponse
|
|
68
|
+
*/
|
|
69
|
+
subDistrictId?: number;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof ListingIntentResponse
|
|
74
|
+
*/
|
|
75
|
+
streetId?: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {number}
|
|
79
|
+
* @memberof ListingIntentResponse
|
|
80
|
+
*/
|
|
81
|
+
lat?: number;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {number}
|
|
85
|
+
* @memberof ListingIntentResponse
|
|
86
|
+
*/
|
|
87
|
+
lng?: number;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {number}
|
|
91
|
+
* @memberof ListingIntentResponse
|
|
92
|
+
*/
|
|
93
|
+
area?: number;
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {number}
|
|
97
|
+
* @memberof ListingIntentResponse
|
|
98
|
+
*/
|
|
99
|
+
numberOfRooms?: number;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @export
|
|
105
|
+
*/
|
|
106
|
+
export const ListingIntentResponsePropertyTypeEnum = {
|
|
107
|
+
House: 'HOUSE',
|
|
108
|
+
TownHouse: 'TOWN_HOUSE',
|
|
109
|
+
CountryHouse: 'COUNTRY_HOUSE',
|
|
110
|
+
Villa: 'VILLA',
|
|
111
|
+
Cottage: 'COTTAGE',
|
|
112
|
+
Apartment: 'APARTMENT',
|
|
113
|
+
Duplex: 'DUPLEX',
|
|
114
|
+
Triplex: 'TRIPLEX',
|
|
115
|
+
SemiBasement: 'SEMI_BASEMENT',
|
|
116
|
+
Attic: 'ATTIC',
|
|
117
|
+
AgriculturalLand: 'AGRICULTURAL_LAND',
|
|
118
|
+
ResidentialLand: 'RESIDENTIAL_LAND',
|
|
119
|
+
HotelRoom: 'HOTEL_ROOM',
|
|
120
|
+
MotelRoom: 'MOTEL_ROOM',
|
|
121
|
+
CoLivingSpace: 'CO_LIVING_SPACE',
|
|
122
|
+
Office: 'OFFICE',
|
|
123
|
+
CommercialSpace: 'COMMERCIAL_SPACE',
|
|
124
|
+
CoWorkingSpace: 'CO_WORKING_SPACE',
|
|
125
|
+
Warehouse: 'WAREHOUSE',
|
|
126
|
+
Garage: 'GARAGE'
|
|
127
|
+
} as const;
|
|
128
|
+
export type ListingIntentResponsePropertyTypeEnum = typeof ListingIntentResponsePropertyTypeEnum[keyof typeof ListingIntentResponsePropertyTypeEnum];
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @export
|
|
132
|
+
*/
|
|
133
|
+
export const ListingIntentResponseDealTypeEnum = {
|
|
134
|
+
Buy: 'BUY',
|
|
135
|
+
Rent: 'RENT'
|
|
136
|
+
} as const;
|
|
137
|
+
export type ListingIntentResponseDealTypeEnum = typeof ListingIntentResponseDealTypeEnum[keyof typeof ListingIntentResponseDealTypeEnum];
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Check if a given object implements the ListingIntentResponse interface.
|
|
142
|
+
*/
|
|
143
|
+
export function instanceOfListingIntentResponse(value: object): value is ListingIntentResponse {
|
|
144
|
+
if (!('propertyType' in value) || value['propertyType'] === undefined) return false;
|
|
145
|
+
if (!('dealType' in value) || value['dealType'] === undefined) return false;
|
|
146
|
+
return true;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export function ListingIntentResponseFromJSON(json: any): ListingIntentResponse {
|
|
150
|
+
return ListingIntentResponseFromJSONTyped(json, false);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
export function ListingIntentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListingIntentResponse {
|
|
154
|
+
if (json == null) {
|
|
155
|
+
return json;
|
|
156
|
+
}
|
|
157
|
+
return {
|
|
158
|
+
|
|
159
|
+
'propertyType': json['propertyType'],
|
|
160
|
+
'dealType': json['dealType'],
|
|
161
|
+
'desiredPriceMin': json['desiredPriceMin'] == null ? undefined : json['desiredPriceMin'],
|
|
162
|
+
'desiredPriceMax': json['desiredPriceMax'] == null ? undefined : json['desiredPriceMax'],
|
|
163
|
+
'regionId': json['regionId'] == null ? undefined : json['regionId'],
|
|
164
|
+
'cityId': json['cityId'] == null ? undefined : json['cityId'],
|
|
165
|
+
'districtId': json['districtId'] == null ? undefined : json['districtId'],
|
|
166
|
+
'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
|
|
167
|
+
'streetId': json['streetId'] == null ? undefined : json['streetId'],
|
|
168
|
+
'lat': json['lat'] == null ? undefined : json['lat'],
|
|
169
|
+
'lng': json['lng'] == null ? undefined : json['lng'],
|
|
170
|
+
'area': json['area'] == null ? undefined : json['area'],
|
|
171
|
+
'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export function ListingIntentResponseToJSON(json: any): ListingIntentResponse {
|
|
176
|
+
return ListingIntentResponseToJSONTyped(json, false);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export function ListingIntentResponseToJSONTyped(value?: ListingIntentResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
180
|
+
if (value == null) {
|
|
181
|
+
return value;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
return {
|
|
185
|
+
|
|
186
|
+
'propertyType': value['propertyType'],
|
|
187
|
+
'dealType': value['dealType'],
|
|
188
|
+
'desiredPriceMin': value['desiredPriceMin'],
|
|
189
|
+
'desiredPriceMax': value['desiredPriceMax'],
|
|
190
|
+
'regionId': value['regionId'],
|
|
191
|
+
'cityId': value['cityId'],
|
|
192
|
+
'districtId': value['districtId'],
|
|
193
|
+
'subDistrictId': value['subDistrictId'],
|
|
194
|
+
'streetId': value['streetId'],
|
|
195
|
+
'lat': value['lat'],
|
|
196
|
+
'lng': value['lng'],
|
|
197
|
+
'area': value['area'],
|
|
198
|
+
'numberOfRooms': value['numberOfRooms'],
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
|
|
@@ -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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface LocationRefRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface LocationRefRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof LocationRefRequest
|
|
26
|
+
*/
|
|
27
|
+
regionId?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof LocationRefRequest
|
|
32
|
+
*/
|
|
33
|
+
cityId?: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof LocationRefRequest
|
|
38
|
+
*/
|
|
39
|
+
districtId?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof LocationRefRequest
|
|
44
|
+
*/
|
|
45
|
+
subDistrictId?: number;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof LocationRefRequest
|
|
50
|
+
*/
|
|
51
|
+
streetId?: number;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the LocationRefRequest interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfLocationRefRequest(value: object): value is LocationRefRequest {
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function LocationRefRequestFromJSON(json: any): LocationRefRequest {
|
|
62
|
+
return LocationRefRequestFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function LocationRefRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocationRefRequest {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'regionId': json['regionId'] == null ? undefined : json['regionId'],
|
|
72
|
+
'cityId': json['cityId'] == null ? undefined : json['cityId'],
|
|
73
|
+
'districtId': json['districtId'] == null ? undefined : json['districtId'],
|
|
74
|
+
'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
|
|
75
|
+
'streetId': json['streetId'] == null ? undefined : json['streetId'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function LocationRefRequestToJSON(json: any): LocationRefRequest {
|
|
80
|
+
return LocationRefRequestToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function LocationRefRequestToJSONTyped(value?: LocationRefRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'regionId': value['regionId'],
|
|
91
|
+
'cityId': value['cityId'],
|
|
92
|
+
'districtId': value['districtId'],
|
|
93
|
+
'subDistrictId': value['subDistrictId'],
|
|
94
|
+
'streetId': value['streetId'],
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
@@ -0,0 +1,167 @@
|
|
|
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 { PageableObject } from './PageableObject';
|
|
17
|
+
import {
|
|
18
|
+
PageableObjectFromJSON,
|
|
19
|
+
PageableObjectFromJSONTyped,
|
|
20
|
+
PageableObjectToJSON,
|
|
21
|
+
PageableObjectToJSONTyped,
|
|
22
|
+
} from './PageableObject';
|
|
23
|
+
import type { LeadProjectionResponse } from './LeadProjectionResponse';
|
|
24
|
+
import {
|
|
25
|
+
LeadProjectionResponseFromJSON,
|
|
26
|
+
LeadProjectionResponseFromJSONTyped,
|
|
27
|
+
LeadProjectionResponseToJSON,
|
|
28
|
+
LeadProjectionResponseToJSONTyped,
|
|
29
|
+
} from './LeadProjectionResponse';
|
|
30
|
+
import type { SortObject } from './SortObject';
|
|
31
|
+
import {
|
|
32
|
+
SortObjectFromJSON,
|
|
33
|
+
SortObjectFromJSONTyped,
|
|
34
|
+
SortObjectToJSON,
|
|
35
|
+
SortObjectToJSONTyped,
|
|
36
|
+
} from './SortObject';
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @export
|
|
41
|
+
* @interface PageLeadProjectionResponse
|
|
42
|
+
*/
|
|
43
|
+
export interface PageLeadProjectionResponse {
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {number}
|
|
47
|
+
* @memberof PageLeadProjectionResponse
|
|
48
|
+
*/
|
|
49
|
+
totalPages?: number;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof PageLeadProjectionResponse
|
|
54
|
+
*/
|
|
55
|
+
totalElements?: number;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {number}
|
|
59
|
+
* @memberof PageLeadProjectionResponse
|
|
60
|
+
*/
|
|
61
|
+
size?: number;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Array<LeadProjectionResponse>}
|
|
65
|
+
* @memberof PageLeadProjectionResponse
|
|
66
|
+
*/
|
|
67
|
+
content?: Array<LeadProjectionResponse>;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {number}
|
|
71
|
+
* @memberof PageLeadProjectionResponse
|
|
72
|
+
*/
|
|
73
|
+
number?: number;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {boolean}
|
|
77
|
+
* @memberof PageLeadProjectionResponse
|
|
78
|
+
*/
|
|
79
|
+
first?: boolean;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {boolean}
|
|
83
|
+
* @memberof PageLeadProjectionResponse
|
|
84
|
+
*/
|
|
85
|
+
last?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {number}
|
|
89
|
+
* @memberof PageLeadProjectionResponse
|
|
90
|
+
*/
|
|
91
|
+
numberOfElements?: number;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {PageableObject}
|
|
95
|
+
* @memberof PageLeadProjectionResponse
|
|
96
|
+
*/
|
|
97
|
+
pageable?: PageableObject;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {SortObject}
|
|
101
|
+
* @memberof PageLeadProjectionResponse
|
|
102
|
+
*/
|
|
103
|
+
sort?: SortObject;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {boolean}
|
|
107
|
+
* @memberof PageLeadProjectionResponse
|
|
108
|
+
*/
|
|
109
|
+
empty?: boolean;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Check if a given object implements the PageLeadProjectionResponse interface.
|
|
114
|
+
*/
|
|
115
|
+
export function instanceOfPageLeadProjectionResponse(value: object): value is PageLeadProjectionResponse {
|
|
116
|
+
return true;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export function PageLeadProjectionResponseFromJSON(json: any): PageLeadProjectionResponse {
|
|
120
|
+
return PageLeadProjectionResponseFromJSONTyped(json, false);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function PageLeadProjectionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageLeadProjectionResponse {
|
|
124
|
+
if (json == null) {
|
|
125
|
+
return json;
|
|
126
|
+
}
|
|
127
|
+
return {
|
|
128
|
+
|
|
129
|
+
'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
|
|
130
|
+
'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
|
|
131
|
+
'size': json['size'] == null ? undefined : json['size'],
|
|
132
|
+
'content': json['content'] == null ? undefined : ((json['content'] as Array<any>).map(LeadProjectionResponseFromJSON)),
|
|
133
|
+
'number': json['number'] == null ? undefined : json['number'],
|
|
134
|
+
'first': json['first'] == null ? undefined : json['first'],
|
|
135
|
+
'last': json['last'] == null ? undefined : json['last'],
|
|
136
|
+
'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
|
|
137
|
+
'pageable': json['pageable'] == null ? undefined : PageableObjectFromJSON(json['pageable']),
|
|
138
|
+
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
139
|
+
'empty': json['empty'] == null ? undefined : json['empty'],
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export function PageLeadProjectionResponseToJSON(json: any): PageLeadProjectionResponse {
|
|
144
|
+
return PageLeadProjectionResponseToJSONTyped(json, false);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export function PageLeadProjectionResponseToJSONTyped(value?: PageLeadProjectionResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
148
|
+
if (value == null) {
|
|
149
|
+
return value;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
return {
|
|
153
|
+
|
|
154
|
+
'totalPages': value['totalPages'],
|
|
155
|
+
'totalElements': value['totalElements'],
|
|
156
|
+
'size': value['size'],
|
|
157
|
+
'content': value['content'] == null ? undefined : ((value['content'] as Array<any>).map(LeadProjectionResponseToJSON)),
|
|
158
|
+
'number': value['number'],
|
|
159
|
+
'first': value['first'],
|
|
160
|
+
'last': value['last'],
|
|
161
|
+
'numberOfElements': value['numberOfElements'],
|
|
162
|
+
'pageable': PageableObjectToJSON(value['pageable']),
|
|
163
|
+
'sort': SortObjectToJSON(value['sort']),
|
|
164
|
+
'empty': value['empty'],
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
|
|
@@ -46,13 +46,13 @@ export interface PageRoleResponse {
|
|
|
46
46
|
* @type {number}
|
|
47
47
|
* @memberof PageRoleResponse
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
totalPages?: number;
|
|
50
50
|
/**
|
|
51
51
|
*
|
|
52
52
|
* @type {number}
|
|
53
53
|
* @memberof PageRoleResponse
|
|
54
54
|
*/
|
|
55
|
-
|
|
55
|
+
totalElements?: number;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @type {number}
|
|
@@ -91,16 +91,16 @@ export interface PageRoleResponse {
|
|
|
91
91
|
numberOfElements?: number;
|
|
92
92
|
/**
|
|
93
93
|
*
|
|
94
|
-
* @type {
|
|
94
|
+
* @type {PageableObject}
|
|
95
95
|
* @memberof PageRoleResponse
|
|
96
96
|
*/
|
|
97
|
-
|
|
97
|
+
pageable?: PageableObject;
|
|
98
98
|
/**
|
|
99
99
|
*
|
|
100
|
-
* @type {
|
|
100
|
+
* @type {SortObject}
|
|
101
101
|
* @memberof PageRoleResponse
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
sort?: SortObject;
|
|
104
104
|
/**
|
|
105
105
|
*
|
|
106
106
|
* @type {boolean}
|
|
@@ -126,16 +126,16 @@ export function PageRoleResponseFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
126
126
|
}
|
|
127
127
|
return {
|
|
128
128
|
|
|
129
|
-
'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
|
|
130
129
|
'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
|
|
130
|
+
'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
|
|
131
131
|
'size': json['size'] == null ? undefined : json['size'],
|
|
132
132
|
'content': json['content'] == null ? undefined : ((json['content'] as Array<any>).map(RoleResponseFromJSON)),
|
|
133
133
|
'number': json['number'] == null ? undefined : json['number'],
|
|
134
134
|
'first': json['first'] == null ? undefined : json['first'],
|
|
135
135
|
'last': json['last'] == null ? undefined : json['last'],
|
|
136
136
|
'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
|
|
137
|
-
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
138
137
|
'pageable': json['pageable'] == null ? undefined : PageableObjectFromJSON(json['pageable']),
|
|
138
|
+
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
139
139
|
'empty': json['empty'] == null ? undefined : json['empty'],
|
|
140
140
|
};
|
|
141
141
|
}
|
|
@@ -151,16 +151,16 @@ export function PageRoleResponseToJSONTyped(value?: PageRoleResponse | null, ign
|
|
|
151
151
|
|
|
152
152
|
return {
|
|
153
153
|
|
|
154
|
-
'totalElements': value['totalElements'],
|
|
155
154
|
'totalPages': value['totalPages'],
|
|
155
|
+
'totalElements': value['totalElements'],
|
|
156
156
|
'size': value['size'],
|
|
157
157
|
'content': value['content'] == null ? undefined : ((value['content'] as Array<any>).map(RoleResponseToJSON)),
|
|
158
158
|
'number': value['number'],
|
|
159
159
|
'first': value['first'],
|
|
160
160
|
'last': value['last'],
|
|
161
161
|
'numberOfElements': value['numberOfElements'],
|
|
162
|
-
'sort': SortObjectToJSON(value['sort']),
|
|
163
162
|
'pageable': PageableObjectToJSON(value['pageable']),
|
|
163
|
+
'sort': SortObjectToJSON(value['sort']),
|
|
164
164
|
'empty': value['empty'],
|
|
165
165
|
};
|
|
166
166
|
}
|
|
@@ -33,12 +33,6 @@ export interface PageableObject {
|
|
|
33
33
|
* @memberof PageableObject
|
|
34
34
|
*/
|
|
35
35
|
offset?: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {SortObject}
|
|
39
|
-
* @memberof PageableObject
|
|
40
|
-
*/
|
|
41
|
-
sort?: SortObject;
|
|
42
36
|
/**
|
|
43
37
|
*
|
|
44
38
|
* @type {boolean}
|
|
@@ -63,6 +57,12 @@ export interface PageableObject {
|
|
|
63
57
|
* @memberof PageableObject
|
|
64
58
|
*/
|
|
65
59
|
pageSize?: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {SortObject}
|
|
63
|
+
* @memberof PageableObject
|
|
64
|
+
*/
|
|
65
|
+
sort?: SortObject;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
/**
|
|
@@ -83,11 +83,11 @@ export function PageableObjectFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
83
83
|
return {
|
|
84
84
|
|
|
85
85
|
'offset': json['offset'] == null ? undefined : json['offset'],
|
|
86
|
-
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
87
86
|
'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
|
|
88
87
|
'paged': json['paged'] == null ? undefined : json['paged'],
|
|
89
88
|
'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
|
|
90
89
|
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
90
|
+
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
91
91
|
};
|
|
92
92
|
}
|
|
93
93
|
|
|
@@ -103,11 +103,11 @@ export function PageableObjectToJSONTyped(value?: PageableObject | null, ignoreD
|
|
|
103
103
|
return {
|
|
104
104
|
|
|
105
105
|
'offset': value['offset'],
|
|
106
|
-
'sort': SortObjectToJSON(value['sort']),
|
|
107
106
|
'unpaged': value['unpaged'],
|
|
108
107
|
'paged': value['paged'],
|
|
109
108
|
'pageNumber': value['pageNumber'],
|
|
110
109
|
'pageSize': value['pageSize'],
|
|
110
|
+
'sort': SortObjectToJSON(value['sort']),
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
113
|
|
|
@@ -0,0 +1,73 @@
|
|
|
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 PriceRangeRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface PriceRangeRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof PriceRangeRequest
|
|
26
|
+
*/
|
|
27
|
+
min?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof PriceRangeRequest
|
|
32
|
+
*/
|
|
33
|
+
max?: number;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the PriceRangeRequest interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfPriceRangeRequest(value: object): value is PriceRangeRequest {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function PriceRangeRequestFromJSON(json: any): PriceRangeRequest {
|
|
44
|
+
return PriceRangeRequestFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function PriceRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PriceRangeRequest {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'min': json['min'] == null ? undefined : json['min'],
|
|
54
|
+
'max': json['max'] == null ? undefined : json['max'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function PriceRangeRequestToJSON(json: any): PriceRangeRequest {
|
|
59
|
+
return PriceRangeRequestToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function PriceRangeRequestToJSONTyped(value?: PriceRangeRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'min': value['min'],
|
|
70
|
+
'max': value['max'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|