# Variable actions

actions: {
blocks: {
configFields: { input_type: string; name: string }[];
description: string;
disableInBuilder: boolean;
disableInList: boolean;
disableInWorkflow: boolean;
namespace: string;
run: base;
};
convert_session_to_user: {
configFields: (
__namedParameters: { table: any },
) => Promise<
(
| {
attributes?: undefined;
input_type: string;
label: string;
name: string;
options: string[];
sublabel: string;
type?: undefined;
}
| {
attributes: { calcOptions: {}[] };
input_type?: undefined;
label: string;
name: string;
options?: undefined;
sublabel: string;
type: string;
}
)[],
>;
description: string;
namespace: string;
run: (
__namedParameters: {
configuration: {
session_field: any;
table_name: any;
user_field: any;
};
row: any;
user: any;
},
) => Promise<void>;
};
copy_to_clipboard: {
configFields: {
label: string;
name: string;
required: boolean;
sublabel: string;
type: string;
}[];
description: string;
namespace: string;
requireRow: boolean;
run: (
__namedParameters: {
configuration: { text_template: any };
req: any;
row: any;
table: any;
user: any;
},
) => Promise<{ eval_js: string }>;
};
delete_rows: {
configFields: (
__namedParameters: { mode: any; when_trigger: any },
) => Promise<
(
| {
class?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required?: undefined;
showIf?: undefined;
sublabel?: undefined;
type: string;
}
| {
class?: undefined;
input_type: string;
label: string;
name: string;
options: string[];
required?: undefined;
showIf: { delete_triggering_row: boolean }
| undefined;
sublabel: string;
type?: undefined;
}
| {
class: string;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required: boolean;
showIf: { delete_triggering_row: boolean }
| undefined;
sublabel: string;
type: string;
}
)[],
>;
description: string;
namespace: string;
run: (
__namedParameters: {
configuration: {
delete_triggering_row: any;
delete_where: any;
table_name: any;
};
row: any;
table: any;
user: any;
},
) => Promise<{}>;
};
download_file_to_browser: {
configFields: (
__namedParameters: { mode: any; table: any },
) => Promise<
| {
class: string;
label: string;
name: string;
sublabel: string;
type: string;
}[]
| {
attributes: { options: any };
label: string;
name: string;
required: boolean;
type: string;
}[],
>;
description: string;
run: (
__namedParameters: {
configuration: { file_field: any; filepath_expr: any };
mode: any;
row: any;
user: any;
},
) => Promise<
| {
download: {
blob: Buffer<ArrayBufferLike>;
filename: string;
mimetype: string;
};
}
| undefined,
>;
};
duplicate_row: {
configFields: () => never[];
description: string;
disableInWorkflow: boolean;
namespace: string;
requireRow: boolean;
run: (opts: { row: object; table: object; user: any }) => Promise<object>;
};
duplicate_row_prefill_edit: {
configFields: (__namedParameters: { table: any }) => Promise<any[]>;
disableInWorkflow: boolean;
namespace: string;
requireRow: boolean;
run: (
__namedParameters: {
configuration: { viewname: any };
row: any;
table: any;
user: any;
},
) => Promise<{ goto: string }>;
};
emit_event: {
configFields: () => (
| {
fieldview?: undefined;
input_type: string;
label: string;
name: string;
options: string[];
required: boolean;
sublabel?: undefined;
type?: undefined;
}
| {
fieldview: string;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required?: undefined;
sublabel?: undefined;
type: string;
}
| {
fieldview: string;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required?: undefined;
sublabel: string;
type: string;
}
)[];
description: string;
namespace: string;
run: (
opts: { configuration: object; row: object; user: object },
) => Promise<void>;
};
find_or_create_dm_room: {
configFields: () => Promise<
{
input_type: string;
label: string;
name: string;
options: string[];
sublabel: string;
}[],
>;
description: string;
namespace: string;
run: (
opts: { configuration: object; row: object; table: any; user: object },
) => Promise<object>;
};
form_action: {
configFields: {
attributes: { options: string[] };
label: string;
name: string;
required: boolean;
type: string;
}[];
description: string;
namespace: string;
requireRow: boolean;
run: (
__namedParameters: {
configuration: { form_action: any };
req: any;
row: any;
table: any;
user: any;
},
) => Promise<
| {
eval_js: string;
notify_success?: undefined;
set_fields?: undefined;
}
| {
eval_js?: undefined;
notify_success: any;
set_fields: { [key: number]: any };
}
| { eval_js?: undefined; notify_success: any; set_fields?: undefined },
>;
};
insert_any_row: {
configFields: (
__namedParameters: { mode: any },
) => Promise<
(
| {
attributes?: undefined;
class?: undefined;
fieldview?: undefined;
input_type: string;
label: string;
name: string;
options: string[];
sublabel: string;
type?: undefined;
}
| {
attributes: { spellcheck: boolean };
class: string;
fieldview: string;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
sublabel: string;
type: string;
}
| {
attributes?: undefined;
class?: undefined;
fieldview?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
sublabel: string;
type: string;
}
)[],
>;
description: string;
namespace: string;
run: (
opts: {
configuration: object;
rest?: any;
row: object;
table?: object;
user: object;
},
) => Promise<boolean | object>;
};
insert_joined_row: {
configFields: (
__namedParameters: { table: any },
) => Promise<
{
input_type: string;
label: string;
name: string;
options: any;
sublabel: string;
}[],
>;
description: string;
disableInWorkflow: boolean;
namespace: string;
requireRow: boolean;
run: (
opts: {
configuration: object;
row: object;
table: object;
user: object;
},
) => Promise<object>;
};
install_progressive_web_app: {
configFields: () => never[];
description: string;
run: (
__namedParameters: { req: any },
) => Promise<
| { error?: undefined; eval_js: string }
| { error: any; eval_js?: undefined },
>;
};
loop_rows: {
configFields: () => Promise<
(
| {
attributes?: undefined;
input_type: string;
label: string;
name: string;
options: string[];
sublabel: string;
type?: undefined;
}
| {
attributes: {
calcOptions?: undefined;
expression_type: string;
min?: undefined;
mode: string;
singleline: boolean;
};
input_type: string;
label: string;
name: string;
options?: undefined;
sublabel: string;
type?: undefined;
}
| {
attributes?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
sublabel: string;
type: string;
}
| {
attributes: {
calcOptions: {}[];
expression_type?: undefined;
min?: undefined;
mode?: undefined;
singleline?: undefined;
};
input_type?: undefined;
label: string;
name: string;
options?: undefined;
sublabel?: undefined;
type: string;
}
| {
attributes?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
sublabel?: undefined;
type: string;
}
| {
attributes: {
calcOptions?: undefined;
expression_type?: undefined;
min: number;
mode?: undefined;
singleline?: undefined;
};
input_type?: undefined;
label: string;
name: string;
options?: undefined;
sublabel: string;
type: string;
}
| {
attributes?: undefined;
input_type: string;
label: string;
name: string;
options: {
label: string
| undefined;
value: number | null | undefined;
}[];
sublabel: string;
type?: undefined;
}
)[],
>;
description: string;
namespace: string;
run: (
opts: { configuration: object; row: object; user: object },
) => Promise<void>;
};
modify_row: {
configFields: (
__namedParameters: { mode: any; when_trigger: any },
) => Promise<
(
| {
attributes: {
compact: boolean;
expression_type: string;
mode: string;
options?: undefined;
showIf?: undefined;
singleline?: undefined;
};
input_type: string;
label: string;
name: string;
required?: undefined;
showIf?: undefined;
sublabel: string;
type?: undefined;
}
| {
attributes: {
compact?: undefined;
expression_type?: undefined;
mode?: undefined;
options: string[];
showIf?: undefined;
singleline?: undefined;
};
input_type?: undefined;
label: string;
name: string;
required: boolean;
showIf?: undefined;
sublabel?: undefined;
type: string;
}
| {
attributes: {
compact?: undefined;
expression_type?: undefined;
mode?: undefined;
options: string[];
showIf: { where: string };
singleline?: undefined;
};
input_type?: undefined;
label: string;
name: string;
required: boolean;
showIf?: undefined;
sublabel?: undefined;
type: string;
}
| {
attributes: {
compact?: undefined;
expression_type: string;
mode: string;
options?: undefined;
showIf?: undefined;
singleline: boolean;
};
input_type: string;
label: string;
name: string;
required: boolean;
showIf: { where: string };
sublabel?: undefined;
type?: undefined;
}
)[],
>;
description: string;
namespace: string;
requireRow: boolean;
run: (
__namedParameters: {
configuration: {
query: any;
row_expr: any;
select_table: any;
where: any;
};
row: any;
table: any;
user: any;
},
) => Promise<any>;
};
navigate: {
configFields: () => Promise<
(
| {
attributes: { options: string[] };
class?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required: boolean;
showIf?: undefined;
type: string;
}
| {
attributes?: undefined;
class?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required: boolean;
showIf: { nav_action: string[] };
type: string;
}
| {
attributes?: undefined;
class?: undefined;
input_type: string;
label: string;
name: string;
options: string[];
required?: undefined;
showIf: { nav_action: string };
type?: undefined;
}
| {
attributes?: undefined;
class: string;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required?: undefined;
showIf: { nav_action: string[] };
type: string;
}
| {
attributes?: undefined;
class?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required?: undefined;
showIf: { nav_action: string[] };
type: string;
}
)[],
>;
description: string;
namespace: string;
run: (
__namedParameters: {
configuration: {
in_popup: any;
nav_action: any;
new_tab: any;
page: any;
state_formula: any;
url: any;
view: any;
};
req: any;
row: any;
user: any;
},
) => Promise<
| {
eval_js?: undefined;
popup?: undefined;
reload_page?: undefined;
target?: string;
}
| { eval_js?: undefined; popup: string; reload_page?: undefined }
| { eval_js: string; popup?: undefined; reload_page?: undefined }
| { eval_js?: undefined; popup?: undefined; reload_page: boolean }
| undefined,
>;
};
notify_user: {
configFields: () => (
| { label: string; name: string; required?: undefined; type: string }
| { label: string; name: string; required: boolean; type: string }
)[];
description: string;
namespace: string;
run: (
opts: { configuration: object; row: object; user: object },
) => Promise<void>;
};
progress_bar: {
configFields: (
| {
class?: undefined;
label: string;
name: string;
required?: undefined;
showIf?: undefined;
sublabel: string;
type: string;
}
| {
class: string;
label: string;
name: string;
required: boolean;
showIf: { blocking: boolean; close?: undefined };
sublabel: string;
type: string;
}
| {
class?: undefined;
label: string;
name: string;
required?: undefined;
showIf: { blocking: boolean; close: boolean };
sublabel: string;
type: string;
}
| {
class?: undefined;
label: string;
name: string;
required?: undefined;
showIf: { blocking: boolean; close: boolean };
sublabel?: undefined;
type: string;
}
| {
class?: undefined;
label: string;
name: string;
required?: undefined;
showIf: { blocking?: undefined; close: boolean };
sublabel?: undefined;
type: string;
}
| {
class?: undefined;
label: string;
name: string;
required?: undefined;
showIf: { blocking?: undefined; close: boolean };
sublabel: string;
type: string;
}
)[];
description: string;
namespace: string;
run: (
__namedParameters: {
configuration: {
blocking: any;
close: any;
id: any;
maxHeight: any;
message: any;
percent: any;
popupWidth: any;
title: any;
};
req: any;
row: any;
user: any;
},
) => Promise<
{
page_load_tag: any;
progress_bar_update: {
blocking: any;
close: any;
id: string;
maxHeight: any;
message: string;
percent: number;
popupWidth: any;
title: string;
};
},
>;
};
recalculate_stored_fields: {
configFields: (
__namedParameters: { table: any },
) => Promise<
(
| {
attributes?: undefined;
input_type: string;
label: string;
name: string;
options: string[];
showIf?: undefined;
sublabel: string;
type?: undefined;
}
| {
attributes?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
showIf: { table: any }
| { table?: undefined };
sublabel?: undefined;
type: string;
}
| {
attributes: {
expression_type: string;
mode: string;
singleline: boolean;
};
input_type: string;
label: string;
name: string;
options?: undefined;
showIf?: undefined;
sublabel: string;
type?: undefined;
}
)[],
>;
description: string;
namespace: string;
run: (opts: { configuration: object }) => Promise<void>;
};
refresh_user_session: {
description: string;
namespace: string;
run: (__namedParameters: { req: any; user: any }) => Promise<void>;
};
reload_embedded_view: {
configFields: () => Promise<
(
| {
attributes: { options: any[] };
class: string;
label: string;
name: string;
required: boolean;
sublabel?: undefined;
type: string;
}
| {
attributes?: undefined;
class: string;
label: string;
name: string;
required?: undefined;
sublabel?: undefined;
type: string;
}
| {
attributes?: undefined;
class?: undefined;
label: string;
name: string;
required?: undefined;
sublabel: string;
type: string;
}
)[],
>;
description: string;
namespace: string;
run: (
__namedParameters: {
configuration: { interval: any; new_state_fml: any; view: any };
row: any;
user: any;
},
) => Promise<{ eval_js: string }>;
};
run_js_code: {
configFields: (
__namedParameters: { mode: any; table: any; when_trigger: any },
) => Promise<
(
| {
attributes: {
mode: string;
secondColHoriz?: undefined;
table: any;
user: string
| undefined;
workflow: boolean;
};
class: (string | false)[];
help?: undefined;
input_type: string;
label: string;
name: string;
options?: undefined;
showIf?: undefined;
sublabel?: undefined;
validator(s: any): any;
}
| {
attributes: {
mode?: undefined;
secondColHoriz: boolean;
table?: undefined;
user?: undefined;
workflow?: undefined;
};
class?: undefined;
help: { topic: string };
input_type: string;
label: string;
name?: undefined;
options?: undefined;
showIf: { run_where: string };
sublabel: string;
validator?: undefined;
}
| {
attributes?: undefined;
class?: undefined;
help?: undefined;
input_type: string;
label: string;
name: string;
options: string[];
showIf?: undefined;
sublabel?: undefined;
validator?: undefined;
}
)[],
>;
configFormOptions: { formStyle: string };
description: string;
namespace: string;
run: base;
};
run_js_code_in_field: {
configFields: (
__namedParameters: { mode: any; table: any },
) => Promise<
| (
| {
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required: boolean;
sublabel: string;
type: string;
}
| {
input_type: string;
label: string;
name: string;
options: string[];
required?: undefined;
sublabel?: undefined;
type?: undefined;
}
)[]
| (
| {
attributes: { options: any };
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required: boolean;
sublabel: string;
type: string;
}
| {
attributes?: undefined;
input_type: string;
label: string;
name: string;
options: string[];
required?: undefined;
sublabel?: undefined;
type?: undefined;
}
)[],
>;
description: string;
namespace: string;
requireRow: boolean;
run: base;
};
send_email: {
configFields: (
__namedParameters: { mode: any; table: any },
) => Promise<
| (
| {
fieldview?: undefined;
label: string;
name: string;
required?: undefined;
sublabel: string;
type: string;
}
| {
fieldview?: undefined;
label: string;
name: string;
required: boolean;
sublabel: string;
type: string;
}
| {
fieldview: string;
label: string;
name: string;
required: boolean;
sublabel?: undefined;
type: string;
}
)[]
| (
| {
attributes: { options: string[] };
class?: undefined;
default?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required: boolean;
showIf?: undefined;
sublabel?: undefined;
type: string;
}
| {
attributes: { options: any };
class?: undefined;
default?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required: boolean;
showIf: { body_type: string[]; to_email?: undefined };
sublabel?: undefined;
type: string;
}
| {
attributes?: undefined;
class?: undefined;
default?: undefined;
input_type: string;
label: string;
name: string;
options: string[];
required?: undefined;
showIf: { body_type: string; to_email?: undefined };
sublabel: string;
type?: undefined;
}
| {
attributes?: undefined;
class?: undefined;
default?: undefined;
input_type: string;
label: string;
name: string;
options: string[];
required: boolean;
showIf?: undefined;
sublabel: string;
type?: undefined;
}
| {
attributes?: undefined;
class?: undefined;
default?: undefined;
input_type: string;
label: string;
name: string;
options: any;
required?: undefined;
showIf: { body_type?: undefined; to_email: string };
sublabel: string;
type?: undefined;
}
| {
attributes?: undefined;
class?: undefined;
default?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required?: undefined;
showIf: { body_type?: undefined; to_email: string };
sublabel: string;
type: string;
}
| {
attributes?: undefined;
class?: undefined;
default?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required?: undefined;
showIf?: undefined;
sublabel: string;
type: string;
}
| {
attributes?: undefined;
class: string;
default?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required: boolean;
showIf?: undefined;
sublabel: string;
type: string;
}
| {
attributes?: undefined;
class?: undefined;
default?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required: boolean;
showIf?: undefined;
sublabel?: undefined;
type: string;
}
| {
attributes?: undefined;
class?: undefined;
default: string;
input_type: string;
label: string;
name: string;
options: string[];
required?: undefined;
showIf?: undefined;
sublabel: string;
type: string;
}
| {
attributes?: undefined;
class?: undefined;
default?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required?: undefined;
showIf?: undefined;
sublabel?: undefined;
type: string;
}
| {
attributes: { options: any };
class?: undefined;
default?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required?: undefined;
showIf?: undefined;
sublabel: string;
type: string;
}
)[],
>;
description: string;
namespace: string;
requireRow: boolean;
run: (
opts: {
configuration: object;
row: object;
table: object;
user: object;
},
) => Promise<object>;
};
set_user_language: {
configFields: (
__namedParameters: { table: any },
) => Promise<
{
attributes: { options: { label: string; name: string }[] };
name: string;
required: boolean;
type: string;
}[],
>;
description: string;
namespace: string;
run: (
__namedParameters: {
configuration: { language: any };
req: any;
res: any;
user: any;
},
) => Promise<{ reload_page: boolean }>;
};
sleep: {
configFields: (
| {
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required: boolean;
type: string;
}
| {
input_type: string;
label: string;
name: string;
options: string[];
required?: undefined;
type?: undefined;
}
)[];
description: string;
namespace: string;
run: (
__namedParameters: {
configuration: { seconds: any; sleep_where: any };
},
) => Promise<{ eval_js: string } | undefined>;
};
step_control_flow: {
configFields: (
| {
attributes: { options: string[] };
label: string;
name: string;
required: boolean;
showIf?: undefined;
type: string;
}
| {
attributes?: undefined;
label: string;
name: string;
required: boolean;
showIf: { control_action: string[] };
type: string;
}
)[];
description: string;
disableInWorkflow: boolean;
namespace: string;
run: (
__namedParameters: {
configuration: { control_action: any; step: any };
row: any;
user: any;
},
) => Promise<
| {
clear_return_values?: undefined;
goto_step?: undefined;
halt_steps: boolean;
}
| {
clear_return_values?: undefined;
goto_step: any;
halt_steps?: undefined;
}
| {
clear_return_values: boolean;
goto_step?: undefined;
halt_steps?: undefined;
}
| undefined,
>;
};
sync_table_from_external: {
configFields: (
__namedParameters: { table: any },
) => Promise<
(
| {
attributes?: undefined;
default?: undefined;
fieldview?: undefined;
input_type: string;
label: string;
name: string;
options: string[];
required?: undefined;
showIf?: undefined;
sublabel: string;
type?: undefined;
}
| {
attributes: {
calcOptions?: undefined;
expression_type: string;
mode: string;
singleline: boolean;
};
default?: undefined;
fieldview?: undefined;
input_type: string;
label: string;
name: string;
options?: undefined;
required?: undefined;
showIf?: undefined;
sublabel: string;
type?: undefined;
}
| {
attributes: {
calcOptions: {}[];
expression_type?: undefined;
mode?: undefined;
singleline?: undefined;
};
default?: undefined;
fieldview?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required: boolean;
showIf?: undefined;
sublabel: string;
type: string;
}
| {
attributes?: undefined;
default: boolean;
fieldview?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required?: undefined;
showIf?: undefined;
sublabel: string;
type: string;
}
| {
attributes?: undefined;
default?: undefined;
fieldview: string;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required?: undefined;
showIf: { match_field_names: boolean };
sublabel: string;
type: string;
}
)[],
>;
description: string;
namespace: string;
run: (
opts: { configuration: object; rest: any; row: object; user: object },
) => Promise<boolean | object>;
};
toast: {
configFields: (
| {
attributes: { options: string[] };
label: string;
name: string;
required: boolean;
sublabel?: undefined;
type: string;
}
| {
attributes?: undefined;
label: string;
name: string;
required: boolean;
sublabel?: undefined;
type: string;
}
| {
attributes?: undefined;
label: string;
name: string;
required?: undefined;
sublabel: string;
type: string;
}
| {
attributes?: undefined;
label: string;
name: string;
required?: undefined;
sublabel?: undefined;
type: string;
}
)[];
description: string;
namespace: string;
run: (
__namedParameters: {
configuration: {
notify_type: any;
remove_delay: any;
text: any;
title: any;
type: any;
};
row: any;
user: any;
},
) => Promise<
| { error: string; toast_title: string }
| { error: string; toast_title?: undefined }
| { notify_success: string; toast_title: string }
| { notify_success: string; toast_title?: undefined }
| { notify: string; notify_type: string; toast_title: string }
| { notify: string; notify_type: string; toast_title?: undefined }
| { notify: string; toast_title: string }
| { notify: string; toast_title?: undefined },
>;
};
train_model_instance: {
configFields: () => Promise<
(
| {
attributes: {
explainers: {};
expression_type?: undefined;
mode?: undefined;
singleline?: undefined;
};
class?: undefined;
fieldview?: undefined;
input_type: string;
label: string;
name: string;
options: { label: string; value: number
| undefined }[];
required: boolean;
sublabel?: undefined;
type?: undefined;
}
| {
attributes?: undefined;
class?: undefined;
fieldview?: undefined;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required: boolean;
sublabel: string;
type: string;
}
| {
attributes: {
explainers?: undefined;
expression_type: string;
mode: string;
singleline: boolean;
};
class?: undefined;
fieldview: string;
input_type: string;
label: string;
name: string;
options?: undefined;
required?: undefined;
sublabel: string;
type?: undefined;
}
| {
attributes?: undefined;
class: string;
fieldview: string;
input_type?: undefined;
label: string;
name: string;
options?: undefined;
required?: undefined;
sublabel: string;
type: string;
}
)[],
>;
description: string;
disableIf: () => boolean;
namespace: string;
run: (
__namedParameters: {
configuration: {
hyperparameters: any;
instance_name: any;
model_id: any;
where: any;
};
row: any;
user: any;
},
) => Promise<void>;
};
webhook: {
configFields: (
__namedParameters: { mode: any; table: any },
) => Promise<
(
| {
attributes?: undefined;
fieldview?: undefined;
label: string;
name: string;
required?: undefined;
showIf?: undefined;
sublabel: string;
type: string;
}
| {
attributes: { options: string[] };
fieldview?: undefined;
label: string;
name: string;
required: boolean;
showIf?: undefined;
sublabel?: undefined;
type: string;
}
| {
attributes?: undefined;
fieldview: string;
label: string;
name: string;
required?: undefined;
showIf: { method: string[] };
sublabel: string;
type: string;
}
| {
attributes: { options: any };
fieldview?: undefined;
label: string;
name: string;
required?: undefined;
showIf?: undefined;
sublabel?: undefined;
type: string;
}
)[],
>;
description: string;
run: (opts: { body: object; url: string }) => Promise<object>;
};
}

