@integry/sdk 4.4.22 → 4.4.24
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/.vscode/launch.json +2 -2
- package/dist/esm/index.csm.d.ts +23 -4
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +22 -1
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
package/.vscode/launch.json
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
// "url": "file:////Users/yasir/Downloads/Flows%20-%20Integry%20SDK%20sample-23.html",
|
|
14
14
|
// "url": "file:////Users/yasir/Downloads/Flows%20-%20Integry%20SDK%20sample%20(33).html",
|
|
15
15
|
// "url": "file:////Users/yasir/Downloads/Integry SDK sample code (17).html",
|
|
16
|
-
|
|
17
|
-
"url": "file:////Users/yasir/Downloads/Integry SDK sample code (19).html",
|
|
16
|
+
"url": "file:////Users/yasir/Downloads/Flows - Integry SDK sample (41).html",
|
|
17
|
+
// "url": "file:////Users/yasir/Downloads/Integry SDK sample code (19).html",
|
|
18
18
|
"webRoot": "${workspaceFolder}/src"
|
|
19
19
|
}
|
|
20
20
|
]
|
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" | "modal-closed";
|
|
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" | "integration-created";
|
|
4
4
|
type ConnectedAccount = {
|
|
5
5
|
id: string;
|
|
6
6
|
display_name: string;
|
|
@@ -50,9 +50,26 @@ type IntegrySDKEventPayloads = {
|
|
|
50
50
|
callbackUrlArray: {
|
|
51
51
|
templateStepId: number;
|
|
52
52
|
activityId: number;
|
|
53
|
-
callbackUrl: string | null
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
callbackUrl: string | null;
|
|
54
|
+
}[];
|
|
55
|
+
authorizations: {
|
|
56
|
+
authorizationId: number;
|
|
57
|
+
userIdentity: string;
|
|
58
|
+
isBrandingAppAuth: boolean;
|
|
59
|
+
}[];
|
|
60
|
+
event: "EDIT" | "CREATE";
|
|
61
|
+
};
|
|
62
|
+
"integration-created": {
|
|
63
|
+
integrationId: number;
|
|
64
|
+
name: string;
|
|
65
|
+
templateId: number;
|
|
66
|
+
flowId: number;
|
|
67
|
+
status: string;
|
|
68
|
+
callbackUrl: string | null;
|
|
69
|
+
callbackUrlArray: {
|
|
70
|
+
templateStepId: number;
|
|
71
|
+
activityId: number;
|
|
72
|
+
callbackUrl: string | null;
|
|
56
73
|
}[];
|
|
57
74
|
authorizations: {
|
|
58
75
|
authorizationId: number;
|
|
@@ -150,6 +167,7 @@ type IntegrySDKEvents = {
|
|
|
150
167
|
"did-load-preview": EventCallback<"did-load-preview">;
|
|
151
168
|
"did-remove-authorization": EventCallback<"did-remove-authorization">;
|
|
152
169
|
"did-save-integration": EventCallback<"did-save-integration">;
|
|
170
|
+
"integration-created": EventCallback<"integration-created">;
|
|
153
171
|
"did-select-authorization": EventCallback<"did-select-authorization">;
|
|
154
172
|
ready: EventCallback<"ready">;
|
|
155
173
|
"should-load-flow": EventCallback<"should-load-flow">;
|
|
@@ -642,6 +660,7 @@ declare class IntegryJS {
|
|
|
642
660
|
*/
|
|
643
661
|
renderMarketplace: (marketplaceConfig: MarketplaceConfig) => void;
|
|
644
662
|
renderAppFlows: (appFlowConfig: InitConfig) => void;
|
|
663
|
+
showApp: (appName: string, renderMode?: RenderModes, containerId?: string, layout?: Layouts) => void;
|
|
645
664
|
showApps: (renderMode?: RenderModes, containerId?: string, layout?: Layouts) => void;
|
|
646
665
|
renderMultipurposeField: ({ containerId, multipurposeFieldProps, }: {
|
|
647
666
|
containerId: string;
|