import { jsx as i } from "react/jsx-runtime";
import { D as t } from "./DocRenderer-C5pM9SWP.js";
import "react";
import "react-router-dom";
import "lucide-react";
const s = {
  featureId: "admin-ai",
  moduleName: "ai",
  applicationName: "administration",
  version: "2.15.0",
  overview: {
    objective: "docsAdministrationAi.overview.objective",
    problem: "docsAdministrationAi.overview.problem",
    solution: "docsAdministrationAi.overview.solution",
    stats: {
      useCases: 10,
      businessRules: 7,
      permissions: 11,
      endpoints: 18
    }
  },
  benefits: [
    {
      icon: "automation",
      titleKey: "docsAdministrationAi.benefits.automation.title",
      value: "95%",
      descriptionKey: "docsAdministrationAi.benefits.automation.description"
    },
    {
      icon: "quality",
      titleKey: "docsAdministrationAi.benefits.quality.title",
      value: "+85%",
      descriptionKey: "docsAdministrationAi.benefits.quality.description"
    },
    {
      icon: "roi",
      titleKey: "docsAdministrationAi.benefits.roi.title",
      value: "4x",
      descriptionKey: "docsAdministrationAi.benefits.roi.description"
    }
  ],
  useCases: [
    { id: "UC-001", name: "docsAdministrationAi.useCases.uc001", actor: "Admin", description: "docsAdministrationAi.useCases.uc001Desc", permission: "administration.ai.dashboard.read", priority: "Must" },
    { id: "UC-002", name: "docsAdministrationAi.useCases.uc002", actor: "Admin", description: "docsAdministrationAi.useCases.uc002Desc", permission: "administration.ai.settings.read", priority: "Must" },
    { id: "UC-003", name: "docsAdministrationAi.useCases.uc003", actor: "Admin", description: "docsAdministrationAi.useCases.uc003Desc", permission: "administration.ai.settings.create", priority: "Must" },
    { id: "UC-004", name: "docsAdministrationAi.useCases.uc004", actor: "Admin", description: "docsAdministrationAi.useCases.uc004Desc", permission: "administration.ai.prompts.read", priority: "Must" },
    { id: "UC-005", name: "docsAdministrationAi.useCases.uc005", actor: "Admin", description: "docsAdministrationAi.useCases.uc005Desc", permission: "administration.ai.prompts.create", priority: "Should" },
    { id: "UC-006", name: "docsAdministrationAi.useCases.uc006", actor: "Admin", description: "docsAdministrationAi.useCases.uc006Desc", permission: "administration.ai.prompts.execute", priority: "Should" },
    { id: "UC-007", name: "docsAdministrationAi.useCases.uc007", actor: "Admin", description: "docsAdministrationAi.useCases.uc007Desc", permission: "administration.ai.prompts.blocks.create", priority: "Should" },
    { id: "UC-008", name: "docsAdministrationAi.useCases.uc008", actor: "Admin", description: "docsAdministrationAi.useCases.uc008Desc", permission: "administration.ai.prompts.schemas.create", priority: "Should" },
    { id: "UC-009", name: "docsAdministrationAi.useCases.uc009", actor: "Admin", description: "docsAdministrationAi.useCases.uc009Desc", permission: "administration.ai.settings.execute", priority: "Could" },
    { id: "UC-010", name: "docsAdministrationAi.useCases.uc010", actor: "Admin", description: "docsAdministrationAi.useCases.uc010Desc", permission: "administration.ai.prompts.execute", priority: "Must" }
  ],
  features: [
    { id: "F-001", title: "docsAdministrationAi.features.f001Title", description: "docsAdministrationAi.features.f001Desc", example: "docsAdministrationAi.features.f001Example" },
    { id: "F-002", title: "docsAdministrationAi.features.f002Title", description: "docsAdministrationAi.features.f002Desc", example: "docsAdministrationAi.features.f002Example" },
    { id: "F-003", title: "docsAdministrationAi.features.f003Title", description: "docsAdministrationAi.features.f003Desc", example: "docsAdministrationAi.features.f003Example" },
    { id: "F-004", title: "docsAdministrationAi.features.f004Title", description: "docsAdministrationAi.features.f004Desc", example: "docsAdministrationAi.features.f004Example" },
    { id: "F-005", title: "docsAdministrationAi.features.f005Title", description: "docsAdministrationAi.features.f005Desc", example: "docsAdministrationAi.features.f005Example" }
  ],
  faq: [
    { questionKey: "docsAdministrationAi.faq.q1", answerKey: "docsAdministrationAi.faq.a1" },
    { questionKey: "docsAdministrationAi.faq.q2", answerKey: "docsAdministrationAi.faq.a2" },
    { questionKey: "docsAdministrationAi.faq.q3", answerKey: "docsAdministrationAi.faq.a3" },
    { questionKey: "docsAdministrationAi.faq.q4", answerKey: "docsAdministrationAi.faq.a4" }
  ],
  businessRules: [
    { id: "BR-001", name: "Multi-provider", category: "Flexibilité", statement: "docsAdministrationAi.businessRules.br001" },
    { id: "BR-002", name: "Sécurité clés API", category: "Sécurité", statement: "docsAdministrationAi.businessRules.br002" },
    { id: "BR-003", name: "Prompts versionnés", category: "Traçabilité", statement: "docsAdministrationAi.businessRules.br003" },
    { id: "BR-004", name: "Activation unique", category: "Logique métier", statement: "docsAdministrationAi.businessRules.br004" },
    { id: "BR-005", name: "Blocks réutilisables", category: "Maintenabilité", statement: "docsAdministrationAi.businessRules.br005" },
    { id: "BR-006", name: "Schémas JSON", category: "Validation", statement: "docsAdministrationAi.businessRules.br006" },
    { id: "BR-007", name: "Dashboard analytics", category: "Reporting", statement: "docsAdministrationAi.businessRules.br007" }
  ],
  permissions: [
    { path: "administration.ai.dashboard.read", description: "Consulter dashboard AI", roles: ["Admin", "Manager"] },
    { path: "administration.ai.settings.read", description: "Consulter fournisseurs AI", roles: ["Admin"] },
    { path: "administration.ai.settings.create", description: "Créer fournisseur AI", roles: ["Admin"] },
    { path: "administration.ai.settings.update", description: "Modifier fournisseur AI", roles: ["Admin"] },
    { path: "administration.ai.settings.delete", description: "Supprimer fournisseur AI", roles: ["Admin"] },
    { path: "administration.ai.settings.execute", description: "Révéler clé API", roles: ["Admin"] },
    { path: "administration.ai.prompts.read", description: "Consulter prompts", roles: ["Admin", "Manager"] },
    { path: "administration.ai.prompts.create", description: "Créer prompt", roles: ["Admin"] },
    { path: "administration.ai.prompts.update", description: "Modifier prompt", roles: ["Admin"] },
    { path: "administration.ai.prompts.delete", description: "Supprimer prompt", roles: ["Admin"] },
    { path: "administration.ai.prompts.execute", description: "Activer/Tester prompt", roles: ["Admin"] }
  ],
  apiEndpoints: [
    { method: "GET", path: "/api/administration/ai/dashboard", handler: "GetDashboard", permission: "administration.ai.dashboard.read" },
    { method: "GET", path: "/api/administration/ai/settings", handler: "GetProviders", permission: "administration.ai.settings.read" },
    { method: "POST", path: "/api/administration/ai/settings", handler: "CreateProvider", permission: "administration.ai.settings.create" },
    { method: "PUT", path: "/api/administration/ai/settings/{id}", handler: "UpdateProvider", permission: "administration.ai.settings.update" },
    { method: "DELETE", path: "/api/administration/ai/settings/{id}", handler: "DeleteProvider", permission: "administration.ai.settings.delete" },
    { method: "POST", path: "/api/administration/ai/settings/{id}/reveal-key", handler: "RevealApiKey", permission: "administration.ai.settings.execute" },
    { method: "GET", path: "/api/administration/ai/prompts", handler: "GetPrompts", permission: "administration.ai.prompts.read" },
    { method: "POST", path: "/api/administration/ai/prompts", handler: "CreatePrompt", permission: "administration.ai.prompts.create" },
    { method: "PUT", path: "/api/administration/ai/prompts/{id}", handler: "UpdatePrompt", permission: "administration.ai.prompts.update" },
    { method: "DELETE", path: "/api/administration/ai/prompts/{id}", handler: "DeletePrompt", permission: "administration.ai.prompts.delete" },
    { method: "POST", path: "/api/administration/ai/prompts/{id}/activate", handler: "ActivatePrompt", permission: "administration.ai.prompts.execute" },
    { method: "POST", path: "/api/administration/ai/prompts/{id}/execute", handler: "TestPrompt", permission: "administration.ai.prompts.execute" },
    { method: "GET", path: "/api/administration/ai/prompts/blocks", handler: "GetBlocks", permission: "administration.ai.prompts.blocks.read" },
    { method: "POST", path: "/api/administration/ai/prompts/blocks", handler: "CreateBlock", permission: "administration.ai.prompts.blocks.create" },
    { method: "GET", path: "/api/administration/ai/prompts/schemas", handler: "GetSchemas", permission: "administration.ai.prompts.schemas.read" },
    { method: "POST", path: "/api/administration/ai/prompts/schemas", handler: "CreateSchema", permission: "administration.ai.prompts.schemas.create" }
  ],
  technicalRef: {
    permissionBase: "administration.ai",
    controllerRoute: "/api/administration/ai",
    entityNames: ["AiProvider", "AiModel", "AiPrompt", "AiBlock", "AiSchema", "AiProviderInstance"],
    integrations: ["OpenAI", "Anthropic", "Azure OpenAI", "Workflows", "Support"]
  }
};
function d() {
  return /* @__PURE__ */ i(
    t,
    {
      data: s,
      backPath: "/docs/business/platform",
      backLabel: "nav.backToAdministration",
      i18nNamespace: "docsAdministrationAi"
    }
  );
}
export {
  d as default
};
//# sourceMappingURL=index-BBFFDXgT.js.map
