@pagelines/sdk 1.0.763 → 1.0.765
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.
- package/dist/AgentWrap.js +3 -3
- package/dist/AgentWrap.js.map +1 -1
- package/dist/agent/ui/ElCreateAgent.vue.d.ts +4 -2
- package/dist/agent/voice/providers/elevenlabs/provider.d.ts +13 -0
- package/dist/contract.js +989 -913
- package/dist/contract.js.map +1 -1
- package/dist/demo/index.d.ts +2 -1
- package/dist/provider2.js.map +1 -1
- package/dist/sdkClient.d.ts +6 -3
- package/dist/widget/composables/useWidgetState.d.ts +6 -3
- package/dist/widget.js +1 -1
- package/package.json +1 -1
|
@@ -68,7 +68,8 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
68
68
|
handle: string;
|
|
69
69
|
}[] | null | undefined;
|
|
70
70
|
model?: string | null | undefined;
|
|
71
|
-
|
|
71
|
+
gender?: "woman" | "man" | undefined;
|
|
72
|
+
voiceKey?: "warm" | "natural" | "bright" | "gentle" | "grounded" | "relaxed" | "thoughtful" | "articulate" | "easygoing" | null | undefined;
|
|
72
73
|
billingTier?: "essential" | "professional" | "business" | undefined;
|
|
73
74
|
lastActiveAt?: string | null | undefined;
|
|
74
75
|
lastMessageAt?: string | null | undefined;
|
|
@@ -205,7 +206,8 @@ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {
|
|
|
205
206
|
handle: string;
|
|
206
207
|
}[] | null | undefined;
|
|
207
208
|
model?: string | null | undefined;
|
|
208
|
-
|
|
209
|
+
gender?: "woman" | "man" | undefined;
|
|
210
|
+
voiceKey?: "warm" | "natural" | "bright" | "gentle" | "grounded" | "relaxed" | "thoughtful" | "articulate" | "easygoing" | null | undefined;
|
|
209
211
|
billingTier?: "essential" | "professional" | "business" | undefined;
|
|
210
212
|
lastActiveAt?: string | null | undefined;
|
|
211
213
|
lastMessageAt?: string | null | undefined;
|
|
@@ -13,6 +13,19 @@ interface ElevenLabsConversation {
|
|
|
13
13
|
type StartSession = (options: {
|
|
14
14
|
conversationToken: string;
|
|
15
15
|
connectionType: 'webrtc';
|
|
16
|
+
/**
|
|
17
|
+
* Per-conversation voice. NOT sent today: an agent that does not permit
|
|
18
|
+
* overrides REJECTS the session outright rather than ignoring the field, so
|
|
19
|
+
* sending it broke every call in production on 2026-08-03. Restore the
|
|
20
|
+
* `overrides` argument below only once both base agents have override
|
|
21
|
+
* permissions enabled in the ElevenLabs dashboard — the mint already
|
|
22
|
+
* resolves and ships the right voice id.
|
|
23
|
+
*/
|
|
24
|
+
overrides?: {
|
|
25
|
+
tts?: {
|
|
26
|
+
voiceId?: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
16
29
|
onDisconnect: () => void;
|
|
17
30
|
onError: (message: string) => void;
|
|
18
31
|
}) => Promise<ElevenLabsConversation>;
|