@integry/sdk 4.8.26 → 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 +11 -1
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +11 -1
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/umd/index.umd.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="index.ts" />
|
|
2
2
|
import { VNode } from "preact";
|
|
3
|
-
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";
|
|
3
|
+
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
4
|
type ConnectedAccount = {
|
|
5
5
|
id: string;
|
|
6
6
|
display_name: string;
|
|
@@ -63,6 +63,14 @@ type IntegrySDKEventPayloads = {
|
|
|
63
63
|
}[];
|
|
64
64
|
event: "EDIT" | "CREATE";
|
|
65
65
|
};
|
|
66
|
+
"did-upgrade-integration": {
|
|
67
|
+
flowId: number;
|
|
68
|
+
flowName: string;
|
|
69
|
+
flowDescription: string | null;
|
|
70
|
+
integrationId: number;
|
|
71
|
+
integrationName: string;
|
|
72
|
+
upgradeToVersion: number;
|
|
73
|
+
};
|
|
66
74
|
"integration-created": {
|
|
67
75
|
integrationId: number;
|
|
68
76
|
name: string;
|
|
@@ -190,6 +198,7 @@ type IntegrySDKEvents = {
|
|
|
190
198
|
"did-load-preview": EventCallback<"did-load-preview">;
|
|
191
199
|
"did-remove-authorization": EventCallback<"did-remove-authorization">;
|
|
192
200
|
"did-save-integration": EventCallback<"did-save-integration">;
|
|
201
|
+
"did-upgrade-integration": EventCallback<"did-upgrade-integration">;
|
|
193
202
|
"integration-created": EventCallback<"integration-created">;
|
|
194
203
|
"did-select-authorization": EventCallback<"did-select-authorization">;
|
|
195
204
|
ready: EventCallback<"ready">;
|
|
@@ -607,6 +616,7 @@ interface Instance {
|
|
|
607
616
|
first_error_received_at: string;
|
|
608
617
|
usage_limit_reached_at: string;
|
|
609
618
|
is_test_integration: boolean;
|
|
619
|
+
version_upgrade_in_progress?: boolean;
|
|
610
620
|
}
|
|
611
621
|
interface MultipurposeFieldType {
|
|
612
622
|
activityOutputData: NestedObject;
|