@integry/sdk 4.8.1 → 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.
package/dist/esm/index.csm.d.ts
CHANGED
|
@@ -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;
|
|
@@ -273,6 +274,8 @@ type RenderAppAuthrozationsOptions = {
|
|
|
273
274
|
onAuthCreated?: (auth: Authorization) => void;
|
|
274
275
|
onAuthDeleted?: (authId: number) => void;
|
|
275
276
|
isReadOnly?: boolean;
|
|
277
|
+
customTitle?: string;
|
|
278
|
+
showAppIcon?: boolean;
|
|
276
279
|
};
|
|
277
280
|
type TemplateType = Template;
|
|
278
281
|
type FlowCardProps = {
|
|
@@ -707,7 +710,7 @@ declare class IntegryJS {
|
|
|
707
710
|
setupIntegration: (flowId: string, options?: SetupIntegrationOptions) => void;
|
|
708
711
|
showFunctionUI: (functionName: string, functionArguments?: {
|
|
709
712
|
[key: string]: any;
|
|
710
|
-
}, connectedAccountId?: string | undefined) => Promise<Record<any, any>>;
|
|
713
|
+
}, connectedAccountId?: string | undefined, isReadOnly?: boolean) => Promise<Record<any, any>>;
|
|
711
714
|
showFunction: (functionName: string, options?: ShowFunctionOptions, renderMode?: RenderModes, containerId?: string | undefined) => Promise<Record<any, any>>;
|
|
712
715
|
invokeFunction: (functionName: string, params: {
|
|
713
716
|
[key: string]: any;
|