@integry/sdk 4.8.2 → 4.8.3

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.
@@ -263,6 +263,7 @@ type ShowFunctionOptions = {
263
263
  hideFunctionTitle?: boolean; // Optional prop to hide the function title header
264
264
  hiddenFields?: string[]; // Field machine names that should be hidden by default
265
265
  visibleFields?: string[]; // Field machine names that should be visible
266
+ isReadOnly?: boolean; // Optional prop to make the form read-only
266
267
  };
267
268
  type RenderAppAuthrozationsOptions = {
268
269
  containerId: string;
@@ -709,7 +710,7 @@ declare class IntegryJS {
709
710
  setupIntegration: (flowId: string, options?: SetupIntegrationOptions) => void;
710
711
  showFunctionUI: (functionName: string, functionArguments?: {
711
712
  [key: string]: any;
712
- }, connectedAccountId?: string | undefined) => Promise<Record<any, any>>;
713
+ }, connectedAccountId?: string | undefined, isReadOnly?: boolean) => Promise<Record<any, any>>;
713
714
  showFunction: (functionName: string, options?: ShowFunctionOptions, renderMode?: RenderModes, containerId?: string | undefined) => Promise<Record<any, any>>;
714
715
  invokeFunction: (functionName: string, params: {
715
716
  [key: string]: any;