@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/umd/index.umd.d.ts
CHANGED
|
@@ -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;
|
|
@@ -272,6 +273,8 @@ type RenderAppAuthrozationsOptions = {
|
|
|
272
273
|
onAuthCreated?: (auth: Authorization) => void;
|
|
273
274
|
onAuthDeleted?: (authId: number) => void;
|
|
274
275
|
isReadOnly?: boolean;
|
|
276
|
+
customTitle?: string;
|
|
277
|
+
showAppIcon?: boolean;
|
|
275
278
|
};
|
|
276
279
|
type TemplateType = Template;
|
|
277
280
|
type FlowCardProps = {
|
|
@@ -697,7 +700,7 @@ declare class IntegryJS {
|
|
|
697
700
|
setupIntegration: (flowId: string, options?: SetupIntegrationOptions) => void;
|
|
698
701
|
showFunctionUI: (functionName: string, functionArguments?: {
|
|
699
702
|
[key: string]: any;
|
|
700
|
-
}, connectedAccountId?: string | undefined) => Promise<Record<any, any>>;
|
|
703
|
+
}, connectedAccountId?: string | undefined, isReadOnly?: boolean) => Promise<Record<any, any>>;
|
|
701
704
|
showFunction: (functionName: string, options?: ShowFunctionOptions, renderMode?: RenderModes, containerId?: string | undefined) => Promise<Record<any, any>>;
|
|
702
705
|
invokeFunction: (functionName: string, params: {
|
|
703
706
|
[key: string]: any;
|