@homespot-sdk/api 0.0.640 → 0.0.641

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/.openapi-generator/FILES +4 -12
  2. package/README.md +6 -12
  3. package/dist/apis/LeadControllerApi.d.ts +15 -71
  4. package/dist/apis/LeadControllerApi.js +18 -109
  5. package/dist/esm/apis/LeadControllerApi.d.ts +15 -71
  6. package/dist/esm/apis/LeadControllerApi.js +18 -109
  7. package/dist/esm/models/IntentResponse.d.ts +136 -0
  8. package/dist/esm/models/{SearchIntentResponse.js → IntentResponse.js} +37 -26
  9. package/dist/esm/models/LeadIntentRequest.d.ts +114 -0
  10. package/dist/esm/models/{SearchIntentRequest.js → LeadIntentRequest.js} +35 -22
  11. package/dist/esm/models/LeadProjectionResponse.d.ts +6 -19
  12. package/dist/esm/models/LeadProjectionResponse.js +11 -16
  13. package/dist/esm/models/LocationRefRequest.d.ts +0 -6
  14. package/dist/esm/models/LocationRefRequest.js +0 -2
  15. package/dist/esm/models/PageLeadProjectionResponse.d.ts +6 -6
  16. package/dist/esm/models/PageLeadProjectionResponse.js +2 -2
  17. package/dist/esm/models/PageRoleResponse.d.ts +6 -6
  18. package/dist/esm/models/PageRoleResponse.js +2 -2
  19. package/dist/esm/models/PageableObject.d.ts +6 -6
  20. package/dist/esm/models/PageableObject.js +2 -2
  21. package/dist/esm/models/index.d.ts +2 -6
  22. package/dist/esm/models/index.js +2 -6
  23. package/dist/models/IntentResponse.d.ts +136 -0
  24. package/dist/models/{SearchIntentResponse.js → IntentResponse.js} +43 -32
  25. package/dist/models/LeadIntentRequest.d.ts +114 -0
  26. package/dist/models/{SearchIntentRequest.js → LeadIntentRequest.js} +41 -28
  27. package/dist/models/LeadProjectionResponse.d.ts +6 -19
  28. package/dist/models/LeadProjectionResponse.js +11 -16
  29. package/dist/models/LocationRefRequest.d.ts +0 -6
  30. package/dist/models/LocationRefRequest.js +0 -2
  31. package/dist/models/PageLeadProjectionResponse.d.ts +6 -6
  32. package/dist/models/PageLeadProjectionResponse.js +2 -2
  33. package/dist/models/PageRoleResponse.d.ts +6 -6
  34. package/dist/models/PageRoleResponse.js +2 -2
  35. package/dist/models/PageableObject.d.ts +6 -6
  36. package/dist/models/PageableObject.js +2 -2
  37. package/dist/models/index.d.ts +2 -6
  38. package/dist/models/index.js +2 -6
  39. package/docs/{SearchIntentResponse.md → IntentResponse.md} +12 -12
  40. package/docs/LeadControllerApi.md +19 -171
  41. package/docs/{SearchIntentRequest.md → LeadIntentRequest.md} +10 -8
  42. package/docs/LeadProjectionResponse.md +8 -12
  43. package/docs/LocationRefRequest.md +0 -2
  44. package/docs/PageLeadProjectionResponse.md +2 -2
  45. package/docs/PageRoleResponse.md +2 -2
  46. package/docs/PageableObject.md +2 -2
  47. package/package.json +1 -1
  48. package/src/apis/LeadControllerApi.ts +32 -206
  49. package/src/models/{SearchIntentResponse.ts → IntentResponse.ts} +60 -48
  50. package/src/models/{SearchIntentRequest.ts → LeadIntentRequest.ts} +55 -35
  51. package/src/models/LeadProjectionResponse.ts +21 -44
  52. package/src/models/LocationRefRequest.ts +0 -8
  53. package/src/models/PageLeadProjectionResponse.ts +8 -8
  54. package/src/models/PageRoleResponse.ts +8 -8
  55. package/src/models/PageableObject.ts +8 -8
  56. package/src/models/index.ts +2 -6
  57. package/dist/esm/models/AddressRefRequest.d.ts +0 -63
  58. package/dist/esm/models/AddressRefRequest.js +0 -54
  59. package/dist/esm/models/CoordinatesRequest.d.ts +0 -38
  60. package/dist/esm/models/CoordinatesRequest.js +0 -47
  61. package/dist/esm/models/ListingIntentRequest.d.ts +0 -98
  62. package/dist/esm/models/ListingIntentRequest.js +0 -89
  63. package/dist/esm/models/ListingIntentResponse.d.ts +0 -138
  64. package/dist/esm/models/ListingIntentResponse.js +0 -101
  65. package/dist/esm/models/SearchIntentRequest.d.ts +0 -98
  66. package/dist/esm/models/SearchIntentResponse.d.ts +0 -126
  67. package/dist/models/AddressRefRequest.d.ts +0 -63
  68. package/dist/models/AddressRefRequest.js +0 -61
  69. package/dist/models/CoordinatesRequest.d.ts +0 -38
  70. package/dist/models/CoordinatesRequest.js +0 -54
  71. package/dist/models/ListingIntentRequest.d.ts +0 -98
  72. package/dist/models/ListingIntentRequest.js +0 -97
  73. package/dist/models/ListingIntentResponse.d.ts +0 -138
  74. package/dist/models/ListingIntentResponse.js +0 -109
  75. package/dist/models/SearchIntentRequest.d.ts +0 -98
  76. package/dist/models/SearchIntentResponse.d.ts +0 -126
  77. package/docs/AddressRefRequest.md +0 -44
  78. package/docs/CoordinatesRequest.md +0 -36
  79. package/docs/ListingIntentRequest.md +0 -44
  80. package/docs/ListingIntentResponse.md +0 -58
  81. package/src/models/AddressRefRequest.ts +0 -114
  82. package/src/models/CoordinatesRequest.ts +0 -75
  83. package/src/models/ListingIntentRequest.ts +0 -160
  84. package/src/models/ListingIntentResponse.ts +0 -201
