@integry/sdk 4.5.53 → 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/dist/esm/index.csm.d.ts
CHANGED
|
@@ -233,6 +233,12 @@ type RenderFlowStepOptions = {
|
|
|
233
233
|
onFieldChangeCallback: (fieldId: string, value: any) => void;
|
|
234
234
|
tagsTree: any;
|
|
235
235
|
};
|
|
236
|
+
type ShowFunctionOptions = {
|
|
237
|
+
params?: Record<string, any>;
|
|
238
|
+
payload?: Record<string, any>;
|
|
239
|
+
connectedAccountId?: string;
|
|
240
|
+
autoMapPayload?: boolean;
|
|
241
|
+
};
|
|
236
242
|
type TemplateType = Template;
|
|
237
243
|
type FlowCardProps = {
|
|
238
244
|
id: number | string;
|
|
@@ -655,11 +661,7 @@ declare class IntegryJS {
|
|
|
655
661
|
showFunctionUI: (functionName: string, functionArguments?: {
|
|
656
662
|
[key: string]: any;
|
|
657
663
|
}, connectedAccountId?: string | undefined) => Promise<Record<any, any>>;
|
|
658
|
-
showFunction: (functionName: string,
|
|
659
|
-
[key: string]: any;
|
|
660
|
-
}, vars?: {
|
|
661
|
-
[key: string]: any;
|
|
662
|
-
}, autoMapVars?: boolean, connectedAccountId?: string | undefined) => Promise<Record<any, any>>;
|
|
664
|
+
showFunction: (functionName: string, options?: ShowFunctionOptions) => Promise<Record<any, any>>;
|
|
663
665
|
invokeFunction: (functionName: string, params: {
|
|
664
666
|
[key: string]: any;
|
|
665
667
|
}, connectedAccountId: string) => Promise<Record<any, any>>;
|