@integry/sdk 4.8.90 → 4.8.91
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/esm/index.csm.d.ts +22 -1
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +22 -1
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/esm/index.csm.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="index.ts" />
|
|
2
2
|
import { html } from 'htm/preact';
|
|
3
3
|
import { VNode } from "preact";
|
|
4
|
-
type IntegrySDKEventType = "authorizations" | "did-add-authorization" | "did-begin-remove-authorization" | "did-change-step" | "did-fail-authorization-verification" | "did-load-flow" | "did-load-flows" | "did-load-integration" | "did-load-integrations" | "did-load-preview" | "did-remove-authorization" | "did-save-integration" | "did-upgrade-integration" | "did-delete-integration" | "did-select-authorization" | "ready" | "should-load-flow" | "did-click-close-button" | "did-app-load" | "did-enable-integration" | "did-disable-integration" | "did-rename-integration" | "did-raise-sdk-embed-warning" | "app-connected" | "app-disconnected" | "modal-closed" | "did-render-function" | "did-render-app-authorizations" | "did-render-flow-step" | "integration-created";
|
|
4
|
+
type IntegrySDKEventType = "authorizations" | "did-add-authorization" | "did-begin-remove-authorization" | "did-change-step" | "did-fail-authorization-verification" | "did-load-flow" | "did-load-flows" | "did-load-integration" | "did-load-integrations" | "did-load-preview" | "did-remove-authorization" | "did-save-integration" | "did-upgrade-integration" | "did-delete-integration" | "did-select-authorization" | "ready" | "should-load-flow" | "did-click-close-button" | "did-app-load" | "did-enable-integration" | "did-disable-integration" | "did-rename-integration" | "did-raise-sdk-embed-warning" | "app-connected" | "app-disconnected" | "modal-closed" | "did-render-function" | "did-render-app-authorizations" | "did-render-flow-step" | "knowledge-base-created" | "integration-created";
|
|
5
5
|
type ConnectedAccount = {
|
|
6
6
|
id: string;
|
|
7
7
|
display_name: string;
|
|
@@ -103,6 +103,26 @@ type IntegrySDKEventPayloads = {
|
|
|
103
103
|
}[];
|
|
104
104
|
event: "EDIT" | "CREATE";
|
|
105
105
|
};
|
|
106
|
+
"knowledge-base-created": {
|
|
107
|
+
integrationId: number;
|
|
108
|
+
name: string;
|
|
109
|
+
templateId: number;
|
|
110
|
+
flowId: number;
|
|
111
|
+
status: string;
|
|
112
|
+
callbackUrl: string | null;
|
|
113
|
+
callbackUrlArray: {
|
|
114
|
+
templateStepId: number;
|
|
115
|
+
activityId: number;
|
|
116
|
+
callbackUrl: string | null;
|
|
117
|
+
}[];
|
|
118
|
+
authorizations: {
|
|
119
|
+
authorizationId: number;
|
|
120
|
+
userIdentity: string;
|
|
121
|
+
isBrandingAppAuth: boolean;
|
|
122
|
+
}[];
|
|
123
|
+
event: "EDIT" | "CREATE";
|
|
124
|
+
knowledge_base: any;
|
|
125
|
+
};
|
|
106
126
|
"did-load-preview": {
|
|
107
127
|
flowId: number;
|
|
108
128
|
flowTitle: string;
|
|
@@ -228,6 +248,7 @@ type IntegrySDKEvents = {
|
|
|
228
248
|
"did-render-function": EventCallback<"did-render-function">;
|
|
229
249
|
"did-render-app-authorizations": EventCallback<"did-render-app-authorizations">;
|
|
230
250
|
"did-render-flow-step": EventCallback<"did-render-flow-step">;
|
|
251
|
+
"knowledge-base-created": EventCallback<"knowledge-base-created">;
|
|
231
252
|
};
|
|
232
253
|
declare enum ViewStyles {
|
|
233
254
|
COMPACT = "COMPACT",
|