@d19n/youfibre-odin-sdk 1.0.64 → 1.0.65

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 (75) 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/WorkOrderApi.d.ts +10 -10
  4. package/dist/api-sdk-v2/WorkOrderApi.js +10 -10
  5. package/dist/entities-v2/Case.d.ts +98 -74
  6. package/dist/entities-v2/Case.js +94 -69
  7. package/dist/entities-v2/CreditNote.d.ts +4 -4
  8. package/dist/entities-v2/CreditNote.js +2 -2
  9. package/dist/entities-v2/FinanceServiceAppointmentConfig.d.ts +1 -0
  10. package/dist/entities-v2/FinanceServiceAppointmentConfig.js +1 -0
  11. package/dist/entities-v2/InspectionServiceAppointmentConfig.d.ts +1 -0
  12. package/dist/entities-v2/InspectionServiceAppointmentConfig.js +1 -0
  13. package/dist/entities-v2/InstallServiceAppointmentConfig.d.ts +1 -0
  14. package/dist/entities-v2/InstallServiceAppointmentConfig.js +1 -0
  15. package/dist/entities-v2/InstallServiceServiceAppointmentConfig.d.ts +1 -0
  16. package/dist/entities-v2/InstallServiceServiceAppointmentConfig.js +1 -0
  17. package/dist/entities-v2/MsPendingEvent.d.ts +2 -0
  18. package/dist/entities-v2/MsPendingEvent.js +2 -0
  19. package/dist/entities-v2/NetworkAdjustmentServiceAppointmentConfig.d.ts +1 -0
  20. package/dist/entities-v2/NetworkAdjustmentServiceAppointmentConfig.js +1 -0
  21. package/dist/entities-v2/OhInstallationAudit.d.ts +32 -32
  22. package/dist/entities-v2/OhInstallationAudit.js +30 -30
  23. package/dist/entities-v2/OntReplacementApproval.d.ts +1 -0
  24. package/dist/entities-v2/OutageCase.d.ts +98 -74
  25. package/dist/entities-v2/OutageCase.js +94 -69
  26. package/dist/entities-v2/OutcomeFormOhRetroAudit.d.ts +8 -8
  27. package/dist/entities-v2/OutcomeFormOhRetroAudit.js +8 -8
  28. package/dist/entities-v2/OutcomeFormOverlayRealA55.d.ts +40 -40
  29. package/dist/entities-v2/OutcomeFormOverlayRealA55.js +38 -38
  30. package/dist/entities-v2/OutcomeFormRemediationRequiredReason.d.ts +10 -10
  31. package/dist/entities-v2/OutcomeFormRemediationRequiredReason.js +10 -10
  32. package/dist/entities-v2/OverlayRealA55.d.ts +40 -40
  33. package/dist/entities-v2/OverlayRealA55.js +38 -38
  34. package/dist/entities-v2/PlanningServiceAppointmentConfig.d.ts +1 -0
  35. package/dist/entities-v2/PlanningServiceAppointmentConfig.js +1 -0
  36. package/dist/entities-v2/PrePullServiceAppointmentConfig.d.ts +1 -0
  37. package/dist/entities-v2/PrePullServiceAppointmentConfig.js +1 -0
  38. package/dist/entities-v2/RemediationRequiredReason.d.ts +10 -10
  39. package/dist/entities-v2/RemediationRequiredReason.js +10 -10
  40. package/dist/entities-v2/RemediationServiceAppointmentConfig.d.ts +1 -0
  41. package/dist/entities-v2/RemediationServiceAppointmentConfig.js +1 -0
  42. package/dist/entities-v2/ServiceAppointmentConfig.d.ts +1 -0
  43. package/dist/entities-v2/ServiceAppointmentConfig.js +1 -0
  44. package/dist/entities-v2/ServiceServiceAppointmentConfig.d.ts +1 -0
  45. package/dist/entities-v2/ServiceServiceAppointmentConfig.js +1 -0
  46. package/dist/entities-v2/WayleaveServiceAppointmentConfig.d.ts +1 -0
  47. package/dist/entities-v2/WayleaveServiceAppointmentConfig.js +1 -0
  48. package/dist/types-v1/Types.d.ts +3 -3
  49. package/dist/types-v1/Types.js +3 -3
  50. package/package.json +1 -1
  51. package/src/api-sdk-v2/ContactApi.ts +84 -84
  52. package/src/api-sdk-v2/WorkOrderApi.ts +54 -54
  53. package/src/entities-v2/Case.ts +105 -80
  54. package/src/entities-v2/CreditNote.ts +6 -6
  55. package/src/entities-v2/FinanceServiceAppointmentConfig.ts +1 -0
  56. package/src/entities-v2/InspectionServiceAppointmentConfig.ts +1 -0
  57. package/src/entities-v2/InstallServiceAppointmentConfig.ts +1 -0
  58. package/src/entities-v2/InstallServiceServiceAppointmentConfig.ts +1 -0
  59. package/src/entities-v2/MsPendingEvent.ts +2 -0
  60. package/src/entities-v2/NetworkAdjustmentServiceAppointmentConfig.ts +1 -0
  61. package/src/entities-v2/OhInstallationAudit.ts +40 -40
  62. package/src/entities-v2/OntReplacementApproval.ts +1 -0
  63. package/src/entities-v2/OutageCase.ts +105 -80
  64. package/src/entities-v2/OutcomeFormOhRetroAudit.ts +10 -10
  65. package/src/entities-v2/OutcomeFormOverlayRealA55.ts +51 -51
  66. package/src/entities-v2/OutcomeFormRemediationRequiredReason.ts +10 -10
  67. package/src/entities-v2/OverlayRealA55.ts +51 -51
  68. package/src/entities-v2/PlanningServiceAppointmentConfig.ts +1 -0
  69. package/src/entities-v2/PrePullServiceAppointmentConfig.ts +1 -0
  70. package/src/entities-v2/RemediationRequiredReason.ts +10 -10
  71. package/src/entities-v2/RemediationServiceAppointmentConfig.ts +1 -0
  72. package/src/entities-v2/ServiceAppointmentConfig.ts +1 -0
  73. package/src/entities-v2/ServiceServiceAppointmentConfig.ts +1 -0
  74. package/src/entities-v2/WayleaveServiceAppointmentConfig.ts +1 -0
  75. package/src/types-v1/Types.ts +3 -3