#### Type Declaration

- ##### `Namespace` blocks: {
  configFields: { input_type: string; name: string }[];
  description: string;
  disableInBuilder: boolean;
  disableInList: boolean;
  disableInWorkflow: boolean;
  namespace: string;
  run: base;
  }

  #### Subcategory

  actions

  - ##### configFields: { input_type: string; name: string }[]

  - ##### description: string

  - ##### disableInBuilder: boolean

  - ##### disableInList: boolean

  - ##### disableInWorkflow: boolean

  - ##### namespace: string

  - ##### run: base

    #### See

    base-plugin/actions~run_code

- ##### convert_session_to_user: {
  configFields: (
  __namedParameters: { table: any },
  ) => Promise<
  (
  | {
  attributes?: undefined;
  input_type: string;
  label: string;
  name: string;
  options: string[];
  sublabel: string;
  type?: undefined;
  }
  | {
  attributes: { calcOptions: {}[] };
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  sublabel: string;
  type: string;
  }
  )[],
  >;
  description: string;
  namespace: string;
  run: (
  __namedParameters: {
  configuration: {
  session_field: any;
  table_name: any;
  user_field: any;
  };
  row: any;
  user: any;
  },
  ) => Promise<void>;
  }

- ##### copy_to_clipboard: {
  configFields: {
  label: string;
  name: string;
  required: boolean;
  sublabel: string;
  type: string;
  }[];
  description: string;
  namespace: string;
  requireRow: boolean;
  run: (
  __namedParameters: {
  configuration: { text_template: any };
  req: any;
  row: any;
  table: any;
  user: any;
  },
  ) => Promise<{ eval_js: string }>;
  }

  - ##### configFields: {
    label: string;
    name: string;
    required: boolean;
    sublabel: string;
    type: string;
    }[]

  - ##### description: string

    #### Param: opts

    #### Param: opts.table

    #### Returns

  - ##### namespace: string

  - ##### requireRow: boolean

  - ##### run: (
    __namedParameters: {
    configuration: { text_template: any };
    req: any;
    row: any;
    table: any;
    user: any;
    },
    ) => Promise<{ eval_js: string }>

