gunsmith-common 2.3.0 → 2.3.1

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.
@@ -167,6 +167,7 @@ var WaitlistStatus;
167
167
  WaitlistStatus[WaitlistStatus["OnHold"] = 9] = "OnHold";
168
168
  WaitlistStatus[WaitlistStatus["Voided"] = 10] = "Voided";
169
169
  WaitlistStatus[WaitlistStatus["Pending"] = 11] = "Pending";
170
+ WaitlistStatus[WaitlistStatus["Rejected"] = 12] = "Rejected";
170
171
  })(WaitlistStatus || (WaitlistStatus = {}));
171
172
 
172
173
  var WorkOrderType;
@@ -1141,7 +1142,10 @@ class WaitlistService {
1141
1142
  deleteWaitlistItem(id) {
1142
1143
  return this.http.delete(`${this.url}/${id}`);
1143
1144
  }
1144
- doWaitlistAction(id, actionId) {
1145
+ doWaitlistAction(id, actionId, reason = null) {
1146
+ if (reason) {
1147
+ return this.http.get(`${this.url}/${id}/actions/${actionId}?reason=${reason}`);
1148
+ }
1145
1149
  return this.http.get(`${this.url}/${id}/actions/${actionId}`);
1146
1150
  }
1147
1151
  retrieveProjectPdf(id, projectId) {