@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,54 @@
1
+
2
+ # SearchIntentResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `propertyType` | string
10
+ `dealType` | string
11
+ `budgetMin` | number
12
+ `budgetMax` | number
13
+ `regionId` | number
14
+ `cityId` | number
15
+ `districtId` | number
16
+ `subDistrictId` | number
17
+ `streetId` | number
18
+ `area` | number
19
+ `numberOfRooms` | number
20
+
21
+ ## Example
22
+
23
+ ```typescript
24
+ import type { SearchIntentResponse } from '@homespot-sdk/api'
25
+
26
+ // TODO: Update the object below with actual values
27
+ const example = {
28
+ "propertyType": null,
29
+ "dealType": null,
30
+ "budgetMin": null,
31
+ "budgetMax": null,
32
+ "regionId": null,
33
+ "cityId": null,
34
+ "districtId": null,
35
+ "subDistrictId": null,
36
+ "streetId": null,
37
+ "area": null,
38
+ "numberOfRooms": null,
39
+ } satisfies SearchIntentResponse
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 SearchIntentResponse
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
+
@@ -0,0 +1,34 @@
1
+
2
+ # SourceRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `sourceUrl` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { SourceRequest } from '@homespot-sdk/api'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "sourceUrl": null,
19
+ } satisfies SourceRequest
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as SourceRequest
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
@@ -0,0 +1,34 @@
1
+
2
+ # UpdateNoteRequest
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `note` | string
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { UpdateNoteRequest } from '@homespot-sdk/api'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "note": null,
19
+ } satisfies UpdateNoteRequest
20
+
21
+ console.log(example)
22
+
23
+ // Convert the instance to a JSON string
24
+ const exampleJSON: string = JSON.stringify(example)
25
+ console.log(exampleJSON)
26
+
27
+ // Parse the JSON string back to an object
28
+ const exampleParsed = JSON.parse(exampleJSON) as UpdateNoteRequest
29
+ console.log(exampleParsed)
30
+ ```
31
+
32
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
+
34
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@homespot-sdk/api",
3
- "version": "0.0.636",
3
+ "version": "0.0.638",
4
4
  "description": "OpenAPI client for @homespot-sdk/api",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -0,0 +1,96 @@
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
+
16
+ import * as runtime from '../runtime';
17
+ import type {
18
+ AgencyProfileResponse,
19
+ } from '../models/index';
20
+ import {
21
+ AgencyProfileResponseFromJSON,
22
+ AgencyProfileResponseToJSON,
23
+ } from '../models/index';
24
+
25
+ export interface GetAgencyRequest {
26
+ agencyId: string;
27
+ }
28
+
29
+ /**
30
+ * AgencyQueryControllerApi - interface
31
+ *
32
+ * @export
33
+ * @interface AgencyQueryControllerApiInterface
34
+ */
35
+ export interface AgencyQueryControllerApiInterface {
36
+ /**
37
+ *
38
+ * @param {string} agencyId
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ * @memberof AgencyQueryControllerApiInterface
42
+ */
43
+ getAgencyRaw(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgencyProfileResponse>>;
44
+
45
+ /**
46
+ */
47
+ getAgency(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgencyProfileResponse>;
48
+
49
+ }
50
+
51
+ /**
52
+ *
53
+ */
54
+ export class AgencyQueryControllerApi extends runtime.BaseAPI implements AgencyQueryControllerApiInterface {
55
+
56
+ /**
57
+ */
58
+ async getAgencyRaw(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgencyProfileResponse>> {
59
+ if (requestParameters['agencyId'] == null) {
60
+ throw new runtime.RequiredError(
61
+ 'agencyId',
62
+ 'Required parameter "agencyId" was null or undefined when calling getAgency().'
63
+ );
64
+ }
65
+
66
+ const queryParameters: any = {};
67
+
68
+ const headerParameters: runtime.HTTPHeaders = {};
69
+
70
+ if (this.configuration && this.configuration.accessToken) {
71
+ // oauth required
72
+ headerParameters["Authorization"] = await this.configuration.accessToken("keycloak", []);
73
+ }
74
+
75
+
76
+ let urlPath = `/agency/{agencyId}`;
77
+ urlPath = urlPath.replace(`{${"agencyId"}}`, encodeURIComponent(String(requestParameters['agencyId'])));
78
+
79
+ const response = await this.request({
80
+ path: urlPath,
81
+ method: 'GET',
82
+ headers: headerParameters,
83
+ query: queryParameters,
84
+ }, initOverrides);
85
+
86
+ return new runtime.JSONApiResponse(response, (jsonValue) => AgencyProfileResponseFromJSON(jsonValue));
87
+ }
88
+
89
+ /**
90
+ */
91
+ async getAgency(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgencyProfileResponse> {
92
+ const response = await this.getAgencyRaw(requestParameters, initOverrides);
93
+ return await response.value();
94
+ }
95
+
96
+ }