@telos-dev-team/dealernode-permissions 1.1.15 → 1.1.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.
@@ -242,6 +242,12 @@ export declare const PERMISSIONS: {
242
242
  readonly MANAGE: "deal.payment.operations.manage";
243
243
  };
244
244
  };
245
+ readonly COMMENT: {
246
+ readonly VIEW: "deal.comment.view";
247
+ readonly CREATE: "deal.comment.create";
248
+ readonly UPDATE: "deal.comment.update";
249
+ readonly DELETE: "deal.comment.delete";
250
+ };
245
251
  };
246
252
  readonly FAIL_DEAL: {
247
253
  readonly UNWIND: {
@@ -490,6 +496,12 @@ export declare const PERMISSIONS: {
490
496
  readonly MANAGE: "car.resources.extra.manage";
491
497
  };
492
498
  };
499
+ readonly COMMENT: {
500
+ readonly VIEW: "car.comment.view";
501
+ readonly CREATE: "car.comment.create";
502
+ readonly UPDATE: "car.comment.update";
503
+ readonly DELETE: "car.comment.delete";
504
+ };
493
505
  };
494
506
  readonly INVITATION: {
495
507
  readonly OPERATIONS: {
@@ -628,6 +640,14 @@ export declare const PERMISSIONS: {
628
640
  readonly MANAGE: "notification.config.manage";
629
641
  };
630
642
  };
643
+ readonly OTHER: {
644
+ readonly COMMENT: {
645
+ readonly VIEW: "other.comment.view";
646
+ readonly CREATE: "other.comment.create";
647
+ readonly UPDATE: "other.comment.update";
648
+ readonly DELETE: "other.comment.delete";
649
+ };
650
+ };
631
651
  readonly GPS_PROVIDER: {
632
652
  readonly CONFIG: {
633
653
  readonly OPERATIONS: {
@@ -275,6 +275,12 @@ exports.PERMISSIONS = {
275
275
  MANAGE: "deal.payment.operations.manage",
276
276
  },
277
277
  },
278
+ COMMENT: {
279
+ VIEW: "deal.comment.view",
280
+ CREATE: "deal.comment.create",
281
+ UPDATE: "deal.comment.update",
282
+ DELETE: "deal.comment.delete",
283
+ },
278
284
  },
279
285
  // ============================================
280
286
  // FAIL DEAL
@@ -532,6 +538,12 @@ exports.PERMISSIONS = {
532
538
  MANAGE: "car.resources.extra.manage",
533
539
  },
534
540
  },
541
+ COMMENT: {
542
+ VIEW: "car.comment.view",
543
+ CREATE: "car.comment.create",
544
+ UPDATE: "car.comment.update",
545
+ DELETE: "car.comment.delete",
546
+ },
535
547
  },
536
548
  // ============================================
537
549
  // INVITATION
@@ -703,6 +715,17 @@ exports.PERMISSIONS = {
703
715
  // ============================================
704
716
  // GPS PROVIDER
705
717
  // ============================================
718
+ // ============================================
719
+ // OTHER (comments on client, wholesale, etc.)
720
+ // ============================================
721
+ OTHER: {
722
+ COMMENT: {
723
+ VIEW: "other.comment.view",
724
+ CREATE: "other.comment.create",
725
+ UPDATE: "other.comment.update",
726
+ DELETE: "other.comment.delete",
727
+ },
728
+ },
706
729
  GPS_PROVIDER: {
707
730
  CONFIG: {
708
731
  OPERATIONS: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telos-dev-team/dealernode-permissions",
3
- "version": "1.1.15",
3
+ "version": "1.1.16",
4
4
  "description": "Shared permissions constants for dealernode projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -281,6 +281,12 @@ export const PERMISSIONS = {
281
281
  MANAGE: "deal.payment.operations.manage",
282
282
  },
283
283
  },
284
+ COMMENT: {
285
+ VIEW: "deal.comment.view",
286
+ CREATE: "deal.comment.create",
287
+ UPDATE: "deal.comment.update",
288
+ DELETE: "deal.comment.delete",
289
+ },
284
290
  },
285
291
 
286
292
  // ============================================
@@ -541,6 +547,12 @@ export const PERMISSIONS = {
541
547
  MANAGE: "car.resources.extra.manage",
542
548
  },
543
549
  },
550
+ COMMENT: {
551
+ VIEW: "car.comment.view",
552
+ CREATE: "car.comment.create",
553
+ UPDATE: "car.comment.update",
554
+ DELETE: "car.comment.delete",
555
+ },
544
556
  },
545
557
 
546
558
  // ============================================
@@ -724,6 +736,18 @@ export const PERMISSIONS = {
724
736
  // ============================================
725
737
  // GPS PROVIDER
726
738
  // ============================================
739
+ // ============================================
740
+ // OTHER (comments on client, wholesale, etc.)
741
+ // ============================================
742
+ OTHER: {
743
+ COMMENT: {
744
+ VIEW: "other.comment.view",
745
+ CREATE: "other.comment.create",
746
+ UPDATE: "other.comment.update",
747
+ DELETE: "other.comment.delete",
748
+ },
749
+ },
750
+
727
751
  GPS_PROVIDER: {
728
752
  CONFIG: {
729
753
  OPERATIONS: {