@telos-dev-team/dealernode-permissions 1.1.14 → 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: {
@@ -618,6 +630,24 @@ export declare const PERMISSIONS: {
618
630
  readonly UPDATE: "calendar.operations.update";
619
631
  };
620
632
  };
633
+ readonly NOTIFICATION: {
634
+ readonly ROUTING: {
635
+ readonly VIEW: "notification.routing.view";
636
+ readonly MANAGE: "notification.routing.manage";
637
+ };
638
+ readonly CONFIG: {
639
+ readonly VIEW: "notification.config.view";
640
+ readonly MANAGE: "notification.config.manage";
641
+ };
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
+ };
621
651
  readonly GPS_PROVIDER: {
622
652
  readonly CONFIG: {
623
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
@@ -688,8 +700,32 @@ exports.PERMISSIONS = {
688
700
  },
689
701
  },
690
702
  // ============================================
703
+ // NOTIFICATION
704
+ // ============================================
705
+ NOTIFICATION: {
706
+ ROUTING: {
707
+ VIEW: "notification.routing.view",
708
+ MANAGE: "notification.routing.manage",
709
+ },
710
+ CONFIG: {
711
+ VIEW: "notification.config.view",
712
+ MANAGE: "notification.config.manage",
713
+ },
714
+ },
715
+ // ============================================
691
716
  // GPS PROVIDER
692
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
+ },
693
729
  GPS_PROVIDER: {
694
730
  CONFIG: {
695
731
  OPERATIONS: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telos-dev-team/dealernode-permissions",
3
- "version": "1.1.14",
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
  // ============================================
@@ -707,9 +719,35 @@ export const PERMISSIONS = {
707
719
  },
708
720
  },
709
721
 
722
+ // ============================================
723
+ // NOTIFICATION
724
+ // ============================================
725
+ NOTIFICATION: {
726
+ ROUTING: {
727
+ VIEW: "notification.routing.view",
728
+ MANAGE: "notification.routing.manage",
729
+ },
730
+ CONFIG: {
731
+ VIEW: "notification.config.view",
732
+ MANAGE: "notification.config.manage",
733
+ },
734
+ },
735
+
710
736
  // ============================================
711
737
  // GPS PROVIDER
712
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
+
713
751
  GPS_PROVIDER: {
714
752
  CONFIG: {
715
753
  OPERATIONS: {