@homespot-sdk/api 0.0.637 → 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.
Files changed (145) hide show
  1. package/.openapi-generator/FILES +38 -0
  2. package/README.md +32 -3
  3. package/dist/apis/AgencyQueryControllerApi.d.ts +46 -0
  4. package/dist/apis/AgencyQueryControllerApi.js +65 -0
  5. package/dist/apis/LeadControllerApi.d.ts +280 -0
  6. package/dist/apis/LeadControllerApi.js +452 -0
  7. package/dist/apis/LeadQueryControllerApi.d.ts +88 -0
  8. package/dist/apis/LeadQueryControllerApi.js +122 -0
  9. package/dist/apis/PublicAgencyControllerApi.d.ts +1 -21
  10. package/dist/apis/PublicAgencyControllerApi.js +0 -32
  11. package/dist/apis/index.d.ts +3 -0
  12. package/dist/apis/index.js +3 -0
  13. package/dist/esm/apis/AgencyQueryControllerApi.d.ts +46 -0
  14. package/dist/esm/apis/AgencyQueryControllerApi.js +61 -0
  15. package/dist/esm/apis/LeadControllerApi.d.ts +280 -0
  16. package/dist/esm/apis/LeadControllerApi.js +448 -0
  17. package/dist/esm/apis/LeadQueryControllerApi.d.ts +88 -0
  18. package/dist/esm/apis/LeadQueryControllerApi.js +118 -0
  19. package/dist/esm/apis/PublicAgencyControllerApi.d.ts +1 -21
  20. package/dist/esm/apis/PublicAgencyControllerApi.js +1 -33
  21. package/dist/esm/apis/index.d.ts +3 -0
  22. package/dist/esm/apis/index.js +3 -0
  23. package/dist/esm/models/AddressRefRequest.d.ts +63 -0
  24. package/dist/esm/models/AddressRefRequest.js +54 -0
  25. package/dist/esm/models/AssignToMemberRequest.d.ts +32 -0
  26. package/dist/esm/models/AssignToMemberRequest.js +43 -0
  27. package/dist/esm/models/ChangeStatusRequest.d.ts +44 -0
  28. package/dist/esm/models/ChangeStatusRequest.js +54 -0
  29. package/dist/esm/models/ContactInfoRequest.d.ts +50 -0
  30. package/dist/esm/models/ContactInfoRequest.js +49 -0
  31. package/dist/esm/models/CoordinatesRequest.d.ts +38 -0
  32. package/dist/esm/models/CoordinatesRequest.js +47 -0
  33. package/dist/esm/models/CreateLeadRequest.d.ts +45 -0
  34. package/dist/esm/models/CreateLeadRequest.js +48 -0
  35. package/dist/esm/models/LeadProjectionResponse.d.ts +130 -0
  36. package/dist/esm/models/LeadProjectionResponse.js +94 -0
  37. package/dist/esm/models/ListingIntentRequest.d.ts +98 -0
  38. package/dist/esm/models/ListingIntentRequest.js +89 -0
  39. package/dist/esm/models/ListingIntentResponse.d.ts +138 -0
  40. package/dist/esm/models/ListingIntentResponse.js +101 -0
  41. package/dist/esm/models/LocationRefRequest.d.ts +56 -0
  42. package/dist/esm/models/LocationRefRequest.js +49 -0
  43. package/dist/esm/models/PageLeadProjectionResponse.d.ts +95 -0
  44. package/dist/esm/models/PageLeadProjectionResponse.js +64 -0
  45. package/dist/esm/models/PageRoleResponse.d.ts +2 -2
  46. package/dist/esm/models/PageRoleResponse.js +2 -2
  47. package/dist/esm/models/PageableObject.d.ts +6 -6
  48. package/dist/esm/models/PageableObject.js +2 -2
  49. package/dist/esm/models/PriceRangeRequest.d.ts +38 -0
  50. package/dist/esm/models/PriceRangeRequest.js +43 -0
  51. package/dist/esm/models/SearchIntentRequest.d.ts +98 -0
  52. package/dist/esm/models/SearchIntentRequest.js +89 -0
  53. package/dist/esm/models/SearchIntentResponse.d.ts +126 -0
  54. package/dist/esm/models/SearchIntentResponse.js +97 -0
  55. package/dist/esm/models/SourceRequest.d.ts +32 -0
  56. package/dist/esm/models/SourceRequest.js +43 -0
  57. package/dist/esm/models/UpdateNoteRequest.d.ts +32 -0
  58. package/dist/esm/models/UpdateNoteRequest.js +43 -0
  59. package/dist/esm/models/index.d.ts +16 -0
  60. package/dist/esm/models/index.js +16 -0
  61. package/dist/models/AddressRefRequest.d.ts +63 -0
  62. package/dist/models/AddressRefRequest.js +61 -0
  63. package/dist/models/AssignToMemberRequest.d.ts +32 -0
  64. package/dist/models/AssignToMemberRequest.js +50 -0
  65. package/dist/models/ChangeStatusRequest.d.ts +44 -0
  66. package/dist/models/ChangeStatusRequest.js +62 -0
  67. package/dist/models/ContactInfoRequest.d.ts +50 -0
  68. package/dist/models/ContactInfoRequest.js +56 -0
  69. package/dist/models/CoordinatesRequest.d.ts +38 -0
  70. package/dist/models/CoordinatesRequest.js +54 -0
  71. package/dist/models/CreateLeadRequest.d.ts +45 -0
  72. package/dist/models/CreateLeadRequest.js +55 -0
  73. package/dist/models/LeadProjectionResponse.d.ts +130 -0
  74. package/dist/models/LeadProjectionResponse.js +102 -0
  75. package/dist/models/ListingIntentRequest.d.ts +98 -0
  76. package/dist/models/ListingIntentRequest.js +97 -0
  77. package/dist/models/ListingIntentResponse.d.ts +138 -0
  78. package/dist/models/ListingIntentResponse.js +109 -0
  79. package/dist/models/LocationRefRequest.d.ts +56 -0
  80. package/dist/models/LocationRefRequest.js +56 -0
  81. package/dist/models/PageLeadProjectionResponse.d.ts +95 -0
  82. package/dist/models/PageLeadProjectionResponse.js +71 -0
  83. package/dist/models/PageRoleResponse.d.ts +2 -2
  84. package/dist/models/PageRoleResponse.js +2 -2
  85. package/dist/models/PageableObject.d.ts +6 -6
  86. package/dist/models/PageableObject.js +2 -2
  87. package/dist/models/PriceRangeRequest.d.ts +38 -0
  88. package/dist/models/PriceRangeRequest.js +50 -0
  89. package/dist/models/SearchIntentRequest.d.ts +98 -0
  90. package/dist/models/SearchIntentRequest.js +97 -0
  91. package/dist/models/SearchIntentResponse.d.ts +126 -0
  92. package/dist/models/SearchIntentResponse.js +105 -0
  93. package/dist/models/SourceRequest.d.ts +32 -0
  94. package/dist/models/SourceRequest.js +50 -0
  95. package/dist/models/UpdateNoteRequest.d.ts +32 -0
  96. package/dist/models/UpdateNoteRequest.js +50 -0
  97. package/dist/models/index.d.ts +16 -0
  98. package/dist/models/index.js +16 -0
  99. package/docs/AddressRefRequest.md +44 -0
  100. package/docs/AgencyQueryControllerApi.md +78 -0
  101. package/docs/AssignToMemberRequest.md +34 -0
  102. package/docs/ChangeStatusRequest.md +34 -0
  103. package/docs/ContactInfoRequest.md +40 -0
  104. package/docs/CoordinatesRequest.md +36 -0
  105. package/docs/CreateLeadRequest.md +38 -0
  106. package/docs/LeadControllerApi.md +817 -0
  107. package/docs/LeadProjectionResponse.md +62 -0
  108. package/docs/LeadQueryControllerApi.md +163 -0
  109. package/docs/ListingIntentRequest.md +44 -0
  110. package/docs/ListingIntentResponse.md +58 -0
  111. package/docs/LocationRefRequest.md +42 -0
  112. package/docs/PageLeadProjectionResponse.md +54 -0
  113. package/docs/PageRoleResponse.md +2 -2
  114. package/docs/PageableObject.md +2 -2
  115. package/docs/PriceRangeRequest.md +36 -0
  116. package/docs/PublicAgencyControllerApi.md +0 -70
  117. package/docs/SearchIntentRequest.md +44 -0
  118. package/docs/SearchIntentResponse.md +54 -0
  119. package/docs/SourceRequest.md +34 -0
  120. package/docs/UpdateNoteRequest.md +34 -0
  121. package/package.json +1 -1
  122. package/src/apis/AgencyQueryControllerApi.ts +96 -0
  123. package/src/apis/LeadControllerApi.ts +851 -0
  124. package/src/apis/LeadQueryControllerApi.ts +195 -0
  125. package/src/apis/PublicAgencyControllerApi.ts +0 -60
  126. package/src/apis/index.ts +3 -0
  127. package/src/models/AddressRefRequest.ts +114 -0
  128. package/src/models/AssignToMemberRequest.ts +66 -0
  129. package/src/models/ChangeStatusRequest.ts +81 -0
  130. package/src/models/ContactInfoRequest.ts +90 -0
  131. package/src/models/CoordinatesRequest.ts +75 -0
  132. package/src/models/CreateLeadRequest.ts +90 -0
  133. package/src/models/LeadProjectionResponse.ts +213 -0
  134. package/src/models/ListingIntentRequest.ts +160 -0
  135. package/src/models/ListingIntentResponse.ts +201 -0
  136. package/src/models/LocationRefRequest.ts +97 -0
  137. package/src/models/PageLeadProjectionResponse.ts +167 -0
  138. package/src/models/PageRoleResponse.ts +4 -4
  139. package/src/models/PageableObject.ts +8 -8
  140. package/src/models/PriceRangeRequest.ts +73 -0
  141. package/src/models/SearchIntentRequest.ts +160 -0
  142. package/src/models/SearchIntentResponse.ts +185 -0
  143. package/src/models/SourceRequest.ts +66 -0
  144. package/src/models/UpdateNoteRequest.ts +66 -0
  145. package/src/models/index.ts +16 -0
