@8wave/ai-elements 0.117.0-beta.34 → 0.118.0-beta.15

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.
Files changed (140) hide show
  1. package/dist/_chunks/{Agent-DDAyL-4q.js → Agent-D8YrsP52.js} +15 -11
  2. package/dist/_chunks/Agent-D8YrsP52.js.map +1 -0
  3. package/dist/_chunks/{PkStreamingMarkdown-D58uGMVJ.js → PkStreamingMarkdown--CcBvs19.js} +3 -3
  4. package/dist/_chunks/{PkStreamingMarkdown-D58uGMVJ.js.map → PkStreamingMarkdown--CcBvs19.js.map} +1 -1
  5. package/dist/_chunks/{PkToolEditSpreadsheet-y3S5O_ld.js → PkToolEditSpreadsheet-5vHzEy4P.js} +2 -2
  6. package/dist/_chunks/{PkToolEditSpreadsheet-y3S5O_ld.js.map → PkToolEditSpreadsheet-5vHzEy4P.js.map} +1 -1
  7. package/dist/_chunks/{PkToolRequestGeolocation-DUD4RaA_.js → PkToolRequestGeolocation-Cj8hTfNF.js} +2 -2
  8. package/dist/_chunks/{PkToolRequestGeolocation-DUD4RaA_.js.map → PkToolRequestGeolocation-Cj8hTfNF.js.map} +1 -1
  9. package/dist/_chunks/{PkToolRequestOAuthConnection-ryjE17UY.js → PkToolRequestOAuthConnection-BWxR1hV4.js} +2 -2
  10. package/dist/_chunks/{PkToolRequestOAuthConnection-ryjE17UY.js.map → PkToolRequestOAuthConnection-BWxR1hV4.js.map} +1 -1
  11. package/dist/_chunks/{PkToolShowArtifact-CefFRN9d.js → PkToolShowArtifact-BVGN7hV2.js} +2 -2
  12. package/dist/_chunks/{PkToolShowArtifact-CefFRN9d.js.map → PkToolShowArtifact-BVGN7hV2.js.map} +1 -1
  13. package/dist/_chunks/{PkToolShowContactForm-Q58lENmc.js → PkToolShowContactForm-Blrwqpl0.js} +2 -2
  14. package/dist/_chunks/{PkToolShowContactForm-Q58lENmc.js.map → PkToolShowContactForm-Blrwqpl0.js.map} +1 -1
  15. package/dist/_chunks/{PkToolShowForm-DCluttiO.js → PkToolShowForm-BpGHaN6x.js} +3 -3
  16. package/dist/_chunks/{PkToolShowForm-DCluttiO.js.map → PkToolShowForm-BpGHaN6x.js.map} +1 -1
  17. package/dist/_chunks/{PkToolShowImageGallery-DzU2_qQW.js → PkToolShowImageGallery-CIhIrIcY.js} +2 -2
  18. package/dist/_chunks/{PkToolShowImageGallery-DzU2_qQW.js.map → PkToolShowImageGallery-CIhIrIcY.js.map} +1 -1
  19. package/dist/_chunks/{PkToolShowProductList-0P7S5Ywo.js → PkToolShowProductList-BjWKnbyD.js} +2 -2
  20. package/dist/_chunks/{PkToolShowProductList-0P7S5Ywo.js.map → PkToolShowProductList-BjWKnbyD.js.map} +1 -1
  21. package/dist/_chunks/{PkToolShowSources-D0IpU1NU.js → PkToolShowSources-8c9RvGV1.js} +3 -3
  22. package/dist/_chunks/{PkToolShowSources-D0IpU1NU.js.map → PkToolShowSources-8c9RvGV1.js.map} +1 -1
  23. package/dist/_chunks/{PkToolShowSuggestedReply-0RVUEzK_.js → PkToolShowSuggestedReply-0KahUIlw.js} +2 -2
  24. package/dist/_chunks/{PkToolShowSuggestedReply-0RVUEzK_.js.map → PkToolShowSuggestedReply-0KahUIlw.js.map} +1 -1
  25. package/dist/_chunks/{PkToolShowVideo-C5RfIsFU.js → PkToolShowVideo-_V_d-PDr.js} +2 -2
  26. package/dist/_chunks/{PkToolShowVideo-C5RfIsFU.js.map → PkToolShowVideo-_V_d-PDr.js.map} +1 -1
  27. package/dist/_chunks/{PkToolShowWebPages-D-sv52_o.js → PkToolShowWebPages-D55VEPjK.js} +2 -2
  28. package/dist/_chunks/{PkToolShowWebPages-D-sv52_o.js.map → PkToolShowWebPages-D55VEPjK.js.map} +1 -1
  29. package/dist/_chunks/{browser-BJcsjj9S.js → browser-CuMi3Hhg.js} +796 -701
  30. package/dist/_chunks/browser-CuMi3Hhg.js.map +1 -0
  31. package/dist/_chunks/{chatImagePolicy-CiUR4uD1.js → chatImagePolicy-DXkhb-N_.js} +2 -2
  32. package/dist/_chunks/{chatImagePolicy-CiUR4uD1.js.map → chatImagePolicy-DXkhb-N_.js.map} +1 -1
  33. package/dist/_chunks/{markdown-lpamC2tL.js → markdown-c59ir6tw.js} +4 -3
  34. package/dist/_chunks/markdown-c59ir6tw.js.map +1 -0
  35. package/dist/ai-elements.es.js +235 -141
  36. package/dist/ai-elements.es.js.map +1 -1
  37. package/dist-vue/PkChatbot.js +1 -1
  38. package/dist-vue/PkChatbotAuth.js +1 -1
  39. package/dist-vue/PkChatbotEmptyState.js +1 -1
  40. package/dist-vue/PkChatbotFeedbackForm.js +1 -1
  41. package/dist-vue/PkChatbotInput.js +1 -1
  42. package/dist-vue/PkChatbotMessages.js +1 -1
  43. package/dist-vue/PkChatbotStepPayload.js +1 -1
  44. package/dist-vue/PkChatbotStepToolDetail.js +1 -1
  45. package/dist-vue/PkChatbotSteps.js +1 -1
  46. package/dist-vue/PkChatbotViewChat.js +1 -1
  47. package/dist-vue/PkChatbotViewConversations.js +1 -1
  48. package/dist-vue/PkChatbotViewFiles.js +1 -1
  49. package/dist-vue/PkChatbotViewProfile.js +1 -1
  50. package/dist-vue/_chunks/Agent-CV5O0I7I.js +758 -0
  51. package/dist-vue/_chunks/{Agent-Bd_4UVe4.js.map → Agent-CV5O0I7I.js.map} +1 -1
  52. package/dist-vue/_chunks/{Document-BrMThi12.js → Document-eXkZraWr.js} +214 -213
  53. package/dist-vue/_chunks/Document-eXkZraWr.js.map +1 -0
  54. package/dist-vue/_chunks/Media-C6RS-s98.js +139 -0
  55. package/dist-vue/_chunks/Media-C6RS-s98.js.map +1 -0
  56. package/dist-vue/_chunks/{PkChatbot-EnNiOHfT.js → PkChatbot-D9lPQjYZ.js} +8 -8
  57. package/dist-vue/_chunks/{PkChatbot-EnNiOHfT.js.map → PkChatbot-D9lPQjYZ.js.map} +1 -1
  58. package/dist-vue/_chunks/{PkChatbotAuth-DaMi8miP.js → PkChatbotAuth-BMLLTSwK.js} +78 -78
  59. package/dist-vue/_chunks/{PkChatbotAuth-DaMi8miP.js.map → PkChatbotAuth-BMLLTSwK.js.map} +1 -1
  60. package/dist-vue/_chunks/{PkChatbotEmptyState-CeLapjG_.js → PkChatbotEmptyState-CNLDbDVS.js} +2 -2
  61. package/dist-vue/_chunks/{PkChatbotEmptyState-CeLapjG_.js.map → PkChatbotEmptyState-CNLDbDVS.js.map} +1 -1
  62. package/dist-vue/_chunks/{PkChatbotFeedbackForm-BBjQEC_J.js → PkChatbotFeedbackForm-CMFXjoKR.js} +4 -4
  63. package/dist-vue/_chunks/{PkChatbotFeedbackForm-BBjQEC_J.js.map → PkChatbotFeedbackForm-CMFXjoKR.js.map} +1 -1
  64. package/dist-vue/_chunks/{PkChatbotInput-Chu3tBbe.js → PkChatbotInput-Cf1iqwkL.js} +2 -2
  65. package/dist-vue/_chunks/{PkChatbotInput-Chu3tBbe.js.map → PkChatbotInput-Cf1iqwkL.js.map} +1 -1
  66. package/dist-vue/_chunks/{PkChatbotMessages-B2_Tpjk6.js → PkChatbotMessages-BPCZaW9I.js} +29 -29
  67. package/dist-vue/_chunks/{PkChatbotMessages-B2_Tpjk6.js.map → PkChatbotMessages-BPCZaW9I.js.map} +1 -1
  68. package/dist-vue/_chunks/{PkChatbotStepPayload-BMRSMjrw.js → PkChatbotStepPayload-CShP2HwK.js} +2 -2
  69. package/dist-vue/_chunks/{PkChatbotStepPayload-BMRSMjrw.js.map → PkChatbotStepPayload-CShP2HwK.js.map} +1 -1
  70. package/dist-vue/_chunks/{PkChatbotStepToolDetail-DbAFKTSl.js → PkChatbotStepToolDetail-Dhi60cJt.js} +3 -3
  71. package/dist-vue/_chunks/{PkChatbotStepToolDetail-DbAFKTSl.js.map → PkChatbotStepToolDetail-Dhi60cJt.js.map} +1 -1
  72. package/dist-vue/_chunks/{PkChatbotSteps-CcXw6JiJ.js → PkChatbotSteps-CW13WtvP.js} +5 -5
  73. package/dist-vue/_chunks/{PkChatbotSteps-CcXw6JiJ.js.map → PkChatbotSteps-CW13WtvP.js.map} +1 -1
  74. package/dist-vue/_chunks/{PkChatbotViewChat-eXFjwNkz.js → PkChatbotViewChat-DyEDdBwU.js} +205 -198
  75. package/dist-vue/_chunks/PkChatbotViewChat-DyEDdBwU.js.map +1 -0
  76. package/dist-vue/_chunks/{PkChatbotViewConversations-uaKc5XAv.js → PkChatbotViewConversations-VpZ-zYTF.js} +2 -2
  77. package/dist-vue/_chunks/{PkChatbotViewConversations-uaKc5XAv.js.map → PkChatbotViewConversations-VpZ-zYTF.js.map} +1 -1
  78. package/dist-vue/_chunks/{PkChatbotViewFiles-53zY5v4R.js → PkChatbotViewFiles-ByZ8Wy2A.js} +3 -3
  79. package/dist-vue/_chunks/{PkChatbotViewFiles-53zY5v4R.js.map → PkChatbotViewFiles-ByZ8Wy2A.js.map} +1 -1
  80. package/dist-vue/_chunks/{PkChatbotViewProfile-tUMdwSR1.js → PkChatbotViewProfile-BXehkAop.js} +2 -2
  81. package/dist-vue/_chunks/{PkChatbotViewProfile-tUMdwSR1.js.map → PkChatbotViewProfile-BXehkAop.js.map} +1 -1
  82. package/dist-vue/_chunks/{PkStreamingMarkdown-BEya63gY.js → PkStreamingMarkdown-BBu6Z82G.js} +3 -3
  83. package/dist-vue/_chunks/{PkStreamingMarkdown-BEya63gY.js.map → PkStreamingMarkdown-BBu6Z82G.js.map} +1 -1
  84. package/dist-vue/_chunks/{PkToolEditSpreadsheet-Bl6jujR0.js → PkToolEditSpreadsheet-COhUFZGD.js} +2 -2
  85. package/dist-vue/_chunks/{PkToolEditSpreadsheet-Bl6jujR0.js.map → PkToolEditSpreadsheet-COhUFZGD.js.map} +1 -1
  86. package/dist-vue/_chunks/{PkToolRequestGeolocation-Dh2GZF9r.js → PkToolRequestGeolocation-VZ6TUHwA.js} +2 -2
  87. package/dist-vue/_chunks/{PkToolRequestGeolocation-Dh2GZF9r.js.map → PkToolRequestGeolocation-VZ6TUHwA.js.map} +1 -1
  88. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CsVjz0dA.js → PkToolRequestOAuthConnection-LMTQMCU3.js} +2 -2
  89. package/dist-vue/_chunks/{PkToolRequestOAuthConnection-CsVjz0dA.js.map → PkToolRequestOAuthConnection-LMTQMCU3.js.map} +1 -1
  90. package/dist-vue/_chunks/{PkToolShowArtifact-DC1baqls.js → PkToolShowArtifact-Ciq5bmlS.js} +2 -2
  91. package/dist-vue/_chunks/{PkToolShowArtifact-DC1baqls.js.map → PkToolShowArtifact-Ciq5bmlS.js.map} +1 -1
  92. package/dist-vue/_chunks/{PkToolShowContactForm-BXwBUTG-.js → PkToolShowContactForm-BufNZX42.js} +8 -8
  93. package/dist-vue/_chunks/{PkToolShowContactForm-BXwBUTG-.js.map → PkToolShowContactForm-BufNZX42.js.map} +1 -1
  94. package/dist-vue/_chunks/{PkToolShowDiagram-CHPPJjrY.js → PkToolShowDiagram-daSyNcr9.js} +2 -2
  95. package/dist-vue/_chunks/{PkToolShowDiagram-CHPPJjrY.js.map → PkToolShowDiagram-daSyNcr9.js.map} +1 -1
  96. package/dist-vue/_chunks/{PkToolShowForm-BiAd1nVG.js → PkToolShowForm-DdyPbM6u.js} +4 -4
  97. package/dist-vue/_chunks/{PkToolShowForm-BiAd1nVG.js.map → PkToolShowForm-DdyPbM6u.js.map} +1 -1
  98. package/dist-vue/_chunks/{PkToolShowImageGallery-BkvHwtdK.js → PkToolShowImageGallery-BTEr7g8b.js} +2 -2
  99. package/dist-vue/_chunks/{PkToolShowImageGallery-BkvHwtdK.js.map → PkToolShowImageGallery-BTEr7g8b.js.map} +1 -1
  100. package/dist-vue/_chunks/{PkToolShowProductList-C8ynmJl_.js → PkToolShowProductList-TWwOQW0f.js} +2 -2
  101. package/dist-vue/_chunks/{PkToolShowProductList-C8ynmJl_.js.map → PkToolShowProductList-TWwOQW0f.js.map} +1 -1
  102. package/dist-vue/_chunks/{PkToolShowSources-DgjeP2WK.js → PkToolShowSources-CK30aUfr.js} +3 -3
  103. package/dist-vue/_chunks/{PkToolShowSources-DgjeP2WK.js.map → PkToolShowSources-CK30aUfr.js.map} +1 -1
  104. package/dist-vue/_chunks/{PkToolShowSuggestedReply-Cvfzecie.js → PkToolShowSuggestedReply-TNaSN94U.js} +2 -2
  105. package/dist-vue/_chunks/{PkToolShowSuggestedReply-Cvfzecie.js.map → PkToolShowSuggestedReply-TNaSN94U.js.map} +1 -1
  106. package/dist-vue/_chunks/{PkToolShowVideo-BMBG6A9a.js → PkToolShowVideo-CY3LSfda.js} +2 -2
  107. package/dist-vue/_chunks/{PkToolShowVideo-BMBG6A9a.js.map → PkToolShowVideo-CY3LSfda.js.map} +1 -1
  108. package/dist-vue/_chunks/{PkToolShowWebPages-B64pZeYb.js → PkToolShowWebPages-Bjyfu3SU.js} +2 -2
  109. package/dist-vue/_chunks/{PkToolShowWebPages-B64pZeYb.js.map → PkToolShowWebPages-Bjyfu3SU.js.map} +1 -1
  110. package/dist-vue/_chunks/{createChatbotApiClient-Dv-9sFRF.js → createChatbotApiClient-C0_uDob8.js} +56 -53
  111. package/dist-vue/_chunks/{createChatbotApiClient-Dv-9sFRF.js.map → createChatbotApiClient-C0_uDob8.js.map} +1 -1
  112. package/dist-vue/_chunks/{index.es-DWf6im7k.js → index.es-C1u3kP7i.js} +14 -14
  113. package/dist-vue/_chunks/{index.es-DWf6im7k.js.map → index.es-C1u3kP7i.js.map} +1 -1
  114. package/dist-vue/_chunks/{schemas-Bt5eFdV0.js → schemas-Bu1lick6.js} +213 -204
  115. package/dist-vue/_chunks/schemas-Bu1lick6.js.map +1 -0
  116. package/dist-vue/_chunks/{useChatbotStore-Dmxnn4xV.js → useChatbotStore-1mq1FznN.js} +22 -22
  117. package/dist-vue/_chunks/useChatbotStore-1mq1FznN.js.map +1 -0
  118. package/dist-vue/_chunks/{utils-CGb6Qc_9.js → utils-BFoe95R4.js} +2 -2
  119. package/dist-vue/_chunks/{utils-CGb6Qc_9.js.map → utils-BFoe95R4.js.map} +1 -1
  120. package/dist-vue/api.js +1 -1
  121. package/dist-vue/composables.js +87 -3
  122. package/dist-vue/composables.js.map +1 -1
  123. package/dist-vue/index.js +3423 -3406
  124. package/dist-vue/index.js.map +1 -1
  125. package/dist-vue/packages/components/src/chat/useWakeupWatch.d.ts +5 -0
  126. package/dist-vue/packages/composable/src/chatbot/api/createChatbotApiClient.d.ts +2 -0
  127. package/dist-vue/packages/models/src/schema/Document.d.ts +16 -8
  128. package/dist-vue/packages/models/src/schema/Media.d.ts +18 -0
  129. package/dist-vue/packages/models/src/schema/Notification.d.ts +94 -0
  130. package/package.json +1 -1
  131. package/dist/_chunks/Agent-DDAyL-4q.js.map +0 -1
  132. package/dist/_chunks/browser-BJcsjj9S.js.map +0 -1
  133. package/dist/_chunks/markdown-lpamC2tL.js.map +0 -1
  134. package/dist-vue/_chunks/Agent-Bd_4UVe4.js +0 -758
  135. package/dist-vue/_chunks/Document-BrMThi12.js.map +0 -1
  136. package/dist-vue/_chunks/Media-Bzv3zEWR.js +0 -135
  137. package/dist-vue/_chunks/Media-Bzv3zEWR.js.map +0 -1
  138. package/dist-vue/_chunks/PkChatbotViewChat-eXFjwNkz.js.map +0 -1
  139. package/dist-vue/_chunks/schemas-Bt5eFdV0.js.map +0 -1
  140. package/dist-vue/_chunks/useChatbotStore-Dmxnn4xV.js.map +0 -1
