@integry/sdk 4.9.24 → 4.9.25
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/README.md +9 -0
- package/dist/esm/index.csm.d.ts +26 -0
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +26 -0
- package/dist/umd/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/umd/index.umd.d.ts
CHANGED
|
@@ -317,9 +317,33 @@ type RenderFlowStepOptions = {
|
|
|
317
317
|
enableExpandedTextarea?: boolean;
|
|
318
318
|
requireAuthentication?: boolean;
|
|
319
319
|
};
|
|
320
|
+
type FunctionTool = {
|
|
321
|
+
json_schema: {
|
|
322
|
+
type: "function";
|
|
323
|
+
function: any;
|
|
324
|
+
};
|
|
325
|
+
meta: {
|
|
326
|
+
id?: number | string;
|
|
327
|
+
version?: string | null;
|
|
328
|
+
connected_account_id: string | number | null;
|
|
329
|
+
form_page_machine_name: string | null;
|
|
330
|
+
name?: string;
|
|
331
|
+
title?: string;
|
|
332
|
+
app_name?: string;
|
|
333
|
+
app_icon_url?: string;
|
|
334
|
+
ai_assisted_fields: string[];
|
|
335
|
+
type?: string;
|
|
336
|
+
activity_type?: string;
|
|
337
|
+
endpoint_id?: number | string;
|
|
338
|
+
session_id?: string;
|
|
339
|
+
};
|
|
340
|
+
default_arguments: Record<string, any>;
|
|
341
|
+
parameters_visible_to_user: Record<string, any>;
|
|
342
|
+
};
|
|
320
343
|
type RenderFunctionFormOptions = {
|
|
321
344
|
containerId: string;
|
|
322
345
|
functionName: string | null;
|
|
346
|
+
version?: string | null;
|
|
323
347
|
activity_id?: number | string | null;
|
|
324
348
|
/**
|
|
325
349
|
* When true, the saved json_schema.meta mirrors the activity details meta shape.
|
|
@@ -337,6 +361,7 @@ type RenderFunctionFormOptions = {
|
|
|
337
361
|
enableExpandedTextarea?: boolean;
|
|
338
362
|
variables?: Record<string, any>;
|
|
339
363
|
queryParams?: Record<string, any>;
|
|
364
|
+
hideOptionalFields?: boolean;
|
|
340
365
|
};
|
|
341
366
|
type RenderMappingMenuOptions = {
|
|
342
367
|
containerId: string;
|
|
@@ -914,6 +939,7 @@ declare class IntegryJS {
|
|
|
914
939
|
}) => void;
|
|
915
940
|
renderFunctionForm: (options?: RenderFunctionFormOptions) => void;
|
|
916
941
|
renderFunctionField: (containerId: string, functionFieldProps: FunctionFieldType) => void;
|
|
942
|
+
getFunctionTools: (functionStructure: any) => FunctionTool;
|
|
917
943
|
renderAppAuthorizations: (options?: RenderAppAuthrozationsOptions) => Promise<void>;
|
|
918
944
|
renderFlowStep: (options?: RenderFlowStepOptions) => void;
|
|
919
945
|
renderMappingMenu: (options?: RenderMappingMenuOptions) => void;
|