@d19n/youfibre-odin-sdk 1.0.49 → 1.0.50
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/ContactApi.d.ts +15 -15
- package/dist/api-sdk-v2/ContactApi.js +15 -15
- package/dist/api-sdk-v2/OrderApi.d.ts +13 -13
- package/dist/api-sdk-v2/OrderApi.js +13 -13
- package/dist/db-sdk-v2/OrderDb.d.ts +13 -13
- package/dist/db-sdk-v2/OrderDb.js +13 -13
- package/package.json +1 -1
- package/src/api-sdk-v2/ContactApi.ts +84 -84
- package/src/api-sdk-v2/OrderApi.ts +75 -75
- package/src/db-sdk-v2/OrderDb.ts +91 -91
|
@@ -8,32 +8,32 @@ export declare class ContactApi extends ApiProvider {
|
|
|
8
8
|
private readonly moduleName;
|
|
9
9
|
private readonly entityName;
|
|
10
10
|
private sourceRecord;
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
13
|
-
readonly workorder__contact: ApiRecordLinkManager;
|
|
14
|
-
readonly order__contact: ApiRecordLinkManager;
|
|
15
|
-
readonly lead__contact: ApiRecordLinkManager;
|
|
16
|
-
readonly invoice__contact: ApiRecordLinkManager;
|
|
17
|
-
readonly commission__contact: ApiRecordLinkManager;
|
|
18
|
-
readonly contact__contact: ApiRecordLinkManager;
|
|
19
|
-
readonly onetouchswitch__contact: ApiRecordLinkManager;
|
|
20
|
-
readonly deactivationapproval__contact: ApiRecordLinkManager;
|
|
21
|
-
readonly orderremediationtask__contact: ApiRecordLinkManager;
|
|
22
|
-
readonly call__contact: ApiRecordLinkManager;
|
|
23
|
-
readonly fingerprint__contact: ApiRecordLinkManager;
|
|
24
|
-
readonly case__contact: ApiRecordLinkManager;
|
|
25
|
-
readonly email_contact: ApiRecordLinkManager;
|
|
11
|
+
readonly organization: ApiRecordLinkManager;
|
|
12
|
+
readonly account: ApiRecordLinkManager;
|
|
26
13
|
readonly activity: ApiRecordLinkManager;
|
|
27
14
|
readonly note: ApiRecordLinkManager;
|
|
15
|
+
readonly workorder: ApiRecordLinkManager;
|
|
16
|
+
readonly order: ApiRecordLinkManager;
|
|
17
|
+
readonly lead: ApiRecordLinkManager;
|
|
28
18
|
readonly address: ApiRecordLinkManager;
|
|
29
19
|
readonly smsmessage: ApiRecordLinkManager;
|
|
20
|
+
readonly invoice: ApiRecordLinkManager;
|
|
30
21
|
readonly billingrequest: ApiRecordLinkManager;
|
|
31
22
|
readonly file: ApiRecordLinkManager;
|
|
23
|
+
readonly commission: ApiRecordLinkManager;
|
|
24
|
+
readonly contact: ApiRecordLinkManager;
|
|
25
|
+
readonly onetouchswitch: ApiRecordLinkManager;
|
|
32
26
|
readonly contactidentity: ApiRecordLinkManager;
|
|
33
27
|
readonly paymentmethodrefund: ApiRecordLinkManager;
|
|
28
|
+
readonly deactivationapproval: ApiRecordLinkManager;
|
|
34
29
|
readonly phonenumber: ApiRecordLinkManager;
|
|
30
|
+
readonly orderremediationtask: ApiRecordLinkManager;
|
|
35
31
|
readonly appointment: ApiRecordLinkManager;
|
|
32
|
+
readonly call: ApiRecordLinkManager;
|
|
33
|
+
readonly fingerprint: ApiRecordLinkManager;
|
|
36
34
|
readonly paymentmethod: ApiRecordLinkManager;
|
|
35
|
+
readonly case: ApiRecordLinkManager;
|
|
36
|
+
readonly email: ApiRecordLinkManager;
|
|
37
37
|
constructor(authParams?: OauthParams, authToken?: string);
|
|
38
38
|
setRecord(sourceRecord: any): void;
|
|
39
39
|
schema(): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinSchema>;
|
|
@@ -18,32 +18,32 @@ class ContactApi extends api_provider_1.ApiProvider {
|
|
|
18
18
|
this.authToken = authToken;
|
|
19
19
|
this.moduleName = 'CrmModule';
|
|
20
20
|
this.entityName = 'Contact';
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
23
|
-
this.workorder__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'WorkOrder__Contact');
|
|
24
|
-
this.order__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Order__Contact');
|
|
25
|
-
this.lead__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Lead__Contact');
|
|
26
|
-
this.invoice__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Invoice__Contact');
|
|
27
|
-
this.commission__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Commission__Contact');
|
|
28
|
-
this.contact__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Contact__Contact');
|
|
29
|
-
this.onetouchswitch__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'OneTouchSwitch__Contact');
|
|
30
|
-
this.deactivationapproval__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'DeactivationApproval__Contact');
|
|
31
|
-
this.orderremediationtask__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'OrderRemediationTask__Contact');
|
|
32
|
-
this.call__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Call__Contact');
|
|
33
|
-
this.fingerprint__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Fingerprint__Contact');
|
|
34
|
-
this.case__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Case__Contact');
|
|
35
|
-
this.email_contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Email_Contact');
|
|
21
|
+
this.organization = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Organization', 'Organization__Contact');
|
|
22
|
+
this.account = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Account', 'BillingContact');
|
|
36
23
|
this.activity = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'SchemaModule:Activity', 'Contact__Activity');
|
|
37
24
|
this.note = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'SupportModule:Note', 'Contact__Note');
|
|
25
|
+
this.workorder = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'FieldServiceModule:WorkOrder', 'WorkOrder__Contact');
|
|
26
|
+
this.order = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'OrderModule:Order', 'Order__Contact');
|
|
27
|
+
this.lead = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Lead', 'Lead__Contact');
|
|
38
28
|
this.address = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Address', 'Contact__Address');
|
|
39
29
|
this.smsmessage = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'NotificationModule:SmsMessage', 'Contact__SmsMessage');
|
|
30
|
+
this.invoice = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'BillingModule:Invoice', 'Invoice__Contact');
|
|
40
31
|
this.billingrequest = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'BillingModule:BillingRequest', 'Contact__BillingRequest');
|
|
41
32
|
this.file = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'SchemaModule:File', 'Contact__File');
|
|
33
|
+
this.commission = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'BillingModule:Commission', 'Commission__Contact');
|
|
34
|
+
this.contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Contact__Contact');
|
|
35
|
+
this.onetouchswitch = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'OrderModule:OneTouchSwitch', 'OneTouchSwitch__Contact');
|
|
42
36
|
this.contactidentity = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:ContactIdentity', 'Contact__ContactIdentity');
|
|
43
37
|
this.paymentmethodrefund = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'BillingModule:PaymentMethodRefund', 'Contact__PaymentMethodRefund');
|
|
38
|
+
this.deactivationapproval = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'OrderModule:DeactivationApproval', 'DeactivationApproval__Contact');
|
|
44
39
|
this.phonenumber = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:PhoneNumber', 'Contact__PhoneNumber');
|
|
40
|
+
this.orderremediationtask = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'OrderModule:OrderRemediationTask', 'OrderRemediationTask__Contact');
|
|
45
41
|
this.appointment = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Appointment', 'Contact__Appointment');
|
|
42
|
+
this.call = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'NotificationModule:Call', 'Call__Contact');
|
|
43
|
+
this.fingerprint = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Fingerprint', 'Fingerprint__Contact');
|
|
46
44
|
this.paymentmethod = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'BillingModule:PaymentMethod', 'Contact__PaymentMethod');
|
|
45
|
+
this.case = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'SupportModule:Case', 'Case__Contact');
|
|
46
|
+
this.email = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'NotificationModule:Email', 'Email_Contact');
|
|
47
47
|
}
|
|
48
48
|
setRecord(sourceRecord) {
|
|
49
49
|
this.sourceRecord = sourceRecord;
|
|
@@ -8,38 +8,38 @@ export declare class OrderApi extends ApiProvider {
|
|
|
8
8
|
private readonly moduleName;
|
|
9
9
|
private readonly entityName;
|
|
10
10
|
private sourceRecord;
|
|
11
|
-
readonly
|
|
11
|
+
readonly returnorder__order: ApiRecordLinkManager;
|
|
12
|
+
readonly account__order: ApiRecordLinkManager;
|
|
13
|
+
readonly splitorder__order: ApiRecordLinkManager;
|
|
14
|
+
readonly churnrequest__order: ApiRecordLinkManager;
|
|
15
|
+
readonly order__order: ApiRecordLinkManager;
|
|
16
|
+
readonly picrequest__order: ApiRecordLinkManager;
|
|
17
|
+
readonly paymentmethodrefund__order: ApiRecordLinkManager;
|
|
18
|
+
readonly deactivationapproval__order: ApiRecordLinkManager;
|
|
19
|
+
readonly orderremediationtask__order: ApiRecordLinkManager;
|
|
20
|
+
readonly case__order: ApiRecordLinkManager;
|
|
21
|
+
readonly lead_order: ApiRecordLinkManager;
|
|
22
|
+
readonly onetouchswitch__order: ApiRecordLinkManager;
|
|
12
23
|
readonly address: ApiRecordLinkManager;
|
|
13
24
|
readonly note: ApiRecordLinkManager;
|
|
14
25
|
readonly contact: ApiRecordLinkManager;
|
|
15
|
-
readonly account: ApiRecordLinkManager;
|
|
16
26
|
readonly discount: ApiRecordLinkManager;
|
|
17
27
|
readonly orderitem: ApiRecordLinkManager;
|
|
18
28
|
readonly billingadjustment: ApiRecordLinkManager;
|
|
19
|
-
readonly splitorder__order: ApiRecordLinkManager;
|
|
20
|
-
readonly order__splitorder: ApiRecordLinkManager;
|
|
21
|
-
readonly churnrequest: ApiRecordLinkManager;
|
|
22
29
|
readonly commission: ApiRecordLinkManager;
|
|
23
30
|
readonly file: ApiRecordLinkManager;
|
|
24
31
|
readonly activity: ApiRecordLinkManager;
|
|
25
|
-
readonly order: ApiRecordLinkManager;
|
|
26
|
-
readonly picrequest: ApiRecordLinkManager;
|
|
27
32
|
readonly smsmessage: ApiRecordLinkManager;
|
|
28
|
-
readonly paymentmethodrefund: ApiRecordLinkManager;
|
|
29
33
|
readonly visit: ApiRecordLinkManager;
|
|
30
34
|
readonly workorder: ApiRecordLinkManager;
|
|
31
|
-
readonly deactivationapproval: ApiRecordLinkManager;
|
|
32
|
-
readonly orderremediationtask: ApiRecordLinkManager;
|
|
33
|
-
readonly case: ApiRecordLinkManager;
|
|
34
|
-
readonly lead: ApiRecordLinkManager;
|
|
35
35
|
readonly customerdeviceont: ApiRecordLinkManager;
|
|
36
36
|
readonly customerdevicerouter: ApiRecordLinkManager;
|
|
37
37
|
readonly appointment: ApiRecordLinkManager;
|
|
38
38
|
readonly ordercheck: ApiRecordLinkManager;
|
|
39
39
|
readonly invoice: ApiRecordLinkManager;
|
|
40
|
+
readonly splitorder: ApiRecordLinkManager;
|
|
40
41
|
readonly phonenumber: ApiRecordLinkManager;
|
|
41
42
|
readonly contactidentity: ApiRecordLinkManager;
|
|
42
|
-
readonly onetouchswitch: ApiRecordLinkManager;
|
|
43
43
|
constructor(authParams?: OauthParams, authToken?: string);
|
|
44
44
|
setRecord(sourceRecord: any): void;
|
|
45
45
|
schema(): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinSchema>;
|
|
@@ -18,38 +18,38 @@ class OrderApi extends api_provider_1.ApiProvider {
|
|
|
18
18
|
this.authToken = authToken;
|
|
19
19
|
this.moduleName = 'OrderModule';
|
|
20
20
|
this.entityName = 'Order';
|
|
21
|
-
this.
|
|
21
|
+
this.returnorder__order = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:Order', 'ReturnOrder__Order');
|
|
22
|
+
this.account__order = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:Order', 'Account__Order');
|
|
23
|
+
this.splitorder__order = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:Order', 'SplitOrder__Order');
|
|
24
|
+
this.churnrequest__order = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:Order', 'ChurnRequest__Order');
|
|
25
|
+
this.order__order = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:Order', 'Order__Order');
|
|
26
|
+
this.picrequest__order = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:Order', 'PICRequest__Order');
|
|
27
|
+
this.paymentmethodrefund__order = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:Order', 'PaymentMethodRefund__Order');
|
|
28
|
+
this.deactivationapproval__order = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:Order', 'DeactivationApproval__Order');
|
|
29
|
+
this.orderremediationtask__order = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:Order', 'OrderRemediationTask__Order');
|
|
30
|
+
this.case__order = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:Order', 'Case__Order');
|
|
31
|
+
this.lead_order = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:Order', 'Lead_Order');
|
|
32
|
+
this.onetouchswitch__order = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:Order', 'OneTouchSwitch__Order');
|
|
22
33
|
this.address = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'CrmModule:Address', 'Order__Address');
|
|
23
34
|
this.note = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'SupportModule:Note', 'Order__Note');
|
|
24
35
|
this.contact = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'CrmModule:Contact', 'Order__Contact');
|
|
25
|
-
this.account = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'CrmModule:Account', 'Account__Order');
|
|
26
36
|
this.discount = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'ProductModule:Discount', 'Order__Discount');
|
|
27
37
|
this.orderitem = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:OrderItem', 'Order_OrderItem');
|
|
28
38
|
this.billingadjustment = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:BillingAdjustment', 'Order__BillingAdjustment');
|
|
29
|
-
this.splitorder__order = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:SplitOrder', 'SplitOrder__Order');
|
|
30
|
-
this.order__splitorder = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:SplitOrder', 'Order__SplitOrder');
|
|
31
|
-
this.churnrequest = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:ChurnRequest', 'ChurnRequest__Order');
|
|
32
39
|
this.commission = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'BillingModule:Commission', 'Order__Commission');
|
|
33
40
|
this.file = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'SchemaModule:File', 'Order__File');
|
|
34
41
|
this.activity = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'SchemaModule:Activity', 'Order__Activity');
|
|
35
|
-
this.order = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:Order', 'Order__Order');
|
|
36
|
-
this.picrequest = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:PICRequest', 'PICRequest__Order');
|
|
37
42
|
this.smsmessage = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'NotificationModule:SmsMessage', 'Order__SmsMessage');
|
|
38
|
-
this.paymentmethodrefund = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'BillingModule:PaymentMethodRefund', 'PaymentMethodRefund__Order');
|
|
39
43
|
this.visit = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'CrmModule:Visit', 'Order__Visit');
|
|
40
44
|
this.workorder = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'FieldServiceModule:WorkOrder', 'Order__WorkOrder');
|
|
41
|
-
this.deactivationapproval = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:DeactivationApproval', 'DeactivationApproval__Order');
|
|
42
|
-
this.orderremediationtask = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:OrderRemediationTask', 'OrderRemediationTask__Order');
|
|
43
|
-
this.case = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'SupportModule:Case', 'Case__Order');
|
|
44
|
-
this.lead = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'CrmModule:Lead', 'Lead_Order');
|
|
45
45
|
this.customerdeviceont = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'ServiceModule:CustomerDeviceOnt', 'Order__CustomerDeviceOnt');
|
|
46
46
|
this.customerdevicerouter = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'ServiceModule:CustomerDeviceRouter', 'Order__CustomerDeviceRouter');
|
|
47
47
|
this.appointment = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'CrmModule:Appointment', 'Order__Appointment');
|
|
48
48
|
this.ordercheck = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'ServiceModule:OrderCheck', 'Order__OrderCheck');
|
|
49
49
|
this.invoice = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'BillingModule:Invoice', 'Order__Invoice');
|
|
50
|
+
this.splitorder = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:SplitOrder', 'Order__SplitOrder');
|
|
50
51
|
this.phonenumber = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'CrmModule:PhoneNumber', 'Order__PhoneNumber');
|
|
51
52
|
this.contactidentity = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'CrmModule:ContactIdentity', 'Order__ContactIdentity');
|
|
52
|
-
this.onetouchswitch = new api_record_link_manager_1.ApiRecordLinkManager('OrderModule:Order', 'OrderModule:OneTouchSwitch', 'OneTouchSwitch__Order');
|
|
53
53
|
}
|
|
54
54
|
setRecord(sourceRecord) {
|
|
55
55
|
this.sourceRecord = sourceRecord;
|
|
@@ -8,38 +8,38 @@ export declare class OrderDb extends DbProvider {
|
|
|
8
8
|
private readonly moduleName;
|
|
9
9
|
private readonly entityName;
|
|
10
10
|
private sourceRecord;
|
|
11
|
-
readonly
|
|
11
|
+
readonly returnorder__order: DbRecordLinkManager;
|
|
12
|
+
readonly account__order: DbRecordLinkManager;
|
|
13
|
+
readonly splitorder__order: DbRecordLinkManager;
|
|
14
|
+
readonly churnrequest__order: DbRecordLinkManager;
|
|
15
|
+
readonly order__order: DbRecordLinkManager;
|
|
16
|
+
readonly picrequest__order: DbRecordLinkManager;
|
|
17
|
+
readonly paymentmethodrefund__order: DbRecordLinkManager;
|
|
18
|
+
readonly deactivationapproval__order: DbRecordLinkManager;
|
|
19
|
+
readonly orderremediationtask__order: DbRecordLinkManager;
|
|
20
|
+
readonly case__order: DbRecordLinkManager;
|
|
21
|
+
readonly lead_order: DbRecordLinkManager;
|
|
22
|
+
readonly onetouchswitch__order: DbRecordLinkManager;
|
|
12
23
|
readonly address: DbRecordLinkManager;
|
|
13
24
|
readonly note: DbRecordLinkManager;
|
|
14
25
|
readonly contact: DbRecordLinkManager;
|
|
15
|
-
readonly account: DbRecordLinkManager;
|
|
16
26
|
readonly discount: DbRecordLinkManager;
|
|
17
27
|
readonly orderitem: DbRecordLinkManager;
|
|
18
28
|
readonly billingadjustment: DbRecordLinkManager;
|
|
19
|
-
readonly splitorder__order: DbRecordLinkManager;
|
|
20
|
-
readonly order__splitorder: DbRecordLinkManager;
|
|
21
|
-
readonly churnrequest: DbRecordLinkManager;
|
|
22
29
|
readonly commission: DbRecordLinkManager;
|
|
23
30
|
readonly file: DbRecordLinkManager;
|
|
24
31
|
readonly activity: DbRecordLinkManager;
|
|
25
|
-
readonly order: DbRecordLinkManager;
|
|
26
|
-
readonly picrequest: DbRecordLinkManager;
|
|
27
32
|
readonly smsmessage: DbRecordLinkManager;
|
|
28
|
-
readonly paymentmethodrefund: DbRecordLinkManager;
|
|
29
33
|
readonly visit: DbRecordLinkManager;
|
|
30
34
|
readonly workorder: DbRecordLinkManager;
|
|
31
|
-
readonly deactivationapproval: DbRecordLinkManager;
|
|
32
|
-
readonly orderremediationtask: DbRecordLinkManager;
|
|
33
|
-
readonly case: DbRecordLinkManager;
|
|
34
|
-
readonly lead: DbRecordLinkManager;
|
|
35
35
|
readonly customerdeviceont: DbRecordLinkManager;
|
|
36
36
|
readonly customerdevicerouter: DbRecordLinkManager;
|
|
37
37
|
readonly appointment: DbRecordLinkManager;
|
|
38
38
|
readonly ordercheck: DbRecordLinkManager;
|
|
39
39
|
readonly invoice: DbRecordLinkManager;
|
|
40
|
+
readonly splitorder: DbRecordLinkManager;
|
|
40
41
|
readonly phonenumber: DbRecordLinkManager;
|
|
41
42
|
readonly contactidentity: DbRecordLinkManager;
|
|
42
|
-
readonly onetouchswitch: DbRecordLinkManager;
|
|
43
43
|
constructor(principal: any, dbService: any);
|
|
44
44
|
setRecord(sourceRecord: any): void;
|
|
45
45
|
searchRecords(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/db.interfaces").OdinSearchResponse<any>>;
|
|
@@ -19,38 +19,38 @@ class OrderDb extends db_provider_1.DbProvider {
|
|
|
19
19
|
this.entityName = 'Order';
|
|
20
20
|
this.principal = principal;
|
|
21
21
|
this.dbService = dbService;
|
|
22
|
-
this.
|
|
22
|
+
this.returnorder__order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:Order', 'ReturnOrder__Order');
|
|
23
|
+
this.account__order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:Order', 'Account__Order');
|
|
24
|
+
this.splitorder__order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:Order', 'SplitOrder__Order');
|
|
25
|
+
this.churnrequest__order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:Order', 'ChurnRequest__Order');
|
|
26
|
+
this.order__order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:Order', 'Order__Order');
|
|
27
|
+
this.picrequest__order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:Order', 'PICRequest__Order');
|
|
28
|
+
this.paymentmethodrefund__order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:Order', 'PaymentMethodRefund__Order');
|
|
29
|
+
this.deactivationapproval__order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:Order', 'DeactivationApproval__Order');
|
|
30
|
+
this.orderremediationtask__order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:Order', 'OrderRemediationTask__Order');
|
|
31
|
+
this.case__order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:Order', 'Case__Order');
|
|
32
|
+
this.lead_order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:Order', 'Lead_Order');
|
|
33
|
+
this.onetouchswitch__order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:Order', 'OneTouchSwitch__Order');
|
|
23
34
|
this.address = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'CrmModule:Address', 'Order__Address');
|
|
24
35
|
this.note = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'SupportModule:Note', 'Order__Note');
|
|
25
36
|
this.contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'CrmModule:Contact', 'Order__Contact');
|
|
26
|
-
this.account = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'CrmModule:Account', 'Account__Order');
|
|
27
37
|
this.discount = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'ProductModule:Discount', 'Order__Discount');
|
|
28
38
|
this.orderitem = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:OrderItem', 'Order_OrderItem');
|
|
29
39
|
this.billingadjustment = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:BillingAdjustment', 'Order__BillingAdjustment');
|
|
30
|
-
this.splitorder__order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:SplitOrder', 'SplitOrder__Order');
|
|
31
|
-
this.order__splitorder = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:SplitOrder', 'Order__SplitOrder');
|
|
32
|
-
this.churnrequest = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:ChurnRequest', 'ChurnRequest__Order');
|
|
33
40
|
this.commission = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'BillingModule:Commission', 'Order__Commission');
|
|
34
41
|
this.file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'SchemaModule:File', 'Order__File');
|
|
35
42
|
this.activity = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'SchemaModule:Activity', 'Order__Activity');
|
|
36
|
-
this.order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:Order', 'Order__Order');
|
|
37
|
-
this.picrequest = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:PICRequest', 'PICRequest__Order');
|
|
38
43
|
this.smsmessage = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'NotificationModule:SmsMessage', 'Order__SmsMessage');
|
|
39
|
-
this.paymentmethodrefund = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'BillingModule:PaymentMethodRefund', 'PaymentMethodRefund__Order');
|
|
40
44
|
this.visit = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'CrmModule:Visit', 'Order__Visit');
|
|
41
45
|
this.workorder = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'FieldServiceModule:WorkOrder', 'Order__WorkOrder');
|
|
42
|
-
this.deactivationapproval = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:DeactivationApproval', 'DeactivationApproval__Order');
|
|
43
|
-
this.orderremediationtask = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:OrderRemediationTask', 'OrderRemediationTask__Order');
|
|
44
|
-
this.case = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'SupportModule:Case', 'Case__Order');
|
|
45
|
-
this.lead = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'CrmModule:Lead', 'Lead_Order');
|
|
46
46
|
this.customerdeviceont = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'ServiceModule:CustomerDeviceOnt', 'Order__CustomerDeviceOnt');
|
|
47
47
|
this.customerdevicerouter = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'ServiceModule:CustomerDeviceRouter', 'Order__CustomerDeviceRouter');
|
|
48
48
|
this.appointment = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'CrmModule:Appointment', 'Order__Appointment');
|
|
49
49
|
this.ordercheck = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'ServiceModule:OrderCheck', 'Order__OrderCheck');
|
|
50
50
|
this.invoice = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'BillingModule:Invoice', 'Order__Invoice');
|
|
51
|
+
this.splitorder = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:SplitOrder', 'Order__SplitOrder');
|
|
51
52
|
this.phonenumber = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'CrmModule:PhoneNumber', 'Order__PhoneNumber');
|
|
52
53
|
this.contactidentity = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'CrmModule:ContactIdentity', 'Order__ContactIdentity');
|
|
53
|
-
this.onetouchswitch = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:Order', 'OrderModule:OneTouchSwitch', 'OneTouchSwitch__Order');
|
|
54
54
|
}
|
|
55
55
|
setRecord(sourceRecord) {
|
|
56
56
|
this.sourceRecord = sourceRecord;
|
package/package.json
CHANGED
|
@@ -12,110 +12,45 @@
|
|
|
12
12
|
|
|
13
13
|
private sourceRecord: any;
|
|
14
14
|
|
|
15
|
-
public readonly
|
|
16
|
-
public readonly
|
|
17
|
-
public readonly workorder__contact: ApiRecordLinkManager;
|
|
18
|
-
public readonly order__contact: ApiRecordLinkManager;
|
|
19
|
-
public readonly lead__contact: ApiRecordLinkManager;
|
|
20
|
-
public readonly invoice__contact: ApiRecordLinkManager;
|
|
21
|
-
public readonly commission__contact: ApiRecordLinkManager;
|
|
22
|
-
public readonly contact__contact: ApiRecordLinkManager;
|
|
23
|
-
public readonly onetouchswitch__contact: ApiRecordLinkManager;
|
|
24
|
-
public readonly deactivationapproval__contact: ApiRecordLinkManager;
|
|
25
|
-
public readonly orderremediationtask__contact: ApiRecordLinkManager;
|
|
26
|
-
public readonly call__contact: ApiRecordLinkManager;
|
|
27
|
-
public readonly fingerprint__contact: ApiRecordLinkManager;
|
|
28
|
-
public readonly case__contact: ApiRecordLinkManager;
|
|
29
|
-
public readonly email_contact: ApiRecordLinkManager;
|
|
15
|
+
public readonly organization: ApiRecordLinkManager;
|
|
16
|
+
public readonly account: ApiRecordLinkManager;
|
|
30
17
|
public readonly activity: ApiRecordLinkManager;
|
|
31
18
|
public readonly note: ApiRecordLinkManager;
|
|
19
|
+
public readonly workorder: ApiRecordLinkManager;
|
|
20
|
+
public readonly order: ApiRecordLinkManager;
|
|
21
|
+
public readonly lead: ApiRecordLinkManager;
|
|
32
22
|
public readonly address: ApiRecordLinkManager;
|
|
33
23
|
public readonly smsmessage: ApiRecordLinkManager;
|
|
24
|
+
public readonly invoice: ApiRecordLinkManager;
|
|
34
25
|
public readonly billingrequest: ApiRecordLinkManager;
|
|
35
26
|
public readonly file: ApiRecordLinkManager;
|
|
27
|
+
public readonly commission: ApiRecordLinkManager;
|
|
28
|
+
public readonly contact: ApiRecordLinkManager;
|
|
29
|
+
public readonly onetouchswitch: ApiRecordLinkManager;
|
|
36
30
|
public readonly contactidentity: ApiRecordLinkManager;
|
|
37
31
|
public readonly paymentmethodrefund: ApiRecordLinkManager;
|
|
32
|
+
public readonly deactivationapproval: ApiRecordLinkManager;
|
|
38
33
|
public readonly phonenumber: ApiRecordLinkManager;
|
|
34
|
+
public readonly orderremediationtask: ApiRecordLinkManager;
|
|
39
35
|
public readonly appointment: ApiRecordLinkManager;
|
|
36
|
+
public readonly call: ApiRecordLinkManager;
|
|
37
|
+
public readonly fingerprint: ApiRecordLinkManager;
|
|
40
38
|
public readonly paymentmethod: ApiRecordLinkManager;
|
|
39
|
+
public readonly case: ApiRecordLinkManager;
|
|
40
|
+
public readonly email: ApiRecordLinkManager;
|
|
41
41
|
constructor(authParams?: OauthParams, protected readonly authToken?: string) {
|
|
42
42
|
super(authParams, authToken);
|
|
43
43
|
|
|
44
|
-
this.
|
|
44
|
+
this.organization = new ApiRecordLinkManager(
|
|
45
45
|
'CrmModule:Contact',
|
|
46
|
-
'CrmModule:
|
|
46
|
+
'CrmModule:Organization',
|
|
47
47
|
'Organization__Contact'
|
|
48
48
|
);
|
|
49
|
-
this.
|
|
49
|
+
this.account = new ApiRecordLinkManager(
|
|
50
50
|
'CrmModule:Contact',
|
|
51
|
-
'CrmModule:
|
|
51
|
+
'CrmModule:Account',
|
|
52
52
|
'BillingContact'
|
|
53
53
|
);
|
|
54
|
-
this.workorder__contact = new ApiRecordLinkManager(
|
|
55
|
-
'CrmModule:Contact',
|
|
56
|
-
'CrmModule:Contact',
|
|
57
|
-
'WorkOrder__Contact'
|
|
58
|
-
);
|
|
59
|
-
this.order__contact = new ApiRecordLinkManager(
|
|
60
|
-
'CrmModule:Contact',
|
|
61
|
-
'CrmModule:Contact',
|
|
62
|
-
'Order__Contact'
|
|
63
|
-
);
|
|
64
|
-
this.lead__contact = new ApiRecordLinkManager(
|
|
65
|
-
'CrmModule:Contact',
|
|
66
|
-
'CrmModule:Contact',
|
|
67
|
-
'Lead__Contact'
|
|
68
|
-
);
|
|
69
|
-
this.invoice__contact = new ApiRecordLinkManager(
|
|
70
|
-
'CrmModule:Contact',
|
|
71
|
-
'CrmModule:Contact',
|
|
72
|
-
'Invoice__Contact'
|
|
73
|
-
);
|
|
74
|
-
this.commission__contact = new ApiRecordLinkManager(
|
|
75
|
-
'CrmModule:Contact',
|
|
76
|
-
'CrmModule:Contact',
|
|
77
|
-
'Commission__Contact'
|
|
78
|
-
);
|
|
79
|
-
this.contact__contact = new ApiRecordLinkManager(
|
|
80
|
-
'CrmModule:Contact',
|
|
81
|
-
'CrmModule:Contact',
|
|
82
|
-
'Contact__Contact'
|
|
83
|
-
);
|
|
84
|
-
this.onetouchswitch__contact = new ApiRecordLinkManager(
|
|
85
|
-
'CrmModule:Contact',
|
|
86
|
-
'CrmModule:Contact',
|
|
87
|
-
'OneTouchSwitch__Contact'
|
|
88
|
-
);
|
|
89
|
-
this.deactivationapproval__contact = new ApiRecordLinkManager(
|
|
90
|
-
'CrmModule:Contact',
|
|
91
|
-
'CrmModule:Contact',
|
|
92
|
-
'DeactivationApproval__Contact'
|
|
93
|
-
);
|
|
94
|
-
this.orderremediationtask__contact = new ApiRecordLinkManager(
|
|
95
|
-
'CrmModule:Contact',
|
|
96
|
-
'CrmModule:Contact',
|
|
97
|
-
'OrderRemediationTask__Contact'
|
|
98
|
-
);
|
|
99
|
-
this.call__contact = new ApiRecordLinkManager(
|
|
100
|
-
'CrmModule:Contact',
|
|
101
|
-
'CrmModule:Contact',
|
|
102
|
-
'Call__Contact'
|
|
103
|
-
);
|
|
104
|
-
this.fingerprint__contact = new ApiRecordLinkManager(
|
|
105
|
-
'CrmModule:Contact',
|
|
106
|
-
'CrmModule:Contact',
|
|
107
|
-
'Fingerprint__Contact'
|
|
108
|
-
);
|
|
109
|
-
this.case__contact = new ApiRecordLinkManager(
|
|
110
|
-
'CrmModule:Contact',
|
|
111
|
-
'CrmModule:Contact',
|
|
112
|
-
'Case__Contact'
|
|
113
|
-
);
|
|
114
|
-
this.email_contact = new ApiRecordLinkManager(
|
|
115
|
-
'CrmModule:Contact',
|
|
116
|
-
'CrmModule:Contact',
|
|
117
|
-
'Email_Contact'
|
|
118
|
-
);
|
|
119
54
|
this.activity = new ApiRecordLinkManager(
|
|
120
55
|
'CrmModule:Contact',
|
|
121
56
|
'SchemaModule:Activity',
|
|
@@ -126,6 +61,21 @@
|
|
|
126
61
|
'SupportModule:Note',
|
|
127
62
|
'Contact__Note'
|
|
128
63
|
);
|
|
64
|
+
this.workorder = new ApiRecordLinkManager(
|
|
65
|
+
'CrmModule:Contact',
|
|
66
|
+
'FieldServiceModule:WorkOrder',
|
|
67
|
+
'WorkOrder__Contact'
|
|
68
|
+
);
|
|
69
|
+
this.order = new ApiRecordLinkManager(
|
|
70
|
+
'CrmModule:Contact',
|
|
71
|
+
'OrderModule:Order',
|
|
72
|
+
'Order__Contact'
|
|
73
|
+
);
|
|
74
|
+
this.lead = new ApiRecordLinkManager(
|
|
75
|
+
'CrmModule:Contact',
|
|
76
|
+
'CrmModule:Lead',
|
|
77
|
+
'Lead__Contact'
|
|
78
|
+
);
|
|
129
79
|
this.address = new ApiRecordLinkManager(
|
|
130
80
|
'CrmModule:Contact',
|
|
131
81
|
'CrmModule:Address',
|
|
@@ -136,6 +86,11 @@
|
|
|
136
86
|
'NotificationModule:SmsMessage',
|
|
137
87
|
'Contact__SmsMessage'
|
|
138
88
|
);
|
|
89
|
+
this.invoice = new ApiRecordLinkManager(
|
|
90
|
+
'CrmModule:Contact',
|
|
91
|
+
'BillingModule:Invoice',
|
|
92
|
+
'Invoice__Contact'
|
|
93
|
+
);
|
|
139
94
|
this.billingrequest = new ApiRecordLinkManager(
|
|
140
95
|
'CrmModule:Contact',
|
|
141
96
|
'BillingModule:BillingRequest',
|
|
@@ -146,6 +101,21 @@
|
|
|
146
101
|
'SchemaModule:File',
|
|
147
102
|
'Contact__File'
|
|
148
103
|
);
|
|
104
|
+
this.commission = new ApiRecordLinkManager(
|
|
105
|
+
'CrmModule:Contact',
|
|
106
|
+
'BillingModule:Commission',
|
|
107
|
+
'Commission__Contact'
|
|
108
|
+
);
|
|
109
|
+
this.contact = new ApiRecordLinkManager(
|
|
110
|
+
'CrmModule:Contact',
|
|
111
|
+
'CrmModule:Contact',
|
|
112
|
+
'Contact__Contact'
|
|
113
|
+
);
|
|
114
|
+
this.onetouchswitch = new ApiRecordLinkManager(
|
|
115
|
+
'CrmModule:Contact',
|
|
116
|
+
'OrderModule:OneTouchSwitch',
|
|
117
|
+
'OneTouchSwitch__Contact'
|
|
118
|
+
);
|
|
149
119
|
this.contactidentity = new ApiRecordLinkManager(
|
|
150
120
|
'CrmModule:Contact',
|
|
151
121
|
'CrmModule:ContactIdentity',
|
|
@@ -156,21 +126,51 @@
|
|
|
156
126
|
'BillingModule:PaymentMethodRefund',
|
|
157
127
|
'Contact__PaymentMethodRefund'
|
|
158
128
|
);
|
|
129
|
+
this.deactivationapproval = new ApiRecordLinkManager(
|
|
130
|
+
'CrmModule:Contact',
|
|
131
|
+
'OrderModule:DeactivationApproval',
|
|
132
|
+
'DeactivationApproval__Contact'
|
|
133
|
+
);
|
|
159
134
|
this.phonenumber = new ApiRecordLinkManager(
|
|
160
135
|
'CrmModule:Contact',
|
|
161
136
|
'CrmModule:PhoneNumber',
|
|
162
137
|
'Contact__PhoneNumber'
|
|
163
138
|
);
|
|
139
|
+
this.orderremediationtask = new ApiRecordLinkManager(
|
|
140
|
+
'CrmModule:Contact',
|
|
141
|
+
'OrderModule:OrderRemediationTask',
|
|
142
|
+
'OrderRemediationTask__Contact'
|
|
143
|
+
);
|
|
164
144
|
this.appointment = new ApiRecordLinkManager(
|
|
165
145
|
'CrmModule:Contact',
|
|
166
146
|
'CrmModule:Appointment',
|
|
167
147
|
'Contact__Appointment'
|
|
168
148
|
);
|
|
149
|
+
this.call = new ApiRecordLinkManager(
|
|
150
|
+
'CrmModule:Contact',
|
|
151
|
+
'NotificationModule:Call',
|
|
152
|
+
'Call__Contact'
|
|
153
|
+
);
|
|
154
|
+
this.fingerprint = new ApiRecordLinkManager(
|
|
155
|
+
'CrmModule:Contact',
|
|
156
|
+
'CrmModule:Fingerprint',
|
|
157
|
+
'Fingerprint__Contact'
|
|
158
|
+
);
|
|
169
159
|
this.paymentmethod = new ApiRecordLinkManager(
|
|
170
160
|
'CrmModule:Contact',
|
|
171
161
|
'BillingModule:PaymentMethod',
|
|
172
162
|
'Contact__PaymentMethod'
|
|
173
163
|
);
|
|
164
|
+
this.case = new ApiRecordLinkManager(
|
|
165
|
+
'CrmModule:Contact',
|
|
166
|
+
'SupportModule:Case',
|
|
167
|
+
'Case__Contact'
|
|
168
|
+
);
|
|
169
|
+
this.email = new ApiRecordLinkManager(
|
|
170
|
+
'CrmModule:Contact',
|
|
171
|
+
'NotificationModule:Email',
|
|
172
|
+
'Email_Contact'
|
|
173
|
+
);
|
|
174
174
|
}
|
|
175
175
|
|
|
176
176
|
|
|
@@ -12,46 +12,101 @@
|
|
|
12
12
|
|
|
13
13
|
private sourceRecord: any;
|
|
14
14
|
|
|
15
|
-
public readonly
|
|
15
|
+
public readonly returnorder__order: ApiRecordLinkManager;
|
|
16
|
+
public readonly account__order: ApiRecordLinkManager;
|
|
17
|
+
public readonly splitorder__order: ApiRecordLinkManager;
|
|
18
|
+
public readonly churnrequest__order: ApiRecordLinkManager;
|
|
19
|
+
public readonly order__order: ApiRecordLinkManager;
|
|
20
|
+
public readonly picrequest__order: ApiRecordLinkManager;
|
|
21
|
+
public readonly paymentmethodrefund__order: ApiRecordLinkManager;
|
|
22
|
+
public readonly deactivationapproval__order: ApiRecordLinkManager;
|
|
23
|
+
public readonly orderremediationtask__order: ApiRecordLinkManager;
|
|
24
|
+
public readonly case__order: ApiRecordLinkManager;
|
|
25
|
+
public readonly lead_order: ApiRecordLinkManager;
|
|
26
|
+
public readonly onetouchswitch__order: ApiRecordLinkManager;
|
|
16
27
|
public readonly address: ApiRecordLinkManager;
|
|
17
28
|
public readonly note: ApiRecordLinkManager;
|
|
18
29
|
public readonly contact: ApiRecordLinkManager;
|
|
19
|
-
public readonly account: ApiRecordLinkManager;
|
|
20
30
|
public readonly discount: ApiRecordLinkManager;
|
|
21
31
|
public readonly orderitem: ApiRecordLinkManager;
|
|
22
32
|
public readonly billingadjustment: ApiRecordLinkManager;
|
|
23
|
-
public readonly splitorder__order: ApiRecordLinkManager;
|
|
24
|
-
public readonly order__splitorder: ApiRecordLinkManager;
|
|
25
|
-
public readonly churnrequest: ApiRecordLinkManager;
|
|
26
33
|
public readonly commission: ApiRecordLinkManager;
|
|
27
34
|
public readonly file: ApiRecordLinkManager;
|
|
28
35
|
public readonly activity: ApiRecordLinkManager;
|
|
29
|
-
public readonly order: ApiRecordLinkManager;
|
|
30
|
-
public readonly picrequest: ApiRecordLinkManager;
|
|
31
36
|
public readonly smsmessage: ApiRecordLinkManager;
|
|
32
|
-
public readonly paymentmethodrefund: ApiRecordLinkManager;
|
|
33
37
|
public readonly visit: ApiRecordLinkManager;
|
|
34
38
|
public readonly workorder: ApiRecordLinkManager;
|
|
35
|
-
public readonly deactivationapproval: ApiRecordLinkManager;
|
|
36
|
-
public readonly orderremediationtask: ApiRecordLinkManager;
|
|
37
|
-
public readonly case: ApiRecordLinkManager;
|
|
38
|
-
public readonly lead: ApiRecordLinkManager;
|
|
39
39
|
public readonly customerdeviceont: ApiRecordLinkManager;
|
|
40
40
|
public readonly customerdevicerouter: ApiRecordLinkManager;
|
|
41
41
|
public readonly appointment: ApiRecordLinkManager;
|
|
42
42
|
public readonly ordercheck: ApiRecordLinkManager;
|
|
43
43
|
public readonly invoice: ApiRecordLinkManager;
|
|
44
|
+
public readonly splitorder: ApiRecordLinkManager;
|
|
44
45
|
public readonly phonenumber: ApiRecordLinkManager;
|
|
45
46
|
public readonly contactidentity: ApiRecordLinkManager;
|
|
46
|
-
public readonly onetouchswitch: ApiRecordLinkManager;
|
|
47
47
|
constructor(authParams?: OauthParams, protected readonly authToken?: string) {
|
|
48
48
|
super(authParams, authToken);
|
|
49
49
|
|
|
50
|
-
this.
|
|
50
|
+
this.returnorder__order = new ApiRecordLinkManager(
|
|
51
51
|
'OrderModule:Order',
|
|
52
|
-
'OrderModule:
|
|
52
|
+
'OrderModule:Order',
|
|
53
53
|
'ReturnOrder__Order'
|
|
54
54
|
);
|
|
55
|
+
this.account__order = new ApiRecordLinkManager(
|
|
56
|
+
'OrderModule:Order',
|
|
57
|
+
'OrderModule:Order',
|
|
58
|
+
'Account__Order'
|
|
59
|
+
);
|
|
60
|
+
this.splitorder__order = new ApiRecordLinkManager(
|
|
61
|
+
'OrderModule:Order',
|
|
62
|
+
'OrderModule:Order',
|
|
63
|
+
'SplitOrder__Order'
|
|
64
|
+
);
|
|
65
|
+
this.churnrequest__order = new ApiRecordLinkManager(
|
|
66
|
+
'OrderModule:Order',
|
|
67
|
+
'OrderModule:Order',
|
|
68
|
+
'ChurnRequest__Order'
|
|
69
|
+
);
|
|
70
|
+
this.order__order = new ApiRecordLinkManager(
|
|
71
|
+
'OrderModule:Order',
|
|
72
|
+
'OrderModule:Order',
|
|
73
|
+
'Order__Order'
|
|
74
|
+
);
|
|
75
|
+
this.picrequest__order = new ApiRecordLinkManager(
|
|
76
|
+
'OrderModule:Order',
|
|
77
|
+
'OrderModule:Order',
|
|
78
|
+
'PICRequest__Order'
|
|
79
|
+
);
|
|
80
|
+
this.paymentmethodrefund__order = new ApiRecordLinkManager(
|
|
81
|
+
'OrderModule:Order',
|
|
82
|
+
'OrderModule:Order',
|
|
83
|
+
'PaymentMethodRefund__Order'
|
|
84
|
+
);
|
|
85
|
+
this.deactivationapproval__order = new ApiRecordLinkManager(
|
|
86
|
+
'OrderModule:Order',
|
|
87
|
+
'OrderModule:Order',
|
|
88
|
+
'DeactivationApproval__Order'
|
|
89
|
+
);
|
|
90
|
+
this.orderremediationtask__order = new ApiRecordLinkManager(
|
|
91
|
+
'OrderModule:Order',
|
|
92
|
+
'OrderModule:Order',
|
|
93
|
+
'OrderRemediationTask__Order'
|
|
94
|
+
);
|
|
95
|
+
this.case__order = new ApiRecordLinkManager(
|
|
96
|
+
'OrderModule:Order',
|
|
97
|
+
'OrderModule:Order',
|
|
98
|
+
'Case__Order'
|
|
99
|
+
);
|
|
100
|
+
this.lead_order = new ApiRecordLinkManager(
|
|
101
|
+
'OrderModule:Order',
|
|
102
|
+
'OrderModule:Order',
|
|
103
|
+
'Lead_Order'
|
|
104
|
+
);
|
|
105
|
+
this.onetouchswitch__order = new ApiRecordLinkManager(
|
|
106
|
+
'OrderModule:Order',
|
|
107
|
+
'OrderModule:Order',
|
|
108
|
+
'OneTouchSwitch__Order'
|
|
109
|
+
);
|
|
55
110
|
this.address = new ApiRecordLinkManager(
|
|
56
111
|
'OrderModule:Order',
|
|
57
112
|
'CrmModule:Address',
|
|
@@ -67,11 +122,6 @@
|
|
|
67
122
|
'CrmModule:Contact',
|
|
68
123
|
'Order__Contact'
|
|
69
124
|
);
|
|
70
|
-
this.account = new ApiRecordLinkManager(
|
|
71
|
-
'OrderModule:Order',
|
|
72
|
-
'CrmModule:Account',
|
|
73
|
-
'Account__Order'
|
|
74
|
-
);
|
|
75
125
|
this.discount = new ApiRecordLinkManager(
|
|
76
126
|
'OrderModule:Order',
|
|
77
127
|
'ProductModule:Discount',
|
|
@@ -87,21 +137,6 @@
|
|
|
87
137
|
'OrderModule:BillingAdjustment',
|
|
88
138
|
'Order__BillingAdjustment'
|
|
89
139
|
);
|
|
90
|
-
this.splitorder__order = new ApiRecordLinkManager(
|
|
91
|
-
'OrderModule:Order',
|
|
92
|
-
'OrderModule:SplitOrder',
|
|
93
|
-
'SplitOrder__Order'
|
|
94
|
-
);
|
|
95
|
-
this.order__splitorder = new ApiRecordLinkManager(
|
|
96
|
-
'OrderModule:Order',
|
|
97
|
-
'OrderModule:SplitOrder',
|
|
98
|
-
'Order__SplitOrder'
|
|
99
|
-
);
|
|
100
|
-
this.churnrequest = new ApiRecordLinkManager(
|
|
101
|
-
'OrderModule:Order',
|
|
102
|
-
'OrderModule:ChurnRequest',
|
|
103
|
-
'ChurnRequest__Order'
|
|
104
|
-
);
|
|
105
140
|
this.commission = new ApiRecordLinkManager(
|
|
106
141
|
'OrderModule:Order',
|
|
107
142
|
'BillingModule:Commission',
|
|
@@ -117,26 +152,11 @@
|
|
|
117
152
|
'SchemaModule:Activity',
|
|
118
153
|
'Order__Activity'
|
|
119
154
|
);
|
|
120
|
-
this.order = new ApiRecordLinkManager(
|
|
121
|
-
'OrderModule:Order',
|
|
122
|
-
'OrderModule:Order',
|
|
123
|
-
'Order__Order'
|
|
124
|
-
);
|
|
125
|
-
this.picrequest = new ApiRecordLinkManager(
|
|
126
|
-
'OrderModule:Order',
|
|
127
|
-
'OrderModule:PICRequest',
|
|
128
|
-
'PICRequest__Order'
|
|
129
|
-
);
|
|
130
155
|
this.smsmessage = new ApiRecordLinkManager(
|
|
131
156
|
'OrderModule:Order',
|
|
132
157
|
'NotificationModule:SmsMessage',
|
|
133
158
|
'Order__SmsMessage'
|
|
134
159
|
);
|
|
135
|
-
this.paymentmethodrefund = new ApiRecordLinkManager(
|
|
136
|
-
'OrderModule:Order',
|
|
137
|
-
'BillingModule:PaymentMethodRefund',
|
|
138
|
-
'PaymentMethodRefund__Order'
|
|
139
|
-
);
|
|
140
160
|
this.visit = new ApiRecordLinkManager(
|
|
141
161
|
'OrderModule:Order',
|
|
142
162
|
'CrmModule:Visit',
|
|
@@ -147,26 +167,6 @@
|
|
|
147
167
|
'FieldServiceModule:WorkOrder',
|
|
148
168
|
'Order__WorkOrder'
|
|
149
169
|
);
|
|
150
|
-
this.deactivationapproval = new ApiRecordLinkManager(
|
|
151
|
-
'OrderModule:Order',
|
|
152
|
-
'OrderModule:DeactivationApproval',
|
|
153
|
-
'DeactivationApproval__Order'
|
|
154
|
-
);
|
|
155
|
-
this.orderremediationtask = new ApiRecordLinkManager(
|
|
156
|
-
'OrderModule:Order',
|
|
157
|
-
'OrderModule:OrderRemediationTask',
|
|
158
|
-
'OrderRemediationTask__Order'
|
|
159
|
-
);
|
|
160
|
-
this.case = new ApiRecordLinkManager(
|
|
161
|
-
'OrderModule:Order',
|
|
162
|
-
'SupportModule:Case',
|
|
163
|
-
'Case__Order'
|
|
164
|
-
);
|
|
165
|
-
this.lead = new ApiRecordLinkManager(
|
|
166
|
-
'OrderModule:Order',
|
|
167
|
-
'CrmModule:Lead',
|
|
168
|
-
'Lead_Order'
|
|
169
|
-
);
|
|
170
170
|
this.customerdeviceont = new ApiRecordLinkManager(
|
|
171
171
|
'OrderModule:Order',
|
|
172
172
|
'ServiceModule:CustomerDeviceOnt',
|
|
@@ -192,6 +192,11 @@
|
|
|
192
192
|
'BillingModule:Invoice',
|
|
193
193
|
'Order__Invoice'
|
|
194
194
|
);
|
|
195
|
+
this.splitorder = new ApiRecordLinkManager(
|
|
196
|
+
'OrderModule:Order',
|
|
197
|
+
'OrderModule:SplitOrder',
|
|
198
|
+
'Order__SplitOrder'
|
|
199
|
+
);
|
|
195
200
|
this.phonenumber = new ApiRecordLinkManager(
|
|
196
201
|
'OrderModule:Order',
|
|
197
202
|
'CrmModule:PhoneNumber',
|
|
@@ -202,11 +207,6 @@
|
|
|
202
207
|
'CrmModule:ContactIdentity',
|
|
203
208
|
'Order__ContactIdentity'
|
|
204
209
|
);
|
|
205
|
-
this.onetouchswitch = new ApiRecordLinkManager(
|
|
206
|
-
'OrderModule:Order',
|
|
207
|
-
'OrderModule:OneTouchSwitch',
|
|
208
|
-
'OneTouchSwitch__Order'
|
|
209
|
-
);
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
|
package/src/db-sdk-v2/OrderDb.ts
CHANGED
|
@@ -14,211 +14,211 @@
|
|
|
14
14
|
|
|
15
15
|
private sourceRecord: any;
|
|
16
16
|
|
|
17
|
-
public readonly
|
|
17
|
+
public readonly returnorder__order: DbRecordLinkManager;
|
|
18
|
+
public readonly account__order: DbRecordLinkManager;
|
|
19
|
+
public readonly splitorder__order: DbRecordLinkManager;
|
|
20
|
+
public readonly churnrequest__order: DbRecordLinkManager;
|
|
21
|
+
public readonly order__order: DbRecordLinkManager;
|
|
22
|
+
public readonly picrequest__order: DbRecordLinkManager;
|
|
23
|
+
public readonly paymentmethodrefund__order: DbRecordLinkManager;
|
|
24
|
+
public readonly deactivationapproval__order: DbRecordLinkManager;
|
|
25
|
+
public readonly orderremediationtask__order: DbRecordLinkManager;
|
|
26
|
+
public readonly case__order: DbRecordLinkManager;
|
|
27
|
+
public readonly lead_order: DbRecordLinkManager;
|
|
28
|
+
public readonly onetouchswitch__order: DbRecordLinkManager;
|
|
18
29
|
public readonly address: DbRecordLinkManager;
|
|
19
30
|
public readonly note: DbRecordLinkManager;
|
|
20
31
|
public readonly contact: DbRecordLinkManager;
|
|
21
|
-
public readonly account: DbRecordLinkManager;
|
|
22
32
|
public readonly discount: DbRecordLinkManager;
|
|
23
33
|
public readonly orderitem: DbRecordLinkManager;
|
|
24
34
|
public readonly billingadjustment: DbRecordLinkManager;
|
|
25
|
-
public readonly splitorder__order: DbRecordLinkManager;
|
|
26
|
-
public readonly order__splitorder: DbRecordLinkManager;
|
|
27
|
-
public readonly churnrequest: DbRecordLinkManager;
|
|
28
35
|
public readonly commission: DbRecordLinkManager;
|
|
29
36
|
public readonly file: DbRecordLinkManager;
|
|
30
37
|
public readonly activity: DbRecordLinkManager;
|
|
31
|
-
public readonly order: DbRecordLinkManager;
|
|
32
|
-
public readonly picrequest: DbRecordLinkManager;
|
|
33
38
|
public readonly smsmessage: DbRecordLinkManager;
|
|
34
|
-
public readonly paymentmethodrefund: DbRecordLinkManager;
|
|
35
39
|
public readonly visit: DbRecordLinkManager;
|
|
36
40
|
public readonly workorder: DbRecordLinkManager;
|
|
37
|
-
public readonly deactivationapproval: DbRecordLinkManager;
|
|
38
|
-
public readonly orderremediationtask: DbRecordLinkManager;
|
|
39
|
-
public readonly case: DbRecordLinkManager;
|
|
40
|
-
public readonly lead: DbRecordLinkManager;
|
|
41
41
|
public readonly customerdeviceont: DbRecordLinkManager;
|
|
42
42
|
public readonly customerdevicerouter: DbRecordLinkManager;
|
|
43
43
|
public readonly appointment: DbRecordLinkManager;
|
|
44
44
|
public readonly ordercheck: DbRecordLinkManager;
|
|
45
45
|
public readonly invoice: DbRecordLinkManager;
|
|
46
|
+
public readonly splitorder: DbRecordLinkManager;
|
|
46
47
|
public readonly phonenumber: DbRecordLinkManager;
|
|
47
48
|
public readonly contactidentity: DbRecordLinkManager;
|
|
48
|
-
public readonly onetouchswitch: DbRecordLinkManager;
|
|
49
49
|
constructor(principal: any, dbService: any) {
|
|
50
50
|
super(principal, dbService);
|
|
51
51
|
|
|
52
52
|
this.principal = principal;
|
|
53
53
|
this.dbService = dbService;
|
|
54
54
|
|
|
55
|
-
this.
|
|
55
|
+
this.returnorder__order = new DbRecordLinkManager(
|
|
56
56
|
this.principal,
|
|
57
57
|
this.dbService,
|
|
58
58
|
'OrderModule:Order',
|
|
59
|
-
'OrderModule:
|
|
59
|
+
'OrderModule:Order',
|
|
60
60
|
'ReturnOrder__Order'
|
|
61
61
|
);
|
|
62
|
-
this.
|
|
62
|
+
this.account__order = new DbRecordLinkManager(
|
|
63
63
|
this.principal,
|
|
64
64
|
this.dbService,
|
|
65
65
|
'OrderModule:Order',
|
|
66
|
-
'
|
|
67
|
-
'
|
|
66
|
+
'OrderModule:Order',
|
|
67
|
+
'Account__Order'
|
|
68
68
|
);
|
|
69
|
-
this.
|
|
69
|
+
this.splitorder__order = new DbRecordLinkManager(
|
|
70
70
|
this.principal,
|
|
71
71
|
this.dbService,
|
|
72
72
|
'OrderModule:Order',
|
|
73
|
-
'
|
|
74
|
-
'
|
|
73
|
+
'OrderModule:Order',
|
|
74
|
+
'SplitOrder__Order'
|
|
75
75
|
);
|
|
76
|
-
this.
|
|
76
|
+
this.churnrequest__order = new DbRecordLinkManager(
|
|
77
77
|
this.principal,
|
|
78
78
|
this.dbService,
|
|
79
79
|
'OrderModule:Order',
|
|
80
|
-
'
|
|
81
|
-
'
|
|
80
|
+
'OrderModule:Order',
|
|
81
|
+
'ChurnRequest__Order'
|
|
82
82
|
);
|
|
83
|
-
this.
|
|
83
|
+
this.order__order = new DbRecordLinkManager(
|
|
84
84
|
this.principal,
|
|
85
85
|
this.dbService,
|
|
86
86
|
'OrderModule:Order',
|
|
87
|
-
'
|
|
88
|
-
'
|
|
87
|
+
'OrderModule:Order',
|
|
88
|
+
'Order__Order'
|
|
89
89
|
);
|
|
90
|
-
this.
|
|
90
|
+
this.picrequest__order = new DbRecordLinkManager(
|
|
91
91
|
this.principal,
|
|
92
92
|
this.dbService,
|
|
93
93
|
'OrderModule:Order',
|
|
94
|
-
'
|
|
95
|
-
'
|
|
94
|
+
'OrderModule:Order',
|
|
95
|
+
'PICRequest__Order'
|
|
96
96
|
);
|
|
97
|
-
this.
|
|
97
|
+
this.paymentmethodrefund__order = new DbRecordLinkManager(
|
|
98
98
|
this.principal,
|
|
99
99
|
this.dbService,
|
|
100
100
|
'OrderModule:Order',
|
|
101
|
-
'OrderModule:
|
|
102
|
-
'
|
|
101
|
+
'OrderModule:Order',
|
|
102
|
+
'PaymentMethodRefund__Order'
|
|
103
103
|
);
|
|
104
|
-
this.
|
|
104
|
+
this.deactivationapproval__order = new DbRecordLinkManager(
|
|
105
105
|
this.principal,
|
|
106
106
|
this.dbService,
|
|
107
107
|
'OrderModule:Order',
|
|
108
|
-
'OrderModule:
|
|
109
|
-
'
|
|
108
|
+
'OrderModule:Order',
|
|
109
|
+
'DeactivationApproval__Order'
|
|
110
110
|
);
|
|
111
|
-
this.
|
|
111
|
+
this.orderremediationtask__order = new DbRecordLinkManager(
|
|
112
112
|
this.principal,
|
|
113
113
|
this.dbService,
|
|
114
114
|
'OrderModule:Order',
|
|
115
|
-
'OrderModule:
|
|
116
|
-
'
|
|
115
|
+
'OrderModule:Order',
|
|
116
|
+
'OrderRemediationTask__Order'
|
|
117
117
|
);
|
|
118
|
-
this.
|
|
118
|
+
this.case__order = new DbRecordLinkManager(
|
|
119
119
|
this.principal,
|
|
120
120
|
this.dbService,
|
|
121
121
|
'OrderModule:Order',
|
|
122
|
-
'OrderModule:
|
|
123
|
-
'
|
|
122
|
+
'OrderModule:Order',
|
|
123
|
+
'Case__Order'
|
|
124
124
|
);
|
|
125
|
-
this.
|
|
125
|
+
this.lead_order = new DbRecordLinkManager(
|
|
126
126
|
this.principal,
|
|
127
127
|
this.dbService,
|
|
128
128
|
'OrderModule:Order',
|
|
129
|
-
'OrderModule:
|
|
130
|
-
'
|
|
129
|
+
'OrderModule:Order',
|
|
130
|
+
'Lead_Order'
|
|
131
131
|
);
|
|
132
|
-
this.
|
|
132
|
+
this.onetouchswitch__order = new DbRecordLinkManager(
|
|
133
133
|
this.principal,
|
|
134
134
|
this.dbService,
|
|
135
135
|
'OrderModule:Order',
|
|
136
|
-
'
|
|
137
|
-
'
|
|
136
|
+
'OrderModule:Order',
|
|
137
|
+
'OneTouchSwitch__Order'
|
|
138
138
|
);
|
|
139
|
-
this.
|
|
139
|
+
this.address = new DbRecordLinkManager(
|
|
140
140
|
this.principal,
|
|
141
141
|
this.dbService,
|
|
142
142
|
'OrderModule:Order',
|
|
143
|
-
'
|
|
144
|
-
'
|
|
143
|
+
'CrmModule:Address',
|
|
144
|
+
'Order__Address'
|
|
145
145
|
);
|
|
146
|
-
this.
|
|
146
|
+
this.note = new DbRecordLinkManager(
|
|
147
147
|
this.principal,
|
|
148
148
|
this.dbService,
|
|
149
149
|
'OrderModule:Order',
|
|
150
|
-
'
|
|
151
|
-
'
|
|
150
|
+
'SupportModule:Note',
|
|
151
|
+
'Order__Note'
|
|
152
152
|
);
|
|
153
|
-
this.
|
|
153
|
+
this.contact = new DbRecordLinkManager(
|
|
154
154
|
this.principal,
|
|
155
155
|
this.dbService,
|
|
156
156
|
'OrderModule:Order',
|
|
157
|
-
'
|
|
158
|
-
'
|
|
157
|
+
'CrmModule:Contact',
|
|
158
|
+
'Order__Contact'
|
|
159
159
|
);
|
|
160
|
-
this.
|
|
160
|
+
this.discount = new DbRecordLinkManager(
|
|
161
161
|
this.principal,
|
|
162
162
|
this.dbService,
|
|
163
163
|
'OrderModule:Order',
|
|
164
|
-
'
|
|
165
|
-
'
|
|
164
|
+
'ProductModule:Discount',
|
|
165
|
+
'Order__Discount'
|
|
166
166
|
);
|
|
167
|
-
this.
|
|
167
|
+
this.orderitem = new DbRecordLinkManager(
|
|
168
168
|
this.principal,
|
|
169
169
|
this.dbService,
|
|
170
170
|
'OrderModule:Order',
|
|
171
|
-
'
|
|
172
|
-
'
|
|
171
|
+
'OrderModule:OrderItem',
|
|
172
|
+
'Order_OrderItem'
|
|
173
173
|
);
|
|
174
|
-
this.
|
|
174
|
+
this.billingadjustment = new DbRecordLinkManager(
|
|
175
175
|
this.principal,
|
|
176
176
|
this.dbService,
|
|
177
177
|
'OrderModule:Order',
|
|
178
|
-
'
|
|
179
|
-
'
|
|
178
|
+
'OrderModule:BillingAdjustment',
|
|
179
|
+
'Order__BillingAdjustment'
|
|
180
180
|
);
|
|
181
|
-
this.
|
|
181
|
+
this.commission = new DbRecordLinkManager(
|
|
182
182
|
this.principal,
|
|
183
183
|
this.dbService,
|
|
184
184
|
'OrderModule:Order',
|
|
185
|
-
'
|
|
186
|
-
'
|
|
185
|
+
'BillingModule:Commission',
|
|
186
|
+
'Order__Commission'
|
|
187
187
|
);
|
|
188
|
-
this.
|
|
188
|
+
this.file = new DbRecordLinkManager(
|
|
189
189
|
this.principal,
|
|
190
190
|
this.dbService,
|
|
191
191
|
'OrderModule:Order',
|
|
192
|
-
'
|
|
193
|
-
'
|
|
192
|
+
'SchemaModule:File',
|
|
193
|
+
'Order__File'
|
|
194
194
|
);
|
|
195
|
-
this.
|
|
195
|
+
this.activity = new DbRecordLinkManager(
|
|
196
196
|
this.principal,
|
|
197
197
|
this.dbService,
|
|
198
198
|
'OrderModule:Order',
|
|
199
|
-
'
|
|
200
|
-
'
|
|
199
|
+
'SchemaModule:Activity',
|
|
200
|
+
'Order__Activity'
|
|
201
201
|
);
|
|
202
|
-
this.
|
|
202
|
+
this.smsmessage = new DbRecordLinkManager(
|
|
203
203
|
this.principal,
|
|
204
204
|
this.dbService,
|
|
205
205
|
'OrderModule:Order',
|
|
206
|
-
'
|
|
207
|
-
'
|
|
206
|
+
'NotificationModule:SmsMessage',
|
|
207
|
+
'Order__SmsMessage'
|
|
208
208
|
);
|
|
209
|
-
this.
|
|
209
|
+
this.visit = new DbRecordLinkManager(
|
|
210
210
|
this.principal,
|
|
211
211
|
this.dbService,
|
|
212
212
|
'OrderModule:Order',
|
|
213
|
-
'
|
|
214
|
-
'
|
|
213
|
+
'CrmModule:Visit',
|
|
214
|
+
'Order__Visit'
|
|
215
215
|
);
|
|
216
|
-
this.
|
|
216
|
+
this.workorder = new DbRecordLinkManager(
|
|
217
217
|
this.principal,
|
|
218
218
|
this.dbService,
|
|
219
219
|
'OrderModule:Order',
|
|
220
|
-
'
|
|
221
|
-
'
|
|
220
|
+
'FieldServiceModule:WorkOrder',
|
|
221
|
+
'Order__WorkOrder'
|
|
222
222
|
);
|
|
223
223
|
this.customerdeviceont = new DbRecordLinkManager(
|
|
224
224
|
this.principal,
|
|
@@ -255,6 +255,13 @@
|
|
|
255
255
|
'BillingModule:Invoice',
|
|
256
256
|
'Order__Invoice'
|
|
257
257
|
);
|
|
258
|
+
this.splitorder = new DbRecordLinkManager(
|
|
259
|
+
this.principal,
|
|
260
|
+
this.dbService,
|
|
261
|
+
'OrderModule:Order',
|
|
262
|
+
'OrderModule:SplitOrder',
|
|
263
|
+
'Order__SplitOrder'
|
|
264
|
+
);
|
|
258
265
|
this.phonenumber = new DbRecordLinkManager(
|
|
259
266
|
this.principal,
|
|
260
267
|
this.dbService,
|
|
@@ -269,13 +276,6 @@
|
|
|
269
276
|
'CrmModule:ContactIdentity',
|
|
270
277
|
'Order__ContactIdentity'
|
|
271
278
|
);
|
|
272
|
-
this.onetouchswitch = new DbRecordLinkManager(
|
|
273
|
-
this.principal,
|
|
274
|
-
this.dbService,
|
|
275
|
-
'OrderModule:Order',
|
|
276
|
-
'OrderModule:OneTouchSwitch',
|
|
277
|
-
'OneTouchSwitch__Order'
|
|
278
|
-
);
|
|
279
279
|
}
|
|
280
280
|
|
|
281
281
|
|