@integry/sdk 3.1.5-beta.7 → 3.1.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.
@@ -20,11 +20,19 @@ type IntegrySDKEvents = {
20
20
  templateId: number;
21
21
  templateTitle: string;
22
22
  templateDescription: string;
23
+ mode: "EDIT" | "CREATE";
23
24
  }) => void;
24
25
  "did-load-integration": (data: {
25
26
  flowId: number;
26
27
  integrationId: number;
27
28
  }) => void;
29
+ "did-delete-integration": (data: {
30
+ flowId: number;
31
+ flowName: string;
32
+ flowDescription: string;
33
+ integrationId: number;
34
+ integrationName: string;
35
+ }) => void;
28
36
  "did-save-integration": (data: {
29
37
  integrationId: number;
30
38
  name: string;
@@ -32,6 +40,7 @@ type IntegrySDKEvents = {
32
40
  flowId: number;
33
41
  status: string;
34
42
  callbackUrl: string | null;
43
+ event: "EDIT" | "CREATE";
35
44
  authorizations: {
36
45
  authorizationId: number;
37
46
  userIdentity: string;
@@ -121,9 +130,11 @@ interface UserConfig {
121
130
  customComponents?: {
122
131
  flowCard?: (props: FlowCardProps) => VNode;
123
132
  };
133
+ autoRedirectToMyFlows?: boolean;
124
134
  }
125
135
  interface SDKConfig {
126
136
  env?: "staging" | "production";
137
+ baseUrl?: string;
127
138
  debug?: boolean;
128
139
  integrationId?: number;
129
140
  xIntegryConfig?: {