@d19n/youfibre-odin-sdk 1.0.81 → 1.0.82

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.
@@ -11,9 +11,7 @@ export declare class CaseDb extends DbProvider {
11
11
  readonly caseowner: DbRecordLinkManager;
12
12
  readonly case__user: DbRecordLinkManager;
13
13
  readonly casecollaborators: DbRecordLinkManager;
14
- readonly case__case: DbRecordLinkManager;
15
- readonly call__case: DbRecordLinkManager;
16
- readonly queue__case: DbRecordLinkManager;
14
+ readonly case: DbRecordLinkManager;
17
15
  readonly file: DbRecordLinkManager;
18
16
  readonly caseaction: DbRecordLinkManager;
19
17
  readonly order: DbRecordLinkManager;
@@ -21,6 +19,8 @@ export declare class CaseDb extends DbProvider {
21
19
  readonly note: DbRecordLinkManager;
22
20
  readonly address: DbRecordLinkManager;
23
21
  readonly smsmessage: DbRecordLinkManager;
22
+ readonly call: DbRecordLinkManager;
23
+ readonly queue: DbRecordLinkManager;
24
24
  readonly queuechange: DbRecordLinkManager;
25
25
  readonly team: DbRecordLinkManager;
26
26
  readonly contact: DbRecordLinkManager;
@@ -22,9 +22,7 @@ class CaseDb extends db_provider_1.DbProvider {
22
22
  this.caseowner = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'IdentityModule:User', 'CaseOwner');
23
23
  this.case__user = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'IdentityModule:User', 'Case__User');
24
24
  this.casecollaborators = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'IdentityModule:User', 'CaseCollaborators');
25
- this.case__case = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'SupportModule:Case', 'Case__Case');
26
- this.call__case = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'SupportModule:Case', 'Call__Case');
27
- this.queue__case = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'SupportModule:Case', 'Queue__Case');
25
+ this.case = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'SupportModule:Case', 'Case__Case');
28
26
  this.file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'SchemaModule:File', 'Case__File');
29
27
  this.caseaction = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'SupportModule:CaseAction', 'Case__CaseAction');
30
28
  this.order = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'OrderModule:Order', 'Case__Order');
@@ -32,6 +30,8 @@ class CaseDb extends db_provider_1.DbProvider {
32
30
  this.note = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'SupportModule:Note', 'Case__Note');
33
31
  this.address = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'CrmModule:Address', 'Case__Address');
34
32
  this.smsmessage = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'NotificationModule:SmsMessage', 'Case__SmsMessage');
33
+ this.call = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'NotificationModule:Call', 'Call__Case');
34
+ this.queue = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'SupportModule:Queue', 'Queue__Case');
35
35
  this.queuechange = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'SupportModule:QueueChange', 'Case__QueueChange');
36
36
  this.team = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'IdentityModule:Team', 'Case_Team');
37
37
  this.contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SupportModule:Case', 'CrmModule:Contact', 'Case__Contact');
@@ -82,12 +82,6 @@ export declare enum CaseDpaCustomerCategory {
82
82
  SALES = "SALES",
83
83
  TECH_SUPPORT = "TECH_SUPPORT"
84
84
  }