- ##### delete_rows: {
  configFields: (
  __namedParameters: { mode: any; when_trigger: any },
  ) => Promise<
  (
  | {
  class?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required?: undefined;
  showIf?: undefined;
  sublabel?: undefined;
  type: string;
  }
  | {
  class?: undefined;
  input_type: string;
  label: string;
  name: string;
  options: string[];
  required?: undefined;
  showIf: { delete_triggering_row: boolean }
  | undefined;
  sublabel: string;
  type?: undefined;
  }
  | {
  class: string;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required: boolean;
  showIf: { delete_triggering_row: boolean }
  | undefined;
  sublabel: string;
  type: string;
  }
  )[],
  >;
  description: string;
  namespace: string;
  run: (
  __namedParameters: {
  configuration: {
  delete_triggering_row: any;
  delete_where: any;
  table_name: any;
  };
  row: any;
  table: any;
  user: any;
  },
  ) => Promise<{}>;
  }

  - ##### configFields: (
    __namedParameters: { mode: any; when_trigger: any },
    ) => Promise<
    (
    | {
    class?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required?: undefined;
    showIf?: undefined;
    sublabel?: undefined;
    type: string;
    }
    | {
    class?: undefined;
    input_type: string;
    label: string;
    name: string;
    options: string[];
    required?: undefined;
    showIf: { delete_triggering_row: boolean }
    | undefined;
    sublabel: string;
    type?: undefined;
    }
    | {
    class: string;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required: boolean;
    showIf: { delete_triggering_row: boolean }
    | undefined;
    sublabel: string;
    type: string;
    }
    )[],
    >

  - ##### description: string

    #### Param: opts

    #### Param: opts.table

    #### Returns

  - ##### namespace: string

  - ##### run: (
    __namedParameters: {
    configuration: {
    delete_triggering_row: any;
    delete_where: any;
    table_name: any;
    };
    row: any;
    table: any;
    user: any;
    },
    ) => Promise<{}>