@@ -1,6 +1,6 @@
1
- import { C as e, _ as t, b as n, m as r, o as i, r as a, s as o, u as s, v as c, w as l, x as u } from "./schemas-Bt5eFdV0.js";
2
- import { o as d, t as f } from "./Media-Bzv3zEWR.js";
3
- import { C as ee, H as te, N as p, U as m, a as h, c as g, f as ne, l as re, n as ie, s as ae } from "./Agent-Bd_4UVe4.js";
1
+ import { S as e, T as t, _ as n, m as r, o as i, r as a, s as o, u as s, v as c, w as l, x as u } from "./schemas-Bu1lick6.js";
2
+ import { o as d, t as f } from "./Media-C6RS-s98.js";
3
+ import { C as ee, H as te, N as p, U as m, a as h, c as g, f as ne, l as re, n as ie, s as ae } from "./Agent-CV5O0I7I.js";
4
4
  import { t as oe } from "./StreamError-D1AtGgS3.js";
5
5
  import "./src-DCfvejyT.js";
6
6
  import { r as _, t as se } from "./url-validation-9DstIfq2.js";
@@ -30,58 +30,58 @@ var me = /* @__PURE__ */ function(e) {
30
30
  sentiment: a(S).describe("Overall user sentiment in the conversation."),
31
31
  sentimentTrend: a(C).describe("How the user sentiment evolved during the conversation."),
32
32
  userTone: a(x).describe("Predominant tone of the user messages."),
33
- language: u().max(10).describe("ISO 639-1 language code of the conversation (e.g. \"en\", \"it\")."),
34
- topics: i(u().max(100)).max(10).describe("Main topics discussed, as short lowercase labels."),
33
+ language: e().max(10).describe("ISO 639-1 language code of the conversation (e.g. \"en\", \"it\")."),
34
+ topics: i(e().max(100)).max(10).describe("Main topics discussed, as short lowercase labels."),
35
35
  userAbuseDetected: o().describe("Whether user abuse was detected. If false, userAbuseCategories MUST be empty."),
36
36
  userAbuseCategories: i(a(me)).default([]).describe("Abuse categories detected. Non-empty only if userAbuseDetected is true."),
37
37
  userAbuseConfidence: a(he).optional().describe("Confidence level of the abuse detection. Set only if userAbuseDetected is true."),
38
- userAbuseSummary: u().max(w).optional().describe("Brief description of the abusive behavior detected. Always write in English. Set only if userAbuseDetected is true."),
38
+ userAbuseSummary: e().max(w).optional().describe("Brief description of the abusive behavior detected. Always write in English. Set only if userAbuseDetected is true."),
39
39
  llmIssueDetected: o().describe("Whether an LLM quality issue was detected. If false, llmIssueCategories MUST be empty."),
40
40
  llmIssueCategories: i(a(ge)).default([]).describe("LLM issue categories detected. Non-empty only if llmIssueDetected is true."),
41
- llmIssueSummary: u().max(w).optional().describe("Brief description of the LLM quality issue detected. Always write in English. Set only if llmIssueDetected is true."),
41
+ llmIssueSummary: e().max(w).optional().describe("Brief description of the LLM quality issue detected. Always write in English. Set only if llmIssueDetected is true."),
42
42
  userEngagement: a(b).describe("Level of user engagement in the conversation."),
43
43
  conversationGoalMet: o().optional().describe("Whether the user seems to have achieved what they came for. Leave undefined if unclear."),
44
- riskScore: t().int().min(0).max(100).describe("Overall risk score (0 = safe, 100 = critical). Combination of abuse severity, persistence and escalation.")
44
+ riskScore: n().int().min(0).max(100).describe("Overall risk score (0 = safe, 100 = critical). Combination of abuse severity, persistence and escalation.")
45
45
  }), E = c({
46
46
  type: r("text"),
47
- text: u()
47
+ text: e()
48
48
  }), D = c({
49
49
  type: r("file"),
50
- mediaType: u().regex(f),
51
- url: l(),
52
- filename: u().optional(),
53
- providerMetadata: n(u(), n(u(), e())).optional()
50
+ mediaType: e().regex(f),
51
+ url: t(),
52
+ filename: e().optional(),
53
+ providerMetadata: u(e(), u(e(), l())).optional()
54
54
  }), O = s("type", [E, D]);