@@ -1,47 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Service API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
15
- * Check if a given object implements the CoordinatesRequest interface.
16
- */
17
- export function instanceOfCoordinatesRequest(value) {
18
- if (!('lat' in value) || value['lat'] === undefined)
19
- return false;
20
- if (!('lng' in value) || value['lng'] === undefined)
21
- return false;
22
- return true;
23
- }
24
- export function CoordinatesRequestFromJSON(json) {
25
- return CoordinatesRequestFromJSONTyped(json, false);
26
- }
27
- export function CoordinatesRequestFromJSONTyped(json, ignoreDiscriminator) {
28
- if (json == null) {
29
- return json;
30
- }
31
- return {
32
- 'lat': json['lat'],
33
- 'lng': json['lng'],
34
- };
35
- }
36
- export function CoordinatesRequestToJSON(json) {
37
- return CoordinatesRequestToJSONTyped(json, false);
38
- }
39
- export function CoordinatesRequestToJSONTyped(value, ignoreDiscriminator = false) {
40
- if (value == null) {
41
- return value;
42
- }
43
- return {
44
- 'lat': value['lat'],
45
- 'lng': value['lng'],
46
- };
47
- }
@@ -1,98 +0,0 @@
1
- /**
2
- * Service API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { AddressRefRequest } from './AddressRefRequest';
13
- import type { PriceRangeRequest } from './PriceRangeRequest';
14
- /**
15
- *
16
- * @export
17
- * @interface ListingIntentRequest
18
- */
19
- export interface ListingIntentRequest {
20
- /**
21
- *
22
- * @type {string}
23
- * @memberof ListingIntentRequest
24
- */
25
- propertyType: ListingIntentRequestPropertyTypeEnum;
26
- /**
27
- *
28
- * @type {string}
29
- * @memberof ListingIntentRequest
30
- */
31
- dealType: ListingIntentRequestDealTypeEnum;
32
- /**
33
- *
34
- * @type {PriceRangeRequest}
35
- * @memberof ListingIntentRequest
36
- */
37
- desiredPrice?: PriceRangeRequest;
38
- /**
39
- *
40
- * @type {AddressRefRequest}
41
- * @memberof ListingIntentRequest
42
- */
43
- address?: AddressRefRequest;
44
- /**
45
- *
46
- * @type {number}
47
- * @memberof ListingIntentRequest
48
- */
49
- area?: number;
50
- /**
51
- *
52
- * @type {number}
53
- * @memberof ListingIntentRequest
54
- */
55
- numberOfRooms?: number;
56
- }
57
- /**
58
- * @export
59
- */
60
- export declare const ListingIntentRequestPropertyTypeEnum: {
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 ListingIntentRequestPropertyTypeEnum = typeof ListingIntentRequestPropertyTypeEnum[keyof typeof ListingIntentRequestPropertyTypeEnum];
83
- /**
84
- * @export
85
- */
86
- export declare const ListingIntentRequestDealTypeEnum: {
87
- readonly Buy: "BUY";
88
- readonly Rent: "RENT";
89
- };
90
- export type ListingIntentRequestDealTypeEnum = typeof ListingIntentRequestDealTypeEnum[keyof typeof ListingIntentRequestDealTypeEnum];
91
- /**
92
- * Check if a given object implements the ListingIntentRequest interface.
93
- */
94
- export declare function instanceOfListingIntentRequest(value: object): value is ListingIntentRequest;
95
- export declare function ListingIntentRequestFromJSON(json: any): ListingIntentRequest;
96
- export declare function ListingIntentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListingIntentRequest;
97
- export declare function ListingIntentRequestToJSON(json: any): ListingIntentRequest;
98
- export declare function ListingIntentRequestToJSONTyped(value?: ListingIntentRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,89 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Service API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- import { AddressRefRequestFromJSON, AddressRefRequestToJSON, } from './AddressRefRequest';
15
- import { PriceRangeRequestFromJSON, PriceRangeRequestToJSON, } from './PriceRangeRequest';
16
- /**
17
- * @export
18
- */
19
- export const ListingIntentRequestPropertyTypeEnum = {
20
- House: 'HOUSE',
21
- TownHouse: 'TOWN_HOUSE',
22
- CountryHouse: 'COUNTRY_HOUSE',
23
- Villa: 'VILLA',
24
- Cottage: 'COTTAGE',
25
- Apartment: 'APARTMENT',
26
- Duplex: 'DUPLEX',
27
- Triplex: 'TRIPLEX',
28
- SemiBasement: 'SEMI_BASEMENT',
29
- Attic: 'ATTIC',
30
- AgriculturalLand: 'AGRICULTURAL_LAND',
31
- ResidentialLand: 'RESIDENTIAL_LAND',
32
- HotelRoom: 'HOTEL_ROOM',
33
- MotelRoom: 'MOTEL_ROOM',
34
- CoLivingSpace: 'CO_LIVING_SPACE',
35
- Office: 'OFFICE',
36
- CommercialSpace: 'COMMERCIAL_SPACE',
37
- CoWorkingSpace: 'CO_WORKING_SPACE',
38
- Warehouse: 'WAREHOUSE',
39
- Garage: 'GARAGE'
40
- };
41
- /**
42
- * @export
43
- */
44
- export const ListingIntentRequestDealTypeEnum = {
45
- Buy: 'BUY',
46
- Rent: 'RENT'
47
- };
48
- /**
49
- * Check if a given object implements the ListingIntentRequest interface.
50
- */
51
- export function instanceOfListingIntentRequest(value) {
52
- if (!('propertyType' in value) || value['propertyType'] === undefined)
53
- return false;
54
- if (!('dealType' in value) || value['dealType'] === undefined)
55
- return false;
56
- return true;
57
- }
58
- export function ListingIntentRequestFromJSON(json) {
59
- return ListingIntentRequestFromJSONTyped(json, false);
60
- }
61
- export function ListingIntentRequestFromJSONTyped(json, ignoreDiscriminator) {
62
- if (json == null) {
63
- return json;
64
- }
65
- return {
66
- 'propertyType': json['propertyType'],
67
- 'dealType': json['dealType'],
68
- 'desiredPrice': json['desiredPrice'] == null ? undefined : PriceRangeRequestFromJSON(json['desiredPrice']),
69
- 'address': json['address'] == null ? undefined : AddressRefRequestFromJSON(json['address']),
70
- 'area': json['area'] == null ? undefined : json['area'],
71
- 'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
72
- };
73
- }
74
- export function ListingIntentRequestToJSON(json) {
75
- return ListingIntentRequestToJSONTyped(json, false);
76
- }
77
- export function ListingIntentRequestToJSONTyped(value, ignoreDiscriminator = false) {
78
- if (value == null) {
79
- return value;
80
- }
81
- return {
82
- 'propertyType': value['propertyType'],
83
- 'dealType': value['dealType'],
84
- 'desiredPrice': PriceRangeRequestToJSON(value['desiredPrice']),
85
- 'address': AddressRefRequestToJSON(value['address']),
86
- 'area': value['area'],
87
- 'numberOfRooms': value['numberOfRooms'],
88
- };
89
- }
@@ -1,138 +0,0 @@
1
- /**
2
- * Service API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface ListingIntentResponse
16
- */
17
- export interface ListingIntentResponse {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ListingIntentResponse
22
- */
23
- propertyType: ListingIntentResponsePropertyTypeEnum;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ListingIntentResponse
28
- */
29
- dealType: ListingIntentResponseDealTypeEnum;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof ListingIntentResponse
34
- */
35
- desiredPriceMin?: number;
36
- /**
37
- *
38
- * @type {number}
39
- * @memberof ListingIntentResponse
40
- */
41
- desiredPriceMax?: number;
42
- /**
43
- *
44
- * @type {number}
45
- * @memberof ListingIntentResponse
46
- */
47
- regionId?: number;
48
- /**
49
- *
50
- * @type {number}
51
- * @memberof ListingIntentResponse
52
- */
53
- cityId?: number;
54
- /**
55
- *
56
- * @type {number}
57
- * @memberof ListingIntentResponse
58
- */
59
- districtId?: number;
60
- /**
61
- *
62
- * @type {number}
63
- * @memberof ListingIntentResponse
64
- */
65
- subDistrictId?: number;
66
- /**
67
- *
68
- * @type {number}
69
- * @memberof ListingIntentResponse
70
- */
71
- streetId?: number;
72
- /**
73
- *
74
- * @type {number}
75
- * @memberof ListingIntentResponse
76
- */
77
- lat?: number;
78
- /**
79
- *
80
- * @type {number}
81
- * @memberof ListingIntentResponse
82
- */
83
- lng?: number;
84
- /**
85
- *
86
- * @type {number}
87
- * @memberof ListingIntentResponse
88
- */
89
- area?: number;
90
- /**
91
- *
92
- * @type {number}
93
- * @memberof ListingIntentResponse
94
- */
95
- numberOfRooms?: number;
96
- }
97
- /**
98
- * @export
99
- */
100
- export declare const ListingIntentResponsePropertyTypeEnum: {
101
- readonly House: "HOUSE";
102
- readonly TownHouse: "TOWN_HOUSE";
103
- readonly CountryHouse: "COUNTRY_HOUSE";
104
- readonly Villa: "VILLA";
105
- readonly Cottage: "COTTAGE";
106
- readonly Apartment: "APARTMENT";
107
- readonly Duplex: "DUPLEX";
108
- readonly Triplex: "TRIPLEX";
109
- readonly SemiBasement: "SEMI_BASEMENT";
110
- readonly Attic: "ATTIC";
111
- readonly AgriculturalLand: "AGRICULTURAL_LAND";
112
- readonly ResidentialLand: "RESIDENTIAL_LAND";
113
- readonly HotelRoom: "HOTEL_ROOM";
114
- readonly MotelRoom: "MOTEL_ROOM";
115
- readonly CoLivingSpace: "CO_LIVING_SPACE";
116
- readonly Office: "OFFICE";
117
- readonly CommercialSpace: "COMMERCIAL_SPACE";
118
- readonly CoWorkingSpace: "CO_WORKING_SPACE";
119
- readonly Warehouse: "WAREHOUSE";
120
- readonly Garage: "GARAGE";
121
- };
122
- export type ListingIntentResponsePropertyTypeEnum = typeof ListingIntentResponsePropertyTypeEnum[keyof typeof ListingIntentResponsePropertyTypeEnum];
123
- /**
124
- * @export
125
- */
126
- export declare const ListingIntentResponseDealTypeEnum: {
127
- readonly Buy: "BUY";
128
- readonly Rent: "RENT";
129
- };
130
- export type ListingIntentResponseDealTypeEnum = typeof ListingIntentResponseDealTypeEnum[keyof typeof ListingIntentResponseDealTypeEnum];
131
- /**
132
- * Check if a given object implements the ListingIntentResponse interface.
133
- */
134
- export declare function instanceOfListingIntentResponse(value: object): value is ListingIntentResponse;
135
- export declare function ListingIntentResponseFromJSON(json: any): ListingIntentResponse;
136
- export declare function ListingIntentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListingIntentResponse;
137
- export declare function ListingIntentResponseToJSON(json: any): ListingIntentResponse;
138
- export declare function ListingIntentResponseToJSONTyped(value?: ListingIntentResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,101 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Service API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: v1
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
- /**
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
- }
@@ -1,98 +0,0 @@
1
- /**
2
- * Service API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { 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;
@@ -1,126 +0,0 @@
1
- /**
2
- * Service API
3
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
- *
5
- * The version of the OpenAPI document: v1
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface 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;