@integry/sdk 3.1.1-beta.2 → 3.1.1-beta.5
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 +12 -7
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +12 -7
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/umd/index.umd.d.ts
CHANGED
|
@@ -3,8 +3,9 @@ type IntegrySDKEvents = {
|
|
|
3
3
|
ready: ({ deploymentId }: {
|
|
4
4
|
deploymentId: number;
|
|
5
5
|
}) => void;
|
|
6
|
-
"should-load-flow": ({ templateId }: {
|
|
6
|
+
"should-load-flow": ({ templateId, flowId }: {
|
|
7
7
|
templateId: number;
|
|
8
|
+
flowId: number;
|
|
8
9
|
}) => void;
|
|
9
10
|
"did-load-flows": ({ flows }: {
|
|
10
11
|
flows: any[];
|
|
@@ -13,6 +14,9 @@ type IntegrySDKEvents = {
|
|
|
13
14
|
integrations: any[];
|
|
14
15
|
}) => void;
|
|
15
16
|
"did-load-flow": (data: {
|
|
17
|
+
flowId: number;
|
|
18
|
+
flowTitle: string;
|
|
19
|
+
flowDescription: string;
|
|
16
20
|
templateId: number;
|
|
17
21
|
templateTitle: string;
|
|
18
22
|
templateDescription: string;
|
|
@@ -21,6 +25,7 @@ type IntegrySDKEvents = {
|
|
|
21
25
|
integrationId: number;
|
|
22
26
|
name: string;
|
|
23
27
|
templateId: number;
|
|
28
|
+
flowId: number;
|
|
24
29
|
status: string;
|
|
25
30
|
callbackUrl: string | null;
|
|
26
31
|
authorizations: {
|
|
@@ -30,9 +35,9 @@ type IntegrySDKEvents = {
|
|
|
30
35
|
}[];
|
|
31
36
|
}) => void;
|
|
32
37
|
"did-load-preview": (data: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
38
|
+
flowId: number;
|
|
39
|
+
flowTitle: string;
|
|
40
|
+
flowDescription: string;
|
|
36
41
|
}) => void;
|
|
37
42
|
"did-change-step": (data: {
|
|
38
43
|
stepId: number;
|
|
@@ -307,9 +312,9 @@ declare class IntegryJS {
|
|
|
307
312
|
* Render the template form we ship
|
|
308
313
|
* @param data
|
|
309
314
|
*/
|
|
310
|
-
renderAccountConnectionModal: (data
|
|
311
|
-
deploymentId?: string;
|
|
312
|
-
}) => void;
|
|
315
|
+
renderAccountConnectionModal: (data?: {
|
|
316
|
+
deploymentId?: string | undefined;
|
|
317
|
+
} | undefined) => void;
|
|
313
318
|
/**
|
|
314
319
|
* Render the template form we ship
|
|
315
320
|
* @param templateId
|