@d19n/youfibre-odin-sdk 1.0.47 → 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.
Files changed (78) hide show
  1. package/dist/api-sdk-v2/ContactApi.d.ts +15 -15
  2. package/dist/api-sdk-v2/ContactApi.js +15 -15
  3. package/dist/api-sdk-v2/EmailApi.d.ts +1 -0
  4. package/dist/api-sdk-v2/EmailApi.js +1 -0
  5. package/dist/api-sdk-v2/FileApi.d.ts +2 -0
  6. package/dist/api-sdk-v2/FileApi.js +2 -0
  7. package/dist/api-sdk-v2/MessageApi.d.ts +1 -0
  8. package/dist/api-sdk-v2/MessageApi.js +1 -0
  9. package/dist/db-sdk-v2/EmailDb.d.ts +1 -0
  10. package/dist/db-sdk-v2/EmailDb.js +1 -0
  11. package/dist/db-sdk-v2/FileDb.d.ts +2 -0
  12. package/dist/db-sdk-v2/FileDb.js +2 -0
  13. package/dist/db-sdk-v2/MessageDb.d.ts +1 -0
  14. package/dist/db-sdk-v2/MessageDb.js +1 -0
  15. package/dist/entities-v2/AfpInvoiceFile.d.ts +4 -0
  16. package/dist/entities-v2/Case.d.ts +89 -73
  17. package/dist/entities-v2/Case.js +87 -73
  18. package/dist/entities-v2/Contact.d.ts +77 -77
  19. package/dist/entities-v2/Contact.js +61 -61
  20. package/dist/entities-v2/Conversation.d.ts +3 -1
  21. package/dist/entities-v2/Conversation.js +1 -0
  22. package/dist/entities-v2/CreditNote.d.ts +4 -4
  23. package/dist/entities-v2/CreditNote.js +2 -2
  24. package/dist/entities-v2/CsvFile.d.ts +4 -0
  25. package/dist/entities-v2/Email.d.ts +5 -1
  26. package/dist/entities-v2/Email.js +1 -0
  27. package/dist/entities-v2/EmailFile.d.ts +4 -0
  28. package/dist/entities-v2/EventMessage.d.ts +64 -0
  29. package/dist/entities-v2/EventMessage.js +29 -0
  30. package/dist/entities-v2/File.d.ts +4 -0
  31. package/dist/entities-v2/InvoiceFile.d.ts +4 -0
  32. package/dist/entities-v2/Message.d.ts +7 -2
  33. package/dist/entities-v2/Message.js +3 -1
  34. package/dist/entities-v2/MobileConfiguration.d.ts +5 -3
  35. package/dist/entities-v2/MobileConfiguration.js +3 -1
  36. package/dist/entities-v2/NaProblemEvidenceFile.d.ts +4 -0
  37. package/dist/entities-v2/NaSolutionEvidenceFile.d.ts +4 -0
  38. package/dist/entities-v2/OpenreachA55File.d.ts +4 -0
  39. package/dist/entities-v2/Order.d.ts +1 -1
  40. package/dist/entities-v2/OtdrFile.d.ts +4 -0
  41. package/dist/entities-v2/OutageCase.d.ts +89 -73
  42. package/dist/entities-v2/OutageCase.js +87 -73
  43. package/dist/entities-v2/SupportEmail.d.ts +5 -1
  44. package/dist/entities-v2/SupportEmail.js +1 -0
  45. package/dist/entities-v2/Visit.d.ts +60 -60
  46. package/dist/entities-v2/Visit.js +49 -49
  47. package/dist/types-v1/Types.d.ts +7 -7
  48. package/dist/types-v1/Types.js +7 -7
  49. package/package.json +1 -1
  50. package/src/api-sdk-v2/ContactApi.ts +84 -84
  51. package/src/api-sdk-v2/EmailApi.ts +6 -0
  52. package/src/api-sdk-v2/FileApi.ts +12 -0
  53. package/src/api-sdk-v2/MessageApi.ts +6 -0
  54. package/src/db-sdk-v2/EmailDb.ts +8 -0
  55. package/src/db-sdk-v2/FileDb.ts +16 -0
  56. package/src/db-sdk-v2/MessageDb.ts +8 -0
  57. package/src/entities-v2/AfpInvoiceFile.ts +4 -0
  58. package/src/entities-v2/Case.ts +95 -76
  59. package/src/entities-v2/Contact.ts +100 -100
  60. package/src/entities-v2/Conversation.ts +3 -0
  61. package/src/entities-v2/CreditNote.ts +6 -6
  62. package/src/entities-v2/CsvFile.ts +4 -0
  63. package/src/entities-v2/Email.ts +5 -0
  64. package/src/entities-v2/EmailFile.ts +4 -0
  65. package/src/entities-v2/EventMessage.ts +77 -0
  66. package/src/entities-v2/File.ts +4 -0
  67. package/src/entities-v2/InvoiceFile.ts +4 -0
  68. package/src/entities-v2/Message.ts +9 -3
  69. package/src/entities-v2/MobileConfiguration.ts +5 -3
  70. package/src/entities-v2/NaProblemEvidenceFile.ts +4 -0
  71. package/src/entities-v2/NaSolutionEvidenceFile.ts +4 -0
  72. package/src/entities-v2/OpenreachA55File.ts +4 -0
  73. package/src/entities-v2/Order.ts +1 -1
  74. package/src/entities-v2/OtdrFile.ts +4 -0
  75. package/src/entities-v2/OutageCase.ts +95 -76
  76. package/src/entities-v2/SupportEmail.ts +5 -0
  77. package/src/entities-v2/Visit.ts +75 -75
  78. package/src/types-v1/Types.ts +7 -7
