@telos-dev-team/dealernode-permissions 1.1.13 → 1.1.15
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/dist/permissions.d.ts +15 -15
- package/dist/permissions.js +18 -15
- package/package.json +1 -1
- package/src/permissions.ts +19 -15
package/dist/permissions.d.ts
CHANGED
|
@@ -507,36 +507,26 @@ export declare const PERMISSIONS: {
|
|
|
507
507
|
readonly WHOLESALE: {
|
|
508
508
|
readonly OPERATIONS: {
|
|
509
509
|
readonly VIEW: "wholesale.operations.view";
|
|
510
|
-
readonly
|
|
511
|
-
readonly
|
|
512
|
-
readonly DELETE: "wholesale.operations.delete";
|
|
513
|
-
readonly PAY: "wholesale.operations.pay";
|
|
514
|
-
readonly CANCEL: "wholesale.operations.cancel";
|
|
510
|
+
readonly MANAGE: "wholesale.operations.manage";
|
|
511
|
+
readonly PAYMENT: "wholesale.operations.payment";
|
|
515
512
|
};
|
|
516
513
|
readonly TARGET: {
|
|
517
514
|
readonly VIEW: "wholesale.target.view";
|
|
518
515
|
readonly MANAGE: "wholesale.target.manage";
|
|
519
516
|
};
|
|
520
517
|
readonly INVITATION: {
|
|
521
|
-
readonly
|
|
522
|
-
readonly REVERT_ACCEPT: "wholesale.invitation.revert_accept";
|
|
523
|
-
readonly REJECT: "wholesale.invitation.reject";
|
|
524
|
-
readonly REVERT_REJECT: "wholesale.invitation.revert_reject";
|
|
525
|
-
readonly DELETE: "wholesale.invitation.delete";
|
|
518
|
+
readonly MANAGE: "wholesale.invitation.manage";
|
|
526
519
|
};
|
|
527
520
|
readonly MANUAL: {
|
|
528
521
|
readonly OPERATIONS: {
|
|
529
522
|
readonly VIEW: "manual_wholesale.operations.view";
|
|
530
|
-
readonly
|
|
531
|
-
readonly UPDATE: "manual_wholesale.operations.update";
|
|
532
|
-
readonly DELETE: "manual_wholesale.operations.delete";
|
|
533
|
-
readonly APPROVE: "manual_wholesale.operations.approve";
|
|
523
|
+
readonly MANAGE: "manual_wholesale.operations.manage";
|
|
534
524
|
};
|
|
535
525
|
};
|
|
536
526
|
readonly AUTOMATIC: {
|
|
537
527
|
readonly OPERATIONS: {
|
|
538
528
|
readonly VIEW: "automatic_wholesale.operations.view";
|
|
539
|
-
readonly
|
|
529
|
+
readonly MANAGE: "automatic_wholesale.operations.manage";
|
|
540
530
|
};
|
|
541
531
|
};
|
|
542
532
|
};
|
|
@@ -628,6 +618,16 @@ export declare const PERMISSIONS: {
|
|
|
628
618
|
readonly UPDATE: "calendar.operations.update";
|
|
629
619
|
};
|
|
630
620
|
};
|
|
621
|
+
readonly NOTIFICATION: {
|
|
622
|
+
readonly ROUTING: {
|
|
623
|
+
readonly VIEW: "notification.routing.view";
|
|
624
|
+
readonly MANAGE: "notification.routing.manage";
|
|
625
|
+
};
|
|
626
|
+
readonly CONFIG: {
|
|
627
|
+
readonly VIEW: "notification.config.view";
|
|
628
|
+
readonly MANAGE: "notification.config.manage";
|
|
629
|
+
};
|
|
630
|
+
};
|
|
631
631
|
readonly GPS_PROVIDER: {
|
|
632
632
|
readonly CONFIG: {
|
|
633
633
|
readonly OPERATIONS: {
|
package/dist/permissions.js
CHANGED
|
@@ -558,36 +558,26 @@ exports.PERMISSIONS = {
|
|
|
558
558
|
WHOLESALE: {
|
|
559
559
|
OPERATIONS: {
|
|
560
560
|
VIEW: "wholesale.operations.view",
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
DELETE: "wholesale.operations.delete",
|
|
564
|
-
PAY: "wholesale.operations.pay",
|
|
565
|
-
CANCEL: "wholesale.operations.cancel",
|
|
561
|
+
MANAGE: "wholesale.operations.manage",
|
|
562
|
+
PAYMENT: "wholesale.operations.payment",
|
|
566
563
|
},
|
|
567
564
|
TARGET: {
|
|
568
565
|
VIEW: "wholesale.target.view",
|
|
569
566
|
MANAGE: "wholesale.target.manage",
|
|
570
567
|
},
|
|
571
568
|
INVITATION: {
|
|
572
|
-
|
|
573
|
-
REVERT_ACCEPT: "wholesale.invitation.revert_accept",
|
|
574
|
-
REJECT: "wholesale.invitation.reject",
|
|
575
|
-
REVERT_REJECT: "wholesale.invitation.revert_reject",
|
|
576
|
-
DELETE: "wholesale.invitation.delete",
|
|
569
|
+
MANAGE: "wholesale.invitation.manage",
|
|
577
570
|
},
|
|
578
571
|
MANUAL: {
|
|
579
572
|
OPERATIONS: {
|
|
580
573
|
VIEW: "manual_wholesale.operations.view",
|
|
581
|
-
|
|
582
|
-
UPDATE: "manual_wholesale.operations.update",
|
|
583
|
-
DELETE: "manual_wholesale.operations.delete",
|
|
584
|
-
APPROVE: "manual_wholesale.operations.approve",
|
|
574
|
+
MANAGE: "manual_wholesale.operations.manage",
|
|
585
575
|
},
|
|
586
576
|
},
|
|
587
577
|
AUTOMATIC: {
|
|
588
578
|
OPERATIONS: {
|
|
589
579
|
VIEW: "automatic_wholesale.operations.view",
|
|
590
|
-
|
|
580
|
+
MANAGE: "automatic_wholesale.operations.manage",
|
|
591
581
|
},
|
|
592
582
|
},
|
|
593
583
|
},
|
|
@@ -698,6 +688,19 @@ exports.PERMISSIONS = {
|
|
|
698
688
|
},
|
|
699
689
|
},
|
|
700
690
|
// ============================================
|
|
691
|
+
// NOTIFICATION
|
|
692
|
+
// ============================================
|
|
693
|
+
NOTIFICATION: {
|
|
694
|
+
ROUTING: {
|
|
695
|
+
VIEW: "notification.routing.view",
|
|
696
|
+
MANAGE: "notification.routing.manage",
|
|
697
|
+
},
|
|
698
|
+
CONFIG: {
|
|
699
|
+
VIEW: "notification.config.view",
|
|
700
|
+
MANAGE: "notification.config.manage",
|
|
701
|
+
},
|
|
702
|
+
},
|
|
703
|
+
// ============================================
|
|
701
704
|
// GPS PROVIDER
|
|
702
705
|
// ============================================
|
|
703
706
|
GPS_PROVIDER: {
|
package/package.json
CHANGED
package/src/permissions.ts
CHANGED
|
@@ -570,36 +570,26 @@ export const PERMISSIONS = {
|
|
|
570
570
|
WHOLESALE: {
|
|
571
571
|
OPERATIONS: {
|
|
572
572
|
VIEW: "wholesale.operations.view",
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
DELETE: "wholesale.operations.delete",
|
|
576
|
-
PAY: "wholesale.operations.pay",
|
|
577
|
-
CANCEL: "wholesale.operations.cancel",
|
|
573
|
+
MANAGE: "wholesale.operations.manage",
|
|
574
|
+
PAYMENT: "wholesale.operations.payment",
|
|
578
575
|
},
|
|
579
576
|
TARGET: {
|
|
580
577
|
VIEW: "wholesale.target.view",
|
|
581
578
|
MANAGE: "wholesale.target.manage",
|
|
582
579
|
},
|
|
583
580
|
INVITATION: {
|
|
584
|
-
|
|
585
|
-
REVERT_ACCEPT: "wholesale.invitation.revert_accept",
|
|
586
|
-
REJECT: "wholesale.invitation.reject",
|
|
587
|
-
REVERT_REJECT: "wholesale.invitation.revert_reject",
|
|
588
|
-
DELETE: "wholesale.invitation.delete",
|
|
581
|
+
MANAGE: "wholesale.invitation.manage",
|
|
589
582
|
},
|
|
590
583
|
MANUAL: {
|
|
591
584
|
OPERATIONS: {
|
|
592
585
|
VIEW: "manual_wholesale.operations.view",
|
|
593
|
-
|
|
594
|
-
UPDATE: "manual_wholesale.operations.update",
|
|
595
|
-
DELETE: "manual_wholesale.operations.delete",
|
|
596
|
-
APPROVE: "manual_wholesale.operations.approve",
|
|
586
|
+
MANAGE: "manual_wholesale.operations.manage",
|
|
597
587
|
},
|
|
598
588
|
},
|
|
599
589
|
AUTOMATIC: {
|
|
600
590
|
OPERATIONS: {
|
|
601
591
|
VIEW: "automatic_wholesale.operations.view",
|
|
602
|
-
|
|
592
|
+
MANAGE: "automatic_wholesale.operations.manage",
|
|
603
593
|
},
|
|
604
594
|
},
|
|
605
595
|
},
|
|
@@ -717,6 +707,20 @@ export const PERMISSIONS = {
|
|
|
717
707
|
},
|
|
718
708
|
},
|
|
719
709
|
|
|
710
|
+
// ============================================
|
|
711
|
+
// NOTIFICATION
|
|
712
|
+
// ============================================
|
|
713
|
+
NOTIFICATION: {
|
|
714
|
+
ROUTING: {
|
|
715
|
+
VIEW: "notification.routing.view",
|
|
716
|
+
MANAGE: "notification.routing.manage",
|
|
717
|
+
},
|
|
718
|
+
CONFIG: {
|
|
719
|
+
VIEW: "notification.config.view",
|
|
720
|
+
MANAGE: "notification.config.manage",
|
|
721
|
+
},
|
|
722
|
+
},
|
|
723
|
+
|
|
720
724
|
// ============================================
|
|
721
725
|
// GPS PROVIDER
|
|
722
726
|
// ============================================
|