- ##### download_file_to_browser: {
  configFields: (
  __namedParameters: { mode: any; table: any },
  ) => Promise<
  | {
  class: string;
  label: string;
  name: string;
  sublabel: string;
  type: string;
  }[]
  | {
  attributes: { options: any };
  label: string;
  name: string;
  required: boolean;
  type: string;
  }[],
  >;
  description: string;
  run: (
  __namedParameters: {
  configuration: { file_field: any; filepath_expr: any };
  mode: any;
  row: any;
  user: any;
  },
  ) => Promise<
  | {
  download: {
  blob: Buffer<ArrayBufferLike>;
  filename: string;
  mimetype: string;
  };
  }
  | undefined,
  >;
  }

- ##### `Namespace` duplicate_row: {
  configFields: () => never[];
  description: string;
  disableInWorkflow: boolean;
  namespace: string;
  requireRow: boolean;
  run: (opts: { row: object; table: object; user: any }) => Promise<object>;
  }

  #### Subcategory

  actions

  - ##### configFields: () => never[]

  - ##### description: string

    #### Returns

  - ##### disableInWorkflow: boolean

  - ##### namespace: string

  - ##### requireRow: boolean

  - ##### run: (opts: { row: object; table: object; user: any }) => Promise<object>

- ##### duplicate_row_prefill_edit: {
  configFields: (__namedParameters: { table: any }) => Promise<any[]>;
  disableInWorkflow: boolean;
  namespace: string;
  requireRow: boolean;
  run: (
  __namedParameters: {
  configuration: { viewname: any };
  row: any;
  table: any;
  user: any;
  },
  ) => Promise<{ goto: string }>;
  }

- ##### `Namespace` emit_event: {
  configFields: () => (
  | {
  fieldview?: undefined;
  input_type: string;
  label: string;
  name: string;
  options: string[];
  required: boolean;
  sublabel?: undefined;
  type?: undefined;
  }
  | {
  fieldview: string;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required?: undefined;
  sublabel?: undefined;
  type: string;
  }
  | {
  fieldview: string;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required?: undefined;
  sublabel: string;
  type: string;
  }
  )[];
  description: string;
  namespace: string;
  run: (
  opts: { configuration: object; row: object; user: object },
  ) => Promise<void>;
  }

  #### Subcategory

  actions

  - ##### configFields: () => (
    | {
    fieldview?: undefined;
    input_type: string;
    label: string;
    name: string;
    options: string[];
    required: boolean;
    sublabel?: undefined;
    type?: undefined;
    }
    | {
    fieldview: string;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required?: undefined;
    sublabel?: undefined;
    type: string;
    }
    | {
    fieldview: string;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required?: undefined;
    sublabel: string;
    type: string;
    }
    )[]

  - ##### description: string

    #### Returns

  - ##### namespace: string

  - ##### run: (opts: { configuration: object; row: object; user: object }) => Promise<void>

- ##### `Namespace` find_or_create_dm_room: {
  configFields: () => Promise<
  {
  input_type: string;
  label: string;
  name: string;
  options: string[];
  sublabel: string;
  }[],
  >;
  description: string;
  namespace: string;
  run: (
  opts: { configuration: object; row: object; table: any; user: object },
  ) => Promise<object>;
  }

  #### Subcategory

  actions

  - ##### configFields: () => Promise<
    {
    input_type: string;
    label: string;
    name: string;
    options: string[];
    sublabel: string;
    }[],
    >

  - ##### description: string

    #### Returns

  - ##### namespace: string

  - ##### run: (
    opts: { configuration: object; row: object; table: any; user: object },
    ) => Promise<object>

- ##### form_action: {
  configFields: {
  attributes: { options: string[] };
  label: string;
  name: string;
  required: boolean;
  type: string;
  }[];
  description: string;
  namespace: string;
  requireRow: boolean;
  run: (
  __namedParameters: {
  configuration: { form_action: any };
  req: any;
  row: any;
  table: any;
  user: any;
  },
  ) => Promise<
  | {
  eval_js: string;
  notify_success?: undefined;
  set_fields?: undefined;
  }
  | {
  eval_js?: undefined;
  notify_success: any;
  set_fields: { [key: number]: any };
  }
  | { eval_js?: undefined; notify_success: any; set_fields?: undefined },
  >;
  }

  - ##### configFields: {
    attributes: { options: string[] };
    label: string;
    name: string;
    required: boolean;
    type: string;
    }[]

  - ##### description: string

    #### Param: opts

    #### Param: opts.table

    #### Returns

  - ##### namespace: string

  - ##### requireRow: boolean

  - ##### run: (
    __namedParameters: {
    configuration: { form_action: any };
    req: any;
    row: any;
    table: any;
    user: any;
    },
    ) => Promise<
    | {
    eval_js: string;
    notify_success?: undefined;
    set_fields?: undefined;
    }
    | {
    eval_js?: undefined;
    notify_success: any;
    set_fields: { [key: number]: any };
    }
    | { eval_js?: undefined; notify_success: any; set_fields?: undefined },
    >

- ##### `Namespace` insert_any_row: {
  configFields: (
  __namedParameters: { mode: any },
  ) => Promise<
  (
  | {
  attributes?: undefined;
  class?: undefined;
  fieldview?: undefined;
  input_type: string;
  label: string;
  name: string;
  options: string[];
  sublabel: string;
  type?: undefined;
  }
  | {
  attributes: { spellcheck: boolean };
  class: string;
  fieldview: string;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  sublabel: string;
  type: string;
  }
  | {
  attributes?: undefined;
  class?: undefined;
  fieldview?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  sublabel: string;
  type: string;
  }
  )[],
  >;
  description: string;
  namespace: string;
  run: (
  opts: {
  configuration: object;
  rest?: any;
  row: object;
  table?: object;
  user: object;
  },
  ) => Promise<boolean | object>;
  }

  #### Subcategory

  actions

  - ##### configFields: (
    __namedParameters: { mode: any },
    ) => Promise<
    (
    | {
    attributes?: undefined;
    class?: undefined;
    fieldview?: undefined;
    input_type: string;
    label: string;
    name: string;
    options: string[];
    sublabel: string;
    type?: undefined;
    }
    | {
    attributes: { spellcheck: boolean };
    class: string;
    fieldview: string;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    sublabel: string;
    type: string;
    }
    | {
    attributes?: undefined;
    class?: undefined;
    fieldview?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    sublabel: string;
    type: string;
    }
    )[],
    >

  - ##### description: string

    #### Param: opts

    #### Param: opts.table

    #### Returns

  - ##### namespace: string

  - ##### run: (
    opts: {
    configuration: object;
    rest?: any;
    row: object;
    table?: object;
    user: object;
    },
    ) => Promise<boolean | object>

- ##### `Namespace` insert_joined_row: {
  configFields: (
  __namedParameters: { table: any },
  ) => Promise<
  {
  input_type: string;
  label: string;
  name: string;
  options: any;
  sublabel: string;
  }[],
  >;
  description: string;
  disableInWorkflow: boolean;
  namespace: string;
  requireRow: boolean;
  run: (
  opts: {
  configuration: object;
  row: object;
  table: object;
  user: object;
  },
  ) => Promise<object>;
  }

  #### Subcategory

  actions

  - ##### configFields: (
    __namedParameters: { table: any },
    ) => Promise<
    {
    input_type: string;
    label: string;
    name: string;
    options: any;
    sublabel: string;
    }[],
    >

  - ##### description: string

    #### Param: opts

    #### Param: opts.table

    #### Returns

  - ##### disableInWorkflow: boolean

  - ##### namespace: string

  - ##### requireRow: boolean

  - ##### run: (
    opts: {
    configuration: object;
    row: object;
    table: object;
    user: object;
    },
    ) => Promise<object>

- ##### install_progressive_web_app: {
  configFields: () => never[];
  description: string;
  run: (
  __namedParameters: { req: any },
  ) => Promise<
  | { error?: undefined; eval_js: string }
  | { error: any; eval_js?: undefined },
  >;
  }

