awf-test-lib 0.0.46 → 0.0.51

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