@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.
Files changed (84) hide show
  1. package/.openapi-generator/FILES +4 -12
  2. package/README.md +6 -12
  3. package/dist/apis/LeadControllerApi.d.ts +15 -71
  4. package/dist/apis/LeadControllerApi.js +18 -109
  5. package/dist/esm/apis/LeadControllerApi.d.ts +15 -71
  6. package/dist/esm/apis/LeadControllerApi.js +18 -109
  7. package/dist/esm/models/IntentResponse.d.ts +136 -0
  8. package/dist/esm/models/{SearchIntentResponse.js → IntentResponse.js} +37 -26
  9. package/dist/esm/models/LeadIntentRequest.d.ts +114 -0
  10. package/dist/esm/models/{SearchIntentRequest.js → LeadIntentRequest.js} +35 -22
  11. package/dist/esm/models/LeadProjectionResponse.d.ts +6 -19
  12. package/dist/esm/models/LeadProjectionResponse.js +11 -16
  13. package/dist/esm/models/LocationRefRequest.d.ts +0 -6
  14. package/dist/esm/models/LocationRefRequest.js +0 -2
  15. package/dist/esm/models/PageLeadProjectionResponse.d.ts +6 -6
  16. package/dist/esm/models/PageLeadProjectionResponse.js +2 -2
  17. package/dist/esm/models/PageRoleResponse.d.ts +6 -6
  18. package/dist/esm/models/PageRoleResponse.js +2 -2
  19. package/dist/esm/models/PageableObject.d.ts +6 -6
  20. package/dist/esm/models/PageableObject.js +2 -2
  21. package/dist/esm/models/index.d.ts +2 -6
  22. package/dist/esm/models/index.js +2 -6
  23. package/dist/models/IntentResponse.d.ts +136 -0
  24. package/dist/models/{SearchIntentResponse.js → IntentResponse.js} +43 -32
  25. package/dist/models/LeadIntentRequest.d.ts +114 -0
  26. package/dist/models/{SearchIntentRequest.js → LeadIntentRequest.js} +41 -28
  27. package/dist/models/LeadProjectionResponse.d.ts +6 -19
  28. package/dist/models/LeadProjectionResponse.js +11 -16
  29. package/dist/models/LocationRefRequest.d.ts +0 -6
  30. package/dist/models/LocationRefRequest.js +0 -2
  31. package/dist/models/PageLeadProjectionResponse.d.ts +6 -6
  32. package/dist/models/PageLeadProjectionResponse.js +2 -2
  33. package/dist/models/PageRoleResponse.d.ts +6 -6
  34. package/dist/models/PageRoleResponse.js +2 -2
  35. package/dist/models/PageableObject.d.ts +6 -6
  36. package/dist/models/PageableObject.js +2 -2
  37. package/dist/models/index.d.ts +2 -6
  38. package/dist/models/index.js +2 -6
  39. package/docs/{SearchIntentResponse.md → IntentResponse.md} +12 -12
  40. package/docs/LeadControllerApi.md +19 -171
  41. package/docs/{SearchIntentRequest.md → LeadIntentRequest.md} +10 -8
  42. package/docs/LeadProjectionResponse.md +8 -12
  43. package/docs/LocationRefRequest.md +0 -2
  44. package/docs/PageLeadProjectionResponse.md +2 -2
  45. package/docs/PageRoleResponse.md +2 -2
  46. package/docs/PageableObject.md +2 -2
  47. package/package.json +1 -1
  48. package/src/apis/LeadControllerApi.ts +32 -206
  49. package/src/models/{SearchIntentResponse.ts → IntentResponse.ts} +60 -48
  50. package/src/models/{SearchIntentRequest.ts → LeadIntentRequest.ts} +55 -35
  51. package/src/models/LeadProjectionResponse.ts +21 -44
  52. package/src/models/LocationRefRequest.ts +0 -8
  53. package/src/models/PageLeadProjectionResponse.ts +8 -8
  54. package/src/models/PageRoleResponse.ts +8 -8
  55. package/src/models/PageableObject.ts +8 -8
  56. package/src/models/index.ts +2 -6
  57. package/dist/esm/models/AddressRefRequest.d.ts +0 -63
  58. package/dist/esm/models/AddressRefRequest.js +0 -54
  59. package/dist/esm/models/CoordinatesRequest.d.ts +0 -38
  60. package/dist/esm/models/CoordinatesRequest.js +0 -47
  61. package/dist/esm/models/ListingIntentRequest.d.ts +0 -98
  62. package/dist/esm/models/ListingIntentRequest.js +0 -89
  63. package/dist/esm/models/ListingIntentResponse.d.ts +0 -138
  64. package/dist/esm/models/ListingIntentResponse.js +0 -101
  65. package/dist/esm/models/SearchIntentRequest.d.ts +0 -98
  66. package/dist/esm/models/SearchIntentResponse.d.ts +0 -126
  67. package/dist/models/AddressRefRequest.d.ts +0 -63
  68. package/dist/models/AddressRefRequest.js +0 -61
  69. package/dist/models/CoordinatesRequest.d.ts +0 -38
  70. package/dist/models/CoordinatesRequest.js +0 -54
  71. package/dist/models/ListingIntentRequest.d.ts +0 -98
  72. package/dist/models/ListingIntentRequest.js +0 -97
  73. package/dist/models/ListingIntentResponse.d.ts +0 -138
  74. package/dist/models/ListingIntentResponse.js +0 -109
  75. package/dist/models/SearchIntentRequest.d.ts +0 -98
  76. package/dist/models/SearchIntentResponse.d.ts +0 -126
  77. package/docs/AddressRefRequest.md +0 -44
  78. package/docs/CoordinatesRequest.md +0 -36
  79. package/docs/ListingIntentRequest.md +0 -44
  80. package/docs/ListingIntentResponse.md +0 -58
  81. package/src/models/AddressRefRequest.ts +0 -114
  82. package/src/models/CoordinatesRequest.ts +0 -75
  83. package/src/models/ListingIntentRequest.ts +0 -160
  84. package/src/models/ListingIntentResponse.ts +0 -201