@@ -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;
@@ -16,15 +16,7 @@ export declare class WorkOrderApi extends ApiProvider {
16
16
  readonly ugexternalaudit: ApiRecordLinkManager;
17
17
  readonly ohretroaudit: ApiRecordLinkManager;
18
18
  readonly orderitem: ApiRecordLinkManager;
19
- readonly account__workorder: ApiRecordLinkManager;
20
- readonly paymentmethodrefund__workorder: ApiRecordLinkManager;
21
- readonly order__workorder: ApiRecordLinkManager;
22
- readonly orderremediationtask__workorder: ApiRecordLinkManager;
23
- readonly case__workorder: ApiRecordLinkManager;
24
- readonly ontreplacementapproval_workorder: ApiRecordLinkManager;
25
- readonly call__workorder: ApiRecordLinkManager;
26
- readonly workorder__workorder: ApiRecordLinkManager;
27
- readonly servicevisitaudit_workorder: ApiRecordLinkManager;
19
+ readonly account: ApiRecordLinkManager;
28
20
  readonly changereason: ApiRecordLinkManager;
29
21
  readonly file: ApiRecordLinkManager;
30
22
  readonly invoice: ApiRecordLinkManager;
@@ -32,6 +24,7 @@ export declare class WorkOrderApi extends ApiProvider {
32
24
  readonly activity: ApiRecordLinkManager;
33
25
  readonly smsmessage: ApiRecordLinkManager;
34
26
  readonly internalinstallaudit: ApiRecordLinkManager;
27
+ readonly paymentmethodrefund: ApiRecordLinkManager;
35
28
  readonly lead: ApiRecordLinkManager;
36
29
  readonly noinstall3auditofinstallationsheet: ApiRecordLinkManager;
37
30
  readonly netomniaftth1stageinstallaudit: ApiRecordLinkManager;
@@ -39,22 +32,29 @@ export declare class WorkOrderApi extends ApiProvider {
39
32
  readonly netomniaftth2stageinstallaudit: ApiRecordLinkManager;
40
33
  readonly customerdeviceontremoval: ApiRecordLinkManager;
41
34
  readonly yftoolaudit: ApiRecordLinkManager;
35
+ readonly order: ApiRecordLinkManager;
42
36
  readonly serviceappointmentconfig: ApiRecordLinkManager;
43
37
  readonly workorderengineer: ApiRecordLinkManager;
44
38
  readonly workorderowner: ApiRecordLinkManager;
45
39
  readonly remediationrequiredreason: ApiRecordLinkManager;
40
+ readonly orderremediationtask: ApiRecordLinkManager;
41
+ readonly case: ApiRecordLinkManager;
42
+ readonly ontreplacementapproval: ApiRecordLinkManager;
43
+ readonly call: ApiRecordLinkManager;
46
44
  readonly permissiontofail: ApiRecordLinkManager;
47
45
  readonly serviceappointment: ApiRecordLinkManager;
48
46
  readonly sweepermaintenanceaudit: ApiRecordLinkManager;
49
47
  readonly blockagereporta55: ApiRecordLinkManager;
50
48
  readonly uginstallationaudit: ApiRecordLinkManager;
51
49
  readonly ohinstallationaudit: ApiRecordLinkManager;
50
+ readonly workorder: ApiRecordLinkManager;
52
51
  readonly ohauditofinstallation: ApiRecordLinkManager;
53
52
  readonly team: ApiRecordLinkManager;
54
53
  readonly yfvanaudit: ApiRecordLinkManager;
55
54
  readonly remediationoutcomeform: ApiRecordLinkManager;
56
55
  readonly netomniaftthservicevisitsheet: ApiRecordLinkManager;
57
- readonly servicevisitaudit: ApiRecordLinkManager;
56
+ readonly workorder_servicevisitaudit: ApiRecordLinkManager;
57
+ readonly servicevisitaudit_workorder: ApiRecordLinkManager;
58
58
  readonly yffieldservicevisit: ApiRecordLinkManager;
59
59
  readonly uginprogressaudit: ApiRecordLinkManager;
60
60
  readonly ohinprogressaudit: ApiRecordLinkManager;
@@ -26,15 +26,7 @@ class WorkOrderApi extends api_provider_1.ApiProvider {
26
26
  this.ugexternalaudit = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:UgExternalAudit', 'WorkOrder_UgExternalAudit');
27
27
  this.ohretroaudit = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:OhRetroAudit', 'WorkOrder_OhRetroAudit');
28
28
  this.orderitem = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'OrderModule:OrderItem', 'WorkOrder__OrderItem');
29
- this.account__workorder = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:WorkOrder', 'Account__WorkOrder');
30
- this.paymentmethodrefund__workorder = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:WorkOrder', 'PaymentMethodRefund__WorkOrder');
31
- this.order__workorder = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:WorkOrder', 'Order__WorkOrder');
32
- this.orderremediationtask__workorder = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:WorkOrder', 'OrderRemediationTask__WorkOrder');
33
- this.case__workorder = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:WorkOrder', 'Case__WorkOrder');
34
- this.ontreplacementapproval_workorder = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:WorkOrder', 'OntReplacementApproval_WorkOrder');
35
- this.call__workorder = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:WorkOrder', 'Call__WorkOrder');
36
- this.workorder__workorder = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:WorkOrder', 'WorkOrder__WorkOrder');
37
- this.servicevisitaudit_workorder = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:WorkOrder', 'ServiceVisitAudit_WorkOrder');
29
+ this.account = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'CrmModule:Account', 'Account__WorkOrder');
38
30
  this.changereason = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:ChangeReason', 'WorkOrder__ChangeReason');
39
31
  this.file = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'SchemaModule:File', 'WorkOrder__File');
40
32
  this.invoice = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'BillingModule:Invoice', 'WorkOrder__Invoice');