@@ -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 organization: ApiRecordLinkManager;
12
- readonly account: ApiRecordLinkManager;
11
+ readonly organization__contact: ApiRecordLinkManager;
12
+ readonly billingcontact: ApiRecordLinkManager;
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;
13
26
  readonly activity: ApiRecordLinkManager;
14
27
  readonly note: ApiRecordLinkManager;
15
- readonly workorder: ApiRecordLinkManager;
16
- readonly order: ApiRecordLinkManager;
17
- readonly lead: ApiRecordLinkManager;
18
28
  readonly address: ApiRecordLinkManager;
19
29
  readonly smsmessage: ApiRecordLinkManager;
20
- readonly invoice: ApiRecordLinkManager;
21
30
  readonly billingrequest: ApiRecordLinkManager;
22
31
  readonly file: ApiRecordLinkManager;
23
- readonly commission: ApiRecordLinkManager;
24
- readonly contact: ApiRecordLinkManager;
25
- readonly onetouchswitch: ApiRecordLinkManager;
26
32
  readonly contactidentity: ApiRecordLinkManager;
27
33
  readonly paymentmethodrefund: ApiRecordLinkManager;
28
- readonly deactivationapproval: ApiRecordLinkManager;
29
34
  readonly phonenumber: ApiRecordLinkManager;
30
- readonly orderremediationtask: ApiRecordLinkManager;
31
35
  readonly appointment: ApiRecordLinkManager;
32
- readonly call: ApiRecordLinkManager;
33
- readonly fingerprint: ApiRecordLinkManager;
34
36
  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.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');
21
+ this.organization__contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'Organization__Contact');
22
+ this.billingcontact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Contact', 'BillingContact');
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');
23
36
  this.activity = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'SchemaModule:Activity', 'Contact__Activity');
24
37
  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');
28
38
  this.address = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:Address', 'Contact__Address');
29
39
  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');
31
40
  this.billingrequest = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'BillingModule:BillingRequest', 'Contact__BillingRequest');
32
41
  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');
36
42
  this.contactidentity = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Contact', 'CrmModule:ContactIdentity', 'Contact__ContactIdentity');
37
43
  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');
39
44
  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');
41
45
  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');
44
46
  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;
