@d19n/youfibre-odin-sdk 1.0.31 → 1.0.32
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 +14 -14
- package/dist/db-sdk-v2/ContactDb.js +14 -14
- package/dist/db-sdk-v2/LeadDb.d.ts +4 -4
- package/dist/db-sdk-v2/LeadDb.js +4 -4
- package/package.json +2 -2
- package/src/api-sdk-v2/LeadApi.ts +18 -18
- package/src/db-sdk-v2/ContactDb.ts +86 -86
- package/src/db-sdk-v2/LeadDb.ts +21 -21
|
@@ -16,13 +16,13 @@ export declare class LeadApi extends ApiProvider {
|
|
|
16
16
|
readonly contact: ApiRecordLinkManager;
|
|
17
17
|
readonly commission: ApiRecordLinkManager;
|
|
18
18
|
readonly file: ApiRecordLinkManager;
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
19
|
+
readonly workorder__lead: ApiRecordLinkManager;
|
|
20
|
+
readonly crmdataset__lead: ApiRecordLinkManager;
|
|
21
|
+
readonly call__lead: ApiRecordLinkManager;
|
|
22
|
+
readonly fingerprint__lead: ApiRecordLinkManager;
|
|
21
23
|
readonly appointment: ApiRecordLinkManager;
|
|
22
|
-
readonly call: ApiRecordLinkManager;
|
|
23
24
|
readonly order: ApiRecordLinkManager;
|
|
24
25
|
readonly address: ApiRecordLinkManager;
|
|
25
|
-
readonly fingerprint: ApiRecordLinkManager;
|
|
26
26
|
constructor(authParams?: OauthParams, authToken?: string);
|
|
27
27
|
setRecord(sourceRecord: any): void;
|
|
28
28
|
schema(): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinSchema>;
|
|
@@ -26,13 +26,13 @@ class LeadApi extends api_provider_1.ApiProvider {
|
|
|
26
26
|
this.contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'Contact', 'Lead__Contact');
|
|
27
27
|
this.commission = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'Commission', 'Lead__Commission');
|
|
28
28
|
this.file = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'File', 'Lead__File');
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
29
|
+
this.workorder__lead = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'Lead', 'WorkOrder__Lead');
|
|
30
|
+
this.crmdataset__lead = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'Lead', 'CrmDataset__Lead');
|
|
31
|
+
this.call__lead = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'Lead', 'Call__Lead');
|
|
32
|
+
this.fingerprint__lead = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'Lead', 'Fingerprint__Lead');
|
|
31
33
|
this.appointment = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'Appointment', 'Lead_Appointment');
|
|
32
|
-
this.call = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'Call', 'Call__Lead');
|
|
33
34
|
this.order = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'Order', 'Lead_Order');
|
|
34
35
|
this.address = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'Address', 'Lead_Address');
|
|
35
|
-
this.fingerprint = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'Fingerprint', 'Fingerprint__Lead');
|
|
36
36
|
}
|
|
37
37
|
setRecord(sourceRecord) {
|
|
38
38
|
this.sourceRecord = sourceRecord;
|
|
@@ -8,31 +8,31 @@ export declare class ContactDb extends DbProvider {
|
|
|
8
8
|
private readonly moduleName;
|
|
9
9
|
private readonly entityName;
|
|
10
10
|
private sourceRecord;
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
11
|
+
readonly organization__contact: DbRecordLinkManager;
|
|
12
|
+
readonly billingcontact: DbRecordLinkManager;
|
|
13
|
+
readonly workorder__contact: DbRecordLinkManager;
|
|
14
|
+
readonly order__contact: DbRecordLinkManager;
|
|
15
|
+
readonly lead__contact: DbRecordLinkManager;
|
|
16
|
+
readonly invoice__contact: DbRecordLinkManager;
|
|
17
|
+
readonly commission__contact: DbRecordLinkManager;
|
|
18
|
+
readonly contact__contact: DbRecordLinkManager;
|
|
19
|
+
readonly onetouchswitch__contact: DbRecordLinkManager;
|
|
20
|
+
readonly deactivationapproval__contact: DbRecordLinkManager;
|
|
21
|
+
readonly orderremediationtask__contact: DbRecordLinkManager;
|
|
22
|
+
readonly case__contact: DbRecordLinkManager;
|
|
23
|
+
readonly call__contact: DbRecordLinkManager;
|
|
24
|
+
readonly fingerprint__contact: DbRecordLinkManager;
|
|
13
25
|
readonly activity: DbRecordLinkManager;
|
|
14
26
|
readonly note: DbRecordLinkManager;
|
|
15
|
-
readonly workorder: DbRecordLinkManager;
|
|
16
|
-
readonly order: DbRecordLinkManager;
|
|
17
|
-
readonly lead: DbRecordLinkManager;
|
|
18
27
|
readonly address: DbRecordLinkManager;
|
|
19
28
|
readonly smsmessage: DbRecordLinkManager;
|
|
20
|
-
readonly invoice: DbRecordLinkManager;
|
|
21
29
|
readonly billingrequest: DbRecordLinkManager;
|
|
22
30
|
readonly file: DbRecordLinkManager;
|
|
23
|
-
readonly commission: DbRecordLinkManager;
|
|
24
|
-
readonly contact: DbRecordLinkManager;
|
|
25
|
-
readonly onetouchswitch: DbRecordLinkManager;
|
|
26
31
|
readonly contactidentity: DbRecordLinkManager;
|
|
27
32
|
readonly paymentmethod: DbRecordLinkManager;
|
|
28
33
|
readonly paymentmethodrefund: DbRecordLinkManager;
|
|
29
|
-
readonly deactivationapproval: DbRecordLinkManager;
|
|
30
34
|
readonly phonenumber: DbRecordLinkManager;
|
|
31
|
-
readonly orderremediationtask: DbRecordLinkManager;
|
|
32
|
-
readonly case: DbRecordLinkManager;
|
|
33
35
|
readonly appointment: DbRecordLinkManager;
|
|
34
|
-
readonly call: DbRecordLinkManager;
|
|
35
|
-
readonly fingerprint: DbRecordLinkManager;
|
|
36
36
|
constructor(principal: any, dbService: any);
|
|
37
37
|
setRecord(sourceRecord: any): void;
|
|
38
38
|
searchRecords(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/db.interfaces").OdinSearchResponse<any>>;
|
|
@@ -19,31 +19,31 @@ class ContactDb extends db_provider_1.DbProvider {
|
|
|
19
19
|
this.entityName = 'Contact';
|
|
20
20
|
this.principal = principal;
|
|
21
21
|
this.dbService = dbService;
|
|
22
|
-
this.
|
|
23
|
-
this.
|
|
22
|
+
this.organization__contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Contact', 'Organization__Contact');
|
|
23
|
+
this.billingcontact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Contact', 'BillingContact');
|
|
24
|
+
this.workorder__contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Contact', 'WorkOrder__Contact');
|
|
25
|
+
this.order__contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Contact', 'Order__Contact');
|
|
26
|
+
this.lead__contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Contact', 'Lead__Contact');
|
|
27
|
+
this.invoice__contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Contact', 'Invoice__Contact');
|
|
28
|
+
this.commission__contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Contact', 'Commission__Contact');
|
|
29
|
+
this.contact__contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Contact', 'Contact__Contact');
|
|
30
|
+
this.onetouchswitch__contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Contact', 'OneTouchSwitch__Contact');
|
|
31
|
+
this.deactivationapproval__contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Contact', 'DeactivationApproval__Contact');
|
|
32
|
+
this.orderremediationtask__contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Contact', 'OrderRemediationTask__Contact');
|
|
33
|
+
this.case__contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Contact', 'Case__Contact');
|
|
34
|
+
this.call__contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Contact', 'Call__Contact');
|
|
35
|
+
this.fingerprint__contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Contact', 'Fingerprint__Contact');
|
|
24
36
|
this.activity = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Activity', 'Contact__Activity');
|
|
25
37
|
this.note = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Note', 'Contact__Note');
|
|
26
|
-
this.workorder = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'WorkOrder', 'WorkOrder__Contact');
|
|
27
|
-
this.order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Order', 'Order__Contact');
|
|
28
|
-
this.lead = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Lead', 'Lead__Contact');
|
|
29
38
|
this.address = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Address', 'Contact__Address');
|
|
30
39
|
this.smsmessage = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'SmsMessage', 'Contact__SmsMessage');
|
|
31
|
-
this.invoice = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Invoice', 'Invoice__Contact');
|
|
32
40
|
this.billingrequest = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'BillingRequest', 'Contact__BillingRequest');
|
|
33
41
|
this.file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'File', 'Contact__File');
|
|
34
|
-
this.commission = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Commission', 'Commission__Contact');
|
|
35
|
-
this.contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Contact', 'Contact__Contact');
|
|
36
|
-
this.onetouchswitch = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'OneTouchSwitch', 'OneTouchSwitch__Contact');
|
|
37
42
|
this.contactidentity = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'ContactIdentity', 'Contact__ContactIdentity');
|
|
38
43
|
this.paymentmethod = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'PaymentMethod', 'Contact__PaymentMethod');
|
|
39
44
|
this.paymentmethodrefund = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'PaymentMethodRefund', 'Contact__PaymentMethodRefund');
|
|
40
|
-
this.deactivationapproval = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'DeactivationApproval', 'DeactivationApproval__Contact');
|
|
41
45
|
this.phonenumber = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'PhoneNumber', 'Contact__PhoneNumber');
|
|
42
|
-
this.orderremediationtask = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'OrderRemediationTask', 'OrderRemediationTask__Contact');
|
|
43
|
-
this.case = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Case', 'Case__Contact');
|
|
44
46
|
this.appointment = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Appointment', 'Contact__Appointment');
|
|
45
|
-
this.call = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Call', 'Call__Contact');
|
|
46
|
-
this.fingerprint = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Contact', 'Fingerprint', 'Fingerprint__Contact');
|
|
47
47
|
}
|
|
48
48
|
setRecord(sourceRecord) {
|
|
49
49
|
this.sourceRecord = sourceRecord;
|
|
@@ -16,13 +16,13 @@ export declare class LeadDb extends DbProvider {
|
|
|
16
16
|
readonly contact: DbRecordLinkManager;
|
|
17
17
|
readonly commission: DbRecordLinkManager;
|
|
18
18
|
readonly file: DbRecordLinkManager;
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly call__lead: DbRecordLinkManager;
|
|
22
|
-
readonly fingerprint__lead: DbRecordLinkManager;
|
|
19
|
+
readonly workorder: DbRecordLinkManager;
|
|
20
|
+
readonly crmdataset: DbRecordLinkManager;
|
|
23
21
|
readonly appointment: DbRecordLinkManager;
|
|
22
|
+
readonly call: DbRecordLinkManager;
|
|
24
23
|
readonly order: DbRecordLinkManager;
|
|
25
24
|
readonly address: DbRecordLinkManager;
|
|
25
|
+
readonly fingerprint: DbRecordLinkManager;
|
|
26
26
|
constructor(principal: any, dbService: any);
|
|
27
27
|
setRecord(sourceRecord: any): void;
|
|
28
28
|
searchRecords(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/db.interfaces").OdinSearchResponse<any>>;
|
package/dist/db-sdk-v2/LeadDb.js
CHANGED
|
@@ -27,13 +27,13 @@ class LeadDb extends db_provider_1.DbProvider {
|
|
|
27
27
|
this.contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Lead', 'Contact', 'Lead__Contact');
|
|
28
28
|
this.commission = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Lead', 'Commission', 'Lead__Commission');
|
|
29
29
|
this.file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Lead', 'File', 'Lead__File');
|
|
30
|
-
this.
|
|
31
|
-
this.
|
|
32
|
-
this.call__lead = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Lead', 'Lead', 'Call__Lead');
|
|
33
|
-
this.fingerprint__lead = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Lead', 'Lead', 'Fingerprint__Lead');
|
|
30
|
+
this.workorder = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Lead', 'WorkOrder', 'WorkOrder__Lead');
|
|
31
|
+
this.crmdataset = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Lead', 'CrmDataset', 'CrmDataset__Lead');
|
|
34
32
|
this.appointment = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Lead', 'Appointment', 'Lead_Appointment');
|
|
33
|
+
this.call = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Lead', 'Call', 'Call__Lead');
|
|
35
34
|
this.order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Lead', 'Order', 'Lead_Order');
|
|
36
35
|
this.address = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Lead', 'Address', 'Lead_Address');
|
|
36
|
+
this.fingerprint = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'CrmModule:Lead', 'Fingerprint', 'Fingerprint__Lead');
|
|
37
37
|
}
|
|
38
38
|
setRecord(sourceRecord) {
|
|
39
39
|
this.sourceRecord = sourceRecord;
|
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.32",
|
|
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.72",
|
|
15
15
|
"@d19n/odin-types": "^1.0.10"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
@@ -20,13 +20,13 @@
|
|
|
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 appointment: ApiRecordLinkManager;
|
|
26
|
-
public readonly call: ApiRecordLinkManager;
|
|
27
28
|
public readonly order: ApiRecordLinkManager;
|
|
28
29
|
public readonly address: ApiRecordLinkManager;
|
|
29
|
-
public readonly fingerprint: ApiRecordLinkManager;
|
|
30
30
|
constructor(authParams?: OauthParams, protected readonly authToken?: string) {
|
|
31
31
|
super(authParams, authToken);
|
|
32
32
|
|
|
@@ -70,26 +70,31 @@
|
|
|
70
70
|
'File',
|
|
71
71
|
'Lead__File'
|
|
72
72
|
);
|
|
73
|
-
this.
|
|
73
|
+
this.workorder__lead = new ApiRecordLinkManager(
|
|
74
74
|
'CrmModule:Lead',
|
|
75
|
-
'
|
|
75
|
+
'Lead',
|
|
76
76
|
'WorkOrder__Lead'
|
|
77
77
|
);
|
|
78
|
-
this.
|
|
78
|
+
this.crmdataset__lead = new ApiRecordLinkManager(
|
|
79
79
|
'CrmModule:Lead',
|
|
80
|
-
'
|
|
80
|
+
'Lead',
|
|
81
81
|
'CrmDataset__Lead'
|
|
82
82
|
);
|
|
83
|
+
this.call__lead = new ApiRecordLinkManager(
|
|
84
|
+
'CrmModule:Lead',
|
|
85
|
+
'Lead',
|
|
86
|
+
'Call__Lead'
|
|
87
|
+
);
|
|
88
|
+
this.fingerprint__lead = new ApiRecordLinkManager(
|
|
89
|
+
'CrmModule:Lead',
|
|
90
|
+
'Lead',
|
|
91
|
+
'Fingerprint__Lead'
|
|
92
|
+
);
|
|
83
93
|
this.appointment = new ApiRecordLinkManager(
|
|
84
94
|
'CrmModule:Lead',
|
|
85
95
|
'Appointment',
|
|
86
96
|
'Lead_Appointment'
|
|
87
97
|
);
|
|
88
|
-
this.call = new ApiRecordLinkManager(
|
|
89
|
-
'CrmModule:Lead',
|
|
90
|
-
'Call',
|
|
91
|
-
'Call__Lead'
|
|
92
|
-
);
|
|
93
98
|
this.order = new ApiRecordLinkManager(
|
|
94
99
|
'CrmModule:Lead',
|
|
95
100
|
'Order',
|
|
@@ -100,11 +105,6 @@
|
|
|
100
105
|
'Address',
|
|
101
106
|
'Lead_Address'
|
|
102
107
|
);
|
|
103
|
-
this.fingerprint = new ApiRecordLinkManager(
|
|
104
|
-
'CrmModule:Lead',
|
|
105
|
-
'Fingerprint',
|
|
106
|
-
'Fingerprint__Lead'
|
|
107
|
-
);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
|
|
@@ -14,211 +14,211 @@
|
|
|
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 case__contact: DbRecordLinkManager;
|
|
29
|
+
public readonly call__contact: DbRecordLinkManager;
|
|
30
|
+
public readonly fingerprint__contact: DbRecordLinkManager;
|
|
19
31
|
public readonly activity: DbRecordLinkManager;
|
|
20
32
|
public readonly note: DbRecordLinkManager;
|
|
21
|
-
public readonly workorder: DbRecordLinkManager;
|
|
22
|
-
public readonly order: DbRecordLinkManager;
|
|
23
|
-
public readonly lead: DbRecordLinkManager;
|
|
24
33
|
public readonly address: DbRecordLinkManager;
|
|
25
34
|
public readonly smsmessage: DbRecordLinkManager;
|
|
26
|
-
public readonly invoice: DbRecordLinkManager;
|
|
27
35
|
public readonly billingrequest: DbRecordLinkManager;
|
|
28
36
|
public readonly file: DbRecordLinkManager;
|
|
29
|
-
public readonly commission: DbRecordLinkManager;
|
|
30
|
-
public readonly contact: DbRecordLinkManager;
|
|
31
|
-
public readonly onetouchswitch: DbRecordLinkManager;
|
|
32
37
|
public readonly contactidentity: DbRecordLinkManager;
|
|
33
38
|
public readonly paymentmethod: DbRecordLinkManager;
|
|
34
39
|
public readonly paymentmethodrefund: DbRecordLinkManager;
|
|
35
|
-
public readonly deactivationapproval: DbRecordLinkManager;
|
|
36
40
|
public readonly phonenumber: DbRecordLinkManager;
|
|
37
|
-
public readonly orderremediationtask: DbRecordLinkManager;
|
|
38
|
-
public readonly case: DbRecordLinkManager;
|
|
39
41
|
public readonly appointment: DbRecordLinkManager;
|
|
40
|
-
public readonly call: DbRecordLinkManager;
|
|
41
|
-
public readonly fingerprint: DbRecordLinkManager;
|
|
42
42
|
constructor(principal: any, dbService: any) {
|
|
43
43
|
super(principal, dbService);
|
|
44
44
|
|
|
45
45
|
this.principal = principal;
|
|
46
46
|
this.dbService = dbService;
|
|
47
47
|
|
|
48
|
-
this.
|
|
48
|
+
this.organization__contact = new DbRecordLinkManager(
|
|
49
49
|
this.principal,
|
|
50
50
|
this.dbService,
|
|
51
51
|
'CrmModule:Contact',
|
|
52
|
-
'
|
|
52
|
+
'Contact',
|
|
53
53
|
'Organization__Contact'
|
|
54
54
|
);
|
|
55
|
-
this.
|
|
55
|
+
this.billingcontact = new DbRecordLinkManager(
|
|
56
56
|
this.principal,
|
|
57
57
|
this.dbService,
|
|
58
58
|
'CrmModule:Contact',
|
|
59
|
-
'
|
|
59
|
+
'Contact',
|
|
60
60
|
'BillingContact'
|
|
61
61
|
);
|
|
62
|
-
this.
|
|
62
|
+
this.workorder__contact = new DbRecordLinkManager(
|
|
63
63
|
this.principal,
|
|
64
64
|
this.dbService,
|
|
65
65
|
'CrmModule:Contact',
|
|
66
|
-
'
|
|
67
|
-
'
|
|
66
|
+
'Contact',
|
|
67
|
+
'WorkOrder__Contact'
|
|
68
68
|
);
|
|
69
|
-
this.
|
|
69
|
+
this.order__contact = new DbRecordLinkManager(
|
|
70
70
|
this.principal,
|
|
71
71
|
this.dbService,
|
|
72
72
|
'CrmModule:Contact',
|
|
73
|
-
'
|
|
74
|
-
'
|
|
73
|
+
'Contact',
|
|
74
|
+
'Order__Contact'
|
|
75
75
|
);
|
|
76
|
-
this.
|
|
76
|
+
this.lead__contact = new DbRecordLinkManager(
|
|
77
77
|
this.principal,
|
|
78
78
|
this.dbService,
|
|
79
79
|
'CrmModule:Contact',
|
|
80
|
-
'
|
|
81
|
-
'
|
|
80
|
+
'Contact',
|
|
81
|
+
'Lead__Contact'
|
|
82
82
|
);
|
|
83
|
-
this.
|
|
83
|
+
this.invoice__contact = new DbRecordLinkManager(
|
|
84
84
|
this.principal,
|
|
85
85
|
this.dbService,
|
|
86
86
|
'CrmModule:Contact',
|
|
87
|
-
'
|
|
88
|
-
'
|
|
87
|
+
'Contact',
|
|
88
|
+
'Invoice__Contact'
|
|
89
89
|
);
|
|
90
|
-
this.
|
|
90
|
+
this.commission__contact = new DbRecordLinkManager(
|
|
91
91
|
this.principal,
|
|
92
92
|
this.dbService,
|
|
93
93
|
'CrmModule:Contact',
|
|
94
|
-
'
|
|
95
|
-
'
|
|
94
|
+
'Contact',
|
|
95
|
+
'Commission__Contact'
|
|
96
96
|
);
|
|
97
|
-
this.
|
|
97
|
+
this.contact__contact = new DbRecordLinkManager(
|
|
98
98
|
this.principal,
|
|
99
99
|
this.dbService,
|
|
100
100
|
'CrmModule:Contact',
|
|
101
|
-
'
|
|
102
|
-
'
|
|
101
|
+
'Contact',
|
|
102
|
+
'Contact__Contact'
|
|
103
103
|
);
|
|
104
|
-
this.
|
|
104
|
+
this.onetouchswitch__contact = new DbRecordLinkManager(
|
|
105
105
|
this.principal,
|
|
106
106
|
this.dbService,
|
|
107
107
|
'CrmModule:Contact',
|
|
108
|
-
'
|
|
109
|
-
'
|
|
108
|
+
'Contact',
|
|
109
|
+
'OneTouchSwitch__Contact'
|
|
110
110
|
);
|
|
111
|
-
this.
|
|
111
|
+
this.deactivationapproval__contact = new DbRecordLinkManager(
|
|
112
112
|
this.principal,
|
|
113
113
|
this.dbService,
|
|
114
114
|
'CrmModule:Contact',
|
|
115
|
-
'
|
|
116
|
-
'
|
|
115
|
+
'Contact',
|
|
116
|
+
'DeactivationApproval__Contact'
|
|
117
117
|
);
|
|
118
|
-
this.
|
|
118
|
+
this.orderremediationtask__contact = new DbRecordLinkManager(
|
|
119
119
|
this.principal,
|
|
120
120
|
this.dbService,
|
|
121
121
|
'CrmModule:Contact',
|
|
122
|
-
'
|
|
123
|
-
'
|
|
122
|
+
'Contact',
|
|
123
|
+
'OrderRemediationTask__Contact'
|
|
124
124
|
);
|
|
125
|
-
this.
|
|
125
|
+
this.case__contact = new DbRecordLinkManager(
|
|
126
126
|
this.principal,
|
|
127
127
|
this.dbService,
|
|
128
128
|
'CrmModule:Contact',
|
|
129
|
-
'
|
|
130
|
-
'
|
|
129
|
+
'Contact',
|
|
130
|
+
'Case__Contact'
|
|
131
131
|
);
|
|
132
|
-
this.
|
|
132
|
+
this.call__contact = new DbRecordLinkManager(
|
|
133
133
|
this.principal,
|
|
134
134
|
this.dbService,
|
|
135
135
|
'CrmModule:Contact',
|
|
136
|
-
'
|
|
137
|
-
'
|
|
136
|
+
'Contact',
|
|
137
|
+
'Call__Contact'
|
|
138
138
|
);
|
|
139
|
-
this.
|
|
139
|
+
this.fingerprint__contact = new DbRecordLinkManager(
|
|
140
140
|
this.principal,
|
|
141
141
|
this.dbService,
|
|
142
142
|
'CrmModule:Contact',
|
|
143
143
|
'Contact',
|
|
144
|
-
'
|
|
144
|
+
'Fingerprint__Contact'
|
|
145
145
|
);
|
|
146
|
-
this.
|
|
146
|
+
this.activity = new DbRecordLinkManager(
|
|
147
147
|
this.principal,
|
|
148
148
|
this.dbService,
|
|
149
149
|
'CrmModule:Contact',
|
|
150
|
-
'
|
|
151
|
-
'
|
|
150
|
+
'Activity',
|
|
151
|
+
'Contact__Activity'
|
|
152
152
|
);
|
|
153
|
-
this.
|
|
153
|
+
this.note = new DbRecordLinkManager(
|
|
154
154
|
this.principal,
|
|
155
155
|
this.dbService,
|
|
156
156
|
'CrmModule:Contact',
|
|
157
|
-
'
|
|
158
|
-
'
|
|
157
|
+
'Note',
|
|
158
|
+
'Contact__Note'
|
|
159
159
|
);
|
|
160
|
-
this.
|
|
160
|
+
this.address = new DbRecordLinkManager(
|
|
161
161
|
this.principal,
|
|
162
162
|
this.dbService,
|
|
163
163
|
'CrmModule:Contact',
|
|
164
|
-
'
|
|
165
|
-
'
|
|
164
|
+
'Address',
|
|
165
|
+
'Contact__Address'
|
|
166
166
|
);
|
|
167
|
-
this.
|
|
167
|
+
this.smsmessage = new DbRecordLinkManager(
|
|
168
168
|
this.principal,
|
|
169
169
|
this.dbService,
|
|
170
170
|
'CrmModule:Contact',
|
|
171
|
-
'
|
|
172
|
-
'
|
|
171
|
+
'SmsMessage',
|
|
172
|
+
'Contact__SmsMessage'
|
|
173
173
|
);
|
|
174
|
-
this.
|
|
174
|
+
this.billingrequest = new DbRecordLinkManager(
|
|
175
175
|
this.principal,
|
|
176
176
|
this.dbService,
|
|
177
177
|
'CrmModule:Contact',
|
|
178
|
-
'
|
|
179
|
-
'
|
|
178
|
+
'BillingRequest',
|
|
179
|
+
'Contact__BillingRequest'
|
|
180
180
|
);
|
|
181
|
-
this.
|
|
181
|
+
this.file = new DbRecordLinkManager(
|
|
182
182
|
this.principal,
|
|
183
183
|
this.dbService,
|
|
184
184
|
'CrmModule:Contact',
|
|
185
|
-
'
|
|
186
|
-
'
|
|
185
|
+
'File',
|
|
186
|
+
'Contact__File'
|
|
187
187
|
);
|
|
188
|
-
this.
|
|
188
|
+
this.contactidentity = new DbRecordLinkManager(
|
|
189
189
|
this.principal,
|
|
190
190
|
this.dbService,
|
|
191
191
|
'CrmModule:Contact',
|
|
192
|
-
'
|
|
193
|
-
'
|
|
192
|
+
'ContactIdentity',
|
|
193
|
+
'Contact__ContactIdentity'
|
|
194
194
|
);
|
|
195
|
-
this.
|
|
195
|
+
this.paymentmethod = new DbRecordLinkManager(
|
|
196
196
|
this.principal,
|
|
197
197
|
this.dbService,
|
|
198
198
|
'CrmModule:Contact',
|
|
199
|
-
'
|
|
200
|
-
'
|
|
199
|
+
'PaymentMethod',
|
|
200
|
+
'Contact__PaymentMethod'
|
|
201
201
|
);
|
|
202
|
-
this.
|
|
202
|
+
this.paymentmethodrefund = new DbRecordLinkManager(
|
|
203
203
|
this.principal,
|
|
204
204
|
this.dbService,
|
|
205
205
|
'CrmModule:Contact',
|
|
206
|
-
'
|
|
207
|
-
'
|
|
206
|
+
'PaymentMethodRefund',
|
|
207
|
+
'Contact__PaymentMethodRefund'
|
|
208
208
|
);
|
|
209
|
-
this.
|
|
209
|
+
this.phonenumber = new DbRecordLinkManager(
|
|
210
210
|
this.principal,
|
|
211
211
|
this.dbService,
|
|
212
212
|
'CrmModule:Contact',
|
|
213
|
-
'
|
|
214
|
-
'
|
|
213
|
+
'PhoneNumber',
|
|
214
|
+
'Contact__PhoneNumber'
|
|
215
215
|
);
|
|
216
|
-
this.
|
|
216
|
+
this.appointment = new DbRecordLinkManager(
|
|
217
217
|
this.principal,
|
|
218
218
|
this.dbService,
|
|
219
219
|
'CrmModule:Contact',
|
|
220
|
-
'
|
|
221
|
-
'
|
|
220
|
+
'Appointment',
|
|
221
|
+
'Contact__Appointment'
|
|
222
222
|
);
|
|
223
223
|
}
|
|
224
224
|
|
package/src/db-sdk-v2/LeadDb.ts
CHANGED
|
@@ -22,13 +22,13 @@
|
|
|
22
22
|
public readonly contact: DbRecordLinkManager;
|
|
23
23
|
public readonly commission: DbRecordLinkManager;
|
|
24
24
|
public readonly file: DbRecordLinkManager;
|
|
25
|
-
public readonly
|
|
26
|
-
public readonly
|
|
27
|
-
public readonly call__lead: DbRecordLinkManager;
|
|
28
|
-
public readonly fingerprint__lead: DbRecordLinkManager;
|
|
25
|
+
public readonly workorder: DbRecordLinkManager;
|
|
26
|
+
public readonly crmdataset: DbRecordLinkManager;
|
|
29
27
|
public readonly appointment: DbRecordLinkManager;
|
|
28
|
+
public readonly call: DbRecordLinkManager;
|
|
30
29
|
public readonly order: DbRecordLinkManager;
|
|
31
30
|
public readonly address: DbRecordLinkManager;
|
|
31
|
+
public readonly fingerprint: DbRecordLinkManager;
|
|
32
32
|
constructor(principal: any, dbService: any) {
|
|
33
33
|
super(principal, dbService);
|
|
34
34
|
|
|
@@ -91,40 +91,33 @@
|
|
|
91
91
|
'File',
|
|
92
92
|
'Lead__File'
|
|
93
93
|
);
|
|
94
|
-
this.
|
|
94
|
+
this.workorder = new DbRecordLinkManager(
|
|
95
95
|
this.principal,
|
|
96
96
|
this.dbService,
|
|
97
97
|
'CrmModule:Lead',
|
|
98
|
-
'
|
|
98
|
+
'WorkOrder',
|
|
99
99
|
'WorkOrder__Lead'
|
|
100
100
|
);
|
|
101
|
-
this.
|
|
101
|
+
this.crmdataset = new DbRecordLinkManager(
|
|
102
102
|
this.principal,
|
|
103
103
|
this.dbService,
|
|
104
104
|
'CrmModule:Lead',
|
|
105
|
-
'
|
|
105
|
+
'CrmDataset',
|
|
106
106
|
'CrmDataset__Lead'
|
|
107
107
|
);
|
|
108
|
-
this.
|
|
109
|
-
this.principal,
|
|
110
|
-
this.dbService,
|
|
111
|
-
'CrmModule:Lead',
|
|
112
|
-
'Lead',
|
|
113
|
-
'Call__Lead'
|
|
114
|
-
);
|
|
115
|
-
this.fingerprint__lead = new DbRecordLinkManager(
|
|
108
|
+
this.appointment = new DbRecordLinkManager(
|
|
116
109
|
this.principal,
|
|
117
110
|
this.dbService,
|
|
118
111
|
'CrmModule:Lead',
|
|
119
|
-
'
|
|
120
|
-
'
|
|
112
|
+
'Appointment',
|
|
113
|
+
'Lead_Appointment'
|
|
121
114
|
);
|
|
122
|
-
this.
|
|
115
|
+
this.call = new DbRecordLinkManager(
|
|
123
116
|
this.principal,
|
|
124
117
|
this.dbService,
|
|
125
118
|
'CrmModule:Lead',
|
|
126
|
-
'
|
|
127
|
-
'
|
|
119
|
+
'Call',
|
|
120
|
+
'Call__Lead'
|
|
128
121
|
);
|
|
129
122
|
this.order = new DbRecordLinkManager(
|
|
130
123
|
this.principal,
|
|
@@ -140,6 +133,13 @@
|
|
|
140
133
|
'Address',
|
|
141
134
|
'Lead_Address'
|
|
142
135
|
);
|
|
136
|
+
this.fingerprint = new DbRecordLinkManager(
|
|
137
|
+
this.principal,
|
|
138
|
+
this.dbService,
|
|
139
|
+
'CrmModule:Lead',
|
|
140
|
+
'Fingerprint',
|
|
141
|
+
'Fingerprint__Lead'
|
|
142
|
+
);
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
|