@integry/sdk 4.5.9 → 4.5.10

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.
@@ -53,13 +53,13 @@ type IntegrySDKEventPayloads = {
53
53
  callbackUrl: string | null;
54
54
  }[];
55
55
  authorizations: {
56
- authorizationId:
56
+ authorizationId: number;
57
+ userIdentity: string;
58
+ isBrandingAppAuth:
57
59
  /**
58
60
  * Integry JS SDK
59
61
  */
60
- number;
61
- userIdentity: string;
62
- isBrandingAppAuth: boolean;
62
+ boolean;
63
63
  }[];
64
64
  event: "EDIT" | "CREATE";
65
65
  };
@@ -228,6 +228,13 @@ type SetupIntegrationOptions = {
228
228
  integrationId?: number;
229
229
  params?: Record<string, string>;
230
230
  };
231
+ type RenderFlowStepOptions = {
232
+ containerId: string;
233
+ step: any;
234
+ connectedAccountId: string;
235
+ tagsComponent?: any;
236
+ onFieldChangeCallback: (fieldId: string, value: any) => void;
237
+ };
231
238
  type TemplateType = Template;
232
239
  type FlowCardProps = {
233
240
  id: number | string;
@@ -710,7 +717,7 @@ declare class IntegryJS {
710
717
  containerId: string;
711
718
  multipurposeFieldProps: MultipurposeFieldType;
712
719
  }) => void;
713
- renderFlowStep: (containerId: string, step: any, connectedAccountId: string, tagsTree?: {}, onFieldChangeCallback?: ((fieldId: string, value: string) => void) | undefined) => void;
720
+ renderFlowStep: (options?: RenderFlowStepOptions) => void;
714
721
  verifyAuthConfig: () => Promise<{
715
722
  config_verified: boolean;
716
723
  meta: any;