@homespot-sdk/api 0.0.639 → 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 +8 -8
  16. package/dist/esm/models/PageLeadProjectionResponse.js +4 -4
  17. package/dist/esm/models/PageRoleResponse.d.ts +8 -8
  18. package/dist/esm/models/PageRoleResponse.js +4 -4
  19. package/dist/esm/models/PageableObject.d.ts +4 -4
  20. package/dist/esm/models/PageableObject.js +4 -4
  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 +8 -8
  32. package/dist/models/PageLeadProjectionResponse.js +4 -4
  33. package/dist/models/PageRoleResponse.d.ts +8 -8
  34. package/dist/models/PageRoleResponse.js +4 -4
  35. package/dist/models/PageableObject.d.ts +4 -4
  36. package/dist/models/PageableObject.js +4 -4
  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 +4 -4
  45. package/docs/PageRoleResponse.md +4 -4
  46. package/docs/PageableObject.md +4 -4
  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 +12 -12
  54. package/src/models/PageRoleResponse.ts +12 -12
  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
@@ -0,0 +1,114 @@
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 LeadIntentRequest
18
+ */
19
+ export interface LeadIntentRequest {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof LeadIntentRequest
24
+ */
25
+ clientType: LeadIntentRequestClientTypeEnum;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof LeadIntentRequest
30
+ */
31
+ listingType: LeadIntentRequestListingTypeEnum;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof LeadIntentRequest
36
+ */
37
+ propertyType: LeadIntentRequestPropertyTypeEnum;
38
+ /**
39
+ *
40
+ * @type {PriceRangeRequest}
41
+ * @memberof LeadIntentRequest
42
+ */
43
+ price?: PriceRangeRequest;
44
+ /**
45
+ *
46
+ * @type {LocationRefRequest}
47
+ * @memberof LeadIntentRequest
48
+ */
49
+ targetLocation?: LocationRefRequest;
50
+ /**
51
+ *
52
+ * @type {number}
53
+ * @memberof LeadIntentRequest
54
+ */
55
+ area?: number;
56
+ /**
57
+ *
58
+ * @type {number}
59
+ * @memberof LeadIntentRequest
60
+ */
61
+ numberOfRooms?: number;
62
+ }
63
+ /**
64
+ * @export
65
+ */
66
+ export declare const LeadIntentRequestClientTypeEnum: {
67
+ readonly Listing: "LISTING";
68
+ readonly Seeking: "SEEKING";
69
+ };
70
+ export type LeadIntentRequestClientTypeEnum = typeof LeadIntentRequestClientTypeEnum[keyof typeof LeadIntentRequestClientTypeEnum];
71
+ /**
72
+ * @export
73
+ */
74
+ export declare const LeadIntentRequestListingTypeEnum: {
75
+ readonly Sale: "SALE";
76
+ readonly Rent: "RENT";
77
+ readonly DailyRent: "DAILY_RENT";
78
+ readonly Pledge: "PLEDGE";
79
+ };
80
+ export type LeadIntentRequestListingTypeEnum = typeof LeadIntentRequestListingTypeEnum[keyof typeof LeadIntentRequestListingTypeEnum];
81
+ /**
82
+ * @export
83
+ */
84
+ export declare const LeadIntentRequestPropertyTypeEnum: {
85
+ readonly House: "HOUSE";
86
+ readonly TownHouse: "TOWN_HOUSE";
87
+ readonly CountryHouse: "COUNTRY_HOUSE";
88
+ readonly Villa: "VILLA";
89
+ readonly Cottage: "COTTAGE";
90
+ readonly Apartment: "APARTMENT";
91
+ readonly Duplex: "DUPLEX";
92
+ readonly Triplex: "TRIPLEX";
93
+ readonly SemiBasement: "SEMI_BASEMENT";
94
+ readonly Attic: "ATTIC";
95
+ readonly AgriculturalLand: "AGRICULTURAL_LAND";
96
+ readonly ResidentialLand: "RESIDENTIAL_LAND";
97
+ readonly HotelRoom: "HOTEL_ROOM";
98
+ readonly MotelRoom: "MOTEL_ROOM";
99
+ readonly CoLivingSpace: "CO_LIVING_SPACE";
100
+ readonly Office: "OFFICE";
101
+ readonly CommercialSpace: "COMMERCIAL_SPACE";
102
+ readonly CoWorkingSpace: "CO_WORKING_SPACE";
103
+ readonly Warehouse: "WAREHOUSE";
104
+ readonly Garage: "GARAGE";
105
+ };
106
+ export type LeadIntentRequestPropertyTypeEnum = typeof LeadIntentRequestPropertyTypeEnum[keyof typeof LeadIntentRequestPropertyTypeEnum];
107
+ /**
108
+ * Check if a given object implements the LeadIntentRequest interface.
109
+ */
110
+ export declare function instanceOfLeadIntentRequest(value: object): value is LeadIntentRequest;
111
+ export declare function LeadIntentRequestFromJSON(json: any): LeadIntentRequest;
112
+ export declare function LeadIntentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadIntentRequest;
113
+ export declare function LeadIntentRequestToJSON(json: any): LeadIntentRequest;
114
+ export declare function LeadIntentRequestToJSONTyped(value?: LeadIntentRequest | null, ignoreDiscriminator?: boolean): any;
@@ -16,7 +16,23 @@ import { PriceRangeRequestFromJSON, PriceRangeRequestToJSON, } from './PriceRang
16
16
  /**
17
17
  * @export
18
18
  */
