@telos-dev-team/dealernode-permissions 1.1.19 → 1.1.20
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 +10 -0
- package/dist/permissions.js +13 -0
- package/package.json +1 -1
- package/src/permissions.ts +15 -0
package/dist/permissions.d.ts
CHANGED
|
@@ -542,6 +542,15 @@ export declare const PERMISSIONS: {
|
|
|
542
542
|
};
|
|
543
543
|
};
|
|
544
544
|
};
|
|
545
|
+
readonly TRANSFER_CAR: {
|
|
546
|
+
readonly OPERATIONS: {
|
|
547
|
+
readonly VIEW: "transfer_car.operations.view";
|
|
548
|
+
readonly MANAGE: "transfer_car.operations.manage";
|
|
549
|
+
};
|
|
550
|
+
readonly INVITATION: {
|
|
551
|
+
readonly MANAGE: "transfer_car.invitation.manage";
|
|
552
|
+
};
|
|
553
|
+
};
|
|
545
554
|
readonly DEALER_RELATIONSHIP: {
|
|
546
555
|
readonly OPERATIONS: {
|
|
547
556
|
readonly VIEW: "dealer_relationship.operations.view";
|
|
@@ -555,6 +564,7 @@ export declare const PERMISSIONS: {
|
|
|
555
564
|
readonly RESOURCE: {
|
|
556
565
|
readonly VIEW_INVENTORY: "dealer_relationship.resource.view_inventory";
|
|
557
566
|
readonly TRANSFER_CAR: "dealer_relationship.resource.transfer_car";
|
|
567
|
+
readonly AUTO_APPROVE_TRANSFER_CAR: "dealer_relationship.resource.auto_approve_transfer_car";
|
|
558
568
|
readonly CREATE_WHOLESALE_DEAL: "dealer_relationship.resource.create_wholesale_deal";
|
|
559
569
|
readonly APPROVE_WHOLESALE_DEAL: "dealer_relationship.resource.approve_wholesale_deal";
|
|
560
570
|
readonly VIEW_SHARED_DEALS: "dealer_relationship.resource.view_shared_deals";
|
package/dist/permissions.js
CHANGED
|
@@ -594,6 +594,18 @@ exports.PERMISSIONS = {
|
|
|
594
594
|
},
|
|
595
595
|
},
|
|
596
596
|
// ============================================
|
|
597
|
+
// TRANSFER_CAR
|
|
598
|
+
// ============================================
|
|
599
|
+
TRANSFER_CAR: {
|
|
600
|
+
OPERATIONS: {
|
|
601
|
+
VIEW: "transfer_car.operations.view",
|
|
602
|
+
MANAGE: "transfer_car.operations.manage",
|
|
603
|
+
},
|
|
604
|
+
INVITATION: {
|
|
605
|
+
MANAGE: "transfer_car.invitation.manage",
|
|
606
|
+
},
|
|
607
|
+
},
|
|
608
|
+
// ============================================
|
|
597
609
|
// DEALER RELATIONSHIP
|
|
598
610
|
// ============================================
|
|
599
611
|
DEALER_RELATIONSHIP: {
|
|
@@ -609,6 +621,7 @@ exports.PERMISSIONS = {
|
|
|
609
621
|
RESOURCE: {
|
|
610
622
|
VIEW_INVENTORY: "dealer_relationship.resource.view_inventory",
|
|
611
623
|
TRANSFER_CAR: "dealer_relationship.resource.transfer_car",
|
|
624
|
+
AUTO_APPROVE_TRANSFER_CAR: "dealer_relationship.resource.auto_approve_transfer_car",
|
|
612
625
|
CREATE_WHOLESALE_DEAL: "dealer_relationship.resource.create_wholesale_deal",
|
|
613
626
|
APPROVE_WHOLESALE_DEAL: "dealer_relationship.resource.approve_wholesale_deal",
|
|
614
627
|
VIEW_SHARED_DEALS: "dealer_relationship.resource.view_shared_deals",
|
package/package.json
CHANGED
package/src/permissions.ts
CHANGED
|
@@ -606,6 +606,19 @@ export const PERMISSIONS = {
|
|
|
606
606
|
},
|
|
607
607
|
},
|
|
608
608
|
|
|
609
|
+
// ============================================
|
|
610
|
+
// TRANSFER_CAR
|
|
611
|
+
// ============================================
|
|
612
|
+
TRANSFER_CAR: {
|
|
613
|
+
OPERATIONS: {
|
|
614
|
+
VIEW: "transfer_car.operations.view",
|
|
615
|
+
MANAGE: "transfer_car.operations.manage",
|
|
616
|
+
},
|
|
617
|
+
INVITATION: {
|
|
618
|
+
MANAGE: "transfer_car.invitation.manage",
|
|
619
|
+
},
|
|
620
|
+
},
|
|
621
|
+
|
|
609
622
|
// ============================================
|
|
610
623
|
// DEALER RELATIONSHIP
|
|
611
624
|
// ============================================
|
|
@@ -622,6 +635,8 @@ export const PERMISSIONS = {
|
|
|
622
635
|
RESOURCE: {
|
|
623
636
|
VIEW_INVENTORY: "dealer_relationship.resource.view_inventory",
|
|
624
637
|
TRANSFER_CAR: "dealer_relationship.resource.transfer_car",
|
|
638
|
+
AUTO_APPROVE_TRANSFER_CAR:
|
|
639
|
+
"dealer_relationship.resource.auto_approve_transfer_car",
|
|
625
640
|
CREATE_WHOLESALE_DEAL:
|
|
626
641
|
"dealer_relationship.resource.create_wholesale_deal",
|
|
627
642
|
APPROVE_WHOLESALE_DEAL:
|