- ##### loop_rows: {
  configFields: () => Promise<
  (
  | {
  attributes?: undefined;
  input_type: string;
  label: string;
  name: string;
  options: string[];
  sublabel: string;
  type?: undefined;
  }
  | {
  attributes: {
  calcOptions?: undefined;
  expression_type: string;
  min?: undefined;
  mode: string;
  singleline: boolean;
  };
  input_type: string;
  label: string;
  name: string;
  options?: undefined;
  sublabel: string;
  type?: undefined;
  }
  | {
  attributes?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  sublabel: string;
  type: string;
  }
  | {
  attributes: {
  calcOptions: {}[];
  expression_type?: undefined;
  min?: undefined;
  mode?: undefined;
  singleline?: undefined;
  };
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  sublabel?: undefined;
  type: string;
  }
  | {
  attributes?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  sublabel?: undefined;
  type: string;
  }
  | {
  attributes: {
  calcOptions?: undefined;
  expression_type?: undefined;
  min: number;
  mode?: undefined;
  singleline?: undefined;
  };
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  sublabel: string;
  type: string;
  }
  | {
  attributes?: undefined;
  input_type: string;
  label: string;
  name: string;
  options: { label: string
  | undefined; value: number | null | undefined }[];
  sublabel: string;
  type?: undefined;
  }
  )[],
  >;
  description: string;
  namespace: string;
  run: (
  opts: { configuration: object; row: object; user: object },
  ) => Promise<void>;
  }

  - ##### configFields: () => Promise<
    (
    | {
    attributes?: undefined;
    input_type: string;
    label: string;
    name: string;
    options: string[];
    sublabel: string;
    type?: undefined;
    }
    | {
    attributes: {
    calcOptions?: undefined;
    expression_type: string;
    min?: undefined;
    mode: string;
    singleline: boolean;
    };
    input_type: string;
    label: string;
    name: string;
    options?: undefined;
    sublabel: string;
    type?: undefined;
    }
    | {
    attributes?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    sublabel: string;
    type: string;
    }
    | {
    attributes: {
    calcOptions: {}[];
    expression_type?: undefined;
    min?: undefined;
    mode?: undefined;
    singleline?: undefined;
    };
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    sublabel?: undefined;
    type: string;
    }
    | {
    attributes?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    sublabel?: undefined;
    type: string;
    }
    | {
    attributes: {
    calcOptions?: undefined;
    expression_type?: undefined;
    min: number;
    mode?: undefined;
    singleline?: undefined;
    };
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    sublabel: string;
    type: string;
    }
    | {
    attributes?: undefined;
    input_type: string;
    label: string;
    name: string;
    options: { label: string
    | undefined; value: number | null | undefined }[];
    sublabel: string;
    type?: undefined;
    }
    )[],
    >

  - ##### description: string

    #### Returns

  - ##### namespace: string

  - ##### run: (opts: { configuration: object; row: object; user: object }) => Promise<void>

- ##### `Namespace` modify_row: {
  configFields: (
  __namedParameters: { mode: any; when_trigger: any },
  ) => Promise<
  (
  | {
  attributes: {
  compact: boolean;
  expression_type: string;
  mode: string;
  options?: undefined;
  showIf?: undefined;
  singleline?: undefined;
  };
  input_type: string;
  label: string;
  name: string;
  required?: undefined;
  showIf?: undefined;
  sublabel: string;
  type?: undefined;
  }
  | {
  attributes: {
  compact?: undefined;
  expression_type?: undefined;
  mode?: undefined;
  options: string[];
  showIf?: undefined;
  singleline?: undefined;
  };
  input_type?: undefined;
  label: string;
  name: string;
  required: boolean;
  showIf?: undefined;
  sublabel?: undefined;
  type: string;
  }
  | {
  attributes: {
  compact?: undefined;
  expression_type?: undefined;
  mode?: undefined;
  options: string[];
  showIf: { where: string };
  singleline?: undefined;
  };
  input_type?: undefined;
  label: string;
  name: string;
  required: boolean;
  showIf?: undefined;
  sublabel?: undefined;
  type: string;
  }
  | {
  attributes: {
  compact?: undefined;
  expression_type: string;
  mode: string;
  options?: undefined;
  showIf?: undefined;
  singleline: boolean;
  };
  input_type: string;
  label: string;
  name: string;
  required: boolean;
  showIf: { where: string };
  sublabel?: undefined;
  type?: undefined;
  }
  )[],
  >;
  description: string;
  namespace: string;
  requireRow: boolean;
  run: (
  __namedParameters: {
  configuration: {
  query: any;
  row_expr: any;
  select_table: any;
  where: any;
  };
  row: any;
  table: any;
  user: any;
  },
  ) => Promise<any>;
  }

  #### Subcategory

  actions

- ##### `Namespace` navigate: {
  configFields: () => Promise<
  (
  | {
  attributes: { options: string[] };
  class?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required: boolean;
  showIf?: undefined;
  type: string;
  }
  | {
  attributes?: undefined;
  class?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required: boolean;
  showIf: { nav_action: string[] };
  type: string;
  }
  | {
  attributes?: undefined;
  class?: undefined;
  input_type: string;
  label: string;
  name: string;
  options: string[];
  required?: undefined;
  showIf: { nav_action: string };
  type?: undefined;
  }
  | {
  attributes?: undefined;
  class: string;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required?: undefined;
  showIf: { nav_action: string[] };
  type: string;
  }
  | {
  attributes?: undefined;
  class?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required?: undefined;
  showIf: { nav_action: string[] };
  type: string;
  }
  )[],
  >;
  description: string;
  namespace: string;
  run: (
  __namedParameters: {
  configuration: {
  in_popup: any;
  nav_action: any;
  new_tab: any;
  page: any;
  state_formula: any;
  url: any;
  view: any;
  };
  req: any;
  row: any;
  user: any;
  },
  ) => Promise<
  | {
  eval_js?: undefined;
  popup?: undefined;
  reload_page?: undefined;
  target?: string;
  }
  | { eval_js?: undefined; popup: string; reload_page?: undefined }
  | { eval_js: string; popup?: undefined; reload_page?: undefined }
  | { eval_js?: undefined; popup?: undefined; reload_page: boolean }
  | undefined,
  >;
  }

  #### Subcategory

  actions

  - ##### configFields: () => Promise<
    (
    | {
    attributes: { options: string[] };
    class?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required: boolean;
    showIf?: undefined;
    type: string;
    }
    | {
    attributes?: undefined;
    class?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required: boolean;
    showIf: { nav_action: string[] };
    type: string;
    }
    | {
    attributes?: undefined;
    class?: undefined;
    input_type: string;
    label: string;
    name: string;
    options: string[];
    required?: undefined;
    showIf: { nav_action: string };
    type?: undefined;
    }
    | {
    attributes?: undefined;
    class: string;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required?: undefined;
    showIf: { nav_action: string[] };
    type: string;
    }
    | {
    attributes?: undefined;
    class?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required?: undefined;
    showIf: { nav_action: string[] };
    type: string;
    }
    )[],
    >

  - ##### description: string

    #### Param: opts

    #### Param: opts.table

    #### Returns

  - ##### namespace: string

  - ##### run: (
    __namedParameters: {
    configuration: {
    in_popup: any;
    nav_action: any;
    new_tab: any;
    page: any;
    state_formula: any;
    url: any;
    view: any;
    };
    req: any;
    row: any;
    user: any;
    },
    ) => Promise<
    | {
    eval_js?: undefined;
    popup?: undefined;
    reload_page?: undefined;
    target?: string;
    }
    | { eval_js?: undefined; popup: string; reload_page?: undefined }
    | { eval_js: string; popup?: undefined; reload_page?: undefined }
    | { eval_js?: undefined; popup?: undefined; reload_page: boolean }
    | undefined,
    >

- ##### notify_user: {
  configFields: () => (
  | { label: string; name: string; required?: undefined; type: string }
  | { label: string; name: string; required: boolean; type: string }
  )[];
  description: string;
  namespace: string;
  run: (
  opts: { configuration: object; row: object; user: object },
  ) => Promise<void>;
  }

  - ##### configFields: () => (
    | { label: string; name: string; required?: undefined; type: string }
    | { label: string; name: string; required: boolean; type: string }
    )[]

  - ##### description: string

  - ##### namespace: string

  - ##### run: (opts: { configuration: object; row: object; user: object }) => Promise<void>