19
- export const SearchIntentRequestPropertyTypeEnum = {
19
+ export const LeadIntentRequestClientTypeEnum = {
20
+ Listing: 'LISTING',
21
+ Seeking: 'SEEKING'
22
+ };
23
+ /**
24
+ * @export
25
+ */
26
+ export const LeadIntentRequestListingTypeEnum = {
27
+ Sale: 'SALE',
28
+ Rent: 'RENT',
29
+ DailyRent: 'DAILY_RENT',
30
+ Pledge: 'PLEDGE'
31
+ };
32
+ /**
33
+ * @export
34
+ */
35
+ export const LeadIntentRequestPropertyTypeEnum = {
20
36
  House: 'HOUSE',
21
37
  TownHouse: 'TOWN_HOUSE',
22
38
  CountryHouse: 'COUNTRY_HOUSE',
@@ -39,49 +55,46 @@ export const SearchIntentRequestPropertyTypeEnum = {
39
55
  Garage: 'GARAGE'
40
56
  };
41
57
  /**
42
- * @export
43
- */
44
- export const SearchIntentRequestDealTypeEnum = {
45
- Buy: 'BUY',
46
- Rent: 'RENT'
47
- };
48
- /**
49
- * Check if a given object implements the SearchIntentRequest interface.
58
+ * Check if a given object implements the LeadIntentRequest interface.
50
59
  */
51
- export function instanceOfSearchIntentRequest(value) {
52
- if (!('propertyType' in value) || value['propertyType'] === undefined)
60
+ export function instanceOfLeadIntentRequest(value) {
61
+ if (!('clientType' in value) || value['clientType'] === undefined)
62
+ return false;
63
+ if (!('listingType' in value) || value['listingType'] === undefined)
53
64
  return false;
54
- if (!('dealType' in value) || value['dealType'] === undefined)
65
+ if (!('propertyType' in value) || value['propertyType'] === undefined)
55
66
  return false;
56
67
  return true;
57
68
  }
58
- export function SearchIntentRequestFromJSON(json) {
59
- return SearchIntentRequestFromJSONTyped(json, false);
69
+ export function LeadIntentRequestFromJSON(json) {
70
+ return LeadIntentRequestFromJSONTyped(json, false);
60
71
  }
61
- export function SearchIntentRequestFromJSONTyped(json, ignoreDiscriminator) {
72
+ export function LeadIntentRequestFromJSONTyped(json, ignoreDiscriminator) {
62
73
  if (json == null) {
63
74
  return json;
64
75
  }
65
76
  return {
77
+ 'clientType': json['clientType'],
78
+ 'listingType': json['listingType'],
66
79
  'propertyType': json['propertyType'],
67
- 'dealType': json['dealType'],
68
- 'budget': json['budget'] == null ? undefined : PriceRangeRequestFromJSON(json['budget']),
80
+ 'price': json['price'] == null ? undefined : PriceRangeRequestFromJSON(json['price']),
69
81
  'targetLocation': json['targetLocation'] == null ? undefined : LocationRefRequestFromJSON(json['targetLocation']),
70
82
  'area': json['area'] == null ? undefined : json['area'],
71
83
  'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
72
84
  };
73
85
  }
74
- export function SearchIntentRequestToJSON(json) {
75
- return SearchIntentRequestToJSONTyped(json, false);
86
+ export function LeadIntentRequestToJSON(json) {
87
+ return LeadIntentRequestToJSONTyped(json, false);
76
88
  }
77
- export function SearchIntentRequestToJSONTyped(value, ignoreDiscriminator = false) {
89
+ export function LeadIntentRequestToJSONTyped(value, ignoreDiscriminator = false) {
78
90
  if (value == null) {
79
91
  return value;
80
92
  }
81
93
  return {
94
+ 'clientType': value['clientType'],
95
+ 'listingType': value['listingType'],
82
96
  'propertyType': value['propertyType'],
83
- 'dealType': value['dealType'],
84
- 'budget': PriceRangeRequestToJSON(value['budget']),
97
+ 'price': PriceRangeRequestToJSON(value['price']),
85
98
  'targetLocation': LocationRefRequestToJSON(value['targetLocation']),
86
99
  'area': value['area'],
87
100
  'numberOfRooms': value['numberOfRooms'],
@@ -9,8 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ListingIntentResponse } from './ListingIntentResponse';
13
- import type { SearchIntentResponse } from './SearchIntentResponse';
12
+ import type { IntentResponse } from './IntentResponse';
14
13
  /**
15
14
  *
16
15
  * @export
@@ -64,13 +63,7 @@ export interface LeadProjectionResponse {
64
63
  * @type {string}
65
64
  * @memberof LeadProjectionResponse
66
65
  */
67
- noteTitle?: string;
68
- /**
69
- *
70
- * @type {string}
71
- * @memberof LeadProjectionResponse
72
- */
73
- noteContent?: string;
66
+ note?: string;
74
67
  /**
75
68
  *
76
69
  * @type {string}
@@ -88,25 +81,19 @@ export interface LeadProjectionResponse {
88
81
  * @type {boolean}
89
82
  * @memberof LeadProjectionResponse
90
83
  */
91
- isSearcher: boolean;
84
+ isSearching: boolean;
92
85
  /**
93
86
  *
94
87
  * @type {boolean}
95
88
  * @memberof LeadProjectionResponse
96
89
  */
97
- isLister: boolean;
98
- /**
99
- *
100
- * @type {Array<SearchIntentResponse>}
101
- * @memberof LeadProjectionResponse
102
- */
103
- searchIntents?: Array<SearchIntentResponse>;
90
+ isListing: boolean;
104
91
  /**
105
92
  *
106
- * @type {Array<ListingIntentResponse>}
93
+ * @type {Array<IntentResponse>}
107
94
  * @memberof LeadProjectionResponse
108
95
  */
109
- listingIntents?: Array<ListingIntentResponse>;
96
+ intents?: Array<IntentResponse>;
110
97
  }
111
98
  /**
112
99
  * @export
@@ -11,8 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { ListingIntentResponseFromJSON, ListingIntentResponseToJSON, } from './ListingIntentResponse';
15
- import { SearchIntentResponseFromJSON, SearchIntentResponseToJSON, } from './SearchIntentResponse';
14
+ import { IntentResponseFromJSON, IntentResponseToJSON, } from './IntentResponse';
16
15
  /**
17
16
  * @export
18
17
  */
@@ -36,9 +35,9 @@ export function instanceOfLeadProjectionResponse(value) {
36
35
  return false;
37
36
  if (!('contactPhoneNumber' in value) || value['contactPhoneNumber'] === undefined)
38
37
  return false;
39
- if (!('isSearcher' in value) || value['isSearcher'] === undefined)
38
+ if (!('isSearching' in value) || value['isSearching'] === undefined)
40
39
  return false;
41
- if (!('isLister' in value) || value['isLister'] === undefined)
40
+ if (!('isListing' in value) || value['isListing'] === undefined)
42
41
  return false;
43
42
  return true;
44
43
  }
@@ -57,14 +56,12 @@ export function LeadProjectionResponseFromJSONTyped(json, ignoreDiscriminator) {
57
56
  'contactFullName': json['contactFullName'] == null ? undefined : json['contactFullName'],
58
57
  'contactPhoneNumber': json['contactPhoneNumber'],
59
58
  'contactEmail': json['contactEmail'] == null ? undefined : json['contactEmail'],
60
- 'noteTitle': json['noteTitle'] == null ? undefined : json['noteTitle'],
61
- 'noteContent': json['noteContent'] == null ? undefined : json['noteContent'],
59
+ 'note': json['note'] == null ? undefined : json['note'],
62
60
  'sourceType': json['sourceType'] == null ? undefined : json['sourceType'],
63
61
  'sourceLink': json['sourceLink'] == null ? undefined : json['sourceLink'],
64
- 'isSearcher': json['isSearcher'],
65
- 'isLister': json['isLister'],
66
- 'searchIntents': json['searchIntents'] == null ? undefined : (json['searchIntents'].map(SearchIntentResponseFromJSON)),
67
- 'listingIntents': json['listingIntents'] == null ? undefined : (json['listingIntents'].map(ListingIntentResponseFromJSON)),
62
+ 'isSearching': json['isSearching'],
63
+ 'isListing': json['isListing'],
64
+ 'intents': json['intents'] == null ? undefined : (json['intents'].map(IntentResponseFromJSON)),
68
65
  };
69
66
  }
70
67
  export function LeadProjectionResponseToJSON(json) {
@@ -82,13 +79,11 @@ export function LeadProjectionResponseToJSONTyped(value, ignoreDiscriminator = f
82
79
  'contactFullName': value['contactFullName'],
83
80
  'contactPhoneNumber': value['contactPhoneNumber'],
84
81
  'contactEmail': value['contactEmail'],
85
- 'noteTitle': value['noteTitle'],
86
- 'noteContent': value['noteContent'],
82
+ 'note': value['note'],
87
83
  'sourceType': value['sourceType'],
88
84
  'sourceLink': value['sourceLink'],
89
- 'isSearcher': value['isSearcher'],
90
- 'isLister': value['isLister'],
91
- 'searchIntents': value['searchIntents'] == null ? undefined : (value['searchIntents'].map(SearchIntentResponseToJSON)),
92
- 'listingIntents': value['listingIntents'] == null ? undefined : (value['listingIntents'].map(ListingIntentResponseToJSON)),
85
+ 'isSearching': value['isSearching'],
86
+ 'isListing': value['isListing'],
87
+ 'intents': value['intents'] == null ? undefined : (value['intents'].map(IntentResponseToJSON)),
93
88
  };
94
89
  }
@@ -21,12 +21,6 @@ export interface LocationRefRequest {
21
21
  * @memberof LocationRefRequest
22
22
  */
23
23
  regionId?: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof LocationRefRequest
28
- */
29
- cityId?: number;
30
24
  /**
31
25
  *
32
26
  * @type {number}
@@ -26,7 +26,6 @@ export function LocationRefRequestFromJSONTyped(json, ignoreDiscriminator) {
26
26
  }
27
27
  return {
28
28
  'regionId': json['regionId'] == null ? undefined : json['regionId'],
29
- 'cityId': json['cityId'] == null ? undefined : json['cityId'],
30
29
  'districtId': json['districtId'] == null ? undefined : json['districtId'],
31
30
  'subDistrictId': json['subDistrictId'] == null ? undefined : json['subDistrictId'],
32
31
  'streetId': json['streetId'] == null ? undefined : json['streetId'],
@@ -41,7 +40,6 @@ export function LocationRefRequestToJSONTyped(value, ignoreDiscriminator = false
41
40
  }
42
41
  return {
43
42
  'regionId': value['regionId'],
44
- 'cityId': value['cityId'],
45
43
  'districtId': value['districtId'],
46
44
  'subDistrictId': value['subDistrictId'],
47
45
  'streetId': value['streetId'],
@@ -23,13 +23,13 @@ export interface PageLeadProjectionResponse {
23
23
  * @type {number}
24
24
  * @memberof PageLeadProjectionResponse
25
25
  */
26
- totalPages?: number;
26
+ totalElements?: number;
27
27
  /**
28
28
  *
29
29
  * @type {number}
30
30
  * @memberof PageLeadProjectionResponse
31
31
  */
32
- totalElements?: number;
32
+ totalPages?: number;
33
33
  /**
34
34
  *
35
35
  * @type {number}
@@ -62,22 +62,22 @@ export interface PageLeadProjectionResponse {
62
62
  last?: boolean;
63
63
  /**
64
64
  *
65
- * @type {number}
65
+ * @type {SortObject}
66
66
  * @memberof PageLeadProjectionResponse
67
67
  */
68
- numberOfElements?: number;
68
+ sort?: SortObject;
69
69
  /**
70
70
  *
71
- * @type {PageableObject}
71
+ * @type {number}
72
72
  * @memberof PageLeadProjectionResponse
73
73
  */
74
- pageable?: PageableObject;
74
+ numberOfElements?: number;
75
75
  /**
76
76
  *
77
- * @type {SortObject}
77
+ * @type {PageableObject}
78
78
  * @memberof PageLeadProjectionResponse
79
79
  */
80
- sort?: SortObject;
80
+ pageable?: PageableObject;
81
81
  /**
82
82
  *
83
83
  * @type {boolean}
@@ -28,16 +28,16 @@ export function PageLeadProjectionResponseFromJSONTyped(json, ignoreDiscriminato
28
28
  return json;
29
29
  }
30
30
  return {
31
- 'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
32
31
  'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
32
+ 'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
33
33
  'size': json['size'] == null ? undefined : json['size'],
34
34
  'content': json['content'] == null ? undefined : (json['content'].map(LeadProjectionResponseFromJSON)),
35
35
  'number': json['number'] == null ? undefined : json['number'],
36
36
  'first': json['first'] == null ? undefined : json['first'],
37
37
  'last': json['last'] == null ? undefined : json['last'],
38
+ 'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
38
39
  'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
39
40
  'pageable': json['pageable'] == null ? undefined : PageableObjectFromJSON(json['pageable']),
40
- 'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
41
41
  'empty': json['empty'] == null ? undefined : json['empty'],
42
42
  };
43
43
  }
@@ -49,16 +49,16 @@ export function PageLeadProjectionResponseToJSONTyped(value, ignoreDiscriminator
49
49
  return value;
50
50
  }
51
51
  return {
52
- 'totalPages': value['totalPages'],
53
52
  'totalElements': value['totalElements'],
53
+ 'totalPages': value['totalPages'],
54
54
  'size': value['size'],
55
55
  'content': value['content'] == null ? undefined : (value['content'].map(LeadProjectionResponseToJSON)),
56
56
  'number': value['number'],
57
57
  'first': value['first'],
58
58
  'last': value['last'],
59
+ 'sort': SortObjectToJSON(value['sort']),
59
60
  'numberOfElements': value['numberOfElements'],
60
61
  'pageable': PageableObjectToJSON(value['pageable']),
61
- 'sort': SortObjectToJSON(value['sort']),
62
62
  'empty': value['empty'],
63
63
  };
64
64
  }
@@ -23,13 +23,13 @@ export interface PageRoleResponse {
23
23
  * @type {number}
24
24
  * @memberof PageRoleResponse
25
25
  */
26
- totalPages?: number;
26
+ totalElements?: number;
27
27
  /**
28
28
  *
29
29
  * @type {number}
30
30
  * @memberof PageRoleResponse
31
31
  */
32
- totalElements?: number;
32
+ totalPages?: number;
33
33
  /**
34
34
  *
35
35
  * @type {number}
@@ -62,22 +62,22 @@ export interface PageRoleResponse {
62
62
  last?: boolean;
63
63
  /**
64
64
  *
65
- * @type {number}
65
+ * @type {SortObject}
66
66
  * @memberof PageRoleResponse
67
67
  */
68
- numberOfElements?: number;
68
+ sort?: SortObject;
69
69
  /**
70
70
  *
71
- * @type {PageableObject}
71
+ * @type {number}
72
72
  * @memberof PageRoleResponse
73
73
  */
74
- pageable?: PageableObject;
74
+ numberOfElements?: number;
75
75
  /**
76
76
  *
77
- * @type {SortObject}
77
+ * @type {PageableObject}
78
78
  * @memberof PageRoleResponse
79
79
  */
80
- sort?: SortObject;
80
+ pageable?: PageableObject;
81
81
  /**
82
82
  *
83
83
  * @type {boolean}
@@ -28,16 +28,16 @@ export function PageRoleResponseFromJSONTyped(json, ignoreDiscriminator) {
28
28
  return json;
29
29
  }
30
30
  return {
31
- 'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
32
31
  'totalElements': json['totalElements'] == null ? undefined : json['totalElements'],
32
+ 'totalPages': json['totalPages'] == null ? undefined : json['totalPages'],
33
33
  'size': json['size'] == null ? undefined : json['size'],
34
34
  'content': json['content'] == null ? undefined : (json['content'].map(RoleResponseFromJSON)),
35
35
  'number': json['number'] == null ? undefined : json['number'],
36
36
  'first': json['first'] == null ? undefined : json['first'],
37
37
  'last': json['last'] == null ? undefined : json['last'],
38
+ 'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
38
39
  'numberOfElements': json['numberOfElements'] == null ? undefined : json['numberOfElements'],
39
40
  'pageable': json['pageable'] == null ? undefined : PageableObjectFromJSON(json['pageable']),
40
- 'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
41
41
  'empty': json['empty'] == null ? undefined : json['empty'],
42
42
  };
43
43
  }
@@ -49,16 +49,16 @@ export function PageRoleResponseToJSONTyped(value, ignoreDiscriminator = false)
49
49
  return value;
50
50
  }
51
51
  return {
52
- 'totalPages': value['totalPages'],
53
52
  'totalElements': value['totalElements'],
53
+ 'totalPages': value['totalPages'],
54
54
  'size': value['size'],
55
55
  'content': value['content'] == null ? undefined : (value['content'].map(RoleResponseToJSON)),
56
56
  'number': value['number'],
57
57
  'first': value['first'],
58
58
  'last': value['last'],
59
+ 'sort': SortObjectToJSON(value['sort']),
59
60
  'numberOfElements': value['numberOfElements'],
60
61
  'pageable': PageableObjectToJSON(value['pageable']),
61
- 'sort': SortObjectToJSON(value['sort']),
62
62
  'empty': value['empty'],
63
63
  };
64
64
  }
@@ -24,10 +24,10 @@ export interface PageableObject {
24
24
  offset?: number;
25
25
  /**
26
26
  *
27
- * @type {boolean}
27
+ * @type {SortObject}
28
28
  * @memberof PageableObject
29
29
  */
30
- unpaged?: boolean;
30
+ sort?: SortObject;
31
31
  /**
32
32
  *
33
33
  * @type {boolean}
@@ -48,10 +48,10 @@ export interface PageableObject {
48
48
  pageSize?: number;
49
49
  /**
50
50
  *
51
- * @type {SortObject}
51
+ * @type {boolean}
52
52
  * @memberof PageableObject
53
53
  */
54
- sort?: SortObject;
54
+ unpaged?: boolean;
55
55
  }
56
56
  /**
57
57
  * Check if a given object implements the PageableObject interface.
@@ -27,11 +27,11 @@ export function PageableObjectFromJSONTyped(json, ignoreDiscriminator) {
27
27
  }
28
28
  return {
29
29
  'offset': json['offset'] == null ? undefined : json['offset'],
30
- 'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
30
+ 'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
31
31
  'paged': json['paged'] == null ? undefined : json['paged'],
32
32
  'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
33
33
  'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
34
- 'sort': json['sort'] == null ? undefined : SortObjectFromJSON(json['sort']),
34
+ 'unpaged': json['unpaged'] == null ? undefined : json['unpaged'],
35
35
  };
36
36
  }
37
37
  export function PageableObjectToJSON(json) {
@@ -43,10 +43,10 @@ export function PageableObjectToJSONTyped(value, ignoreDiscriminator = false) {
43
43
  }
44
44
  return {
45
45
  'offset': value['offset'],
46
- 'unpaged': value['unpaged'],
46
+ 'sort': SortObjectToJSON(value['sort']),
47
47
  'paged': value['paged'],
48
48
  'pageNumber': value['pageNumber'],
49
49
  'pageSize': value['pageSize'],
50
- 'sort': SortObjectToJSON(value['sort']),
50
+ 'unpaged': value['unpaged'],
51
51
  };
52
52
  }
@@ -1,4 +1,3 @@
1
- export * from './AddressRefRequest';
2
1
  export * from './AddressRequest';
3
2
  export * from './AddressViewResponse';
4
3
  export * from './AgencyProfileResponse';
@@ -8,18 +7,17 @@ export * from './AssignToMemberRequest';
8
7
  export * from './BatchAssignRoleRequest';
9
8
  export * from './ChangeStatusRequest';
10
9
  export * from './ContactInfoRequest';
11
- export * from './CoordinatesRequest';
12
10
  export * from './CreateAgencyRequest';
13
11
  export * from './CreateLeadRequest';
14
12
  export * from './GroupedPermissionsResponse';
15
13
  export * from './IdResponse';
14
+ export * from './IntentResponse';
16
15
  export * from './InvitationDetailsRequest';
17
16
  export * from './InvitationDetailsResponse';
18
17
  export * from './InvitationViewResponse';
19
18
  export * from './InviteMemberRequest';
19
+ export * from './LeadIntentRequest';
20
20
  export * from './LeadProjectionResponse';
21
- export * from './ListingIntentRequest';
22
- export * from './ListingIntentResponse';
23
21
  export * from './LocationRefRequest';
24
22
  export * from './MemberViewResponse';
25
23
  export * from './OrganizationSummaryViewResponse';
@@ -37,8 +35,6 @@ export * from './PresignedUrlsResponse';
37
35
  export * from './PriceRangeRequest';
38
36
  export * from './RoleResponse';
39
37
  export * from './RolesRequest';
40
- export * from './SearchIntentRequest';
41
- export * from './SearchIntentResponse';
42
38
  export * from './SocialMediaRequest';
43
39
  export * from './SocialMediasRequest';
44
40
  export * from './SortObject';
@@ -1,6 +1,5 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export * from './AddressRefRequest';
4
3
  export * from './AddressRequest';
5
4
  export * from './AddressViewResponse';
6
5
  export * from './AgencyProfileResponse';
@@ -10,18 +9,17 @@ export * from './AssignToMemberRequest';
10
9
  export * from './BatchAssignRoleRequest';
11
10
  export * from './ChangeStatusRequest';
12
11
  export * from './ContactInfoRequest';
13
- export * from './CoordinatesRequest';
14
12
  export * from './CreateAgencyRequest';
15
13
  export * from './CreateLeadRequest';
16
14
  export * from './GroupedPermissionsResponse';
17
15
  export * from './IdResponse';
16
+ export * from './IntentResponse';
18
17
  export * from './InvitationDetailsRequest';
19
18
  export * from './InvitationDetailsResponse';
20
19
  export * from './InvitationViewResponse';
21
20
  export * from './InviteMemberRequest';
21
+ export * from './LeadIntentRequest';
22
22
  export * from './LeadProjectionResponse';
23
- export * from './ListingIntentRequest';
24
- export * from './ListingIntentResponse';
25
23
  export * from './LocationRefRequest';
26
24
  export * from './MemberViewResponse';
27
25
  export * from './OrganizationSummaryViewResponse';
@@ -39,8 +37,6 @@ export * from './PresignedUrlsResponse';
39
37
  export * from './PriceRangeRequest';
40
38
  export * from './RoleResponse';
41
39
  export * from './RolesRequest';
42
- export * from './SearchIntentRequest';
43
- export * from './SearchIntentResponse';
44
40
  export * from './SocialMediaRequest';
45
41
  export * from './SocialMediasRequest';
46
42
  export * from './SortObject';