@integry/sdk 4.8.25 → 4.8.27
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 +12 -1
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +12 -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-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" | "integration-created";
|
|
5
5
|
type ConnectedAccount = {
|
|
6
6
|
id: string;
|
|
7
7
|
display_name: string;
|
|
@@ -64,6 +64,14 @@ type IntegrySDKEventPayloads = {
|
|
|
64
64
|
}[];
|
|
65
65
|
event: "EDIT" | "CREATE";
|
|
66
66
|
};
|
|
67
|
+
"did-upgrade-integration": {
|
|
68
|
+
flowId: number;
|
|
69
|
+
flowName: string;
|
|
70
|
+
flowDescription: string | null;
|
|
71
|
+
integrationId: number;
|
|
72
|
+
integrationName: string;
|
|
73
|
+
upgradeToVersion: number;
|
|
74
|
+
};
|
|
67
75
|
"integration-created": {
|
|
68
76
|
integrationId: number;
|
|
69
77
|
name: string;
|
|
@@ -191,6 +199,7 @@ type IntegrySDKEvents = {
|
|
|
191
199
|
"did-load-preview": EventCallback<"did-load-preview">;
|
|
192
200
|
"did-remove-authorization": EventCallback<"did-remove-authorization">;
|
|
193
201
|
"did-save-integration": EventCallback<"did-save-integration">;
|
|
202
|
+
"did-upgrade-integration": EventCallback<"did-upgrade-integration">;
|
|
194
203
|
"integration-created": EventCallback<"integration-created">;
|
|
195
204
|
"did-select-authorization": EventCallback<"did-select-authorization">;
|
|
196
205
|
ready: EventCallback<"ready">;
|
|
@@ -299,6 +308,7 @@ type RenderAppAuthrozationsOptions = {
|
|
|
299
308
|
isReadOnly?: boolean;
|
|
300
309
|
customTitle?: string;
|
|
301
310
|
showAppIcon?: boolean;
|
|
311
|
+
allowWorkspaceConnectedAccounts?: boolean;
|
|
302
312
|
};
|
|
303
313
|
type TemplateType = Template;
|
|
304
314
|
type FlowCardProps = {
|
|
@@ -607,6 +617,7 @@ interface Instance {
|
|
|
607
617
|
first_error_received_at: string;
|
|
608
618
|
usage_limit_reached_at: string;
|
|
609
619
|
is_test_integration: boolean;
|
|
620
|
+
version_upgrade_in_progress?: boolean;
|
|
610
621
|
}
|
|
611
622
|
interface MultipurposeFieldType {
|
|
612
623
|
activityOutputData: NestedObject;
|