@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
|
@@ -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 AssignToMemberRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface AssignToMemberRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AssignToMemberRequest
|
|
22
|
+
*/
|
|
23
|
+
memberId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the AssignToMemberRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfAssignToMemberRequest(value: object): value is AssignToMemberRequest;
|
|
29
|
+
export declare function AssignToMemberRequestFromJSON(json: any): AssignToMemberRequest;
|
|
30
|
+
export declare function AssignToMemberRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AssignToMemberRequest;
|
|
31
|
+
export declare function AssignToMemberRequestToJSON(json: any): AssignToMemberRequest;
|
|
32
|
+
export declare function AssignToMemberRequestToJSONTyped(value?: AssignToMemberRequest | 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.instanceOfAssignToMemberRequest = instanceOfAssignToMemberRequest;
|
|
17
|
+
exports.AssignToMemberRequestFromJSON = AssignToMemberRequestFromJSON;
|
|
18
|
+
exports.AssignToMemberRequestFromJSONTyped = AssignToMemberRequestFromJSONTyped;
|
|
19
|
+
exports.AssignToMemberRequestToJSON = AssignToMemberRequestToJSON;
|
|
20
|
+
exports.AssignToMemberRequestToJSONTyped = AssignToMemberRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AssignToMemberRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAssignToMemberRequest(value) {
|
|
25
|
+
if (!('memberId' in value) || value['memberId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function AssignToMemberRequestFromJSON(json) {
|
|
30
|
+
return AssignToMemberRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function AssignToMemberRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'memberId': json['memberId'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function AssignToMemberRequestToJSON(json) {
|
|
41
|
+
return AssignToMemberRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AssignToMemberRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'memberId': value['memberId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 ChangeStatusRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ChangeStatusRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ChangeStatusRequest
|
|
22
|
+
*/
|
|
23
|
+
status: ChangeStatusRequestStatusEnum;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export declare const ChangeStatusRequestStatusEnum: {
|
|
29
|
+
readonly New: "NEW";
|
|
30
|
+
readonly AttemptedContact: "ATTEMPTED_CONTACT";
|
|
31
|
+
readonly Contacted: "CONTACTED";
|
|
32
|
+
readonly Disqualified: "DISQUALIFIED";
|
|
33
|
+
readonly Converted: "CONVERTED";
|
|
34
|
+
readonly Lost: "LOST";
|
|
35
|
+
};
|
|
36
|
+
export type ChangeStatusRequestStatusEnum = typeof ChangeStatusRequestStatusEnum[keyof typeof ChangeStatusRequestStatusEnum];
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ChangeStatusRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfChangeStatusRequest(value: object): value is ChangeStatusRequest;
|
|
41
|
+
export declare function ChangeStatusRequestFromJSON(json: any): ChangeStatusRequest;
|
|
42
|
+
export declare function ChangeStatusRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ChangeStatusRequest;
|
|
43
|
+
export declare function ChangeStatusRequestToJSON(json: any): ChangeStatusRequest;
|
|
44
|
+
export declare function ChangeStatusRequestToJSONTyped(value?: ChangeStatusRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.ChangeStatusRequestStatusEnum = void 0;
|
|
17
|
+
exports.instanceOfChangeStatusRequest = instanceOfChangeStatusRequest;
|
|
18
|
+
exports.ChangeStatusRequestFromJSON = ChangeStatusRequestFromJSON;
|
|
19
|
+
exports.ChangeStatusRequestFromJSONTyped = ChangeStatusRequestFromJSONTyped;
|
|
20
|
+
exports.ChangeStatusRequestToJSON = ChangeStatusRequestToJSON;
|
|
21
|
+
exports.ChangeStatusRequestToJSONTyped = ChangeStatusRequestToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.ChangeStatusRequestStatusEnum = {
|
|
26
|
+
New: 'NEW',
|
|
27
|
+
AttemptedContact: 'ATTEMPTED_CONTACT',
|
|
28
|
+
Contacted: 'CONTACTED',
|
|
29
|
+
Disqualified: 'DISQUALIFIED',
|
|
30
|
+
Converted: 'CONVERTED',
|
|
31
|
+
Lost: 'LOST'
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the ChangeStatusRequest interface.
|
|
35
|
+
*/
|
|
36
|
+
function instanceOfChangeStatusRequest(value) {
|
|
37
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
return true;
|
|
40
|
+
}
|
|
41
|
+
function ChangeStatusRequestFromJSON(json) {
|
|
42
|
+
return ChangeStatusRequestFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function ChangeStatusRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
if (json == null) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'status': json['status'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function ChangeStatusRequestToJSON(json) {
|
|
53
|
+
return ChangeStatusRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function ChangeStatusRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'status': value['status'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 ContactInfoRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ContactInfoRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ContactInfoRequest
|
|
22
|
+
*/
|
|
23
|
+
firstName?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ContactInfoRequest
|
|
28
|
+
*/
|
|
29
|
+
lastName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ContactInfoRequest
|
|
34
|
+
*/
|
|
35
|
+
email?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ContactInfoRequest
|
|
40
|
+
*/
|
|
41
|
+
phone: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the ContactInfoRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfContactInfoRequest(value: object): value is ContactInfoRequest;
|
|
47
|
+
export declare function ContactInfoRequestFromJSON(json: any): ContactInfoRequest;
|
|
48
|
+
export declare function ContactInfoRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContactInfoRequest;
|
|
49
|
+
export declare function ContactInfoRequestToJSON(json: any): ContactInfoRequest;
|
|
50
|
+
export declare function ContactInfoRequestToJSONTyped(value?: ContactInfoRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfContactInfoRequest = instanceOfContactInfoRequest;
|
|
17
|
+
exports.ContactInfoRequestFromJSON = ContactInfoRequestFromJSON;
|
|
18
|
+
exports.ContactInfoRequestFromJSONTyped = ContactInfoRequestFromJSONTyped;
|
|
19
|
+
exports.ContactInfoRequestToJSON = ContactInfoRequestToJSON;
|
|
20
|
+
exports.ContactInfoRequestToJSONTyped = ContactInfoRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ContactInfoRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfContactInfoRequest(value) {
|
|
25
|
+
if (!('phone' in value) || value['phone'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ContactInfoRequestFromJSON(json) {
|
|
30
|
+
return ContactInfoRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ContactInfoRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
38
|
+
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
39
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
40
|
+
'phone': json['phone'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function ContactInfoRequestToJSON(json) {
|
|
44
|
+
return ContactInfoRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function ContactInfoRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'firstName': value['firstName'],
|
|
52
|
+
'lastName': value['lastName'],
|
|
53
|
+
'email': value['email'],
|
|
54
|
+
'phone': value['phone'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Service API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CoordinatesRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface CoordinatesRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CoordinatesRequest
|
|
22
|
+
*/
|
|
23
|
+
lat: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof CoordinatesRequest
|
|
28
|
+
*/
|
|
29
|
+
lng: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the CoordinatesRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfCoordinatesRequest(value: object): value is CoordinatesRequest;
|
|
35
|
+
export declare function CoordinatesRequestFromJSON(json: any): CoordinatesRequest;
|
|
36
|
+
export declare function CoordinatesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoordinatesRequest;
|
|
37
|
+
export declare function CoordinatesRequestToJSON(json: any): CoordinatesRequest;
|
|
38
|
+
export declare function CoordinatesRequestToJSONTyped(value?: CoordinatesRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Service API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCoordinatesRequest = instanceOfCoordinatesRequest;
|
|
17
|
+
exports.CoordinatesRequestFromJSON = CoordinatesRequestFromJSON;
|
|
18
|
+
exports.CoordinatesRequestFromJSONTyped = CoordinatesRequestFromJSONTyped;
|
|
19
|
+
exports.CoordinatesRequestToJSON = CoordinatesRequestToJSON;
|
|
20
|
+
exports.CoordinatesRequestToJSONTyped = CoordinatesRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CoordinatesRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCoordinatesRequest(value) {
|
|
25
|
+
if (!('lat' in value) || value['lat'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('lng' in value) || value['lng'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CoordinatesRequestFromJSON(json) {
|
|
32
|
+
return CoordinatesRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CoordinatesRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'lat': json['lat'],
|
|
40
|
+
'lng': json['lng'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CoordinatesRequestToJSON(json) {
|
|
44
|
+
return CoordinatesRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CoordinatesRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'lat': value['lat'],
|
|
52
|
+
'lng': value['lng'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { ContactInfoRequest } from './ContactInfoRequest';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CreateLeadRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateLeadRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ContactInfoRequest}
|
|
22
|
+
* @memberof CreateLeadRequest
|
|
23
|
+
*/
|
|
24
|
+
contactInfo: ContactInfoRequest;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CreateLeadRequest
|
|
29
|
+
*/
|
|
30
|
+
note?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof CreateLeadRequest
|
|
35
|
+
*/
|
|
36
|
+
sourceUrl?: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the CreateLeadRequest interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfCreateLeadRequest(value: object): value is CreateLeadRequest;
|
|
42
|
+
export declare function CreateLeadRequestFromJSON(json: any): CreateLeadRequest;
|
|
43
|
+
export declare function CreateLeadRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateLeadRequest;
|
|
44
|
+
export declare function CreateLeadRequestToJSON(json: any): CreateLeadRequest;
|
|
45
|
+
export declare function CreateLeadRequestToJSONTyped(value?: CreateLeadRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfCreateLeadRequest = instanceOfCreateLeadRequest;
|
|
17
|
+
exports.CreateLeadRequestFromJSON = CreateLeadRequestFromJSON;
|
|
18
|
+
exports.CreateLeadRequestFromJSONTyped = CreateLeadRequestFromJSONTyped;
|
|
19
|
+
exports.CreateLeadRequestToJSON = CreateLeadRequestToJSON;
|
|
20
|
+
exports.CreateLeadRequestToJSONTyped = CreateLeadRequestToJSONTyped;
|
|
21
|
+
const ContactInfoRequest_1 = require("./ContactInfoRequest");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CreateLeadRequest interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCreateLeadRequest(value) {
|
|
26
|
+
if (!('contactInfo' in value) || value['contactInfo'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function CreateLeadRequestFromJSON(json) {
|
|
31
|
+
return CreateLeadRequestFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function CreateLeadRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'contactInfo': (0, ContactInfoRequest_1.ContactInfoRequestFromJSON)(json['contactInfo']),
|
|
39
|
+
'note': json['note'] == null ? undefined : json['note'],
|
|
40
|
+
'sourceUrl': json['sourceUrl'] == null ? undefined : json['sourceUrl'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CreateLeadRequestToJSON(json) {
|
|
44
|
+
return CreateLeadRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CreateLeadRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'contactInfo': (0, ContactInfoRequest_1.ContactInfoRequestToJSON)(value['contactInfo']),
|
|
52
|
+
'note': value['note'],
|
|
53
|
+
'sourceUrl': value['sourceUrl'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
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 { ListingIntentResponse } from './ListingIntentResponse';
|
|
13
|
+
import type { SearchIntentResponse } from './SearchIntentResponse';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface LeadProjectionResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface LeadProjectionResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof LeadProjectionResponse
|
|
24
|
+
*/
|
|
25
|
+
id: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof LeadProjectionResponse
|
|
30
|
+
*/
|
|
31
|
+
createdBy: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof LeadProjectionResponse
|
|
36
|
+
*/
|
|
37
|
+
assignedTo?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof LeadProjectionResponse
|
|
42
|
+
*/
|
|
43
|
+
status: LeadProjectionResponseStatusEnum;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof LeadProjectionResponse
|
|
48
|
+
*/
|
|
49
|
+
contactFullName?: string;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof LeadProjectionResponse
|
|
54
|
+
*/
|
|
55
|
+
contactPhoneNumber: string;
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof LeadProjectionResponse
|
|
60
|
+
*/
|
|
61
|
+
contactEmail?: string;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof LeadProjectionResponse
|
|
66
|
+
*/
|
|
67
|
+
noteTitle?: string;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof LeadProjectionResponse
|
|
72
|
+
*/
|
|
73
|
+
noteContent?: string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof LeadProjectionResponse
|
|
78
|
+
*/
|
|
79
|
+
sourceType?: string;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof LeadProjectionResponse
|
|
84
|
+
*/
|
|
85
|
+
sourceLink?: string;
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
* @memberof LeadProjectionResponse
|
|
90
|
+
*/
|
|
91
|
+
isSearcher: boolean;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {boolean}
|
|
95
|
+
* @memberof LeadProjectionResponse
|
|
96
|
+
*/
|
|
97
|
+
isLister: boolean;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {Array<SearchIntentResponse>}
|
|
101
|
+
* @memberof LeadProjectionResponse
|
|
102
|
+
*/
|
|
103
|
+
searchIntents?: Array<SearchIntentResponse>;
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @type {Array<ListingIntentResponse>}
|
|
107
|
+
* @memberof LeadProjectionResponse
|
|
108
|
+
*/
|
|
109
|
+
listingIntents?: Array<ListingIntentResponse>;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* @export
|
|
113
|
+
*/
|
|
114
|
+
export declare const LeadProjectionResponseStatusEnum: {
|
|
115
|
+
readonly New: "NEW";
|
|
116
|
+
readonly AttemptedContact: "ATTEMPTED_CONTACT";
|
|
117
|
+
readonly Contacted: "CONTACTED";
|
|
118
|
+
readonly Disqualified: "DISQUALIFIED";
|
|
119
|
+
readonly Converted: "CONVERTED";
|
|
120
|
+
readonly Lost: "LOST";
|
|
121
|
+
};
|
|
122
|
+
export type LeadProjectionResponseStatusEnum = typeof LeadProjectionResponseStatusEnum[keyof typeof LeadProjectionResponseStatusEnum];
|
|
123
|
+
/**
|
|
124
|
+
* Check if a given object implements the LeadProjectionResponse interface.
|
|
125
|
+
*/
|
|
126
|
+
export declare function instanceOfLeadProjectionResponse(value: object): value is LeadProjectionResponse;
|
|
127
|
+
export declare function LeadProjectionResponseFromJSON(json: any): LeadProjectionResponse;
|
|
128
|
+
export declare function LeadProjectionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LeadProjectionResponse;
|
|
129
|
+
export declare function LeadProjectionResponseToJSON(json: any): LeadProjectionResponse;
|
|
130
|
+
export declare function LeadProjectionResponseToJSONTyped(value?: LeadProjectionResponse | null, ignoreDiscriminator?: boolean): any;
|