Skip to content

IAV-533/This MR implements the backend integration for customer care agent configuration, covering tone/style, keyword filtering, and language settings.

salaheddine zidani a demandé de fusionner feature/IAV-533 vers develop

Overview

This MR implements the backend integration for customer care agent configuration, covering tone/style, keyword filtering, and language settings.

Changes

Configuration & API Layer

  • agent-api-service.config.ts: Centralized REST API routes for customer care agent configurations (tone/style, keywords, languages)
  • agent.service.api.ts: New Axios-based API service layer for configuration endpoints

State Management

  • agent.store.ts: New Zustand store managing state, loading, and updates for tone/style, languages, and keyword configurations

Type Definitions

  • agent.types.ts: Added response Types, enums, and request types for all three configuration domains

UI Components Integration

  • tone-style-section.tsx: Connected to backend for fetching and updating tone/style settings
  • filtering-section.tsx: Integrated with store to retrieve and persist blocked keywords list
  • languages-section.tsx: Connected to backend for auto-detection, default language, and per-language activation settings

Technical Details

  • Centralized API configuration for maintainability
  • Zustand for reactive state management
  • Type-safe API interactions with TypeScript
  • Separation of concerns between API, store, and UI layers

Closes IAV-533, IAV-534 and IAV-535

Rapports de requête de fusion