@telos-dev-team/dealernode-permissions 1.1.63 → 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.
- package/dist/permissions.d.ts +18 -0
- package/dist/permissions.js +26 -0
- package/package.json +1 -1
package/dist/permissions.d.ts
CHANGED
|
@@ -397,6 +397,10 @@ export declare const PERMISSIONS: {
|
|
|
397
397
|
readonly VIEW: "payment.manual.digital.view";
|
|
398
398
|
readonly PROCESS: "payment.manual.digital.process";
|
|
399
399
|
};
|
|
400
|
+
readonly DIRECT: {
|
|
401
|
+
readonly VIEW: "payment.manual.direct.view";
|
|
402
|
+
readonly PROCESS: "payment.manual.direct.process";
|
|
403
|
+
};
|
|
400
404
|
};
|
|
401
405
|
readonly TERMINAL: {
|
|
402
406
|
readonly LOCATION: {
|
|
@@ -755,5 +759,19 @@ export declare const PERMISSIONS: {
|
|
|
755
759
|
};
|
|
756
760
|
};
|
|
757
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
|
+
};
|
|
758
776
|
};
|
|
759
777
|
export type Permission = typeof PERMISSIONS;
|
package/dist/permissions.js
CHANGED
|
@@ -439,6 +439,10 @@ exports.PERMISSIONS = {
|
|
|
439
439
|
VIEW: "payment.manual.digital.view",
|
|
440
440
|
PROCESS: "payment.manual.digital.process",
|
|
441
441
|
},
|
|
442
|
+
DIRECT: {
|
|
443
|
+
VIEW: "payment.manual.direct.view",
|
|
444
|
+
PROCESS: "payment.manual.direct.process",
|
|
445
|
+
},
|
|
442
446
|
},
|
|
443
447
|
TERMINAL: {
|
|
444
448
|
LOCATION: {
|
|
@@ -839,4 +843,26 @@ exports.PERMISSIONS = {
|
|
|
839
843
|
},
|
|
840
844
|
},
|
|
841
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
|
+
},
|
|
842
868
|
};
|