85
- export declare enum CaseBlockedReason {
86
- AWAITING_CHURN = "AWAITING_CHURN",
87
- AWAITING_NETOMNIA_ACTION = "AWAITING_NETOMNIA_ACTION",
88
- PAYMENT_PLAN = "PAYMENT_PLAN",
89
- WAITING_TO_PROCESS_REFUND = "WAITING_TO_PROCESS_REFUND"
90
- }
91
85
  export declare enum CaseCategory {
92
86
  BILLING = "BILLING",
93
87
  CANCELLATION = "CANCELLATION",
@@ -95,10 +89,17 @@ export declare enum CaseCategory {
95
89
  INSTALLS_SERVICE_VISITS = "INSTALLS_AND_SERVICE_VISITS",
96
90
  MANAGE_MY_ACCOUNT = "MANAGE_MY_ACCOUNT",
97
91
  NEW = "NEW",
92
+ ODIN_SUPPORT = "ODIN_SUPPORT",
98
93
  SALES = "SALES",
99
94
  SPAM = "SPAM",
100
95
  TECH_SUPPORT = "TECH_SUPPORT"
101
96
  }
97
+ export declare enum CaseBlockedReason {
98
+ AWAITING_CHURN = "AWAITING_CHURN",
99
+ AWAITING_NETOMNIA_ACTION = "AWAITING_NETOMNIA_ACTION",
100
+ PAYMENT_PLAN = "PAYMENT_PLAN",
101
+ WAITING_TO_PROCESS_REFUND = "WAITING_TO_PROCESS_REFUND"
102
+ }
102
103
  export declare enum CaseCsatReason {
103
104
  I_WAS_NOT_HAPPY_WITH_THE_AGENT_COMMUNICATION = "AGENT_COMMUNICATION",
104
105
  I_WAS_NOT_HAPPY_WITH_THE_OUTCOME = "OUTCOME",
@@ -225,10 +226,10 @@ export declare enum CasePropertyKeys {
225
226
  OutageConfirmedTime = "OutageConfirmedTime",
226
227
  OutageResolvedTime = "OutageResolvedTime",
227
228
  DpaCustomerCategory = "DpaCustomerCategory",
229
+ Category = "Category",
228
230
  Queue = "Queue",
229
231
  BlockedReason = "BlockedReason",
230
232
  Priority = "Priority",
231
- Category = "Category",
232
233
  AdditionalNotes = "AdditionalNotes",
233
234
  ContactId = "ContactId",
234
235
  DpaCustomerEmail = "DpaCustomerEmail",
@@ -282,10 +283,10 @@ export interface CaseProperties {
282
283
  OutageConfirmedTime?: Date;
283
284
  OutageResolvedTime?: Date;
284
285
  DpaCustomerCategory?: CaseDpaCustomerCategory;
286
+ Category?: CaseCategory;
285
287
  Queue?: string;
286
288
  BlockedReason?: CaseBlockedReason;
287
289
  Priority?: number;
288
- Category?: CaseCategory;
289
290
  AdditionalNotes?: string;
290
291
  ContactId?: string;
291
292
  DpaCustomerEmail?: string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateCaseDto = exports.CreateCaseDto = exports.CasePropertyKeys = exports.CaseSubCategory = exports.CaseSource = exports.CaseReasonForReview = exports.CaseConversationStatus = exports.CaseImpact = exports.CaseCsatReason = exports.CaseCategory = exports.CaseBlockedReason = exports.CaseDpaCustomerCategory = exports.CaseDpaCustomerType = exports.CaseChannel = exports.CaseBusinessArea = exports.CaseProblem = exports.CaseSla = exports.CaseOrigin = exports.CaseDeprecated = exports.CaseEntityTypes = void 0;
3
+ exports.UpdateCaseDto = exports.CreateCaseDto = exports.CasePropertyKeys = exports.CaseSubCategory = exports.CaseSource = exports.CaseReasonForReview = exports.CaseConversationStatus = exports.CaseImpact = exports.CaseCsatReason = exports.CaseBlockedReason = exports.CaseCategory = exports.CaseDpaCustomerCategory = exports.CaseDpaCustomerType = exports.CaseChannel = exports.CaseBusinessArea = exports.CaseProblem = exports.CaseSla = exports.CaseOrigin = exports.CaseDeprecated = exports.CaseEntityTypes = void 0;
4
4
  const odin_dtos_1 = require("@d19n/odin-types/dist/dtos/odin.dtos");
5
5
  var CaseEntityTypes;
6
6
  (function (CaseEntityTypes) {
@@ -78,13 +78,6 @@ var CaseDpaCustomerCategory;
78
78
  CaseDpaCustomerCategory["SALES"] = "SALES";
79
79
  CaseDpaCustomerCategory["TECH_SUPPORT"] = "TECH_SUPPORT";
80
80
  })(CaseDpaCustomerCategory || (exports.CaseDpaCustomerCategory = CaseDpaCustomerCategory = {}));
81
- var CaseBlockedReason;
82
- (function (CaseBlockedReason) {
83
- CaseBlockedReason["AWAITING_CHURN"] = "AWAITING_CHURN";
84
- CaseBlockedReason["AWAITING_NETOMNIA_ACTION"] = "AWAITING_NETOMNIA_ACTION";
85
- CaseBlockedReason["PAYMENT_PLAN"] = "PAYMENT_PLAN";
86
- CaseBlockedReason["WAITING_TO_PROCESS_REFUND"] = "WAITING_TO_PROCESS_REFUND";
87
- })(CaseBlockedReason || (exports.CaseBlockedReason = CaseBlockedReason = {}));
88
81
  var CaseCategory;
89
82
  (function (CaseCategory) {
90
83
  CaseCategory["BILLING"] = "BILLING";
@@ -93,10 +86,18 @@ var CaseCategory;
93
86
  CaseCategory["INSTALLS_SERVICE_VISITS"] = "INSTALLS_AND_SERVICE_VISITS";
94
87
  CaseCategory["MANAGE_MY_ACCOUNT"] = "MANAGE_MY_ACCOUNT";
95
88
  CaseCategory["NEW"] = "NEW";
89
+ CaseCategory["ODIN_SUPPORT"] = "ODIN_SUPPORT";
96
90
  CaseCategory["SALES"] = "SALES";
97
91
  CaseCategory["SPAM"] = "SPAM";
98
92
  CaseCategory["TECH_SUPPORT"] = "TECH_SUPPORT";
99
93
  })(CaseCategory || (exports.CaseCategory = CaseCategory = {}));
94
+ var CaseBlockedReason;
95
+ (function (CaseBlockedReason) {
96
+ CaseBlockedReason["AWAITING_CHURN"] = "AWAITING_CHURN";
97
+ CaseBlockedReason["AWAITING_NETOMNIA_ACTION"] = "AWAITING_NETOMNIA_ACTION";
98
+ CaseBlockedReason["PAYMENT_PLAN"] = "PAYMENT_PLAN";
99
+ CaseBlockedReason["WAITING_TO_PROCESS_REFUND"] = "WAITING_TO_PROCESS_REFUND";
100
+ })(CaseBlockedReason || (exports.CaseBlockedReason = CaseBlockedReason = {}));
100
101
  var CaseCsatReason;
101
102
  (function (CaseCsatReason) {
102
103
  CaseCsatReason["I_WAS_NOT_HAPPY_WITH_THE_AGENT_COMMUNICATION"] = "AGENT_COMMUNICATION";
@@ -230,10 +231,10 @@ var CasePropertyKeys;
230
231
  CasePropertyKeys["OutageConfirmedTime"] = "OutageConfirmedTime";
231
232
  CasePropertyKeys["OutageResolvedTime"] = "OutageResolvedTime";
232
233
  CasePropertyKeys["DpaCustomerCategory"] = "DpaCustomerCategory";
234
+ CasePropertyKeys["Category"] = "Category";
233
235
  CasePropertyKeys["Queue"] = "Queue";
234
236
  CasePropertyKeys["BlockedReason"] = "BlockedReason";
235
237
  CasePropertyKeys["Priority"] = "Priority";
236
- CasePropertyKeys["Category"] = "Category";
237
238
  CasePropertyKeys["AdditionalNotes"] = "AdditionalNotes";
238
239
  CasePropertyKeys["ContactId"] = "ContactId";
239
240
  CasePropertyKeys["DpaCustomerEmail"] = "DpaCustomerEmail";
@@ -78,6 +78,7 @@ export declare enum NotePropertyKeys {
78
78
  JsonContent = "JSONContent",
79
79
  ParentNoteId = "ParentNoteId",
80
80
  UpdatedAt = "UpdatedAt",
81
+ Author = "Author",
81
82
  MetaData = "MetaData"
82
83
  }
83
84
  export interface NoteProperties {
@@ -86,6 +87,7 @@ export interface NoteProperties {
86
87
  JsonContent?: string;
87
88
  ParentNoteId?: string;
88
89
  UpdatedAt?: Date;
90
+ Author?: string;
89
91
  MetaData?: string;
90
92
  }
91
93
  export interface Note {
@@ -13,6 +13,7 @@ var NotePropertyKeys;
13
13
  NotePropertyKeys["JsonContent"] = "JSONContent";
14
14
  NotePropertyKeys["ParentNoteId"] = "ParentNoteId";
15
15
  NotePropertyKeys["UpdatedAt"] = "UpdatedAt";
16
+ NotePropertyKeys["Author"] = "Author";
16
17
  NotePropertyKeys["MetaData"] = "MetaData";
17
18
  })(NotePropertyKeys || (exports.NotePropertyKeys = NotePropertyKeys = {}));
18
19
  class CreateNoteDto extends odin_dtos_1.OdinRecordCreateDto {
@@ -79,12 +79,6 @@ export declare enum OutageCaseDpaCustomerCategory {
79
79
  SALES = "SALES",
80
80
  TECH_SUPPORT = "TECH_SUPPORT"
81
81
  }
82
- export declare enum OutageCaseBlockedReason {
83
- AWAITING_CHURN = "AWAITING_CHURN",
84
- AWAITING_NETOMNIA_ACTION = "AWAITING_NETOMNIA_ACTION",
85
- PAYMENT_PLAN = "PAYMENT_PLAN",
86
- WAITING_TO_PROCESS_REFUND = "WAITING_TO_PROCESS_REFUND"
87
- }
88
82
  export declare enum OutageCaseCategory {
89
83
  BILLING = "BILLING",
90
84
  CANCELLATION = "CANCELLATION",
@@ -92,10 +86,17 @@ export declare enum OutageCaseCategory {
92
86
  INSTALLS_SERVICE_VISITS = "INSTALLS_AND_SERVICE_VISITS",
93
87
  MANAGE_MY_ACCOUNT = "MANAGE_MY_ACCOUNT",
94
88
  NEW = "NEW",
89
+ ODIN_SUPPORT = "ODIN_SUPPORT",
95
90
  SALES = "SALES",
96
91
  SPAM = "SPAM",
97
92
  TECH_SUPPORT = "TECH_SUPPORT"
98
93
  }
94
+ export declare enum OutageCaseBlockedReason {
95
+ AWAITING_CHURN = "AWAITING_CHURN",
96
+ AWAITING_NETOMNIA_ACTION = "AWAITING_NETOMNIA_ACTION",
97
+ PAYMENT_PLAN = "PAYMENT_PLAN",
98
+ WAITING_TO_PROCESS_REFUND = "WAITING_TO_PROCESS_REFUND"
99
+ }
99
100
  export declare enum OutageCaseCsatReason {
100
101
  I_WAS_NOT_HAPPY_WITH_THE_AGENT_COMMUNICATION = "AGENT_COMMUNICATION",
101
102
  I_WAS_NOT_HAPPY_WITH_THE_OUTCOME = "OUTCOME",
@@ -222,10 +223,10 @@ export declare enum OutageCasePropertyKeys {
222
223
  OutageConfirmedTime = "OutageConfirmedTime",
223
224
  OutageResolvedTime = "OutageResolvedTime",
224
225
  DpaCustomerCategory = "DpaCustomerCategory",
226
+ Category = "Category",
225
227
  Queue = "Queue",
226
228
  BlockedReason = "BlockedReason",
227
229
  Priority = "Priority",
228
- Category = "Category",
229
230
  AdditionalNotes = "AdditionalNotes",
230
231
  ContactId = "ContactId",
231
232
  DpaCustomerEmail = "DpaCustomerEmail",
@@ -279,10 +280,10 @@ export interface OutageCaseProperties {
279
280
  OutageConfirmedTime?: Date;
280
281
  OutageResolvedTime?: Date;
281
282
  DpaCustomerCategory?: OutageCaseDpaCustomerCategory;
283
+ Category?: OutageCaseCategory;
282
284
  Queue?: string;
283
285
  BlockedReason?: OutageCaseBlockedReason;
284
286
  Priority?: number;
285
- Category?: OutageCaseCategory;
286
287
  AdditionalNotes?: string;
287
288
  ContactId?: string;
288
289
  DpaCustomerEmail?: string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UpdateOutageCaseDto = exports.CreateOutageCaseDto = exports.OutageCasePropertyKeys = exports.OutageCaseSubCategory = exports.OutageCaseSource = exports.OutageCaseReasonForReview = exports.OutageCaseConversationStatus = exports.OutageCaseImpact = exports.OutageCaseCsatReason = exports.OutageCaseCategory = exports.OutageCaseBlockedReason = exports.OutageCaseDpaCustomerCategory = exports.OutageCaseDpaCustomerType = exports.OutageCaseChannel = exports.OutageCaseBusinessArea = exports.OutageCaseProblem = exports.OutageCaseSla = exports.OutageCaseOrigin = exports.OutageCaseDeprecated = void 0;
3
+ exports.UpdateOutageCaseDto = exports.CreateOutageCaseDto = exports.OutageCasePropertyKeys = exports.OutageCaseSubCategory = exports.OutageCaseSource = exports.OutageCaseReasonForReview = exports.OutageCaseConversationStatus = exports.OutageCaseImpact = exports.OutageCaseCsatReason = exports.OutageCaseBlockedReason = exports.OutageCaseCategory = exports.OutageCaseDpaCustomerCategory = exports.OutageCaseDpaCustomerType = exports.OutageCaseChannel = exports.OutageCaseBusinessArea = exports.OutageCaseProblem = exports.OutageCaseSla = exports.OutageCaseOrigin = exports.OutageCaseDeprecated = void 0;
4
4
  const odin_dtos_1 = require("@d19n/odin-types/dist/dtos/odin.dtos");
5
5
  var OutageCaseDeprecated;
6
6
  (function (OutageCaseDeprecated) {
@@ -73,13 +73,6 @@ var OutageCaseDpaCustomerCategory;
73
73
  OutageCaseDpaCustomerCategory["SALES"] = "SALES";
74
74
  OutageCaseDpaCustomerCategory["TECH_SUPPORT"] = "TECH_SUPPORT";
75
75
  })(OutageCaseDpaCustomerCategory || (exports.OutageCaseDpaCustomerCategory = OutageCaseDpaCustomerCategory = {}));
76
- var OutageCaseBlockedReason;
77
- (function (OutageCaseBlockedReason) {
78
- OutageCaseBlockedReason["AWAITING_CHURN"] = "AWAITING_CHURN";
79
- OutageCaseBlockedReason["AWAITING_NETOMNIA_ACTION"] = "AWAITING_NETOMNIA_ACTION";
80
- OutageCaseBlockedReason["PAYMENT_PLAN"] = "PAYMENT_PLAN";
81
- OutageCaseBlockedReason["WAITING_TO_PROCESS_REFUND"] = "WAITING_TO_PROCESS_REFUND";
82
- })(OutageCaseBlockedReason || (exports.OutageCaseBlockedReason = OutageCaseBlockedReason = {}));
83
76
  var OutageCaseCategory;
84
77
  (function (OutageCaseCategory) {
85
78
  OutageCaseCategory["BILLING"] = "BILLING";
@@ -88,10 +81,18 @@ var OutageCaseCategory;
88
81
  OutageCaseCategory["INSTALLS_SERVICE_VISITS"] = "INSTALLS_AND_SERVICE_VISITS";
89
82
  OutageCaseCategory["MANAGE_MY_ACCOUNT"] = "MANAGE_MY_ACCOUNT";
90
83
  OutageCaseCategory["NEW"] = "NEW";
84
+ OutageCaseCategory["ODIN_SUPPORT"] = "ODIN_SUPPORT";
91
85
  OutageCaseCategory["SALES"] = "SALES";
92
86
  OutageCaseCategory["SPAM"] = "SPAM";
93
87
  OutageCaseCategory["TECH_SUPPORT"] = "TECH_SUPPORT";
94
88
  })(OutageCaseCategory || (exports.OutageCaseCategory = OutageCaseCategory = {}));
89
+ var OutageCaseBlockedReason;
90
+ (function (OutageCaseBlockedReason) {
91
+ OutageCaseBlockedReason["AWAITING_CHURN"] = "AWAITING_CHURN";
92
+ OutageCaseBlockedReason["AWAITING_NETOMNIA_ACTION"] = "AWAITING_NETOMNIA_ACTION";
93
+ OutageCaseBlockedReason["PAYMENT_PLAN"] = "PAYMENT_PLAN";
94
+ OutageCaseBlockedReason["WAITING_TO_PROCESS_REFUND"] = "WAITING_TO_PROCESS_REFUND";
95
+ })(OutageCaseBlockedReason || (exports.OutageCaseBlockedReason = OutageCaseBlockedReason = {}));
95
96
  var OutageCaseCsatReason;
96
97
  (function (OutageCaseCsatReason) {
97
98
  OutageCaseCsatReason["I_WAS_NOT_HAPPY_WITH_THE_AGENT_COMMUNICATION"] = "AGENT_COMMUNICATION";
@@ -225,10 +226,10 @@ var OutageCasePropertyKeys;
225
226
  OutageCasePropertyKeys["OutageConfirmedTime"] = "OutageConfirmedTime";
226
227
  OutageCasePropertyKeys["OutageResolvedTime"] = "OutageResolvedTime";
227
228
  OutageCasePropertyKeys["DpaCustomerCategory"] = "DpaCustomerCategory";
229
+ OutageCasePropertyKeys["Category"] = "Category";
228
230
  OutageCasePropertyKeys["Queue"] = "Queue";
229
231
  OutageCasePropertyKeys["BlockedReason"] = "BlockedReason";
230
232
  OutageCasePropertyKeys["Priority"] = "Priority";
231
- OutageCasePropertyKeys["Category"] = "Category";
232
233
  OutageCasePropertyKeys["AdditionalNotes"] = "AdditionalNotes";
233
234
  OutageCasePropertyKeys["ContactId"] = "ContactId";
234
235
  OutageCasePropertyKeys["DpaCustomerEmail"] = "DpaCustomerEmail";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "1.0.81",
3
+ "version": "1.0.82",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",
@@ -17,9 +17,7 @@
17
17
  public readonly caseowner: DbRecordLinkManager;
18
18
  public readonly case__user: DbRecordLinkManager;
19
19
  public readonly casecollaborators: DbRecordLinkManager;
20
- public readonly case__case: DbRecordLinkManager;
21
- public readonly call__case: DbRecordLinkManager;
22
- public readonly queue__case: DbRecordLinkManager;
20
+ public readonly case: DbRecordLinkManager;
23
21
  public readonly file: DbRecordLinkManager;
24
22
  public readonly caseaction: DbRecordLinkManager;
25
23
  public readonly order: DbRecordLinkManager;
@@ -27,6 +25,8 @@
27
25
  public readonly note: DbRecordLinkManager;
28
26
  public readonly address: DbRecordLinkManager;
29
27
  public readonly smsmessage: DbRecordLinkManager;
28
+ public readonly call: DbRecordLinkManager;
29
+ public readonly queue: DbRecordLinkManager;
30
30
  public readonly queuechange: DbRecordLinkManager;
31
31
  public readonly team: DbRecordLinkManager;
32
32
  public readonly contact: DbRecordLinkManager;
@@ -59,27 +59,13 @@
59
59
  'IdentityModule:User',
60
60
  'CaseCollaborators'
61
61
  );
62
- this.case__case = new DbRecordLinkManager(
62
+ this.case = new DbRecordLinkManager(
63
63
  this.principal,
64
64
  this.dbService,
65
65
  'SupportModule:Case',
66
66
  'SupportModule:Case',
67
67
  'Case__Case'
68
68
  );
69
- this.call__case = new DbRecordLinkManager(
70
- this.principal,
71
- this.dbService,
72
- 'SupportModule:Case',
73
- 'SupportModule:Case',
74
- 'Call__Case'
75
- );
76
- this.queue__case = new DbRecordLinkManager(
77
- this.principal,
78
- this.dbService,
79
- 'SupportModule:Case',
80
- 'SupportModule:Case',
81
- 'Queue__Case'
82
- );
83
69
  this.file = new DbRecordLinkManager(
84
70
  this.principal,
85
71
  this.dbService,
@@ -129,6 +115,20 @@
129
115
  'NotificationModule:SmsMessage',
130
116
  'Case__SmsMessage'
131
117
  );
118
+ this.call = new DbRecordLinkManager(
119
+ this.principal,
120
+ this.dbService,
121
+ 'SupportModule:Case',
122
+ 'NotificationModule:Call',
123
+ 'Call__Case'
124
+ );
125
+ this.queue = new DbRecordLinkManager(
126
+ this.principal,
127
+ this.dbService,
128
+ 'SupportModule:Case',
129
+ 'SupportModule:Queue',
130
+ 'Queue__Case'
131
+ );
132
132
  this.queuechange = new DbRecordLinkManager(
133
133
  this.principal,
134
134
  this.dbService,
@@ -86,12 +86,6 @@ export enum CaseDpaCustomerCategory {
86
86
  SALES = 'SALES',
87
87
  TECH_SUPPORT = 'TECH_SUPPORT',
88
88
  }
89
- export enum CaseBlockedReason {
90
- AWAITING_CHURN = 'AWAITING_CHURN',
91
- AWAITING_NETOMNIA_ACTION = 'AWAITING_NETOMNIA_ACTION',
92
- PAYMENT_PLAN = 'PAYMENT_PLAN',
93
- WAITING_TO_PROCESS_REFUND = 'WAITING_TO_PROCESS_REFUND',
94
- }
95
89
  export enum CaseCategory {
96
90
  BILLING = 'BILLING',
97
91
  CANCELLATION = 'CANCELLATION',
@@ -99,10 +93,17 @@ export enum CaseCategory {
99
93
  INSTALLS_SERVICE_VISITS = 'INSTALLS_AND_SERVICE_VISITS',
100
94
  MANAGE_MY_ACCOUNT = 'MANAGE_MY_ACCOUNT',
101
95
  NEW = 'NEW',
96
+ ODIN_SUPPORT = 'ODIN_SUPPORT',
102
97
  SALES = 'SALES',
103
98
  SPAM = 'SPAM',
104
99
  TECH_SUPPORT = 'TECH_SUPPORT',
105
100
  }
101
+ export enum CaseBlockedReason {
102
+ AWAITING_CHURN = 'AWAITING_CHURN',
103
+ AWAITING_NETOMNIA_ACTION = 'AWAITING_NETOMNIA_ACTION',
104
+ PAYMENT_PLAN = 'PAYMENT_PLAN',
105
+ WAITING_TO_PROCESS_REFUND = 'WAITING_TO_PROCESS_REFUND',
106
+ }
106
107
  export enum CaseCsatReason {
107
108
  I_WAS_NOT_HAPPY_WITH_THE_AGENT_COMMUNICATION = 'AGENT_COMMUNICATION',
108
109
  I_WAS_NOT_HAPPY_WITH_THE_OUTCOME = 'OUTCOME',
@@ -230,10 +231,10 @@ export enum CasePropertyKeys {
230
231
  OutageConfirmedTime = 'OutageConfirmedTime',
231
232
  OutageResolvedTime = 'OutageResolvedTime',
232
233
  DpaCustomerCategory = 'DpaCustomerCategory',
234
+ Category = 'Category',
233
235
  Queue = 'Queue',
234
236
  BlockedReason = 'BlockedReason',
235
237
  Priority = 'Priority',
236
- Category = 'Category',
237
238
  AdditionalNotes = 'AdditionalNotes',
238
239
  ContactId = 'ContactId',
239
240
  DpaCustomerEmail = 'DpaCustomerEmail',
@@ -322,14 +323,14 @@ export enum CasePropertyKeys {
322
323
  OutageResolvedTime?: Date
323
324
  //Selection of Category done by the customer over the web chat
324
325
  DpaCustomerCategory?: CaseDpaCustomerCategory
326
+ //Category
327
+ Category?: CaseCategory
325
328
  //Queue
326
329
  Queue?: string
327
330
  //Blocked Reason
328
331
  BlockedReason?: CaseBlockedReason
329
332
  //Priority
330
333
  Priority?: number
331
- //Category
332
- Category?: CaseCategory
333
334
  //Additional Notes
334
335
  AdditionalNotes?: string
335
336
  //Contact
@@ -83,6 +83,7 @@ export enum NotePropertyKeys {
83
83
  JsonContent = 'JSONContent',
84
84
  ParentNoteId = 'ParentNoteId',
85
85
  UpdatedAt = 'UpdatedAt',
86
+ Author = 'Author',
86
87
  MetaData = 'MetaData',
87
88
  }
88
89
  export interface NoteProperties {
@@ -96,6 +97,8 @@ export enum NotePropertyKeys {
96
97
  ParentNoteId?: string
97
98
  //When the note was updated
98
99
  UpdatedAt?: Date
100
+ //The author of the note
101
+ Author?: string
99
102
  //MetaData
100
103
  MetaData?: string
101
104
  }
@@ -82,12 +82,6 @@ export enum OutageCaseDpaCustomerCategory {
82
82
  SALES = 'SALES',
83
83
  TECH_SUPPORT = 'TECH_SUPPORT',
84
84
  }
85
- export enum OutageCaseBlockedReason {
86
- AWAITING_CHURN = 'AWAITING_CHURN',
87
- AWAITING_NETOMNIA_ACTION = 'AWAITING_NETOMNIA_ACTION',
88
- PAYMENT_PLAN = 'PAYMENT_PLAN',
89
- WAITING_TO_PROCESS_REFUND = 'WAITING_TO_PROCESS_REFUND',
90
- }
91
85
  export enum OutageCaseCategory {
92
86
  BILLING = 'BILLING',
93
87
  CANCELLATION = 'CANCELLATION',
@@ -95,10 +89,17 @@ export enum OutageCaseCategory {
95
89
  INSTALLS_SERVICE_VISITS = 'INSTALLS_AND_SERVICE_VISITS',
96
90
  MANAGE_MY_ACCOUNT = 'MANAGE_MY_ACCOUNT',
97
91
  NEW = 'NEW',
92
+ ODIN_SUPPORT = 'ODIN_SUPPORT',
98
93
  SALES = 'SALES',
99
94
  SPAM = 'SPAM',
100
95
  TECH_SUPPORT = 'TECH_SUPPORT',
101
96
  }
97
+ export enum OutageCaseBlockedReason {
98
+ AWAITING_CHURN = 'AWAITING_CHURN',
99
+ AWAITING_NETOMNIA_ACTION = 'AWAITING_NETOMNIA_ACTION',
100
+ PAYMENT_PLAN = 'PAYMENT_PLAN',
101
+ WAITING_TO_PROCESS_REFUND = 'WAITING_TO_PROCESS_REFUND',
102
+ }
102
103
  export enum OutageCaseCsatReason {
103
104
  I_WAS_NOT_HAPPY_WITH_THE_AGENT_COMMUNICATION = 'AGENT_COMMUNICATION',
104
105
  I_WAS_NOT_HAPPY_WITH_THE_OUTCOME = 'OUTCOME',
@@ -228,10 +229,10 @@ export enum OutageCasePropertyKeys {
228
229
  OutageConfirmedTime = 'OutageConfirmedTime',
229
230
  OutageResolvedTime = 'OutageResolvedTime',
230
231
  DpaCustomerCategory = 'DpaCustomerCategory',
232
+ Category = 'Category',
231
233
  Queue = 'Queue',
232
234
  BlockedReason = 'BlockedReason',
233
235
  Priority = 'Priority',
234
- Category = 'Category',
235
236
  AdditionalNotes = 'AdditionalNotes',
236
237
  ContactId = 'ContactId',
237
238
  DpaCustomerEmail = 'DpaCustomerEmail',
@@ -320,14 +321,14 @@ export enum OutageCasePropertyKeys {
320
321
  OutageResolvedTime?: Date
321
322
  //Selection of Category done by the customer over the web chat
322
323
  DpaCustomerCategory?: OutageCaseDpaCustomerCategory
324
+ //Category
325
+ Category?: OutageCaseCategory
323
326
  //Queue
324
327
  Queue?: string
325
328
  //Blocked Reason
326
329
  BlockedReason?: OutageCaseBlockedReason
327
330
  //Priority
328
331
  Priority?: number
329
- //Category
330
- Category?: OutageCaseCategory
331
332
  //Additional Notes
332
333
  AdditionalNotes?: string
333
334
  //Contact