/** * Semantic Search Plugin - OpenAPI Documentation * This module exports the API documentation for the semantic-search plugin */ export declare const paths: { '/api/strapi-semantic-search/stats': { get: { tags: string[]; summary: string; description: string; operationId: string; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { success: { type: string; }; data: { type: string; additionalProperties: { type: string; properties: { total: { type: string; description: string; }; withEmbeddings: { type: string; description: string; }; coverage: { type: string; description: string; }; }; }; }; }; }; example: { success: boolean; data: { 'api::insight.insight': { total: number; withEmbeddings: number; coverage: number; }; 'api::expert.expert': { total: number; withEmbeddings: number; coverage: number; }; }; }; }; }; }; 500: { description: string; }; }; security: any[]; }; }; '/api/strapi-semantic-search/search': { post: { tags: string[]; summary: string; description: string; operationId: string; requestBody: { required: boolean; content: { 'application/json': { schema: { type: string; required: string[]; properties: { query: { type: string; description: string; }; contentType: { type: string; description: string; }; limit: { type: string; default: number; description: string; }; threshold: { type: string; default: number; description: string; }; locale: { type: string; default: string; description: string; }; domain: { type: string; description: string; }; populate: { type: string; items: { type: string; }; description: string; }; depth: { type: string; minimum: number; maximum: number; description: string; }; }; }; example: { query: string; contentType: string; limit: number; threshold: number; locale: string; populate: string[]; }; }; }; }; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { success: { type: string; }; data: { type: string; properties: { results: { type: string; items: { type: string; properties: { id: { type: string; }; documentId: { type: string; }; title: { type: string; }; similarityScore: { type: string; }; }; }; }; metadata: { type: string; properties: { query: { type: string; }; contentType: { type: string; }; totalResults: { type: string; }; threshold: { type: string; }; }; }; }; }; }; }; }; }; }; 400: { description: string; }; 500: { description: string; }; }; security: any[]; }; }; '/api/strapi-semantic-search/multi-search': { post: { tags: string[]; summary: string; description: string; operationId: string; requestBody: { required: boolean; content: { 'application/json': { schema: { type: string; required: string[]; properties: { query: { type: string; description: string; }; contentTypes: { type: string; items: { type: string; }; description: string; }; limit: { type: string; default: number; description: string; }; threshold: { type: string; default: number; description: string; }; locale: { type: string; default: string; description: string; }; domain: { type: string; description: string; }; populate: { type: string; items: { type: string; }; description: string; }; depth: { type: string; minimum: number; maximum: number; description: string; }; }; }; example: { query: string; limit: number; threshold: number; populate: string[]; }; }; }; }; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { success: { type: string; }; data: { type: string; properties: { results: { type: string; description: string; }; byContentType: { type: string; description: string; }; metadata: { type: string; }; }; }; }; }; }; }; }; 400: { description: string; }; 500: { description: string; }; }; security: any[]; }; }; '/api/strapi-semantic-search/regenerate': { post: { tags: string[]; summary: string; description: string; operationId: string; requestBody: { required: boolean; content: { 'application/json': { schema: { type: string; required: string[]; properties: { contentType: { type: string; description: string; }; locale: { type: string; default: string; description: string; }; }; }; example: { contentType: string; locale: string; }; }; }; }; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { success: { type: string; }; data: { type: string; properties: { contentType: { type: string; }; total: { type: string; }; processed: { type: string; }; failed: { type: string; }; }; }; }; }; example: { success: boolean; data: { contentType: string; total: number; processed: number; failed: number; }; }; }; }; }; 400: { description: string; }; 500: { description: string; }; }; security: any[]; }; }; '/api/strapi-semantic-search/delete': { post: { tags: string[]; summary: string; description: string; operationId: string; requestBody: { required: boolean; content: { 'application/json': { schema: { type: string; required: string[]; properties: { contentType: { type: string; description: string; }; }; }; example: { contentType: string; }; }; }; }; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { success: { type: string; }; data: { type: string; properties: { contentType: { type: string; }; deleted: { type: string; description: string; }; }; }; }; }; example: { success: boolean; data: { contentType: string; deleted: number; }; }; }; }; }; 400: { description: string; }; 500: { description: string; }; }; security: any[]; }; }; '/api/strapi-semantic-search/api-settings': { get: { tags: string[]; summary: string; description: string; operationId: string; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { apiKey: { type: string; description: string; }; embeddingUrl: { type: string; description: string; }; embeddingModel: { type: string; description: string; }; }; }; example: { apiKey: string; embeddingUrl: string; embeddingModel: string; }; }; }; }; }; security: any[]; }; post: { tags: string[]; summary: string; description: string; operationId: string; requestBody: { required: boolean; content: { 'application/json': { schema: { type: string; properties: { apiKey: { type: string; description: string; }; embeddingUrl: { type: string; description: string; }; embeddingModel: { type: string; description: string; }; }; }; example: { apiKey: string; embeddingUrl: string; embeddingModel: string; }; }; }; }; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { success: { type: string; }; }; }; }; }; }; 500: { description: string; }; }; security: any[]; }; }; '/api/strapi-semantic-search/plugin-settings': { get: { tags: string[]; summary: string; description: string; operationId: string; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { autoGenerate: { type: string; description: string; }; contentTypes: { type: string; additionalProperties: { type: string; items: { type: string; }; }; description: string; }; searchLimit: { type: string; description: string; }; searchThreshold: { type: string; description: string; }; searchLocale: { type: string; description: string; }; }; }; example: { autoGenerate: boolean; contentTypes: { 'api::insight.insight': string[]; 'api::expert.expert': string[]; }; searchLimit: number; searchThreshold: number; searchLocale: string; }; }; }; }; }; security: any[]; }; post: { tags: string[]; summary: string; description: string; operationId: string; requestBody: { required: boolean; content: { 'application/json': { schema: { type: string; properties: { autoGenerate: { type: string; description: string; }; contentTypes: { type: string; additionalProperties: { type: string; items: { type: string; }; }; description: string; }; searchLimit: { type: string; description: string; }; searchThreshold: { type: string; description: string; }; searchLocale: { type: string; description: string; }; }; }; example: { autoGenerate: boolean; contentTypes: { 'api::insight.insight': string[]; 'api::expert.expert': string[]; }; searchLimit: number; searchThreshold: number; searchLocale: string; }; }; }; }; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { success: { type: string; }; }; }; }; }; }; 500: { description: string; }; }; security: any[]; }; }; }; export declare const tags: { name: string; description: string; }[]; declare const _default: { paths: { '/api/strapi-semantic-search/stats': { get: { tags: string[]; summary: string; description: string; operationId: string; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { success: { type: string; }; data: { type: string; additionalProperties: { type: string; properties: { total: { type: string; description: string; }; withEmbeddings: { type: string; description: string; }; coverage: { type: string; description: string; }; }; }; }; }; }; example: { success: boolean; data: { 'api::insight.insight': { total: number; withEmbeddings: number; coverage: number; }; 'api::expert.expert': { total: number; withEmbeddings: number; coverage: number; }; }; }; }; }; }; 500: { description: string; }; }; security: any[]; }; }; '/api/strapi-semantic-search/search': { post: { tags: string[]; summary: string; description: string; operationId: string; requestBody: { required: boolean; content: { 'application/json': { schema: { type: string; required: string[]; properties: { query: { type: string; description: string; }; contentType: { type: string; description: string; }; limit: { type: string; default: number; description: string; }; threshold: { type: string; default: number; description: string; }; locale: { type: string; default: string; description: string; }; domain: { type: string; description: string; }; populate: { type: string; items: { type: string; }; description: string; }; depth: { type: string; minimum: number; maximum: number; description: string; }; }; }; example: { query: string; contentType: string; limit: number; threshold: number; locale: string; populate: string[]; }; }; }; }; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { success: { type: string; }; data: { type: string; properties: { results: { type: string; items: { type: string; properties: { id: { type: string; }; documentId: { type: string; }; title: { type: string; }; similarityScore: { type: string; }; }; }; }; metadata: { type: string; properties: { query: { type: string; }; contentType: { type: string; }; totalResults: { type: string; }; threshold: { type: string; }; }; }; }; }; }; }; }; }; }; 400: { description: string; }; 500: { description: string; }; }; security: any[]; }; }; '/api/strapi-semantic-search/multi-search': { post: { tags: string[]; summary: string; description: string; operationId: string; requestBody: { required: boolean; content: { 'application/json': { schema: { type: string; required: string[]; properties: { query: { type: string; description: string; }; contentTypes: { type: string; items: { type: string; }; description: string; }; limit: { type: string; default: number; description: string; }; threshold: { type: string; default: number; description: string; }; locale: { type: string; default: string; description: string; }; domain: { type: string; description: string; }; populate: { type: string; items: { type: string; }; description: string; }; depth: { type: string; minimum: number; maximum: number; description: string; }; }; }; example: { query: string; limit: number; threshold: number; populate: string[]; }; }; }; }; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { success: { type: string; }; data: { type: string; properties: { results: { type: string; description: string; }; byContentType: { type: string; description: string; }; metadata: { type: string; }; }; }; }; }; }; }; }; 400: { description: string; }; 500: { description: string; }; }; security: any[]; }; }; '/api/strapi-semantic-search/regenerate': { post: { tags: string[]; summary: string; description: string; operationId: string; requestBody: { required: boolean; content: { 'application/json': { schema: { type: string; required: string[]; properties: { contentType: { type: string; description: string; }; locale: { type: string; default: string; description: string; }; }; }; example: { contentType: string; locale: string; }; }; }; }; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { success: { type: string; }; data: { type: string; properties: { contentType: { type: string; }; total: { type: string; }; processed: { type: string; }; failed: { type: string; }; }; }; }; }; example: { success: boolean; data: { contentType: string; total: number; processed: number; failed: number; }; }; }; }; }; 400: { description: string; }; 500: { description: string; }; }; security: any[]; }; }; '/api/strapi-semantic-search/delete': { post: { tags: string[]; summary: string; description: string; operationId: string; requestBody: { required: boolean; content: { 'application/json': { schema: { type: string; required: string[]; properties: { contentType: { type: string; description: string; }; }; }; example: { contentType: string; }; }; }; }; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { success: { type: string; }; data: { type: string; properties: { contentType: { type: string; }; deleted: { type: string; description: string; }; }; }; }; }; example: { success: boolean; data: { contentType: string; deleted: number; }; }; }; }; }; 400: { description: string; }; 500: { description: string; }; }; security: any[]; }; }; '/api/strapi-semantic-search/api-settings': { get: { tags: string[]; summary: string; description: string; operationId: string; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { apiKey: { type: string; description: string; }; embeddingUrl: { type: string; description: string; }; embeddingModel: { type: string; description: string; }; }; }; example: { apiKey: string; embeddingUrl: string; embeddingModel: string; }; }; }; }; }; security: any[]; }; post: { tags: string[]; summary: string; description: string; operationId: string; requestBody: { required: boolean; content: { 'application/json': { schema: { type: string; properties: { apiKey: { type: string; description: string; }; embeddingUrl: { type: string; description: string; }; embeddingModel: { type: string; description: string; }; }; }; example: { apiKey: string; embeddingUrl: string; embeddingModel: string; }; }; }; }; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { success: { type: string; }; }; }; }; }; }; 500: { description: string; }; }; security: any[]; }; }; '/api/strapi-semantic-search/plugin-settings': { get: { tags: string[]; summary: string; description: string; operationId: string; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { autoGenerate: { type: string; description: string; }; contentTypes: { type: string; additionalProperties: { type: string; items: { type: string; }; }; description: string; }; searchLimit: { type: string; description: string; }; searchThreshold: { type: string; description: string; }; searchLocale: { type: string; description: string; }; }; }; example: { autoGenerate: boolean; contentTypes: { 'api::insight.insight': string[]; 'api::expert.expert': string[]; }; searchLimit: number; searchThreshold: number; searchLocale: string; }; }; }; }; }; security: any[]; }; post: { tags: string[]; summary: string; description: string; operationId: string; requestBody: { required: boolean; content: { 'application/json': { schema: { type: string; properties: { autoGenerate: { type: string; description: string; }; contentTypes: { type: string; additionalProperties: { type: string; items: { type: string; }; }; description: string; }; searchLimit: { type: string; description: string; }; searchThreshold: { type: string; description: string; }; searchLocale: { type: string; description: string; }; }; }; example: { autoGenerate: boolean; contentTypes: { 'api::insight.insight': string[]; 'api::expert.expert': string[]; }; searchLimit: number; searchThreshold: number; searchLocale: string; }; }; }; }; responses: { 200: { description: string; content: { 'application/json': { schema: { type: string; properties: { success: { type: string; }; }; }; }; }; }; 500: { description: string; }; }; security: any[]; }; }; }; tags: { name: string; description: string; }[]; }; export default _default;