@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,63 +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 { CoordinatesRequest } from './CoordinatesRequest';
13
- /**
14
- *
15
- * @export
16
- * @interface AddressRefRequest
17
- */
18
- export interface AddressRefRequest {
19
- /**
20
- *
21
- * @type {number}
22
- * @memberof AddressRefRequest
23
- */
24
- regionId?: number;
25
- /**
26
- *
27
- * @type {number}
28
- * @memberof AddressRefRequest
29
- */
30
- cityId?: number;
31
- /**
32
- *
33
- * @type {number}
34
- * @memberof AddressRefRequest
35
- */
36
- districtId?: number;
37
- /**
38
- *
39
- * @type {number}
40
- * @memberof AddressRefRequest
41
- */
42
- subDistrictId?: number;
43
- /**
44
- *
45
- * @type {number}
46
- * @memberof AddressRefRequest
47
- */
48
- streetId?: number;
49
- /**
50
- *
51
- * @type {CoordinatesRequest}
52
- * @memberof AddressRefRequest
53
- */
54
- coordinates: CoordinatesRequest;
55
- }
56
- /**
57
- * Check if a given object implements the AddressRefRequest interface.
58
- */
59
- export declare function instanceOfAddressRefRequest(value: object): value is AddressRefRequest;
60
- export declare function AddressRefRequestFromJSON(json: any): AddressRefRequest;
61
- export declare function AddressRefRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddressRefRequest;
62
- export declare function AddressRefRequestToJSON(json: any): AddressRefRequest;
63
- export declare function AddressRefRequestToJSONTyped(value?: AddressRefRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,61 +0,0 @@
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.instanceOfAddressRefRequest = instanceOfAddressRefRequest;
17
- exports.AddressRefRequestFromJSON = AddressRefRequestFromJSON;
18
- exports.AddressRefRequestFromJSONTyped = AddressRefRequestFromJSONTyped;
19
- exports.AddressRefRequestToJSON = AddressRefRequestToJSON;
20
- exports.AddressRefRequestToJSONTyped = AddressRefRequestToJSONTyped;
21
- const CoordinatesRequest_1 = require("./CoordinatesRequest");
22
- /**
23
- * Check if a given object implements the AddressRefRequest interface.
24
- */
25
- function instanceOfAddressRefRequest(value) {
26
- if (!('coordinates' in value) || value['coordinates'] === undefined)
27
- return false;
28
- return true;
29
- }
30
- function AddressRefRequestFromJSON(json) {
31
- return AddressRefRequestFromJSONTyped(json, false);
32
- }
33
- function AddressRefRequestFromJSONTyped(json, ignoreDiscriminator) {
34
- if (json == null) {
35
- return json;
36
- }
37
- return {
38
- 'regionId': json['regionId'] == null ? undefined : json['regionId'],
39
- 'cityId': json['cityId'] == null ? undefined : json['cityId'],
40
- 'districtId': json['districtId'] == null ? undefined : json['districtId'],
41
- 'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
42
- 'streetId': json['streetId'] == null ? undefined : json['streetId'],
43
- 'coordinates': (0, CoordinatesRequest_1.CoordinatesRequestFromJSON)(json['coordinates']),
44
- };
45
- }
46
- function AddressRefRequestToJSON(json) {
47
- return AddressRefRequestToJSONTyped(json, false);
48
- }
49
- function AddressRefRequestToJSONTyped(value, ignoreDiscriminator = false) {
50
- if (value == null) {
51
- return value;
52
- }
53
- return {
54
- 'regionId': value['regionId'],
55
- 'cityId': value['cityId'],
56
- 'districtId': value['districtId'],
57
- 'subDistrictId': value['subDistrictId'],
58
- 'streetId': value['streetId'],
59
- 'coordinates': (0, CoordinatesRequest_1.CoordinatesRequestToJSON)(value['coordinates']),
60
- };
61
- }
@@ -1,38 +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 CoordinatesRequest
16
- */
17
- export interface CoordinatesRequest {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof CoordinatesRequest
22
- */
23
- lat: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof CoordinatesRequest
28
- */
29
- lng: number;
30
- }
31
- /**
32
- * Check if a given object implements the CoordinatesRequest interface.
33
- */
34
- export declare function instanceOfCoordinatesRequest(value: object): value is CoordinatesRequest;
35
- export declare function CoordinatesRequestFromJSON(json: any): CoordinatesRequest;
36
- export declare function CoordinatesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoordinatesRequest;
37
- export declare function CoordinatesRequestToJSON(json: any): CoordinatesRequest;
38
- export declare function CoordinatesRequestToJSONTyped(value?: CoordinatesRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,54 +0,0 @@
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.instanceOfCoordinatesRequest = instanceOfCoordinatesRequest;
17
- exports.CoordinatesRequestFromJSON = CoordinatesRequestFromJSON;
18
- exports.CoordinatesRequestFromJSONTyped = CoordinatesRequestFromJSONTyped;
19
- exports.CoordinatesRequestToJSON = CoordinatesRequestToJSON;
20
- exports.CoordinatesRequestToJSONTyped = CoordinatesRequestToJSONTyped;
21
- /**
22
- * Check if a given object implements the CoordinatesRequest interface.
23
- */
24
- function instanceOfCoordinatesRequest(value) {
25
- if (!('lat' in value) || value['lat'] === undefined)
26
- return false;
27
- if (!('lng' in value) || value['lng'] === undefined)
28
- return false;
29
- return true;
30
- }
31
- function CoordinatesRequestFromJSON(json) {
32
- return CoordinatesRequestFromJSONTyped(json, false);
33
- }
34
- function CoordinatesRequestFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'lat': json['lat'],
40
- 'lng': json['lng'],
41
- };
42
- }
43
- function CoordinatesRequestToJSON(json) {
44
- return CoordinatesRequestToJSONTyped(json, false);
45
- }
46
- function CoordinatesRequestToJSONTyped(value, ignoreDiscriminator = false) {
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'lat': value['lat'],
52
- 'lng': value['lng'],
53
- };
54
- }
@@ -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,97 +0,0 @@
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.ListingIntentRequestDealTypeEnum = exports.ListingIntentRequestPropertyTypeEnum = void 0;
17
- exports.instanceOfListingIntentRequest = instanceOfListingIntentRequest;
18
- exports.ListingIntentRequestFromJSON = ListingIntentRequestFromJSON;
19
- exports.ListingIntentRequestFromJSONTyped = ListingIntentRequestFromJSONTyped;
20
- exports.ListingIntentRequestToJSON = ListingIntentRequestToJSON;
21
- exports.ListingIntentRequestToJSONTyped = ListingIntentRequestToJSONTyped;
22
- const AddressRefRequest_1 = require("./AddressRefRequest");
23
- const PriceRangeRequest_1 = require("./PriceRangeRequest");
24
- /**
25
- * @export
26
- */
27
- exports.ListingIntentRequestPropertyTypeEnum = {
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.ListingIntentRequestDealTypeEnum = {
53
- Buy: 'BUY',
54
- Rent: 'RENT'
55
- };
56
- /**
57
- * Check if a given object implements the ListingIntentRequest interface.
58
- */
59
- function instanceOfListingIntentRequest(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 ListingIntentRequestFromJSON(json) {
67
- return ListingIntentRequestFromJSONTyped(json, false);
68
- }
69
- function ListingIntentRequestFromJSONTyped(json, ignoreDiscriminator) {
70
- if (json == null) {
71
- return json;
72
- }
73
- return {
74
- 'propertyType': json['propertyType'],
75
- 'dealType': json['dealType'],
76
- 'desiredPrice': json['desiredPrice'] == null ? undefined : (0, PriceRangeRequest_1.PriceRangeRequestFromJSON)(json['desiredPrice']),
77
- 'address': json['address'] == null ? undefined : (0, AddressRefRequest_1.AddressRefRequestFromJSON)(json['address']),
78
- 'area': json['area'] == null ? undefined : json['area'],
79
- 'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
80
- };
81
- }
82
- function ListingIntentRequestToJSON(json) {
83
- return ListingIntentRequestToJSONTyped(json, false);
84
- }
85
- function ListingIntentRequestToJSONTyped(value, ignoreDiscriminator = false) {
86
- if (value == null) {
87
- return value;
88
- }
89
- return {
90
- 'propertyType': value['propertyType'],
91
- 'dealType': value['dealType'],
92
- 'desiredPrice': (0, PriceRangeRequest_1.PriceRangeRequestToJSON)(value['desiredPrice']),
93
- 'address': (0, AddressRefRequest_1.AddressRefRequestToJSON)(value['address']),
94
- 'area': value['area'],
95
- 'numberOfRooms': value['numberOfRooms'],
96
- };
97
- }
@@ -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,109 +0,0 @@
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.ListingIntentResponseDealTypeEnum = exports.ListingIntentResponsePropertyTypeEnum = void 0;
17
- exports.instanceOfListingIntentResponse = instanceOfListingIntentResponse;
18
- exports.ListingIntentResponseFromJSON = ListingIntentResponseFromJSON;
19
- exports.ListingIntentResponseFromJSONTyped = ListingIntentResponseFromJSONTyped;
20
- exports.ListingIntentResponseToJSON = ListingIntentResponseToJSON;
21
- exports.ListingIntentResponseToJSONTyped = ListingIntentResponseToJSONTyped;
22
- /**
23
- * @export
24
- */
25
- exports.ListingIntentResponsePropertyTypeEnum = {
26
- House: 'HOUSE',
27
- TownHouse: 'TOWN_HOUSE',
28
- CountryHouse: 'COUNTRY_HOUSE',
29
- Villa: 'VILLA',
30
- Cottage: 'COTTAGE',
31
- Apartment: 'APARTMENT',
32
- Duplex: 'DUPLEX',
33
- Triplex: 'TRIPLEX',
34
- SemiBasement: 'SEMI_BASEMENT',
35
- Attic: 'ATTIC',
36
- AgriculturalLand: 'AGRICULTURAL_LAND',
37
- ResidentialLand: 'RESIDENTIAL_LAND',
38
- HotelRoom: 'HOTEL_ROOM',
39
- MotelRoom: 'MOTEL_ROOM',
40
- CoLivingSpace: 'CO_LIVING_SPACE',
41
- Office: 'OFFICE',
42
- CommercialSpace: 'COMMERCIAL_SPACE',
43
- CoWorkingSpace: 'CO_WORKING_SPACE',
44
- Warehouse: 'WAREHOUSE',
45
- Garage: 'GARAGE'
46
- };
47
- /**
48
- * @export
49
- */
50
- exports.ListingIntentResponseDealTypeEnum = {
51
- Buy: 'BUY',
52
- Rent: 'RENT'
53
- };
54
- /**
55
- * Check if a given object implements the ListingIntentResponse interface.
56
- */
57
- function instanceOfListingIntentResponse(value) {
58
- if (!('propertyType' in value) || value['propertyType'] === undefined)
59
- return false;
60
- if (!('dealType' in value) || value['dealType'] === undefined)
61
- return false;
62
- return true;
63
- }
64
- function ListingIntentResponseFromJSON(json) {
65
- return ListingIntentResponseFromJSONTyped(json, false);
66
- }
67
- function ListingIntentResponseFromJSONTyped(json, ignoreDiscriminator) {
68
- if (json == null) {
69
- return json;
70
- }
71
- return {
72
- 'propertyType': json['propertyType'],
73
- 'dealType': json['dealType'],
74
- 'desiredPriceMin': json['desiredPriceMin'] == null ? undefined : json['desiredPriceMin'],
75
- 'desiredPriceMax': json['desiredPriceMax'] == null ? undefined : json['desiredPriceMax'],
76
- 'regionId': json['regionId'] == null ? undefined : json['regionId'],
77
- 'cityId': json['cityId'] == null ? undefined : json['cityId'],
78
- 'districtId': json['districtId'] == null ? undefined : json['districtId'],
79
- 'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
80
- 'streetId': json['streetId'] == null ? undefined : json['streetId'],
81
- 'lat': json['lat'] == null ? undefined : json['lat'],
82
- 'lng': json['lng'] == null ? undefined : json['lng'],
83
- 'area': json['area'] == null ? undefined : json['area'],
84
- 'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
85
- };
86
- }
87
- function ListingIntentResponseToJSON(json) {
88
- return ListingIntentResponseToJSONTyped(json, false);
89
- }
90
- function ListingIntentResponseToJSONTyped(value, ignoreDiscriminator = false) {
91
- if (value == null) {
92
- return value;
93
- }
94
- return {
95
- 'propertyType': value['propertyType'],
96
- 'dealType': value['dealType'],
97
- 'desiredPriceMin': value['desiredPriceMin'],
98
- 'desiredPriceMax': value['desiredPriceMax'],
99
- 'regionId': value['regionId'],
100
- 'cityId': value['cityId'],
101
- 'districtId': value['districtId'],
102
- 'subDistrictId': value['subDistrictId'],
103
- 'streetId': value['streetId'],
104
- 'lat': value['lat'],
105
- 'lng': value['lng'],
106
- 'area': value['area'],
107
- 'numberOfRooms': value['numberOfRooms'],
108
- };
109
- }