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.
- package/esm2020/shared/services/waitlist.service.mjs +5 -2
- package/esm2020/shared/types/waitlist-item.mjs +1 -1
- package/esm2020/shared/types/waitlist-status.mjs +2 -1
- package/fesm2015/gunsmith-common.mjs +5 -1
- package/fesm2015/gunsmith-common.mjs.map +1 -1
- package/fesm2020/gunsmith-common.mjs +5 -1
- package/fesm2020/gunsmith-common.mjs.map +1 -1
- package/gunsmith-common-2.3.1.tgz +0 -0
- package/package.json +1 -1
- package/shared/services/waitlist.service.d.ts +1 -1
- package/shared/types/waitlist-item.d.ts +2 -0
- package/shared/types/waitlist-status.d.ts +2 -1
- package/gunsmith-common-2.3.0.tgz +0 -0
|
@@ -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) {
|