@integry/sdk 4.8.2 → 4.8.4

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