@integry/sdk 4.2.5 → 4.2.7
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/umd/index.umd.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { VNode } from "preact";
|
|
2
|
-
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";
|
|
2
|
+
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";
|
|
3
3
|
type IntegrySDKEventPayloads = {
|
|
4
4
|
ready: {
|
|
5
5
|
isReady: boolean;
|
|
@@ -99,6 +99,11 @@ type IntegrySDKEventPayloads = {
|
|
|
99
99
|
name: string;
|
|
100
100
|
status: string;
|
|
101
101
|
};
|
|
102
|
+
"did-rename-integration": {
|
|
103
|
+
integrationId: number;
|
|
104
|
+
name: string;
|
|
105
|
+
status: string;
|
|
106
|
+
};
|
|
102
107
|
};
|
|
103
108
|
type EventCallback<P extends IntegrySDKEventType> = (
|
|
104
109
|
// @ts-expect-error P can index IntegrySDKEventPayloads
|
|
@@ -124,6 +129,7 @@ type IntegrySDKEvents = {
|
|
|
124
129
|
"did-app-load": EventCallback<"did-app-load">;
|
|
125
130
|
"did-enable-integration": EventCallback<"did-enable-integration">;
|
|
126
131
|
"did-disable-integration": EventCallback<"did-disable-integration">;
|
|
132
|
+
"did-rename-integration": EventCallback<"did-rename-integration">;
|
|
127
133
|
};
|
|
128
134
|
declare enum ViewStyles {
|
|
129
135
|
COMPACT = "COMPACT",
|