@integry/sdk 4.9.24 → 4.9.26
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 +10 -0
- package/dist/esm/index.csm.d.ts +28 -0
- package/dist/esm/index.csm.js +1 -1
- package/dist/umd/index.umd.d.ts +27 -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;
|
|
@@ -779,6 +804,7 @@ declare class IntegryJS {
|
|
|
779
804
|
static MarketplaceRenderModes: typeof MarketplaceRenderModes;
|
|
780
805
|
static Helpers: {
|
|
781
806
|
getAuthHash: (key: string, message: string) => Promise<string>;
|
|
807
|
+
getFunctionTools: (functionStructure: any) => FunctionTool;
|
|
782
808
|
};
|
|
783
809
|
private authModalId;
|
|
784
810
|
private forceRerender;
|
|
@@ -914,6 +940,7 @@ declare class IntegryJS {
|
|
|
914
940
|
}) => void;
|
|
915
941
|
renderFunctionForm: (options?: RenderFunctionFormOptions) => void;
|
|
916
942
|
renderFunctionField: (containerId: string, functionFieldProps: FunctionFieldType) => void;
|
|
943
|
+
getFunctionTools: (functionStructure: any) => FunctionTool;
|
|
917
944
|
renderAppAuthorizations: (options?: RenderAppAuthrozationsOptions) => Promise<void>;
|
|
918
945
|
renderFlowStep: (options?: RenderFlowStepOptions) => void;
|
|
919
946
|
renderMappingMenu: (options?: RenderMappingMenuOptions) => void;
|