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