@telos-dev-team/dealernode-permissions 1.1.17 → 1.1.19
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 +2 -0
- package/dist/permissions.js +4 -2
- package/package.json +1 -1
- package/src/permissions.ts +7 -3
package/dist/permissions.d.ts
CHANGED
|
@@ -556,6 +556,7 @@ export declare const PERMISSIONS: {
|
|
|
556
556
|
readonly VIEW_INVENTORY: "dealer_relationship.resource.view_inventory";
|
|
557
557
|
readonly TRANSFER_CAR: "dealer_relationship.resource.transfer_car";
|
|
558
558
|
readonly CREATE_WHOLESALE_DEAL: "dealer_relationship.resource.create_wholesale_deal";
|
|
559
|
+
readonly APPROVE_WHOLESALE_DEAL: "dealer_relationship.resource.approve_wholesale_deal";
|
|
559
560
|
readonly VIEW_SHARED_DEALS: "dealer_relationship.resource.view_shared_deals";
|
|
560
561
|
readonly VIEW_SHARED_FAILED_DEALS: "dealer_relationship.resource.view_shared_failed_deals";
|
|
561
562
|
};
|
|
@@ -663,6 +664,7 @@ export declare const PERMISSIONS: {
|
|
|
663
664
|
readonly VIEW: "gps-provider.device.operations.view";
|
|
664
665
|
readonly LOCATE: "gps-provider.device.operations.locate";
|
|
665
666
|
readonly ACTIVATE: "gps-provider.device.operations.activate";
|
|
667
|
+
readonly RESET_MILEAGE: "gps-provider.device.operations.reset_mileage";
|
|
666
668
|
};
|
|
667
669
|
};
|
|
668
670
|
};
|
package/dist/permissions.js
CHANGED
|
@@ -393,10 +393,10 @@ exports.PERMISSIONS = {
|
|
|
393
393
|
PROCESS: "payment.terminal.payment.process",
|
|
394
394
|
},
|
|
395
395
|
PIN: {
|
|
396
|
-
MANAGE_ALL:
|
|
396
|
+
MANAGE_ALL: "payment.terminal.pin.manage_all",
|
|
397
397
|
},
|
|
398
398
|
DEVICE: {
|
|
399
|
-
PROVISION:
|
|
399
|
+
PROVISION: "payment.terminal.device.provision",
|
|
400
400
|
},
|
|
401
401
|
},
|
|
402
402
|
BILLING: {
|
|
@@ -610,6 +610,7 @@ exports.PERMISSIONS = {
|
|
|
610
610
|
VIEW_INVENTORY: "dealer_relationship.resource.view_inventory",
|
|
611
611
|
TRANSFER_CAR: "dealer_relationship.resource.transfer_car",
|
|
612
612
|
CREATE_WHOLESALE_DEAL: "dealer_relationship.resource.create_wholesale_deal",
|
|
613
|
+
APPROVE_WHOLESALE_DEAL: "dealer_relationship.resource.approve_wholesale_deal",
|
|
613
614
|
VIEW_SHARED_DEALS: "dealer_relationship.resource.view_shared_deals",
|
|
614
615
|
VIEW_SHARED_FAILED_DEALS: "dealer_relationship.resource.view_shared_failed_deals",
|
|
615
616
|
},
|
|
@@ -741,6 +742,7 @@ exports.PERMISSIONS = {
|
|
|
741
742
|
VIEW: "gps-provider.device.operations.view",
|
|
742
743
|
LOCATE: "gps-provider.device.operations.locate",
|
|
743
744
|
ACTIVATE: "gps-provider.device.operations.activate",
|
|
745
|
+
RESET_MILEAGE: "gps-provider.device.operations.reset_mileage",
|
|
744
746
|
},
|
|
745
747
|
},
|
|
746
748
|
},
|
package/package.json
CHANGED
package/src/permissions.ts
CHANGED
|
@@ -401,10 +401,10 @@ export const PERMISSIONS = {
|
|
|
401
401
|
PROCESS: "payment.terminal.payment.process",
|
|
402
402
|
},
|
|
403
403
|
PIN: {
|
|
404
|
-
MANAGE_ALL:
|
|
404
|
+
MANAGE_ALL: "payment.terminal.pin.manage_all",
|
|
405
405
|
},
|
|
406
406
|
DEVICE: {
|
|
407
|
-
PROVISION:
|
|
407
|
+
PROVISION: "payment.terminal.device.provision",
|
|
408
408
|
},
|
|
409
409
|
},
|
|
410
410
|
BILLING: {
|
|
@@ -624,8 +624,11 @@ export const PERMISSIONS = {
|
|
|
624
624
|
TRANSFER_CAR: "dealer_relationship.resource.transfer_car",
|
|
625
625
|
CREATE_WHOLESALE_DEAL:
|
|
626
626
|
"dealer_relationship.resource.create_wholesale_deal",
|
|
627
|
+
APPROVE_WHOLESALE_DEAL:
|
|
628
|
+
"dealer_relationship.resource.approve_wholesale_deal",
|
|
627
629
|
VIEW_SHARED_DEALS: "dealer_relationship.resource.view_shared_deals",
|
|
628
|
-
VIEW_SHARED_FAILED_DEALS:
|
|
630
|
+
VIEW_SHARED_FAILED_DEALS:
|
|
631
|
+
"dealer_relationship.resource.view_shared_failed_deals",
|
|
629
632
|
},
|
|
630
633
|
PERMISSION: {
|
|
631
634
|
REQUEST: "dealer_relationship.permission.request",
|
|
@@ -763,6 +766,7 @@ export const PERMISSIONS = {
|
|
|
763
766
|
VIEW: "gps-provider.device.operations.view",
|
|
764
767
|
LOCATE: "gps-provider.device.operations.locate",
|
|
765
768
|
ACTIVATE: "gps-provider.device.operations.activate",
|
|
769
|
+
RESET_MILEAGE: "gps-provider.device.operations.reset_mileage",
|
|
766
770
|
},
|
|
767
771
|
},
|
|
768
772
|
},
|