@telos-dev-team/dealernode-permissions 1.0.4 → 1.0.5

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.
@@ -151,6 +151,11 @@ export declare const PERMISSIONS: {
151
151
  };
152
152
  };
153
153
  readonly DEAL: {
154
+ readonly VIEW: {
155
+ readonly TRADE: "deal.view.trade";
156
+ readonly EXTRAS: "deal.view.extras";
157
+ readonly GPS: "deal.view.gps";
158
+ };
154
159
  readonly OPERATIONS: {
155
160
  readonly VIEW: "deal.operations.view";
156
161
  readonly VIEW_MY_DEALS: "deal.operations.view_my_deals";
@@ -428,6 +433,9 @@ export declare const PERMISSIONS: {
428
433
  readonly VIEW: "car.operations.view";
429
434
  };
430
435
  readonly INVENTORY: {
436
+ readonly VIEW: {
437
+ readonly EXTRA: "car.inventory.view.extra";
438
+ };
431
439
  readonly OPERATIONS: {
432
440
  readonly VIEW: "car.inventory.operations.view";
433
441
  readonly VIEW_OPERATIONS: "car.inventory.operations.view_operations";
@@ -489,6 +497,9 @@ export declare const PERMISSIONS: {
489
497
  };
490
498
  };
491
499
  readonly TRANSIT: {
500
+ readonly VIEW: {
501
+ readonly EXTRA: "car.transit.view.extra";
502
+ };
492
503
  readonly OPERATIONS: {
493
504
  readonly CREATE: "car.transit.operations.create";
494
505
  readonly UPDATE: "car.transit.operations.update";
@@ -184,6 +184,11 @@ exports.PERMISSIONS = {
184
184
  // DEAL
185
185
  // ============================================
186
186
  DEAL: {
187
+ VIEW: {
188
+ TRADE: 'deal.view.trade',
189
+ EXTRAS: 'deal.view.extras',
190
+ GPS: 'deal.view.gps',
191
+ },
187
192
  OPERATIONS: {
188
193
  VIEW: 'deal.operations.view',
189
194
  VIEW_MY_DEALS: 'deal.operations.view_my_deals',
@@ -470,6 +475,9 @@ exports.PERMISSIONS = {
470
475
  VIEW: 'car.operations.view',
471
476
  },
472
477
  INVENTORY: {
478
+ VIEW: {
479
+ EXTRA: 'car.inventory.view.extra',
480
+ },
473
481
  OPERATIONS: {
474
482
  VIEW: 'car.inventory.operations.view',
475
483
  VIEW_OPERATIONS: 'car.inventory.operations.view_operations',
@@ -531,6 +539,9 @@ exports.PERMISSIONS = {
531
539
  },
532
540
  },
533
541
  TRANSIT: {
542
+ VIEW: {
543
+ EXTRA: 'car.transit.view.extra',
544
+ },
534
545
  OPERATIONS: {
535
546
  CREATE: 'car.transit.operations.create',
536
547
  UPDATE: 'car.transit.operations.update',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telos-dev-team/dealernode-permissions",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Shared permissions constants for dealernode projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -190,6 +190,11 @@ export const PERMISSIONS = {
190
190
  // DEAL
191
191
  // ============================================
192
192
  DEAL: {
193
+ VIEW: {
194
+ TRADE: 'deal.view.trade',
195
+ EXTRAS: 'deal.view.extras',
196
+ GPS: 'deal.view.gps',
197
+ },
193
198
  OPERATIONS: {
194
199
  VIEW: 'deal.operations.view',
195
200
  VIEW_MY_DEALS: 'deal.operations.view_my_deals',
@@ -479,6 +484,9 @@ export const PERMISSIONS = {
479
484
  VIEW: 'car.operations.view',
480
485
  },
481
486
  INVENTORY: {
487
+ VIEW: {
488
+ EXTRA: 'car.inventory.view.extra',
489
+ },
482
490
  OPERATIONS: {
483
491
  VIEW: 'car.inventory.operations.view',
484
492
  VIEW_OPERATIONS: 'car.inventory.operations.view_operations',
@@ -540,6 +548,9 @@ export const PERMISSIONS = {
540
548
  },
541
549
  },
542
550
  TRANSIT: {
551
+ VIEW: {
552
+ EXTRA: 'car.transit.view.extra',
553
+ },
543
554
  OPERATIONS: {
544
555
  CREATE: 'car.transit.operations.create',
545
556
  UPDATE: 'car.transit.operations.update',