@@ -42,6 +34,7 @@ class WorkOrderApi extends api_provider_1.ApiProvider {
42
34
  this.activity = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'SchemaModule:Activity', 'WorkOrder__Activity');
43
35
  this.smsmessage = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'NotificationModule:SmsMessage', 'WorkOrder__SmsMessage');
44
36
  this.internalinstallaudit = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:InternalInstallAudit', 'WorkOrder_InternalInstallAudit');
37
+ this.paymentmethodrefund = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'BillingModule:PaymentMethodRefund', 'PaymentMethodRefund__WorkOrder');
45
38
  this.lead = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'CrmModule:Lead', 'WorkOrder__Lead');
46
39
  this.noinstall3auditofinstallationsheet = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:Noinstall3AuditOfInstallationSheet', 'WorkOrder__Noinstall3AuditOfInstallationSheet');
47
40
  this.netomniaftth1stageinstallaudit = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:NetomniaFtth1StageInstallAudit', 'WorkOrder__NetomniaFtth1StageInstallAudit');
@@ -49,22 +42,29 @@ class WorkOrderApi extends api_provider_1.ApiProvider {
49
42
  this.netomniaftth2stageinstallaudit = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:NetomniaFtth2StageInstallAudit', 'WorkOrder__NetomniaFtth2StageInstallAudit');
50
43
  this.customerdeviceontremoval = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'ServiceModule:CustomerDeviceOntRemoval', 'WorkOrder_CustomerDeviceOntRemoval');
