@integry/sdk 4.5.52 → 4.6.0

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.
@@ -232,6 +232,12 @@ type RenderFlowStepOptions = {
232
232
  onFieldChangeCallback: (fieldId: string, value: any) => void;
233
233
  tagsTree: any;
234
234
  };
235
+ type ShowFunctionOptions = {
236
+ params?: Record<string, any>;
237
+ payload?: Record<string, any>;
238
+ connectedAccountId?: string;
239
+ autoMapPayload?: boolean;
240
+ };
235
241
  type TemplateType = Template;
236
242
  type FlowCardProps = {
237
243
  id: number | string;
@@ -645,11 +651,7 @@ declare class IntegryJS {
645
651
  showFunctionUI: (functionName: string, functionArguments?: {
646
652
  [key: string]: any;
647
653
  }, connectedAccountId?: string | undefined) => Promise<Record<any, any>>;
648
- showFunction: (functionName: string, params?: {
649
- [key: string]: any;
650
- }, vars?: {
651
- [key: string]: any;
652
- }, autoMapVars?: boolean, connectedAccountId?: string | undefined) => Promise<Record<any, any>>;
654
+ showFunction: (functionName: string, options?: ShowFunctionOptions) => Promise<Record<any, any>>;
653
655
  invokeFunction: (functionName: string, params: {
654
656
  [key: string]: any;
655
657
  }, connectedAccountId: string) => Promise<Record<any, any>>;