@@ -12,6 +12,7 @@ export declare class EmailApi extends ApiProvider {
12
12
  readonly case: ApiRecordLinkManager;
13
13
  readonly contact: ApiRecordLinkManager;
14
14
  readonly user: ApiRecordLinkManager;
15
+ readonly file: ApiRecordLinkManager;
15
16
  constructor(authParams?: OauthParams, authToken?: string);
16
17
  setRecord(sourceRecord: any): void;
17
18
  schema(): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinSchema>;
@@ -22,6 +22,7 @@ class EmailApi extends api_provider_1.ApiProvider {
22
22
  this.case = new api_record_link_manager_1.ApiRecordLinkManager('NotificationModule:Email', 'SupportModule:Case', 'Case__Email');
23
23
  this.contact = new api_record_link_manager_1.ApiRecordLinkManager('NotificationModule:Email', 'CrmModule:Contact', 'Email_Contact');
24
24
  this.user = new api_record_link_manager_1.ApiRecordLinkManager('NotificationModule:Email', 'IdentityModule:User', 'Email_User');
25
+ this.file = new api_record_link_manager_1.ApiRecordLinkManager('NotificationModule:Email', 'SchemaModule:File', 'Attachments');
25
26
  }
26
27
  setRecord(sourceRecord) {
27
28
  this.sourceRecord = sourceRecord;
@@ -61,6 +61,8 @@ export declare class FileApi extends ApiProvider {
61
61
  readonly blockagea55_file: ApiRecordLinkManager;
62
62
  readonly overlayreala55_file: ApiRecordLinkManager;
63
63
  readonly ohexternalaudit_file: ApiRecordLinkManager;
64
+ readonly attachments: ApiRecordLinkManager;
65
+ readonly message_file: ApiRecordLinkManager;
64
66
  readonly note: ApiRecordLinkManager;
65
67
  constructor(authParams?: OauthParams, authToken?: string);
66
68
  setRecord(sourceRecord: any): void;
@@ -71,6 +71,8 @@ class FileApi extends api_provider_1.ApiProvider {
71
71
  this.blockagea55_file = new api_record_link_manager_1.ApiRecordLinkManager('SchemaModule:File', 'SchemaModule:File', 'BlockageA55_File');
72
72
  this.overlayreala55_file = new api_record_link_manager_1.ApiRecordLinkManager('SchemaModule:File', 'SchemaModule:File', 'OverlayRealA55_File');
73
73
  this.ohexternalaudit_file = new api_record_link_manager_1.ApiRecordLinkManager('SchemaModule:File', 'SchemaModule:File', 'OhExternalAudit_File');
74
+ this.attachments = new api_record_link_manager_1.ApiRecordLinkManager('SchemaModule:File', 'SchemaModule:File', 'Attachments');
75
+ this.message_file = new api_record_link_manager_1.ApiRecordLinkManager('SchemaModule:File', 'SchemaModule:File', 'Message_File');
74
76
  this.note = new api_record_link_manager_1.ApiRecordLinkManager('SchemaModule:File', 'SupportModule:Note', 'File__Note');
75
77
  }
76
78
  setRecord(sourceRecord) {
@@ -9,6 +9,7 @@ export declare class MessageApi extends ApiProvider {
9
9
  private readonly entityName;
10
10
  private sourceRecord;
11
11
  readonly conversation: ApiRecordLinkManager;
12
+ readonly file: ApiRecordLinkManager;
12
13
  constructor(authParams?: OauthParams, authToken?: string);
13
14
  setRecord(sourceRecord: any): void;
14
15
  schema(): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinSchema>;
@@ -19,6 +19,7 @@ class MessageApi extends api_provider_1.ApiProvider {
19
19
  this.moduleName = 'NotificationModule';
20
20
  this.entityName = 'Message';
21
21
  this.conversation = new api_record_link_manager_1.ApiRecordLinkManager('NotificationModule:Message', 'NotificationModule:Conversation', 'Conversation_Message');
22
+ this.file = new api_record_link_manager_1.ApiRecordLinkManager('NotificationModule:Message', 'SchemaModule:File', 'Message_File');
22
23
  }
23
24
  setRecord(sourceRecord) {
24
25
  this.sourceRecord = sourceRecord;
@@ -12,6 +12,7 @@ export declare class EmailDb extends DbProvider {
12
12
  readonly case: DbRecordLinkManager;
13
13
  readonly contact: DbRecordLinkManager;
14
14
  readonly user: DbRecordLinkManager;
15
+ readonly file: DbRecordLinkManager;
15
16
  constructor(principal: any, dbService: any);
16
17
  setRecord(sourceRecord: any): void;
17
18
  searchRecords(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/db.interfaces").OdinSearchResponse<any>>;
@@ -23,6 +23,7 @@ class EmailDb extends db_provider_1.DbProvider {
23
23
  this.case = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'NotificationModule:Email', 'SupportModule:Case', 'Case__Email');
24
24
  this.contact = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'NotificationModule:Email', 'CrmModule:Contact', 'Email_Contact');
25
25
  this.user = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'NotificationModule:Email', 'IdentityModule:User', 'Email_User');
26
+ this.file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'NotificationModule:Email', 'SchemaModule:File', 'Attachments');
26
27
  }
27
28
  setRecord(sourceRecord) {
28
29
  this.sourceRecord = sourceRecord;
@@ -61,6 +61,8 @@ export declare class FileDb extends DbProvider {
61
61
  readonly blockagea55_file: DbRecordLinkManager;
62
62
  readonly overlayreala55_file: DbRecordLinkManager;
63
63
  readonly ohexternalaudit_file: DbRecordLinkManager;
64
+ readonly attachments: DbRecordLinkManager;
65
+ readonly message_file: DbRecordLinkManager;
64
66
  readonly note: DbRecordLinkManager;
65
67
  constructor(principal: any, dbService: any);
66
68
  setRecord(sourceRecord: any): void;
@@ -72,6 +72,8 @@ class FileDb extends db_provider_1.DbProvider {
72
72
  this.blockagea55_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SchemaModule:File', 'SchemaModule:File', 'BlockageA55_File');
73
73
  this.overlayreala55_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SchemaModule:File', 'SchemaModule:File', 'OverlayRealA55_File');
74
74
  this.ohexternalaudit_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SchemaModule:File', 'SchemaModule:File', 'OhExternalAudit_File');
75
+ this.attachments = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SchemaModule:File', 'SchemaModule:File', 'Attachments');
76
+ this.message_file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SchemaModule:File', 'SchemaModule:File', 'Message_File');
75
77
  this.note = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'SchemaModule:File', 'SupportModule:Note', 'File__Note');
76
78
  }
77
79
  setRecord(sourceRecord) {
@@ -9,6 +9,7 @@ export declare class MessageDb extends DbProvider {
9
9
  private readonly entityName;
10
10
  private sourceRecord;
11
11
  readonly conversation: DbRecordLinkManager;
12
+ readonly file: DbRecordLinkManager;
12
13
  constructor(principal: any, dbService: any);
13
14
  setRecord(sourceRecord: any): void;
14
15
  searchRecords(params: Partial<OdinSearchV2>): Promise<import("@d19n/odin-sdk-generator/dist/db.interfaces").OdinSearchResponse<any>>;
@@ -20,6 +20,7 @@ class MessageDb extends db_provider_1.DbProvider {
20
20
  this.principal = principal;
21
21
  this.dbService = dbService;
22
22
  this.conversation = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'NotificationModule:Message', 'NotificationModule:Conversation', 'Conversation_Message');
23
+ this.file = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'NotificationModule:Message', 'SchemaModule:File', 'Message_File');
23
24
  }
24
25
  setRecord(sourceRecord) {
25
26
  this.sourceRecord = sourceRecord;
@@ -53,6 +53,8 @@ import { OhInProgressAuditProperties } from './OhInProgressAudit';
53
53
  import { BlockageA55Properties } from './BlockageA55';
54
54
  import { OverlayRealA55Properties } from './OverlayRealA55';
55
55
  import { OhExternalAuditProperties } from './OhExternalAudit';
56
+ import { EmailProperties } from './Email';
57
+ import { MessageProperties } from './Message';
56
58
  export declare enum AfpInvoiceFileDataStore {
57
59
  AWS_S3 = "AWS_S3"
58
60
  }
@@ -173,6 +175,8 @@ export interface AfpInvoiceFile {
173
175
  BlockageA55: OdinLink<LinkedOdinRecord<BlockageA55Properties>>;
174
176
  OverlayRealA55: OdinLink<LinkedOdinRecord<OverlayRealA55Properties>>;
175
177
  OhExternalAudit: OdinLink<LinkedOdinRecord<OhExternalAuditProperties>>;
178
+ Email: OdinLink<LinkedOdinRecord<EmailProperties>>;
179
+ Message: OdinLink<LinkedOdinRecord<MessageProperties>>;
176
180
  }
177
181
  export declare class CreateAfpInvoiceFileDto extends OdinRecordCreateDto<AfpInvoiceFileProperties> {
178
182
  constructor();
@@ -20,8 +20,63 @@ export declare enum CaseEntityTypes {
20
20
  OUTAGE = "OUTAGE"
21
21
  }
22
22
  export declare enum CaseReasonForReview {
23
- REASON_1 = "Reason 1",
24
- REASON_2 = "Reason 2"
23
+ I_DO_NOT_HAVE_THE_PERMISSIONS = "I_DO_NOT_HAVE_THE_PERMISSIONS",
24
+ I_DO_NOT_KNOW_HOW_TO_ACTION_THIS = "I_DO_NOT_KNOW_HOW_TO_ACTION",
25
+ I_NEED_SUPPORT_FROM_BILLING = "I_NEED_SUPPORT_FROM_BILLING",
26
+ I_NEED_SUPPORT_FROM_NETWORK_OPERATIONS_TIER_3 = "I_NEED_SUPPORT_FROM_NETWORK_OPERATIONS"
27
+ }
28
+ export declare enum CaseSubCategory {
29
+ AMEND_BILLING_DATE = "AMEND_BILLING_DATE",
30
+ AMEND_MY_ORDER = "AMEND_MY_ORDER",
31
+ AREA_AVAILABILITY_QUERY = "AREA_AVAILABILITY_QUERY",
32
+ BAD_CSAT = "BAD_CSAT",
33
+ CANCEL_APPOINTMENT = "CANCEL_APPOINTMENT",
34
+ CHANGE_CONTACT_DETAILS = "CHANGE_CONTACT_DETAILS",
35
+ CHURN_REQUEST = "CHURN_REQUEST",
36
+ CLAIM_MISSELLING = "CLAIM_MISSELLING",
37
+ COGENT_ABUSE_NOTIFICATIONS = "COGENT_ABUSE_NOTIFICATIONS",
38
+ COMPENSATION_REQUEST = "COMPENSATION_REQUEST",
39
+ COMPLAINT = "COMPLAINT",
40
+ CONTRACT_BUYOUT = "CONTRACT_BUYOUT",
41
+ CUSTOMER_DEVICE_ISSUE = "CUSTOMER_DEVICE_ISSUE",
42
+ DATA_SUBJECT_ACCESS_REQUEST = "DATA_SUBJECT_ACCESS_REQUEST",
43
+ DIRECT_DEBIT = "DIRECT_DEBIT",
44
+ DUPLICATE_REVIEW = "DUPLICATE_REVIEW",
45
+ EQUIPMENT_RETURN_REFUND = "EQUIPMENT_RETURN_REFUND",
46
+ ESCALATED_COMPLAINT = "ESCALATED_COMPLAINT",
47
+ ETF_CUSTOMER_LEAVING_YF = "ETF_CUSTOMER_LEAVING",
48
+ GDPR_DATA_BREACH = "GDPR_DATA_BREACH",
49
+ INSTALL_APPOINTMENT = "INSTALL_APPOINTMENT",
50
+ INSTALL_REMEDIATION_QUERY = "INSTALL_REMEDIATION_QUERY",
51
+ INTERMITTENT_CONNECTIVITY = "INTERMITTENT_CONNECTIVITY",
52
+ INVOICE_DISPUTE = "INVOICE_DISPUTE",
53
+ MAGRATHEA_PROCESS = "MAGRATHEA_PROCESS",
54
+ MISSED_APPOINTMENT = "MISSED_APPOINTMENT",
55
+ NEGATIVE_REVIEWS = "NEGATIVE_REVIEWS",
56
+ NEW_ORDER = "NEW_ORDER",
57
+ NEW_TICKET = "NEW_TICKET",
58
+ OFFER_QUERY_SUPPORT = "OFFER_QUERY_AND_SUPPORT",
59
+ OMBUDSMAN_CASE = "OMBUDSMAN_CASE",
60
+ ONT_RELOCATION = "ONT_RELOCATION",
61
+ OVERDUE_INVOICE = "OVERDUE_INVOICE",
62
+ PAYMENT_LINK = "PAYMENT_LINK",
63
+ PAYMENT_PLAN = "PAYMENT_PLAN",
64
+ PHONE_ISSUES = "PHONE_ISSUES",
65
+ PHONE_PORTING = "PHONE_PORTING",
66
+ PIC_REQUEST = "PIC_REQUEST",
67
+ POSITIVE_REVIEWS = "POSITIVE_REVIEWS",
68
+ PRE_LIVE_ORDER_QUERY = "PRE_LIVE_ORDER_QUERY",
69
+ PRICE_MATCH = "PRICE_MATCH",
70
+ RECONTRACT_UPGRADE = "RECONTRACT_UPGRADE",
71
+ REFERRAL = "REFERRAL",
72
+ SERVICE_VISIT = "SERVICE_VISIT",
73
+ SPAM = "SPAM",
74
+ SPEED_HARD_WIRED = "SPEED_HARD_WIRED",
75
+ SPEED_WI_FI = "SPEED_WIFI",
76
+ TLOS_OUTAGE = "TLOS_OUTAGE",
77
+ TRANSFER_OF_OWNERSHIP = "TRANSFER_OF_OWNERSHIP",
78
+ WEBSITE_APP_ISSUE = "WEBSITE_APP_ISSUE",
79
+ WI_FI_COVERAGE = "WIFI_COVERAGE"
25
80
  }
26
81
  export declare enum CaseStatus {
27
82
  NO_ACTIVITY = "NO_ACTIVITY",
@@ -38,6 +93,12 @@ export declare enum CaseOrigin {
38
93
  ODIN_AUTOMATION = "ODIN_AUTOMATION",
39
94
  WEBSITE = "WEBSITE"
40
95
  }
96
+ export declare enum CaseSla {
97
+ HIGH = "HIGH",
98
+ LOW = "LOW",
99
+ MEDIUM = "MEDIUM",
100
+ URGENT = "URGENT"
101
+ }
41
102
  export declare enum CaseProblem {
42
103
  BILLING_RELATED = "Billing Related",
43
104
  DELAYED_INSTALLATION = "Delayed Installation",
@@ -75,6 +136,12 @@ export declare enum CaseDpaCustomerCategory {
75
136
  SALES = "SALES",
76
137
  TECH_SUPPORT = "TECH_SUPPORT"
77
138
  }
139
+ export declare enum CaseBlockedReason {
140
+ AWAITING_CHURN = "AWAITING_CHURN",
141
+ AWAITING_NETOMNIA_ACTION = "AWAITING_NETOMNIA_ACTION",
142
+ PAYMENT_PLAN = "PAYMENT_PLAN",
143
+ WAITING_TO_PROCESS_REFUND = "WAITING_TO_PROCESS_REFUND"
144
+ }
78
145
  export declare enum CaseCategory {
79
146
  BILLING = "BILLING",
80
147
  CANCELLATION = "CANCELLATION",
@@ -86,73 +153,17 @@ export declare enum CaseCategory {
86
153
  SPAM = "SPAM",
87
154
  TECH_SUPPORT = "TECH_SUPPORT"
88
155
  }
89
- export declare enum CaseBlockedReason {
90
- REASON_1 = "Reason 1",
91
- REASON_2 = "Reason 2"
92
- }
93
- export declare enum CaseSubCategory {
94
- AMEND_BILLING_DATE = "AMEND_BILLING_DATE",
95
- AMEND_MY_ORDER = "AMEND_MY_ORDER",
96
- AREA_AVAILABILITY_QUERY = "AREA_AVAILABILITY_QUERY",
97
- BAD_CSAT = "BAD_CSAT",
98
- CANCEL_APPOINTMENT = "CANCEL_APPOINTMENT",
99
- CHANGE_CONTACT_DETAILS = "CHANGE_CONTACT_DETAILS",
100
- CHURN_REQUEST = "CHURN_REQUEST",
101
- CLAIM_MISSELLING = "CLAIM_MISSELLING",
102
- COGENT_ABUSE_NOTIFICATIONS = "COGENT_ABUSE_NOTIFICATIONS",
103
- COMPENSATION_REQUEST = "COMPENSATION_REQUEST",
104
- COMPLAINT = "COMPLAINT",
105
- CONTRACT_BUYOUT = "CONTRACT_BUYOUT",
106
- CUSTOMER_DEVICE_ISSUE = "CUSTOMER_DEVICE_ISSUE",
107
- DATA_SUBJECT_ACCESS_REQUEST = "DATA_SUBJECT_ACCESS_REQUEST",
108
- DIRECT_DEBIT = "DIRECT_DEBIT",
109
- DUPLICATE_REVIEW = "DUPLICATE_REVIEW",
110
- EQUIPMENT_RETURN_REFUND = "EQUIPMENT_RETURN_REFUND",
111
- ESCALATED_COMPLAINT = "ESCALATED_COMPLAINT",
112
- ETF_CUSTOMER_LEAVING_YF = "ETF_CUSTOMER_LEAVING",
113
- GDPR_DATA_BREACH = "GDPR_DATA_BREACH",
114
- INSTALL_APPOINTMENT = "INSTALL_APPOINTMENT",
115
- INSTALL_REMEDIATION_QUERY = "INSTALL_REMEDIATION_QUERY",
116
- INTERMITTENT_CONNECTIVITY = "INTERMITTENT_CONNECTIVITY",
117
- INVOICE_DISPUTE = "INVOICE_DISPUTE",
118
- MAGRATHEA_PROCESS = "MAGRATHEA_PROCESS",
119
- MISSED_APPOINTMENT = "MISSED_APPOINTMENT",
120
- NEGATIVE_REVIEWS = "NEGATIVE_REVIEWS",
121
- NEW_ORDER = "NEW_ORDER",
122
- NEW_TICKET = "NEW_TICKET",
123
- OFFER_QUERY_SUPPORT = "OFFER_QUERY_AND_SUPPORT",
124
- OMBUDSMAN_CASE = "OMBUDSMAN_CASE",
125
- ONT_RELOCATION = "ONT_RELOCATION",
126
- OVERDUE_INVOICE = "OVERDUE_INVOICE",
127
- PAYMENT_LINK = "PAYMENT_LINK",
128
- PAYMENT_PLAN = "PAYMENT_PLAN",
129
- PHONE_ISSUES = "PHONE_ISSUES",
130
- PHONE_PORTING = "PHONE_PORTING",
131
- PIC_REQUEST = "PIC_REQUEST",
132
- POSITIVE_REVIEWS = "POSITIVE_REVIEWS",
133
- PRE_LIVE_ORDER_QUERY = "PRE_LIVE_ORDER_QUERY",
134
- PRICE_MATCH = "PRICE_MATCH",
135
- RECONTRACT_UPGRADE = "RECONTRACT_UPGRADE",
136
- REFERRAL = "REFERRAL",
137
- SERVICE_VISIT = "SERVICE_VISIT",
138
- SPAM = "SPAM",
139
- SPEED_HARD_WIRED = "SPEED_HARD_WIRED",
140
- SPEED_WI_FI = "SPEED_WIFI",
141
- TLOS_OUTAGE = "TLOS_OUTAGE",
142
- TRANSFER_OF_OWNERSHIP = "TRANSFER_OF_OWNERSHIP",
143
- WEBSITE_APP_ISSUE = "WEBSITE_APP_ISSUE",
144
- WI_FI_COVERAGE = "WIFI_COVERAGE"
145
- }
146
- export declare enum CaseSla {
147
- HIGH = "HIGH",
148
- LOW = "LOW",
149
- MEDIUM = "MEDIUM",
150
- URGENT = "URGENT"
156
+ export declare enum CaseCsatReason {
157
+ I_WAS_NOT_HAPPY_WITH_THE_AGENT_COMMUNICATION = "AGENT_COMMUNICATION",
158
+ I_WAS_NOT_HAPPY_WITH_THE_OUTCOME = "OUTCOME",
159
+ I_WAS_NOT_HAPPY_WITH_THE_PRODUCT_OR_SERVICE = "PRODUCT_SERVICE",
160
+ OTHER = "OTHER"
151
161
  }
152
162
  export declare enum CasePropertyKeys {
153
163
  ReasonForReview = "ReasonForReview",
154
164
  MoveToOpenOn = "MoveToOpenOn",
155
165
  Description = "Description",
166
+ SubCategory = "SubCategory",
156
167
  Files = "Files",
157
168
  Status = "Status",
158
169
  Impact = "Impact",
@@ -163,6 +174,7 @@ export declare enum CasePropertyKeys {
163
174
  ROrderId = "R_OrderId",
164
175
  CloseReason = "CloseReason",
165
176
  Origin = "Origin",
177
+ Sla = "Sla",
166
178
  RAssignedOrgUserId = "R_AssignedOrgUserId",
167
179
  Problem = "Problem",
168
180
  BusinessArea = "BusinessArea",
@@ -188,21 +200,23 @@ export declare enum CasePropertyKeys {
188
200
  OutageConfirmedTime = "OutageConfirmedTime",
189
201
  OutageResolvedTime = "OutageResolvedTime",
190
202
  DpaCustomerCategory = "DpaCustomerCategory",
191
- Category = "Category",
192
203
  Queue = "Queue",
193
- Priority = "Priority",
194
204
  BlockedReason = "BlockedReason",
195
- SubCategory = "SubCategory",
196
- Sla = "Sla",
205
+ Category = "Category",
206
+ Priority = "Priority",
197
207
  AdditionalNotes = "AdditionalNotes",
198
208
  ContactId = "ContactId",
199
209
  DpaCustomerEmail = "DpaCustomerEmail",
200
- DpaCustomerLastBill = "DpaCustomerLastBill"
210
+ DpaCustomerLastBill = "DpaCustomerLastBill",
211
+ CsatReason = "CsatReason",
212
+ CsatComment = "CsatComment",
213
+ CsatScore = "CsatScore"
201
214
  }
202
215
  export interface CaseProperties {
203
216
  ReasonForReview?: CaseReasonForReview;
204
217
  MoveToOpenOn?: Date;
205
218
  Description?: string;
219
+ SubCategory?: CaseSubCategory;
206
220
  Files?: string;
207
221
  Status?: CaseStatus;
208
222
  Impact: CaseImpact;
@@ -213,6 +227,7 @@ export interface CaseProperties {
213
227
  ROrderId?: string;
214
228
  CloseReason?: string;
215
229
  Origin?: CaseOrigin;
230
+ Sla?: CaseSla;
216
231
  RAssignedOrgUserId?: string;
217
232
  Problem?: CaseProblem;
218
233
  BusinessArea?: CaseBusinessArea;
@@ -238,16 +253,17 @@ export interface CaseProperties {
238
253
  OutageConfirmedTime?: Date;
239
254
  OutageResolvedTime?: Date;
240
255
  DpaCustomerCategory?: CaseDpaCustomerCategory;
241
- Category?: CaseCategory;
242
256
  Queue?: string;
243
- Priority?: number;
244
257
  BlockedReason?: CaseBlockedReason;
245
- SubCategory?: CaseSubCategory;
246
- Sla?: CaseSla;
258
+ Category?: CaseCategory;
259
+ Priority?: number;
247
260
  AdditionalNotes?: string;
248
261
  ContactId?: string;
249
262
  DpaCustomerEmail?: string;
250
263
  DpaCustomerLastBill?: string;
264
+ CsatReason?: CaseCsatReason;
265
+ CsatComment?: string;
266
+ CsatScore?: number;
251
267
  }
252
268
  export interface Case {
253
269
  id: string;