@8wave/ai-elements 0.121.0-beta.34 → 0.121.0-beta.36
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/_chunks/{Agent-BPIcUM9P.js → Agent-C3m0UmlL.js} +21 -3
- package/dist/_chunks/Agent-C3m0UmlL.js.map +1 -0
- package/dist/_chunks/{PkStreamingMarkdown-C8_9bk_Y.js → PkStreamingMarkdown--PCkA4Fg.js} +3 -3
- package/dist/_chunks/{PkStreamingMarkdown-C8_9bk_Y.js.map → PkStreamingMarkdown--PCkA4Fg.js.map} +1 -1
- package/dist/_chunks/{PkToolEditSpreadsheet-DM5BCKd2.js → PkToolEditSpreadsheet-DAMWWIVt.js} +2 -2
- package/dist/_chunks/{PkToolEditSpreadsheet-DM5BCKd2.js.map → PkToolEditSpreadsheet-DAMWWIVt.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestGeolocation-DnZFIG1Q.js → PkToolRequestGeolocation-BgsvQb7Q.js} +2 -2
- package/dist/_chunks/{PkToolRequestGeolocation-DnZFIG1Q.js.map → PkToolRequestGeolocation-BgsvQb7Q.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-9LX5kQ43.js → PkToolRequestOAuthConnection-DtuZw7yk.js} +2 -2
- package/dist/_chunks/{PkToolRequestOAuthConnection-9LX5kQ43.js.map → PkToolRequestOAuthConnection-DtuZw7yk.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-2ovT7cCd.js → PkToolShowArtifact-B163OvqY.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-2ovT7cCd.js.map → PkToolShowArtifact-B163OvqY.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-Bkoa-XYM.js → PkToolShowContactForm-C_ptr7Xs.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-Bkoa-XYM.js.map → PkToolShowContactForm-C_ptr7Xs.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-CvAgDlx8.js → PkToolShowForm-fburTpQm.js} +3 -3
- package/dist/_chunks/{PkToolShowForm-CvAgDlx8.js.map → PkToolShowForm-fburTpQm.js.map} +1 -1
- package/dist/_chunks/{PkToolShowImageGallery-CjA-r8o5.js → PkToolShowImageGallery-ChauJukk.js} +2 -2
- package/dist/_chunks/{PkToolShowImageGallery-CjA-r8o5.js.map → PkToolShowImageGallery-ChauJukk.js.map} +1 -1
- package/dist/_chunks/{PkToolShowProductList-DGPs57sX.js → PkToolShowProductList-B_XZezYw.js} +2 -2
- package/dist/_chunks/{PkToolShowProductList-DGPs57sX.js.map → PkToolShowProductList-B_XZezYw.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-BVuYkrXs.js → PkToolShowSources-CS4nEuL0.js} +3 -3
- package/dist/_chunks/{PkToolShowSources-BVuYkrXs.js.map → PkToolShowSources-CS4nEuL0.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-B869o1YP.js → PkToolShowSuggestedReply-BIe56XdA.js} +2 -2
- package/dist/_chunks/{PkToolShowSuggestedReply-B869o1YP.js.map → PkToolShowSuggestedReply-BIe56XdA.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-DayRkHzW.js → PkToolShowVideo-DzU1XJqv.js} +2 -2
- package/dist/_chunks/{PkToolShowVideo-DayRkHzW.js.map → PkToolShowVideo-DzU1XJqv.js.map} +1 -1
- package/dist/_chunks/{PkToolShowWebPages-DTwnqmP-.js → PkToolShowWebPages-BlKe8Arf.js} +2 -2
- package/dist/_chunks/{PkToolShowWebPages-DTwnqmP-.js.map → PkToolShowWebPages-BlKe8Arf.js.map} +1 -1
- package/dist/_chunks/{chatImagePolicy-IKP98mdB.js → chatImagePolicy-ChSkpiw6.js} +2 -2
- package/dist/_chunks/{chatImagePolicy-IKP98mdB.js.map → chatImagePolicy-ChSkpiw6.js.map} +1 -1
- package/dist/_chunks/{markdown-D7lXKAr4.js → markdown-D3iMlF6T.js} +2 -2
- package/dist/_chunks/{markdown-D7lXKAr4.js.map → markdown-D3iMlF6T.js.map} +1 -1
- package/dist/ai-elements.es.js +76 -34
- package/dist/ai-elements.es.js.map +1 -1
- package/dist-vue/PkChatbot.js +1 -1
- package/dist-vue/PkChatbotEmptyState.js +1 -1
- package/dist-vue/PkChatbotInput.js +1 -1
- package/dist-vue/PkChatbotMessages.js +1 -1
- package/dist-vue/PkChatbotStepPayload.js +1 -1
- package/dist-vue/PkChatbotStepToolDetail.js +1 -1
- package/dist-vue/PkChatbotSteps.js +1 -1
- package/dist-vue/PkChatbotViewChat.js +1 -1
- package/dist-vue/PkChatbotViewConversations.js +1 -1
- package/dist-vue/PkChatbotViewFiles.js +1 -1
- package/dist-vue/PkChatbotViewProfile.js +1 -1
- package/dist-vue/_chunks/{Agent-D70vAgX4.js → Agent-3IHYHv05.js} +153 -137
- package/dist-vue/_chunks/Agent-3IHYHv05.js.map +1 -0
- package/dist-vue/_chunks/{Document-Bo4xInDb.js → Document-B0A_y6N5.js} +10 -10
- package/dist-vue/_chunks/{Document-Bo4xInDb.js.map → Document-B0A_y6N5.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-65tNfhpY.js → PkChatbot-Bu76hH4F.js} +8 -8
- package/dist-vue/_chunks/{PkChatbot-65tNfhpY.js.map → PkChatbot-Bu76hH4F.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-CcRoSIb7.js → PkChatbotEmptyState-ilPJoYjk.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-CcRoSIb7.js.map → PkChatbotEmptyState-ilPJoYjk.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-BeXWvNLw.js → PkChatbotInput-CY0YRGkG.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotInput-BeXWvNLw.js.map → PkChatbotInput-CY0YRGkG.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-BGOyBww5.js → PkChatbotMessages-BfKqJ8n_.js} +20 -20
- package/dist-vue/_chunks/{PkChatbotMessages-BGOyBww5.js.map → PkChatbotMessages-BfKqJ8n_.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-DsqiKy3M.js → PkChatbotStepPayload-CiEcIlzW.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-DsqiKy3M.js.map → PkChatbotStepPayload-CiEcIlzW.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-Bg4IBzGh.js → PkChatbotStepToolDetail-VqLkuWi7.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-Bg4IBzGh.js.map → PkChatbotStepToolDetail-VqLkuWi7.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-DfeBzC1S.js → PkChatbotSteps-CoDtEaL7.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-DfeBzC1S.js.map → PkChatbotSteps-CoDtEaL7.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-Cj3MKRFE.js → PkChatbotViewChat-t-XkwFbe.js} +7 -7
- package/dist-vue/_chunks/{PkChatbotViewChat-Cj3MKRFE.js.map → PkChatbotViewChat-t-XkwFbe.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-GqapFcx3.js → PkChatbotViewConversations-CgRMohUQ.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewConversations-GqapFcx3.js.map → PkChatbotViewConversations-CgRMohUQ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-B-P6z7eN.js → PkChatbotViewFiles-DkeysDGW.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-B-P6z7eN.js.map → PkChatbotViewFiles-DkeysDGW.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-Bbu10IMd.js → PkChatbotViewProfile-kgqu10ED.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-Bbu10IMd.js.map → PkChatbotViewProfile-kgqu10ED.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-BFrymqYD.js → PkStreamingMarkdown-CDlpb5w0.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-BFrymqYD.js.map → PkStreamingMarkdown-CDlpb5w0.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-CfNQMSWR.js → PkToolEditSpreadsheet-D0EPgCmp.js} +2 -2
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-CfNQMSWR.js.map → PkToolEditSpreadsheet-D0EPgCmp.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-DvO0z7sQ.js → PkToolRequestGeolocation-DZnJd1od.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-DvO0z7sQ.js.map → PkToolRequestGeolocation-DZnJd1od.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CTqtzwJm.js → PkToolRequestOAuthConnection-C8MGtBlh.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CTqtzwJm.js.map → PkToolRequestOAuthConnection-C8MGtBlh.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-BKZKi6J4.js → PkToolShowArtifact-CtXB1-vJ.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-BKZKi6J4.js.map → PkToolShowArtifact-CtXB1-vJ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-CWpQaNOh.js → PkToolShowContactForm-DlZdfcNw.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-CWpQaNOh.js.map → PkToolShowContactForm-DlZdfcNw.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-DElkZZVV.js → PkToolShowDiagram-BUUjmUpE.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-DElkZZVV.js.map → PkToolShowDiagram-BUUjmUpE.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-BnM1fsi4.js → PkToolShowForm-DxiiMSCC.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-BnM1fsi4.js.map → PkToolShowForm-DxiiMSCC.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-CzcPqcoS.js → PkToolShowImageGallery-D01aM-9U.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-CzcPqcoS.js.map → PkToolShowImageGallery-D01aM-9U.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-Cpf5SLLk.js → PkToolShowProductList-BRMF3WJf.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-Cpf5SLLk.js.map → PkToolShowProductList-BRMF3WJf.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-E7BcGvof.js → PkToolShowSources-C0_MwX7m.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-E7BcGvof.js.map → PkToolShowSources-C0_MwX7m.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-JTMiOpHZ.js → PkToolShowSuggestedReply-BcjKYwbk.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-JTMiOpHZ.js.map → PkToolShowSuggestedReply-BcjKYwbk.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-DFdmzUkS.js → PkToolShowVideo-CjjoQH7j.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-DFdmzUkS.js.map → PkToolShowVideo-CjjoQH7j.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-CG_Mq77j.js → PkToolShowWebPages-B5reGh4g.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-CG_Mq77j.js.map → PkToolShowWebPages-B5reGh4g.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-BTrOwIYi.js → createChatbotApiClient-DcLpptlt.js} +18 -18
- package/dist-vue/_chunks/{createChatbotApiClient-BTrOwIYi.js.map → createChatbotApiClient-DcLpptlt.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-KjeThRAo.js → useChatbotStore-BliRphuB.js} +1012 -1012
- package/dist-vue/_chunks/{useChatbotStore-KjeThRAo.js.map → useChatbotStore-BliRphuB.js.map} +1 -1
- package/dist-vue/_chunks/{utils-Bf29zWlC.js → utils-C7-KrzRE.js} +7 -7
- package/dist-vue/_chunks/{utils-Bf29zWlC.js.map → utils-C7-KrzRE.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +64 -22
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +5290 -5285
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +4 -12
- package/dist-vue/packages/components/src/agentGlyphs.d.ts +5 -4
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +10 -2
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +1 -1
- package/dist-vue/packages/models/src/schema/Agent.d.ts +58 -6
- package/dist-vue/packages/models/src/schema/Chat.d.ts +1 -1
- package/dist-vue/packages/models/src/schema/Invitation.d.ts +1 -1
- package/dist-vue/packages/models/src/schema/Lead.d.ts +5 -5
- package/dist-vue/packages/models/src/schema/Member.d.ts +4 -1
- package/dist-vue/packages/models/src/schema/SignInSecurity.d.ts +1 -1
- package/package.json +1 -1
- package/dist/_chunks/Agent-BPIcUM9P.js.map +0 -1
- package/dist-vue/_chunks/Agent-D70vAgX4.js.map +0 -1
package/dist-vue/locales.js
CHANGED
|
@@ -23,6 +23,7 @@ var e = {
|
|
|
23
23
|
expand: "Expand",
|
|
24
24
|
reviewPageAccessRisk: "Review and accept the risk",
|
|
25
25
|
acceptPageAccessRisk: "I understand and accept",
|
|
26
|
+
manageAgentMemberAccess: "Manage access",
|
|
26
27
|
select: "Select",
|
|
27
28
|
useColorsForAgentHeader: "Use color for header",
|
|
28
29
|
welcomePopup: "Show welcome popup",
|
|
@@ -426,7 +427,7 @@ var e = {
|
|
|
426
427
|
voiceId: "Cloned voices are not allowed here.",
|
|
427
428
|
freshnessScaleExplanationMonths: "A document updated today gets a +{weight} bonus. This bonus halves to +{halfWeight} after {half} days and practically drops to zero (+{zeroWeight}) after {zero} days (approx. {months} months).",
|
|
428
429
|
freshnessScaleExplanationDays: "A document updated today gets a +{weight} bonus. This bonus halves to +{halfWeight} after {half} days and practically drops to zero (+{zeroWeight}) after {zero} days.",
|
|
429
|
-
reasoningVisibility: "A reasoning agent is
|
|
430
|
+
reasoningVisibility: "A reasoning agent is used within its organization only: Organization or Private.",
|
|
430
431
|
agentOnOwnEndpoint: "This agent runs on your organization's endpoint.",
|
|
431
432
|
providerTimeoutMs: "1000-789000, then the next one. BYOK only.",
|
|
432
433
|
showExtendedSteps: "Shows reasoning and tool calls as an expandable timeline in the chat.",
|
|
@@ -530,11 +531,6 @@ var e = {
|
|
|
530
531
|
active: "Active",
|
|
531
532
|
inactive: "Inactive"
|
|
532
533
|
},
|
|
533
|
-
visibility: {
|
|
534
|
-
public: "Public",
|
|
535
|
-
private: "Signed-in users",
|
|
536
|
-
organization: "Organization only"
|
|
537
|
-
},
|
|
538
534
|
searchMode: {
|
|
539
535
|
balanced: "Balanced (vector + keywords)",
|
|
540
536
|
semantic: "Semantic (vector only)",
|
|
@@ -770,6 +766,7 @@ var e = {
|
|
|
770
766
|
expand: "Espandi",
|
|
771
767
|
reviewPageAccessRisk: "Leggi e accetta il rischio",
|
|
772
768
|
acceptPageAccessRisk: "Ho capito e accetto",
|
|
769
|
+
manageAgentMemberAccess: "Gestisci accesso",
|
|
773
770
|
select: "Seleziona",
|
|
774
771
|
useColorsForAgentHeader: "Colora l'intestazione",
|
|
775
772
|
welcomePopup: "Mostra popup di benvenuto",
|
|
@@ -1173,7 +1170,7 @@ var e = {
|
|
|
1173
1170
|
voiceId: "Le voci clonate qui non sono ammesse.",
|
|
1174
1171
|
freshnessScaleExplanationMonths: "Un documento modificato oggi ottiene un bonus di +{weight}. Il bonus si dimezza a +{halfWeight} dopo {half} giorni e si azzera praticamente (+{zeroWeight}) dopo {zero} giorni (circa {months} mesi).",
|
|
1175
1172
|
freshnessScaleExplanationDays: "Un documento modificato oggi ottiene un bonus di +{weight}. Il bonus si dimezza a +{halfWeight} dopo {half} giorni e si azzera praticamente (+{zeroWeight}) dopo {zero} giorni.",
|
|
1176
|
-
reasoningVisibility: "Un agente reasoning
|
|
1173
|
+
reasoningVisibility: "Un agente reasoning si usa solo nell'organizzazione: Organizzazione oppure Privato.",
|
|
1177
1174
|
agentOnOwnEndpoint: "Questo agente gira sull’endpoint della tua organizzazione.",
|
|
1178
1175
|
providerTimeoutMs: "1000-789000, poi il successivo. Solo BYOK.",
|
|
1179
1176
|
showExtendedSteps: "Visualizza la timeline con il ragionamento e gli strumenti nella chat.",
|
|
@@ -1277,11 +1274,6 @@ var e = {
|
|
|
1277
1274
|
active: "Attivo",
|
|
1278
1275
|
inactive: "Inattivo"
|
|
1279
1276
|
},
|
|
1280
|
-
visibility: {
|
|
1281
|
-
public: "Pubblico",
|
|
1282
|
-
private: "Utenti registrati",
|
|
1283
|
-
organization: "Solo organizzazione"
|
|
1284
|
-
},
|
|
1285
1277
|
searchMode: {
|
|
1286
1278
|
balanced: "Bilanciato (vettoriale + parole chiave)",
|
|
1287
1279
|
semantic: "Semantico (solo vettoriale)",
|
|
@@ -17,10 +17,11 @@
|
|
|
17
17
|
* Visibility used to be a padlock for all three values, and the open one sat
|
|
18
18
|
* on "public": that reads as "unprotected", which is both alarming and untrue.
|
|
19
19
|
* Each glyph now says who can use the agent: the globe for anyone, the
|
|
20
|
-
* shielded user for anyone signed in, the building for the organization
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* padlock made it read as the
|
|
20
|
+
* shielded user for anyone signed in, the building for the organization, the
|
|
21
|
+
* padlock for the members enabled one by one. "private" kept a closed padlock
|
|
22
|
+
* for a while, but it is the wider of the closed values (any signed-in
|
|
23
|
+
* account, of any organization), and the padlock made it read as the
|
|
24
|
+
* narrowest: it belongs to `restricted`, the one labelled "Private".
|
|
24
25
|
*/
|
|
25
26
|
export declare const AGENT_STATUS_GLYPHS: Record<string, string>;
|
|
26
27
|
export declare const AGENT_VISIBILITY_GLYPHS: Record<string, string>;
|
|
@@ -23,6 +23,12 @@ type __VLS_Props = {
|
|
|
23
23
|
* Absent, the picker falls back to the built-in list.
|
|
24
24
|
*/
|
|
25
25
|
catalog?: ModelCatalogEntry[];
|
|
26
|
+
/**
|
|
27
|
+
* The host can open the dialog of who uses the agent among the
|
|
28
|
+
* members: the panel offers it under the visibility, for the two
|
|
29
|
+
* values that depend on the members, and emits `manageAccess`.
|
|
30
|
+
*/
|
|
31
|
+
manageAccess?: boolean;
|
|
26
32
|
};
|
|
27
33
|
type __VLS_ModelProps = {
|
|
28
34
|
'agentId'?: string;
|
|
@@ -137,9 +143,9 @@ type __VLS_ModelProps = {
|
|
|
137
143
|
} | undefined;
|
|
138
144
|
};
|
|
139
145
|
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
140
|
-
declare var
|
|
146
|
+
declare var __VLS_848: {};
|
|
141
147
|
type __VLS_Slots = {} & {
|
|
142
|
-
default?: (props: typeof
|
|
148
|
+
default?: (props: typeof __VLS_848) => any;
|
|
143
149
|
};
|
|
144
150
|
declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
145
151
|
"update:reasoning": (value: {
|
|
@@ -406,6 +412,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
406
412
|
candidatesLimit: number;
|
|
407
413
|
};
|
|
408
414
|
} | undefined) => any;
|
|
415
|
+
manageAccess: () => any;
|
|
409
416
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
410
417
|
"onUpdate:reasoning"?: ((value: {
|
|
411
418
|
openai?: {
|
|
@@ -671,6 +678,7 @@ declare const __VLS_base: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, Com
|
|
|
671
678
|
candidatesLimit: number;
|
|
672
679
|
};
|
|
673
680
|
} | undefined) => any) | undefined;
|
|
681
|
+
onManageAccess?: (() => any) | undefined;
|
|
674
682
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
675
683
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
676
684
|
declare const _default: typeof __VLS_export;
|
|
@@ -1944,7 +1944,7 @@ export declare function useChatbotStore(agentId: string): Store<`chatbot-${strin
|
|
|
1944
1944
|
navigate: (view: ChatbotView) => void;
|
|
1945
1945
|
renameChatTitle: (chatId: string, title: string) => Promise<void>;
|
|
1946
1946
|
deleteChat: (chatId: string) => Promise<void>;
|
|
1947
|
-
}, "name" | "input" | "model" | "externalContext" | "gatewayOptions" | "fallbackModels" | "
|
|
1947
|
+
}, "name" | "input" | "model" | "externalContext" | "gatewayOptions" | "fallbackModels" | "userId" | "agentId" | "headers" | "conversations" | "agentModel" | "agentType" | "baseUrl" | "basePath" | "agentInterface" | "agentTools" | "revisedAnswers" | "actionsInput" | "agentFileUpload" | "agentVoice" | "agentHostTools" | "hostToolRegistry" | "hostToolsPending" | "agentPageAccess" | "pageToolRegistry" | "pageFormsProvider" | "pageAction" | "pageControlActive" | "isWorking" | "hostConfirmation" | "pageAccessOff" | "systemTheme" | "hideWelcomeMessage" | "isLoadingConversations" | "chatFiles" | "isLoadingChatFiles" | "pendingAttachments" | "fileLimitError" | "isConversationBlocked" | "chatError" | "activeView" | "messageFeedbacks" | "feedbackDialogMessage" | "isFeedbackSubmitting" | "isFeedbackSubmitted" | "feedbackSubmitError" | "isLeadSubmitted" | "isLoadingSubmitLead" | "submitLeadError">, Pick<{
|
|
1948
1948
|
apiClient: globalThis.ComputedRef< ChatbotApiClient>;
|
|
1949
1949
|
baseUrl: globalThis.Ref<string, string>;
|
|
1950
1950
|
basePath: globalThis.Ref<string | undefined, string | undefined>;
|
|
@@ -6,11 +6,23 @@ export declare enum AgentStatus {
|
|
|
6
6
|
Active = "active",
|
|
7
7
|
Inactive = "inactive"
|
|
8
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* Who uses an agent. The stored values outlived their labels: `private` is
|
|
11
|
+
* "Signed-in users" (any account, of any organization), and the narrowest,
|
|
12
|
+
* "Private", is `restricted` (owners, admins and the members enabled for it).
|
|
13
|
+
*/
|
|
9
14
|
export declare enum AgentVisibility {
|
|
10
15
|
Public = "public",
|
|
11
16
|
Private = "private",
|
|
12
|
-
Organization = "organization"
|
|
17
|
+
Organization = "organization",
|
|
18
|
+
Restricted = "restricted"
|
|
13
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* The visibilities that depend on the members of the agent's organization:
|
|
22
|
+
* the only two a reasoning agent may have, and the two whose access is managed
|
|
23
|
+
* from the agent's page.
|
|
24
|
+
*/
|
|
25
|
+
export declare const MEMBER_AGENT_VISIBILITIES: readonly AgentVisibility[];
|
|
14
26
|
export declare enum AgentType {
|
|
15
27
|
Chat = "chat",
|
|
16
28
|
Reasoning = "reasoning"
|
|
@@ -3536,11 +3548,13 @@ export type AgentAccess = z.infer<typeof AgentAccessSchema>;
|
|
|
3536
3548
|
/**
|
|
3537
3549
|
* The agents enabled for a member, and whether the member is limited to them.
|
|
3538
3550
|
* Not `limited`, the member uses every organization agent (the default);
|
|
3539
|
-
* `limited`, only those of `agentIds`, none when it is empty.
|
|
3540
|
-
*
|
|
3541
|
-
*
|
|
3542
|
-
*
|
|
3543
|
-
* and
|
|
3551
|
+
* `limited`, only those of `agentIds`, none when it is empty. A Private agent
|
|
3552
|
+
* a member uses only when it is in `agentIds`, limited or not. Owners and
|
|
3553
|
+
* admins pass it whatever it says. `id` is the member's user id (the
|
|
3554
|
+
* invitation's for an invitation), so the frontend store caches it as a keyed
|
|
3555
|
+
* entity. Both the GET response and the PUT body of the backoffice
|
|
3556
|
+
* `/members/:userId/agent-access` and `/invitations/:invitationId/agent-access`
|
|
3557
|
+
* endpoints.
|
|
3544
3558
|
*/
|
|
3545
3559
|
export declare const MemberAgentAccessSchema: z.ZodObject<{
|
|
3546
3560
|
id: z.ZodUUID;
|
|
@@ -3548,6 +3562,44 @@ export declare const MemberAgentAccessSchema: z.ZodObject<{
|
|
|
3548
3562
|
agentIds: z.ZodArray<z.ZodUUID>;
|
|
3549
3563
|
}, z.core.$strip>;
|
|
3550
3564
|
export type MemberAgentAccess = z.infer<typeof MemberAgentAccessSchema>;
|
|
3565
|
+
/** A member of the organization as the access dialog of an agent lists them. */
|
|
3566
|
+
export declare const AgentMemberAccessEntrySchema: z.ZodObject<{
|
|
3567
|
+
userId: z.ZodUUID;
|
|
3568
|
+
name: z.ZodString;
|
|
3569
|
+
email: z.ZodString;
|
|
3570
|
+
manager: z.ZodBoolean;
|
|
3571
|
+
limited: z.ZodBoolean;
|
|
3572
|
+
enabled: z.ZodBoolean;
|
|
3573
|
+
uses: z.ZodBoolean;
|
|
3574
|
+
}, z.core.$strip>;
|
|
3575
|
+
export type AgentMemberAccessEntry = z.infer<typeof AgentMemberAccessEntrySchema>;
|
|
3576
|
+
/**
|
|
3577
|
+
* Who uses an agent among the members of its organization: the response of
|
|
3578
|
+
* the backoffice `/agents/:id/member-access` endpoints. `id` is the agent's.
|
|
3579
|
+
*/
|
|
3580
|
+
export declare const AgentMemberAccessSchema: z.ZodObject<{
|
|
3581
|
+
id: z.ZodUUID;
|
|
3582
|
+
members: z.ZodArray<z.ZodObject<{
|
|
3583
|
+
userId: z.ZodUUID;
|
|
3584
|
+
name: z.ZodString;
|
|
3585
|
+
email: z.ZodString;
|
|
3586
|
+
manager: z.ZodBoolean;
|
|
3587
|
+
limited: z.ZodBoolean;
|
|
3588
|
+
enabled: z.ZodBoolean;
|
|
3589
|
+
uses: z.ZodBoolean;
|
|
3590
|
+
}, z.core.$strip>>;
|
|
3591
|
+
}, z.core.$strip>;
|
|
3592
|
+
export type AgentMemberAccess = z.infer<typeof AgentMemberAccessSchema>;
|
|
3593
|
+
/**
|
|
3594
|
+
* The PUT body of the backoffice `/agents/:id/member-access` endpoint: the
|
|
3595
|
+
* members enabled for the agent. It replaces the agent's rows and nothing
|
|
3596
|
+
* else: whether a member is limited is a choice made on the member.
|
|
3597
|
+
*/
|
|
3598
|
+
export declare const AgentMemberAccessUpdateSchema: z.ZodObject<{
|
|
3599
|
+
id: z.ZodUUID;
|
|
3600
|
+
userIds: z.ZodArray<z.ZodUUID>;
|
|
3601
|
+
}, z.core.$strip>;
|
|
3602
|
+
export type AgentMemberAccessUpdate = z.infer<typeof AgentMemberAccessUpdateSchema>;
|
|
3551
3603
|
export declare const AgentsQuerystringSchema: z.ZodObject<{
|
|
3552
3604
|
ids: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
3553
3605
|
"filter[fullText]": z.ZodOptional<z.ZodString>;
|
|
@@ -628,8 +628,8 @@ export declare const ChatsQuerystringSchema: z.ZodObject<{
|
|
|
628
628
|
"to[lastMessageAt]": z.ZodOptional<z.ZodString>;
|
|
629
629
|
"from[updatedAt]": z.ZodOptional<z.ZodString>;
|
|
630
630
|
"to[updatedAt]": z.ZodOptional<z.ZodString>;
|
|
631
|
-
"filter[agentId]": z.ZodOptional<z.ZodString | z.ZodArray<z.ZodString>>;
|
|
632
631
|
"filter[userId]": z.ZodOptional<z.ZodString | z.ZodArray<z.ZodString>>;
|
|
632
|
+
"filter[agentId]": z.ZodOptional<z.ZodString | z.ZodArray<z.ZodString>>;
|
|
633
633
|
sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
634
634
|
createdAt: "createdAt";
|
|
635
635
|
updatedAt: "updatedAt";
|
|
@@ -19,8 +19,8 @@ export declare const InvitationsQuerystringSchema: z.ZodObject<{
|
|
|
19
19
|
"filter[fullText]": z.ZodOptional<z.ZodString>;
|
|
20
20
|
sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
21
21
|
createdAt: "createdAt";
|
|
22
|
-
"-createdAt": "-createdAt";
|
|
23
22
|
email: "email";
|
|
23
|
+
"-createdAt": "-createdAt";
|
|
24
24
|
"-email": "-email";
|
|
25
25
|
}>>>;
|
|
26
26
|
'page[number]': z.ZodDefault<z.ZodPipe<z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>>;
|
|
@@ -49,8 +49,8 @@ export declare const LeadConversationContextSchema: z.ZodObject<{
|
|
|
49
49
|
}>;
|
|
50
50
|
preferredContactMethod: z.ZodOptional<z.ZodEnum<{
|
|
51
51
|
any: "any";
|
|
52
|
-
whatsapp: "whatsapp";
|
|
53
52
|
email: "email";
|
|
53
|
+
whatsapp: "whatsapp";
|
|
54
54
|
phone: "phone";
|
|
55
55
|
}>>;
|
|
56
56
|
preferredContactTime: z.ZodOptional<z.ZodEnum<{
|
|
@@ -102,8 +102,8 @@ export declare const LeadCreateDtoSchema: z.ZodObject<{
|
|
|
102
102
|
}>;
|
|
103
103
|
preferredContactMethod: z.ZodOptional<z.ZodEnum<{
|
|
104
104
|
any: "any";
|
|
105
|
-
whatsapp: "whatsapp";
|
|
106
105
|
email: "email";
|
|
106
|
+
whatsapp: "whatsapp";
|
|
107
107
|
phone: "phone";
|
|
108
108
|
}>>;
|
|
109
109
|
preferredContactTime: z.ZodOptional<z.ZodEnum<{
|
|
@@ -128,8 +128,8 @@ export declare const LeadCreateDtoSchema: z.ZodObject<{
|
|
|
128
128
|
export declare const LeadSubmissionSchema: z.ZodObject<{
|
|
129
129
|
name: z.ZodString;
|
|
130
130
|
chatId: z.ZodString;
|
|
131
|
-
agentId: z.ZodString;
|
|
132
131
|
email: z.ZodEmail;
|
|
132
|
+
agentId: z.ZodString;
|
|
133
133
|
}, z.core.$strip>;
|
|
134
134
|
/**
|
|
135
135
|
* Lead update schema for PUT endpoint (private/backoffice)
|
|
@@ -165,8 +165,8 @@ export declare const LeadUpdateDtoSchema: z.ZodObject<{
|
|
|
165
165
|
}>;
|
|
166
166
|
preferredContactMethod: z.ZodOptional<z.ZodEnum<{
|
|
167
167
|
any: "any";
|
|
168
|
-
whatsapp: "whatsapp";
|
|
169
168
|
email: "email";
|
|
169
|
+
whatsapp: "whatsapp";
|
|
170
170
|
phone: "phone";
|
|
171
171
|
}>>;
|
|
172
172
|
preferredContactTime: z.ZodOptional<z.ZodEnum<{
|
|
@@ -196,10 +196,10 @@ export declare const LeadsQuerystringSchema: z.ZodObject<{
|
|
|
196
196
|
id: "id";
|
|
197
197
|
createdAt: "createdAt";
|
|
198
198
|
updatedAt: "updatedAt";
|
|
199
|
+
email: "email";
|
|
199
200
|
"-id": "-id";
|
|
200
201
|
"-createdAt": "-createdAt";
|
|
201
202
|
"-updatedAt": "-updatedAt";
|
|
202
|
-
email: "email";
|
|
203
203
|
"-email": "-email";
|
|
204
204
|
lastName: "lastName";
|
|
205
205
|
"-lastName": "-lastName";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { AgentVisibility } from './Agent';
|
|
1
2
|
import { StoragePolicy } from './Media';
|
|
2
3
|
import * as z from 'zod';
|
|
3
4
|
/**
|
|
@@ -16,6 +17,7 @@ export declare const MemberAgentAccessSummarySchema: z.ZodObject<{
|
|
|
16
17
|
agents: z.ZodArray<z.ZodObject<{
|
|
17
18
|
id: z.ZodString;
|
|
18
19
|
name: z.ZodString;
|
|
20
|
+
visibility: z.ZodEnum<typeof AgentVisibility>;
|
|
19
21
|
}, z.core.$strip>>;
|
|
20
22
|
}, z.core.$strip>;
|
|
21
23
|
export type MemberAgentAccessSummary = z.infer<typeof MemberAgentAccessSummarySchema>;
|
|
@@ -35,6 +37,7 @@ export declare const MemberSchema: z.ZodObject<{
|
|
|
35
37
|
agents: z.ZodArray<z.ZodObject<{
|
|
36
38
|
id: z.ZodString;
|
|
37
39
|
name: z.ZodString;
|
|
40
|
+
visibility: z.ZodEnum<typeof AgentVisibility>;
|
|
38
41
|
}, z.core.$strip>>;
|
|
39
42
|
}, z.core.$strip>>;
|
|
40
43
|
user: z.ZodObject<{
|
|
@@ -208,9 +211,9 @@ export declare const MembersQuerystringSchema: z.ZodObject<{
|
|
|
208
211
|
sort: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
209
212
|
name: "name";
|
|
210
213
|
createdAt: "createdAt";
|
|
214
|
+
email: "email";
|
|
211
215
|
"-name": "-name";
|
|
212
216
|
"-createdAt": "-createdAt";
|
|
213
|
-
email: "email";
|
|
214
217
|
"-email": "-email";
|
|
215
218
|
}>>>;
|
|
216
219
|
'page[number]': z.ZodDefault<z.ZodPipe<z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>>;
|
|
@@ -147,10 +147,10 @@ export declare const SignInSecurityUsersQuerystringSchema: z.ZodObject<{
|
|
|
147
147
|
name: "name";
|
|
148
148
|
createdAt: "createdAt";
|
|
149
149
|
updatedAt: "updatedAt";
|
|
150
|
+
email: "email";
|
|
150
151
|
"-name": "-name";
|
|
151
152
|
"-createdAt": "-createdAt";
|
|
152
153
|
"-updatedAt": "-updatedAt";
|
|
153
|
-
email: "email";
|
|
154
154
|
"-email": "-email";
|
|
155
155
|
}>>>;
|
|
156
156
|
'page[number]': z.ZodDefault<z.ZodPipe<z.ZodUnion<[z.ZodNumber, z.ZodString]>, z.ZodTransform<number, string | number>>>;
|