@pluno/product-agent-web 0.1.103 → 0.1.104
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/index.d.ts +9 -0
- package/dist/product-agent-sdk.js +374 -336
- package/dist/product-agent-widget.js +1443 -1278
- package/dist/widget.d.ts +4 -1
- package/package.json +1 -1
package/dist/widget.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PlunoProductAgent, type ProductAgentAttachment, type ProductAgentInitOptions } from "./index";
|
|
1
|
+
import { PlunoProductAgent, type ProductAgentAttachment, type ProductAgentIntegrationAuthRequest, type ProductAgentInitOptions } from "./index";
|
|
2
2
|
import { type ProductAgentShareCandidate } from "./shareCard";
|
|
3
3
|
import { type ActiveUsersCounterValue } from "./activeUsersCounter";
|
|
4
4
|
export type ProductAgentWidgetOptions = {
|
|
@@ -50,7 +50,10 @@ export type ProductAgentWidgetOptions = {
|
|
|
50
50
|
onMorningReportTaskStart?: () => void;
|
|
51
51
|
taskNotifications?: WidgetTaskNotificationsBridge;
|
|
52
52
|
tabGroups?: WidgetTabGroupsBridge;
|
|
53
|
+
integrationAuthStatusLoader?: (request: ProductAgentIntegrationAuthRequest) => Promise<ProductAgentIntegrationAuthStatus>;
|
|
54
|
+
integrationAuthHandler?: (request: ProductAgentIntegrationAuthRequest) => Promise<void>;
|
|
53
55
|
};
|
|
56
|
+
export type ProductAgentIntegrationAuthStatus = "pending" | "completed" | "cancelled" | "expired";
|
|
54
57
|
export type ProductAgentWidgetMorningReport = {
|
|
55
58
|
opening: string;
|
|
56
59
|
prompts: string[];
|
package/package.json
CHANGED