@telos-dev-team/dealernode-permissions 1.1.64 → 1.1.65

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.
@@ -759,5 +759,19 @@ export declare const PERMISSIONS: {
759
759
  };
760
760
  };
761
761
  };
762
+ readonly EXPENSE: {
763
+ readonly VIEW: "expense.view";
764
+ readonly MANAGE: "expense.manage";
765
+ readonly PAYMENT_ACCOUNT: {
766
+ readonly MANAGE: "expense.payment-account.manage";
767
+ };
768
+ readonly CATEGORY: {
769
+ readonly MANAGE: "expense.category.manage";
770
+ };
771
+ };
772
+ readonly VENDOR: {
773
+ readonly MANAGE: "vendor.manage";
774
+ readonly TAX_ID_VIEW: "vendor.tax-id.view";
775
+ };
762
776
  };
763
777
  export type Permission = typeof PERMISSIONS;
@@ -843,4 +843,26 @@ exports.PERMISSIONS = {
843
843
  },
844
844
  },
845
845
  },
846
+ // ============================================
847
+ // EXPENSE (gastos operativos del dealer: el dinero que sale)
848
+ // ============================================
849
+ EXPENSE: {
850
+ VIEW: "expense.view",
851
+ MANAGE: "expense.manage",
852
+ PAYMENT_ACCOUNT: {
853
+ MANAGE: "expense.payment-account.manage",
854
+ },
855
+ CATEGORY: {
856
+ MANAGE: "expense.category.manage",
857
+ },
858
+ },
859
+ // ============================================
860
+ // VENDOR (proveedores; sin prefijo expense porque los costos del carro
861
+ // también los usan)
862
+ // ============================================
863
+ VENDOR: {
864
+ MANAGE: "vendor.manage",
865
+ // Ver el Tax ID completo (puede ser un SSN)
866
+ TAX_ID_VIEW: "vendor.tax-id.view",
867
+ },
846
868
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telos-dev-team/dealernode-permissions",
3
- "version": "1.1.64",
3
+ "version": "1.1.65",
4
4
  "description": "Shared permissions constants for dealernode projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",