@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.
- package/.vscode/launch.json +2 -2
- package/dist/esm/index.csm.d.ts +7 -5
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +7 -5
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
- package/src/components/form/ObjectField/index.ts +1 -1
- package/src/features/common/ActionForm/index.ts +5 -1
- package/src/index.ts +17 -15
- package/src/types/index.ts +6 -0
package/dist/umd/index.umd.d.ts
CHANGED
|
@@ -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,
|
|
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>>;
|