awf-test-lib 0.0.45 → 0.0.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -822,6 +822,12 @@ var EventStatus;
822
822
  EventStatus["INCOMPLETE"] = "Incomplete";
823
823
  })(EventStatus || (EventStatus = {}));
824
824
 
825
+ var StingBoolean;
826
+ (function (StingBoolean) {
827
+ StingBoolean["YES"] = "Yes";
828
+ StingBoolean["NO"] = "No";
829
+ })(StingBoolean || (StingBoolean = {}));
830
+
825
831
  class ShowLinksComponent {
826
832
  constructor() {
827
833
  this.closeShowLinks = new EventEmitter();
@@ -1034,14 +1040,14 @@ class MaintenanceListComponent {
1034
1040
  }
1035
1041
  else if (this.reasonContact === ReasonContact.CancelFormPm) {
1036
1042
  this.maintenanceSelected.pmJob.customObject = {};
1037
- this.maintenanceSelected.pmJob.customObject.customerWaiting = 'Yes';
1043
+ this.maintenanceSelected.pmJob.customObject.customerWaiting = StingBoolean.YES;
1038
1044
  this.maintenanceSelected.futureStatus = PmJobStatus.WAITING;
1039
1045
  this.emailTypes.push(EmailType.CancelPM_CSC);
1040
1046
  this.emailTypes.push(EmailType.CancelPM_Clients);
1041
1047
  }
1042
1048
  else {
1043
1049
  this.maintenanceSelected.pmJob.customObject = {};
1044
- this.maintenanceSelected.pmJob.customObject.customerWaiting = 'Yes';
1050
+ this.maintenanceSelected.pmJob.customObject.customerWaiting = StingBoolean.YES;
1045
1051
  this.maintenanceSelected.futureStatus = PmJobStatus.WAITING;
1046
1052
  this.emailTypes.push(EmailType.SendNewDates_CSC);
1047
1053
  this.emailTypes.push(EmailType.SendNewDates_Clients);
@@ -1062,7 +1068,7 @@ class MaintenanceListComponent {
1062
1068
  item.reason = this.maintenanceSelected.reason;
1063
1069
  item.reasonContact = this.maintenanceSelected.reasonContact;
1064
1070
  item.pmJob.customObject = {};
1065
- item.pmJob.customObject.customerWaiting = 'Yes';
1071
+ item.pmJob.customObject.customerWaiting = StingBoolean.YES;
1066
1072
  item.futureStatus = PmJobStatus.WAITING;
1067
1073
  }
1068
1074
  this.pmJobList.push(item);
@@ -1149,10 +1155,10 @@ class MaintenanceListComponent {
1149
1155
  }
1150
1156
  }
1151
1157
  updateProposedDate() {
1152
- this.maintenanceSelected.pmJob.customerAccepted = 'Yes';
1158
+ this.maintenanceSelected.pmJob.customerAccepted = StingBoolean.YES;
1153
1159
  this.maintenanceSelected.pmJob.eventStatus = EventStatus.ASSIGNEDANC;
1154
1160
  this.detailedPmJobLinkedList.forEach((item) => {
1155
- item.pmJob.customerAccepted = 'Yes';
1161
+ item.pmJob.customerAccepted = StingBoolean.YES;
1156
1162
  item.pmJob.eventStatus = EventStatus.ASSIGNEDANC;
1157
1163
  item.futureStatus = PmJobStatus.ACCEPTED;
1158
1164
  item.WorkorderNumberSelected = this.maintenanceSelected.pmJob.workorderId;
@@ -1510,5 +1516,5 @@ class Warranty {
1510
1516
  * Generated bundle index. Do not edit.
1511
1517
  */
1512
1518
 
1513
- export { Account, AlternativeDate, ApplicationName, CancelPMMailRequest, ContactComponent, CoreModule, CustomObject, DashboardComponent, DetailedPmJob, EmailStatus, EmailType, EventStatus, Field, Language, MailRequest, MaintenanceListComponent, MenuComponent, NotFoundComponent, PMGroupedJob, PipesModule, PmJob, PmJobRequest, PmJobStatus, ReasonContact, ReportDateMailRequest, Role, Service, ServiceName, SharedModule, SocialLoginRequest, SocialMadia, SubrtringWPipe, SubstringPipe, System, SystemListComponent, TokenStatus, TopBarComponent, Warranty };
1519
+ export { Account, AlternativeDate, ApplicationName, CancelPMMailRequest, ContactComponent, CoreModule, CustomObject, DashboardComponent, DetailedPmJob, EmailStatus, EmailType, EventStatus, Field, Language, MailRequest, MaintenanceListComponent, MenuComponent, NotFoundComponent, PMGroupedJob, PipesModule, PmJob, PmJobRequest, PmJobStatus, ReasonContact, ReportDateMailRequest, Role, Service, ServiceName, SharedModule, SocialLoginRequest, SocialMadia, StingBoolean, SubrtringWPipe, SubstringPipe, System, SystemListComponent, TokenStatus, TopBarComponent, Warranty };
1514
1520
  //# sourceMappingURL=awf-test-lib.mjs.map