55
55
  c({
56
- id: u(),
56
+ id: e(),
57
57
  messages: i(c({
58
- id: u().optional(),
58
+ id: e().optional(),
59
59
  role: a(["assistant", "user"]),
60
- content: u(),
60
+ content: e(),
61
61
  parts: i(O),
62
- createdAt: u().optional()
62
+ createdAt: e().optional()
63
63
  })),
64
- model: u().optional(),
65
- temperature: t().optional(),
66
- prompt: u().optional(),
67
- maxOutputTokens: t().positive().optional(),
68
- presencePenalty: t().min(-2).max(2).optional(),
69
- frequencyPenalty: t().min(-2).max(2).optional(),
64
+ model: e().optional(),
65
+ temperature: n().optional(),
66
+ prompt: e().optional(),
67
+ maxOutputTokens: n().positive().optional(),
68
+ presencePenalty: n().min(-2).max(2).optional(),
69
+ frequencyPenalty: n().min(-2).max(2).optional(),
70
70
  searchMode: a(re).optional(),
71
- limit: t().optional(),
71
+ limit: n().optional(),
72
72
  ranking: ae.optional(),
73
73
  reasoning: g,
74
74
  webSearch: ne.optional(),
75
- maxStepCount: t().int().min(1).max(40).optional(),
75
+ maxStepCount: n().int().min(1).max(40).optional(),
76
76
  disabledTools: i(a(ie)).optional(),
77
- fallbackModels: i(u()).optional(),
77
+ fallbackModels: i(e()).optional(),
78
78
  gatewayOptions: h.partial().optional(),
79
79
  deviceContext: p.optional(),
80
- externalContext: n(u(), e()).optional(),
80
+ externalContext: u(e(), l()).optional(),
81
81
  smoothStream: o().optional()
82
82
  }), c({
83
- id: u().min(1),
84
- messages: i(c({ role: u() }).loose()).min(1)
83
+ id: e().min(1),
84
+ messages: i(c({ role: e() }).loose()).min(1)
85
85
  }).loose();