51
44
  this.yftoolaudit = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:YfToolAudit', 'WorkOrder_YfToolAudit');
45
+ this.order = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'OrderModule:Order', 'Order__WorkOrder');
52
46
  this.serviceappointmentconfig = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:ServiceAppointmentConfig', 'WorkOrder__ServiceAppointmentConfig');
53
47
  this.workorderengineer = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'IdentityModule:User', 'WorkOrderEngineer');
54
48
  this.workorderowner = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'IdentityModule:User', 'WorkOrderOwner');
55
49
  this.remediationrequiredreason = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:RemediationRequiredReason', 'WorkOrder__RemediationRequiredReason');
50
+ this.orderremediationtask = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'OrderModule:OrderRemediationTask', 'OrderRemediationTask__WorkOrder');
51
+ this.case = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'SupportModule:Case', 'Case__WorkOrder');
52
+ this.ontreplacementapproval = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:OntReplacementApproval', 'OntReplacementApproval_WorkOrder');
53
+ this.call = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'NotificationModule:Call', 'Call__WorkOrder');
56
54
  this.permissiontofail = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:PermissionToFail', 'WorkOrder__PermissionToFail');
57
55
  this.serviceappointment = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:ServiceAppointment', 'WorkOrder_ServiceAppointment');
58
56
  this.sweepermaintenanceaudit = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:SweeperMaintenanceAudit', 'WorkOrder__SweeperMaintenanceAudit');
59
57
  this.blockagereporta55 = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:BlockageReportA55', 'WorkOrder__BlockageReportA55');
60
58
  this.uginstallationaudit = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:UgInstallationAudit', 'WorkOrder__UgInstallationAudit');
61
59
  this.ohinstallationaudit = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:OhInstallationAudit', 'WorkOrder_OhInstallationAudit');
60
+ this.workorder = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:WorkOrder', 'WorkOrder__WorkOrder');
62
61
  this.ohauditofinstallation = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:OhAuditOfInstallation', 'WorkOrder_OhAuditOfInstallation');
63
62
  this.team = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'IdentityModule:Team', 'WorkOrder_Team');
64
63
  this.yfvanaudit = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:YfVanAudit', 'WorkOrder_YfVanAudit');
65
64
  this.remediationoutcomeform = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:RemediationOutcomeForm', 'WorkOrder_RemediationOutcomeForm');
66
65
  this.netomniaftthservicevisitsheet = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:NetomniaFtthServiceVisitSheet', 'WorkOrder_NetomniaFtthServiceVisitSheet');
