@integry/sdk 4.5.9 → 4.5.11

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