@integry/sdk 4.4.23 → 4.4.25
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 -4
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +21 -1
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
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" | "did-rename-integration" | "did-raise-sdk-embed-warning" | "app-connected" | "app-disconnected" | "modal-closed";
|
|
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" | "did-raise-sdk-embed-warning" | "app-connected" | "app-disconnected" | "modal-closed" | "integration-created";
|
|
3
3
|
type ConnectedAccount = {
|
|
4
4
|
id: string;
|
|
5
5
|
display_name: string;
|
|
@@ -58,6 +58,25 @@ type IntegrySDKEventPayloads = {
|
|
|
58
58
|
}[];
|
|
59
59
|
event: "EDIT" | "CREATE";
|
|
60
60
|
};
|
|
61
|
+
"integration-created": {
|
|
62
|
+
integrationId: number;
|
|
63
|
+
name: string;
|
|
64
|
+
templateId: number;
|
|
65
|
+
flowId: number;
|
|
66
|
+
status: string;
|
|
67
|
+
callbackUrl: string | null;
|
|
68
|
+
callbackUrlArray: {
|
|
69
|
+
templateStepId: number;
|
|
70
|
+
activityId: number;
|
|
71
|
+
callbackUrl: string | null;
|
|
72
|
+
}[];
|
|
73
|
+
authorizations: {
|
|
74
|
+
authorizationId: number;
|
|
75
|
+
userIdentity: string;
|
|
76
|
+
isBrandingAppAuth: boolean;
|
|
77
|
+
}[];
|
|
78
|
+
event: "EDIT" | "CREATE";
|
|
79
|
+
};
|
|
61
80
|
"did-load-preview": {
|
|
62
81
|
flowId: number;
|
|
63
82
|
flowTitle: string;
|
|
@@ -147,6 +166,7 @@ type IntegrySDKEvents = {
|
|
|
147
166
|
"did-load-preview": EventCallback<"did-load-preview">;
|
|
148
167
|
"did-remove-authorization": EventCallback<"did-remove-authorization">;
|
|
149
168
|
"did-save-integration": EventCallback<"did-save-integration">;
|
|
169
|
+
"integration-created": EventCallback<"integration-created">;
|
|
150
170
|
"did-select-authorization": EventCallback<"did-select-authorization">;
|
|
151
171
|
ready: EventCallback<"ready">;
|
|
152
172
|
"should-load-flow": EventCallback<"should-load-flow">;
|