- ##### progress_bar: {
  configFields: (
  | {
  class?: undefined;
  label: string;
  name: string;
  required?: undefined;
  showIf?: undefined;
  sublabel: string;
  type: string;
  }
  | {
  class: string;
  label: string;
  name: string;
  required: boolean;
  showIf: { blocking: boolean; close?: undefined };
  sublabel: string;
  type: string;
  }
  | {
  class?: undefined;
  label: string;
  name: string;
  required?: undefined;
  showIf: { blocking: boolean; close: boolean };
  sublabel: string;
  type: string;
  }
  | {
  class?: undefined;
  label: string;
  name: string;
  required?: undefined;
  showIf: { blocking: boolean; close: boolean };
  sublabel?: undefined;
  type: string;
  }
  | {
  class?: undefined;
  label: string;
  name: string;
  required?: undefined;
  showIf: { blocking?: undefined; close: boolean };
  sublabel?: undefined;
  type: string;
  }
  | {
  class?: undefined;
  label: string;
  name: string;
  required?: undefined;
  showIf: { blocking?: undefined; close: boolean };
  sublabel: string;
  type: string;
  }
  )[];
  description: string;
  namespace: string;
  run: (
  __namedParameters: {
  configuration: {
  blocking: any;
  close: any;
  id: any;
  maxHeight: any;
  message: any;
  percent: any;
  popupWidth: any;
  title: any;
  };
  req: any;
  row: any;
  user: any;
  },
  ) => Promise<
  {
  page_load_tag: any;
  progress_bar_update: {
  blocking: any;
  close: any;
  id: string;
  maxHeight: any;
  message: string;
  percent: number;
  popupWidth: any;
  title: string;
  };
  },
  >;
  }

- ##### `Namespace` recalculate_stored_fields: {
  configFields: (
  __namedParameters: { table: any },
  ) => Promise<
  (
  | {
  attributes?: undefined;
  input_type: string;
  label: string;
  name: string;
  options: string[];
  showIf?: undefined;
  sublabel: string;
  type?: undefined;
  }
  | {
  attributes?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  showIf: { table: any }
  | { table?: undefined };
  sublabel?: undefined;
  type: string;
  }
  | {
  attributes: {
  expression_type: string;
  mode: string;
  singleline: boolean;
  };
  input_type: string;
  label: string;
  name: string;
  options?: undefined;
  showIf?: undefined;
  sublabel: string;
  type?: undefined;
  }
  )[],
  >;
  description: string;
  namespace: string;
  run: (opts: { configuration: object }) => Promise<void>;
  }

  #### Subcategory

  actions

  - ##### configFields: (
    __namedParameters: { table: any },
    ) => Promise<
    (
    | {
    attributes?: undefined;
    input_type: string;
    label: string;
    name: string;
    options: string[];
    showIf?: undefined;
    sublabel: string;
    type?: undefined;
    }
    | {
    attributes?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    showIf: { table: any }
    | { table?: undefined };
    sublabel?: undefined;
    type: string;
    }
    | {
    attributes: {
    expression_type: string;
    mode: string;
    singleline: boolean;
    };
    input_type: string;
    label: string;
    name: string;
    options?: undefined;
    showIf?: undefined;
    sublabel: string;
    type?: undefined;
    }
    )[],
    >

  - ##### description: string

    #### Param: opts

    #### Param: opts.table

    #### Returns

  - ##### namespace: string

  - ##### run: (opts: { configuration: object }) => Promise<void>

- ##### refresh_user_session: {
  description: string;
  namespace: string;
  run: (__namedParameters: { req: any; user: any }) => Promise<void>;
  }

- ##### reload_embedded_view: {
  configFields: () => Promise<
  (
  | {
  attributes: { options: any[] };
  class: string;
  label: string;
  name: string;
  required: boolean;
  sublabel?: undefined;
  type: string;
  }
  | {
  attributes?: undefined;
  class: string;
  label: string;
  name: string;
  required?: undefined;
  sublabel?: undefined;
  type: string;
  }
  | {
  attributes?: undefined;
  class?: undefined;
  label: string;
  name: string;
  required?: undefined;
  sublabel: string;
  type: string;
  }
  )[],
  >;
  description: string;
  namespace: string;
  run: (
  __namedParameters: {
  configuration: { interval: any; new_state_fml: any; view: any };
  row: any;
  user: any;
  },
  ) => Promise<{ eval_js: string }>;
  }

- ##### `Namespace` run_js_code: {
  configFields: (
  __namedParameters: { mode: any; table: any; when_trigger: any },
  ) => Promise<
  (
  | {
  attributes: {
  mode: string;
  secondColHoriz?: undefined;
  table: any;
  user: string
  | undefined;
  workflow: boolean;
  };
  class: (string | false)[];
  help?: undefined;
  input_type: string;
  label: string;
  name: string;
  options?: undefined;
  showIf?: undefined;
  sublabel?: undefined;
  validator(s: any): any;
  }
  | {
  attributes: {
  mode?: undefined;
  secondColHoriz: boolean;
  table?: undefined;
  user?: undefined;
  workflow?: undefined;
  };
  class?: undefined;
  help: { topic: string };
  input_type: string;
  label: string;
  name?: undefined;
  options?: undefined;
  showIf: { run_where: string };
  sublabel: string;
  validator?: undefined;
  }
  | {
  attributes?: undefined;
  class?: undefined;
  help?: undefined;
  input_type: string;
  label: string;
  name: string;
  options: string[];
  showIf?: undefined;
  sublabel?: undefined;
  validator?: undefined;
  }
  )[],
  >;
  configFormOptions: { formStyle: string };
  description: string;
  namespace: string;
  run: base;
  }

  #### Subcategory

  actions

  - ##### configFields: (
    __namedParameters: { mode: any; table: any; when_trigger: any },
    ) => Promise<
    (
    | {
    attributes: {
    mode: string;
    secondColHoriz?: undefined;
    table: any;
    user: string
    | undefined;
    workflow: boolean;
    };
    class: (string | false)[];
    help?: undefined;
    input_type: string;
    label: string;
    name: string;
    options?: undefined;
    showIf?: undefined;
    sublabel?: undefined;
    validator(s: any): any;
    }
    | {
    attributes: {
    mode?: undefined;
    secondColHoriz: boolean;
    table?: undefined;
    user?: undefined;
    workflow?: undefined;
    };
    class?: undefined;
    help: { topic: string };
    input_type: string;
    label: string;
    name?: undefined;
    options?: undefined;
    showIf: { run_where: string };
    sublabel: string;
    validator?: undefined;
    }
    | {
    attributes?: undefined;
    class?: undefined;
    help?: undefined;
    input_type: string;
    label: string;
    name: string;
    options: string[];
    showIf?: undefined;
    sublabel?: undefined;
    validator?: undefined;
    }
    )[],
    >

  - ##### configFormOptions: { formStyle: string }

  - ##### description: string

    #### Param: opts

    #### Param: opts.table

    #### Returns

  - ##### namespace: string

  - ##### run: base

    #### See

    base-plugin/actions~run_code

- ##### run_js_code_in_field: {
  configFields: (
  __namedParameters: { mode: any; table: any },
  ) => Promise<
  | (
  | {
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required: boolean;
  sublabel: string;
  type: string;
  }
  | {
  input_type: string;
  label: string;
  name: string;
  options: string[];
  required?: undefined;
  sublabel?: undefined;
  type?: undefined;
  }
  )[]
  | (
  | {
  attributes: { options: any };
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required: boolean;
  sublabel: string;
  type: string;
  }
  | {
  attributes?: undefined;
  input_type: string;
  label: string;
  name: string;
  options: string[];
  required?: undefined;
  sublabel?: undefined;
  type?: undefined;
  }
  )[],
  >;
  description: string;
  namespace: string;
  requireRow: boolean;
  run: base;
  }

  - ##### configFields: (
    __namedParameters: { mode: any; table: any },
    ) => Promise<
    | (
    | {
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required: boolean;
    sublabel: string;
    type: string;
    }
    | {
    input_type: string;
    label: string;
    name: string;
    options: string[];
    required?: undefined;
    sublabel?: undefined;
    type?: undefined;
    }
    )[]
    | (
    | {
    attributes: { options: any };
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required: boolean;
    sublabel: string;
    type: string;
    }
    | {
    attributes?: undefined;
    input_type: string;
    label: string;
    name: string;
    options: string[];
    required?: undefined;
    sublabel?: undefined;
    type?: undefined;
    }
    )[],
    >

  - ##### description: string

    #### Param: opts

    #### Param: opts.table

    #### Returns

  - ##### namespace: string

  - ##### requireRow: boolean

  - ##### run: base

    #### See

    base-plugin/actions~run_code

