@telos-dev-team/dealernode-permissions 1.1.19 → 1.1.21

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.
@@ -15,6 +15,8 @@ export declare const PERMISSIONS: {
15
15
  readonly ASSIGN: "user.dealer.operations.assign";
16
16
  readonly UPDATE: "user.dealer.operations.update";
17
17
  readonly UNASSIGN: "user.dealer.operations.unassign";
18
+ readonly ACTIVATE: "user.dealer.operations.activate";
19
+ readonly DEACTIVATE: "user.dealer.operations.deactivate";
18
20
  };
19
21
  readonly ACTOR_TYPE: {
20
22
  readonly VIEW: "user.dealer.actor_type.view";
@@ -542,6 +544,15 @@ export declare const PERMISSIONS: {
542
544
  };
543
545
  };
544
546
  };
547
+ readonly TRANSFER_CAR: {
548
+ readonly OPERATIONS: {
549
+ readonly VIEW: "transfer_car.operations.view";
550
+ readonly MANAGE: "transfer_car.operations.manage";
551
+ };
552
+ readonly INVITATION: {
553
+ readonly MANAGE: "transfer_car.invitation.manage";
554
+ };
555
+ };
545
556
  readonly DEALER_RELATIONSHIP: {
546
557
  readonly OPERATIONS: {
547
558
  readonly VIEW: "dealer_relationship.operations.view";
@@ -555,6 +566,7 @@ export declare const PERMISSIONS: {
555
566
  readonly RESOURCE: {
556
567
  readonly VIEW_INVENTORY: "dealer_relationship.resource.view_inventory";
557
568
  readonly TRANSFER_CAR: "dealer_relationship.resource.transfer_car";
569
+ readonly AUTO_APPROVE_TRANSFER_CAR: "dealer_relationship.resource.auto_approve_transfer_car";
558
570
  readonly CREATE_WHOLESALE_DEAL: "dealer_relationship.resource.create_wholesale_deal";
559
571
  readonly APPROVE_WHOLESALE_DEAL: "dealer_relationship.resource.approve_wholesale_deal";
560
572
  readonly VIEW_SHARED_DEALS: "dealer_relationship.resource.view_shared_deals";
@@ -24,6 +24,8 @@ exports.PERMISSIONS = {
24
24
  ASSIGN: "user.dealer.operations.assign",
25
25
  UPDATE: "user.dealer.operations.update",
26
26
  UNASSIGN: "user.dealer.operations.unassign",
27
+ ACTIVATE: "user.dealer.operations.activate",
28
+ DEACTIVATE: "user.dealer.operations.deactivate",
27
29
  },
28
30
  ACTOR_TYPE: {
29
31
  VIEW: "user.dealer.actor_type.view",
@@ -594,6 +596,18 @@ exports.PERMISSIONS = {
594
596
  },
595
597
  },
596
598
  // ============================================
599
+ // TRANSFER_CAR
600
+ // ============================================
601
+ TRANSFER_CAR: {
602
+ OPERATIONS: {
603
+ VIEW: "transfer_car.operations.view",
604
+ MANAGE: "transfer_car.operations.manage",
605
+ },
606
+ INVITATION: {
607
+ MANAGE: "transfer_car.invitation.manage",
608
+ },
609
+ },
610
+ // ============================================
597
611
  // DEALER RELATIONSHIP
598
612
  // ============================================
599
613
  DEALER_RELATIONSHIP: {
@@ -609,6 +623,7 @@ exports.PERMISSIONS = {
609
623
  RESOURCE: {
610
624
  VIEW_INVENTORY: "dealer_relationship.resource.view_inventory",
611
625
  TRANSFER_CAR: "dealer_relationship.resource.transfer_car",
626
+ AUTO_APPROVE_TRANSFER_CAR: "dealer_relationship.resource.auto_approve_transfer_car",
612
627
  CREATE_WHOLESALE_DEAL: "dealer_relationship.resource.create_wholesale_deal",
613
628
  APPROVE_WHOLESALE_DEAL: "dealer_relationship.resource.approve_wholesale_deal",
614
629
  VIEW_SHARED_DEALS: "dealer_relationship.resource.view_shared_deals",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telos-dev-team/dealernode-permissions",
3
- "version": "1.1.19",
3
+ "version": "1.1.21",
4
4
  "description": "Shared permissions constants for dealernode projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -22,6 +22,8 @@ export const PERMISSIONS = {
22
22
  ASSIGN: "user.dealer.operations.assign",
23
23
  UPDATE: "user.dealer.operations.update",
24
24
  UNASSIGN: "user.dealer.operations.unassign",
25
+ ACTIVATE: "user.dealer.operations.activate",
26
+ DEACTIVATE: "user.dealer.operations.deactivate",
25
27
  },
26
28
  ACTOR_TYPE: {
27
29
  VIEW: "user.dealer.actor_type.view",
@@ -606,6 +608,19 @@ export const PERMISSIONS = {
606
608
  },
607
609
  },
608
610
 
611
+ // ============================================
612
+ // TRANSFER_CAR
613
+ // ============================================
614
+ TRANSFER_CAR: {
615
+ OPERATIONS: {
616
+ VIEW: "transfer_car.operations.view",
617
+ MANAGE: "transfer_car.operations.manage",
618
+ },
619
+ INVITATION: {
620
+ MANAGE: "transfer_car.invitation.manage",
621
+ },
622
+ },
623
+
609
624
  // ============================================
610
625
  // DEALER RELATIONSHIP
611
626
  // ============================================
@@ -622,6 +637,8 @@ export const PERMISSIONS = {
622
637
  RESOURCE: {
623
638
  VIEW_INVENTORY: "dealer_relationship.resource.view_inventory",
624
639
  TRANSFER_CAR: "dealer_relationship.resource.transfer_car",
640
+ AUTO_APPROVE_TRANSFER_CAR:
641
+ "dealer_relationship.resource.auto_approve_transfer_car",
625
642
  CREATE_WHOLESALE_DEAL:
626
643
  "dealer_relationship.resource.create_wholesale_deal",
627
644
  APPROVE_WHOLESALE_DEAL: