@pluno/product-agent-web 0.1.102 → 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 +11 -0
- package/dist/product-agent-sdk.js +385 -342
- package/dist/product-agent-widget.js +1487 -1314
- package/dist/widget.d.ts +4 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -39,6 +39,16 @@ export type ProductAgentMessage = {
|
|
|
39
39
|
attachments?: ProductAgentAttachment[];
|
|
40
40
|
loading?: boolean;
|
|
41
41
|
retryable?: boolean;
|
|
42
|
+
integrationAuthRequest?: ProductAgentIntegrationAuthRequest;
|
|
43
|
+
securitySettingsUrl?: string;
|
|
44
|
+
};
|
|
45
|
+
export type ProductAgentIntegrationAuthRequest = {
|
|
46
|
+
type: "pipedream_auth_required";
|
|
47
|
+
authRequestId: string;
|
|
48
|
+
appSlug: string;
|
|
49
|
+
appName: string;
|
|
50
|
+
appLogo?: string | null;
|
|
51
|
+
expiresAt: string;
|
|
42
52
|
};
|
|
43
53
|
export type ProductAgentAttachment = {
|
|
44
54
|
id?: string;
|
|
@@ -102,6 +112,7 @@ export type ProductAgentState = {
|
|
|
102
112
|
isThinking: boolean;
|
|
103
113
|
lastError: string | null;
|
|
104
114
|
lastErrorCode: string | null;
|
|
115
|
+
lastErrorSecuritySettingsUrl: string | null;
|
|
105
116
|
};
|
|
106
117
|
export type ProductAgentInitOptions = {
|
|
107
118
|
token?: string;
|