@homespot-sdk/api 0.0.636 → 0.0.638
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +38 -0
- package/README.md +33 -4
- package/dist/apis/AgencyQueryControllerApi.d.ts +46 -0
- package/dist/apis/AgencyQueryControllerApi.js +65 -0
- package/dist/apis/LeadControllerApi.d.ts +280 -0
- package/dist/apis/LeadControllerApi.js +452 -0
- package/dist/apis/LeadQueryControllerApi.d.ts +88 -0
- package/dist/apis/LeadQueryControllerApi.js +122 -0
- package/dist/apis/PublicAgencyControllerApi.d.ts +1 -21
- package/dist/apis/PublicAgencyControllerApi.js +0 -32
- package/dist/apis/PublicRoleControllerApi.js +1 -1
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +3 -0
- package/dist/esm/apis/AgencyQueryControllerApi.d.ts +46 -0
- package/dist/esm/apis/AgencyQueryControllerApi.js +61 -0
- package/dist/esm/apis/LeadControllerApi.d.ts +280 -0
- package/dist/esm/apis/LeadControllerApi.js +448 -0
- package/dist/esm/apis/LeadQueryControllerApi.d.ts +88 -0
- package/dist/esm/apis/LeadQueryControllerApi.js +118 -0
- package/dist/esm/apis/PublicAgencyControllerApi.d.ts +1 -21
- package/dist/esm/apis/PublicAgencyControllerApi.js +1 -33
- package/dist/esm/apis/PublicRoleControllerApi.js +1 -1
- package/dist/esm/apis/index.d.ts +3 -0
- package/dist/esm/apis/index.js +3 -0
- package/dist/esm/models/AddressRefRequest.d.ts +63 -0
- package/dist/esm/models/AddressRefRequest.js +54 -0
- package/dist/esm/models/AssignToMemberRequest.d.ts +32 -0
- package/dist/esm/models/AssignToMemberRequest.js +43 -0
- package/dist/esm/models/ChangeStatusRequest.d.ts +44 -0
- package/dist/esm/models/ChangeStatusRequest.js +54 -0
- package/dist/esm/models/ContactInfoRequest.d.ts +50 -0
- package/dist/esm/models/ContactInfoRequest.js +49 -0
- package/dist/esm/models/CoordinatesRequest.d.ts +38 -0
- package/dist/esm/models/CoordinatesRequest.js +47 -0
- package/dist/esm/models/CreateLeadRequest.d.ts +45 -0
- package/dist/esm/models/CreateLeadRequest.js +48 -0
- package/dist/esm/models/LeadProjectionResponse.d.ts +130 -0
- package/dist/esm/models/LeadProjectionResponse.js +94 -0
- package/dist/esm/models/ListingIntentRequest.d.ts +98 -0
- package/dist/esm/models/ListingIntentRequest.js +89 -0
- package/dist/esm/models/ListingIntentResponse.d.ts +138 -0
- package/dist/esm/models/ListingIntentResponse.js +101 -0
- package/dist/esm/models/LocationRefRequest.d.ts +56 -0
- package/dist/esm/models/LocationRefRequest.js +49 -0
- package/dist/esm/models/PageLeadProjectionResponse.d.ts +95 -0
- package/dist/esm/models/PageLeadProjectionResponse.js +64 -0
- package/dist/esm/models/PageRoleResponse.d.ts +6 -6
- package/dist/esm/models/PageRoleResponse.js +4 -4
- package/dist/esm/models/PageableObject.d.ts +6 -6
- package/dist/esm/models/PageableObject.js +2 -2
- package/dist/esm/models/PriceRangeRequest.d.ts +38 -0
- package/dist/esm/models/PriceRangeRequest.js +43 -0
- package/dist/esm/models/SearchIntentRequest.d.ts +98 -0
- package/dist/esm/models/SearchIntentRequest.js +89 -0
- package/dist/esm/models/SearchIntentResponse.d.ts +126 -0
- package/dist/esm/models/SearchIntentResponse.js +97 -0
- package/dist/esm/models/SourceRequest.d.ts +32 -0
- package/dist/esm/models/SourceRequest.js +43 -0
- package/dist/esm/models/UpdateNoteRequest.d.ts +32 -0
- package/dist/esm/models/UpdateNoteRequest.js +43 -0
- package/dist/esm/models/index.d.ts +16 -0
- package/dist/esm/models/index.js +16 -0
- package/dist/models/AddressRefRequest.d.ts +63 -0
- package/dist/models/AddressRefRequest.js +61 -0
- package/dist/models/AssignToMemberRequest.d.ts +32 -0
- package/dist/models/AssignToMemberRequest.js +50 -0
- package/dist/models/ChangeStatusRequest.d.ts +44 -0
- package/dist/models/ChangeStatusRequest.js +62 -0
- package/dist/models/ContactInfoRequest.d.ts +50 -0
- package/dist/models/ContactInfoRequest.js +56 -0
- package/dist/models/CoordinatesRequest.d.ts +38 -0
- package/dist/models/CoordinatesRequest.js +54 -0
- package/dist/models/CreateLeadRequest.d.ts +45 -0
- package/dist/models/CreateLeadRequest.js +55 -0
- package/dist/models/LeadProjectionResponse.d.ts +130 -0
- package/dist/models/LeadProjectionResponse.js +102 -0
- package/dist/models/ListingIntentRequest.d.ts +98 -0
- package/dist/models/ListingIntentRequest.js +97 -0
- package/dist/models/ListingIntentResponse.d.ts +138 -0
- package/dist/models/ListingIntentResponse.js +109 -0
- package/dist/models/LocationRefRequest.d.ts +56 -0
- package/dist/models/LocationRefRequest.js +56 -0
- package/dist/models/PageLeadProjectionResponse.d.ts +95 -0
- package/dist/models/PageLeadProjectionResponse.js +71 -0
- package/dist/models/PageRoleResponse.d.ts +6 -6
- package/dist/models/PageRoleResponse.js +4 -4
- package/dist/models/PageableObject.d.ts +6 -6
- package/dist/models/PageableObject.js +2 -2
- package/dist/models/PriceRangeRequest.d.ts +38 -0
- package/dist/models/PriceRangeRequest.js +50 -0
- package/dist/models/SearchIntentRequest.d.ts +98 -0
- package/dist/models/SearchIntentRequest.js +97 -0
- package/dist/models/SearchIntentResponse.d.ts +126 -0
- package/dist/models/SearchIntentResponse.js +105 -0
- package/dist/models/SourceRequest.d.ts +32 -0
- package/dist/models/SourceRequest.js +50 -0
- package/dist/models/UpdateNoteRequest.d.ts +32 -0
- package/dist/models/UpdateNoteRequest.js +50 -0
- package/dist/models/index.d.ts +16 -0
- package/dist/models/index.js +16 -0
- package/docs/AddressRefRequest.md +44 -0
- package/docs/AgencyQueryControllerApi.md +78 -0
- package/docs/AssignToMemberRequest.md +34 -0
- package/docs/ChangeStatusRequest.md +34 -0
- package/docs/ContactInfoRequest.md +40 -0
- package/docs/CoordinatesRequest.md +36 -0
- package/docs/CreateLeadRequest.md +38 -0
- package/docs/LeadControllerApi.md +817 -0
- package/docs/LeadProjectionResponse.md +62 -0
- package/docs/LeadQueryControllerApi.md +163 -0
- package/docs/ListingIntentRequest.md +44 -0
- package/docs/ListingIntentResponse.md +58 -0
- package/docs/LocationRefRequest.md +42 -0
- package/docs/PageLeadProjectionResponse.md +54 -0
- package/docs/PageRoleResponse.md +4 -4
- package/docs/PageableObject.md +2 -2
- package/docs/PriceRangeRequest.md +36 -0
- package/docs/PublicAgencyControllerApi.md +0 -70
- package/docs/PublicRoleControllerApi.md +1 -1
- package/docs/SearchIntentRequest.md +44 -0
- package/docs/SearchIntentResponse.md +54 -0
- package/docs/SourceRequest.md +34 -0
- package/docs/UpdateNoteRequest.md +34 -0
- package/package.json +1 -1
- package/src/apis/AgencyQueryControllerApi.ts +96 -0
- package/src/apis/LeadControllerApi.ts +851 -0
- package/src/apis/LeadQueryControllerApi.ts +195 -0
- package/src/apis/PublicAgencyControllerApi.ts +0 -60
- package/src/apis/PublicRoleControllerApi.ts +1 -1
- package/src/apis/index.ts +3 -0
- package/src/models/AddressRefRequest.ts +114 -0
- package/src/models/AssignToMemberRequest.ts +66 -0
- package/src/models/ChangeStatusRequest.ts +81 -0
- package/src/models/ContactInfoRequest.ts +90 -0
- package/src/models/CoordinatesRequest.ts +75 -0
- package/src/models/CreateLeadRequest.ts +90 -0
- package/src/models/LeadProjectionResponse.ts +213 -0
- package/src/models/ListingIntentRequest.ts +160 -0
- package/src/models/ListingIntentResponse.ts +201 -0
- package/src/models/LocationRefRequest.ts +97 -0
- package/src/models/PageLeadProjectionResponse.ts +167 -0
- package/src/models/PageRoleResponse.ts +10 -10
- package/src/models/PageableObject.ts +8 -8
- package/src/models/PriceRangeRequest.ts +73 -0
- package/src/models/SearchIntentRequest.ts +160 -0
- package/src/models/SearchIntentResponse.ts +185 -0
- package/src/models/SourceRequest.ts +66 -0
- package/src/models/UpdateNoteRequest.ts +66 -0
- package/src/models/index.ts +16 -0
|
@@ -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;
|
|
@@ -0,0 +1,105 @@
|
|
|
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.SearchIntentResponseDealTypeEnum = exports.SearchIntentResponsePropertyTypeEnum = void 0;
|
|
17
|
+
exports.instanceOfSearchIntentResponse = instanceOfSearchIntentResponse;
|
|
18
|
+
exports.SearchIntentResponseFromJSON = SearchIntentResponseFromJSON;
|
|
19
|
+
exports.SearchIntentResponseFromJSONTyped = SearchIntentResponseFromJSONTyped;
|
|
20
|
+
exports.SearchIntentResponseToJSON = SearchIntentResponseToJSON;
|
|
21
|
+
exports.SearchIntentResponseToJSONTyped = SearchIntentResponseToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.SearchIntentResponsePropertyTypeEnum = {
|
|
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.SearchIntentResponseDealTypeEnum = {
|
|
51
|
+
Buy: 'BUY',
|
|
52
|
+
Rent: 'RENT'
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the SearchIntentResponse interface.
|
|
56
|
+
*/
|
|
57
|
+
function instanceOfSearchIntentResponse(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 SearchIntentResponseFromJSON(json) {
|
|
65
|
+
return SearchIntentResponseFromJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
function SearchIntentResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
'propertyType': json['propertyType'],
|
|
73
|
+
'dealType': json['dealType'],
|
|
74
|
+
'budgetMin': json['budgetMin'] == null ? undefined : json['budgetMin'],
|
|
75
|
+
'budgetMax': json['budgetMax'] == null ? undefined : json['budgetMax'],
|
|
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
|
+
'area': json['area'] == null ? undefined : json['area'],
|
|
82
|
+
'numberOfRooms': json['numberOfRooms'] == null ? undefined : json['numberOfRooms'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
function SearchIntentResponseToJSON(json) {
|
|
86
|
+
return SearchIntentResponseToJSONTyped(json, false);
|
|
87
|
+
}
|
|
88
|
+
function SearchIntentResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
89
|
+
if (value == null) {
|
|
90
|
+
return value;
|
|
91
|
+
}
|
|
92
|
+
return {
|
|
93
|
+
'propertyType': value['propertyType'],
|
|
94
|
+
'dealType': value['dealType'],
|
|
95
|
+
'budgetMin': value['budgetMin'],
|
|
96
|
+
'budgetMax': value['budgetMax'],
|
|
97
|
+
'regionId': value['regionId'],
|
|
98
|
+
'cityId': value['cityId'],
|
|
99
|
+
'districtId': value['districtId'],
|
|
100
|
+
'subDistrictId': value['subDistrictId'],
|
|
101
|
+
'streetId': value['streetId'],
|
|
102
|
+
'area': value['area'],
|
|
103
|
+
'numberOfRooms': value['numberOfRooms'],
|
|
104
|
+
};
|
|
105
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 SourceRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SourceRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SourceRequest
|
|
22
|
+
*/
|
|
23
|
+
sourceUrl: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SourceRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSourceRequest(value: object): value is SourceRequest;
|
|
29
|
+
export declare function SourceRequestFromJSON(json: any): SourceRequest;
|
|
30
|
+
export declare function SourceRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SourceRequest;
|
|
31
|
+
export declare function SourceRequestToJSON(json: any): SourceRequest;
|
|
32
|
+
export declare function SourceRequestToJSONTyped(value?: SourceRequest | 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.instanceOfSourceRequest = instanceOfSourceRequest;
|
|
17
|
+
exports.SourceRequestFromJSON = SourceRequestFromJSON;
|
|
18
|
+
exports.SourceRequestFromJSONTyped = SourceRequestFromJSONTyped;
|
|
19
|
+
exports.SourceRequestToJSON = SourceRequestToJSON;
|
|
20
|
+
exports.SourceRequestToJSONTyped = SourceRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SourceRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSourceRequest(value) {
|
|
25
|
+
if (!('sourceUrl' in value) || value['sourceUrl'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function SourceRequestFromJSON(json) {
|
|
30
|
+
return SourceRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function SourceRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'sourceUrl': json['sourceUrl'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function SourceRequestToJSON(json) {
|
|
41
|
+
return SourceRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function SourceRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'sourceUrl': value['sourceUrl'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 UpdateNoteRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateNoteRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateNoteRequest
|
|
22
|
+
*/
|
|
23
|
+
note: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UpdateNoteRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUpdateNoteRequest(value: object): value is UpdateNoteRequest;
|
|
29
|
+
export declare function UpdateNoteRequestFromJSON(json: any): UpdateNoteRequest;
|
|
30
|
+
export declare function UpdateNoteRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateNoteRequest;
|
|
31
|
+
export declare function UpdateNoteRequestToJSON(json: any): UpdateNoteRequest;
|
|
32
|
+
export declare function UpdateNoteRequestToJSONTyped(value?: UpdateNoteRequest | 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.instanceOfUpdateNoteRequest = instanceOfUpdateNoteRequest;
|
|
17
|
+
exports.UpdateNoteRequestFromJSON = UpdateNoteRequestFromJSON;
|
|
18
|
+
exports.UpdateNoteRequestFromJSONTyped = UpdateNoteRequestFromJSONTyped;
|
|
19
|
+
exports.UpdateNoteRequestToJSON = UpdateNoteRequestToJSON;
|
|
20
|
+
exports.UpdateNoteRequestToJSONTyped = UpdateNoteRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the UpdateNoteRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfUpdateNoteRequest(value) {
|
|
25
|
+
if (!('note' in value) || value['note'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function UpdateNoteRequestFromJSON(json) {
|
|
30
|
+
return UpdateNoteRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function UpdateNoteRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'note': json['note'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function UpdateNoteRequestToJSON(json) {
|
|
41
|
+
return UpdateNoteRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function UpdateNoteRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'note': value['note'],
|
|
49
|
+
};
|
|
50
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,18 +1,29 @@
|
|
|
1
|
+
export * from './AddressRefRequest';
|
|
1
2
|
export * from './AddressRequest';
|
|
2
3
|
export * from './AddressViewResponse';
|
|
3
4
|
export * from './AgencyProfileResponse';
|
|
4
5
|
export * from './AgencySummaryResponse';
|
|
5
6
|
export * from './AssignRoleRequest';
|
|
7
|
+
export * from './AssignToMemberRequest';
|
|
6
8
|
export * from './BatchAssignRoleRequest';
|
|
9
|
+
export * from './ChangeStatusRequest';
|
|
10
|
+
export * from './ContactInfoRequest';
|
|
11
|
+
export * from './CoordinatesRequest';
|
|
7
12
|
export * from './CreateAgencyRequest';
|
|
13
|
+
export * from './CreateLeadRequest';
|
|
8
14
|
export * from './GroupedPermissionsResponse';
|
|
9
15
|
export * from './IdResponse';
|
|
10
16
|
export * from './InvitationDetailsRequest';
|
|
11
17
|
export * from './InvitationDetailsResponse';
|
|
12
18
|
export * from './InvitationViewResponse';
|
|
13
19
|
export * from './InviteMemberRequest';
|
|
20
|
+
export * from './LeadProjectionResponse';
|
|
21
|
+
export * from './ListingIntentRequest';
|
|
22
|
+
export * from './ListingIntentResponse';
|
|
23
|
+
export * from './LocationRefRequest';
|
|
14
24
|
export * from './MemberViewResponse';
|
|
15
25
|
export * from './OrganizationSummaryViewResponse';
|
|
26
|
+
export * from './PageLeadProjectionResponse';
|
|
16
27
|
export * from './PageMetadata';
|
|
17
28
|
export * from './PageRoleResponse';
|
|
18
29
|
export * from './PageableObject';
|
|
@@ -23,11 +34,16 @@ export * from './PermissionResponse';
|
|
|
23
34
|
export * from './PhotoRequest';
|
|
24
35
|
export * from './PresignedUrlResponse';
|
|
25
36
|
export * from './PresignedUrlsResponse';
|
|
37
|
+
export * from './PriceRangeRequest';
|
|
26
38
|
export * from './RoleResponse';
|
|
27
39
|
export * from './RolesRequest';
|
|
40
|
+
export * from './SearchIntentRequest';
|
|
41
|
+
export * from './SearchIntentResponse';
|
|
28
42
|
export * from './SocialMediaRequest';
|
|
29
43
|
export * from './SocialMediasRequest';
|
|
30
44
|
export * from './SortObject';
|
|
45
|
+
export * from './SourceRequest';
|
|
46
|
+
export * from './UpdateNoteRequest';
|
|
31
47
|
export * from './UploadAcknowledgmentResponse';
|
|
32
48
|
export * from './UserContextViewResponse';
|
|
33
49
|
export * from './UserSummaryViewResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -16,21 +16,32 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./AddressRefRequest"), exports);
|
|
19
20
|
__exportStar(require("./AddressRequest"), exports);
|
|
20
21
|
__exportStar(require("./AddressViewResponse"), exports);
|
|
21
22
|
__exportStar(require("./AgencyProfileResponse"), exports);
|
|
22
23
|
__exportStar(require("./AgencySummaryResponse"), exports);
|
|
23
24
|
__exportStar(require("./AssignRoleRequest"), exports);
|
|
25
|
+
__exportStar(require("./AssignToMemberRequest"), exports);
|
|
24
26
|
__exportStar(require("./BatchAssignRoleRequest"), exports);
|
|
27
|
+
__exportStar(require("./ChangeStatusRequest"), exports);
|
|
28
|
+
__exportStar(require("./ContactInfoRequest"), exports);
|
|
29
|
+
__exportStar(require("./CoordinatesRequest"), exports);
|
|
25
30
|
__exportStar(require("./CreateAgencyRequest"), exports);
|
|
31
|
+
__exportStar(require("./CreateLeadRequest"), exports);
|
|
26
32
|
__exportStar(require("./GroupedPermissionsResponse"), exports);
|
|
27
33
|
__exportStar(require("./IdResponse"), exports);
|
|
28
34
|
__exportStar(require("./InvitationDetailsRequest"), exports);
|
|
29
35
|
__exportStar(require("./InvitationDetailsResponse"), exports);
|
|
30
36
|
__exportStar(require("./InvitationViewResponse"), exports);
|
|
31
37
|
__exportStar(require("./InviteMemberRequest"), exports);
|
|
38
|
+
__exportStar(require("./LeadProjectionResponse"), exports);
|
|
39
|
+
__exportStar(require("./ListingIntentRequest"), exports);
|
|
40
|
+
__exportStar(require("./ListingIntentResponse"), exports);
|
|
41
|
+
__exportStar(require("./LocationRefRequest"), exports);
|
|
32
42
|
__exportStar(require("./MemberViewResponse"), exports);
|
|
33
43
|
__exportStar(require("./OrganizationSummaryViewResponse"), exports);
|
|
44
|
+
__exportStar(require("./PageLeadProjectionResponse"), exports);
|
|
34
45
|
__exportStar(require("./PageMetadata"), exports);
|
|
35
46
|
__exportStar(require("./PageRoleResponse"), exports);
|
|
36
47
|
__exportStar(require("./PageableObject"), exports);
|
|
@@ -41,11 +52,16 @@ __exportStar(require("./PermissionResponse"), exports);
|
|
|
41
52
|
__exportStar(require("./PhotoRequest"), exports);
|
|
42
53
|
__exportStar(require("./PresignedUrlResponse"), exports);
|
|
43
54
|
__exportStar(require("./PresignedUrlsResponse"), exports);
|
|
55
|
+
__exportStar(require("./PriceRangeRequest"), exports);
|
|
44
56
|
__exportStar(require("./RoleResponse"), exports);
|
|
45
57
|
__exportStar(require("./RolesRequest"), exports);
|
|
58
|
+
__exportStar(require("./SearchIntentRequest"), exports);
|
|
59
|
+
__exportStar(require("./SearchIntentResponse"), exports);
|
|
46
60
|
__exportStar(require("./SocialMediaRequest"), exports);
|
|
47
61
|
__exportStar(require("./SocialMediasRequest"), exports);
|
|
48
62
|
__exportStar(require("./SortObject"), exports);
|
|
63
|
+
__exportStar(require("./SourceRequest"), exports);
|
|
64
|
+
__exportStar(require("./UpdateNoteRequest"), exports);
|
|
49
65
|
__exportStar(require("./UploadAcknowledgmentResponse"), exports);
|
|
50
66
|
__exportStar(require("./UserContextViewResponse"), exports);
|
|
51
67
|
__exportStar(require("./UserSummaryViewResponse"), exports);
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
|
|
2
|
+
# AddressRefRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`regionId` | number
|
|
10
|
+
`cityId` | number
|
|
11
|
+
`districtId` | number
|
|
12
|
+
`subDistrictId` | number
|
|
13
|
+
`streetId` | number
|
|
14
|
+
`coordinates` | [CoordinatesRequest](CoordinatesRequest.md)
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import type { AddressRefRequest } from '@homespot-sdk/api'
|
|
20
|
+
|
|
21
|
+
// TODO: Update the object below with actual values
|
|
22
|
+
const example = {
|
|
23
|
+
"regionId": null,
|
|
24
|
+
"cityId": null,
|
|
25
|
+
"districtId": null,
|
|
26
|
+
"subDistrictId": null,
|
|
27
|
+
"streetId": null,
|
|
28
|
+
"coordinates": null,
|
|
29
|
+
} satisfies AddressRefRequest
|
|
30
|
+
|
|
31
|
+
console.log(example)
|
|
32
|
+
|
|
33
|
+
// Convert the instance to a JSON string
|
|
34
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
35
|
+
console.log(exampleJSON)
|
|
36
|
+
|
|
37
|
+
// Parse the JSON string back to an object
|
|
38
|
+
const exampleParsed = JSON.parse(exampleJSON) as AddressRefRequest
|
|
39
|
+
console.log(exampleParsed)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
43
|
+
|
|
44
|
+
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# AgencyQueryControllerApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://gateway.dev.homespot.ge/rem*
|
|
4
|
+
|
|
5
|
+
| Method | HTTP request | Description |
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
| [**getAgency**](AgencyQueryControllerApi.md#getagency) | **GET** /agency/{agencyId} | |
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## getAgency
|
|
12
|
+
|
|
13
|
+
> AgencyProfileResponse getAgency(agencyId)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```ts
|
|
20
|
+
import {
|
|
21
|
+
Configuration,
|
|
22
|
+
AgencyQueryControllerApi,
|
|
23
|
+
} from '@homespot-sdk/api';
|
|
24
|
+
import type { GetAgencyRequest } from '@homespot-sdk/api';
|
|
25
|
+
|
|
26
|
+
async function example() {
|
|
27
|
+
console.log("🚀 Testing @homespot-sdk/api SDK...");
|
|
28
|
+
const config = new Configuration({
|
|
29
|
+
// To configure OAuth2 access token for authorization: keycloak accessCode
|
|
30
|
+
accessToken: "YOUR ACCESS TOKEN",
|
|
31
|
+
});
|
|
32
|
+
const api = new AgencyQueryControllerApi(config);
|
|
33
|
+
|
|
34
|
+
const body = {
|
|
35
|
+
// string
|
|
36
|
+
agencyId: 38400000-8cf0-11bd-b23e-10b96e4ef00d,
|
|
37
|
+
} satisfies GetAgencyRequest;
|
|
38
|
+
|
|
39
|
+
try {
|
|
40
|
+
const data = await api.getAgency(body);
|
|
41
|
+
console.log(data);
|
|
42
|
+
} catch (error) {
|
|
43
|
+
console.error(error);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// Run the test
|
|
48
|
+
example().catch(console.error);
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Parameters
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
| Name | Type | Description | Notes |
|
|
55
|
+
|------------- | ------------- | ------------- | -------------|
|
|
56
|
+
| **agencyId** | `string` | | [Defaults to `undefined`] |
|
|
57
|
+
|
|
58
|
+
### Return type
|
|
59
|
+
|
|
60
|
+
[**AgencyProfileResponse**](AgencyProfileResponse.md)
|
|
61
|
+
|
|
62
|
+
### Authorization
|
|
63
|
+
|
|
64
|
+
[keycloak accessCode](../README.md#keycloak-accessCode)
|
|
65
|
+
|
|
66
|
+
### HTTP request headers
|
|
67
|
+
|
|
68
|
+
- **Content-Type**: Not defined
|
|
69
|
+
- **Accept**: `*/*`
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
### HTTP response details
|
|
73
|
+
| Status code | Description | Response headers |
|
|
74
|
+
|-------------|-------------|------------------|
|
|
75
|
+
| **200** | OK | - |
|
|
76
|
+
|
|
77
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
78
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# AssignToMemberRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`memberId` | string
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { AssignToMemberRequest } from '@homespot-sdk/api'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"memberId": null,
|
|
19
|
+
} satisfies AssignToMemberRequest
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as AssignToMemberRequest
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# ChangeStatusRequest
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`status` | string
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { ChangeStatusRequest } from '@homespot-sdk/api'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"status": null,
|
|
19
|
+
} satisfies ChangeStatusRequest
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as ChangeStatusRequest
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|