UNPKG

@infomatebot/chatbot-widget

Version:

Build intelligent chatbots using pre-designed conversation flows with quick reply options. Upload documents for AI-powered, context-aware responses and reduce support costs by 80% with guided conversations

50 lines 1.72 kB
/** * Additional secure configuration constants for InfoMate Chatbot API Service * Supplements the main constants/defaults.ts file */ /** * Security and configuration limits for API service */ export declare const SECURITY_CONFIG: { readonly MAX_MESSAGE_LENGTH: 1000; readonly REQUEST_TIMEOUT: 30000; readonly RETRY_ATTEMPTS: 3; readonly SESSION_STORAGE_KEY: "infomate_session_tracking"; readonly MAX_CONVERSATION_HISTORY: 50; readonly MAX_FEEDBACK_COMMENT_LENGTH: 500; }; /** * Additional API endpoints for secure service */ export declare const ADDITIONAL_API_ENDPOINTS: { readonly health: "/health"; readonly sessionValidate: "/session/validate"; readonly conversationHistory: "/conversation/history"; readonly feedback: "/feedback"; }; /** * Additional error messages not in defaults.ts */ export declare const ADDITIONAL_ERROR_MESSAGES: { readonly SESSION_EXPIRED: "Session has expired, please refresh"; readonly INVALID_INPUT: "Invalid input provided"; readonly SERVICE_UNAVAILABLE: "Service temporarily unavailable"; readonly NETWORK_ERROR: "Network connection error"; readonly RATE_LIMIT_EXCEEDED: "You have exceeded your limit.. please upgrade the plan"; }; /** * HTTP status codes for reference */ export declare const HTTP_STATUS: { readonly OK: 200; readonly CREATED: 201; readonly BAD_REQUEST: 400; readonly UNAUTHORIZED: 401; readonly FORBIDDEN: 403; readonly NOT_FOUND: 404; readonly TOO_MANY_REQUESTS: 429; readonly INTERNAL_SERVER_ERROR: 500; readonly SERVICE_UNAVAILABLE: 503; }; export { API_ENDPOINTS, ERROR_MESSAGES, DEFAULT_CONFIG } from './defaults'; //# sourceMappingURL=secure.d.ts.map