@iblai/iblai-js 1.17.14 → 1.17.17
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.
|
@@ -212957,7 +212957,7 @@ function CallConfigSection({ org, userId, mentorId, isDisabled, labels, voicePic
|
|
|
212957
212957
|
? pickedOpenaiVoice !== null && pickedOpenaiVoice !== void 0 ? pickedOpenaiVoice : inlineVoiceObject
|
|
212958
212958
|
: pickedGoogleVoice !== null && pickedGoogleVoice !== void 0 ? pickedGoogleVoice : inlineVoiceObject;
|
|
212959
212959
|
const providerDisplayName = llmProviderDisplayName(form.llm_provider);
|
|
212960
|
-
return (jsxs("div", { className: "space-y-2
|
|
212960
|
+
return (jsxs("div", { className: "space-y-2", children: [jsx(Label, { className: "text-sm font-medium text-[#646464]", children: "Voice" }), jsx("p", { className: "text-xs text-gray-500", children: "The voice your agent uses on calls." }), jsx(VoicePickerTrigger, { org: org, userId: userId, provider: voiceProvider, selectedVoice: selectedVoice, onSelect: (v) => {
|
|
212961
212961
|
if (isOpenAiVoice) {
|
|
212962
212962
|
setPickedOpenaiVoice(v);
|
|
212963
212963
|
updateField('openai_voice_id', v.id);
|
|
@@ -213121,7 +213121,7 @@ function AgentVoiceTab({ labels: labelsOverride, defaultSubTab = 'voice', render
|
|
|
213121
213121
|
: 'border-gray-200 bg-white hover:border-gray-300', isDisabledOption && 'cursor-not-allowed opacity-60'), children: [jsxs("div", { className: "flex items-center gap-2", children: [jsx("span", { className: "flex h-6 w-6 flex-shrink-0 items-center justify-center", children: option.logo.type === 'image' ? (jsx(Image$4, { src: option.logo.src, alt: option.logo.alt, width: 24, height: 24, className: "h-6 w-6 object-contain" })) : (jsx(option.logo.Icon, { className: "h-5 w-5 text-blue-600", "aria-hidden": "true" })) }), jsx("span", { className: "text-sm font-medium text-gray-900", children: option.label })] }), jsx("p", { className: "text-xs text-gray-500", children: option.description })] }, option.value));
|
|
213122
213122
|
}) })] })) }), (provider === 'openai' || provider === 'google') && (jsx(WithFormPermissions, { name: provider === 'openai' ? 'openai_voice' : 'google_voice',
|
|
213123
213123
|
// @ts-expect-error permissions.field is opaque
|
|
213124
|
-
permissions: (_l = mentorSettings === null || mentorSettings === void 0 ? void 0 : mentorSettings.permissions) === null || _l === void 0 ? void 0 : _l.field, enableRBAC: enableRBAC, children: ({ disabled }) => (jsxs("div", { className: "space-y-2", children: [jsx(Label, { className: "text-sm font-medium text-[#646464]", children:
|
|
213124
|
+
permissions: (_l = mentorSettings === null || mentorSettings === void 0 ? void 0 : mentorSettings.permissions) === null || _l === void 0 ? void 0 : _l.field, enableRBAC: enableRBAC, children: ({ disabled }) => (jsxs("div", { className: "space-y-2", children: [jsx(Label, { className: "text-sm font-medium text-[#646464]", children: "Voice" }), jsx(VoicePickerTrigger, { org: tenantKey, userId: username, provider: provider, selectedVoice: selectedVoice, onSelect: onSelectVoice, disabled: isDisabled || disabled, labels: labels.mentorVoice, modalTitle: `Select ${labels.mentorVoice.voicePickerLabel[provider]}`, modalDescription: "Search, browse, and listen to a sample before you pick.", testId: "mentor-voice-trigger" })] })) })), jsx("div", { className: "flex items-center justify-end border-t border-gray-100 pt-3", children: jsx(Button$1, { type: "button", onClick: handleSaveVoice, disabled: isDisabled || !isDirty, "data-testid": "voice-save-button", className: "bg-gradient-to-r from-[#2563EB] to-[#93C5FD] text-white hover:opacity-90", children: isSavingMentor
|
|
213125
213125
|
? labels.mentorVoice.savingButton
|
|
213126
213126
|
: labels.mentorVoice.saveButton }) })] }), jsxs(TabsContent, { value: SUB_TAB_VALUES.callConfig, className: "space-y-4", children: [jsx("p", { className: "text-xs text-gray-600", children: labels.callConfig.description }), mentorId && username && tenantKey && (jsx(CallConfigSection, { org: tenantKey, userId: username, mentorId: mentorId, isDisabled: isDisabled, labels: labels.callConfig, voicePickerLabels: labels.mentorVoice, initialConfig: (_m = mentorSettings === null || mentorSettings === void 0 ? void 0 : mentorSettings.call_configuration) !== null && _m !== void 0 ? _m : null, renderPromptContent: renderPromptContent, toastLabels: {
|
|
213127
213127
|
saved: labels.toasts.callConfigSaved,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iblai/iblai-js",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.17",
|
|
4
4
|
"description": "Unified JavaScript SDK for IBL.ai — re-exports data-layer, web-containers, and web-utils under a single package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -68,8 +68,8 @@
|
|
|
68
68
|
"winston": "3.19.0",
|
|
69
69
|
"@iblai/data-layer": "1.7.5",
|
|
70
70
|
"@iblai/mcp": "1.5.6",
|
|
71
|
-
"@iblai/web-containers": "1.8.
|
|
72
|
-
"@iblai/web-utils": "1.10.
|
|
71
|
+
"@iblai/web-containers": "1.8.13",
|
|
72
|
+
"@iblai/web-utils": "1.10.8"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"@radix-ui/react-dialog": "^1.1.7",
|