@jusbid/common-auth 1.0.15 → 1.0.16

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jusbid/common-auth",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "main": "index.js",
5
5
  "private": false,
6
6
  "dependencies": {
@@ -11,7 +11,8 @@ export const notificationType = {
11
11
  CHECK_IN_REMINDER: "check-in-reminder",
12
12
  ANNOUNCEMENT: "announcement",
13
13
  MISSED_BID_REMINDER: "bid-reminder",
14
- BID_RAISE_REQUESTED: "bid-raise-requested"
14
+ BID_RAISE_REQUESTED: "bid-raise-requested",
15
+ BID_HOLD: "bid-hold"
15
16
  },
16
17
  HOTELIER: {
17
18
  NEW_BOOKING: "new-booking",
@@ -25,7 +26,7 @@ export const notificationType = {
25
26
  BID_RAISE_REQUEST_REJECTED: "bid-raise-request-rejected",
26
27
  BID_CONFIRM_REQUEST: "bid-confirm-request",
27
28
  BID_COUNTER: "bid-counter",
28
- BID_REJECTED: "bid-hotelier-rejected"
29
+ BID_REJECTED: "bid-hotelier-rejected",
29
30
  },
30
31
  STAFF: {
31
32
  PROPERTY_ADDED: "property-added",
@@ -195,6 +195,52 @@ const permissions = {
195
195
  LANDING_PAGE_UPDATE: { action: "landing-page.landing-page.update", module: "landing-page" },
196
196
  LANDING_PAGE_DELETE: { action: "landing-page.landing-page.delete", module: "landing-page" },
197
197
 
198
+
199
+
200
+ ROOM_UNIT_ADD: { action: "hotelier-inventory.room-unit.add", module: "hotelier-inventory" },
201
+ ROOM_UNIT_UPDATE: { action: "hotelier-inventory.room-unit.add", module: "hotelier-inventory" },
202
+ ROOM_UNIT_DELETE: { action: "hotelier-inventory.room-unit.delete", module: "hotelier-inventory" },
203
+ ROOM_UNIT_BULK: { action: "hotelier-inventory.room-unit.bulk", module: "hotelier-inventory" },
204
+ ROOM_UNIT_CALENDER: { action: "hotelier-inventory.room-unit.calender", module: "hotelier-inventory" },
205
+ ROOM_UNIT_VIEW: { action: "hotelier-inventory.room-unit.view", module: "hotelier-inventory" },
206
+ ROOM_UNIT_CLEANING: { action: "hotelier-inventory.room-unit.cleaning", module: "hotelier-inventory" },
207
+
208
+ ROOM_INVENTORY_VIEW: { action: "hotelier-inventory.inventory.view", module: "hotelier-inventory" },
209
+ ROOM_INVENTORY_UPDATE: { action: "hotelier-inventory.inventory.update", module: "hotelier-inventory" },
210
+
211
+ ROOM_RESERVATION_ADD: { action: "hotelier-inventory.reservation.add", module: "hotelier-inventory" },
212
+ ROOM_RESERVATION_UPDATE: { action: "hotelier-inventory.reservation.update", module: "hotelier-inventory" },
213
+ ROOM_RESERVATION_VIEW: { action: "hotelier-inventory.reservation.view", module: "hotelier-inventory" },
214
+
215
+ ROOM_RESERVATION_EVENT_BLOCK_ADD: { action: "hotelier-inventory.reservation.event-block.add", module: "hotelier-inventory" },
216
+ ROOM_RESERVATION_EVENT_BLOCK_UPDATE: { action: "hotelier-inventory.reservation.event-block.update", module: "hotelier-inventory" },
217
+ ROOM_RESERVATION_EVENT_BLOCK_VIEW: { action: "hotelier-inventory.reservation.event-block.view", module: "hotelier-inventory" },
218
+ ROOM_RESERVATION_EVENT_BLOCK_DELETE: { action: "hotelier-inventory.reservation.event-block.delete", module: "hotelier-inventory" },
219
+
220
+ ROOM_RESERVATION_STOP_SELL_ADD: { action: "hotelier-inventory.reservation.stop-sell.add", module: "hotelier-inventory" },
221
+ ROOM_RESERVATION_STOP_SELL_UPDATE: { action: "hotelier-inventory.reservation.stop-sell.update", module: "hotelier-inventory" },
222
+ ROOM_RESERVATION_STOP_SELL_DELETE: { action: "hotelier-inventory.reservation.stop-sell.delete", module: "hotelier-inventory" },
223
+ ROOM_RESERVATION_STOP_SELL_VIEW: { action: "hotelier-inventory.reservation.stop-sell.view", module: "hotelier-inventory" },
224
+
225
+ CLEANING_MASTER_ADD: { action: "hotelier-inventory.cleaning-master.add", module: "hotelier-inventory" },
226
+ CLEANING_MASTER_UPDATE: { action: "hotelier-inventory.cleaning-master.update", module: "hotelier-inventory" },
227
+ CLEANING_MASTER_DELETE: { action: "hotelier-inventory.cleaning-master.delete", module: "hotelier-inventory" },
228
+ CLEANING_MASTER_VIEW: { action: "hotelier-inventory.cleaning-master.view", module: "hotelier-inventory" },
229
+
230
+ BOOKING_ADD: { action: "hotelier-inventory.booking.add", module: "hotelier-inventory" },
231
+ BOOKING_VIEW: { action: "hotelier-inventory.booking.view", module: "hotelier-inventory" },
232
+ BOOKING_CHECK_IN: { action: "hotelier-inventory.booking.check_in", module: "hotelier-inventory" },
233
+ BOOKING_CHECK_OUT: { action: "hotelier-inventory.booking.check_out", module: "hotelier-inventory" },
234
+ BOOKING_CANCEL: { action: "hotelier-inventory.booking.cancel", module: "hotelier-inventory" },
235
+ BOOKING_REALLOCATE: { action: "hotelier-inventory.booking.reallocate", module: "hotelier-inventory" },
236
+
237
+ TASK_VIEW: { action: "hotelier-inventory.task.view", module: "hotelier-inventory" },
238
+ TASK_ADD: { action: "hotelier-inventory.task.add", module: "hotelier-inventory" },
239
+
240
+
241
+ PRICING_VIEW: { action: "pricing.view", module: "pricing" },
242
+ PRICING_UPDATE: { action: "pricing.update", module: "pricing" },
243
+ PRICING_BULK: { action: "pricing.bulk", module: "pricing" }
198
244
  }
199
245
 
200
246
  module.exports = { permissions }