86
86
  var k = /* @__PURE__ */ function(e) {
87
87
  return e.SevereAbuse = "severe_abuse", e.HighRiskScore = "high_risk_score", e.RepeatedWarnings = "repeated_warnings", e;
@@ -136,28 +136,28 @@ var j = [
136
136
  "output-error",
137
137
  "output-denied"
138
138
  ]), N = c({
139
- id: u(),
140
- messages: i(e()),
141
- title: u().nullable(),
142
- summary: u().nullable(),
143
- messageCountAtLastSummary: u().nullable(),
139
+ id: e(),
140
+ messages: i(l()),
141
+ title: e().nullable(),
142
+ summary: e().nullable(),
143
+ messageCountAtLastSummary: e().nullable(),
144
144
  createdAt: d(),
145
145
  updatedAt: d(),
146
- metadata: n(u(), e()),
147
- totalCostInUSD: u(),
148
- usage: e(),
149
- agentId: u().nullable(),
150
- userId: u(),
151
- organizationId: u(),
146
+ metadata: u(e(), l()),
147
+ totalCostInUSD: e(),
148
+ usage: l(),
149
+ agentId: e().nullable(),
150
+ userId: e(),
151
+ organizationId: e(),
152
152
  deleted: o(),
153
153
  deletedAt: d().nullable(),
154
- deletedBy: u().nullable(),
154
+ deletedBy: e().nullable(),
155
155
  conversationAnalysis: T.nullable().optional(),
156
156
  blocked: o(),
157
157
  blockedAt: d().nullable(),
158
158
  blockedReasonCode: a(k).nullable(),
159
- blockedReason: u().nullable(),
160
- warningCount: t(),
159
+ blockedReason: e().nullable(),
160
+ warningCount: n(),
161
161
  lastMessageAt: d()
162
162
  });