- ##### `Namespace` send_email: {
  configFields: (
  __namedParameters: { mode: any; table: any },
  ) => Promise<
  | (
  | {
  fieldview?: undefined;
  label: string;
  name: string;
  required?: undefined;
  sublabel: string;
  type: string;
  }
  | {
  fieldview?: undefined;
  label: string;
  name: string;
  required: boolean;
  sublabel: string;
  type: string;
  }
  | {
  fieldview: string;
  label: string;
  name: string;
  required: boolean;
  sublabel?: undefined;
  type: string;
  }
  )[]
  | (
  | {
  attributes: { options: string[] };
  class?: undefined;
  default?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required: boolean;
  showIf?: undefined;
  sublabel?: undefined;
  type: string;
  }
  | {
  attributes: { options: any };
  class?: undefined;
  default?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required: boolean;
  showIf: { body_type: string[]; to_email?: undefined };
  sublabel?: undefined;
  type: string;
  }
  | {
  attributes?: undefined;
  class?: undefined;
  default?: undefined;
  input_type: string;
  label: string;
  name: string;
  options: string[];
  required?: undefined;
  showIf: { body_type: string; to_email?: undefined };
  sublabel: string;
  type?: undefined;
  }
  | {
  attributes?: undefined;
  class?: undefined;
  default?: undefined;
  input_type: string;
  label: string;
  name: string;
  options: string[];
  required: boolean;
  showIf?: undefined;
  sublabel: string;
  type?: undefined;
  }
  | {
  attributes?: undefined;
  class?: undefined;
  default?: undefined;
  input_type: string;
  label: string;
  name: string;
  options: any;
  required?: undefined;
  showIf: { body_type?: undefined; to_email: string };
  sublabel: string;
  type?: undefined;
  }
  | {
  attributes?: undefined;
  class?: undefined;
  default?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required?: undefined;
  showIf: { body_type?: undefined; to_email: string };
  sublabel: string;
  type: string;
  }
  | {
  attributes?: undefined;
  class?: undefined;
  default?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required?: undefined;
  showIf?: undefined;
  sublabel: string;
  type: string;
  }
  | {
  attributes?: undefined;
  class: string;
  default?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required: boolean;
  showIf?: undefined;
  sublabel: string;
  type: string;
  }
  | {
  attributes?: undefined;
  class?: undefined;
  default?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required: boolean;
  showIf?: undefined;
  sublabel?: undefined;
  type: string;
  }
  | {
  attributes?: undefined;
  class?: undefined;
  default: string;
  input_type: string;
  label: string;
  name: string;
  options: string[];
  required?: undefined;
  showIf?: undefined;
  sublabel: string;
  type: string;
  }
  | {
  attributes?: undefined;
  class?: undefined;
  default?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required?: undefined;
  showIf?: undefined;
  sublabel?: undefined;
  type: string;
  }
  | {
  attributes: { options: any };
  class?: undefined;
  default?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required?: undefined;
  showIf?: undefined;
  sublabel: string;
  type: string;
  }
  )[],
  >;
  description: string;
  namespace: string;
  requireRow: boolean;
  run: (
  opts: {
  configuration: object;
  row: object;
  table: object;
  user: object;
  },
  ) => Promise<object>;
  }

  #### Subcategory

  actions

  - ##### configFields: (
    __namedParameters: { mode: any; table: any },
    ) => Promise<
    | (
    | {
    fieldview?: undefined;
    label: string;
    name: string;
    required?: undefined;
    sublabel: string;
    type: string;
    }
    | {
    fieldview?: undefined;
    label: string;
    name: string;
    required: boolean;
    sublabel: string;
    type: string;
    }
    | {
    fieldview: string;
    label: string;
    name: string;
    required: boolean;
    sublabel?: undefined;
    type: string;
    }
    )[]
    | (
    | {
    attributes: { options: string[] };
    class?: undefined;
    default?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required: boolean;
    showIf?: undefined;
    sublabel?: undefined;
    type: string;
    }
    | {
    attributes: { options: any };
    class?: undefined;
    default?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required: boolean;
    showIf: { body_type: string[]; to_email?: undefined };
    sublabel?: undefined;
    type: string;
    }
    | {
    attributes?: undefined;
    class?: undefined;
    default?: undefined;
    input_type: string;
    label: string;
    name: string;
    options: string[];
    required?: undefined;
    showIf: { body_type: string; to_email?: undefined };
    sublabel: string;
    type?: undefined;
    }
    | {
    attributes?: undefined;
    class?: undefined;
    default?: undefined;
    input_type: string;
    label: string;
    name: string;
    options: string[];
    required: boolean;
    showIf?: undefined;
    sublabel: string;
    type?: undefined;
    }
    | {
    attributes?: undefined;
    class?: undefined;
    default?: undefined;
    input_type: string;
    label: string;
    name: string;
    options: any;
    required?: undefined;
    showIf: { body_type?: undefined; to_email: string };
    sublabel: string;
    type?: undefined;
    }
    | {
    attributes?: undefined;
    class?: undefined;
    default?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required?: undefined;
    showIf: { body_type?: undefined; to_email: string };
    sublabel: string;
    type: string;
    }
    | {
    attributes?: undefined;
    class?: undefined;
    default?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required?: undefined;
    showIf?: undefined;
    sublabel: string;
    type: string;
    }
    | {
    attributes?: undefined;
    class: string;
    default?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required: boolean;
    showIf?: undefined;
    sublabel: string;
    type: string;
    }
    | {
    attributes?: undefined;
    class?: undefined;
    default?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required: boolean;
    showIf?: undefined;
    sublabel?: undefined;
    type: string;
    }
    | {
    attributes?: undefined;
    class?: undefined;
    default: string;
    input_type: string;
    label: string;
    name: string;
    options: string[];
    required?: undefined;
    showIf?: undefined;
    sublabel: string;
    type: string;
    }
    | {
    attributes?: undefined;
    class?: undefined;
    default?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required?: undefined;
    showIf?: undefined;
    sublabel?: undefined;
    type: string;
    }
    | {
    attributes: { options: any };
    class?: undefined;
    default?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required?: undefined;
    showIf?: undefined;
    sublabel: string;
    type: string;
    }
    )[],
    >

  - ##### description: string

    #### Param: opts

    #### Param: opts.table

    #### Returns

  - ##### namespace: string

  - ##### requireRow: boolean

  - ##### run: (
    opts: {
    configuration: object;
    row: object;
    table: object;
    user: object;
    },
    ) => Promise<object>

- ##### `Namespace` set_user_language: {
  configFields: (
  __namedParameters: { table: any },
  ) => Promise<
  {
  attributes: { options: { label: string; name: string }[] };
  name: string;
  required: boolean;
  type: string;
  }[],
  >;
  description: string;
  namespace: string;
  run: (
  __namedParameters: {
  configuration: { language: any };
  req: any;
  res: any;
  user: any;
  },
  ) => Promise<{ reload_page: boolean }>;
  }

  #### Subcategory

  actions

- ##### sleep: {
  configFields: (
  | {
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required: boolean;
  type: string;
  }
  | {
  input_type: string;
  label: string;
  name: string;
  options: string[];
  required?: undefined;
  type?: undefined;
  }
  )[];
  description: string;
  namespace: string;
  run: (
  __namedParameters: {
  configuration: { seconds: any; sleep_where: any };
  },
  ) => Promise<{ eval_js: string } | undefined>;
  }

- ##### step_control_flow: {
  configFields: (
  | {
  attributes: { options: string[] };
  label: string;
  name: string;
  required: boolean;
  showIf?: undefined;
  type: string;
  }
  | {
  attributes?: undefined;
  label: string;
  name: string;
  required: boolean;
  showIf: { control_action: string[] };
  type: string;
  }
  )[];
  description: string;
  disableInWorkflow: boolean;
  namespace: string;
  run: (
  __namedParameters: {
  configuration: { control_action: any; step: any };
  row: any;
  user: any;
  },
  ) => Promise<
  | {
  clear_return_values?: undefined;
  goto_step?: undefined;
  halt_steps: boolean;
  }
  | {
  clear_return_values?: undefined;
  goto_step: any;
  halt_steps?: undefined;
  }
  | {
  clear_return_values: boolean;
  goto_step?: undefined;
  halt_steps?: undefined;
  }
  | undefined,
  >;
  }

  - ##### configFields: (
    | {
    attributes: { options: string[] };
    label: string;
    name: string;
    required: boolean;
    showIf?: undefined;
    type: string;
    }
    | {
    attributes?: undefined;
    label: string;
    name: string;
    required: boolean;
    showIf: { control_action: string[] };
    type: string;
    }
    )[]

  - ##### description: string

    #### Param: opts

    #### Param: opts.table

    #### Returns

  - ##### disableInWorkflow: boolean

  - ##### namespace: string

  - ##### run: (
    __namedParameters: {
    configuration: { control_action: any; step: any };
    row: any;
    user: any;
    },
    ) => Promise<
    | {
    clear_return_values?: undefined;
    goto_step?: undefined;
    halt_steps: boolean;
    }
    | {
    clear_return_values?: undefined;
    goto_step: any;
    halt_steps?: undefined;
    }
    | {
    clear_return_values: boolean;
    goto_step?: undefined;
    halt_steps?: undefined;
    }
    | undefined,
    >

