@d19n/youfibre-odin-sdk 1.0.48 → 1.0.49

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.
@@ -12,69 +12,119 @@
12
12
 
13
13
  private sourceRecord: any;
14
14
 
15
- public readonly organization: ApiRecordLinkManager;
16
- public readonly account: ApiRecordLinkManager;
15
+ public readonly organization__contact: ApiRecordLinkManager;
16
+ public readonly billingcontact: ApiRecordLinkManager;
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;
17
30
  public readonly activity: ApiRecordLinkManager;
18
31
  public readonly note: ApiRecordLinkManager;
19
- public readonly workorder: ApiRecordLinkManager;
20
- public readonly order: ApiRecordLinkManager;
21
- public readonly lead: ApiRecordLinkManager;
22
32
  public readonly address: ApiRecordLinkManager;
23
33
  public readonly smsmessage: ApiRecordLinkManager;
24
- public readonly invoice: ApiRecordLinkManager;
25
34
  public readonly billingrequest: ApiRecordLinkManager;
26
35
  public readonly file: ApiRecordLinkManager;
27
- public readonly commission: ApiRecordLinkManager;
28
- public readonly contact: ApiRecordLinkManager;
29
- public readonly onetouchswitch: ApiRecordLinkManager;
30
36
  public readonly contactidentity: ApiRecordLinkManager;
31
37
  public readonly paymentmethodrefund: ApiRecordLinkManager;
32
- public readonly deactivationapproval: ApiRecordLinkManager;
33
38
  public readonly phonenumber: ApiRecordLinkManager;
34
- public readonly orderremediationtask: ApiRecordLinkManager;
35
39
  public readonly appointment: ApiRecordLinkManager;
