@integry/sdk 4.4.19 → 4.4.20
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { html } from 'htm/preact';
|
|
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";
|
|
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";
|
|
4
4
|
type ConnectedAccount = {
|
|
5
5
|
id: string;
|
|
6
6
|
display_name: string;
|
|
@@ -50,7 +50,9 @@ type IntegrySDKEventPayloads = {
|
|
|
50
50
|
callbackUrlArray: {
|
|
51
51
|
templateStepId: number;
|
|
52
52
|
activityId: number;
|
|
53
|
-
callbackUrl: string | null
|
|
53
|
+
callbackUrl: string | null /**
|
|
54
|
+
* Integry JS SDK
|
|
55
|
+
*/;
|
|
54
56
|
}[];
|
|
55
57
|
authorizations: {
|
|
56
58
|
authorizationId: number;
|
|
@@ -159,6 +161,7 @@ type IntegrySDKEvents = {
|
|
|
159
161
|
"did-raise-sdk-embed-warning": EventCallback<"did-raise-sdk-embed-warning">;
|
|
160
162
|
"app-connected": EventCallback<"app-connected">;
|
|
161
163
|
"app-disconnected": EventCallback<"app-disconnected">;
|
|
164
|
+
"modal-closed": EventCallback<"modal-closed">;
|
|
162
165
|
};
|
|
163
166
|
declare enum ViewStyles {
|
|
164
167
|
COMPACT = "COMPACT",
|