@boomi/embedkit 1.3.20 → 1.3.22
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/README.md +2 -0
- package/dist/embedkit-cdn.css +1 -0
- package/dist/embedkit-cdn.js +40225 -0
- package/dist/embedkit-cdn.umd.cjs +1933 -0
- package/dist/index.cjs +295 -293
- package/dist/index.css +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +35203 -33387
- package/dist/index.umd.cjs +299 -297
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -467,6 +467,8 @@ export type UIPosition = {
|
|
|
467
467
|
}; // absolute (fixed) positioning
|
|
468
468
|
/** ChatGPT-like UI options */
|
|
469
469
|
export type AgentUiConfig = {
|
|
470
|
+
/** Session scope behavior for chat history */
|
|
471
|
+
sessionScope?: "mount" | "multi";
|
|
470
472
|
/** Optional unique key for the agent instance */
|
|
471
473
|
pageShowHeader?: boolean;
|
|
472
474
|
pageShowTitle?: boolean;
|
|
@@ -522,6 +524,8 @@ export type AgentConfig = {
|
|
|
522
524
|
allowFreeTextPrompts?: boolean;
|
|
523
525
|
/** The environment to use for this agent */
|
|
524
526
|
environmentId?: string;
|
|
527
|
+
/** Optional Boomi Agent ID for boomi-direct transport */
|
|
528
|
+
boomiAgentId?: string;
|
|
525
529
|
/** is this a modal driven agent? */
|
|
526
530
|
type?: AgentType;
|
|
527
531
|
/** when set to false this will remove the agent from the integration pack install dropdown */
|
|
@@ -577,7 +581,9 @@ export type PluginConfig = {
|
|
|
577
581
|
/** Base URL to the embedkit server (e.g., "/api/v1" or "https://boomi.space/embedkit-server/api/v1"). */
|
|
578
582
|
serverBase: string;
|
|
579
583
|
/** One-time nonce the host app obtained from the server login flow. */
|
|
580
|
-
nonce
|
|
584
|
+
nonce?: string;
|
|
585
|
+
/** Optional access token (public embed flow). */
|
|
586
|
+
accessToken?: string;
|
|
581
587
|
/** Optional UI/UX configuration for the plugin. */
|
|
582
588
|
boomiConfig?: PluginUiConfig;
|
|
583
589
|
};
|