@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,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,71 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Service API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfPageLeadProjectionResponse = instanceOfPageLeadProjectionResponse;
17
+ exports.PageLeadProjectionResponseFromJSON = PageLeadProjectionResponseFromJSON;
18
+ exports.PageLeadProjectionResponseFromJSONTyped = PageLeadProjectionResponseFromJSONTyped;
19
+ exports.PageLeadProjectionResponseToJSON = PageLeadProjectionResponseToJSON;
20
+ exports.PageLeadProjectionResponseToJSONTyped = PageLeadProjectionResponseToJSONTyped;
21
+ const PageableObject_1 = require("./PageableObject");
22
+ const LeadProjectionResponse_1 = require("./LeadProjectionResponse");
23
+ const SortObject_1 = require("./SortObject");
24
+ /**
25
+ * Check if a given object implements the PageLeadProjectionResponse interface.
26
+ */
27
+ function instanceOfPageLeadProjectionResponse(value) {
28
+ return true;
29
+ }
30
+ function PageLeadProjectionResponseFromJSON(json) {
31
+ return PageLeadProjectionResponseFromJSONTyped(json, false);
32
+ }
33
+ function PageLeadProjectionResponseFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
39
+ 'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
40
+ 'size': json['size'] == null ? undefined : json['size'],
41
+ 'content': json['content'] == null ? undefined : (json['content'].map(LeadProjectionResponse_1.LeadProjectionResponseFromJSON)),
42
+ 'number': json['number'] == null ? undefined : json['number'],
43
+ 'first': json['first'] == null ? undefined : json['first'],
44
+ 'last': json['last'] == null ? undefined : json['last'],
45
+ 'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
46
+ 'pageable': json['pageable'] == null ? undefined : (0, PageableObject_1.PageableObjectFromJSON)(json['pageable']),
47
+ 'sort': json['sort'] == null ? undefined : (0, SortObject_1.SortObjectFromJSON)(json['sort']),
48
+ 'empty': json['empty'] == null ? undefined : json['empty'],
49
+ };
50
+ }
51
+ function PageLeadProjectionResponseToJSON(json) {
52
+ return PageLeadProjectionResponseToJSONTyped(json, false);
53
+ }
54
+ function PageLeadProjectionResponseToJSONTyped(value, ignoreDiscriminator = false) {
55
+ if (value == null) {
56
+ return value;
57
+ }
58
+ return {
59
+ 'totalPages': value['totalPages'],
60
+ 'totalElements': value['totalElements'],
61
+ 'size': value['size'],
62
+ 'content': value['content'] == null ? undefined : (value['content'].map(LeadProjectionResponse_1.LeadProjectionResponseToJSON)),
63
+ 'number': value['number'],
64
+ 'first': value['first'],
65
+ 'last': value['last'],
66
+ 'numberOfElements': value['numberOfElements'],
67
+ 'pageable': (0, PageableObject_1.PageableObjectToJSON)(value['pageable']),
68
+ 'sort': (0, SortObject_1.SortObjectToJSON)(value['sort']),
69
+ 'empty': value['empty'],
70
+ };
71
+ }
@@ -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}
@@ -35,8 +35,8 @@ function PageRoleResponseFromJSONTyped(json, ignoreDiscriminator) {
35
35
  return json;
36
36
  }