67
- this.servicevisitaudit = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:ServiceVisitAudit', 'WorkOrder_ServiceVisitAudit');
66
+ this.workorder_servicevisitaudit = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:ServiceVisitAudit', 'WorkOrder_ServiceVisitAudit');
67
+ this.servicevisitaudit_workorder = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:ServiceVisitAudit', 'ServiceVisitAudit_WorkOrder');
68
68
  this.yffieldservicevisit = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:YfFieldServiceVisit', 'WorkOrder_YfFieldServiceVisit');
69
69
  this.uginprogressaudit = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:UgInProgressAudit', 'WorkOrder_UgInProgressAudit');
70
70
  this.ohinprogressaudit = new api_record_link_manager_1.ApiRecordLinkManager('FieldServiceModule:WorkOrder', 'FieldServiceModule:OhInProgressAudit', 'WorkOrder_OhInProgressAudit');
@@ -19,65 +19,6 @@ export declare enum CaseEntityTypes {
19
19
  DEFAULT = "DEFAULT",
20
20
  OUTAGE = "OUTAGE"
21
21
  }
22
- export declare enum CaseReasonForReview {
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"
80
- }
81
22
  export declare enum CaseDeprecated {
82
23
  NO_ACTIVITY = "NO_ACTIVITY",
83
24
  ON_HOLD = "ON_HOLD",
@@ -117,6 +58,16 @@ export declare enum CaseBusinessArea {
117
58
  SERVICE_DELIVERY = "SERVICE_DELIVERY",
118
59
  SUPPORT = "SUPPORT"
119
60
  }
61
+ export declare enum CaseChannel {
62
+ CALL = "CALL",
63
+ EMAIL = "EMAIL",
64
+ FACEBOOK_MESSENGER = "FACEBOOK_MESSENGER",
65
+ FACEBOOK_PAGE_POST = "FACEBOOK_PAGE_POST",
66
+ SMS = "SMS",
67
+ TRUSTPILOT_REVIEW = "TRUSTPILOT_SERVICE_REVIEW",
68
+ WEB_CHAT = "WEB_CHAT",
69
+ WHATSAPP = "WHATSAPP"
70
+ }
120
71
  export declare enum CaseDpaCustomerType {
121
72
  ACCOUNT_HOLDER = "ACCOUNT_HOLDER",
122
73
  NEW_CUSTOMER = "NEW_CUSTOMER",
@@ -164,11 +115,80 @@ export declare enum CaseConversationStatus {
164
115
  CREATED = "CREATED",
165
116
  INACTIVE = "INACTIVE"
166
117
  }
118
+ export declare enum CaseReasonForReview {
119
+ I_DO_NOT_HAVE_THE_PERMISSIONS = "I_DO_NOT_HAVE_THE_PERMISSIONS",
120
+ I_DO_NOT_KNOW_HOW_TO_ACTION_THIS = "I_DO_NOT_KNOW_HOW_TO_ACTION",
121
+ I_NEED_SUPPORT_FROM_BILLING = "I_NEED_SUPPORT_FROM_BILLING",
122
+ I_NEED_SUPPORT_FROM_CUSTOMER_SERVICE = "I_NEED_SUPPORT_FROM_CUSTOMER_SERVICE",
123
+ I_NEED_SUPPORT_FROM_NETWORK_OPERATIONS_TIER_3 = "I_NEED_SUPPORT_FROM_NETWORK_OPERATIONS",
124
+ I_NEED_SUPPORT_FROM_OPERATIONS = "I_NEED_SUPPORT_FROM_OPERATIONS",
125
+ I_NEED_SUPPORT_FROM_SALES = "I_NEED_SUPPORT_FROM_SALES"
126
+ }
127
+ export declare enum CaseSubCategory {
128
+ AMEND_BILLING_DATE = "AMEND_BILLING_DATE",
129
+ AMEND_MY_ORDER = "AMEND_MY_ORDER",
130
+ AREA_AVAILABILITY_QUERY = "AREA_AVAILABILITY_QUERY",
131
+ BAD_CSAT = "BAD_CSAT",
132
+ CANCEL_APPOINTMENT = "CANCEL_APPOINTMENT",
133
+ CHANGE_CONTACT_DETAILS = "CHANGE_CONTACT_DETAILS",
134
+ CHURN_REQUEST = "CHURN_REQUEST",
135
+ CLAIM_MISSELLING = "CLAIM_MISSELLING",
136
+ COGENT_ABUSE_NOTIFICATIONS = "COGENT_ABUSE_NOTIFICATIONS",
137
+ COMPENSATION_REQUEST = "COMPENSATION_REQUEST",
138
+ COMPLAINT = "COMPLAINT",
139
+ CONTRACT_BUYOUT = "CONTRACT_BUYOUT",
140
+ CUSTOMER_DEVICE_ISSUE = "CUSTOMER_DEVICE_ISSUE",
141
+ DATA_SUBJECT_ACCESS_REQUEST = "DATA_SUBJECT_ACCESS_REQUEST",
142
+ DIRECT_DEBIT = "DIRECT_DEBIT",
143
+ DUPLICATE_REVIEW = "DUPLICATE_REVIEW",
144
+ EQUIPMENT_RETURN_REFUND = "EQUIPMENT_RETURN_REFUND",
145
+ ESCALATED_COMPLAINT = "ESCALATED_COMPLAINT",
146
+ ETF_CUSTOMER_LEAVING_YF = "ETF_CUSTOMER_LEAVING",
147
+ GDPR_DATA_BREACH = "GDPR_DATA_BREACH",
148
+ INSTALL_APPOINTMENT = "INSTALL_APPOINTMENT",
149
+ INSTALL_REMEDIATION_QUERY = "INSTALL_REMEDIATION_QUERY",
150
+ INTERMITTENT_CONNECTIVITY = "INTERMITTENT_CONNECTIVITY",
151
+ INVOICE_DISPUTE = "INVOICE_DISPUTE",
152
+ MAGRATHEA_PROCESS = "MAGRATHEA_PROCESS",
153
+ MISSED_APPOINTMENT = "MISSED_APPOINTMENT",
154
+ NEGATIVE_REVIEWS = "NEGATIVE_REVIEWS",
155
+ NEW_ORDER = "NEW_ORDER",
156
+ NEW_TICKET = "NEW_TICKET",
157
+ OFFER_QUERY_SUPPORT = "OFFER_QUERY_AND_SUPPORT",
158
+ OMBUDSMAN_CASE = "OMBUDSMAN_CASE",
159
+ ONT_RELOCATION = "ONT_RELOCATION",
160
+ OVERDUE_INVOICE = "OVERDUE_INVOICE",
161
+ PAYMENT_LINK = "PAYMENT_LINK",
162
+ PAYMENT_PLAN = "PAYMENT_PLAN",
163
+ PHONE_ISSUES = "PHONE_ISSUES",
164
+ PHONE_PORTING = "PHONE_PORTING",
165
+ PIC_REQUEST = "PIC_REQUEST",
166
+ POSITIVE_REVIEWS = "POSITIVE_REVIEWS",
167
+ PRE_LIVE_ORDER_QUERY = "PRE_LIVE_ORDER_QUERY",
168
+ PRICE_MATCH = "PRICE_MATCH",
169
+ RECONTRACT_UPGRADE = "RECONTRACT_UPGRADE",
170
+ REFERRAL = "REFERRAL",
171
+ SERVICE_VISIT = "SERVICE_VISIT",
172
+ SPAM = "SPAM",
173
+ SPEED_HARD_WIRED = "SPEED_HARD_WIRED",
174
+ SPEED_WI_FI = "SPEED_WIFI",
175
+ TLOS_OUTAGE = "TLOS_OUTAGE",
176
+ TRANSFER_OF_OWNERSHIP = "TRANSFER_OF_OWNERSHIP",
177
+ WEBSITE_APP_ISSUE = "WEBSITE_APP_ISSUE",
178
+ WI_FI_COVERAGE = "WIFI_COVERAGE"
179
+ }
180
+ export declare enum CaseSource {
181
+ AIRCALL = "AIRCALL",
182
+ EMAIL = "EMAIL",
183
+ FACEBOOK = "FACEBOOK",
184
+ TRUSTPILOT = "TRUSTPILOT",
185
+ TWILIO = "TWILIO",
186
+ TWITTER = "TWITTER",
187
+ USERESPONSE = "USERESPONSE"
188
+ }
167
189
  export declare enum CasePropertyKeys {
168
- ReasonForReview = "ReasonForReview",
169
190
  MoveToOpenOn = "MoveToOpenOn",
170
191
  Description = "Description",
171
- SubCategory = "SubCategory",
172
192
  Files = "Files",
173
193
  Deprecated = "Deprecated",
174
194
  Solution = "Solution",
@@ -190,11 +210,8 @@ export declare enum CasePropertyKeys {
190
210
  RQueueId = "R_QueueId",
191
211
  RQueueTitle = "R_QueueTitle",
192
212
  RWorkOrderId = "R_WorkOrderId",
193
- TeamId = "TeamId",
194
- OwnerId = "OwnerId",
195
- Channel = "Channel",
196
213
  SlaEndDate = "SlaEndDate",
197
- Source = "Source",
214
+ Channel = "Channel",
198
215
  DpaCustomerName = "DpaCustomerName",
199
216
  DpaCustomerAddress = "DpaCustomerAddress",
200
217
  SlaScore = "SlaScore",
@@ -206,8 +223,8 @@ export declare enum CasePropertyKeys {
206
223
  DpaCustomerCategory = "DpaCustomerCategory",
207
224
  Queue = "Queue",
208
225
  BlockedReason = "BlockedReason",
209
- Category = "Category",
210
226
  Priority = "Priority",
227
+ Category = "Category",
211
228
  AdditionalNotes = "AdditionalNotes",
212
229
  ContactId = "ContactId",
213
230
  DpaCustomerEmail = "DpaCustomerEmail",
@@ -216,13 +233,17 @@ export declare enum CasePropertyKeys {
216
233
  CsatComment = "CsatComment",
217
234
  CsatScore = "CsatScore",
218
235
  Impact = "Impact",
219
- ConversationStatus = "ConversationStatus"
236
+ ConversationStatus = "ConversationStatus",
237
+ ReasonForReview = "ReasonForReview",
238
+ DpaChecksPassed = "DpaChecksPassed",
239
+ OwnerId = "OwnerId",
240
+ SubCategory = "SubCategory",
241
+ TeamId = "TeamId",
242
+ Source = "Source"
220
243
  }
221
244
  export interface CaseProperties {
222
- ReasonForReview?: CaseReasonForReview;
223
245
  MoveToOpenOn?: Date;
224
246
  Description?: string;
225
- SubCategory?: CaseSubCategory;
226
247
  Files?: string;
227
248
  Deprecated?: CaseDeprecated;
228
249
  Solution?: string;
@@ -244,11 +265,8 @@ export interface CaseProperties {
244
265
  RQueueId?: string;
245
266
  RQueueTitle?: string;
246
267
  RWorkOrderId?: string;
247
- TeamId?: string;
248
- OwnerId?: string;
249
- Channel?: string;
250
268
  SlaEndDate?: Date;
251
- Source?: string;
269
+ Channel?: CaseChannel;
252
270
  DpaCustomerName?: string;
253
271
  DpaCustomerAddress?: string;
254
272
  SlaScore?: number;
@@ -260,8 +278,8 @@ export interface CaseProperties {
260
278
  DpaCustomerCategory?: CaseDpaCustomerCategory;
261
279
  Queue?: string;
262
280
  BlockedReason?: CaseBlockedReason;
263
- Category?: CaseCategory;
264
281
  Priority?: number;
282
+ Category?: CaseCategory;
265
283
  AdditionalNotes?: string;
266
284
  ContactId?: string;
267
285
  DpaCustomerEmail?: string;
@@ -271,6 +289,12 @@ export interface CaseProperties {
271
289
  CsatScore?: number;
272
290
  Impact?: CaseImpact;
273
291
  ConversationStatus?: CaseConversationStatus;
292
+ ReasonForReview?: CaseReasonForReview;
293
+ DpaChecksPassed?: boolean;
294
+ OwnerId?: string;
295
+ SubCategory?: CaseSubCategory;
296
+ TeamId?: string;
297
+ Source?: CaseSource;
274
298
  }
275
299
  export interface Case {
276
300
  id: string;