@rodrigobeber/patoai-dtos 1.5.16 → 1.5.18

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.
@@ -1,4 +1,3 @@
1
- export type VoiceUnion = "alloy" | "ash" | "coral" | "echo" | "fable" | "onyx" | "nova" | "sage" | "shimmer";
2
1
  export declare enum VoiceModeEnum {
3
2
  REPEAT_USER_FIXED = "R",
4
3
  VOICE_FIXED = "V",
@@ -18,6 +17,6 @@ export interface SetThreadVoiceModeDto {
18
17
  }
19
18
  export interface VoiceSettingsDto {
20
19
  speed: number;
21
- voice: VoiceUnion;
20
+ voice: string;
22
21
  mode: VoiceModeEnum;
23
22
  }
@@ -16,4 +16,5 @@ export * from './sync-assistant.dto';
16
16
  export * from './sync-assistant-files.dto';
17
17
  export * from './submit-tool-outputs.dto';
18
18
  export * from './text-to-speech.dto';
19
+ export * from './update-thread-message.dto';
19
20
  export * from './ai-response.dto';
@@ -32,5 +32,6 @@ __exportStar(require("./sync-assistant.dto"), exports);
32
32
  __exportStar(require("./sync-assistant-files.dto"), exports);
33
33
  __exportStar(require("./submit-tool-outputs.dto"), exports);
34
34
  __exportStar(require("./text-to-speech.dto"), exports);
35
+ __exportStar(require("./update-thread-message.dto"), exports);
35
36
  // return intarfaces
36
37
  __exportStar(require("./ai-response.dto"), exports);
@@ -0,0 +1,7 @@
1
+ export interface UpdateThreadMessageDto {
2
+ aiKey: string;
3
+ threadId: string;
4
+ messageId: string;
5
+ role: string;
6
+ content: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,6 @@
1
- import { VoiceUnion } from "../chat/voice.dto";
2
1
  export interface VoiceMessageDto {
3
- aiKey: string;
2
+ idCrew: number;
4
3
  idThread: number;
5
- voice: VoiceUnion;
4
+ voice: string;
6
5
  speed?: number;
7
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rodrigobeber/patoai-dtos",
3
- "version": "1.5.16",
3
+ "version": "1.5.18",
4
4
  "description": "Data Transfer Objects for PatoAI",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",