- ##### `Namespace` sync_table_from_external: {
  configFields: (
  __namedParameters: { table: any },
  ) => Promise<
  (
  | {
  attributes?: undefined;
  default?: undefined;
  fieldview?: undefined;
  input_type: string;
  label: string;
  name: string;
  options: string[];
  required?: undefined;
  showIf?: undefined;
  sublabel: string;
  type?: undefined;
  }
  | {
  attributes: {
  calcOptions?: undefined;
  expression_type: string;
  mode: string;
  singleline: boolean;
  };
  default?: undefined;
  fieldview?: undefined;
  input_type: string;
  label: string;
  name: string;
  options?: undefined;
  required?: undefined;
  showIf?: undefined;
  sublabel: string;
  type?: undefined;
  }
  | {
  attributes: {
  calcOptions: {}[];
  expression_type?: undefined;
  mode?: undefined;
  singleline?: undefined;
  };
  default?: undefined;
  fieldview?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required: boolean;
  showIf?: undefined;
  sublabel: string;
  type: string;
  }
  | {
  attributes?: undefined;
  default: boolean;
  fieldview?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required?: undefined;
  showIf?: undefined;
  sublabel: string;
  type: string;
  }
  | {
  attributes?: undefined;
  default?: undefined;
  fieldview: string;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required?: undefined;
  showIf: { match_field_names: boolean };
  sublabel: string;
  type: string;
  }
  )[],
  >;
  description: string;
  namespace: string;
  run: (
  opts: { configuration: object; rest: any; row: object; user: object },
  ) => Promise<boolean | object>;
  }

  #### Subcategory

  actions

  - ##### configFields: (
    __namedParameters: { table: any },
    ) => Promise<
    (
    | {
    attributes?: undefined;
    default?: undefined;
    fieldview?: undefined;
    input_type: string;
    label: string;
    name: string;
    options: string[];
    required?: undefined;
    showIf?: undefined;
    sublabel: string;
    type?: undefined;
    }
    | {
    attributes: {
    calcOptions?: undefined;
    expression_type: string;
    mode: string;
    singleline: boolean;
    };
    default?: undefined;
    fieldview?: undefined;
    input_type: string;
    label: string;
    name: string;
    options?: undefined;
    required?: undefined;
    showIf?: undefined;
    sublabel: string;
    type?: undefined;
    }
    | {
    attributes: {
    calcOptions: {}[];
    expression_type?: undefined;
    mode?: undefined;
    singleline?: undefined;
    };
    default?: undefined;
    fieldview?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required: boolean;
    showIf?: undefined;
    sublabel: string;
    type: string;
    }
    | {
    attributes?: undefined;
    default: boolean;
    fieldview?: undefined;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required?: undefined;
    showIf?: undefined;
    sublabel: string;
    type: string;
    }
    | {
    attributes?: undefined;
    default?: undefined;
    fieldview: string;
    input_type?: undefined;
    label: string;
    name: string;
    options?: undefined;
    required?: undefined;
    showIf: { match_field_names: boolean };
    sublabel: string;
    type: string;
    }
    )[],
    >

  - ##### description: string

    #### Param: opts

    #### Param: opts.table

    #### Returns

  - ##### namespace: string

  - ##### run: (
    opts: { configuration: object; rest: any; row: object; user: object },
    ) => Promise<boolean | object>

- ##### toast: {
  configFields: (
  | {
  attributes: { options: string[] };
  label: string;
  name: string;
  required: boolean;
  sublabel?: undefined;
  type: string;
  }
  | {
  attributes?: undefined;
  label: string;
  name: string;
  required: boolean;
  sublabel?: undefined;
  type: string;
  }
  | {
  attributes?: undefined;
  label: string;
  name: string;
  required?: undefined;
  sublabel: string;
  type: string;
  }
  | {
  attributes?: undefined;
  label: string;
  name: string;
  required?: undefined;
  sublabel?: undefined;
  type: string;
  }
  )[];
  description: string;
  namespace: string;
  run: (
  __namedParameters: {
  configuration: {
  notify_type: any;
  remove_delay: any;
  text: any;
  title: any;
  type: any;
  };
  row: any;
  user: any;
  },
  ) => Promise<
  | { error: string; toast_title: string }
  | { error: string; toast_title?: undefined }
  | { notify_success: string; toast_title: string }
  | { notify_success: string; toast_title?: undefined }
  | { notify: string; notify_type: string; toast_title: string }
  | { notify: string; notify_type: string; toast_title?: undefined }
  | { notify: string; toast_title: string }
  | { notify: string; toast_title?: undefined },
  >;
  }

  - ##### configFields: (
    | {
    attributes: { options: string[] };
    label: string;
    name: string;
    required: boolean;
    sublabel?: undefined;
    type: string;
    }
    | {
    attributes?: undefined;
    label: string;
    name: string;
    required: boolean;
    sublabel?: undefined;
    type: string;
    }
    | {
    attributes?: undefined;
    label: string;
    name: string;
    required?: undefined;
    sublabel: string;
    type: string;
    }
    | {
    attributes?: undefined;
    label: string;
    name: string;
    required?: undefined;
    sublabel?: undefined;
    type: string;
    }
    )[]

  - ##### description: string

    #### Param: opts

    #### Param: opts.table

    #### Returns

  - ##### namespace: string

  - ##### run: (
    __namedParameters: {
    configuration: {
    notify_type: any;
    remove_delay: any;
    text: any;
    title: any;
    type: any;
    };
    row: any;
    user: any;
    },
    ) => Promise<
    | { error: string; toast_title: string }
    | { error: string; toast_title?: undefined }
    | { notify_success: string; toast_title: string }
    | { notify_success: string; toast_title?: undefined }
    | { notify: string; notify_type: string; toast_title: string }
    | { notify: string; notify_type: string; toast_title?: undefined }
    | { notify: string; toast_title: string }
    | { notify: string; toast_title?: undefined },
    >

- ##### train_model_instance: {
  configFields: () => Promise<
  (
  | {
  attributes: {
  explainers: {};
  expression_type?: undefined;
  mode?: undefined;
  singleline?: undefined;
  };
  class?: undefined;
  fieldview?: undefined;
  input_type: string;
  label: string;
  name: string;
  options: { label: string; value: number
  | undefined }[];
  required: boolean;
  sublabel?: undefined;
  type?: undefined;
  }
  | {
  attributes?: undefined;
  class?: undefined;
  fieldview?: undefined;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required: boolean;
  sublabel: string;
  type: string;
  }
  | {
  attributes: {
  explainers?: undefined;
  expression_type: string;
  mode: string;
  singleline: boolean;
  };
  class?: undefined;
  fieldview: string;
  input_type: string;
  label: string;
  name: string;
  options?: undefined;
  required?: undefined;
  sublabel: string;
  type?: undefined;
  }
  | {
  attributes?: undefined;
  class: string;
  fieldview: string;
  input_type?: undefined;
  label: string;
  name: string;
  options?: undefined;
  required?: undefined;
  sublabel: string;
  type: string;
  }
  )[],
  >;
  description: string;
  disableIf: () => boolean;
  namespace: string;
  run: (
  __namedParameters: {
  configuration: {
  hyperparameters: any;
  instance_name: any;
  model_id: any;
  where: any;
  };
  row: any;
  user: any;
  },
  ) => Promise<void>;
  }

- ##### `Namespace` webhook: {
  configFields: (
  __namedParameters: { mode: any; table: any },
  ) => Promise<
  (
  | {
  attributes?: undefined;
  fieldview?: undefined;
  label: string;
  name: string;
  required?: undefined;
  showIf?: undefined;
  sublabel: string;
  type: string;
  }
  | {
  attributes: { options: string[] };
  fieldview?: undefined;
  label: string;
  name: string;
  required: boolean;
  showIf?: undefined;
  sublabel?: undefined;
  type: string;
  }
  | {
  attributes?: undefined;
  fieldview: string;
  label: string;
  name: string;
  required?: undefined;
  showIf: { method: string[] };
  sublabel: string;
  type: string;
  }
  | {
  attributes: { options: any };
  fieldview?: undefined;
  label: string;
  name: string;
  required?: undefined;
  showIf?: undefined;
  sublabel?: undefined;
  type: string;
  }
  )[],
  >;
  description: string;
  run: (opts: { body: object; url: string }) => Promise<object>;
  }

  #### Subcategory

  actions

  - ##### configFields: (
    __namedParameters: { mode: any; table: any },
    ) => Promise<
    (
    | {
    attributes?: undefined;
    fieldview?: undefined;
    label: string;
    name: string;
    required?: undefined;
    showIf?: undefined;
    sublabel: string;
    type: string;
    }
    | {
    attributes: { options: string[] };
    fieldview?: undefined;
    label: string;
    name: string;
    required: boolean;
    showIf?: undefined;
    sublabel?: undefined;
    type: string;
    }
    | {
    attributes?: undefined;
    fieldview: string;
    label: string;
    name: string;
    required?: undefined;
    showIf: { method: string[] };
    sublabel: string;
    type: string;
    }
    | {
    attributes: { options: any };
    fieldview?: undefined;
    label: string;
    name: string;
    required?: undefined;
    showIf?: undefined;
    sublabel?: undefined;
    type: string;
    }
    )[],
    >

  - ##### description: string

  - ##### run: (opts: { body: object; url: string }) => Promise<object>

- Defined in packages/saltcorn-data/base-plugin/actions.js:242