36
- public readonly call: ApiRecordLinkManager;
37
- public readonly fingerprint: ApiRecordLinkManager;
38
40
  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.organization = new ApiRecordLinkManager(
44
+ this.organization__contact = new ApiRecordLinkManager(
45
45
  'CrmModule:Contact',
46
- 'CrmModule:Organization',
46
+ 'CrmModule:Contact',
47
47
  'Organization__Contact'
48
48
  );
49
- this.account = new ApiRecordLinkManager(
49
+ this.billingcontact = new ApiRecordLinkManager(
50
50
  'CrmModule:Contact',
51
- 'CrmModule:Account',
51
+ 'CrmModule:Contact',
52
52
  'BillingContact'
53
53
  );
54
- this.activity = new ApiRecordLinkManager(
54
+ this.workorder__contact = new ApiRecordLinkManager(
55
55
  'CrmModule:Contact',
56
- 'SchemaModule:Activity',
57
- 'Contact__Activity'
56
+ 'CrmModule:Contact',
57
+ 'WorkOrder__Contact'
58
58
  );
59
- this.note = new ApiRecordLinkManager(
59
+ this.order__contact = new ApiRecordLinkManager(
60
60
  'CrmModule:Contact',
61
- 'SupportModule:Note',
62
- 'Contact__Note'
61
+ 'CrmModule:Contact',
62
+ 'Order__Contact'
63
63
  );
64
- this.workorder = new ApiRecordLinkManager(
64
+ this.lead__contact = new ApiRecordLinkManager(
65
65
  'CrmModule:Contact',
66
- 'FieldServiceModule:WorkOrder',
67
- 'WorkOrder__Contact'
66
+ 'CrmModule:Contact',
67
+ 'Lead__Contact'
68
68
  );
69
- this.order = new ApiRecordLinkManager(
69
+ this.invoice__contact = new ApiRecordLinkManager(
70
70
  'CrmModule:Contact',
71
- 'OrderModule:Order',
72
- 'Order__Contact'
71
+ 'CrmModule:Contact',
72
+ 'Invoice__Contact'
73
73
  );
74
- this.lead = new ApiRecordLinkManager(
74
+ this.commission__contact = new ApiRecordLinkManager(
75
75
  'CrmModule:Contact',
76
- 'CrmModule:Lead',
77
- 'Lead__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
+ this.activity = new ApiRecordLinkManager(
120
+ 'CrmModule:Contact',
121
+ 'SchemaModule:Activity',
122
+ 'Contact__Activity'
123
+ );
124
+ this.note = new ApiRecordLinkManager(
125
+ 'CrmModule:Contact',
126
+ 'SupportModule:Note',
127
+ 'Contact__Note'
78
128
  );
79
129
  this.address = new ApiRecordLinkManager(
80
130
  'CrmModule:Contact',
@@ -86,11 +136,6 @@
86
136
  'NotificationModule:SmsMessage',
87
137
  'Contact__SmsMessage'
88
138
  );
89
- this.invoice = new ApiRecordLinkManager(
90
- 'CrmModule:Contact',
91
- 'BillingModule:Invoice',
92
- 'Invoice__Contact'
93
- );
94
139
  this.billingrequest = new ApiRecordLinkManager(
95
140
  'CrmModule:Contact',
96
141
  'BillingModule:BillingRequest',
@@ -101,21 +146,6 @@
101
146
  'SchemaModule:File',
102
147
  'Contact__File'
103
148
  );
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
- );
119
149
  this.contactidentity = new ApiRecordLinkManager(
120
150
  'CrmModule:Contact',
121
151
  'CrmModule:ContactIdentity',
@@ -126,51 +156,21 @@
126
156
  'BillingModule:PaymentMethodRefund',
127
157
  'Contact__PaymentMethodRefund'
128
158
  );
129
- this.deactivationapproval = new ApiRecordLinkManager(
130
- 'CrmModule:Contact',
131
- 'OrderModule:DeactivationApproval',
132
- 'DeactivationApproval__Contact'
133
- );
134
159
  this.phonenumber = new ApiRecordLinkManager(
135
160
  'CrmModule:Contact',
136
161
  'CrmModule:PhoneNumber',
137
162
  'Contact__PhoneNumber'
138
163
  );
139
- this.orderremediationtask = new ApiRecordLinkManager(
140
- 'CrmModule:Contact',
141
- 'OrderModule:OrderRemediationTask',
142
- 'OrderRemediationTask__Contact'
143
- );
144
164
  this.appointment = new ApiRecordLinkManager(
145
165
  'CrmModule:Contact',
146
166
  'CrmModule:Appointment',
147
167
  'Contact__Appointment'
148
168
  );
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
- );
159
169
  this.paymentmethod = new ApiRecordLinkManager(
160
170
  'CrmModule:Contact',
161
171
  'BillingModule:PaymentMethod',
162
172
  'Contact__PaymentMethod'
163
173
  );
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
 
@@ -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 workorder__lead: ApiRecordLinkManager;
24
- public readonly crmdataset__lead: ApiRecordLinkManager;
25
- public readonly call__lead: ApiRecordLinkManager;
26
- public readonly fingerprint__lead: ApiRecordLinkManager;
23
+ public readonly workorder: ApiRecordLinkManager;
24
+ public readonly crmdataset: ApiRecordLinkManager;
27
25
  public readonly visit: ApiRecordLinkManager;
28
26
  public readonly appointment: ApiRecordLinkManager;
27
+ public readonly call: ApiRecordLinkManager;
29
28
  public readonly order: ApiRecordLinkManager;
30
29
  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,26 +71,16 @@
71
71
  'SchemaModule:File',
72
72
  'Lead__File'
73
73
  );
74
- this.workorder__lead = new ApiRecordLinkManager(
74
+ this.workorder = new ApiRecordLinkManager(
75
75
  'CrmModule:Lead',
76
- 'CrmModule:Lead',
76
+ 'FieldServiceModule:WorkOrder',
77
77
  'WorkOrder__Lead'
78
78
  );
79
- this.crmdataset__lead = new ApiRecordLinkManager(
79
+ this.crmdataset = new ApiRecordLinkManager(
80
80
  'CrmModule:Lead',
81
- 'CrmModule:Lead',
81
+ 'CrmModule:CrmDataset',
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
- );
94
84
  this.visit = new ApiRecordLinkManager(
95
85
  'CrmModule:Lead',
96
86
  'CrmModule:Visit',
@@ -101,6 +91,11 @@
101
91
  'CrmModule:Appointment',
102
92
  'Lead_Appointment'
103
93
  );
94
+ this.call = new ApiRecordLinkManager(
95
+ 'CrmModule:Lead',
96
+ 'NotificationModule:Call',
97
+ 'Call__Lead'
98
+ );
104
99
  this.order = new ApiRecordLinkManager(
105
100
  'CrmModule:Lead',
106
101
  'OrderModule:Order',
@@ -111,6 +106,11 @@
111
106
  'CrmModule:Address',
112
107
  'Lead_Address'
113
108
  );
109
+ this.fingerprint = new ApiRecordLinkManager(
110
+ 'CrmModule:Lead',
111
+ 'CrmModule:Fingerprint',
112
+ 'Fingerprint__Lead'
113
+ );
114
114
  }
115
115
 
116
116
 
@@ -12,101 +12,46 @@
12
12
 
13
13
  private sourceRecord: any;
14
14
 
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;
15
+ public readonly returnorder: ApiRecordLinkManager;
27
16
  public readonly address: ApiRecordLinkManager;
28
17
  public readonly note: ApiRecordLinkManager;
29
18
  public readonly contact: ApiRecordLinkManager;
19
+ public readonly account: ApiRecordLinkManager;
30
20
  public readonly discount: ApiRecordLinkManager;
31
21
  public readonly orderitem: ApiRecordLinkManager;
32
22
  public readonly billingadjustment: ApiRecordLinkManager;
23
+ public readonly splitorder__order: ApiRecordLinkManager;
24
+ public readonly order__splitorder: ApiRecordLinkManager;
25
+ public readonly churnrequest: ApiRecordLinkManager;
33
26
  public readonly commission: ApiRecordLinkManager;
34
27
  public readonly file: ApiRecordLinkManager;
35
28
  public readonly activity: ApiRecordLinkManager;
29
+ public readonly order: ApiRecordLinkManager;
30
+ public readonly picrequest: ApiRecordLinkManager;
36
31
  public readonly smsmessage: ApiRecordLinkManager;
32
+ public readonly paymentmethodrefund: ApiRecordLinkManager;
37
33
  public readonly visit: ApiRecordLinkManager;
38
34
  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;
45
44
  public readonly phonenumber: ApiRecordLinkManager;
46
45
  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.returnorder__order = new ApiRecordLinkManager(
50
+ this.returnorder = new ApiRecordLinkManager(
51
51
  'OrderModule:Order',
52
- 'OrderModule:Order',
52
+ 'OrderModule:ReturnOrder',
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
- );
110
55
  this.address = new ApiRecordLinkManager(
111
56
  'OrderModule:Order',
112
57
  'CrmModule:Address',
@@ -122,6 +67,11 @@
122
67
  'CrmModule:Contact',
123
68
  'Order__Contact'
124
69
  );
70
+ this.account = new ApiRecordLinkManager(
71
+ 'OrderModule:Order',
72
+ 'CrmModule:Account',
73
+ 'Account__Order'
74
+ );
125
75
  this.discount = new ApiRecordLinkManager(
126
76
  'OrderModule:Order',
127
77
  'ProductModule:Discount',
@@ -137,6 +87,21 @@
137
87
  'OrderModule:BillingAdjustment',
138
88
  'Order__BillingAdjustment'
139
89
  );
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
+ );
140
105
  this.commission = new ApiRecordLinkManager(
141
106
  'OrderModule:Order',
142
107
  'BillingModule:Commission',
@@ -152,11 +117,26 @@
152
117
  'SchemaModule:Activity',
153
118
  'Order__Activity'
154
119
  );
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
+ );
155
130
  this.smsmessage = new ApiRecordLinkManager(
156
131
  'OrderModule:Order',
157
132
  'NotificationModule:SmsMessage',
158
133
  'Order__SmsMessage'
159
134
  );
135
+ this.paymentmethodrefund = new ApiRecordLinkManager(
136
+ 'OrderModule:Order',
137
+ 'BillingModule:PaymentMethodRefund',
138
+ 'PaymentMethodRefund__Order'
139
+ );
160
140
  this.visit = new ApiRecordLinkManager(
161
141
  'OrderModule:Order',
162
142
  'CrmModule:Visit',
@@ -167,6 +147,26 @@
167
147
  'FieldServiceModule:WorkOrder',
168
148
  'Order__WorkOrder'
169
149
  );
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,11 +192,6 @@
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
- );
200
195
  this.phonenumber = new ApiRecordLinkManager(
201
196
  'OrderModule:Order',
202
197
  'CrmModule:PhoneNumber',
@@ -207,6 +202,11 @@
207
202
  'CrmModule:ContactIdentity',
208
203
  'Order__ContactIdentity'
209
204
  );
205
+ this.onetouchswitch = new ApiRecordLinkManager(
206
+ 'OrderModule:Order',
207
+ 'OrderModule:OneTouchSwitch',
208
+ 'OneTouchSwitch__Order'
209
+ );
210
210
  }
211
211
 
212
212