@lambda-development/erp-core 0.1.18 → 0.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,6 +43,7 @@ interface ChatContextValue {
43
43
  loadMoreHistory: (sessionId: string) => Promise<void>;
44
44
  clearHistory: (sessionId: string) => Promise<void>;
45
45
  sendMessage: (sessionId: string, content: string, attachmentIds?: string[]) => boolean;
46
+ transcribeAudio: (audioBase64: string, audioFormat: string, sessionId?: string) => Promise<string>;
46
47
  getMessages: (sessionId?: string) => ChatMessage[];
47
48
  hasMoreHistory: (sessionId?: string) => boolean;
48
49
  isLoadingOlder: (sessionId?: string) => boolean;
@@ -401,7 +401,12 @@ declare const _default: {
401
401
  "attachTitle": "Datei anhängen (PDF oder Bild, max. 10 MB)",
402
402
  "creating": "Chat wird erstellt...",
403
403
  "dropToAttach": "Datei zum Anhängen ablegen (Bilder oder PDF, je max. 10 MB)",
404
- "demoError": "Demo konnte nicht gestartet werden"
404
+ "demoError": "Demo konnte nicht gestartet werden",
405
+ "voiceStart": "Sprachnachricht aufnehmen",
406
+ "voiceStop": "Aufnahme stoppen",
407
+ "voiceTranscribing": "Wird transkribiert...",
408
+ "micDenied": "Zugriff auf das Mikrofon wurde verweigert.",
409
+ "transcribeFailed": "Transkription fehlgeschlagen. Bitte erneut versuchen."
405
410
  },
406
411
  "tutorial": {
407
412
  "pageTitle": "Erste Schritte mit Lambda ERP",
@@ -325,7 +325,12 @@ declare const _default: {
325
325
  "attachTitle": "Attach file (PDF or image, max 10 MB)",
326
326
  "creating": "Creating chat...",
327
327
  "dropToAttach": "Drop file to attach (images or PDF, max 10 MB each)",
328
- "demoError": "Could not start demo"
328
+ "demoError": "Could not start demo",
329
+ "voiceStart": "Record voice message",
330
+ "voiceStop": "Stop recording",
331
+ "voiceTranscribing": "Transcribing...",
332
+ "micDenied": "Microphone access was denied.",
333
+ "transcribeFailed": "Transcription failed. Please try again."
329
334
  },
330
335
  "conversions": {
331
336
  "Create Credit Note": "Create Credit Note",
@@ -401,7 +401,12 @@ declare const _default: {
401
401
  "attachTitle": "Joindre un fichier (PDF ou image, max 10 Mo)",
402
402
  "creating": "Création du chat...",
403
403
  "dropToAttach": "Déposez un fichier à joindre (images ou PDF, max 10 Mo chacun)",
404
- "demoError": "Impossible de démarrer la démo"
404
+ "demoError": "Impossible de démarrer la démo",
405
+ "voiceStart": "Enregistrer un message vocal",
406
+ "voiceStop": "Arrêter l'enregistrement",
407
+ "voiceTranscribing": "Transcription...",
408
+ "micDenied": "L'accès au microphone a été refusé.",
409
+ "transcribeFailed": "Échec de la transcription. Veuillez réessayer."
405
410
  },
406
411
  "tutorial": {
407
412
  "pageTitle": "Premiers pas avec Lambda ERP",