@@ -0,0 +1,101 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Service API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const ListingIntentResponsePropertyTypeEnum = {
18
+ House: 'HOUSE',
19
+ TownHouse: 'TOWN_HOUSE',
20
+ CountryHouse: 'COUNTRY_HOUSE',
21
+ Villa: 'VILLA',
22
+ Cottage: 'COTTAGE',
23
+ Apartment: 'APARTMENT',
24
+ Duplex: 'DUPLEX',
25
+ Triplex: 'TRIPLEX',
26
+ SemiBasement: 'SEMI_BASEMENT',
27
+ Attic: 'ATTIC',
28
+ AgriculturalLand: 'AGRICULTURAL_LAND',
29
+ ResidentialLand: 'RESIDENTIAL_LAND',
30
+ HotelRoom: 'HOTEL_ROOM',
31
+ MotelRoom: 'MOTEL_ROOM',
32
+ CoLivingSpace: 'CO_LIVING_SPACE',
33
+ Office: 'OFFICE',
34
+ CommercialSpace: 'COMMERCIAL_SPACE',
35
+ CoWorkingSpace: 'CO_WORKING_SPACE',
36
+ Warehouse: 'WAREHOUSE',
37
+ Garage: 'GARAGE'
38
+ };
39
+ /**
40
+ * @export
41
+ */
42
+ export const ListingIntentResponseDealTypeEnum = {
43
+ Buy: 'BUY',
44
+ Rent: 'RENT'
45
+ };
46
+ /**
47
+ * Check if a given object implements the ListingIntentResponse interface.
48
+ */
49
+ export function instanceOfListingIntentResponse(value) {
50
+ if (!('propertyType' in value) || value['propertyType'] === undefined)
51
+ return false;
52
+ if (!('dealType' in value) || value['dealType'] === undefined)
53
+ return false;
54
+ return true;
55
+ }
56
+ export function ListingIntentResponseFromJSON(json) {
57
+ return ListingIntentResponseFromJSONTyped(json, false);
58
+ }
59
+ export function ListingIntentResponseFromJSONTyped(json, ignoreDiscriminator) {
60
+ if (json == null) {
61
+ return json;
62
+ }
63
+ return {
64
+ 'propertyType': json['propertyType'],
65
+ 'dealType': json['dealType'],
66
+ 'desiredPriceMin': json['desiredPriceMin'] == null ? undefined : json['desiredPriceMin'],
67
+ 'desiredPriceMax': json['desiredPriceMax'] == null ? undefined : json['desiredPriceMax'],
68
+ 'regionId': json['regionId'] == null ? undefined : json['regionId'],
69
+ 'cityId': json['cityId'] == null ? undefined : json['cityId'],
70
+ 'districtId': json['districtId'] == null ? undefined : json['districtId'],
71
+ 'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
72
+ 'streetId': json['streetId'] == null ? undefined : json['streetId'],
73
+ 'lat': json['lat'] == null ? undefined : json['lat'],
74
+ 'lng': json['lng'] == null ? undefined : json['lng'],
75
+ 'area': json['area'] == null ? undefined : json['area'],
76
+ 'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
77
+ };
78
+ }
79
+ export function ListingIntentResponseToJSON(json) {
80
+ return ListingIntentResponseToJSONTyped(json, false);
81
+ }
82
+ export function ListingIntentResponseToJSONTyped(value, ignoreDiscriminator = false) {
83
+ if (value == null) {
84
+ return value;
85
+ }
86
+ return {
87
+ 'propertyType': value['propertyType'],
88
+ 'dealType': value['dealType'],
89
+ 'desiredPriceMin': value['desiredPriceMin'],
90
+ 'desiredPriceMax': value['desiredPriceMax'],
91
+ 'regionId': value['regionId'],
92
+ 'cityId': value['cityId'],
93
+ 'districtId': value['districtId'],
94
+ 'subDistrictId': value['subDistrictId'],
95
+ 'streetId': value['streetId'],
96
+ 'lat': value['lat'],
97
+ 'lng': value['lng'],
98
+ 'area': value['area'],
99
+ 'numberOfRooms': value['numberOfRooms'],
100
+ };
101
+ }
@@ -0,0 +1,56 @@
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 LocationRefRequest
16
+ */
17
+ export interface LocationRefRequest {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof LocationRefRequest
22
+ */
23
+ regionId?: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof LocationRefRequest
28
+ */
29
+ cityId?: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof LocationRefRequest
34
+ */
35
+ districtId?: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof LocationRefRequest
40
+ */
41
+ subDistrictId?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof LocationRefRequest
46
+ */
47
+ streetId?: number;
48
+ }
49
+ /**
50
+ * Check if a given object implements the LocationRefRequest interface.
51
+ */
52
+ export declare function instanceOfLocationRefRequest(value: object): value is LocationRefRequest;
53
+ export declare function LocationRefRequestFromJSON(json: any): LocationRefRequest;
54
+ export declare function LocationRefRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LocationRefRequest;
55
+ export declare function LocationRefRequestToJSON(json: any): LocationRefRequest;
56
+ export declare function LocationRefRequestToJSONTyped(value?: LocationRefRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Service API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the LocationRefRequest interface.
16
+ */
17
+ export function instanceOfLocationRefRequest(value) {
18
+ return true;
19
+ }
20
+ export function LocationRefRequestFromJSON(json) {
21
+ return LocationRefRequestFromJSONTyped(json, false);
22
+ }
23
+ export function LocationRefRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'regionId': json['regionId'] == null ? undefined : json['regionId'],
29
+ 'cityId': json['cityId'] == null ? undefined : json['cityId'],
30
+ 'districtId': json['districtId'] == null ? undefined : json['districtId'],
31
+ 'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
32
+ 'streetId': json['streetId'] == null ? undefined : json['streetId'],
33
+ };
34
+ }
35
+ export function LocationRefRequestToJSON(json) {
36
+ return LocationRefRequestToJSONTyped(json, false);
37
+ }
38
+ export function LocationRefRequestToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'regionId': value['regionId'],
44
+ 'cityId': value['cityId'],
45
+ 'districtId': value['districtId'],
46
+ 'subDistrictId': value['subDistrictId'],
47
+ 'streetId': value['streetId'],
48
+ };
49
+ }
@@ -0,0 +1,95 @@
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 { PageableObject } from './PageableObject';
13
+ import type { LeadProjectionResponse } from './LeadProjectionResponse';
14
+ import type { SortObject } from './SortObject';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface PageLeadProjectionResponse
19
+ */
20
+ export interface PageLeadProjectionResponse {
21
+ /**
22
+ *
23
+ * @type {number}
24
+ * @memberof PageLeadProjectionResponse
25
+ */
26
+ totalPages?: number;
27
+ /**
28
+ *
29
+ * @type {number}
30
+ * @memberof PageLeadProjectionResponse
31
+ */
32
+ totalElements?: number;
33
+ /**
34
+ *
35
+ * @type {number}
36
+ * @memberof PageLeadProjectionResponse
37
+ */
38
+ size?: number;
39
+ /**
40
+ *
41
+ * @type {Array<LeadProjectionResponse>}
42
+ * @memberof PageLeadProjectionResponse
43
+ */
44
+ content?: Array<LeadProjectionResponse>;
45
+ /**
46
+ *
47
+ * @type {number}
48
+ * @memberof PageLeadProjectionResponse
49
+ */
50
+ number?: number;
51
+ /**
52
+ *
53
+ * @type {boolean}
54
+ * @memberof PageLeadProjectionResponse
55
+ */
56
+ first?: boolean;
57
+ /**
58
+ *
59
+ * @type {boolean}
60
+ * @memberof PageLeadProjectionResponse
61
+ */
62
+ last?: boolean;
63
+ /**
64
+ *
65
+ * @type {number}
66
+ * @memberof PageLeadProjectionResponse
67
+ */
68
+ numberOfElements?: number;
69
+ /**
70
+ *
71
+ * @type {PageableObject}
72
+ * @memberof PageLeadProjectionResponse
73
+ */
74
+ pageable?: PageableObject;
75
+ /**
76
+ *
77
+ * @type {SortObject}
78
+ * @memberof PageLeadProjectionResponse
79
+ */
80
+ sort?: SortObject;
81
+ /**
82
+ *
83
+ * @type {boolean}
84
+ * @memberof PageLeadProjectionResponse
85
+ */
86
+ empty?: boolean;
87
+ }
88
+ /**
89
+ * Check if a given object implements the PageLeadProjectionResponse interface.
90
+ */
91
+ export declare function instanceOfPageLeadProjectionResponse(value: object): value is PageLeadProjectionResponse;
92
+ export declare function PageLeadProjectionResponseFromJSON(json: any): PageLeadProjectionResponse;
93
+ export declare function PageLeadProjectionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageLeadProjectionResponse;
94
+ export declare function PageLeadProjectionResponseToJSON(json: any): PageLeadProjectionResponse;
95
+ export declare function PageLeadProjectionResponseToJSONTyped(value?: PageLeadProjectionResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,64 @@
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 { PageableObjectFromJSON, PageableObjectToJSON, } from './PageableObject';
15
+ import { LeadProjectionResponseFromJSON, LeadProjectionResponseToJSON, } from './LeadProjectionResponse';
16
+ import { SortObjectFromJSON, SortObjectToJSON, } from './SortObject';
17
+ /**
18
+ * Check if a given object implements the PageLeadProjectionResponse interface.
19
+ */
20
+ export function instanceOfPageLeadProjectionResponse(value) {
21
+ return true;
22
+ }
23
+ export function PageLeadProjectionResponseFromJSON(json) {
24
+ return PageLeadProjectionResponseFromJSONTyped(json, false);
25
+ }
26
+ export function PageLeadProjectionResponseFromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
32
+ 'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
33
+ 'size': json['size'] == null ? undefined : json['size'],
34
+ 'content': json['content'] == null ? undefined : (json['content'].map(LeadProjectionResponseFromJSON)),
35
+ 'number': json['number'] == null ? undefined : json['number'],
36
+ 'first': json['first'] == null ? undefined : json['first'],
37
+ 'last': json['last'] == null ? undefined : json['last'],
38
+ 'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
39
+ 'pageable': json['pageable'] == null ? undefined : PageableObjectFromJSON(json['pageable']),
40
+ 'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
41
+ 'empty': json['empty'] == null ? undefined : json['empty'],
42
+ };
43
+ }
44
+ export function PageLeadProjectionResponseToJSON(json) {
45
+ return PageLeadProjectionResponseToJSONTyped(json, false);
46
+ }
47
+ export function PageLeadProjectionResponseToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'totalPages': value['totalPages'],
53
+ 'totalElements': value['totalElements'],
54
+ 'size': value['size'],
55
+ 'content': value['content'] == null ? undefined : (value['content'].map(LeadProjectionResponseToJSON)),
56
+ 'number': value['number'],
57
+ 'first': value['first'],
58
+ 'last': value['last'],
59
+ 'numberOfElements': value['numberOfElements'],
60
+ 'pageable': PageableObjectToJSON(value['pageable']),
61
+ 'sort': SortObjectToJSON(value['sort']),
62
+ 'empty': value['empty'],
63
+ };
64
+ }
@@ -23,13 +23,13 @@ export interface PageRoleResponse {
23
23
  * @type {number}
24
24
  * @memberof PageRoleResponse
25
25
  */
26
- totalElements?: number;
26
+ totalPages?: number;
27
27
  /**
28
28
  *
29
29
  * @type {number}
30
30
  * @memberof PageRoleResponse
31
31
  */
32
- totalPages?: number;
32
+ totalElements?: number;
33
33
  /**
34
34
  *
35
35
  * @type {number}
@@ -28,8 +28,8 @@ export function PageRoleResponseFromJSONTyped(json, ignoreDiscriminator) {
28
28
  return json;
29
29
  }
30
30
  return {
31
- 'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
32
31
  'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
32
+ 'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
33
33
  'size': json['size'] == null ? undefined : json['size'],
34
34
  'content': json['content'] == null ? undefined : (json['content'].map(RoleResponseFromJSON)),
35
35
  'number': json['number'] == null ? undefined : json['number'],
@@ -49,8 +49,8 @@ export function PageRoleResponseToJSONTyped(value, ignoreDiscriminator = false)
49
49
  return value;
50
50
  }
51
51
  return {
52
- 'totalElements': value['totalElements'],
53
52
  'totalPages': value['totalPages'],
53
+ 'totalElements': value['totalElements'],
54
54
  'size': value['size'],
55
55
  'content': value['content'] == null ? undefined : (value['content'].map(RoleResponseToJSON)),
56
56
  'number': value['number'],
@@ -22,6 +22,12 @@ export interface PageableObject {
22
22
  * @memberof PageableObject
23
23
  */
24
24
  offset?: number;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof PageableObject
29
+ */
30
+ unpaged?: boolean;
25
31
  /**
26
32
  *
27
33
  * @type {boolean}
@@ -46,12 +52,6 @@ export interface PageableObject {
46
52
  * @memberof PageableObject
47
53
  */
48
54
  sort?: SortObject;
49
- /**
50
- *
51
- * @type {boolean}
52
- * @memberof PageableObject
53
- */
54
- unpaged?: boolean;
55
55
  }
