@homespot-sdk/api 0.0.637 → 0.0.639
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 +32 -3
- 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/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/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 +2 -2
- package/dist/esm/models/PageRoleResponse.js +2 -2
- 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 +2 -2
- package/dist/models/PageRoleResponse.js +2 -2
- 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 +2 -2
- package/docs/PageableObject.md +2 -2
- package/docs/PriceRangeRequest.md +36 -0
- package/docs/PublicAgencyControllerApi.md +0 -70
- 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/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 +4 -4
- 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
|
@@ -10,10 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type {
|
|
14
|
-
export interface GetAgencyRequest {
|
|
15
|
-
agencyId: string;
|
|
16
|
-
}
|
|
13
|
+
import type { AgencySummaryResponse, PagedModelAgencySummaryResponse } from '../models/index';
|
|
17
14
|
export interface GetAgencyBySubdomainRequest {
|
|
18
15
|
subDomain: string;
|
|
19
16
|
}
|
|
@@ -30,17 +27,6 @@ export interface GetAllAgenciesRequest {
|
|
|
30
27
|
* @interface PublicAgencyControllerApiInterface
|
|
31
28
|
*/
|
|
32
29
|
export interface PublicAgencyControllerApiInterface {
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @param {string} agencyId
|
|
36
|
-
* @param {*} [options] Override http request option.
|
|
37
|
-
* @throws {RequiredError}
|
|
38
|
-
* @memberof PublicAgencyControllerApiInterface
|
|
39
|
-
*/
|
|
40
|
-
getAgencyRaw(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgencyProfileResponse>>;
|
|
41
|
-
/**
|
|
42
|
-
*/
|
|
43
|
-
getAgency(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgencyProfileResponse>;
|
|
44
30
|
/**
|
|
45
31
|
*
|
|
46
32
|
* @param {string} subDomain
|
|
@@ -71,12 +57,6 @@ export interface PublicAgencyControllerApiInterface {
|
|
|
71
57
|
*
|
|
72
58
|
*/
|
|
73
59
|
export declare class PublicAgencyControllerApi extends runtime.BaseAPI implements PublicAgencyControllerApiInterface {
|
|
74
|
-
/**
|
|
75
|
-
*/
|
|
76
|
-
getAgencyRaw(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgencyProfileResponse>>;
|
|
77
|
-
/**
|
|
78
|
-
*/
|
|
79
|
-
getAgency(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgencyProfileResponse>;
|
|
80
60
|
/**
|
|
81
61
|
*/
|
|
82
62
|
getAgencyBySubdomainRaw(requestParameters: GetAgencyBySubdomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgencySummaryResponse>>;
|
|
@@ -29,38 +29,6 @@ const index_1 = require("../models/index");
|
|
|
29
29
|
*
|
|
30
30
|
*/
|
|
31
31
|
class PublicAgencyControllerApi extends runtime.BaseAPI {
|
|
32
|
-
/**
|
|
33
|
-
*/
|
|
34
|
-
getAgencyRaw(requestParameters, initOverrides) {
|
|
35
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
36
|
-
if (requestParameters['agencyId'] == null) {
|
|
37
|
-
throw new runtime.RequiredError('agencyId', 'Required parameter "agencyId" was null or undefined when calling getAgency().');
|
|
38
|
-
}
|
|
39
|
-
const queryParameters = {};
|
|
40
|
-
const headerParameters = {};
|
|
41
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
42
|
-
// oauth required
|
|
43
|
-
headerParameters["Authorization"] = yield this.configuration.accessToken("keycloak", []);
|
|
44
|
-
}
|
|
45
|
-
let urlPath = `/public/agency/{agencyId}`;
|
|
46
|
-
urlPath = urlPath.replace(`{${"agencyId"}}`, encodeURIComponent(String(requestParameters['agencyId'])));
|
|
47
|
-
const response = yield this.request({
|
|
48
|
-
path: urlPath,
|
|
49
|
-
method: 'GET',
|
|
50
|
-
headers: headerParameters,
|
|
51
|
-
query: queryParameters,
|
|
52
|
-
}, initOverrides);
|
|
53
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.AgencyProfileResponseFromJSON)(jsonValue));
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
*/
|
|
58
|
-
getAgency(requestParameters, initOverrides) {
|
|
59
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
60
|
-
const response = yield this.getAgencyRaw(requestParameters, initOverrides);
|
|
61
|
-
return yield response.value();
|
|
62
|
-
});
|
|
63
|
-
}
|
|
64
32
|
/**
|
|
65
33
|
*/
|
|
66
34
|
getAgencyBySubdomainRaw(requestParameters, initOverrides) {
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export * from './AgencyControllerApi';
|
|
2
|
+
export * from './AgencyQueryControllerApi';
|
|
2
3
|
export * from './InvitationControllerApi';
|
|
3
4
|
export * from './InvitationQueryControllerApi';
|
|
5
|
+
export * from './LeadControllerApi';
|
|
6
|
+
export * from './LeadQueryControllerApi';
|
|
4
7
|
export * from './MemberControllerApi';
|
|
5
8
|
export * from './MemberQueryControllerApi';
|
|
6
9
|
export * from './PublicAgencyControllerApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -17,8 +17,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AgencyControllerApi"), exports);
|
|
20
|
+
__exportStar(require("./AgencyQueryControllerApi"), exports);
|
|
20
21
|
__exportStar(require("./InvitationControllerApi"), exports);
|
|
21
22
|
__exportStar(require("./InvitationQueryControllerApi"), exports);
|
|
23
|
+
__exportStar(require("./LeadControllerApi"), exports);
|
|
24
|
+
__exportStar(require("./LeadQueryControllerApi"), exports);
|
|
22
25
|
__exportStar(require("./MemberControllerApi"), exports);
|
|
23
26
|
__exportStar(require("./MemberQueryControllerApi"), exports);
|
|
24
27
|
__exportStar(require("./PublicAgencyControllerApi"), exports);
|
|
@@ -0,0 +1,46 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { AgencyProfileResponse } from '../models/index';
|
|
14
|
+
export interface GetAgencyRequest {
|
|
15
|
+
agencyId: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* AgencyQueryControllerApi - interface
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface AgencyQueryControllerApiInterface
|
|
22
|
+
*/
|
|
23
|
+
export interface AgencyQueryControllerApiInterface {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param {string} agencyId
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
* @memberof AgencyQueryControllerApiInterface
|
|
30
|
+
*/
|
|
31
|
+
getAgencyRaw(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgencyProfileResponse>>;
|
|
32
|
+
/**
|
|
33
|
+
*/
|
|
34
|
+
getAgency(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgencyProfileResponse>;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
export declare class AgencyQueryControllerApi extends runtime.BaseAPI implements AgencyQueryControllerApiInterface {
|
|
40
|
+
/**
|
|
41
|
+
*/
|
|
42
|
+
getAgencyRaw(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgencyProfileResponse>>;
|
|
43
|
+
/**
|
|
44
|
+
*/
|
|
45
|
+
getAgency(requestParameters: GetAgencyRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgencyProfileResponse>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Service API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { AgencyProfileResponseFromJSON, } from '../models/index';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class AgencyQueryControllerApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
*/
|
|
31
|
+
getAgencyRaw(requestParameters, initOverrides) {
|
|
32
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
33
|
+
if (requestParameters['agencyId'] == null) {
|
|
34
|
+
throw new runtime.RequiredError('agencyId', 'Required parameter "agencyId" was null or undefined when calling getAgency().');
|
|
35
|
+
}
|
|
36
|
+
const queryParameters = {};
|
|
37
|
+
const headerParameters = {};
|
|
38
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
39
|
+
// oauth required
|
|
40
|
+
headerParameters["Authorization"] = yield this.configuration.accessToken("keycloak", []);
|
|
41
|
+
}
|
|
42
|
+
let urlPath = `/agency/{agencyId}`;
|
|
43
|
+
urlPath = urlPath.replace(`{${"agencyId"}}`, encodeURIComponent(String(requestParameters['agencyId'])));
|
|
44
|
+
const response = yield this.request({
|
|
45
|
+
path: urlPath,
|
|
46
|
+
method: 'GET',
|
|
47
|
+
headers: headerParameters,
|
|
48
|
+
query: queryParameters,
|
|
49
|
+
}, initOverrides);
|
|
50
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AgencyProfileResponseFromJSON(jsonValue));
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
*/
|
|
55
|
+
getAgency(requestParameters, initOverrides) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
const response = yield this.getAgencyRaw(requestParameters, initOverrides);
|
|
58
|
+
return yield response.value();
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,280 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { AssignToMemberRequest, ChangeStatusRequest, ContactInfoRequest, CreateLeadRequest, IdResponse, ListingIntentRequest, SearchIntentRequest, SourceRequest, UpdateNoteRequest } from '../models/index';
|
|
14
|
+
export interface AddListingIntentRequest {
|
|
15
|
+
leadId: string;
|
|
16
|
+
listingIntentRequest: ListingIntentRequest;
|
|
17
|
+
}
|
|
18
|
+
export interface AddSearchIntentRequest {
|
|
19
|
+
leadId: string;
|
|
20
|
+
searchIntentRequest: SearchIntentRequest;
|
|
21
|
+
}
|
|
22
|
+
export interface AssignToAgentRequest {
|
|
23
|
+
leadId: string;
|
|
24
|
+
assignToMemberRequest: AssignToMemberRequest;
|
|
25
|
+
}
|
|
26
|
+
export interface ChangeStatusOperationRequest {
|
|
27
|
+
leadId: string;
|
|
28
|
+
changeStatusRequest: ChangeStatusRequest;
|
|
29
|
+
}
|
|
30
|
+
export interface CreateLeadOperationRequest {
|
|
31
|
+
createLeadRequest: CreateLeadRequest;
|
|
32
|
+
}
|
|
33
|
+
export interface RemoveIntentRequest {
|
|
34
|
+
leadId: string;
|
|
35
|
+
index: number;
|
|
36
|
+
type: RemoveIntentTypeEnum;
|
|
37
|
+
}
|
|
38
|
+
export interface UpdateContactInfoRequest {
|
|
39
|
+
leadId: string;
|
|
40
|
+
contactInfoRequest: ContactInfoRequest;
|
|
41
|
+
}
|
|
42
|
+
export interface UpdateListingIntentRequest {
|
|
43
|
+
leadId: string;
|
|
44
|
+
index: number;
|
|
45
|
+
listingIntentRequest: ListingIntentRequest;
|
|
46
|
+
}
|
|
47
|
+
export interface UpdateNoteOperationRequest {
|
|
48
|
+
leadId: string;
|
|
49
|
+
updateNoteRequest: UpdateNoteRequest;
|
|
50
|
+
}
|
|
51
|
+
export interface UpdateSearchIntentRequest {
|
|
52
|
+
leadId: string;
|
|
53
|
+
index: number;
|
|
54
|
+
searchIntentRequest: SearchIntentRequest;
|
|
55
|
+
}
|
|
56
|
+
export interface UpdateSourceRequest {
|
|
57
|
+
leadId: string;
|
|
58
|
+
sourceRequest: SourceRequest;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* LeadControllerApi - interface
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
* @interface LeadControllerApiInterface
|
|
65
|
+
*/
|
|
66
|
+
export interface LeadControllerApiInterface {
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @param {string} leadId
|
|
70
|
+
* @param {ListingIntentRequest} listingIntentRequest
|
|
71
|
+
* @param {*} [options] Override http request option.
|
|
72
|
+
* @throws {RequiredError}
|
|
73
|
+
* @memberof LeadControllerApiInterface
|
|
74
|
+
*/
|
|
75
|
+
addListingIntentRaw(requestParameters: AddListingIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
76
|
+
/**
|
|
77
|
+
*/
|
|
78
|
+
addListingIntent(requestParameters: AddListingIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @param {string} leadId
|
|
82
|
+
* @param {SearchIntentRequest} searchIntentRequest
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
* @memberof LeadControllerApiInterface
|
|
86
|
+
*/
|
|
87
|
+
addSearchIntentRaw(requestParameters: AddSearchIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
88
|
+
/**
|
|
89
|
+
*/
|
|
90
|
+
addSearchIntent(requestParameters: AddSearchIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
* @param {string} leadId
|
|
94
|
+
* @param {AssignToMemberRequest} assignToMemberRequest
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
* @memberof LeadControllerApiInterface
|
|
98
|
+
*/
|
|
99
|
+
assignToAgentRaw(requestParameters: AssignToAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
100
|
+
/**
|
|
101
|
+
*/
|
|
102
|
+
assignToAgent(requestParameters: AssignToAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @param {string} leadId
|
|
106
|
+
* @param {ChangeStatusRequest} changeStatusRequest
|
|
107
|
+
* @param {*} [options] Override http request option.
|
|
108
|
+
* @throws {RequiredError}
|
|
109
|
+
* @memberof LeadControllerApiInterface
|
|
110
|
+
*/
|
|
111
|
+
changeStatusRaw(requestParameters: ChangeStatusOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
112
|
+
/**
|
|
113
|
+
*/
|
|
114
|
+
changeStatus(requestParameters: ChangeStatusOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @param {CreateLeadRequest} createLeadRequest
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
* @memberof LeadControllerApiInterface
|
|
121
|
+
*/
|
|
122
|
+
createLeadRaw(requestParameters: CreateLeadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdResponse>>;
|
|
123
|
+
/**
|
|
124
|
+
*/
|
|
125
|
+
createLead(requestParameters: CreateLeadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponse>;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @param {string} leadId
|
|
129
|
+
* @param {number} index
|
|
130
|
+
* @param {'SEARCH' | 'LISTING'} type
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
* @memberof LeadControllerApiInterface
|
|
134
|
+
*/
|
|
135
|
+
removeIntentRaw(requestParameters: RemoveIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
136
|
+
/**
|
|
137
|
+
*/
|
|
138
|
+
removeIntent(requestParameters: RemoveIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @param {string} leadId
|
|
142
|
+
* @param {ContactInfoRequest} contactInfoRequest
|
|
143
|
+
* @param {*} [options] Override http request option.
|
|
144
|
+
* @throws {RequiredError}
|
|
145
|
+
* @memberof LeadControllerApiInterface
|
|
146
|
+
*/
|
|
147
|
+
updateContactInfoRaw(requestParameters: UpdateContactInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
148
|
+
/**
|
|
149
|
+
*/
|
|
150
|
+
updateContactInfo(requestParameters: UpdateContactInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @param {string} leadId
|
|
154
|
+
* @param {number} index
|
|
155
|
+
* @param {ListingIntentRequest} listingIntentRequest
|
|
156
|
+
* @param {*} [options] Override http request option.
|
|
157
|
+
* @throws {RequiredError}
|
|
158
|
+
* @memberof LeadControllerApiInterface
|
|
159
|
+
*/
|
|
160
|
+
updateListingIntentRaw(requestParameters: UpdateListingIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
161
|
+
/**
|
|
162
|
+
*/
|
|
163
|
+
updateListingIntent(requestParameters: UpdateListingIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @param {string} leadId
|
|
167
|
+
* @param {UpdateNoteRequest} updateNoteRequest
|
|
168
|
+
* @param {*} [options] Override http request option.
|
|
169
|
+
* @throws {RequiredError}
|
|
170
|
+
* @memberof LeadControllerApiInterface
|
|
171
|
+
*/
|
|
172
|
+
updateNoteRaw(requestParameters: UpdateNoteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
173
|
+
/**
|
|
174
|
+
*/
|
|
175
|
+
updateNote(requestParameters: UpdateNoteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @param {string} leadId
|
|
179
|
+
* @param {number} index
|
|
180
|
+
* @param {SearchIntentRequest} searchIntentRequest
|
|
181
|
+
* @param {*} [options] Override http request option.
|
|
182
|
+
* @throws {RequiredError}
|
|
183
|
+
* @memberof LeadControllerApiInterface
|
|
184
|
+
*/
|
|
185
|
+
updateSearchIntentRaw(requestParameters: UpdateSearchIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
186
|
+
/**
|
|
187
|
+
*/
|
|
188
|
+
updateSearchIntent(requestParameters: UpdateSearchIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @param {string} leadId
|
|
192
|
+
* @param {SourceRequest} sourceRequest
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
* @memberof LeadControllerApiInterface
|
|
196
|
+
*/
|
|
197
|
+
updateSourceRaw(requestParameters: UpdateSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
198
|
+
/**
|
|
199
|
+
*/
|
|
200
|
+
updateSource(requestParameters: UpdateSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
*/
|
|
205
|
+
export declare class LeadControllerApi extends runtime.BaseAPI implements LeadControllerApiInterface {
|
|
206
|
+
/**
|
|
207
|
+
*/
|
|
208
|
+
addListingIntentRaw(requestParameters: AddListingIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
209
|
+
/**
|
|
210
|
+
*/
|
|
211
|
+
addListingIntent(requestParameters: AddListingIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
212
|
+
/**
|
|
213
|
+
*/
|
|
214
|
+
addSearchIntentRaw(requestParameters: AddSearchIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
215
|
+
/**
|
|
216
|
+
*/
|
|
217
|
+
addSearchIntent(requestParameters: AddSearchIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
218
|
+
/**
|
|
219
|
+
*/
|
|
220
|
+
assignToAgentRaw(requestParameters: AssignToAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
221
|
+
/**
|
|
222
|
+
*/
|
|
223
|
+
assignToAgent(requestParameters: AssignToAgentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
224
|
+
/**
|
|
225
|
+
*/
|
|
226
|
+
changeStatusRaw(requestParameters: ChangeStatusOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
227
|
+
/**
|
|
228
|
+
*/
|
|
229
|
+
changeStatus(requestParameters: ChangeStatusOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
230
|
+
/**
|
|
231
|
+
*/
|
|
232
|
+
createLeadRaw(requestParameters: CreateLeadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IdResponse>>;
|
|
233
|
+
/**
|
|
234
|
+
*/
|
|
235
|
+
createLead(requestParameters: CreateLeadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IdResponse>;
|
|
236
|
+
/**
|
|
237
|
+
*/
|
|
238
|
+
removeIntentRaw(requestParameters: RemoveIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
239
|
+
/**
|
|
240
|
+
*/
|
|
241
|
+
removeIntent(requestParameters: RemoveIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
242
|
+
/**
|
|
243
|
+
*/
|
|
244
|
+
updateContactInfoRaw(requestParameters: UpdateContactInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
245
|
+
/**
|
|
246
|
+
*/
|
|
247
|
+
updateContactInfo(requestParameters: UpdateContactInfoRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
248
|
+
/**
|
|
249
|
+
*/
|
|
250
|
+
updateListingIntentRaw(requestParameters: UpdateListingIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
251
|
+
/**
|
|
252
|
+
*/
|
|
253
|
+
updateListingIntent(requestParameters: UpdateListingIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
254
|
+
/**
|
|
255
|
+
*/
|
|
256
|
+
updateNoteRaw(requestParameters: UpdateNoteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
257
|
+
/**
|
|
258
|
+
*/
|
|
259
|
+
updateNote(requestParameters: UpdateNoteOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
260
|
+
/**
|
|
261
|
+
*/
|
|
262
|
+
updateSearchIntentRaw(requestParameters: UpdateSearchIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
263
|
+
/**
|
|
264
|
+
*/
|
|
265
|
+
updateSearchIntent(requestParameters: UpdateSearchIntentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
266
|
+
/**
|
|
267
|
+
*/
|
|
268
|
+
updateSourceRaw(requestParameters: UpdateSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
269
|
+
/**
|
|
270
|
+
*/
|
|
271
|
+
updateSource(requestParameters: UpdateSourceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* @export
|
|
275
|
+
*/
|
|
276
|
+
export declare const RemoveIntentTypeEnum: {
|
|
277
|
+
readonly Search: "SEARCH";
|
|
278
|
+
readonly Listing: "LISTING";
|
|
279
|
+
};
|
|
280
|
+
export type RemoveIntentTypeEnum = typeof RemoveIntentTypeEnum[keyof typeof RemoveIntentTypeEnum];
|