@8wave/ai-elements 0.118.0-beta.15 → 0.118.0
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/ai-elements.es.js +10 -4
- 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-CV5O0I7I.js → Agent-dGF8mkG9.js} +2 -2
- package/dist-vue/_chunks/{Agent-CV5O0I7I.js.map → Agent-dGF8mkG9.js.map} +1 -1
- package/dist-vue/_chunks/{Document-eXkZraWr.js → Document-B-oyVh7v.js} +10 -10
- package/dist-vue/_chunks/{Document-eXkZraWr.js.map → Document-B-oyVh7v.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbot-D9lPQjYZ.js → PkChatbot-Cm45hwYw.js} +8 -8
- package/dist-vue/_chunks/{PkChatbot-D9lPQjYZ.js.map → PkChatbot-Cm45hwYw.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotEmptyState-CNLDbDVS.js → PkChatbotEmptyState-D2dhInfG.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotEmptyState-CNLDbDVS.js.map → PkChatbotEmptyState-D2dhInfG.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotInput-Cf1iqwkL.js → PkChatbotInput-CQdxFbBR.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotInput-Cf1iqwkL.js.map → PkChatbotInput-CQdxFbBR.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotMessages-BPCZaW9I.js → PkChatbotMessages-coscJcpy.js} +17 -17
- package/dist-vue/_chunks/{PkChatbotMessages-BPCZaW9I.js.map → PkChatbotMessages-coscJcpy.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepPayload-CShP2HwK.js → PkChatbotStepPayload-DnqFluQZ.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotStepPayload-CShP2HwK.js.map → PkChatbotStepPayload-DnqFluQZ.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-Dhi60cJt.js → PkChatbotStepToolDetail-BMslY_BG.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotStepToolDetail-Dhi60cJt.js.map → PkChatbotStepToolDetail-BMslY_BG.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotSteps-CW13WtvP.js → PkChatbotSteps-7FT6Ju6_.js} +5 -5
- package/dist-vue/_chunks/{PkChatbotSteps-CW13WtvP.js.map → PkChatbotSteps-7FT6Ju6_.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewChat-DyEDdBwU.js → PkChatbotViewChat-Cko-Cw6c.js} +7 -7
- package/dist-vue/_chunks/{PkChatbotViewChat-DyEDdBwU.js.map → PkChatbotViewChat-Cko-Cw6c.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewConversations-VpZ-zYTF.js → PkChatbotViewConversations-DHeFtAfN.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewConversations-VpZ-zYTF.js.map → PkChatbotViewConversations-DHeFtAfN.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewFiles-ByZ8Wy2A.js → PkChatbotViewFiles-gqCumfod.js} +3 -3
- package/dist-vue/_chunks/{PkChatbotViewFiles-ByZ8Wy2A.js.map → PkChatbotViewFiles-gqCumfod.js.map} +1 -1
- package/dist-vue/_chunks/{PkChatbotViewProfile-BXehkAop.js → PkChatbotViewProfile-B57VRVaO.js} +2 -2
- package/dist-vue/_chunks/{PkChatbotViewProfile-BXehkAop.js.map → PkChatbotViewProfile-B57VRVaO.js.map} +1 -1
- package/dist-vue/_chunks/{PkStreamingMarkdown-BBu6Z82G.js → PkStreamingMarkdown-BtyWXY2k.js} +3 -3
- package/dist-vue/_chunks/{PkStreamingMarkdown-BBu6Z82G.js.map → PkStreamingMarkdown-BtyWXY2k.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-COhUFZGD.js → PkToolEditSpreadsheet-HAskd6d3.js} +2 -2
- package/dist-vue/_chunks/{PkToolEditSpreadsheet-COhUFZGD.js.map → PkToolEditSpreadsheet-HAskd6d3.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestGeolocation-VZ6TUHwA.js → PkToolRequestGeolocation-BE22qwxB.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestGeolocation-VZ6TUHwA.js.map → PkToolRequestGeolocation-BE22qwxB.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-LMTQMCU3.js → PkToolRequestOAuthConnection-GfSalEJG.js} +2 -2
- package/dist-vue/_chunks/{PkToolRequestOAuthConnection-LMTQMCU3.js.map → PkToolRequestOAuthConnection-GfSalEJG.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowArtifact-Ciq5bmlS.js → PkToolShowArtifact-Ritx54_X.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowArtifact-Ciq5bmlS.js.map → PkToolShowArtifact-Ritx54_X.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowContactForm-BufNZX42.js → PkToolShowContactForm-D30IsZGy.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowContactForm-BufNZX42.js.map → PkToolShowContactForm-D30IsZGy.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowDiagram-daSyNcr9.js → PkToolShowDiagram-PEozSAqU.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowDiagram-daSyNcr9.js.map → PkToolShowDiagram-PEozSAqU.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowForm-DdyPbM6u.js → PkToolShowForm-ZmdM9J9x.js} +4 -4
- package/dist-vue/_chunks/{PkToolShowForm-DdyPbM6u.js.map → PkToolShowForm-ZmdM9J9x.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowImageGallery-BTEr7g8b.js → PkToolShowImageGallery-Dkjf7Tw_.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowImageGallery-BTEr7g8b.js.map → PkToolShowImageGallery-Dkjf7Tw_.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowProductList-TWwOQW0f.js → PkToolShowProductList-CsHYM8vl.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowProductList-TWwOQW0f.js.map → PkToolShowProductList-CsHYM8vl.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSources-CK30aUfr.js → PkToolShowSources-CKZkcPLA.js} +3 -3
- package/dist-vue/_chunks/{PkToolShowSources-CK30aUfr.js.map → PkToolShowSources-CKZkcPLA.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-TNaSN94U.js → PkToolShowSuggestedReply-DjutyiEi.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowSuggestedReply-TNaSN94U.js.map → PkToolShowSuggestedReply-DjutyiEi.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowVideo-CY3LSfda.js → PkToolShowVideo-CKm1fVQs.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowVideo-CY3LSfda.js.map → PkToolShowVideo-CKm1fVQs.js.map} +1 -1
- package/dist-vue/_chunks/{PkToolShowWebPages-Bjyfu3SU.js → PkToolShowWebPages-DLEC9cuh.js} +2 -2
- package/dist-vue/_chunks/{PkToolShowWebPages-Bjyfu3SU.js.map → PkToolShowWebPages-DLEC9cuh.js.map} +1 -1
- package/dist-vue/_chunks/{createChatbotApiClient-C0_uDob8.js → createChatbotApiClient-DSLxswr4.js} +4 -4
- package/dist-vue/_chunks/{createChatbotApiClient-C0_uDob8.js.map → createChatbotApiClient-DSLxswr4.js.map} +1 -1
- package/dist-vue/_chunks/{useChatbotStore-1mq1FznN.js → useChatbotStore-rtl-oKqU.js} +3 -3
- package/dist-vue/_chunks/{useChatbotStore-1mq1FznN.js.map → useChatbotStore-rtl-oKqU.js.map} +1 -1
- package/dist-vue/_chunks/{utils-BFoe95R4.js → utils-fxHiCnzf.js} +2 -2
- package/dist-vue/_chunks/{utils-BFoe95R4.js.map → utils-fxHiCnzf.js.map} +1 -1
- package/dist-vue/api.js +1 -1
- package/dist-vue/composables.js +13 -7
- package/dist-vue/composables.js.map +1 -1
- package/dist-vue/index.js +5120 -4973
- package/dist-vue/index.js.map +1 -1
- package/dist-vue/packages/models/src/schema/Integration.d.ts +6 -0
- package/dist-vue/packages/models/src/schema/Organization.d.ts +35 -1
- package/package.json +1 -1
|
@@ -14,6 +14,12 @@ export declare enum IntegrationProvider {
|
|
|
14
14
|
*/
|
|
15
15
|
export declare const OAUTH_INTEGRATION_PROVIDERS: IntegrationProvider[];
|
|
16
16
|
export declare function isOAuthIntegrationProvider(provider: IntegrationProvider): boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Providers that receive the leads the agents collect. A document source is
|
|
19
|
+
* an integration too, enabled like the others, and has nothing to do with a
|
|
20
|
+
* lead: whoever reads the integrations for leads reads these alone.
|
|
21
|
+
*/
|
|
22
|
+
export declare const CRM_INTEGRATION_PROVIDERS: IntegrationProvider[];
|
|
17
23
|
export declare enum IntegrationSyncStatus {
|
|
18
24
|
Pending = "pending",
|
|
19
25
|
Success = "success",
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { AgentBuiltInTool } from './Agent';
|
|
2
|
+
import { IntegrationProvider } from './Integration';
|
|
1
3
|
import { PlatformType } from './Platform';
|
|
2
4
|
import { StoragePolicy } from './Media';
|
|
3
5
|
import * as z from 'zod';
|
|
@@ -258,7 +260,21 @@ export declare enum OrganizationFeature {
|
|
|
258
260
|
ApiTools = "apiTools",
|
|
259
261
|
SubAgents = "subAgents",
|
|
260
262
|
Endpoints = "endpoints",
|
|
261
|
-
|
|
263
|
+
/**
|
|
264
|
+
* One flag per integration provider and not one for all of them, for
|
|
265
|
+
* the same reason as the channels: a contract names the CRM or the
|
|
266
|
+
* document source it includes. See {@link INTEGRATION_PROVIDER_FEATURES}.
|
|
267
|
+
*/
|
|
268
|
+
HubSpot = "hubspot",
|
|
269
|
+
Salesforce = "salesforce",
|
|
270
|
+
SharePoint = "sharepoint",
|
|
271
|
+
/**
|
|
272
|
+
* The leads: the contact form agents show in the chat and the page that
|
|
273
|
+
* lists what it collected. Off, it reaches the runtime too: the form is
|
|
274
|
+
* on by default, and every agent would keep collecting leads nobody can
|
|
275
|
+
* open. See {@link FEATURE_BUILT_IN_TOOLS}.
|
|
276
|
+
*/
|
|
277
|
+
Leads = "leads",
|
|
262
278
|
/**
|
|
263
279
|
* Files attached to chat messages, on every surface of the agent. Like
|
|
264
280
|
* the voice it is switched on inside the agent settings, so the gate is
|
|
@@ -297,6 +313,23 @@ export declare const ORGANIZATION_FEATURE_DEFAULTS: Record<OrganizationFeature,
|
|
|
297
313
|
* connection service refuses it, and the channels page does not offer it.
|
|
298
314
|
*/
|
|
299
315
|
export declare const PLATFORM_CHANNEL_FEATURES: Partial<Record<PlatformType, OrganizationFeature>>;
|
|
316
|
+
/**
|
|
317
|
+
* The feature flag of each integration provider. A full record, so a
|
|
318
|
+
* provider added to the enum does not compile until it has its flag.
|
|
319
|
+
*/
|
|
320
|
+
export declare const INTEGRATION_PROVIDER_FEATURES: Record<IntegrationProvider, OrganizationFeature>;
|
|
321
|
+
/**
|
|
322
|
+
* Built-in tools a feature flag takes away from every agent of the
|
|
323
|
+
* organization, whatever the agent's own settings say. For a tool that is on
|
|
324
|
+
* by default: a gate on the switch that turns it on, like the voice has,
|
|
325
|
+
* would leave it on for every agent that never touched the switch.
|
|
326
|
+
*/
|
|
327
|
+
export declare const FEATURE_BUILT_IN_TOOLS: Partial<Record<OrganizationFeature, AgentBuiltInTool[]>>;
|
|
328
|
+
/**
|
|
329
|
+
* The built-in tools the flags take away. Only a flag explicitly `false`
|
|
330
|
+
* counts, so a caller holding no flags at all takes nothing away.
|
|
331
|
+
*/
|
|
332
|
+
export declare const toolsRemovedByFeatures: (features: Partial<OrganizationFeatures> | undefined) => AgentBuiltInTool[];
|
|
300
333
|
/**
|
|
301
334
|
* Free-form keys AND free-form values on purpose. `z.record(z.enum(...))`
|
|
302
335
|
* rejects unknown keys in zod 4, so a feature dropped from the catalog would
|
|
@@ -439,6 +472,7 @@ export type OrganizationPublic = z.infer<typeof OrganizationPublicSchema>;
|
|
|
439
472
|
*/
|
|
440
473
|
export declare const OrganizationCapabilitiesSchema: z.ZodObject<{
|
|
441
474
|
crm: z.ZodBoolean;
|
|
475
|
+
voice: z.ZodBoolean;
|
|
442
476
|
}, z.core.$strip>;
|
|
443
477
|
export type OrganizationCapabilities = z.infer<typeof OrganizationCapabilitiesSchema>;
|
|
444
478
|
export declare const OrganizationsQuerystringSchema: z.ZodObject<{
|