@homespot-sdk/api 0.0.640 → 0.0.641
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +4 -12
- package/README.md +6 -12
- package/dist/apis/LeadControllerApi.d.ts +15 -71
- package/dist/apis/LeadControllerApi.js +18 -109
- package/dist/esm/apis/LeadControllerApi.d.ts +15 -71
- package/dist/esm/apis/LeadControllerApi.js +18 -109
- package/dist/esm/models/IntentResponse.d.ts +136 -0
- package/dist/esm/models/{SearchIntentResponse.js → IntentResponse.js} +37 -26
- package/dist/esm/models/LeadIntentRequest.d.ts +114 -0
- package/dist/esm/models/{SearchIntentRequest.js → LeadIntentRequest.js} +35 -22
- package/dist/esm/models/LeadProjectionResponse.d.ts +6 -19
- package/dist/esm/models/LeadProjectionResponse.js +11 -16
- package/dist/esm/models/LocationRefRequest.d.ts +0 -6
- package/dist/esm/models/LocationRefRequest.js +0 -2
- package/dist/esm/models/PageLeadProjectionResponse.d.ts +6 -6
- package/dist/esm/models/PageLeadProjectionResponse.js +2 -2
- package/dist/esm/models/PageRoleResponse.d.ts +6 -6
- 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/index.d.ts +2 -6
- package/dist/esm/models/index.js +2 -6
- package/dist/models/IntentResponse.d.ts +136 -0
- package/dist/models/{SearchIntentResponse.js → IntentResponse.js} +43 -32
- package/dist/models/LeadIntentRequest.d.ts +114 -0
- package/dist/models/{SearchIntentRequest.js → LeadIntentRequest.js} +41 -28
- package/dist/models/LeadProjectionResponse.d.ts +6 -19
- package/dist/models/LeadProjectionResponse.js +11 -16
- package/dist/models/LocationRefRequest.d.ts +0 -6
- package/dist/models/LocationRefRequest.js +0 -2
- package/dist/models/PageLeadProjectionResponse.d.ts +6 -6
- package/dist/models/PageLeadProjectionResponse.js +2 -2
- package/dist/models/PageRoleResponse.d.ts +6 -6
- 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/index.d.ts +2 -6
- package/dist/models/index.js +2 -6
- package/docs/{SearchIntentResponse.md → IntentResponse.md} +12 -12
- package/docs/LeadControllerApi.md +19 -171
- package/docs/{SearchIntentRequest.md → LeadIntentRequest.md} +10 -8
- package/docs/LeadProjectionResponse.md +8 -12
- package/docs/LocationRefRequest.md +0 -2
- package/docs/PageLeadProjectionResponse.md +2 -2
- package/docs/PageRoleResponse.md +2 -2
- package/docs/PageableObject.md +2 -2
- package/package.json +1 -1
- package/src/apis/LeadControllerApi.ts +32 -206
- package/src/models/{SearchIntentResponse.ts → IntentResponse.ts} +60 -48
- package/src/models/{SearchIntentRequest.ts → LeadIntentRequest.ts} +55 -35
- package/src/models/LeadProjectionResponse.ts +21 -44
- package/src/models/LocationRefRequest.ts +0 -8
- package/src/models/PageLeadProjectionResponse.ts +8 -8
- package/src/models/PageRoleResponse.ts +8 -8
- package/src/models/PageableObject.ts +8 -8
- package/src/models/index.ts +2 -6
- package/dist/esm/models/AddressRefRequest.d.ts +0 -63
- package/dist/esm/models/AddressRefRequest.js +0 -54
- package/dist/esm/models/CoordinatesRequest.d.ts +0 -38
- package/dist/esm/models/CoordinatesRequest.js +0 -47
- package/dist/esm/models/ListingIntentRequest.d.ts +0 -98
- package/dist/esm/models/ListingIntentRequest.js +0 -89
- package/dist/esm/models/ListingIntentResponse.d.ts +0 -138
- package/dist/esm/models/ListingIntentResponse.js +0 -101
- package/dist/esm/models/SearchIntentRequest.d.ts +0 -98
- package/dist/esm/models/SearchIntentResponse.d.ts +0 -126
- package/dist/models/AddressRefRequest.d.ts +0 -63
- package/dist/models/AddressRefRequest.js +0 -61
- package/dist/models/CoordinatesRequest.d.ts +0 -38
- package/dist/models/CoordinatesRequest.js +0 -54
- package/dist/models/ListingIntentRequest.d.ts +0 -98
- package/dist/models/ListingIntentRequest.js +0 -97
- package/dist/models/ListingIntentResponse.d.ts +0 -138
- package/dist/models/ListingIntentResponse.js +0 -109
- package/dist/models/SearchIntentRequest.d.ts +0 -98
- package/dist/models/SearchIntentResponse.d.ts +0 -126
- package/docs/AddressRefRequest.md +0 -44
- package/docs/CoordinatesRequest.md +0 -36
- package/docs/ListingIntentRequest.md +0 -44
- package/docs/ListingIntentResponse.md +0 -58
- package/src/models/AddressRefRequest.ts +0 -114
- package/src/models/CoordinatesRequest.ts +0 -75
- package/src/models/ListingIntentRequest.ts +0 -160
- package/src/models/ListingIntentResponse.ts +0 -201
|
@@ -31,43 +31,49 @@ import {
|
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @export
|
|
34
|
-
* @interface
|
|
34
|
+
* @interface LeadIntentRequest
|
|
35
35
|
*/
|
|
36
|
-
export interface
|
|
36
|
+
export interface LeadIntentRequest {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {string}
|
|
40
|
-
* @memberof
|
|
40
|
+
* @memberof LeadIntentRequest
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
clientType: LeadIntentRequestClientTypeEnum;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {string}
|
|
46
|
-
* @memberof
|
|
46
|
+
* @memberof LeadIntentRequest
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
listingType: LeadIntentRequestListingTypeEnum;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof LeadIntentRequest
|
|
53
|
+
*/
|
|
54
|
+
propertyType: LeadIntentRequestPropertyTypeEnum;
|
|
49
55
|
/**
|
|
50
56
|
*
|
|
51
57
|
* @type {PriceRangeRequest}
|
|
52
|
-
* @memberof
|
|
58
|
+
* @memberof LeadIntentRequest
|
|
53
59
|
*/
|
|
54
|
-
|
|
60
|
+
price?: PriceRangeRequest;
|
|
55
61
|
/**
|
|
56
62
|
*
|
|
57
63
|
* @type {LocationRefRequest}
|
|
58
|
-
* @memberof
|
|
64
|
+
* @memberof LeadIntentRequest
|
|
59
65
|
*/
|
|
60
66
|
targetLocation?: LocationRefRequest;
|
|
61
67
|
/**
|
|
62
68
|
*
|
|
63
69
|
* @type {number}
|
|
64
|
-
* @memberof
|
|
70
|
+
* @memberof LeadIntentRequest
|
|
65
71
|
*/
|
|
66
72
|
area?: number;
|
|
67
73
|
/**
|
|
68
74
|
*
|
|
69
75
|
* @type {number}
|
|
70
|
-
* @memberof
|
|
76
|
+
* @memberof LeadIntentRequest
|
|
71
77
|
*/
|
|
72
78
|
numberOfRooms?: number;
|
|
73
79
|
}
|
|
@@ -76,7 +82,27 @@ export interface SearchIntentRequest {
|
|
|
76
82
|
/**
|
|
77
83
|
* @export
|
|
78
84
|
*/
|
|
79
|
-
export const
|
|
85
|
+
export const LeadIntentRequestClientTypeEnum = {
|
|
86
|
+
Listing: 'LISTING',
|
|
87
|
+
Seeking: 'SEEKING'
|
|
88
|
+
} as const;
|
|
89
|
+
export type LeadIntentRequestClientTypeEnum = typeof LeadIntentRequestClientTypeEnum[keyof typeof LeadIntentRequestClientTypeEnum];
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @export
|
|
93
|
+
*/
|
|
94
|
+
export const LeadIntentRequestListingTypeEnum = {
|
|
95
|
+
Sale: 'SALE',
|
|
96
|
+
Rent: 'RENT',
|
|
97
|
+
DailyRent: 'DAILY_RENT',
|
|
98
|
+
Pledge: 'PLEDGE'
|
|
99
|
+
} as const;
|
|
100
|
+
export type LeadIntentRequestListingTypeEnum = typeof LeadIntentRequestListingTypeEnum[keyof typeof LeadIntentRequestListingTypeEnum];
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @export
|
|
104
|
+
*/
|
|
105
|
+
export const LeadIntentRequestPropertyTypeEnum = {
|
|
80
106
|
House: 'HOUSE',
|
|
81
107
|
TownHouse: 'TOWN_HOUSE',
|
|
82
108
|
CountryHouse: 'COUNTRY_HOUSE',
|
|
@@ -98,60 +124,54 @@ export const SearchIntentRequestPropertyTypeEnum = {
|
|
|
98
124
|
Warehouse: 'WAREHOUSE',
|
|
99
125
|
Garage: 'GARAGE'
|
|
100
126
|
} as const;
|
|
101
|
-
export type
|
|
102
|
-
|
|
103
|
-
/**
|
|
104
|
-
* @export
|
|
105
|
-
*/
|
|
106
|
-
export const SearchIntentRequestDealTypeEnum = {
|
|
107
|
-
Buy: 'BUY',
|
|
108
|
-
Rent: 'RENT'
|
|
109
|
-
} as const;
|
|
110
|
-
export type SearchIntentRequestDealTypeEnum = typeof SearchIntentRequestDealTypeEnum[keyof typeof SearchIntentRequestDealTypeEnum];
|
|
127
|
+
export type LeadIntentRequestPropertyTypeEnum = typeof LeadIntentRequestPropertyTypeEnum[keyof typeof LeadIntentRequestPropertyTypeEnum];
|
|
111
128
|
|
|
112
129
|
|
|
113
130
|
/**
|
|
114
|
-
* Check if a given object implements the
|
|
131
|
+
* Check if a given object implements the LeadIntentRequest interface.
|
|
115
132
|
*/
|
|
116
|
-
export function
|
|
133
|
+
export function instanceOfLeadIntentRequest(value: object): value is LeadIntentRequest {
|
|
134
|
+
if (!('clientType' in value) || value['clientType'] === undefined) return false;
|
|
135
|
+
if (!('listingType' in value) || value['listingType'] === undefined) return false;
|
|
117
136
|
if (!('propertyType' in value) || value['propertyType'] === undefined) return false;
|
|
118
|
-
if (!('dealType' in value) || value['dealType'] === undefined) return false;
|
|
119
137
|
return true;
|
|
120
138
|
}
|
|
121
139
|
|
|
122
|
-
export function
|
|
123
|
-
return
|
|
140
|
+
export function LeadIntentRequestFromJSON(json: any): LeadIntentRequest {
|
|
141
|
+
return LeadIntentRequestFromJSONTyped(json, false);
|
|
124
142
|
}
|
|
125
143
|
|
|
126
|
-
export function
|
|
144
|
+
export function LeadIntentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadIntentRequest {
|
|
127
145
|
if (json == null) {
|
|
128
146
|
return json;
|
|
129
147
|
}
|
|
130
148
|
return {
|
|
131
149
|
|
|
150
|
+
'clientType': json['clientType'],
|
|
151
|
+
'listingType': json['listingType'],
|
|
132
152
|
'propertyType': json['propertyType'],
|
|
133
|
-
'
|
|
134
|
-
'budget': json['budget'] == null ? undefined : PriceRangeRequestFromJSON(json['budget']),
|
|
153
|
+
'price': json['price'] == null ? undefined : PriceRangeRequestFromJSON(json['price']),
|
|
135
154
|
'targetLocation': json['targetLocation'] == null ? undefined : LocationRefRequestFromJSON(json['targetLocation']),
|
|
136
155
|
'area': json['area'] == null ? undefined : json['area'],
|
|
137
156
|
'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
|
|
138
157
|
};
|
|
139
158
|
}
|
|
140
159
|
|
|
141
|
-
export function
|
|
142
|
-
return
|
|
160
|
+
export function LeadIntentRequestToJSON(json: any): LeadIntentRequest {
|
|
161
|
+
return LeadIntentRequestToJSONTyped(json, false);
|
|
143
162
|
}
|
|
144
163
|
|
|
145
|
-
export function
|
|
164
|
+
export function LeadIntentRequestToJSONTyped(value?: LeadIntentRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
146
165
|
if (value == null) {
|
|
147
166
|
return value;
|
|
148
167
|
}
|
|
149
168
|
|
|
150
169
|
return {
|
|
151
170
|
|
|
171
|
+
'clientType': value['clientType'],
|
|
172
|
+
'listingType': value['listingType'],
|
|
152
173
|
'propertyType': value['propertyType'],
|
|
153
|
-
'
|
|
154
|
-
'budget': PriceRangeRequestToJSON(value['budget']),
|
|
174
|
+
'price': PriceRangeRequestToJSON(value['price']),
|
|
155
175
|
'targetLocation': LocationRefRequestToJSON(value['targetLocation']),
|
|
156
176
|
'area': value['area'],
|
|
157
177
|
'numberOfRooms': value['numberOfRooms'],
|
|
@@ -13,20 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { IntentResponse } from './IntentResponse';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
23
|
-
import type { SearchIntentResponse } from './SearchIntentResponse';
|
|
24
|
-
import {
|
|
25
|
-
SearchIntentResponseFromJSON,
|
|
26
|
-
SearchIntentResponseFromJSONTyped,
|
|
27
|
-
SearchIntentResponseToJSON,
|
|
28
|
-
SearchIntentResponseToJSONTyped,
|
|
29
|
-
} from './SearchIntentResponse';
|
|
18
|
+
IntentResponseFromJSON,
|
|
19
|
+
IntentResponseFromJSONTyped,
|
|
20
|
+
IntentResponseToJSON,
|
|
21
|
+
IntentResponseToJSONTyped,
|
|
22
|
+
} from './IntentResponse';
|
|
30
23
|
|
|
31
24
|
/**
|
|
32
25
|
*
|
|
@@ -81,13 +74,7 @@ export interface LeadProjectionResponse {
|
|
|
81
74
|
* @type {string}
|
|
82
75
|
* @memberof LeadProjectionResponse
|
|
83
76
|
*/
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* @type {string}
|
|
88
|
-
* @memberof LeadProjectionResponse
|
|
89
|
-
*/
|
|
90
|
-
noteContent?: string;
|
|
77
|
+
note?: string;
|
|
91
78
|
/**
|
|
92
79
|
*
|
|
93
80
|
* @type {string}
|
|
@@ -105,25 +92,19 @@ export interface LeadProjectionResponse {
|
|
|
105
92
|
* @type {boolean}
|
|
106
93
|
* @memberof LeadProjectionResponse
|
|
107
94
|
*/
|
|
108
|
-
|
|
95
|
+
isSearching: boolean;
|
|
109
96
|
/**
|
|
110
97
|
*
|
|
111
98
|
* @type {boolean}
|
|
112
99
|
* @memberof LeadProjectionResponse
|
|
113
100
|
*/
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
*
|
|
117
|
-
* @type {Array<SearchIntentResponse>}
|
|
118
|
-
* @memberof LeadProjectionResponse
|
|
119
|
-
*/
|
|
120
|
-
searchIntents?: Array<SearchIntentResponse>;
|
|
101
|
+
isListing: boolean;
|
|
121
102
|
/**
|
|
122
103
|
*
|
|
123
|
-
* @type {Array<
|
|
104
|
+
* @type {Array<IntentResponse>}
|
|
124
105
|
* @memberof LeadProjectionResponse
|
|
125
106
|
*/
|
|
126
|
-
|
|
107
|
+
intents?: Array<IntentResponse>;
|
|
127
108
|
}
|
|
128
109
|
|
|
129
110
|
|
|
@@ -149,8 +130,8 @@ export function instanceOfLeadProjectionResponse(value: object): value is LeadPr
|
|
|
149
130
|
if (!('createdBy' in value) || value['createdBy'] === undefined) return false;
|
|
150
131
|
if (!('status' in value) || value['status'] === undefined) return false;
|
|
151
132
|
if (!('contactPhoneNumber' in value) || value['contactPhoneNumber'] === undefined) return false;
|
|
152
|
-
if (!('
|
|
153
|
-
if (!('
|
|
133
|
+
if (!('isSearching' in value) || value['isSearching'] === undefined) return false;
|
|
134
|
+
if (!('isListing' in value) || value['isListing'] === undefined) return false;
|
|
154
135
|
return true;
|
|
155
136
|
}
|
|
156
137
|
|
|
@@ -171,14 +152,12 @@ export function LeadProjectionResponseFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
171
152
|
'contactFullName': json['contactFullName'] == null ? undefined : json['contactFullName'],
|
|
172
153
|
'contactPhoneNumber': json['contactPhoneNumber'],
|
|
173
154
|
'contactEmail': json['contactEmail'] == null ? undefined : json['contactEmail'],
|
|
174
|
-
'
|
|
175
|
-
'noteContent': json['noteContent'] == null ? undefined : json['noteContent'],
|
|
155
|
+
'note': json['note'] == null ? undefined : json['note'],
|
|
176
156
|
'sourceType': json['sourceType'] == null ? undefined : json['sourceType'],
|
|
177
157
|
'sourceLink': json['sourceLink'] == null ? undefined : json['sourceLink'],
|
|
178
|
-
'
|
|
179
|
-
'
|
|
180
|
-
'
|
|
181
|
-
'listingIntents': json['listingIntents'] == null ? undefined : ((json['listingIntents'] as Array<any>).map(ListingIntentResponseFromJSON)),
|
|
158
|
+
'isSearching': json['isSearching'],
|
|
159
|
+
'isListing': json['isListing'],
|
|
160
|
+
'intents': json['intents'] == null ? undefined : ((json['intents'] as Array<any>).map(IntentResponseFromJSON)),
|
|
182
161
|
};
|
|
183
162
|
}
|
|
184
163
|
|
|
@@ -200,14 +179,12 @@ export function LeadProjectionResponseToJSONTyped(value?: LeadProjectionResponse
|
|
|
200
179
|
'contactFullName': value['contactFullName'],
|
|
201
180
|
'contactPhoneNumber': value['contactPhoneNumber'],
|
|
202
181
|
'contactEmail': value['contactEmail'],
|
|
203
|
-
'
|
|
204
|
-
'noteContent': value['noteContent'],
|
|
182
|
+
'note': value['note'],
|
|
205
183
|
'sourceType': value['sourceType'],
|
|
206
184
|
'sourceLink': value['sourceLink'],
|
|
207
|
-
'
|
|
208
|
-
'
|
|
209
|
-
'
|
|
210
|
-
'listingIntents': value['listingIntents'] == null ? undefined : ((value['listingIntents'] as Array<any>).map(ListingIntentResponseToJSON)),
|
|
185
|
+
'isSearching': value['isSearching'],
|
|
186
|
+
'isListing': value['isListing'],
|
|
187
|
+
'intents': value['intents'] == null ? undefined : ((value['intents'] as Array<any>).map(IntentResponseToJSON)),
|
|
211
188
|
};
|
|
212
189
|
}
|
|
213
190
|
|
|
@@ -25,12 +25,6 @@ export interface LocationRefRequest {
|
|
|
25
25
|
* @memberof LocationRefRequest
|
|
26
26
|
*/
|
|
27
27
|
regionId?: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof LocationRefRequest
|
|
32
|
-
*/
|
|
33
|
-
cityId?: number;
|
|
34
28
|
/**
|
|
35
29
|
*
|
|
36
30
|
* @type {number}
|
|
@@ -69,7 +63,6 @@ export function LocationRefRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
69
63
|
return {
|
|
70
64
|
|
|
71
65
|
'regionId': json['regionId'] == null ? undefined : json['regionId'],
|
|
72
|
-
'cityId': json['cityId'] == null ? undefined : json['cityId'],
|
|
73
66
|
'districtId': json['districtId'] == null ? undefined : json['districtId'],
|
|
74
67
|
'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
|
|
75
68
|
'streetId': json['streetId'] == null ? undefined : json['streetId'],
|
|
@@ -88,7 +81,6 @@ export function LocationRefRequestToJSONTyped(value?: LocationRefRequest | null,
|
|
|
88
81
|
return {
|
|
89
82
|
|
|
90
83
|
'regionId': value['regionId'],
|
|
91
|
-
'cityId': value['cityId'],
|
|
92
84
|
'districtId': value['districtId'],
|
|
93
85
|
'subDistrictId': value['subDistrictId'],
|
|
94
86
|
'streetId': value['streetId'],
|
|
@@ -85,22 +85,22 @@ export interface PageLeadProjectionResponse {
|
|
|
85
85
|
last?: boolean;
|
|
86
86
|
/**
|
|
87
87
|
*
|
|
88
|
-
* @type {
|
|
88
|
+
* @type {SortObject}
|
|
89
89
|
* @memberof PageLeadProjectionResponse
|
|
90
90
|
*/
|
|
91
|
-
|
|
91
|
+
sort?: SortObject;
|
|
92
92
|
/**
|
|
93
93
|
*
|
|
94
|
-
* @type {
|
|
94
|
+
* @type {number}
|
|
95
95
|
* @memberof PageLeadProjectionResponse
|
|
96
96
|
*/
|
|
97
|
-
|
|
97
|
+
numberOfElements?: number;
|
|
98
98
|
/**
|
|
99
99
|
*
|
|
100
|
-
* @type {
|
|
100
|
+
* @type {PageableObject}
|
|
101
101
|
* @memberof PageLeadProjectionResponse
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
pageable?: PageableObject;
|
|
104
104
|
/**
|
|
105
105
|
*
|
|
106
106
|
* @type {boolean}
|
|
@@ -133,9 +133,9 @@ export function PageLeadProjectionResponseFromJSONTyped(json: any, ignoreDiscrim
|
|
|
133
133
|
'number': json['number'] == null ? undefined : json['number'],
|
|
134
134
|
'first': json['first'] == null ? undefined : json['first'],
|
|
135
135
|
'last': json['last'] == null ? undefined : json['last'],
|
|
136
|
+
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
136
137
|
'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
|
|
137
138
|
'pageable': json['pageable'] == null ? undefined : PageableObjectFromJSON(json['pageable']),
|
|
138
|
-
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
139
139
|
'empty': json['empty'] == null ? undefined : json['empty'],
|
|
140
140
|
};
|
|
141
141
|
}
|
|
@@ -158,9 +158,9 @@ export function PageLeadProjectionResponseToJSONTyped(value?: PageLeadProjection
|
|
|
158
158
|
'number': value['number'],
|
|
159
159
|
'first': value['first'],
|
|
160
160
|
'last': value['last'],
|
|
161
|
+
'sort': SortObjectToJSON(value['sort']),
|
|
161
162
|
'numberOfElements': value['numberOfElements'],
|
|
162
163
|
'pageable': PageableObjectToJSON(value['pageable']),
|
|
163
|
-
'sort': SortObjectToJSON(value['sort']),
|
|
164
164
|
'empty': value['empty'],
|
|
165
165
|
};
|
|
166
166
|
}
|
|
@@ -85,22 +85,22 @@ export interface PageRoleResponse {
|
|
|
85
85
|
last?: boolean;
|
|
86
86
|
/**
|
|
87
87
|
*
|
|
88
|
-
* @type {
|
|
88
|
+
* @type {SortObject}
|
|
89
89
|
* @memberof PageRoleResponse
|
|
90
90
|
*/
|
|
91
|
-
|
|
91
|
+
sort?: SortObject;
|
|
92
92
|
/**
|
|
93
93
|
*
|
|
94
|
-
* @type {
|
|
94
|
+
* @type {number}
|
|
95
95
|
* @memberof PageRoleResponse
|
|
96
96
|
*/
|
|
97
|
-
|
|
97
|
+
numberOfElements?: number;
|
|
98
98
|
/**
|
|
99
99
|
*
|
|
100
|
-
* @type {
|
|
100
|
+
* @type {PageableObject}
|
|
101
101
|
* @memberof PageRoleResponse
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
pageable?: PageableObject;
|
|
104
104
|
/**
|
|
105
105
|
*
|
|
106
106
|
* @type {boolean}
|
|
@@ -133,9 +133,9 @@ export function PageRoleResponseFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
133
133
|
'number': json['number'] == null ? undefined : json['number'],
|
|
134
134
|
'first': json['first'] == null ? undefined : json['first'],
|
|
135
135
|
'last': json['last'] == null ? undefined : json['last'],
|
|
136
|
+
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
136
137
|
'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
|
|
137
138
|
'pageable': json['pageable'] == null ? undefined : PageableObjectFromJSON(json['pageable']),
|
|
138
|
-
'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
|
|
139
139
|
'empty': json['empty'] == null ? undefined : json['empty'],
|
|
140
140
|
};
|
|
141
141
|
}
|
|
@@ -158,9 +158,9 @@ export function PageRoleResponseToJSONTyped(value?: PageRoleResponse | null, ign
|
|
|
158
158
|
'number': value['number'],
|
|
159
159
|
'first': value['first'],
|
|
160
160
|
'last': value['last'],
|
|
161
|
+
'sort': SortObjectToJSON(value['sort']),
|
|
161
162
|
'numberOfElements': value['numberOfElements'],
|
|
162
163
|
'pageable': PageableObjectToJSON(value['pageable']),
|
|
163
|
-
'sort': SortObjectToJSON(value['sort']),
|
|
164
164
|
'empty': value['empty'],
|
|
165
165
|
};
|
|
166
166
|
}
|
|
@@ -33,6 +33,12 @@ 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;
|
|
36
42
|
/**
|
|
37
43
|
*
|
|
38
44
|
* @type {boolean}
|
|
@@ -57,12 +63,6 @@ export interface PageableObject {
|
|
|
57
63
|
* @memberof PageableObject
|
|
58
64
|
*/
|
|
59
65
|
unpaged?: boolean;
|
|
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']),
|
|
86
87
|
'paged': json['paged'] == null ? undefined : json['paged'],
|
|
87
88
|
'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
|
|
88
89
|
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
89
90
|
'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
|
|
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']),
|
|
106
107
|
'paged': value['paged'],
|
|
107
108
|
'pageNumber': value['pageNumber'],
|
|
108
109
|
'pageSize': value['pageSize'],
|
|
109
110
|
'unpaged': value['unpaged'],
|
|
110
|
-
'sort': SortObjectToJSON(value['sort']),
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
113
|
|
package/src/models/index.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export * from './AddressRefRequest';
|
|
4
3
|
export * from './AddressRequest';
|
|
5
4
|
export * from './AddressViewResponse';
|
|
6
5
|
export * from './AgencyProfileResponse';
|
|
@@ -10,18 +9,17 @@ export * from './AssignToMemberRequest';
|
|
|
10
9
|
export * from './BatchAssignRoleRequest';
|
|
11
10
|
export * from './ChangeStatusRequest';
|
|
12
11
|
export * from './ContactInfoRequest';
|
|
13
|
-
export * from './CoordinatesRequest';
|
|
14
12
|
export * from './CreateAgencyRequest';
|
|
15
13
|
export * from './CreateLeadRequest';
|
|
16
14
|
export * from './GroupedPermissionsResponse';
|
|
17
15
|
export * from './IdResponse';
|
|
16
|
+
export * from './IntentResponse';
|
|
18
17
|
export * from './InvitationDetailsRequest';
|
|
19
18
|
export * from './InvitationDetailsResponse';
|
|
20
19
|
export * from './InvitationViewResponse';
|
|
21
20
|
export * from './InviteMemberRequest';
|
|
21
|
+
export * from './LeadIntentRequest';
|
|
22
22
|
export * from './LeadProjectionResponse';
|
|
23
|
-
export * from './ListingIntentRequest';
|
|
24
|
-
export * from './ListingIntentResponse';
|
|
25
23
|
export * from './LocationRefRequest';
|
|
26
24
|
export * from './MemberViewResponse';
|
|
27
25
|
export * from './OrganizationSummaryViewResponse';
|
|
@@ -39,8 +37,6 @@ export * from './PresignedUrlsResponse';
|
|
|
39
37
|
export * from './PriceRangeRequest';
|
|
40
38
|
export * from './RoleResponse';
|
|
41
39
|
export * from './RolesRequest';
|
|
42
|
-
export * from './SearchIntentRequest';
|
|
43
|
-
export * from './SearchIntentResponse';
|
|
44
40
|
export * from './SocialMediaRequest';
|
|
45
41
|
export * from './SocialMediasRequest';
|
|
46
42
|
export * from './SortObject';
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Service API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { CoordinatesRequest } from './CoordinatesRequest';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AddressRefRequest
|
|
17
|
-
*/
|
|
18
|
-
export interface AddressRefRequest {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof AddressRefRequest
|
|
23
|
-
*/
|
|
24
|
-
regionId?: number;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof AddressRefRequest
|
|
29
|
-
*/
|
|
30
|
-
cityId?: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof AddressRefRequest
|
|
35
|
-
*/
|
|
36
|
-
districtId?: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof AddressRefRequest
|
|
41
|
-
*/
|
|
42
|
-
subDistrictId?: number;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof AddressRefRequest
|
|
47
|
-
*/
|
|
48
|
-
streetId?: number;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {CoordinatesRequest}
|
|
52
|
-
* @memberof AddressRefRequest
|
|
53
|
-
*/
|
|
54
|
-
coordinates: CoordinatesRequest;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Check if a given object implements the AddressRefRequest interface.
|
|
58
|
-
*/
|
|
59
|
-
export declare function instanceOfAddressRefRequest(value: object): value is AddressRefRequest;
|
|
60
|
-
export declare function AddressRefRequestFromJSON(json: any): AddressRefRequest;
|
|
61
|
-
export declare function AddressRefRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressRefRequest;
|
|
62
|
-
export declare function AddressRefRequestToJSON(json: any): AddressRefRequest;
|
|
63
|
-
export declare function AddressRefRequestToJSONTyped(value?: AddressRefRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Service API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { CoordinatesRequestFromJSON, CoordinatesRequestToJSON, } from './CoordinatesRequest';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the AddressRefRequest interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfAddressRefRequest(value) {
|
|
19
|
-
if (!('coordinates' in value) || value['coordinates'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function AddressRefRequestFromJSON(json) {
|
|
24
|
-
return AddressRefRequestFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function AddressRefRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'regionId': json['regionId'] == null ? undefined : json['regionId'],
|
|
32
|
-
'cityId': json['cityId'] == null ? undefined : json['cityId'],
|
|
33
|
-
'districtId': json['districtId'] == null ? undefined : json['districtId'],
|
|
34
|
-
'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
|
|
35
|
-
'streetId': json['streetId'] == null ? undefined : json['streetId'],
|
|
36
|
-
'coordinates': CoordinatesRequestFromJSON(json['coordinates']),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
export function AddressRefRequestToJSON(json) {
|
|
40
|
-
return AddressRefRequestToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
export function AddressRefRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
-
if (value == null) {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'regionId': value['regionId'],
|
|
48
|
-
'cityId': value['cityId'],
|
|
49
|
-
'districtId': value['districtId'],
|
|
50
|
-
'subDistrictId': value['subDistrictId'],
|
|
51
|
-
'streetId': value['streetId'],
|
|
52
|
-
'coordinates': CoordinatesRequestToJSON(value['coordinates']),
|
|
53
|
-
};
|
|
54
|
-
}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Service API
|
|
3
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: v1
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface CoordinatesRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface CoordinatesRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof CoordinatesRequest
|
|
22
|
-
*/
|
|
23
|
-
lat: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof CoordinatesRequest
|
|
28
|
-
*/
|
|
29
|
-
lng: number;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the CoordinatesRequest interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfCoordinatesRequest(value: object): value is CoordinatesRequest;
|
|
35
|
-
export declare function CoordinatesRequestFromJSON(json: any): CoordinatesRequest;
|
|
36
|
-
export declare function CoordinatesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoordinatesRequest;
|
|
37
|
-
export declare function CoordinatesRequestToJSON(json: any): CoordinatesRequest;
|
|
38
|
-
export declare function CoordinatesRequestToJSONTyped(value?: CoordinatesRequest | null, ignoreDiscriminator?: boolean): any;
|