37
37
  return {
38
- 'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
39
38
  'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
39
+ 'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
40
40
  'size': json['size'] == null ? undefined : json['size'],
41
41
  'content': json['content'] == null ? undefined : (json['content'].map(RoleResponse_1.RoleResponseFromJSON)),
42
42
  'number': json['number'] == null ? undefined : json['number'],
@@ -56,8 +56,8 @@ function PageRoleResponseToJSONTyped(value, ignoreDiscriminator = false) {
56
56
  return value;
57
57
  }
58
58
  return {
59
- 'totalElements': value['totalElements'],
60
59
  'totalPages': value['totalPages'],
60
+ 'totalElements': value['totalElements'],
61
61
  'size': value['size'],
62
62
  'content': value['content'] == null ? undefined : (value['content'].map(RoleResponse_1.RoleResponseToJSON)),
63
63
  '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.
@@ -34,11 +34,11 @@ function PageableObjectFromJSONTyped(json, ignoreDiscriminator) {
34
34
  }
35
35
  return {
36
36
  'offset': json['offset'] == null ? undefined : json['offset'],
37
+ 'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
37
38
  'paged': json['paged'] == null ? undefined : json['paged'],
38
39
  'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
39
40
  'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
40
41
  'sort': json['sort'] == null ? undefined : (0, SortObject_1.SortObjectFromJSON)(json['sort']),
41
- 'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
42
42
  };
43
43
  }
44
44
  function PageableObjectToJSON(json) {
@@ -50,10 +50,10 @@ function PageableObjectToJSONTyped(value, ignoreDiscriminator = false) {
50
50
  }
51
51
  return {
52
52
  'offset': value['offset'],
53
+ 'unpaged': value['unpaged'],
53
54
  'paged': value['paged'],
54
55
  'pageNumber': value['pageNumber'],
55
56
  'pageSize': value['pageSize'],
56
57
  'sort': (0, SortObject_1.SortObjectToJSON)(value['sort']),
57
- 'unpaged': value['unpaged'],
58
58
  };
59
59
  }
@@ -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,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Service API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfPriceRangeRequest = instanceOfPriceRangeRequest;
17
+ exports.PriceRangeRequestFromJSON = PriceRangeRequestFromJSON;
18
+ exports.PriceRangeRequestFromJSONTyped = PriceRangeRequestFromJSONTyped;
19
+ exports.PriceRangeRequestToJSON = PriceRangeRequestToJSON;
20
+ exports.PriceRangeRequestToJSONTyped = PriceRangeRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the PriceRangeRequest interface.
23
+ */
24
+ function instanceOfPriceRangeRequest(value) {
25
+ return true;
26
+ }
27
+ function PriceRangeRequestFromJSON(json) {
28
+ return PriceRangeRequestFromJSONTyped(json, false);
29
+ }
30
+ function PriceRangeRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'min': json['min'] == null ? undefined : json['min'],
36
+ 'max': json['max'] == null ? undefined : json['max'],
37
+ };
38
+ }
39
+ function PriceRangeRequestToJSON(json) {
40
+ return PriceRangeRequestToJSONTyped(json, false);
41
+ }
42
+ function PriceRangeRequestToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'min': value['min'],
48
+ 'max': value['max'],
49
+ };
50
+ }
@@ -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;
@@ -0,0 +1,97 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Service API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SearchIntentRequestDealTypeEnum = exports.SearchIntentRequestPropertyTypeEnum = void 0;
17
+ exports.instanceOfSearchIntentRequest = instanceOfSearchIntentRequest;
18
+ exports.SearchIntentRequestFromJSON = SearchIntentRequestFromJSON;
19
+ exports.SearchIntentRequestFromJSONTyped = SearchIntentRequestFromJSONTyped;
20
+ exports.SearchIntentRequestToJSON = SearchIntentRequestToJSON;
21
+ exports.SearchIntentRequestToJSONTyped = SearchIntentRequestToJSONTyped;
22
+ const LocationRefRequest_1 = require("./LocationRefRequest");
23
+ const PriceRangeRequest_1 = require("./PriceRangeRequest");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.SearchIntentRequestPropertyTypeEnum = {
28
+ House: 'HOUSE',
29
+ TownHouse: 'TOWN_HOUSE',
30
+ CountryHouse: 'COUNTRY_HOUSE',
31
+ Villa: 'VILLA',
32
+ Cottage: 'COTTAGE',
33
+ Apartment: 'APARTMENT',
34
+ Duplex: 'DUPLEX',
35
+ Triplex: 'TRIPLEX',
36
+ SemiBasement: 'SEMI_BASEMENT',
37
+ Attic: 'ATTIC',
38
+ AgriculturalLand: 'AGRICULTURAL_LAND',
39
+ ResidentialLand: 'RESIDENTIAL_LAND',
40
+ HotelRoom: 'HOTEL_ROOM',
41
+ MotelRoom: 'MOTEL_ROOM',
42
+ CoLivingSpace: 'CO_LIVING_SPACE',
43
+ Office: 'OFFICE',
44
+ CommercialSpace: 'COMMERCIAL_SPACE',
45
+ CoWorkingSpace: 'CO_WORKING_SPACE',
46
+ Warehouse: 'WAREHOUSE',
47
+ Garage: 'GARAGE'
48
+ };
49
+ /**
50
+ * @export
51
+ */
52
+ exports.SearchIntentRequestDealTypeEnum = {
53
+ Buy: 'BUY',
54
+ Rent: 'RENT'
55
+ };
56
+ /**
57
+ * Check if a given object implements the SearchIntentRequest interface.
58
+ */
59
+ function instanceOfSearchIntentRequest(value) {
60
+ if (!('propertyType' in value) || value['propertyType'] === undefined)
61
+ return false;
62
+ if (!('dealType' in value) || value['dealType'] === undefined)
63
+ return false;
64
+ return true;
65
+ }
66
+ function SearchIntentRequestFromJSON(json) {
67
+ return SearchIntentRequestFromJSONTyped(json, false);
68
+ }
69
+ function SearchIntentRequestFromJSONTyped(json, ignoreDiscriminator) {
70
+ if (json == null) {
71
+ return json;
72
+ }
73
+ return {
74
+ 'propertyType': json['propertyType'],
75
+ 'dealType': json['dealType'],
76
+ 'budget': json['budget'] == null ? undefined : (0, PriceRangeRequest_1.PriceRangeRequestFromJSON)(json['budget']),
77
+ 'targetLocation': json['targetLocation'] == null ? undefined : (0, LocationRefRequest_1.LocationRefRequestFromJSON)(json['targetLocation']),
78
+ 'area': json['area'] == null ? undefined : json['area'],
79
+ 'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
80
+ };
81
+ }
82
+ function SearchIntentRequestToJSON(json) {
83
+ return SearchIntentRequestToJSONTyped(json, false);
84
+ }
85
+ function SearchIntentRequestToJSONTyped(value, ignoreDiscriminator = false) {
86
+ if (value == null) {
87
+ return value;
88
+ }
89
+ return {
90
+ 'propertyType': value['propertyType'],
91
+ 'dealType': value['dealType'],
92
+ 'budget': (0, PriceRangeRequest_1.PriceRangeRequestToJSON)(value['budget']),
93
+ 'targetLocation': (0, LocationRefRequest_1.LocationRefRequestToJSON)(value['targetLocation']),
94
+ 'area': value['area'],
95
+ 'numberOfRooms': value['numberOfRooms'],
96
+ };
97
+ }
@@ -0,0 +1,126 @@
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 SearchIntentResponse
16
+ */
17
+ export interface SearchIntentResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SearchIntentResponse
22
+ */
23
+ propertyType: SearchIntentResponsePropertyTypeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SearchIntentResponse
28
+ */
29
+ dealType: SearchIntentResponseDealTypeEnum;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof SearchIntentResponse
34
+ */
35
+ budgetMin?: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof SearchIntentResponse
40
+ */
41
+ budgetMax?: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof SearchIntentResponse
46
+ */
47
+ regionId?: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof SearchIntentResponse
52
+ */
53
+ cityId?: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof SearchIntentResponse
58
+ */
59
+ districtId?: number;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof SearchIntentResponse
64
+ */
65
+ subDistrictId?: number;
66
+ /**
67
+ *
68
+ * @type {number}
69
+ * @memberof SearchIntentResponse
70
+ */
71
+ streetId?: number;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof SearchIntentResponse
76
+ */
77
+ area?: number;
78
+ /**
79
+ *
80
+ * @type {number}
81
+ * @memberof SearchIntentResponse
82
+ */
83
+ numberOfRooms?: number;
84
+ }
85
+ /**
86
+ * @export
87
+ */
88
+ export declare const SearchIntentResponsePropertyTypeEnum: {
89
+ readonly House: "HOUSE";
90
+ readonly TownHouse: "TOWN_HOUSE";
91
+ readonly CountryHouse: "COUNTRY_HOUSE";
92
+ readonly Villa: "VILLA";
93
+ readonly Cottage: "COTTAGE";
94
+ readonly Apartment: "APARTMENT";
95
+ readonly Duplex: "DUPLEX";
96
+ readonly Triplex: "TRIPLEX";
97
+ readonly SemiBasement: "SEMI_BASEMENT";
98
+ readonly Attic: "ATTIC";
99
+ readonly AgriculturalLand: "AGRICULTURAL_LAND";
100
+ readonly ResidentialLand: "RESIDENTIAL_LAND";
101
+ readonly HotelRoom: "HOTEL_ROOM";
102
+ readonly MotelRoom: "MOTEL_ROOM";
103
+ readonly CoLivingSpace: "CO_LIVING_SPACE";
104
+ readonly Office: "OFFICE";
105
+ readonly CommercialSpace: "COMMERCIAL_SPACE";
106
+ readonly CoWorkingSpace: "CO_WORKING_SPACE";
107
+ readonly Warehouse: "WAREHOUSE";
108
+ readonly Garage: "GARAGE";
109
+ };
110
+ export type SearchIntentResponsePropertyTypeEnum = typeof SearchIntentResponsePropertyTypeEnum[keyof typeof SearchIntentResponsePropertyTypeEnum];
111
+ /**
112
+ * @export
113
+ */
114
+ export declare const SearchIntentResponseDealTypeEnum: {
115
+ readonly Buy: "BUY";
116
+ readonly Rent: "RENT";
117
+ };
118
+ export type SearchIntentResponseDealTypeEnum = typeof SearchIntentResponseDealTypeEnum[keyof typeof SearchIntentResponseDealTypeEnum];
119
+ /**
120
+ * Check if a given object implements the SearchIntentResponse interface.
121
+ */
122
+ export declare function instanceOfSearchIntentResponse(value: object): value is SearchIntentResponse;
123
+ export declare function SearchIntentResponseFromJSON(json: any): SearchIntentResponse;
124
+ export declare function SearchIntentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchIntentResponse;
125
+ export declare function SearchIntentResponseToJSON(json: any): SearchIntentResponse;
126
+ export declare function SearchIntentResponseToJSONTyped(value?: SearchIntentResponse | null, ignoreDiscriminator?: boolean): any;