@d19n/youfibre-odin-sdk 1.0.75 → 1.0.76
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/dist/api-sdk-v2/LeadApi.d.ts +4 -4
- package/dist/api-sdk-v2/LeadApi.js +4 -4
- package/dist/db-sdk-v2/ContactDb.d.ts +15 -15
- package/dist/db-sdk-v2/ContactDb.js +15 -15
- package/dist/entities-v2/Contact.d.ts +77 -77
- package/dist/entities-v2/Contact.js +61 -61
- package/dist/entities-v2/Lead.d.ts +53 -52
- package/dist/entities-v2/Lead.js +30 -30
- package/package.json +2 -2
- package/src/api-sdk-v2/LeadApi.ts +18 -18
- package/src/db-sdk-v2/ContactDb.ts +87 -87
- package/src/entities-v2/Contact.ts +100 -100
- package/src/entities-v2/Lead.ts +75 -74
|
@@ -19,11 +19,6 @@ import { FingerprintProperties } from './Fingerprint';
|
|
|
19
19
|
export declare enum LeadEntityTypes {
|
|
20
20
|
DEFAULT = "DEFAULT"
|
|
21
21
|
}
|
|
22
|
-
export declare enum LeadType {
|
|
23
|
-
BUSINESS = "BUSINESS",
|
|
24
|
-
LANDLORD = "LANDLORD",
|
|
25
|
-
RESIDENTIAL = "RESIDENTIAL"
|
|
26
|
-
}
|
|
27
22
|
export declare enum LeadSource {
|
|
28
23
|
COMMUNITY_TEAM = "COMMUNITY_TEAM",
|
|
29
24
|
FACEBOOK = "FACEBOOK",
|
|
@@ -38,78 +33,83 @@ export declare enum LeadSource {
|
|
|
38
33
|
TWITTER = "TWITTER",
|
|
39
34
|
WEBSITE = "WEBSITE"
|
|
40
35
|
}
|
|
36
|
+
export declare enum LeadType {
|
|
37
|
+
BUSINESS = "BUSINESS",
|
|
38
|
+
LANDLORD = "LANDLORD",
|
|
39
|
+
RESIDENTIAL = "RESIDENTIAL"
|
|
40
|
+
}
|
|
41
41
|
export declare enum LeadVisit {
|
|
42
42
|
IN_CONTRACT = "IN_CONTRACT",
|
|
43
43
|
INTERESTED = "INTERESTED",
|
|
44
44
|
NOT_INTERESTED = "NOT_INTERESTED"
|
|
45
45
|
}
|
|
46
46
|
export declare enum LeadPropertyKeys {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
UtmMedium = "UtmMedium",
|
|
52
|
-
UtmCampaign = "UtmCampaign",
|
|
53
|
-
UtmTerm = "UtmTerm",
|
|
54
|
-
UtmContent = "UtmContent",
|
|
55
|
-
UtrNumber = "UTRNumber",
|
|
56
|
-
CompanyPosition = "CompanyPosition",
|
|
47
|
+
AcceptingInstalls = "AcceptingInstalls",
|
|
48
|
+
AddedToMaxContact = "AddedToMaxContact",
|
|
49
|
+
CallCount = "CallCount",
|
|
50
|
+
Comment = "Comment",
|
|
57
51
|
CompanyName = "CompanyName",
|
|
58
|
-
|
|
52
|
+
CompanyPosition = "CompanyPosition",
|
|
53
|
+
ConnexContactId = "ConnexContactId",
|
|
59
54
|
CurrentSpeed = "CurrentSpeed",
|
|
55
|
+
DataSetId = "DataSetId",
|
|
60
56
|
DateOfConsent = "DateOfConsent",
|
|
61
57
|
DsStatus = "DS_Status",
|
|
62
|
-
|
|
58
|
+
EmailAddress = "EmailAddress",
|
|
59
|
+
FirstName = "FirstName",
|
|
60
|
+
IsHot = "IsHot",
|
|
61
|
+
IsPhoneNumberValid = "IsPhoneNumberValid",
|
|
63
62
|
LandingPage = "LandingPage",
|
|
63
|
+
LastName = "LastName",
|
|
64
64
|
Latitude = "Latitude",
|
|
65
|
-
DataSetId = "DataSetId",
|
|
66
65
|
Longitude = "Longitude",
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
IsPhoneNumberValid = "IsPhoneNumberValid",
|
|
66
|
+
MaxContactDeactivated = "MaxContactDeactivated",
|
|
67
|
+
Name = "Name",
|
|
68
|
+
Source = "Source",
|
|
71
69
|
TotalValue = "TotalValue",
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
70
|
+
Type = "Type",
|
|
71
|
+
UtmCampaign = "UtmCampaign",
|
|
72
|
+
UtmContent = "UtmContent",
|
|
73
|
+
UtmMedium = "UtmMedium",
|
|
74
|
+
UtmSource = "UtmSource",
|
|
75
|
+
UtmTerm = "UtmTerm",
|
|
76
|
+
UtrNumber = "UTRNumber",
|
|
77
|
+
Vat = "VAT",
|
|
78
|
+
Visit = "Visit"
|
|
79
79
|
}
|
|
80
80
|
export interface LeadProperties {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
UtmMedium?: string;
|
|
86
|
-
UtmCampaign?: string;
|
|
87
|
-
UtmTerm?: string;
|
|
88
|
-
UtmContent?: string;
|
|
89
|
-
UtrNumber?: string;
|
|
90
|
-
CompanyPosition?: string;
|
|
81
|
+
AcceptingInstalls?: boolean;
|
|
82
|
+
AddedToMaxContact?: boolean;
|
|
83
|
+
CallCount?: number;
|
|
84
|
+
Comment?: string;
|
|
91
85
|
CompanyName?: string;
|
|
92
|
-
|
|
86
|
+
CompanyPosition?: string;
|
|
87
|
+
ConnexContactId?: string;
|
|
93
88
|
CurrentSpeed?: number;
|
|
89
|
+
DataSetId?: string;
|
|
94
90
|
DateOfConsent?: Date;
|
|
95
91
|
DsStatus?: string;
|
|
96
|
-
|
|
92
|
+
EmailAddress: string;
|
|
93
|
+
FirstName?: string;
|
|
94
|
+
IsHot?: boolean;
|
|
95
|
+
IsPhoneNumberValid?: boolean;
|
|
97
96
|
LandingPage?: string;
|
|
97
|
+
LastName?: string;
|
|
98
98
|
Latitude?: string;
|
|
99
|
-
DataSetId?: string;
|
|
100
99
|
Longitude?: string;
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
IsPhoneNumberValid?: boolean;
|
|
100
|
+
MaxContactDeactivated?: boolean;
|
|
101
|
+
Name?: string;
|
|
102
|
+
Source?: LeadSource;
|
|
105
103
|
TotalValue?: number;
|
|
104
|
+
Type: LeadType;
|
|
105
|
+
UtmCampaign?: string;
|
|
106
|
+
UtmContent?: string;
|
|
107
|
+
UtmMedium?: string;
|
|
108
|
+
UtmSource?: string;
|
|
109
|
+
UtmTerm?: string;
|
|
110
|
+
UtrNumber?: string;
|
|
111
|
+
Vat?: number;
|
|
106
112
|
Visit?: LeadVisit;
|
|
107
|
-
IsHot?: boolean;
|
|
108
|
-
Comment?: string;
|
|
109
|
-
EmailAddress: string;
|
|
110
|
-
LastName?: string;
|
|
111
|
-
AddedToMaxContact?: boolean;
|
|
112
|
-
MaxContactDeactivated?: boolean;
|
|
113
113
|
}
|
|
114
114
|
export interface Lead {
|
|
115
115
|
id: string;
|
|
@@ -144,6 +144,7 @@ export interface Lead {
|
|
|
144
144
|
};
|
|
145
145
|
properties: LeadProperties;
|
|
146
146
|
Organization: OdinLink<LinkedOdinRecord<OrganizationProperties>>;
|
|
147
|
+
Lead: OdinLink<LinkedOdinRecord<LeadProperties>>;
|
|
147
148
|
Offer: OdinLink<LinkedOdinRecord<OfferProperties>>;
|
|
148
149
|
Discount: OdinLink<LinkedOdinRecord<DiscountProperties>>;
|
|
149
150
|
Note: OdinLink<LinkedOdinRecord<NoteProperties>>;
|
package/dist/entities-v2/Lead.js
CHANGED
|
@@ -1,17 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateLeadDto = exports.CreateLeadDto = exports.LeadPropertyKeys = exports.LeadVisit = exports.
|
|
3
|
+
exports.UpdateLeadDto = exports.CreateLeadDto = exports.LeadPropertyKeys = exports.LeadVisit = exports.LeadType = exports.LeadSource = exports.LeadEntityTypes = void 0;
|
|
4
4
|
const odin_dtos_1 = require("@d19n/odin-types/dist/dtos/odin.dtos");
|
|
5
5
|
var LeadEntityTypes;
|
|
6
6
|
(function (LeadEntityTypes) {
|
|
7
7
|
LeadEntityTypes["DEFAULT"] = "DEFAULT";
|
|
8
8
|
})(LeadEntityTypes || (exports.LeadEntityTypes = LeadEntityTypes = {}));
|
|
9
|
-
var LeadType;
|
|
10
|
-
(function (LeadType) {
|
|
11
|
-
LeadType["BUSINESS"] = "BUSINESS";
|
|
12
|
-
LeadType["LANDLORD"] = "LANDLORD";
|
|
13
|
-
LeadType["RESIDENTIAL"] = "RESIDENTIAL";
|
|
14
|
-
})(LeadType || (exports.LeadType = LeadType = {}));
|
|
15
9
|
var LeadSource;
|
|
16
10
|
(function (LeadSource) {
|
|
17
11
|
LeadSource["COMMUNITY_TEAM"] = "COMMUNITY_TEAM";
|
|
@@ -27,6 +21,12 @@ var LeadSource;
|
|
|
27
21
|
LeadSource["TWITTER"] = "TWITTER";
|
|
28
22
|
LeadSource["WEBSITE"] = "WEBSITE";
|
|
29
23
|
})(LeadSource || (exports.LeadSource = LeadSource = {}));
|
|
24
|
+
var LeadType;
|
|
25
|
+
(function (LeadType) {
|
|
26
|
+
LeadType["BUSINESS"] = "BUSINESS";
|
|
27
|
+
LeadType["LANDLORD"] = "LANDLORD";
|
|
28
|
+
LeadType["RESIDENTIAL"] = "RESIDENTIAL";
|
|
29
|
+
})(LeadType || (exports.LeadType = LeadType = {}));
|
|
30
30
|
var LeadVisit;
|
|
31
31
|
(function (LeadVisit) {
|
|
32
32
|
LeadVisit["IN_CONTRACT"] = "IN_CONTRACT";
|
|
@@ -35,38 +35,38 @@ var LeadVisit;
|
|
|
35
35
|
})(LeadVisit || (exports.LeadVisit = LeadVisit = {}));
|
|
36
36
|
var LeadPropertyKeys;
|
|
37
37
|
(function (LeadPropertyKeys) {
|
|
38
|
-
LeadPropertyKeys["
|
|
39
|
-
LeadPropertyKeys["
|
|
40
|
-
LeadPropertyKeys["
|
|
41
|
-
LeadPropertyKeys["
|
|
42
|
-
LeadPropertyKeys["UtmMedium"] = "UtmMedium";
|
|
43
|
-
LeadPropertyKeys["UtmCampaign"] = "UtmCampaign";
|
|
44
|
-
LeadPropertyKeys["UtmTerm"] = "UtmTerm";
|
|
45
|
-
LeadPropertyKeys["UtmContent"] = "UtmContent";
|
|
46
|
-
LeadPropertyKeys["UtrNumber"] = "UTRNumber";
|
|
47
|
-
LeadPropertyKeys["CompanyPosition"] = "CompanyPosition";
|
|
38
|
+
LeadPropertyKeys["AcceptingInstalls"] = "AcceptingInstalls";
|
|
39
|
+
LeadPropertyKeys["AddedToMaxContact"] = "AddedToMaxContact";
|
|
40
|
+
LeadPropertyKeys["CallCount"] = "CallCount";
|
|
41
|
+
LeadPropertyKeys["Comment"] = "Comment";
|
|
48
42
|
LeadPropertyKeys["CompanyName"] = "CompanyName";
|
|
49
|
-
LeadPropertyKeys["
|
|
43
|
+
LeadPropertyKeys["CompanyPosition"] = "CompanyPosition";
|
|
44
|
+
LeadPropertyKeys["ConnexContactId"] = "ConnexContactId";
|
|
50
45
|
LeadPropertyKeys["CurrentSpeed"] = "CurrentSpeed";
|
|
46
|
+
LeadPropertyKeys["DataSetId"] = "DataSetId";
|
|
51
47
|
LeadPropertyKeys["DateOfConsent"] = "DateOfConsent";
|
|
52
48
|
LeadPropertyKeys["DsStatus"] = "DS_Status";
|
|
53
|
-
LeadPropertyKeys["
|
|
49
|
+
LeadPropertyKeys["EmailAddress"] = "EmailAddress";
|
|
50
|
+
LeadPropertyKeys["FirstName"] = "FirstName";
|
|
51
|
+
LeadPropertyKeys["IsHot"] = "IsHot";
|
|
52
|
+
LeadPropertyKeys["IsPhoneNumberValid"] = "IsPhoneNumberValid";
|
|
54
53
|
LeadPropertyKeys["LandingPage"] = "LandingPage";
|
|
54
|
+
LeadPropertyKeys["LastName"] = "LastName";
|
|
55
55
|
LeadPropertyKeys["Latitude"] = "Latitude";
|
|
56
|
-
LeadPropertyKeys["DataSetId"] = "DataSetId";
|
|
57
56
|
LeadPropertyKeys["Longitude"] = "Longitude";
|
|
58
|
-
LeadPropertyKeys["
|
|
59
|
-
LeadPropertyKeys["
|
|
60
|
-
LeadPropertyKeys["
|
|
61
|
-
LeadPropertyKeys["IsPhoneNumberValid"] = "IsPhoneNumberValid";
|
|
57
|
+
LeadPropertyKeys["MaxContactDeactivated"] = "MaxContactDeactivated";
|
|
58
|
+
LeadPropertyKeys["Name"] = "Name";
|
|
59
|
+
LeadPropertyKeys["Source"] = "Source";
|
|
62
60
|
LeadPropertyKeys["TotalValue"] = "TotalValue";
|
|
61
|
+
LeadPropertyKeys["Type"] = "Type";
|
|
62
|
+
LeadPropertyKeys["UtmCampaign"] = "UtmCampaign";
|
|
63
|
+
LeadPropertyKeys["UtmContent"] = "UtmContent";
|
|
64
|
+
LeadPropertyKeys["UtmMedium"] = "UtmMedium";
|
|
65
|
+
LeadPropertyKeys["UtmSource"] = "UtmSource";
|
|
66
|
+
LeadPropertyKeys["UtmTerm"] = "UtmTerm";
|
|
67
|
+
LeadPropertyKeys["UtrNumber"] = "UTRNumber";
|
|
68
|
+
LeadPropertyKeys["Vat"] = "VAT";
|
|
63
69
|
LeadPropertyKeys["Visit"] = "Visit";
|
|
64
|
-
LeadPropertyKeys["IsHot"] = "IsHot";
|
|
65
|
-
LeadPropertyKeys["Comment"] = "Comment";
|
|
66
|
-
LeadPropertyKeys["EmailAddress"] = "EmailAddress";
|
|
67
|
-
LeadPropertyKeys["LastName"] = "LastName";
|
|
68
|
-
LeadPropertyKeys["AddedToMaxContact"] = "AddedToMaxContact";
|
|
69
|
-
LeadPropertyKeys["MaxContactDeactivated"] = "MaxContactDeactivated";
|
|
70
70
|
})(LeadPropertyKeys || (exports.LeadPropertyKeys = LeadPropertyKeys = {}));
|
|
71
71
|
class CreateLeadDto extends odin_dtos_1.OdinRecordCreateDto {
|
|
72
72
|
constructor() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d19n/youfibre-odin-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.76",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "@d19n",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"typescript": "^5.4.5"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@d19n/odin-sdk-generator": "^1.0.
|
|
14
|
+
"@d19n/odin-sdk-generator": "^1.0.96",
|
|
15
15
|
"@d19n/odin-types": "^1.0.13",
|
|
16
16
|
"i": "^0.3.7",
|
|
17
17
|
"npm": "^10.9.1"
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
public readonly contact: ApiRecordLinkManager;
|
|
21
21
|
public readonly commission: ApiRecordLinkManager;
|
|
22
22
|
public readonly file: ApiRecordLinkManager;
|
|
23
|
-
public readonly
|
|
24
|
-
public readonly
|
|
23
|
+
public readonly workorder__lead: ApiRecordLinkManager;
|
|
24
|
+
public readonly crmdataset__lead: ApiRecordLinkManager;
|
|
25
|
+
public readonly call__lead: ApiRecordLinkManager;
|
|
26
|
+
public readonly fingerprint__lead: ApiRecordLinkManager;
|
|
25
27
|
public readonly visit: ApiRecordLinkManager;
|
|
26
28
|
public readonly appointment: ApiRecordLinkManager;
|
|
27
|
-
public readonly call: ApiRecordLinkManager;
|
|
28
29
|
public readonly order: ApiRecordLinkManager;
|
|
29
30
|
public readonly address: ApiRecordLinkManager;
|
|
30
|
-
public readonly fingerprint: ApiRecordLinkManager;
|
|
31
31
|
constructor(authParams?: OauthParams, protected readonly authToken?: string) {
|
|
32
32
|
super(authParams, authToken);
|
|
33
33
|
|
|
@@ -71,16 +71,26 @@
|
|
|
71
71
|
'SchemaModule:File',
|
|
72
72
|
'Lead__File'
|
|
73
73
|
);
|
|
74
|
-
this.
|
|
74
|
+
this.workorder__lead = new ApiRecordLinkManager(
|
|
75
75
|
'CrmModule:Lead',
|
|
76
|
-
'
|
|
76
|
+
'CrmModule:Lead',
|
|
77
77
|
'WorkOrder__Lead'
|
|
78
78
|
);
|
|
79
|
-
this.
|
|
79
|
+
this.crmdataset__lead = new ApiRecordLinkManager(
|
|
80
80
|
'CrmModule:Lead',
|
|
81
|
-
'CrmModule:
|
|
81
|
+
'CrmModule:Lead',
|
|
82
82
|
'CrmDataset__Lead'
|
|
83
83
|
);
|
|
84
|
+
this.call__lead = new ApiRecordLinkManager(
|
|
85
|
+
'CrmModule:Lead',
|
|
86
|
+
'CrmModule:Lead',
|
|
87
|
+
'Call__Lead'
|
|
88
|
+
);
|
|
89
|
+
this.fingerprint__lead = new ApiRecordLinkManager(
|
|
90
|
+
'CrmModule:Lead',
|
|
91
|
+
'CrmModule:Lead',
|
|
92
|
+
'Fingerprint__Lead'
|
|
93
|
+
);
|
|
84
94
|
this.visit = new ApiRecordLinkManager(
|
|
85
95
|
'CrmModule:Lead',
|
|
86
96
|
'CrmModule:Visit',
|
|
@@ -91,11 +101,6 @@
|
|
|
91
101
|
'CrmModule:Appointment',
|
|
92
102
|
'Lead_Appointment'
|
|
93
103
|
);
|
|
94
|
-
this.call = new ApiRecordLinkManager(
|
|
95
|
-
'CrmModule:Lead',
|
|
96
|
-
'NotificationModule:Call',
|
|
97
|
-
'Call__Lead'
|
|
98
|
-
);
|
|
99
104
|
this.order = new ApiRecordLinkManager(
|
|
100
105
|
'CrmModule:Lead',
|
|
101
106
|
'OrderModule:Order',
|
|
@@ -106,11 +111,6 @@
|
|
|
106
111
|
'CrmModule:Address',
|
|
107
112
|
'Lead_Address'
|
|
108
113
|
);
|
|
109
|
-
this.fingerprint = new ApiRecordLinkManager(
|
|
110
|
-
'CrmModule:Lead',
|
|
111
|
-
'CrmModule:Fingerprint',
|
|
112
|
-
'Fingerprint__Lead'
|
|
113
|
-
);
|
|
114
114
|
}
|
|
115
115
|
|
|
116
116
|
|
|
@@ -14,31 +14,31 @@
|
|
|
14
14
|
|
|
15
15
|
private sourceRecord: any;
|
|
16
16
|
|
|
17
|
-
public readonly
|
|
18
|
-
public readonly
|
|
17
|
+
public readonly organization__contact: DbRecordLinkManager;
|
|
18
|
+
public readonly billingcontact: DbRecordLinkManager;
|
|
19
|
+
public readonly workorder__contact: DbRecordLinkManager;
|
|
20
|
+
public readonly order__contact: DbRecordLinkManager;
|
|
21
|
+
public readonly lead__contact: DbRecordLinkManager;
|
|
22
|
+
public readonly invoice__contact: DbRecordLinkManager;
|
|
23
|
+
public readonly commission__contact: DbRecordLinkManager;
|
|
24
|
+
public readonly contact__contact: DbRecordLinkManager;
|
|
25
|
+
public readonly onetouchswitch__contact: DbRecordLinkManager;
|
|
26
|
+
public readonly deactivationapproval__contact: DbRecordLinkManager;
|
|
27
|
+
public readonly orderremediationtask__contact: DbRecordLinkManager;
|
|
28
|
+
public readonly call__contact: DbRecordLinkManager;
|
|
29
|
+
public readonly fingerprint__contact: DbRecordLinkManager;
|
|
30
|
+
public readonly case__contact: DbRecordLinkManager;
|
|
31
|
+
public readonly email_contact: DbRecordLinkManager;
|
|
19
32
|
public readonly activity: DbRecordLinkManager;
|
|
20
33
|
public readonly note: DbRecordLinkManager;
|
|
21
|
-
public readonly workorder: DbRecordLinkManager;
|
|
22
|
-
public readonly order: DbRecordLinkManager;
|
|
23
|
-
public readonly lead: DbRecordLinkManager;
|
|
24
34
|
public readonly address: DbRecordLinkManager;
|
|
25
35
|
public readonly smsmessage: DbRecordLinkManager;
|
|
26
|
-
public readonly invoice: DbRecordLinkManager;
|
|
27
36
|
public readonly billingrequest: DbRecordLinkManager;
|
|
28
37
|
public readonly file: DbRecordLinkManager;
|
|
29
|
-
public readonly commission: DbRecordLinkManager;
|
|
30
|
-
public readonly contact: DbRecordLinkManager;
|
|
31
|
-
public readonly onetouchswitch: DbRecordLinkManager;
|
|
32
38
|
public readonly contactidentity: DbRecordLinkManager;
|
|
33
39
|
public readonly paymentmethodrefund: DbRecordLinkManager;
|
|
34
|
-
public readonly deactivationapproval: DbRecordLinkManager;
|
|
35
40
|
public readonly phonenumber: DbRecordLinkManager;
|
|
36
|
-
public readonly orderremediationtask: DbRecordLinkManager;
|
|
37
41
|
public readonly appointment: DbRecordLinkManager;
|
|
38
|
-
public readonly call: DbRecordLinkManager;
|
|
39
|
-
public readonly fingerprint: DbRecordLinkManager;
|
|
40
|
-
public readonly case: DbRecordLinkManager;
|
|
41
|
-
public readonly email: DbRecordLinkManager;
|
|
42
42
|
public readonly paymentmethod: DbRecordLinkManager;
|
|
43
43
|
constructor(principal: any, dbService: any) {
|
|
44
44
|
super(principal, dbService);
|
|
@@ -46,180 +46,180 @@
|
|
|
46
46
|
this.principal = principal;
|
|
47
47
|
this.dbService = dbService;
|
|
48
48
|
|
|
49
|
-
this.
|
|
49
|
+
this.organization__contact = new DbRecordLinkManager(
|
|
50
50
|
this.principal,
|
|
51
51
|
this.dbService,
|
|
52
52
|
'CrmModule:Contact',
|
|
53
|
-
'CrmModule:
|
|
53
|
+
'CrmModule:Contact',
|
|
54
54
|
'Organization__Contact'
|
|
55
55
|
);
|
|
56
|
-
this.
|
|
56
|
+
this.billingcontact = new DbRecordLinkManager(
|
|
57
57
|
this.principal,
|
|
58
58
|
this.dbService,
|
|
59
59
|
'CrmModule:Contact',
|
|
60
|
-
'CrmModule:
|
|
60
|
+
'CrmModule:Contact',
|
|
61
61
|
'BillingContact'
|
|
62
62
|
);
|
|
63
|
-
this.
|
|
63
|
+
this.workorder__contact = new DbRecordLinkManager(
|
|
64
64
|
this.principal,
|
|
65
65
|
this.dbService,
|
|
66
66
|
'CrmModule:Contact',
|
|
67
|
-
'
|
|
68
|
-
'
|
|
67
|
+
'CrmModule:Contact',
|
|
68
|
+
'WorkOrder__Contact'
|
|
69
69
|
);
|
|
70
|
-
this.
|
|
70
|
+
this.order__contact = new DbRecordLinkManager(
|
|
71
71
|
this.principal,
|
|
72
72
|
this.dbService,
|
|
73
73
|
'CrmModule:Contact',
|
|
74
|
-
'
|
|
75
|
-
'
|
|
74
|
+
'CrmModule:Contact',
|
|
75
|
+
'Order__Contact'
|
|
76
76
|
);
|
|
77
|
-
this.
|
|
77
|
+
this.lead__contact = new DbRecordLinkManager(
|
|
78
78
|
this.principal,
|
|
79
79
|
this.dbService,
|
|
80
80
|
'CrmModule:Contact',
|
|
81
|
-
'
|
|
82
|
-
'
|
|
81
|
+
'CrmModule:Contact',
|
|
82
|
+
'Lead__Contact'
|
|
83
83
|
);
|
|
84
|
-
this.
|
|
84
|
+
this.invoice__contact = new DbRecordLinkManager(
|
|
85
85
|
this.principal,
|
|
86
86
|
this.dbService,
|
|
87
87
|
'CrmModule:Contact',
|
|
88
|
-
'
|
|
89
|
-
'
|
|
88
|
+
'CrmModule:Contact',
|
|
89
|
+
'Invoice__Contact'
|
|
90
90
|
);
|
|
91
|
-
this.
|
|
91
|
+
this.commission__contact = new DbRecordLinkManager(
|
|
92
92
|
this.principal,
|
|
93
93
|
this.dbService,
|
|
94
94
|
'CrmModule:Contact',
|
|
95
|
-
'CrmModule:
|
|
96
|
-
'
|
|
95
|
+
'CrmModule:Contact',
|
|
96
|
+
'Commission__Contact'
|
|
97
97
|
);
|
|
98
|
-
this.
|
|
98
|
+
this.contact__contact = new DbRecordLinkManager(
|
|
99
99
|
this.principal,
|
|
100
100
|
this.dbService,
|
|
101
101
|
'CrmModule:Contact',
|
|
102
|
-
'CrmModule:
|
|
103
|
-
'
|
|
102
|
+
'CrmModule:Contact',
|
|
103
|
+
'Contact__Contact'
|
|
104
104
|
);
|
|
105
|
-
this.
|
|
105
|
+
this.onetouchswitch__contact = new DbRecordLinkManager(
|
|
106
106
|
this.principal,
|
|
107
107
|
this.dbService,
|
|
108
108
|
'CrmModule:Contact',
|
|
109
|
-
'
|
|
110
|
-
'
|
|
109
|
+
'CrmModule:Contact',
|
|
110
|
+
'OneTouchSwitch__Contact'
|
|
111
111
|
);
|
|
112
|
-
this.
|
|
112
|
+
this.deactivationapproval__contact = new DbRecordLinkManager(
|
|
113
113
|
this.principal,
|
|
114
114
|
this.dbService,
|
|
115
115
|
'CrmModule:Contact',
|
|
116
|
-
'
|
|
117
|
-
'
|
|
116
|
+
'CrmModule:Contact',
|
|
117
|
+
'DeactivationApproval__Contact'
|
|
118
118
|
);
|
|
119
|
-
this.
|
|
119
|
+
this.orderremediationtask__contact = new DbRecordLinkManager(
|
|
120
120
|
this.principal,
|
|
121
121
|
this.dbService,
|
|
122
122
|
'CrmModule:Contact',
|
|
123
|
-
'
|
|
124
|
-
'
|
|
123
|
+
'CrmModule:Contact',
|
|
124
|
+
'OrderRemediationTask__Contact'
|
|
125
125
|
);
|
|
126
|
-
this.
|
|
126
|
+
this.call__contact = new DbRecordLinkManager(
|
|
127
127
|
this.principal,
|
|
128
128
|
this.dbService,
|
|
129
129
|
'CrmModule:Contact',
|
|
130
|
-
'
|
|
131
|
-
'
|
|
130
|
+
'CrmModule:Contact',
|
|
131
|
+
'Call__Contact'
|
|
132
132
|
);
|
|
133
|
-
this.
|
|
133
|
+
this.fingerprint__contact = new DbRecordLinkManager(
|
|
134
134
|
this.principal,
|
|
135
135
|
this.dbService,
|
|
136
136
|
'CrmModule:Contact',
|
|
137
|
-
'
|
|
138
|
-
'
|
|
137
|
+
'CrmModule:Contact',
|
|
138
|
+
'Fingerprint__Contact'
|
|
139
139
|
);
|
|
140
|
-
this.
|
|
140
|
+
this.case__contact = new DbRecordLinkManager(
|
|
141
141
|
this.principal,
|
|
142
142
|
this.dbService,
|
|
143
143
|
'CrmModule:Contact',
|
|
144
144
|
'CrmModule:Contact',
|
|
145
|
-
'
|
|
145
|
+
'Case__Contact'
|
|
146
146
|
);
|
|
147
|
-
this.
|
|
147
|
+
this.email_contact = new DbRecordLinkManager(
|
|
148
148
|
this.principal,
|
|
149
149
|
this.dbService,
|
|
150
150
|
'CrmModule:Contact',
|
|
151
|
-
'
|
|
152
|
-
'
|
|
151
|
+
'CrmModule:Contact',
|
|
152
|
+
'Email_Contact'
|
|
153
153
|
);
|
|
154
|
-
this.
|
|
154
|
+
this.activity = new DbRecordLinkManager(
|
|
155
155
|
this.principal,
|
|
156
156
|
this.dbService,
|
|
157
157
|
'CrmModule:Contact',
|
|
158
|
-
'
|
|
159
|
-
'
|
|
158
|
+
'SchemaModule:Activity',
|
|
159
|
+
'Contact__Activity'
|
|
160
160
|
);
|
|
161
|
-
this.
|
|
161
|
+
this.note = new DbRecordLinkManager(
|
|
162
162
|
this.principal,
|
|
163
163
|
this.dbService,
|
|
164
164
|
'CrmModule:Contact',
|
|
165
|
-
'
|
|
166
|
-
'
|
|
165
|
+
'SupportModule:Note',
|
|
166
|
+
'Contact__Note'
|
|
167
167
|
);
|
|
168
|
-
this.
|
|
168
|
+
this.address = new DbRecordLinkManager(
|
|
169
169
|
this.principal,
|
|
170
170
|
this.dbService,
|
|
171
171
|
'CrmModule:Contact',
|
|
172
|
-
'
|
|
173
|
-
'
|
|
172
|
+
'CrmModule:Address',
|
|
173
|
+
'Contact__Address'
|
|
174
174
|
);
|
|
175
|
-
this.
|
|
175
|
+
this.smsmessage = new DbRecordLinkManager(
|
|
176
176
|
this.principal,
|
|
177
177
|
this.dbService,
|
|
178
178
|
'CrmModule:Contact',
|
|
179
|
-
'
|
|
180
|
-
'
|
|
179
|
+
'NotificationModule:SmsMessage',
|
|
180
|
+
'Contact__SmsMessage'
|
|
181
181
|
);
|
|
182
|
-
this.
|
|
182
|
+
this.billingrequest = new DbRecordLinkManager(
|
|
183
183
|
this.principal,
|
|
184
184
|
this.dbService,
|
|
185
185
|
'CrmModule:Contact',
|
|
186
|
-
'
|
|
187
|
-
'
|
|
186
|
+
'BillingModule:BillingRequest',
|
|
187
|
+
'Contact__BillingRequest'
|
|
188
188
|
);
|
|
189
|
-
this.
|
|
189
|
+
this.file = new DbRecordLinkManager(
|
|
190
190
|
this.principal,
|
|
191
191
|
this.dbService,
|
|
192
192
|
'CrmModule:Contact',
|
|
193
|
-
'
|
|
194
|
-
'
|
|
193
|
+
'SchemaModule:File',
|
|
194
|
+
'Contact__File'
|
|
195
195
|
);
|
|
196
|
-
this.
|
|
196
|
+
this.contactidentity = new DbRecordLinkManager(
|
|
197
197
|
this.principal,
|
|
198
198
|
this.dbService,
|
|
199
199
|
'CrmModule:Contact',
|
|
200
|
-
'
|
|
201
|
-
'
|
|
200
|
+
'CrmModule:ContactIdentity',
|
|
201
|
+
'Contact__ContactIdentity'
|
|
202
202
|
);
|
|
203
|
-
this.
|
|
203
|
+
this.paymentmethodrefund = new DbRecordLinkManager(
|
|
204
204
|
this.principal,
|
|
205
205
|
this.dbService,
|
|
206
206
|
'CrmModule:Contact',
|
|
207
|
-
'
|
|
208
|
-
'
|
|
207
|
+
'BillingModule:PaymentMethodRefund',
|
|
208
|
+
'Contact__PaymentMethodRefund'
|
|
209
209
|
);
|
|
210
|
-
this.
|
|
210
|
+
this.phonenumber = new DbRecordLinkManager(
|
|
211
211
|
this.principal,
|
|
212
212
|
this.dbService,
|
|
213
213
|
'CrmModule:Contact',
|
|
214
|
-
'
|
|
215
|
-
'
|
|
214
|
+
'CrmModule:PhoneNumber',
|
|
215
|
+
'Contact__PhoneNumber'
|
|
216
216
|
);
|
|
217
|
-
this.
|
|
217
|
+
this.appointment = new DbRecordLinkManager(
|
|
218
218
|
this.principal,
|
|
219
219
|
this.dbService,
|
|
220
220
|
'CrmModule:Contact',
|
|
221
|
-
'
|
|
222
|
-
'
|
|
221
|
+
'CrmModule:Appointment',
|
|
222
|
+
'Contact__Appointment'
|
|
223
223
|
);
|
|
224
224
|
this.paymentmethod = new DbRecordLinkManager(
|
|
225
225
|
this.principal,
|