163
163
  c({
@@ -171,20 +171,20 @@ c({
171
171
  ...m.range("updatedAt"),
172
172
  ...m.range("lastMessageAt"),
173
173
  ...m.ids(),
174
- startDate: u().optional(),
175
- endDate: u().optional()
174
+ startDate: e().optional(),
175
+ endDate: e().optional()
176
176
  });
177
177
  var P = c({
178
- id: u(),
179
- agentId: u().optional(),
180
- organizationId: u(),
181
- summary: u().optional(),
182
- title: u().optional(),
183
- userId: u(),
178
+ id: e(),
179
+ agentId: e().optional(),
180
+ organizationId: e(),
181
+ summary: e().optional(),
182
+ title: e().optional(),
183
+ userId: e(),
184
184
  createdAt: d(),
185
185
  updatedAt: d(),
186
186
  lastMessageAt: d(),
187
- messages: i(e()),
187
+ messages: i(l()),
188
188
  blocked: o()
189
189
  }), F = class {
190
190
  constructor(e, t) {
@@ -453,6 +453,9 @@ function ze(e) {
453
453
  async stopChatWakeup(e, t) {
454
454
  return i(`/agents/${encodeURIComponent(e)}/chats/${encodeURIComponent(t)}/wakeup`, { method: "DELETE" });
455
455
  },
456
+ async markChatWakeupPresence(e, t) {
457
+ await i(`/agents/${encodeURIComponent(e)}/chats/${encodeURIComponent(t)}/wakeup/presence`, { method: "PUT" }, "void");
458
+ },
456
459
  async updateChatTitle(e, t, n) {
457
460
  return $(await i(`/agents/${encodeURIComponent(e)}/chats/${encodeURIComponent(t)}`, {
458
461
  method: "PATCH",
@@ -590,4 +593,4 @@ function ze(e) {
590
593
  //#endregion
591
594
  export { A as a, j as i, Z as n, M as r, ze as t };
592
595
 
593
- //# sourceMappingURL=createChatbotApiClient-Dv-9sFRF.js.map
596
+ //# sourceMappingURL=createChatbotApiClient-C0_uDob8.js.map