import { FastifyReply } from "fastify"; import { CacheService } from "../../../core/cache/services/cache.service"; import { AuditService } from "../../audit/services/audit.service"; import { AiConnectionPostDTO } from "../dtos/ai-connection.post.dto"; import { AiConnectionPutDTO } from "../dtos/ai-connection.put.dto"; import { AiConnectionReorderDTO } from "../dtos/ai-connection.reorder.dto"; import { AiConnectionService } from "../services/ai-connection.service"; /** * AiConnectionController * * Administrative REST API for the AI connection fallback chains. Mirrors the * in-package admin-controller canonical (`stripe-product.controller.ts`): * reads are `JwtAuthGuard` + `@Roles`, mutations are `AdminJwtAuthGuard` + * `@Roles(RoleId.Administrator)`. * * Create/update deliberately call the service rather than * `createCrudHandlers()`: both need service-level registry validation and * secret encryption before the generic DTO path runs. */ export declare class AiConnectionController { private readonly aiConnectionService; private readonly cacheService; private readonly auditService; constructor(aiConnectionService: AiConnectionService, cacheService: CacheService, auditService: AuditService); findAll(reply: FastifyReply, query: any): Promise; findById(reply: FastifyReply, id: string): Promise; reorder(reply: FastifyReply, body: AiConnectionReorderDTO): Promise; create(reply: FastifyReply, body: AiConnectionPostDTO): Promise; update(reply: FastifyReply, id: string, body: AiConnectionPutDTO): Promise; delete(reply: FastifyReply, id: string): Promise; } //# sourceMappingURL=ai-connection.controller.d.ts.map