56
56
  /**
57
57
  * Check if a given object implements the PageableObject interface.
@@ -27,11 +27,11 @@ export function PageableObjectFromJSONTyped(json, ignoreDiscriminator) {
27
27
  }
28
28
  return {
29
29
  'offset': json['offset'] == null ? undefined : json['offset'],
30
+ 'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
30
31
  'paged': json['paged'] == null ? undefined : json['paged'],
31
32
  'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
32
33
  'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
33
34
  'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
34
- 'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
35
35
  };
36
36
  }
37
37
  export function PageableObjectToJSON(json) {
@@ -43,10 +43,10 @@ export function PageableObjectToJSONTyped(value, ignoreDiscriminator = false) {
43
43
  }
44
44
  return {
45
45
  'offset': value['offset'],
46
+ 'unpaged': value['unpaged'],
46
47
  'paged': value['paged'],
47
48
  'pageNumber': value['pageNumber'],
48
49
  'pageSize': value['pageSize'],
49
50
  'sort': SortObjectToJSON(value['sort']),
50
- 'unpaged': value['unpaged'],
51
51
  };
52
52
  }
@@ -0,0 +1,38 @@
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 PriceRangeRequest
16
+ */
17
+ export interface PriceRangeRequest {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof PriceRangeRequest
22
+ */
23
+ min?: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof PriceRangeRequest
28
+ */
29
+ max?: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PriceRangeRequest interface.
33
+ */
34
+ export declare function instanceOfPriceRangeRequest(value: object): value is PriceRangeRequest;
35
+ export declare function PriceRangeRequestFromJSON(json: any): PriceRangeRequest;
36
+ export declare function PriceRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PriceRangeRequest;
37
+ export declare function PriceRangeRequestToJSON(json: any): PriceRangeRequest;
38
+ export declare function PriceRangeRequestToJSONTyped(value?: PriceRangeRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Service API
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: v1
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the PriceRangeRequest interface.
16
+ */
17
+ export function instanceOfPriceRangeRequest(value) {
18
+ return true;
19
+ }
20
+ export function PriceRangeRequestFromJSON(json) {
21
+ return PriceRangeRequestFromJSONTyped(json, false);
22
+ }
23
+ export function PriceRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'min': json['min'] == null ? undefined : json['min'],
29
+ 'max': json['max'] == null ? undefined : json['max'],
30
+ };
31
+ }
32
+ export function PriceRangeRequestToJSON(json) {
33
+ return PriceRangeRequestToJSONTyped(json, false);
34
+ }
35
+ export function PriceRangeRequestToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'min': value['min'],
41
+ 'max': value['max'],
42
+ };
43
+ }
@@ -0,0 +1,98 @@
1
+ /**
2
+ * Service API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { LocationRefRequest } from './LocationRefRequest';
13
+ import type { PriceRangeRequest } from './PriceRangeRequest';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface SearchIntentRequest
18
+ */
19
+ export interface SearchIntentRequest {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof SearchIntentRequest
24
+ */
25
+ propertyType: SearchIntentRequestPropertyTypeEnum;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof SearchIntentRequest
30
+ */
31
+ dealType: SearchIntentRequestDealTypeEnum;
32
+ /**
33
+ *
34
+ * @type {PriceRangeRequest}
35
+ * @memberof SearchIntentRequest
36
+ */
37
+ budget?: PriceRangeRequest;
38
+ /**
39
+ *
40
+ * @type {LocationRefRequest}
41
+ * @memberof SearchIntentRequest
42
+ */
43
+ targetLocation?: LocationRefRequest;
44
+ /**
45
+ *
46
+ * @type {number}
47
+ * @memberof SearchIntentRequest
48
+ */
49
+ area?: number;
50
+ /**
51
+ *
52
+ * @type {number}
53
+ * @memberof SearchIntentRequest
54
+ */
55
+ numberOfRooms?: number;
56
+ }
57
+ /**
58
+ * @export
59
+ */
60
+ export declare const SearchIntentRequestPropertyTypeEnum: {
61
+ readonly House: "HOUSE";
62
+ readonly TownHouse: "TOWN_HOUSE";
63
+ readonly CountryHouse: "COUNTRY_HOUSE";
64
+ readonly Villa: "VILLA";
65
+ readonly Cottage: "COTTAGE";
66
+ readonly Apartment: "APARTMENT";
67
+ readonly Duplex: "DUPLEX";
68
+ readonly Triplex: "TRIPLEX";
69
+ readonly SemiBasement: "SEMI_BASEMENT";
70
+ readonly Attic: "ATTIC";
71
+ readonly AgriculturalLand: "AGRICULTURAL_LAND";
72
+ readonly ResidentialLand: "RESIDENTIAL_LAND";
73
+ readonly HotelRoom: "HOTEL_ROOM";
74
+ readonly MotelRoom: "MOTEL_ROOM";
75
+ readonly CoLivingSpace: "CO_LIVING_SPACE";
76
+ readonly Office: "OFFICE";
77
+ readonly CommercialSpace: "COMMERCIAL_SPACE";
78
+ readonly CoWorkingSpace: "CO_WORKING_SPACE";
79
+ readonly Warehouse: "WAREHOUSE";
80
+ readonly Garage: "GARAGE";
81
+ };
82
+ export type SearchIntentRequestPropertyTypeEnum = typeof SearchIntentRequestPropertyTypeEnum[keyof typeof SearchIntentRequestPropertyTypeEnum];
83
+ /**
84
+ * @export
85
+ */
86
+ export declare const SearchIntentRequestDealTypeEnum: {
87
+ readonly Buy: "BUY";
88
+ readonly Rent: "RENT";
89
+ };
90
+ export type SearchIntentRequestDealTypeEnum = typeof SearchIntentRequestDealTypeEnum[keyof typeof SearchIntentRequestDealTypeEnum];
91
+ /**
92
+ * Check if a given object implements the SearchIntentRequest interface.
93
+ */
94
+ export declare function instanceOfSearchIntentRequest(value: object): value is SearchIntentRequest;
95
+ export declare function SearchIntentRequestFromJSON(json: any): SearchIntentRequest;
96
+ export declare function SearchIntentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchIntentRequest;
97
+ export declare function SearchIntentRequestToJSON(json: any): SearchIntentRequest;
98
+ export declare function SearchIntentRequestToJSONTyped(value?: SearchIntentRequest | null, ignoreDiscriminator?: boolean): any;