awf-test-lib 0.0.46 → 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.
@@ -821,6 +821,12 @@ var EventStatus;
821
821
  EventStatus["INCOMPLETE"] = "Incomplete";
822
822
  })(EventStatus || (EventStatus = {}));
823
823
 
824
+ var StingBoolean;
825
+ (function (StingBoolean) {
826
+ StingBoolean["YES"] = "Yes";
827
+ StingBoolean["NO"] = "No";
828
+ })(StingBoolean || (StingBoolean = {}));
829
+
824
830
  class ShowLinksComponent {
825
831
  constructor() {
826
832
  this.closeShowLinks = new EventEmitter();
@@ -1030,14 +1036,14 @@ class MaintenanceListComponent {
1030
1036
  }
1031
1037
  else if (this.reasonContact === ReasonContact.CancelFormPm) {
1032
1038
  this.maintenanceSelected.pmJob.customObject = {};
1033
- this.maintenanceSelected.pmJob.customObject.customerWaiting = 'Yes';
1039
+ this.maintenanceSelected.pmJob.customObject.customerWaiting = StingBoolean.YES;
1034
1040
  this.maintenanceSelected.futureStatus = PmJobStatus.WAITING;
1035
1041
  this.emailTypes.push(EmailType.CancelPM_CSC);
1036
1042
  this.emailTypes.push(EmailType.CancelPM_Clients);
1037
1043
  }
1038
1044
  else {
1039
1045
  this.maintenanceSelected.pmJob.customObject = {};
1040
- this.maintenanceSelected.pmJob.customObject.customerWaiting = 'Yes';
1046
+ this.maintenanceSelected.pmJob.customObject.customerWaiting = StingBoolean.YES;
1041
1047
  this.maintenanceSelected.futureStatus = PmJobStatus.WAITING;
1042
1048
  this.emailTypes.push(EmailType.SendNewDates_CSC);
1043
1049
  this.emailTypes.push(EmailType.SendNewDates_Clients);
@@ -1058,7 +1064,7 @@ class MaintenanceListComponent {
1058
1064
  item.reason = this.maintenanceSelected.reason;
1059
1065
  item.reasonContact = this.maintenanceSelected.reasonContact;
1060
1066
  item.pmJob.customObject = {};
1061
- item.pmJob.customObject.customerWaiting = 'Yes';
1067
+ item.pmJob.customObject.customerWaiting = StingBoolean.YES;
1062
1068
  item.futureStatus = PmJobStatus.WAITING;
1063
1069
  }
1064
1070
  this.pmJobList.push(item);
@@ -1145,10 +1151,10 @@ class MaintenanceListComponent {
1145
1151
  }
1146
1152
  }
1147
1153
  updateProposedDate() {
1148
- this.maintenanceSelected.pmJob.customerAccepted = 'Yes';
1154
+ this.maintenanceSelected.pmJob.customerAccepted = StingBoolean.YES;
1149
1155
  this.maintenanceSelected.pmJob.eventStatus = EventStatus.ASSIGNEDANC;
1150
1156
  this.detailedPmJobLinkedList.forEach((item) => {
1151
- item.pmJob.customerAccepted = 'Yes';
1157
+ item.pmJob.customerAccepted = StingBoolean.YES;
1152
1158
  item.pmJob.eventStatus = EventStatus.ASSIGNEDANC;
1153
1159
  item.futureStatus = PmJobStatus.ACCEPTED;
1154
1160
  item.WorkorderNumberSelected = this.maintenanceSelected.pmJob.workorderId;
@@ -1506,5 +1512,5 @@ class Warranty {
1506
1512
  * Generated bundle index. Do not edit.
1507
1513
  */
1508
1514
 
1509
- 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 };
1515
+ 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 };
1510
1516
  //# sourceMappingURL=awf-test-lib.mjs.map