@@ -31,43 +31,49 @@ import {
31
31
  /**
32
32
  *
33
33
  * @export
34
- * @interface SearchIntentRequest
34
+ * @interface LeadIntentRequest
35
35
  */
36
- export interface SearchIntentRequest {
36
+ export interface LeadIntentRequest {
37
37
  /**
38
38
  *
39
39
  * @type {string}
40
- * @memberof SearchIntentRequest
40
+ * @memberof LeadIntentRequest
41
41
  */
42
- propertyType: SearchIntentRequestPropertyTypeEnum;
42
+ clientType: LeadIntentRequestClientTypeEnum;
43
43
  /**
44
44
  *
45
45
  * @type {string}
46
- * @memberof SearchIntentRequest
46
+ * @memberof LeadIntentRequest
47
47
  */
48
- dealType: SearchIntentRequestDealTypeEnum;
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 SearchIntentRequest
58
+ * @memberof LeadIntentRequest
53
59
  */
54
- budget?: PriceRangeRequest;
60
+ price?: PriceRangeRequest;
55
61
  /**
56
62
  *
57
63
  * @type {LocationRefRequest}
58
- * @memberof SearchIntentRequest
64
+ * @memberof LeadIntentRequest
59
65
  */
60
66
  targetLocation?: LocationRefRequest;
61
67
  /**
62
68
  *
63
69
  * @type {number}
64
- * @memberof SearchIntentRequest
70
+ * @memberof LeadIntentRequest
65
71
  */
66
72
  area?: number;
67
73
  /**
68
74
  *
69
75
  * @type {number}
70
- * @memberof SearchIntentRequest
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 SearchIntentRequestPropertyTypeEnum = {
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 SearchIntentRequestPropertyTypeEnum = typeof SearchIntentRequestPropertyTypeEnum[keyof typeof SearchIntentRequestPropertyTypeEnum];
102
-
103
- /**
104
- * @export
105
- */
106
- export const SearchIntentRequestDealTypeEnum = {
107
- Buy: 'BUY',
108
- Rent: 'RENT'
109
- } as const;
110
- export type SearchIntentRequestDealTypeEnum = typeof SearchIntentRequestDealTypeEnum[keyof typeof SearchIntentRequestDealTypeEnum];
127
+ export type LeadIntentRequestPropertyTypeEnum = typeof LeadIntentRequestPropertyTypeEnum[keyof typeof LeadIntentRequestPropertyTypeEnum];
111
128
 
112
129
 
113
130
  /**
114
- * Check if a given object implements the SearchIntentRequest interface.
131
+ * Check if a given object implements the LeadIntentRequest interface.
115
132
  */
116
- export function instanceOfSearchIntentRequest(value: object): value is SearchIntentRequest {
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 SearchIntentRequestFromJSON(json: any): SearchIntentRequest {
123
- return SearchIntentRequestFromJSONTyped(json, false);
140
+ export function LeadIntentRequestFromJSON(json: any): LeadIntentRequest {
141
+ return LeadIntentRequestFromJSONTyped(json, false);
124
142
  }
125
143
 
126
- export function SearchIntentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchIntentRequest {
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
- 'dealType': json['dealType'],
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 SearchIntentRequestToJSON(json: any): SearchIntentRequest {
142
- return SearchIntentRequestToJSONTyped(json, false);
160
+ export function LeadIntentRequestToJSON(json: any): LeadIntentRequest {
161
+ return LeadIntentRequestToJSONTyped(json, false);
143
162
  }
144
163
 
145
- export function SearchIntentRequestToJSONTyped(value?: SearchIntentRequest | null, ignoreDiscriminator: boolean = false): any {
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
- 'dealType': value['dealType'],
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 { ListingIntentResponse } from './ListingIntentResponse';
16
+ import type { IntentResponse } from './IntentResponse';
17
17
  import {
18
- ListingIntentResponseFromJSON,
19
- ListingIntentResponseFromJSONTyped,
20
- ListingIntentResponseToJSON,
21
- ListingIntentResponseToJSONTyped,
22
- } from './ListingIntentResponse';
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
- noteTitle?: string;
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
- isSearcher: boolean;
95
+ isSearching: boolean;
109
96
  /**
110
97
  *
111
98
  * @type {boolean}
112
99
  * @memberof LeadProjectionResponse
113
100
  */
114
- isLister: boolean;
115
- /**
116
- *
117
- * @type {Array<SearchIntentResponse>}
118
- * @memberof LeadProjectionResponse
119
- */
120
- searchIntents?: Array<SearchIntentResponse>;
101
+ isListing: boolean;
121
102
  /**
122
103
  *
123
- * @type {Array<ListingIntentResponse>}
104
+ * @type {Array<IntentResponse>}
124
105
  * @memberof LeadProjectionResponse
125
106
  */
126
- listingIntents?: Array<ListingIntentResponse>;
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 (!('isSearcher' in value) || value['isSearcher'] === undefined) return false;
153
- if (!('isLister' in value) || value['isLister'] === undefined) return false;
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
- 'noteTitle': json['noteTitle'] == null ? undefined : json['noteTitle'],
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
- 'isSearcher': json['isSearcher'],
179
- 'isLister': json['isLister'],
180
- 'searchIntents': json['searchIntents'] == null ? undefined : ((json['searchIntents'] as Array<any>).map(SearchIntentResponseFromJSON)),
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
- 'noteTitle': value['noteTitle'],
204
- 'noteContent': value['noteContent'],
182
+ 'note': value['note'],
205
183
  'sourceType': value['sourceType'],
206
184
  'sourceLink': value['sourceLink'],
207
- 'isSearcher': value['isSearcher'],
208
- 'isLister': value['isLister'],
209
- 'searchIntents': value['searchIntents'] == null ? undefined : ((value['searchIntents'] as Array<any>).map(SearchIntentResponseToJSON)),
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 {number}
88
+ * @type {SortObject}
89
89
  * @memberof PageLeadProjectionResponse
90
90
  */
91
- numberOfElements?: number;
91
+ sort?: SortObject;
92
92
  /**
93
93
  *
94
- * @type {PageableObject}
94
+ * @type {number}
95
95
  * @memberof PageLeadProjectionResponse
96
96
  */
97
- pageable?: PageableObject;
97
+ numberOfElements?: number;
98
98
  /**
99
99
  *
100
- * @type {SortObject}
100
+ * @type {PageableObject}
101
101
  * @memberof PageLeadProjectionResponse
102
102
  */
103
- sort?: SortObject;
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 {number}
88
+ * @type {SortObject}
89
89
  * @memberof PageRoleResponse
90
90
  */
91
- numberOfElements?: number;
91
+ sort?: SortObject;
92
92
  /**
93
93
  *
94
- * @type {PageableObject}
94
+ * @type {number}
95
95
  * @memberof PageRoleResponse
96
96
  */
97
- pageable?: PageableObject;
97
+ numberOfElements?: number;
98
98
  /**
99
99
  *
100
- * @type {SortObject}
100
+ * @type {PageableObject}
101
101
  * @memberof PageRoleResponse
102
102
  */
103
- sort?: SortObject;
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
 
@@ -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;