ponch-mcp-server 1.0.98 → 1.0.99
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/index.js +18 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -775,6 +775,22 @@ var DisabledOutputSchema = import_zod8.z.object({
|
|
|
775
775
|
function getDisabledMessage(code, locale, vars) {
|
|
776
776
|
return getMessage(`marketing.disabled.${code}`, locale, vars);
|
|
777
777
|
}
|
|
778
|
+
var QUOTA_KEYS = [
|
|
779
|
+
"brands",
|
|
780
|
+
"usuarios",
|
|
781
|
+
"ubicaciones",
|
|
782
|
+
"productos",
|
|
783
|
+
"insumos",
|
|
784
|
+
"ordenesMes",
|
|
785
|
+
"almacenamientoGB",
|
|
786
|
+
"creditosMes",
|
|
787
|
+
"tenantCreditsAllowance",
|
|
788
|
+
"weeklyContentsPerMonth",
|
|
789
|
+
"fotosPorMes",
|
|
790
|
+
"auditOptimizationsPerMonth",
|
|
791
|
+
"aiCostBudgetUSD",
|
|
792
|
+
"brandsIncluidas"
|
|
793
|
+
];
|
|
778
794
|
var SideEffectEnum = import_zod7.z.enum([
|
|
779
795
|
"reads_firestore",
|
|
780
796
|
"writes_firestore",
|
|
@@ -842,7 +858,7 @@ var MartinContractSchema = import_zod7.z.object({
|
|
|
842
858
|
extractTargetPath: ExtractTargetPathSchema.optional(),
|
|
843
859
|
extractChanges: ExtractChangesSchema.optional(),
|
|
844
860
|
// Governance
|
|
845
|
-
quotasConsumed: import_zod7.z.array(import_zod7.z.
|
|
861
|
+
quotasConsumed: import_zod7.z.array(import_zod7.z.enum(QUOTA_KEYS)),
|
|
846
862
|
// ── PermissionScope (HITO 6 A6) ────────────────────────────
|
|
847
863
|
// Cada contract declara EXPLÍCITAMENTE su scope de acceso.
|
|
848
864
|
// Sin paths legacy. Sin opcionales. Un solo modelo.
|
|
@@ -11253,7 +11269,7 @@ var executeRawContract = {
|
|
|
11253
11269
|
creditsConsumed: output.creditsConsumed
|
|
11254
11270
|
} : null
|
|
11255
11271
|
}),
|
|
11256
|
-
quotasConsumed: ["
|
|
11272
|
+
quotasConsumed: ["fotosPorMes"],
|
|
11257
11273
|
permissionScope: "module",
|
|
11258
11274
|
permissionKey: "marketing",
|
|
11259
11275
|
permissionAction: "editar",
|