@8wave/ai-elements 0.111.0 → 0.112.0-beta.13
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-tE7ZJPxG.js → Agent-DTLrWpzX.js} +138 -135
- package/dist/_chunks/Agent-DTLrWpzX.js.map +1 -0
- package/dist/_chunks/Media-Cft7Pwrh.js.map +1 -1
- package/dist/_chunks/{PkStreamingMarkdown-CNI8aV8t.js → PkStreamingMarkdown-CRlRDGYl.js} +3 -3
- package/dist/_chunks/PkStreamingMarkdown-CRlRDGYl.js.map +1 -0
- package/dist/_chunks/{PkToolRequestGeolocation-BP5yJQIW.js → PkToolRequestGeolocation-BbxYKt-9.js} +5 -5
- package/dist/_chunks/{PkToolRequestGeolocation-BP5yJQIW.js.map → PkToolRequestGeolocation-BbxYKt-9.js.map} +1 -1
- package/dist/_chunks/{PkToolRequestOAuthConnection-4SqtPTCS.js → PkToolRequestOAuthConnection-CTp2w60F.js} +5 -5
- package/dist/_chunks/{PkToolRequestOAuthConnection-4SqtPTCS.js.map → PkToolRequestOAuthConnection-CTp2w60F.js.map} +1 -1
- package/dist/_chunks/{PkToolShowArtifact-6f-Kx9AS.js → PkToolShowArtifact-CNnt82aH.js} +2 -2
- package/dist/_chunks/{PkToolShowArtifact-6f-Kx9AS.js.map → PkToolShowArtifact-CNnt82aH.js.map} +1 -1
- package/dist/_chunks/{PkToolShowContactForm-BewhenPx.js → PkToolShowContactForm-D77gyjQG.js} +2 -2
- package/dist/_chunks/{PkToolShowContactForm-BewhenPx.js.map → PkToolShowContactForm-D77gyjQG.js.map} +1 -1
- package/dist/_chunks/{PkToolShowForm-C45JD6jS.js → PkToolShowForm-DP4LLAk3.js} +22 -22
- package/dist/_chunks/{PkToolShowForm-C45JD6jS.js.map → PkToolShowForm-DP4LLAk3.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSources-DlBfHwkg.js → PkToolShowSources-Bwy0Ptmi.js} +5 -5
- package/dist/_chunks/{PkToolShowSources-DlBfHwkg.js.map → PkToolShowSources-Bwy0Ptmi.js.map} +1 -1
- package/dist/_chunks/{PkToolShowSuggestedReply-DzoRQESi.js → PkToolShowSuggestedReply-CFO8wV1b.js} +5 -5
- package/dist/_chunks/{PkToolShowSuggestedReply-DzoRQESi.js.map → PkToolShowSuggestedReply-CFO8wV1b.js.map} +1 -1
- package/dist/_chunks/{PkToolShowVideo-Djr8Ofsz.js → PkToolShowVideo-p6Y9j3-B.js} +3 -3
- package/dist/_chunks/PkToolShowVideo-p6Y9j3-B.js.map +1 -0
- package/dist/_chunks/{browser-B0Xnbqi7.js → browser-Ct5TRDgj.js} +521 -518
- package/dist/_chunks/{browser-B0Xnbqi7.js.map → browser-Ct5TRDgj.js.map} +1 -1
- package/dist/_chunks/{Document-Bmx6774B.js → markdown-BRD-hDrH.js} +70 -72
- package/dist/_chunks/markdown-BRD-hDrH.js.map +1 -0
- package/dist/ai-elements.es.js +1571 -1481
- 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/PkChatbotError.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-De2gFNjR.js → Agent-BNlmK-uJ.js} +96 -87
- package/dist-vue/_chunks/Agent-BNlmK-uJ.js.map +1 -0
- package/dist-vue/_chunks/{Document-8umjeTVS.js → Document-B6RpxFr9.js} +69 -71
- package/dist-vue/_chunks/Document-B6RpxFr9.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbot-CloRPTIX.js → PkChatbot-C0pf6xeZ.js} +8 -8
- package/dist-vue/_chunks/{PkChatbot-CloRPTIX.js.map → PkChatbot-C0pf6xeZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-BtzBYOHJ.js → PkChatbotEmptyState-CacY4o02.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-BtzBYOHJ.js.map → PkChatbotEmptyState-CacY4o02.js.map} +1 -1
- package/dist-vue/_chunks/PkChatbotError-CuX9C_b9.js +89 -0
- package/dist-vue/_chunks/PkChatbotError-CuX9C_b9.js.map +1 -0
- package/dist-vue/_chunks/{PkChatbotInput-MSpF6SB6.js → PkChatbotInput-Dkz3SNAk.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotInput-MSpF6SB6.js.map → PkChatbotInput-Dkz3SNAk.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-r9D-kFvX.js → PkChatbotMessages-HbKhrhbg.js} +182 -182
- package/dist-vue/_chunks/{PkChatbotMessages-r9D-kFvX.js.map → PkChatbotMessages-HbKhrhbg.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-XW4gT9AZ.js → PkChatbotStepPayload-DU0W-eUp.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-XW4gT9AZ.js.map → PkChatbotStepPayload-DU0W-eUp.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-C4-K6Glw.js → PkChatbotStepToolDetail-etlBryOg.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-C4-K6Glw.js.map → PkChatbotStepToolDetail-etlBryOg.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-CrqjWpv0.js → PkChatbotSteps-jW07Q-4x.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-CrqjWpv0.js.map → PkChatbotSteps-jW07Q-4x.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-DP0EUTDu.js → PkChatbotViewChat-DdxvITNb.js} +7 -7
- package/dist-vue/_chunks/{PkChatbotViewChat-DP0EUTDu.js.map → PkChatbotViewChat-DdxvITNb.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-DRKaeLbv.js → PkChatbotViewConversations-CWSrP36z.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewConversations-DRKaeLbv.js.map → PkChatbotViewConversations-CWSrP36z.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-hzlJUf0f.js → PkChatbotViewFiles-DzLp1WfU.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-hzlJUf0f.js.map → PkChatbotViewFiles-DzLp1WfU.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-D2XZ8Czi.js → PkChatbotViewProfile-CHbn3W6F.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-D2XZ8Czi.js.map → PkChatbotViewProfile-CHbn3W6F.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-D0IOaETI.js → PkStreamingMarkdown-BoEpwaYQ.js} +2 -2
- package/dist-vue/_chunks/{PkStreamingMarkdown-D0IOaETI.js.map → PkStreamingMarkdown-BoEpwaYQ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-Q3N3jlO8.js → PkToolRequestGeolocation-9vfYNaQo.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-Q3N3jlO8.js.map → PkToolRequestGeolocation-9vfYNaQo.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-lYoTJIF_.js → PkToolRequestOAuthConnection-BorR5NmZ.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-lYoTJIF_.js.map → PkToolRequestOAuthConnection-BorR5NmZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-DHdJuzDi.js → PkToolShowArtifact-BnwU7CV2.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-DHdJuzDi.js.map → PkToolShowArtifact-BnwU7CV2.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-CotIwNhi.js → PkToolShowContactForm-_x_dbiHn.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-CotIwNhi.js.map → PkToolShowContactForm-_x_dbiHn.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-BAdJMmt7.js → PkToolShowDiagram-BWCBuXH8.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-BAdJMmt7.js.map → PkToolShowDiagram-BWCBuXH8.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowEmail-DF__nKpR.js → PkToolShowEmail-CRQjoJr1.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowEmail-DF__nKpR.js.map → PkToolShowEmail-CRQjoJr1.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-Dx10jOXm.js → PkToolShowForm-IPAkJIXh.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-Dx10jOXm.js.map → PkToolShowForm-IPAkJIXh.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowMessage-Ck6VP-gw.js → PkToolShowMessage-joTzAg9N.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowMessage-Ck6VP-gw.js.map → PkToolShowMessage-joTzAg9N.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-zfM8cx-l.js → PkToolShowProductList-tOYjd2bq.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-zfM8cx-l.js.map → PkToolShowProductList-tOYjd2bq.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-Dlaz2Y77.js → PkToolShowSources-Cc26LzRd.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowSources-Dlaz2Y77.js.map → PkToolShowSources-Cc26LzRd.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DWLkUh2L.js → PkToolShowSuggestedReply-DA4NEjHB.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-DWLkUh2L.js.map → PkToolShowSuggestedReply-DA4NEjHB.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-Bv9kMd88.js → PkToolShowVideo-BZOTu2Qe.js} +3 -3
- package/dist-vue/_chunks/PkToolShowVideo-BZOTu2Qe.js.map +1 -0
- package/dist-vue/_chunks/{PkToolShowWebPages-CosBYLrE.js → PkToolShowWebPages-D3Xy4iUs.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-CosBYLrE.js.map → PkToolShowWebPages-D3Xy4iUs.js.map} +1 -1
- package/dist-vue/_chunks/{PkUrl-B5CNTQj9.js → PkUrl-BgMBemSz.js} +2 -2
- package/dist-vue/_chunks/{PkUrl-B5CNTQj9.js.map → PkUrl-BgMBemSz.js.map} +1 -1
- package/dist-vue/_chunks/StreamError-D1AtGgS3.js +22 -0
- package/dist-vue/_chunks/StreamError-D1AtGgS3.js.map +1 -0
- package/dist-vue/_chunks/{createChatbotApiClient-MkaPbGWB.js → createChatbotApiClient-CaVLm5W9.js} +162 -126
- package/dist-vue/_chunks/createChatbotApiClient-CaVLm5W9.js.map +1 -0
- package/dist-vue/_chunks/{useChatbotStore-BowmAdfD.js → useChatbotStore-CMS2zFht.js} +861 -889
- package/dist-vue/_chunks/useChatbotStore-CMS2zFht.js.map +1 -0
- package/dist-vue/_chunks/{utils-C1666_6C.js → utils-h4C7rRcu.js} +3 -3
- package/dist-vue/_chunks/{utils-C1666_6C.js.map → utils-h4C7rRcu.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +3 -3
- package/dist-vue/index.js +3676 -3451
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/locales.js +38 -0
- package/dist-vue/packages/components/src/chat/PkAgentSettingsPanel.d.ts +6 -3
- package/dist-vue/packages/components/src/chat/PkLanguageModelCombobox.d.ts +7 -0
- package/dist-vue/packages/components/src/chat/PkMessageParts.d.ts +6 -6
- package/dist-vue/packages/components/src/chat/PkToolSelection.d.ts +8 -0
- package/dist-vue/packages/components/src/types.d.ts +7 -2
- package/dist-vue/packages/composable/src/chatbot/useChatbotStore.d.ts +139 -1
- package/dist-vue/packages/models/src/schema/Agent.d.ts +38 -0
- package/dist-vue/packages/models/src/schema/Chat.d.ts +120 -0
- package/dist-vue/packages/models/src/schema/ModelProvider.d.ts +130 -8
- package/dist-vue/packages/models/src/schema/Organization.d.ts +3 -3
- package/dist-vue/packages/models/src/schema/ReasoningChat.d.ts +7 -1
- package/dist-vue/packages/models/src/schema/StreamError.d.ts +13 -0
- package/dist-vue/packages/models/src/schema/SubAgent.d.ts +7 -1
- package/dist-vue/packages/models/src/schema/constants.d.ts +11 -1
- package/dist-vue/packages/models/src/utils.d.ts +17 -0
- package/dist-vue/style.css +1 -1
- package/package.json +2 -2
- package/dist/_chunks/Agent-tE7ZJPxG.js.map +0 -1
- package/dist/_chunks/Document-Bmx6774B.js.map +0 -1
- package/dist/_chunks/PkStreamingMarkdown-CNI8aV8t.js.map +0 -1
- package/dist/_chunks/PkToolShowVideo-Djr8Ofsz.js.map +0 -1
- package/dist-vue/_chunks/Agent-De2gFNjR.js.map +0 -1
- package/dist-vue/_chunks/Document-8umjeTVS.js.map +0 -1
- package/dist-vue/_chunks/PkChatbotError-gvDpRcEz.js +0 -106
- package/dist-vue/_chunks/PkChatbotError-gvDpRcEz.js.map +0 -1
- package/dist-vue/_chunks/PkToolShowVideo-Bv9kMd88.js.map +0 -1
- package/dist-vue/_chunks/createChatbotApiClient-MkaPbGWB.js.map +0 -1
- package/dist-vue/_chunks/useChatbotStore-BowmAdfD.js.map +0 -1
package/dist-vue/_chunks/{createChatbotApiClient-MkaPbGWB.js → createChatbotApiClient-CaVLm5W9.js}
RENAMED
|
@@ -1,63 +1,64 @@
|
|
|
1
1
|
import { C as e, S as t, _ as n, a as r, b as i, g as a, l as o, n as s, o as c, p as l, y as u } from "./schemas-DxbHVg3r.js";
|
|
2
|
-
import { i as d, t as
|
|
3
|
-
import { A as
|
|
2
|
+
import { i as d, t as f } from "./Media-_HfFLHGD.js";
|
|
3
|
+
import { A as ee, M as te, N as p, a as m, c as h, l as ne, n as re, p as ie, s as ae, u as oe, x as se } from "./Agent-BNlmK-uJ.js";
|
|
4
|
+
import { t as ce } from "./StreamError-D1AtGgS3.js";
|
|
4
5
|
import "./src-DT8FLE4_.js";
|
|
5
|
-
import { r as
|
|
6
|
-
import { Ability as
|
|
7
|
-
import { createAccessControl as
|
|
8
|
-
import { adminAc as
|
|
6
|
+
import { r as g, t as le } from "./url-validation-uLMZ5-AU.js";
|
|
7
|
+
import { Ability as ue, buildMongoQueryMatcher as de, createAliasResolver as fe } from "@casl/ability";
|
|
8
|
+
import { createAccessControl as pe } from "better-auth/plugins";
|
|
9
|
+
import { adminAc as me, defaultStatements as he, memberAc as _, ownerAc as ge } from "better-auth/plugins/organization/access";
|
|
9
10
|
//#region ../../packages/models/src/schema/ConversationAnalysis.ts
|
|
10
|
-
var
|
|
11
|
+
var _e = /* @__PURE__ */ function(e) {
|
|
11
12
|
return e.Harassment = "harassment", e.HateSpeech = "hate_speech", e.SexualContent = "sexual_content", e.SelfHarm = "self_harm", e.Violence = "violence", e.PromptInjection = "prompt_injection", e.DataExtraction = "data_extraction", e.Spam = "spam", e.OffTopicPersistent = "off_topic_persistent", e.Impersonation = "impersonation", e;
|
|
12
|
-
}({}),
|
|
13
|
+
}({}), v = /* @__PURE__ */ function(e) {
|
|
13
14
|
return e.Low = "low", e.Medium = "medium", e.High = "high", e;
|
|
14
|
-
}({}), ge = /* @__PURE__ */ function(e) {
|
|
15
|
-
return e.FalseSuccess = "false_success", e.Hallucination = "hallucination", e.OffBrand = "off_brand", e.DataLeak = "data_leak", e.InappropriateTone = "inappropriate_tone", e.RefusalLoop = "refusal_loop", e.Repetition = "repetition", e;
|
|
16
15
|
}({}), y = /* @__PURE__ */ function(e) {
|
|
17
|
-
return e.
|
|
16
|
+
return e.FalseSuccess = "false_success", e.Hallucination = "hallucination", e.OffBrand = "off_brand", e.DataLeak = "data_leak", e.InappropriateTone = "inappropriate_tone", e.RefusalLoop = "refusal_loop", e.Repetition = "repetition", e;
|
|
18
17
|
}({}), b = /* @__PURE__ */ function(e) {
|
|
19
|
-
return e.
|
|
18
|
+
return e.SummaryCycle = "summary_cycle", e.AgentRequest = "agent_request", e.Manual = "manual", e;
|
|
20
19
|
}({}), x = /* @__PURE__ */ function(e) {
|
|
21
|
-
return e.
|
|
20
|
+
return e.High = "high", e.Medium = "medium", e.Low = "low", e.Disengaged = "disengaged", e;
|
|
22
21
|
}({}), S = /* @__PURE__ */ function(e) {
|
|
23
|
-
return e.
|
|
22
|
+
return e.Polite = "polite", e.Neutral = "neutral", e.Impatient = "impatient", e.Aggressive = "aggressive", e.Abusive = "abusive", e;
|
|
24
23
|
}({}), C = /* @__PURE__ */ function(e) {
|
|
24
|
+
return e.Positive = "positive", e.Neutral = "neutral", e.Negative = "negative", e.Frustrated = "frustrated", e.Excited = "excited", e;
|
|
25
|
+
}({}), w = /* @__PURE__ */ function(e) {
|
|
25
26
|
return e.Improving = "improving", e.Stable = "stable", e.Degrading = "degrading", e;
|
|
26
|
-
}({}),
|
|
27
|
+
}({}), T = n({
|
|
27
28
|
analyzedAt: d().describe("When the analysis was generated."),
|
|
28
|
-
analysisTrigger: s(
|
|
29
|
-
sentiment: s(
|
|
30
|
-
sentimentTrend: s(
|
|
31
|
-
userTone: s(
|
|
29
|
+
analysisTrigger: s(b).describe("What triggered this analysis run."),
|
|
30
|
+
sentiment: s(C).describe("Overall user sentiment in the conversation."),
|
|
31
|
+
sentimentTrend: s(w).describe("How the user sentiment evolved during the conversation."),
|
|
32
|
+
userTone: s(S).describe("Predominant tone of the user messages."),
|
|
32
33
|
language: i().max(10).describe("ISO 639-1 language code of the conversation (e.g. \"en\", \"it\")."),
|
|
33
34
|
topics: r(i().max(100)).max(10).describe("Main topics discussed, as short lowercase labels."),
|
|
34
35
|
userAbuseDetected: c().describe("Whether user abuse was detected. If false, userAbuseCategories MUST be empty."),
|
|
35
|
-
userAbuseCategories: r(s(
|
|
36
|
-
userAbuseConfidence: s(
|
|
36
|
+
userAbuseCategories: r(s(_e)).default([]).describe("Abuse categories detected. Non-empty only if userAbuseDetected is true."),
|
|
37
|
+
userAbuseConfidence: s(v).optional().describe("Confidence level of the abuse detection. Set only if userAbuseDetected is true."),
|
|
37
38
|
userAbuseSummary: i().max(500).optional().describe("Brief description of the abusive behavior detected. Always write in English. Set only if userAbuseDetected is true."),
|
|
38
39
|
llmIssueDetected: c().describe("Whether an LLM quality issue was detected. If false, llmIssueCategories MUST be empty."),
|
|
39
|
-
llmIssueCategories: r(s(
|
|
40
|
+
llmIssueCategories: r(s(y)).default([]).describe("LLM issue categories detected. Non-empty only if llmIssueDetected is true."),
|
|
40
41
|
llmIssueSummary: i().max(500).optional().describe("Brief description of the LLM quality issue detected. Always write in English. Set only if llmIssueDetected is true."),
|
|
41
|
-
userEngagement: s(
|
|
42
|
+
userEngagement: s(x).describe("Level of user engagement in the conversation."),
|
|
42
43
|
conversationGoalMet: c().optional().describe("Whether the user seems to have achieved what they came for. Leave undefined if unclear."),
|
|
43
44
|
riskScore: a().int().min(0).max(100).describe("Overall risk score (0 = safe, 100 = critical). Combination of abuse severity, persistence and escalation.")
|
|
44
|
-
}),
|
|
45
|
+
}), E = n({
|
|
45
46
|
type: l("text"),
|
|
46
47
|
text: i()
|
|
47
|
-
}),
|
|
48
|
+
}), D = n({
|
|
48
49
|
type: l("file"),
|
|
49
|
-
mediaType: i().regex(
|
|
50
|
+
mediaType: i().regex(f),
|
|
50
51
|
url: e(),
|
|
51
52
|
filename: i().optional(),
|
|
52
53
|
providerMetadata: u(i(), u(i(), t())).optional()
|
|
53
|
-
}),
|
|
54
|
+
}), O = o("type", [E, D]);
|
|
54
55
|
n({
|
|
55
56
|
id: i(),
|
|
56
57
|
messages: r(n({
|
|
57
58
|
id: i().optional(),
|
|
58
59
|
role: s(["assistant", "user"]),
|
|
59
60
|
content: i(),
|
|
60
|
-
parts: r(
|
|
61
|
+
parts: r(O),
|
|
61
62
|
createdAt: i().optional()
|
|
62
63
|
})),
|
|
63
64
|
model: i().optional(),
|
|
@@ -66,33 +67,68 @@ n({
|
|
|
66
67
|
maxOutputTokens: a().positive().optional(),
|
|
67
68
|
presencePenalty: a().min(-2).max(2).optional(),
|
|
68
69
|
frequencyPenalty: a().min(-2).max(2).optional(),
|
|
69
|
-
searchMode: s(
|
|
70
|
+
searchMode: s(ne).optional(),
|
|
70
71
|
limit: a().optional(),
|
|
71
|
-
ranking:
|
|
72
|
-
reasoning:
|
|
73
|
-
webSearch:
|
|
72
|
+
ranking: ae.optional(),
|
|
73
|
+
reasoning: h,
|
|
74
|
+
webSearch: ie.optional(),
|
|
74
75
|
maxStepCount: a().int().min(1).max(40).optional(),
|
|
75
|
-
disabledTools: r(s(
|
|
76
|
+
disabledTools: r(s(re)).optional(),
|
|
76
77
|
fallbackModels: r(i()).optional(),
|
|
77
|
-
gatewayOptions:
|
|
78
|
-
deviceContext:
|
|
78
|
+
gatewayOptions: m.partial().optional(),
|
|
79
|
+
deviceContext: ee.optional(),
|
|
79
80
|
externalContext: u(i(), t()).optional(),
|
|
80
81
|
smoothStream: c().optional()
|
|
81
82
|
}), n({
|
|
82
83
|
id: i().min(1),
|
|
83
84
|
messages: r(n({ role: i() }).loose()).min(1)
|
|
84
85
|
}).loose();
|
|
85
|
-
var
|
|
86
|
+
var k = /* @__PURE__ */ function(e) {
|
|
86
87
|
return e.SevereAbuse = "severe_abuse", e.HighRiskScore = "high_risk_score", e.RepeatedWarnings = "repeated_warnings", e;
|
|
87
88
|
}({});
|
|
88
89
|
s(/* @__PURE__ */ function(e) {
|
|
89
90
|
return e.Web = "web", e.WhatsApp = "whatsapp", e.Teams = "teams", e.Voice = "voice", e.Api = "api", e.Reasoning = "reasoning", e.Endpoint = "endpoint", e;
|
|
90
91
|
}({}));
|
|
91
|
-
|
|
92
|
+
function A(e) {
|
|
93
|
+
let t = e.metadata?.toolCatalogue, n = t?.workingSet;
|
|
94
|
+
if (!t || !n) return;
|
|
95
|
+
let r = new Map(t.groups.flatMap((e) => e.keys.map((t) => [t, e.id]))), i = new Map(t.groups.map((e) => [e.name, e.id])), a = /* @__PURE__ */ new Set(), o = /* @__PURE__ */ new Set();
|
|
96
|
+
for (let t of e.parts ?? []) {
|
|
97
|
+
let e = t.type === "dynamic-tool" ? t.toolName : t.type.startsWith("tool-") ? t.type.slice(5) : void 0;
|
|
98
|
+
if (!e) continue;
|
|
99
|
+
if (e === "enableTools") {
|
|
100
|
+
let e = t.state === "output-available" ? t.input?.groups : void 0;
|
|
101
|
+
for (let t of Array.isArray(e) ? e : []) {
|
|
102
|
+
let e = i.get(String(t));
|
|
103
|
+
e && o.add(e);
|
|
104
|
+
}
|
|
105
|
+
continue;
|
|
106
|
+
}
|
|
107
|
+
let n = te(e, r.keys()), s = n && r.get(n);
|
|
108
|
+
s && (t.state === "output-error" && ce.test(t.errorText ?? "") ? o.add(s) : a.add(s));
|
|
109
|
+
}
|
|
110
|
+
let s = new Set(n.selected), c = new Set(n.seeded), l = t.groups.map((e) => ({
|
|
111
|
+
id: e.id,
|
|
112
|
+
kind: e.kind,
|
|
113
|
+
name: e.name,
|
|
114
|
+
tools: e.keys.length,
|
|
115
|
+
probability: n.probabilities[e.id],
|
|
116
|
+
selected: s.has(e.id),
|
|
117
|
+
seeded: c.has(e.id),
|
|
118
|
+
enabled: o.has(e.id),
|
|
119
|
+
used: a.has(e.id)
|
|
120
|
+
})).sort((e, t) => (t.probability ?? -1) - (e.probability ?? -1) || e.name.localeCompare(t.name));
|
|
121
|
+
return {
|
|
122
|
+
decision: n,
|
|
123
|
+
groups: l,
|
|
124
|
+
missed: l.filter((e) => e.used && !e.selected).length
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
var j = /* @__PURE__ */ new Set([
|
|
92
128
|
"output-available",
|
|
93
129
|
"output-error",
|
|
94
130
|
"output-denied"
|
|
95
|
-
]),
|
|
131
|
+
]), M = n({
|
|
96
132
|
id: i(),
|
|
97
133
|
messages: r(t()),
|
|
98
134
|
title: i().nullable(),
|
|
@@ -109,29 +145,29 @@ var k = /* @__PURE__ */ new Set([
|
|
|
109
145
|
deleted: c(),
|
|
110
146
|
deletedAt: d().nullable(),
|
|
111
147
|
deletedBy: i().nullable(),
|
|
112
|
-
conversationAnalysis:
|
|
148
|
+
conversationAnalysis: T.nullable().optional(),
|
|
113
149
|
blocked: c(),
|
|
114
150
|
blockedAt: d().nullable(),
|
|
115
|
-
blockedReasonCode: s(
|
|
151
|
+
blockedReasonCode: s(k).nullable(),
|
|
116
152
|
blockedReason: i().nullable(),
|
|
117
153
|
warningCount: a(),
|
|
118
154
|
lastMessageAt: d()
|
|
119
155
|
});
|
|
120
156
|
n({
|
|
121
|
-
...
|
|
122
|
-
...
|
|
157
|
+
...p.pagination(),
|
|
158
|
+
...p.sort([
|
|
123
159
|
"updatedAt",
|
|
124
160
|
"createdAt",
|
|
125
161
|
"lastMessageAt"
|
|
126
162
|
]),
|
|
127
|
-
...
|
|
128
|
-
...
|
|
129
|
-
...
|
|
130
|
-
...
|
|
163
|
+
...p.filters(["agentId", "userId"]),
|
|
164
|
+
...p.range("updatedAt"),
|
|
165
|
+
...p.range("lastMessageAt"),
|
|
166
|
+
...p.ids(),
|
|
131
167
|
startDate: i().optional(),
|
|
132
168
|
endDate: i().optional()
|
|
133
169
|
});
|
|
134
|
-
var
|
|
170
|
+
var N = n({
|
|
135
171
|
id: i(),
|
|
136
172
|
agentId: i().optional(),
|
|
137
173
|
organizationId: i(),
|
|
@@ -143,7 +179,7 @@ var j = n({
|
|
|
143
179
|
lastMessageAt: d(),
|
|
144
180
|
messages: r(t()),
|
|
145
181
|
blocked: c()
|
|
146
|
-
}),
|
|
182
|
+
}), P = class {
|
|
147
183
|
constructor(e, t) {
|
|
148
184
|
this.operator = e, this.value = t, Object.defineProperty(this, "_notes", { writable: !0 });
|
|
149
185
|
}
|
|
@@ -153,22 +189,22 @@ var j = n({
|
|
|
153
189
|
addNote(e) {
|
|
154
190
|
this._notes = this._notes || [], this._notes.push(e);
|
|
155
191
|
}
|
|
156
|
-
},
|
|
192
|
+
}, F = class extends P {}, I = class extends F {
|
|
157
193
|
constructor(e, t) {
|
|
158
194
|
if (!Array.isArray(t)) throw Error(`"${e}" operator expects to receive an array of conditions`);
|
|
159
195
|
super(e, t);
|
|
160
196
|
}
|
|
161
|
-
},
|
|
197
|
+
}, ve = "__itself__", L = class extends P {
|
|
162
198
|
constructor(e, t, n) {
|
|
163
199
|
super(e, n), this.field = t;
|
|
164
200
|
}
|
|
165
|
-
},
|
|
201
|
+
}, ye = new F("__null__", null);
|
|
166
202
|
Object.hasOwn;
|
|
167
|
-
function
|
|
203
|
+
function be(e, t) {
|
|
168
204
|
let n;
|
|
169
205
|
for (let r = 0, i = t.length; r < i; r++) {
|
|
170
206
|
let i = t[r];
|
|
171
|
-
if (i instanceof
|
|
207
|
+
if (i instanceof I) {
|
|
172
208
|
if (i.operator !== e) {
|
|
173
209
|
n && n.push(i);
|
|
174
210
|
continue;
|
|
@@ -181,11 +217,11 @@ function _e(e, t) {
|
|
|
181
217
|
}
|
|
182
218
|
return n || t;
|
|
183
219
|
}
|
|
184
|
-
function
|
|
220
|
+
function xe(e, t) {
|
|
185
221
|
if (t.length === 1) return t[0];
|
|
186
|
-
if (t.length === 0) return new
|
|
187
|
-
let n =
|
|
188
|
-
return n.length === 1 ? n[0] : (n.length, new
|
|
222
|
+
if (t.length === 0) return new I(e, t);
|
|
223
|
+
let n = be(e, t);
|
|
224
|
+
return n.length === 1 ? n[0] : (n.length, new I(e, n));
|
|
189
225
|
}
|
|
190
226
|
Object.defineProperty(Object.create(null), "__@type@__", { value: "ignore value" });
|
|
191
227
|
//#endregion
|
|
@@ -199,100 +235,100 @@ var R = Object.defineProperty;
|
|
|
199
235
|
});
|
|
200
236
|
return t || R(n, Symbol.toStringTag, { value: "Module" }), n;
|
|
201
237
|
})({
|
|
202
|
-
$all: () =>
|
|
238
|
+
$all: () => De,
|
|
203
239
|
$and: () => z,
|
|
204
|
-
$elemMatch: () =>
|
|
240
|
+
$elemMatch: () => we,
|
|
205
241
|
$eq: () => G,
|
|
206
|
-
$exists: () =>
|
|
242
|
+
$exists: () => ke,
|
|
207
243
|
$gt: () => W,
|
|
208
244
|
$gte: () => U,
|
|
209
245
|
$in: () => H,
|
|
210
|
-
$lt: () =>
|
|
211
|
-
$lte: () =>
|
|
212
|
-
$mod: () =>
|
|
213
|
-
$ne: () =>
|
|
214
|
-
$nin: () =>
|
|
215
|
-
$nor: () =>
|
|
216
|
-
$not: () =>
|
|
217
|
-
$options: () =>
|
|
246
|
+
$lt: () => Ae,
|
|
247
|
+
$lte: () => je,
|
|
248
|
+
$mod: () => Oe,
|
|
249
|
+
$ne: () => Me,
|
|
250
|
+
$nin: () => Ee,
|
|
251
|
+
$nor: () => Se,
|
|
252
|
+
$not: () => Ce,
|
|
253
|
+
$options: () => Pe,
|
|
218
254
|
$or: () => B,
|
|
219
|
-
$regex: () =>
|
|
220
|
-
$size: () =>
|
|
221
|
-
$where: () =>
|
|
255
|
+
$regex: () => Ne,
|
|
256
|
+
$size: () => Te,
|
|
257
|
+
$where: () => Fe
|
|
222
258
|
});
|
|
223
259
|
var z = {
|
|
224
260
|
type: "compound",
|
|
225
261
|
validate: q,
|
|
226
262
|
parse(e, t, n) {
|
|
227
263
|
let r = V(e, t, n);
|
|
228
|
-
return
|
|
264
|
+
return xe(e.name, r);
|
|
229
265
|
}
|
|
230
|
-
}, B = z,
|
|
266
|
+
}, B = z, Se = {
|
|
231
267
|
type: "compound",
|
|
232
268
|
validate: q,
|
|
233
269
|
parse(e, t, n) {
|
|
234
270
|
let r = V(e, t, n);
|
|
235
|
-
return new
|
|
271
|
+
return new I(e.name, r);
|
|
236
272
|
}
|
|
237
273
|
};
|
|
238
274
|
function V(e, t, n) {
|
|
239
275
|
let r = Array(t.length);
|
|
240
276
|
for (let i = 0; i < t.length; i++) {
|
|
241
277
|
let a = t[i];
|
|
242
|
-
|
|
278
|
+
Le(e, a, i), r[i] = n.parse(a);
|
|
243
279
|
}
|
|
244
280
|
return r;
|
|
245
281
|
}
|
|
246
|
-
var
|
|
282
|
+
var Ce = {
|
|
247
283
|
type: "field",
|
|
248
284
|
validate(e, t) {
|
|
249
285
|
if (!(t && (t instanceof RegExp || t.constructor === Object))) throw Error(`"${e.name}" expects to receive either regular expression or object of field operators`);
|
|
250
286
|
},
|
|
251
287
|
parse(e, t, n) {
|
|
252
|
-
let r = t instanceof RegExp ? new
|
|
253
|
-
return new
|
|
288
|
+
let r = t instanceof RegExp ? new L("regex", n.field, t) : n.parse(t, n);
|
|
289
|
+
return new I(e.name, [r]);
|
|
254
290
|
}
|
|
255
|
-
},
|
|
291
|
+
}, we = {
|
|
256
292
|
type: "field",
|
|
257
293
|
validate(e, t) {
|
|
258
294
|
if (!t || t.constructor !== Object) throw Error(`"${e.name}" expects to receive an object with nested query or field level operators`);
|
|
259
295
|
},
|
|
260
296
|
parse(e, t, { parse: n, field: r, hasOperators: i }) {
|
|
261
|
-
let a = i(t) ? n(t, { field:
|
|
262
|
-
return new
|
|
297
|
+
let a = i(t) ? n(t, { field: ve }) : n(t);
|
|
298
|
+
return new L(e.name, r, a);
|
|
263
299
|
}
|
|
264
|
-
},
|
|
300
|
+
}, Te = {
|
|
265
301
|
type: "field",
|
|
266
|
-
validate:
|
|
302
|
+
validate: J("number")
|
|
267
303
|
}, H = {
|
|
268
304
|
type: "field",
|
|
269
305
|
validate: K
|
|
270
|
-
},
|
|
306
|
+
}, Ee = H, De = H, Oe = {
|
|
271
307
|
type: "field",
|
|
272
308
|
validate(e, t) {
|
|
273
309
|
if (!Array.isArray(t) || t.length !== 2) throw Error(`"${e.name}" expects an array with 2 numeric elements`);
|
|
274
310
|
}
|
|
275
|
-
},
|
|
311
|
+
}, ke = {
|
|
276
312
|
type: "field",
|
|
277
|
-
validate:
|
|
313
|
+
validate: J("boolean")
|
|
278
314
|
}, U = {
|
|
279
315
|
type: "field",
|
|
280
|
-
validate:
|
|
281
|
-
}, W = U,
|
|
316
|
+
validate: Ie
|
|
317
|
+
}, W = U, Ae = W, je = W, G = { type: "field" }, Me = G, Ne = {
|
|
282
318
|
type: "field",
|
|
283
319
|
validate(e, t) {
|
|
284
320
|
if (!(t instanceof RegExp) && typeof t != "string") throw Error(`"${e.name}" expects value to be a regular expression or a string that represents regular expression`);
|
|
285
321
|
},
|
|
286
322
|
parse(e, t, n) {
|
|
287
323
|
let r = typeof t == "string" ? new RegExp(t, n.query.$options || "") : t;
|
|
288
|
-
return new
|
|
324
|
+
return new L(e.name, n.field, r);
|
|
289
325
|
}
|
|
290
|
-
},
|
|
326
|
+
}, Pe = {
|
|
291
327
|
type: "field",
|
|
292
|
-
parse: () =>
|
|
293
|
-
},
|
|
328
|
+
parse: () => ye
|
|
329
|
+
}, Fe = {
|
|
294
330
|
type: "document",
|
|
295
|
-
validate:
|
|
331
|
+
validate: J("function")
|
|
296
332
|
};
|
|
297
333
|
function K(e, t) {
|
|
298
334
|
if (!Array.isArray(t)) throw Error(`"${e.name}" expects value to be an array`);
|
|
@@ -300,73 +336,73 @@ function K(e, t) {
|
|
|
300
336
|
function q(e, t) {
|
|
301
337
|
if (K(e, t), !t.length) throw Error(`"${e.name}" expects to have at least one element in array`);
|
|
302
338
|
}
|
|
303
|
-
function
|
|
339
|
+
function Ie(e, t) {
|
|
304
340
|
if (!(typeof t == "string" || typeof t == "number" || t instanceof Date)) throw Error(`"${e.name}" expects value to be comparable (i.e., string, number or date)`);
|
|
305
341
|
}
|
|
306
|
-
function
|
|
342
|
+
function J(e) {
|
|
307
343
|
return (t, n) => {
|
|
308
344
|
if (typeof n !== e) throw Error(`"${t.name}" expects value to be a "${e}"`);
|
|
309
345
|
};
|
|
310
346
|
}
|
|
311
|
-
function
|
|
347
|
+
function Le(e, t, n) {
|
|
312
348
|
let r = t;
|
|
313
349
|
if (!r || r.constructor !== Object) throw Error(`"${e.name}" expects item at index ${n} to be an object`);
|
|
314
350
|
}
|
|
315
351
|
//#endregion
|
|
316
352
|
//#region ../../packages/ability/src/types.ts
|
|
317
|
-
var
|
|
353
|
+
var Y = /* @__PURE__ */ function(e) {
|
|
318
354
|
return e.Backoffice = "backoffice", e.Frontoffice = "frontoffice", e.System = "system", e.Public = "public", e;
|
|
319
|
-
}({}),
|
|
355
|
+
}({}), X = /* @__PURE__ */ function(e) {
|
|
320
356
|
return e.All = "all", e.Todo = "todo", e.User = "user", e.Chat = "chat", e.Agent = "agent", e.SubAgent = "subAgent", e.Document = "document", e.AgentDocument = "agent_document", e.AgentAnalytic = "agent_analytic", e.McpServer = "mcp_server", e.Media = "media", e.RevisedAnswer = "revised_answer", e.Organization = "organization", e.Member = "member", e.Lead = "lead", e.MessageFeedback = "message_feedback", e.Backoffice = "backoffice", e.Frontoffice = "frontoffice", e.System = "system", e.Invitation = "invitation", e.Crawler = "crawler", e.ReasoningChat = "reasoning_chat", e.TimeTrackerChat = "time_tracker_chat", e.OrganizationExternalAuth = "organization_external_auth", e.AgentEndpoint = "agent_endpoint", e.AgentEndpointLog = "agent_endpoint_log", e.AgentApiTool = "agent_api_tool", e.DocumentFolder = "document_folder", e.Integration = "integration", e.Notification = "notification", e.PlatformConnection = "platform_connection", e;
|
|
321
|
-
}({}),
|
|
357
|
+
}({}), Re = (e) => e ? [
|
|
322
358
|
{
|
|
323
|
-
subject:
|
|
359
|
+
subject: X.Chat,
|
|
324
360
|
action: "create"
|
|
325
361
|
},
|
|
326
362
|
{
|
|
327
|
-
subject:
|
|
363
|
+
subject: X.Chat,
|
|
328
364
|
action: "read",
|
|
329
365
|
condition: { createdBy: { $eq: e.user?.id } }
|
|
330
366
|
},
|
|
331
367
|
{
|
|
332
|
-
subject:
|
|
368
|
+
subject: X.Chat,
|
|
333
369
|
action: "update"
|
|
334
370
|
},
|
|
335
371
|
{
|
|
336
|
-
subject:
|
|
372
|
+
subject: X.Chat,
|
|
337
373
|
action: "delete"
|
|
338
374
|
},
|
|
339
375
|
{
|
|
340
|
-
subject:
|
|
376
|
+
subject: X.Agent,
|
|
341
377
|
action: "read",
|
|
342
|
-
condition: { status: { $eq:
|
|
378
|
+
condition: { status: { $eq: oe.Active } }
|
|
343
379
|
},
|
|
344
380
|
{
|
|
345
|
-
subject:
|
|
381
|
+
subject: X.MessageFeedback,
|
|
346
382
|
action: "create"
|
|
347
383
|
},
|
|
348
384
|
{
|
|
349
|
-
subject:
|
|
385
|
+
subject: X.MessageFeedback,
|
|
350
386
|
action: "read",
|
|
351
387
|
condition: { createdBy: { $eq: e.user?.id } }
|
|
352
388
|
}
|
|
353
|
-
] : [],
|
|
389
|
+
] : [], ze = fe({ modify: [
|
|
354
390
|
"read",
|
|
355
391
|
"update",
|
|
356
392
|
"delete"
|
|
357
|
-
] }),
|
|
358
|
-
new
|
|
359
|
-
conditionsMatcher:
|
|
360
|
-
resolveAction:
|
|
393
|
+
] }), Z = de({ $or: B });
|
|
394
|
+
new ue(Re(), {
|
|
395
|
+
conditionsMatcher: Z,
|
|
396
|
+
resolveAction: ze,
|
|
361
397
|
fieldMatcher: (e) => (t) => e.includes(t)
|
|
362
398
|
});
|
|
363
|
-
var Q =
|
|
364
|
-
Q.newRole(
|
|
399
|
+
var Q = pe(he);
|
|
400
|
+
Q.newRole(me.statements), Q.newRole(ge.statements), Q.newRole(_.statements), Q.newRole(_.statements);
|
|
365
401
|
//#endregion
|
|
366
402
|
//#region ../../packages/composable/src/chatbot/api/resolveShortUrls.ts
|
|
367
|
-
async function
|
|
403
|
+
async function Be(e, t, n = {}) {
|
|
368
404
|
try {
|
|
369
|
-
let r =
|
|
405
|
+
let r = g(e), i = await fetch(`${r}/api/r/resolve`, {
|
|
370
406
|
method: "POST",
|
|
371
407
|
credentials: n.credentials ?? "include",
|
|
372
408
|
headers: {
|
|
@@ -382,12 +418,12 @@ async function Le(e, t, n = {}) {
|
|
|
382
418
|
}
|
|
383
419
|
//#endregion
|
|
384
420
|
//#region ../../packages/composable/src/chatbot/api/createChatbotApiClient.ts
|
|
385
|
-
var
|
|
421
|
+
var Ve = M.or(N);
|
|
386
422
|
function $(e) {
|
|
387
|
-
let t =
|
|
423
|
+
let t = Ve.safeParse(e);
|
|
388
424
|
return t.success ? t.data : e;
|
|
389
425
|
}
|
|
390
|
-
async function
|
|
426
|
+
async function He(e) {
|
|
391
427
|
let t = `${e.status} ${e.statusText}`.trim();
|
|
392
428
|
try {
|
|
393
429
|
let n = await e.json();
|
|
@@ -396,8 +432,8 @@ async function ze(e) {
|
|
|
396
432
|
return t;
|
|
397
433
|
}
|
|
398
434
|
}
|
|
399
|
-
function
|
|
400
|
-
let t = e.basePath ?
|
|
435
|
+
function Ue(e) {
|
|
436
|
+
let t = e.basePath ? le(e.basePath) : `/api/v1/${Y.Public}`, n = `${g(e.baseUrl)}${t}`, r = `${g(e.baseUrl)}${t.replace(/\/[^/]+$/, `/${Y.Frontoffice}`)}`;
|
|
401
437
|
async function i(t, r, i = "json") {
|
|
402
438
|
let a = await fetch(`${n}${t}`, {
|
|
403
439
|
credentials: e.credentials ?? "include",
|
|
@@ -407,7 +443,7 @@ function Be(e) {
|
|
|
407
443
|
...r?.headers
|
|
408
444
|
}
|
|
409
445
|
});
|
|
410
|
-
if (!a.ok) throw Error(await
|
|
446
|
+
if (!a.ok) throw Error(await He(a));
|
|
411
447
|
if (i !== "void" && a.status !== 204) return a.json();
|
|
412
448
|
}
|
|
413
449
|
return {
|
|
@@ -548,7 +584,7 @@ function Be(e) {
|
|
|
548
584
|
return i(`/agents/${encodeURIComponent(e)}/mcp-oauth/status?${n}`);
|
|
549
585
|
},
|
|
550
586
|
async createVoiceSession(e, t, n) {
|
|
551
|
-
return
|
|
587
|
+
return se.parse(await i(`/agents/${encodeURIComponent(e)}/voice/session`, {
|
|
552
588
|
method: "POST",
|
|
553
589
|
headers: { "Content-Type": "application/json" },
|
|
554
590
|
body: JSON.stringify({
|
|
@@ -565,7 +601,7 @@ function Be(e) {
|
|
|
565
601
|
}, "void");
|
|
566
602
|
},
|
|
567
603
|
resolveShortUrls(t) {
|
|
568
|
-
return
|
|
604
|
+
return Be(e.baseUrl, t, {
|
|
569
605
|
headers: e.headers?.(),
|
|
570
606
|
credentials: e.credentials
|
|
571
607
|
});
|
|
@@ -573,6 +609,6 @@ function Be(e) {
|
|
|
573
609
|
};
|
|
574
610
|
}
|
|
575
611
|
//#endregion
|
|
576
|
-
export {
|
|
612
|
+
export { A as i, Y as n, j as r, Ue as t };
|
|
577
613
|
|
|
578
|
-
//# sourceMappingURL=createChatbotApiClient-
|
|
614
|
+
//# sourceMappingURL=createChatbotApiClient-CaVLm5W9.js.map
|