@homespot-sdk/api 0.0.636 → 0.0.638

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/.openapi-generator/FILES +38 -0
  2. package/README.md +33 -4
  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/PublicRoleControllerApi.js +1 -1
  12. package/dist/apis/index.d.ts +3 -0
  13. package/dist/apis/index.js +3 -0
  14. package/dist/esm/apis/AgencyQueryControllerApi.d.ts +46 -0
  15. package/dist/esm/apis/AgencyQueryControllerApi.js +61 -0
  16. package/dist/esm/apis/LeadControllerApi.d.ts +280 -0
  17. package/dist/esm/apis/LeadControllerApi.js +448 -0
  18. package/dist/esm/apis/LeadQueryControllerApi.d.ts +88 -0
  19. package/dist/esm/apis/LeadQueryControllerApi.js +118 -0
  20. package/dist/esm/apis/PublicAgencyControllerApi.d.ts +1 -21
  21. package/dist/esm/apis/PublicAgencyControllerApi.js +1 -33
  22. package/dist/esm/apis/PublicRoleControllerApi.js +1 -1
  23. package/dist/esm/apis/index.d.ts +3 -0
  24. package/dist/esm/apis/index.js +3 -0
  25. package/dist/esm/models/AddressRefRequest.d.ts +63 -0
  26. package/dist/esm/models/AddressRefRequest.js +54 -0
  27. package/dist/esm/models/AssignToMemberRequest.d.ts +32 -0
  28. package/dist/esm/models/AssignToMemberRequest.js +43 -0
  29. package/dist/esm/models/ChangeStatusRequest.d.ts +44 -0
  30. package/dist/esm/models/ChangeStatusRequest.js +54 -0
  31. package/dist/esm/models/ContactInfoRequest.d.ts +50 -0
  32. package/dist/esm/models/ContactInfoRequest.js +49 -0
  33. package/dist/esm/models/CoordinatesRequest.d.ts +38 -0
  34. package/dist/esm/models/CoordinatesRequest.js +47 -0
  35. package/dist/esm/models/CreateLeadRequest.d.ts +45 -0
  36. package/dist/esm/models/CreateLeadRequest.js +48 -0
  37. package/dist/esm/models/LeadProjectionResponse.d.ts +130 -0
  38. package/dist/esm/models/LeadProjectionResponse.js +94 -0
  39. package/dist/esm/models/ListingIntentRequest.d.ts +98 -0
  40. package/dist/esm/models/ListingIntentRequest.js +89 -0
  41. package/dist/esm/models/ListingIntentResponse.d.ts +138 -0
  42. package/dist/esm/models/ListingIntentResponse.js +101 -0
  43. package/dist/esm/models/LocationRefRequest.d.ts +56 -0
  44. package/dist/esm/models/LocationRefRequest.js +49 -0
  45. package/dist/esm/models/PageLeadProjectionResponse.d.ts +95 -0
  46. package/dist/esm/models/PageLeadProjectionResponse.js +64 -0
  47. package/dist/esm/models/PageRoleResponse.d.ts +6 -6
  48. package/dist/esm/models/PageRoleResponse.js +4 -4
  49. package/dist/esm/models/PageableObject.d.ts +6 -6
  50. package/dist/esm/models/PageableObject.js +2 -2
  51. package/dist/esm/models/PriceRangeRequest.d.ts +38 -0
  52. package/dist/esm/models/PriceRangeRequest.js +43 -0
  53. package/dist/esm/models/SearchIntentRequest.d.ts +98 -0
  54. package/dist/esm/models/SearchIntentRequest.js +89 -0
  55. package/dist/esm/models/SearchIntentResponse.d.ts +126 -0
  56. package/dist/esm/models/SearchIntentResponse.js +97 -0
  57. package/dist/esm/models/SourceRequest.d.ts +32 -0
  58. package/dist/esm/models/SourceRequest.js +43 -0
  59. package/dist/esm/models/UpdateNoteRequest.d.ts +32 -0
  60. package/dist/esm/models/UpdateNoteRequest.js +43 -0
  61. package/dist/esm/models/index.d.ts +16 -0
  62. package/dist/esm/models/index.js +16 -0
  63. package/dist/models/AddressRefRequest.d.ts +63 -0
  64. package/dist/models/AddressRefRequest.js +61 -0
  65. package/dist/models/AssignToMemberRequest.d.ts +32 -0
  66. package/dist/models/AssignToMemberRequest.js +50 -0
  67. package/dist/models/ChangeStatusRequest.d.ts +44 -0
  68. package/dist/models/ChangeStatusRequest.js +62 -0
  69. package/dist/models/ContactInfoRequest.d.ts +50 -0
  70. package/dist/models/ContactInfoRequest.js +56 -0
  71. package/dist/models/CoordinatesRequest.d.ts +38 -0
  72. package/dist/models/CoordinatesRequest.js +54 -0
  73. package/dist/models/CreateLeadRequest.d.ts +45 -0
  74. package/dist/models/CreateLeadRequest.js +55 -0
  75. package/dist/models/LeadProjectionResponse.d.ts +130 -0
  76. package/dist/models/LeadProjectionResponse.js +102 -0
  77. package/dist/models/ListingIntentRequest.d.ts +98 -0
  78. package/dist/models/ListingIntentRequest.js +97 -0
  79. package/dist/models/ListingIntentResponse.d.ts +138 -0
  80. package/dist/models/ListingIntentResponse.js +109 -0
  81. package/dist/models/LocationRefRequest.d.ts +56 -0
  82. package/dist/models/LocationRefRequest.js +56 -0
  83. package/dist/models/PageLeadProjectionResponse.d.ts +95 -0
  84. package/dist/models/PageLeadProjectionResponse.js +71 -0
  85. package/dist/models/PageRoleResponse.d.ts +6 -6
  86. package/dist/models/PageRoleResponse.js +4 -4
  87. package/dist/models/PageableObject.d.ts +6 -6
  88. package/dist/models/PageableObject.js +2 -2
  89. package/dist/models/PriceRangeRequest.d.ts +38 -0
  90. package/dist/models/PriceRangeRequest.js +50 -0
  91. package/dist/models/SearchIntentRequest.d.ts +98 -0
  92. package/dist/models/SearchIntentRequest.js +97 -0
  93. package/dist/models/SearchIntentResponse.d.ts +126 -0
  94. package/dist/models/SearchIntentResponse.js +105 -0
  95. package/dist/models/SourceRequest.d.ts +32 -0
  96. package/dist/models/SourceRequest.js +50 -0
  97. package/dist/models/UpdateNoteRequest.d.ts +32 -0
  98. package/dist/models/UpdateNoteRequest.js +50 -0
  99. package/dist/models/index.d.ts +16 -0
  100. package/dist/models/index.js +16 -0
  101. package/docs/AddressRefRequest.md +44 -0
  102. package/docs/AgencyQueryControllerApi.md +78 -0
  103. package/docs/AssignToMemberRequest.md +34 -0
  104. package/docs/ChangeStatusRequest.md +34 -0
  105. package/docs/ContactInfoRequest.md +40 -0
  106. package/docs/CoordinatesRequest.md +36 -0
  107. package/docs/CreateLeadRequest.md +38 -0
  108. package/docs/LeadControllerApi.md +817 -0
  109. package/docs/LeadProjectionResponse.md +62 -0
  110. package/docs/LeadQueryControllerApi.md +163 -0
  111. package/docs/ListingIntentRequest.md +44 -0
  112. package/docs/ListingIntentResponse.md +58 -0
  113. package/docs/LocationRefRequest.md +42 -0
  114. package/docs/PageLeadProjectionResponse.md +54 -0
  115. package/docs/PageRoleResponse.md +4 -4
  116. package/docs/PageableObject.md +2 -2
  117. package/docs/PriceRangeRequest.md +36 -0
  118. package/docs/PublicAgencyControllerApi.md +0 -70
  119. package/docs/PublicRoleControllerApi.md +1 -1
  120. package/docs/SearchIntentRequest.md +44 -0
  121. package/docs/SearchIntentResponse.md +54 -0
  122. package/docs/SourceRequest.md +34 -0
  123. package/docs/UpdateNoteRequest.md +34 -0
  124. package/package.json +1 -1
  125. package/src/apis/AgencyQueryControllerApi.ts +96 -0
  126. package/src/apis/LeadControllerApi.ts +851 -0
  127. package/src/apis/LeadQueryControllerApi.ts +195 -0
  128. package/src/apis/PublicAgencyControllerApi.ts +0 -60
  129. package/src/apis/PublicRoleControllerApi.ts +1 -1
  130. package/src/apis/index.ts +3 -0
  131. package/src/models/AddressRefRequest.ts +114 -0
  132. package/src/models/AssignToMemberRequest.ts +66 -0
  133. package/src/models/ChangeStatusRequest.ts +81 -0
  134. package/src/models/ContactInfoRequest.ts +90 -0
  135. package/src/models/CoordinatesRequest.ts +75 -0
  136. package/src/models/CreateLeadRequest.ts +90 -0
  137. package/src/models/LeadProjectionResponse.ts +213 -0
  138. package/src/models/ListingIntentRequest.ts +160 -0
  139. package/src/models/ListingIntentResponse.ts +201 -0
  140. package/src/models/LocationRefRequest.ts +97 -0
  141. package/src/models/PageLeadProjectionResponse.ts +167 -0
  142. package/src/models/PageRoleResponse.ts +10 -10
  143. package/src/models/PageableObject.ts +8 -8
  144. package/src/models/PriceRangeRequest.ts +73 -0
  145. package/src/models/SearchIntentRequest.ts +160 -0
  146. package/src/models/SearchIntentResponse.ts +185 -0
  147. package/src/models/SourceRequest.ts +66 -0
  148. package/src/models/UpdateNoteRequest.ts +66 -0
  149. package/src/models/index.ts +16 -0
@@ -0,0 +1,62 @@
1
+
2
+ # LeadProjectionResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | string
10
+ `createdBy` | string
11
+ `assignedTo` | string
12
+ `status` | string
13
+ `contactFullName` | string
14
+ `contactPhoneNumber` | string
15
+ `contactEmail` | string
16
+ `noteTitle` | string
17
+ `noteContent` | string
18
+ `sourceType` | string
19
+ `sourceLink` | string
20
+ `isSearcher` | boolean
21
+ `isLister` | boolean
22
+ `searchIntents` | [Array<SearchIntentResponse>](SearchIntentResponse.md)
23
+ `listingIntents` | [Array<ListingIntentResponse>](ListingIntentResponse.md)
24
+
25
+ ## Example
26
+
27
+ ```typescript
28
+ import type { LeadProjectionResponse } from '@homespot-sdk/api'
29
+
30
+ // TODO: Update the object below with actual values
31
+ const example = {
32
+ "id": null,
33
+ "createdBy": null,
34
+ "assignedTo": null,
35
+ "status": null,
36
+ "contactFullName": null,
37
+ "contactPhoneNumber": null,
38
+ "contactEmail": null,
39
+ "noteTitle": null,
40
+ "noteContent": null,
41
+ "sourceType": null,
42
+ "sourceLink": null,
43
+ "isSearcher": null,
44
+ "isLister": null,
45
+ "searchIntents": null,
46
+ "listingIntents": null,
47
+ } satisfies LeadProjectionResponse
48
+
49
+ console.log(example)
50
+
51
+ // Convert the instance to a JSON string
52
+ const exampleJSON: string = JSON.stringify(example)
53
+ console.log(exampleJSON)
54
+
55
+ // Parse the JSON string back to an object
56
+ const exampleParsed = JSON.parse(exampleJSON) as LeadProjectionResponse
57
+ console.log(exampleParsed)
58
+ ```
59
+
60
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
61
+
62
+
@@ -0,0 +1,163 @@
1
+ # LeadQueryControllerApi
2
+
3
+ All URIs are relative to *https://gateway.dev.homespot.ge/rem*
4
+
5
+ | Method | HTTP request | Description |
6
+ |------------- | ------------- | -------------|
7
+ | [**getLeadById**](LeadQueryControllerApi.md#getleadbyid) | **GET** /lead/{leadId} | |
8
+ | [**searchLeads**](LeadQueryControllerApi.md#searchleads) | **GET** /lead | |
9
+
10
+
11
+
12
+ ## getLeadById
13
+
14
+ > LeadProjectionResponse getLeadById(leadId)
15
+
16
+
17
+
18
+ ### Example
19
+
20
+ ```ts
21
+ import {
22
+ Configuration,
23
+ LeadQueryControllerApi,
24
+ } from '@homespot-sdk/api';
25
+ import type { GetLeadByIdRequest } from '@homespot-sdk/api';
26
+
27
+ async function example() {
28
+ console.log("🚀 Testing @homespot-sdk/api SDK...");
29
+ const config = new Configuration({
30
+ // To configure OAuth2 access token for authorization: keycloak accessCode
31
+ accessToken: "YOUR ACCESS TOKEN",
32
+ });
33
+ const api = new LeadQueryControllerApi(config);
34
+
35
+ const body = {
36
+ // string
37
+ leadId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
38
+ } satisfies GetLeadByIdRequest;
39
+
40
+ try {
41
+ const data = await api.getLeadById(body);
42
+ console.log(data);
43
+ } catch (error) {
44
+ console.error(error);
45
+ }
46
+ }
47
+
48
+ // Run the test
49
+ example().catch(console.error);
50
+ ```
51
+
52
+ ### Parameters
53
+
54
+
55
+ | Name | Type | Description | Notes |
56
+ |------------- | ------------- | ------------- | -------------|
57
+ | **leadId** | `string` | | [Defaults to `undefined`] |
58
+
59
+ ### Return type
60
+
61
+ [**LeadProjectionResponse**](LeadProjectionResponse.md)
62
+
63
+ ### Authorization
64
+
65
+ [keycloak accessCode](../README.md#keycloak-accessCode)
66
+
67
+ ### HTTP request headers
68
+
69
+ - **Content-Type**: Not defined
70
+ - **Accept**: `*/*`
71
+
72
+
73
+ ### HTTP response details
74
+ | Status code | Description | Response headers |
75
+ |-------------|-------------|------------------|
76
+ | **200** | OK | - |
77
+
78
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
79
+
80
+
81
+ ## searchLeads
82
+
83
+ > PageLeadProjectionResponse searchLeads(status, isSearcher, isLister, page, size, sort)
84
+
85
+
86
+
87
+ ### Example
88
+
89
+ ```ts
90
+ import {
91
+ Configuration,
92
+ LeadQueryControllerApi,
93
+ } from '@homespot-sdk/api';
94
+ import type { SearchLeadsRequest } from '@homespot-sdk/api';
95
+
96
+ async function example() {
97
+ console.log("🚀 Testing @homespot-sdk/api SDK...");
98
+ const config = new Configuration({
99
+ // To configure OAuth2 access token for authorization: keycloak accessCode
100
+ accessToken: "YOUR ACCESS TOKEN",
101
+ });
102
+ const api = new LeadQueryControllerApi(config);
103
+
104
+ const body = {
105
+ // 'NEW' | 'ATTEMPTED_CONTACT' | 'CONTACTED' | 'DISQUALIFIED' | 'CONVERTED' | 'LOST' (optional)
106
+ status: status_example,
107
+ // boolean (optional)
108
+ isSearcher: true,
109
+ // boolean (optional)
110
+ isLister: true,
111
+ // number | Zero-based page index (0..N) (optional)
112
+ page: 56,
113
+ // number | The size of the page to be returned (optional)
114
+ size: 56,
115
+ // Array<string> | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional)
116
+ sort: ...,
117
+ } satisfies SearchLeadsRequest;
118
+
119
+ try {
120
+ const data = await api.searchLeads(body);
121
+ console.log(data);
122
+ } catch (error) {
123
+ console.error(error);
124
+ }
125
+ }
126
+
127
+ // Run the test
128
+ example().catch(console.error);
129
+ ```
130
+
131
+ ### Parameters
132
+
133
+
134
+ | Name | Type | Description | Notes |
135
+ |------------- | ------------- | ------------- | -------------|
136
+ | **status** | `NEW`, `ATTEMPTED_CONTACT`, `CONTACTED`, `DISQUALIFIED`, `CONVERTED`, `LOST` | | [Optional] [Defaults to `undefined`] [Enum: NEW, ATTEMPTED_CONTACT, CONTACTED, DISQUALIFIED, CONVERTED, LOST] |
137
+ | **isSearcher** | `boolean` | | [Optional] [Defaults to `undefined`] |
138
+ | **isLister** | `boolean` | | [Optional] [Defaults to `undefined`] |
139
+ | **page** | `number` | Zero-based page index (0..N) | [Optional] [Defaults to `0`] |
140
+ | **size** | `number` | The size of the page to be returned | [Optional] [Defaults to `20`] |
141
+ | **sort** | `Array<string>` | Sorting criteria in the format: property,(asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [Optional] |
142
+
143
+ ### Return type
144
+
145
+ [**PageLeadProjectionResponse**](PageLeadProjectionResponse.md)
146
+
147
+ ### Authorization
148
+
149
+ [keycloak accessCode](../README.md#keycloak-accessCode)
150
+
151
+ ### HTTP request headers
152
+
153
+ - **Content-Type**: Not defined
154
+ - **Accept**: `*/*`
155
+
156
+
157
+ ### HTTP response details
158
+ | Status code | Description | Response headers |
159
+ |-------------|-------------|------------------|
160
+ | **200** | OK | - |
161
+
162
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
163
+
@@ -0,0 +1,44 @@
1
+
2
+ # ListingIntentRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `propertyType` | string
10
+ `dealType` | string
11
+ `desiredPrice` | [PriceRangeRequest](PriceRangeRequest.md)
12
+ `address` | [AddressRefRequest](AddressRefRequest.md)
13
+ `area` | number
14
+ `numberOfRooms` | number
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { ListingIntentRequest } from '@homespot-sdk/api'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "propertyType": null,
24
+ "dealType": null,
25
+ "desiredPrice": null,
26
+ "address": null,
27
+ "area": null,
28
+ "numberOfRooms": null,
29
+ } satisfies ListingIntentRequest
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as ListingIntentRequest
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
@@ -0,0 +1,58 @@
1
+
2
+ # ListingIntentResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `propertyType` | string
10
+ `dealType` | string
11
+ `desiredPriceMin` | number
12
+ `desiredPriceMax` | number
13
+ `regionId` | number
14
+ `cityId` | number
15
+ `districtId` | number
16
+ `subDistrictId` | number
17
+ `streetId` | number
18
+ `lat` | number
19
+ `lng` | number
20
+ `area` | number
21
+ `numberOfRooms` | number
22
+
23
+ ## Example
24
+
25
+ ```typescript
26
+ import type { ListingIntentResponse } from '@homespot-sdk/api'
27
+
28
+ // TODO: Update the object below with actual values
29
+ const example = {
30
+ "propertyType": null,
31
+ "dealType": null,
32
+ "desiredPriceMin": null,
33
+ "desiredPriceMax": null,
34
+ "regionId": null,
35
+ "cityId": null,
36
+ "districtId": null,
37
+ "subDistrictId": null,
38
+ "streetId": null,
39
+ "lat": null,
40
+ "lng": null,
41
+ "area": null,
42
+ "numberOfRooms": null,
43
+ } satisfies ListingIntentResponse
44
+
45
+ console.log(example)
46
+
47
+ // Convert the instance to a JSON string
48
+ const exampleJSON: string = JSON.stringify(example)
49
+ console.log(exampleJSON)
50
+
51
+ // Parse the JSON string back to an object
52
+ const exampleParsed = JSON.parse(exampleJSON) as ListingIntentResponse
53
+ console.log(exampleParsed)
54
+ ```
55
+
56
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
57
+
58
+
@@ -0,0 +1,42 @@
1
+
2
+ # LocationRefRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `regionId` | number
10
+ `cityId` | number
11
+ `districtId` | number
12
+ `subDistrictId` | number
13
+ `streetId` | number
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import type { LocationRefRequest } from '@homespot-sdk/api'
19
+
20
+ // TODO: Update the object below with actual values
21
+ const example = {
22
+ "regionId": null,
23
+ "cityId": null,
24
+ "districtId": null,
25
+ "subDistrictId": null,
26
+ "streetId": null,
27
+ } satisfies LocationRefRequest
28
+
29
+ console.log(example)
30
+
31
+ // Convert the instance to a JSON string
32
+ const exampleJSON: string = JSON.stringify(example)
33
+ console.log(exampleJSON)
34
+
35
+ // Parse the JSON string back to an object
36
+ const exampleParsed = JSON.parse(exampleJSON) as LocationRefRequest
37
+ console.log(exampleParsed)
38
+ ```
39
+
40
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
41
+
42
+
@@ -0,0 +1,54 @@
1
+
2
+ # PageLeadProjectionResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `totalPages` | number
10
+ `totalElements` | number
11
+ `size` | number
12
+ `content` | [Array&lt;LeadProjectionResponse&gt;](LeadProjectionResponse.md)
13
+ `number` | number
14
+ `first` | boolean
15
+ `last` | boolean
16
+ `numberOfElements` | number
17
+ `pageable` | [PageableObject](PageableObject.md)
18
+ `sort` | [SortObject](SortObject.md)
19
+ `empty` | boolean
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import type { PageLeadProjectionResponse } from '@homespot-sdk/api'
25
+
26
+ // TODO: Update the object below with actual values
27
+ const example = {
28
+ "totalPages": null,
29
+ "totalElements": null,
30
+ "size": null,
31
+ "content": null,
32
+ "number": null,
33
+ "first": null,
34
+ "last": null,
35
+ "numberOfElements": null,
36
+ "pageable": null,
37
+ "sort": null,
38
+ "empty": null,
39
+ } satisfies PageLeadProjectionResponse
40
+
41
+ console.log(example)
42
+
43
+ // Convert the instance to a JSON string
44
+ const exampleJSON: string = JSON.stringify(example)
45
+ console.log(exampleJSON)
46
+
47
+ // Parse the JSON string back to an object
48
+ const exampleParsed = JSON.parse(exampleJSON) as PageLeadProjectionResponse
49
+ console.log(exampleParsed)
50
+ ```
51
+
52
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
53
+
54
+
@@ -6,16 +6,16 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `totalElements` | number
10
9
  `totalPages` | number
10
+ `totalElements` | number
11
11
  `size` | number
12
12
  `content` | [Array&lt;RoleResponse&gt;](RoleResponse.md)
13
13
  `number` | number
14
14
  `first` | boolean
15
15
  `last` | boolean
16
16
  `numberOfElements` | number
17
- `sort` | [SortObject](SortObject.md)
18
17
  `pageable` | [PageableObject](PageableObject.md)
18
+ `sort` | [SortObject](SortObject.md)
19
19
  `empty` | boolean
20
20
 
21
21
  ## Example
@@ -25,16 +25,16 @@ import type { PageRoleResponse } from '@homespot-sdk/api'
25
25
 
26
26
  // TODO: Update the object below with actual values
27
27
  const example = {
28
- "totalElements": null,
29
28
  "totalPages": null,
29
+ "totalElements": null,
30
30
  "size": null,
31
31
  "content": null,
32
32
  "number": null,
33
33
  "first": null,
34
34
  "last": null,
35
35
  "numberOfElements": null,
36
- "sort": null,
37
36
  "pageable": null,
37
+ "sort": null,
38
38
  "empty": null,
39
39
  } satisfies PageRoleResponse
40
40
 
@@ -7,11 +7,11 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `offset` | number
10
- `sort` | [SortObject](SortObject.md)
11
10
  `unpaged` | boolean
12
11
  `paged` | boolean
13
12
  `pageNumber` | number
14
13
  `pageSize` | number
14
+ `sort` | [SortObject](SortObject.md)
15
15
 
16
16
  ## Example
17
17
 
@@ -21,11 +21,11 @@ import type { PageableObject } from '@homespot-sdk/api'
21
21
  // TODO: Update the object below with actual values
22
22
  const example = {
23
23
  "offset": null,
24
- "sort": null,
25
24
  "unpaged": null,
26
25
  "paged": null,
27
26
  "pageNumber": null,
28
27
  "pageSize": null,
28
+ "sort": null,
29
29
  } satisfies PageableObject
30
30
 
31
31
  console.log(example)
@@ -0,0 +1,36 @@
1
+
2
+ # PriceRangeRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `min` | number
10
+ `max` | number
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import type { PriceRangeRequest } from '@homespot-sdk/api'
16
+
17
+ // TODO: Update the object below with actual values
18
+ const example = {
19
+ "min": null,
20
+ "max": null,
21
+ } satisfies PriceRangeRequest
22
+
23
+ console.log(example)
24
+
25
+ // Convert the instance to a JSON string
26
+ const exampleJSON: string = JSON.stringify(example)
27
+ console.log(exampleJSON)
28
+
29
+ // Parse the JSON string back to an object
30
+ const exampleParsed = JSON.parse(exampleJSON) as PriceRangeRequest
31
+ console.log(exampleParsed)
32
+ ```
33
+
34
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
35
+
36
+
@@ -4,81 +4,11 @@ All URIs are relative to *https://gateway.dev.homespot.ge/rem*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  |------------- | ------------- | -------------|
7
- | [**getAgency**](PublicAgencyControllerApi.md#getagency) | **GET** /public/agency/{agencyId} | |
8
7
  | [**getAgencyBySubdomain**](PublicAgencyControllerApi.md#getagencybysubdomain) | **GET** /public/agency/subdomain/{subDomain} | |
9
8
  | [**getAllAgencies**](PublicAgencyControllerApi.md#getallagencies) | **GET** /public/agency | |
10
9
 
11
10
 
12
11
 
13
- ## getAgency
14
-
15
- > AgencyProfileResponse getAgency(agencyId)
16
-
17
-
18
-
19
- ### Example
20
-
21
- ```ts
22
- import {
23
- Configuration,
24
- PublicAgencyControllerApi,
25
- } from '@homespot-sdk/api';
26
- import type { GetAgencyRequest } from '@homespot-sdk/api';
27
-
28
- async function example() {
29
- console.log("🚀 Testing @homespot-sdk/api SDK...");
30
- const config = new Configuration({
31
- // To configure OAuth2 access token for authorization: keycloak accessCode
32
- accessToken: "YOUR ACCESS TOKEN",
33
- });
34
- const api = new PublicAgencyControllerApi(config);
35
-
36
- const body = {
37
- // string
38
- agencyId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
39
- } satisfies GetAgencyRequest;
40
-
41
- try {
42
- const data = await api.getAgency(body);
43
- console.log(data);
44
- } catch (error) {
45
- console.error(error);
46
- }
47
- }
48
-
49
- // Run the test
50
- example().catch(console.error);
51
- ```
52
-
53
- ### Parameters
54
-
55
-
56
- | Name | Type | Description | Notes |
57
- |------------- | ------------- | ------------- | -------------|
58
- | **agencyId** | `string` | | [Defaults to `undefined`] |
59
-
60
- ### Return type
61
-
62
- [**AgencyProfileResponse**](AgencyProfileResponse.md)
63
-
64
- ### Authorization
65
-
66
- [keycloak accessCode](../README.md#keycloak-accessCode)
67
-
68
- ### HTTP request headers
69
-
70
- - **Content-Type**: Not defined
71
- - **Accept**: `*/*`
72
-
73
-
74
- ### HTTP response details
75
- | Status code | Description | Response headers |
76
- |-------------|-------------|------------------|
77
- | **200** | OK | - |
78
-
79
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
80
-
81
-
82
12
  ## getAgencyBySubdomain
83
13
 
84
14
  > AgencySummaryResponse getAgencyBySubdomain(subDomain)
@@ -4,7 +4,7 @@ All URIs are relative to *https://gateway.dev.homespot.ge/rem*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  |------------- | ------------- | -------------|
7
- | [**listPermissionCatalog**](PublicRoleControllerApi.md#listpermissioncatalog) | **GET** /agency/roles/permissions | |
7
+ | [**listPermissionCatalog**](PublicRoleControllerApi.md#listpermissioncatalog) | **GET** /public/agency/roles/permissions | |
8
8
 
9
9
 
10
10
 
@@ -0,0 +1,44 @@
1
+
2
+ # SearchIntentRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `propertyType` | string
10
+ `dealType` | string
11
+ `budget` | [PriceRangeRequest](PriceRangeRequest.md)
12
+ `targetLocation` | [LocationRefRequest](LocationRefRequest.md)
13
+ `area` | number
14
+ `numberOfRooms` | number
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { SearchIntentRequest } from '@homespot-sdk/api'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "propertyType": null,
24
+ "dealType": null,
25
+ "budget": null,
26
+ "targetLocation": null,
27
+ "area": null,
28
+ "numberOfRooms": null,
29
+ } satisfies SearchIntentRequest
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as SearchIntentRequest
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+