@servicenow/sdk - v4.4.1
    Preparing search index...
    action: {
        core: {
            addWorknoteLinkToContext: __type<
                FlowIOType<
                    {
                        additional_comments: Typed<
                            string,
                            { label: "Additional Comments"; maxLength: 8000 },
                        >;
                        journal_field: Typed<
                            string,
                            { label: "Journal Field"; mandatory: true },
                        >;
                        record: Typed<
                            string
                            | Record,
                            {
                                dependent: "table";
                                label: "Record";
                                mandatory: true;
                                maxLength: 8000;
                            },
                        >;
                        table: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                    },
                >,
                OutputsWithDotwalk<{}>,
                {},
            >;
            askForApproval: __type<
                FlowIOType<
                    {
                        approval_conditions: Typed<
                            string,
                            { label: "Approval Conditions"; mandatory: true; maxLength: 8000 },
                        >;
                        approval_field: Typed<
                            string,
                            { label: "Approval Field"; maxLength: 8000 },
                        >;
                        approval_reason: Typed<
                            string,
                            { label: "Approval Reason"; maxLength: 160 },
                        >;
                        due_date: Typed<string, { label: "Due Date" }>;
                        journal_field: Typed<
                            string,
                            { label: "Journal Field"; maxLength: 8000 },
                        >;
                        record: Typed<
                            string
                            | Record,
                            { dependent: "table"; label: "Record"; mandatory: true },
                        >;
                        table: Typed<keyof Tables, { label: "Table" }>;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        approval_state: Typed<
                            | "requested"
                            | "not requested"
                            | "rejected"
                            | "approved"
                            | "not_required"
                            | "cancelled"
                            | "skipped",
                            {
                                choices: {
                                    approved: { label: "Approved"; sequence: 2 };
                                    cancelled: { label: "Cancelled"; sequence: 4 };
                                    "not requested": { label: "Not Yet Requested" };
                                    not_required: { label: "No Longer Required"; sequence: 5 };
                                    rejected: { label: "Rejected"; sequence: 3 };
                                    requested: { label: "Requested"; sequence: 1 };
                                    skipped: { label: "Skipped"; sequence: 6 };
                                };
                                label: "Approval State";
                            },
                        >;
                    },
                >,
                {
                    approval_state: Typed<
                        | "requested"
                        | "not requested"
                        | "rejected"
                        | "approved"
                        | "not_required"
                        | "cancelled"
                        | "skipped",
                        {
                            choices: {
                                approved: { label: "Approved"; sequence: 2 };
                                cancelled: { label: "Cancelled"; sequence: 4 };
                                "not requested": { label: "Not Yet Requested" };
                                not_required: { label: "No Longer Required"; sequence: 5 };
                                rejected: { label: "Rejected"; sequence: 3 };
                                requested: { label: "Requested"; sequence: 1 };
                                skipped: { label: "Skipped"; sequence: 6 };
                            };
                            label: "Approval State";
                        },
                    >;
                },
            >;
            associateRecordToEmail: __type<
                FlowIOType<
                    {
                        email_record: Typed<
                            string
                            | Record,
                            { dependent: ""; label: "Email Record"; mandatory: true },
                        >;
                        target_record: Typed<
                            string
                            | Record,
                            { dependent: ""; label: "Target Record"; mandatory: true },
                        >;
                    },
                >,
                OutputsWithDotwalk<{}>,
                {},
            >;
            copyAttachment: __type<
                FlowIOType<
                    {
                        attachment_record: Typed<
                            | string
                            | Record<"sys_attachment">
                            | ExplicitKey<"sys_attachment">
                            | TableBrand<"sys_attachment">,
                            {
                                label: "Source Attachment Record";
                                mandatory: true;
                                referenceTable: "sys_attachment";
                            },
                        >;
                        table: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                        target_record: Typed<
                            string
                            | Record,
                            {
                                default: "ef43c6d40a0a0b5700c77f9bf387afe3";
                                dependent: "table";
                                label: "Target Record";
                                mandatory: true;
                            },
                        >;
                    },
                >,
                OutputsWithDotwalk<{}>,
                {},
            >;
            createCatalogTask: __type<
                FlowIOType<
                    {
                        ah_fields: Typed<
                            string
                            | TemplateValueElement<keyof Tables>,
                            { dependent: "ah_table_name"; label: "Fields"; maxLength: 65000 },
                        >;
                        ah_requested_item: Typed<
                            | string
                            | Record<"sc_req_item">
                            | ExplicitKey<"sc_req_item">
                            | TableBrand<"sc_req_item">,
                            {
                                label: "Requested Item";
                                mandatory: true;
                                referenceTable: "sc_req_item";
                            },
                        >;
                        ah_short_description: Typed<
                            string,
                            { label: "Short Description"; maxLength: 12000 },
                        >;
                        ah_table_name: Typed<
                            keyof Tables,
                            { default: "sc_task"; label: "Table Name"; readOnly: true },
                        >;
                        ah_wait: Typed<boolean, { default: true; label: "Wait" }>;
                        catalog_variables: Typed<
                            string
                            | unknown[],
                            { label: "Catalog Variables"; maxLength: 12000 },
                        >;
                        template_catalog_item: Typed<
                            | string
                            | Record<"sc_cat_item">
                            | ExplicitKey<"sc_cat_item">
                            | TableBrand<"sc_cat_item">,
                            { label: "Template Catalog Item"; referenceTable: "sc_cat_item" },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        "Catalog Task": Typed<
                            string
                            | Record,
                            { dependent: "ah_table_name"; label: "Catalog Task" },
                        >;
                    },
                >,
                {
                    "Catalog Task": Typed<
                        string
                        | Record,
                        { dependent: "ah_table_name"; label: "Catalog Task" },
                    >;
                },
            >;
            createOrUpdateRecord: __type<
                FlowIOType<
                    {
                        fields: Typed<
                            string
                            | TemplateValueElement<keyof Tables>,
                            {
                                dependent: "table_name";
                                label: "Fields";
                                mandatory: true;
                                maxLength: 65000;
                            },
                        >;
                        table_name: Typed<
                            keyof Tables,
                            { label: "Table Name"; mandatory: true },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        error_message: Typed<
                            string,
                            { label: "Error Message"; maxLength: 8000 },
                        >;
                        record: Typed<
                            string
                            | Record,
                            { dependent: "table_name"; label: "Record" },
                        >;
                        status: Typed<
                            "error"
                            | "created"
                            | "updated",
                            {
                                choices: {
                                    created: { label: "Created"; sequence: 1 };
                                    error: { label: "Error"; sequence: 3 };
                                    updated: { label: "Updated"; sequence: 2 };
                                };
                                label: "Status";
                                maxLength: 8000;
                            },
                        >;
                        table_name: Typed<keyof Tables, { label: "Table Name" }>;
                    },
                >,
                {
                    error_message: Typed<
                        string,
                        { label: "Error Message"; maxLength: 8000 },
                    >;
                    record: Typed<
                        string
                        | Record,
                        { dependent: "table_name"; label: "Record" },
                    >;
                    status: Typed<
                        "error"
                        | "created"
                        | "updated",
                        {
                            choices: {
                                created: { label: "Created"; sequence: 1 };
                                error: { label: "Error"; sequence: 3 };
                                updated: { label: "Updated"; sequence: 2 };
                            };
                            label: "Status";
                            maxLength: 8000;
                        },
                    >;
                    table_name: Typed<keyof Tables, { label: "Table Name" }>;
                },
            >;
            createRecord: __type<
                FlowIOType<
                    {
                        table_name: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                        values: Typed<
                            string
                            | TemplateValueElement<keyof Tables>,
                            {
                                dependent: "table_name";
                                label: "Fields";
                                mandatory: true;
                                maxLength: 16000000;
                            },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        record: Typed<
                            string
                            | Record,
                            { dependent: "table_name"; label: "Record"; maxLength: 40 },
                        >;
                        table_name: Typed<keyof Tables, { label: "Table" }>;
                    },
                >,
                {
                    record: Typed<
                        string
                        | Record,
                        { dependent: "table_name"; label: "Record"; maxLength: 40 },
                    >;
                    table_name: Typed<keyof Tables, { label: "Table" }>;
                },
            >;
            createTask: __type<
                FlowIOType<
                    {
                        field_values: Typed<
                            string
                            | TemplateValueElement<keyof Tables>,
                            { dependent: "task_table"; label: "Field Values"; maxLength: 65000 },
                        >;
                        task_table: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                        wait: Typed<boolean, { label: "Wait" }>;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        Record: Typed<
                            string
                            | Record,
                            { dependent: "task_table"; label: "Record"; tableReference: true },
                        >;
                        Table: Typed<keyof Tables, { label: "Table" }>;
                    },
                >,
                {
                    Record: Typed<
                        string
                        | Record,
                        { dependent: "task_table"; label: "Record"; tableReference: true },
                    >;
                    Table: Typed<keyof Tables, { label: "Table" }>;
                },
            >;
            deleteAttachment: __type<
                FlowIOType<
                    {
                        attachment_file_name: Typed<
                            string,
                            { label: "Attachment File Name"; maxLength: 8000 },
                        >;
                        delete_all_: Typed<
                            boolean,
                            { default: true; label: "Delete All Attachments?" },
                        >;
                        record: Typed<
                            string
                            | Record,
                            {
                                default: "ef43c6d40a0a0b5700c77f9bf387afe3";
                                dependent: "table";
                                label: "Source Record";
                                mandatory: true;
                            },
                        >;
                        table: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                    },
                >,
                OutputsWithDotwalk<{}>,
                {},
            >;
            deleteRecord: __type<
                FlowIOType<
                    {
                        record: Typed<
                            string
                            | Record,
                            { dependent: ""; label: "Record"; mandatory: true; maxLength: 40 },
                        >;
                    },
                >,
                OutputsWithDotwalk<{}>,
                {},
            >;
            fireEvent: __type<
                FlowIOType<
                    {
                        event_name: Typed<
                            | string
                            | Record<"sysevent_register">
                            | ExplicitKey<"sysevent_register">
                            | TableBrand<"sysevent_register">,
                            {
                                label: "Event";
                                mandatory: true;
                                referenceTable: "sysevent_register";
                            },
                        >;
                        parm1: Typed<string, { label: "Parameter 1"; maxLength: 8000 }>;
                        parm2: Typed<string, { label: "Parameter 2"; maxLength: 8000 }>;
                        record: Typed<
                            string
                            | Record,
                            { dependent: "table"; label: "Record"; mandatory: true },
                        >;
                        table: Typed<keyof Tables, { label: "Table" }>;
                    },
                >,
                OutputsWithDotwalk<{}>,
                {},
            >;
            getAttachmentsOnRecord: __type<
                FlowIOType<
                    {
                        file_name: Typed<string, { label: "File Name"; maxLength: 8000 }>;
                        source_record: Typed<
                            string
                            | Record,
                            {
                                dependent: "sys_attachment";
                                label: "Source Record";
                                mandatory: true;
                                tableReference: true;
                            },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        parameter: Typed<
                            Record<"sys_attachment">[],
                            { label: "Attachment List"; referenceTable: "sys_attachment" },
                        >;
                        parameter1: Typed<number, { label: "Count"; maxLength: 4000 }>;
                    },
                >,
                {
                    parameter: Typed<
                        Record<"sys_attachment">[],
                        { label: "Attachment List"; referenceTable: "sys_attachment" },
                    >;
                    parameter1: Typed<number, { label: "Count"; maxLength: 4000 }>;
                },
            >;
            getCatalogVariables: __type<
                FlowIOType<
                    {
                        catalog_variables: Typed<
                            string
                            | unknown[],
                            { label: "Catalog Variables"; maxLength: 12000 },
                        >;
                        requested_item: Typed<
                            | string
                            | Record<"sc_req_item">
                            | ExplicitKey<"sc_req_item">
                            | TableBrand<"sc_req_item">,
                            {
                                label: "Submitted Request";
                                mandatory: true;
                                referenceTable: "sc_req_item";
                            },
                        >;
                        template_catalog_item: Typed<
                            | string
                            | Record<"st_sys_catalog_items_and_variable_sets">
                            | ExplicitKey<"st_sys_catalog_items_and_variable_sets">
                            | TableBrand<"st_sys_catalog_items_and_variable_sets">,
                            {
                                label: "Template Catalog Items and Variable Sets";
                                mandatory: true;
                                referenceTable: "st_sys_catalog_items_and_variable_sets";
                            },
                        >;
                    },
                >,
                OutputsWithDotwalk<Record<string, FlowValueType>>,
                Record<string, FlowValueType>,
            >;
            getEmailHeader: __type<
                FlowIOType<
                    {
                        email_record: Typed<
                            | string
                            | Record<"sys_email">
                            | ExplicitKey<"sys_email">
                            | TableBrand<"sys_email">,
                            {
                                hint: "A record from the Email [sys_email] table.";
                                label: "Email Record";
                                mandatory: true;
                                maxLength: 8000;
                                referenceTable: "sys_email";
                            },
                        >;
                        target_header: Typed<
                            string,
                            {
                                hint: "The name of the header that you want the value of (e.g. From, X-ServiceNow-Generated)";
                                label: "Target header";
                                mandatory: true;
                                maxLength: 8000;
                            },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        header_value: Typed<
                            string,
                            {
                                hint: "The value of the email header that the action returned. This will be an empty string if it is not found.";
                                label: "Header value";
                                maxLength: 8000;
                            },
                        >;
                    },
                >,
                {
                    header_value: Typed<
                        string,
                        {
                            hint: "The value of the email header that the action returned. This will be an empty string if it is not found.";
                            label: "Header value";
                            maxLength: 8000;
                        },
                    >;
                },
            >;
            getLatestResponseTextFromEmail: __type<
                FlowIOType<
                    {
                        email_record: Typed<
                            | string
                            | Record<"sys_email">
                            | ExplicitKey<"sys_email">
                            | TableBrand<"sys_email">,
                            {
                                label: "Email Record";
                                mandatory: true;
                                referenceTable: "sys_email";
                            },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        latest_response_text: Typed<
                            string,
                            { label: "Latest Response Text"; mandatory: true; maxLength: 8000 },
                        >;
                    },
                >,
                {
                    latest_response_text: Typed<
                        string,
                        { label: "Latest Response Text"; mandatory: true; maxLength: 8000 },
                    >;
                },
            >;
            log: __type<
                FlowIOType<
                    {
                        log_level: Typed<
                            "info"
                            | "error"
                            | "warn",
                            {
                                choices: {
                                    error: { label: "Error"; sequence: 300 };
                                    info: { label: "Info"; sequence: 100 };
                                    warn: { label: "Warning"; sequence: 200 };
                                };
                                default: "info";
                                label: "Level";
                            },
                        >;
                        log_message: Typed<string, { label: "Message"; maxLength: 255 }>;
                    },
                >,
                OutputsWithDotwalk<{}>,
                {},
            >;
            lookupAttachment: __type<
                FlowIOType<
                    {
                        file_name: Typed<string, { label: "File Name"; maxLength: 8000 }>;
                        source_record: Typed<
                            string
                            | Record,
                            { dependent: ""; label: "Source Record"; mandatory: true },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        parameter: Typed<
                            string,
                            { label: "Attachment Sys ID"; maxLength: 8000 },
                        >;
                        parameter1: Typed<
                            string,
                            { label: "Attachment List"; maxLength: 4000 },
                        >;
                    },
                >,
                {
                    parameter: Typed<
                        string,
                        { label: "Attachment Sys ID"; maxLength: 8000 },
                    >;
                    parameter1: Typed<string, { label: "Attachment List"; maxLength: 4000 }>;
                },
            >;
            lookUpEmailAttachments: __type<
                FlowIOType<
                    {
                        email_record: Typed<
                            | string
                            | Record<"sys_email">
                            | ExplicitKey<"sys_email">
                            | TableBrand<"sys_email">,
                            {
                                label: "Email record";
                                mandatory: true;
                                referenceTable: "sys_email";
                            },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        email_attachments: Typed<
                            Record<"sys_email_attachment">[],
                            { label: "Email attachments"; referenceTable: "sys_email_attachment" },
                        >;
                    },
                >,
                {
                    email_attachments: Typed<
                        Record<"sys_email_attachment">[],
                        { label: "Email attachments"; referenceTable: "sys_email_attachment" },
                    >;
                },
            >;
            lookUpRecord: __type<
                FlowIOType<
                    {
                        __snc_dont_fail_on_error: Typed<
                            boolean,
                            { label: "Don't fail on error" },
                        >;
                        conditions: Typed<string, { label: "Conditions" }>;
                        if_multiple_records_are_found_action: Typed<
                            "error"
                            | "use_first_record",
                            {
                                choices: {
                                    error: { label: "Fail the step"; sequence: -1 };
                                    use_first_record: {
                                        label: "Return only the first record";
                                        sequence: -1;
                                    };
                                };
                                default: "use_first_record";
                                label: "If multiple records are found action";
                            },
                        >;
                        sort_column: Typed<string, { label: "Order by" }>;
                        sort_type: Typed<
                            "sort_asc"
                            | "sort_desc",
                            {
                                choices: {
                                    sort_asc: { label: "a to z"; sequence: 1 };
                                    sort_desc: { label: "z to a"; sequence: 2 };
                                };
                                default: "sort_asc";
                                label: "Sort Type";
                                maxLength: 32;
                            },
                        >;
                        table: Typed<keyof Tables, { label: "Table" }>;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        error_message: Typed<
                            string,
                            { label: "Error Message"; maxLength: 8000 },
                        >;
                        Record: Typed<string | Record, { dependent: "table"; label: "Record" }>;
                        status: Typed<
                            0
                            | 1,
                            {
                                choices: { "0": { label: "Success" }; "1": { label: "Error" } };
                                default: "0";
                                label: "Status";
                            },
                        >;
                        Table: Typed<keyof Tables, { label: "Table" }>;
                    },
                >,
                {
                    error_message: Typed<
                        string,
                        { label: "Error Message"; maxLength: 8000 },
                    >;
                    Record: Typed<string | Record, { dependent: "table"; label: "Record" }>;
                    status: Typed<
                        0
                        | 1,
                        {
                            choices: { "0": { label: "Success" }; "1": { label: "Error" } };
                            default: "0";
                            label: "Status";
                        },
                    >;
                    Table: Typed<keyof Tables, { label: "Table" }>;
                },
            >;
            lookUpRecords: __type<
                FlowIOType<
                    {
                        conditions: Typed<string, { label: "Conditions" }>;
                        max_results: Typed<number, { default: 1000; label: "Max Results" }>;
                        sort_column: Typed<string, { label: "Order by" }>;
                        sort_type: Typed<
                            "sort_asc"
                            | "sort_desc",
                            {
                                choices: {
                                    sort_asc: { label: "a to z"; sequence: 1 };
                                    sort_desc: { label: "z to a"; sequence: 2 };
                                };
                                default: "sort_asc";
                                label: "Sort Type";
                                maxLength: 32;
                            },
                        >;
                        table: Typed<keyof Tables, { label: "Table" }>;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        Count: Typed<number, { label: "Count" }>;
                        Records: Typed<
                            Record<"table">[],
                            { dependent: "table"; label: "Records"; referenceTable: "table" },
                        >;
                        Table: Typed<keyof Tables, { label: "Table" }>;
                    },
                >,
                {
                    Count: Typed<number, { label: "Count" }>;
                    Records: Typed<
                        Record<"table">[],
                        { dependent: "table"; label: "Records"; referenceTable: "table" },
                    >;
                    Table: Typed<keyof Tables, { label: "Table" }>;
                },
            >;
            moveAttachment: __type<
                FlowIOType<
                    {
                        source_attachment_record: Typed<
                            | string
                            | Record<"sys_attachment">
                            | ExplicitKey<"sys_attachment">
                            | TableBrand<"sys_attachment">,
                            {
                                label: "Source Attachment Record";
                                mandatory: true;
                                referenceTable: "sys_attachment";
                            },
                        >;
                        table: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                        target_record: Typed<
                            string
                            | Record,
                            { dependent: "table"; label: "Target Record"; mandatory: true },
                        >;
                    },
                >,
                OutputsWithDotwalk<{}>,
                {},
            >;
            moveEmailAttachmentsToRecord: __type<
                FlowIOType<
                    {
                        email_record: Typed<
                            string
                            | Record,
                            { dependent: ""; label: "Email Record"; mandatory: true },
                        >;
                        target_record: Typed<
                            string
                            | Record,
                            { dependent: ""; label: "Target Record"; mandatory: true },
                        >;
                    },
                >,
                OutputsWithDotwalk<{}>,
                {},
            >;
            recordProducer: __type<
                FlowIOType<
                    {
                        _snc_dont_fail_on_error: Typed<
                            boolean,
                            { label: "Don't fail on error" },
                        >;
                        catalog_item: Typed<
                            | string
                            | Record<"sc_cat_item">
                            | ExplicitKey<"sc_cat_item">
                            | TableBrand<"sc_cat_item">,
                            {
                                label: "Catalog Item";
                                mandatory: true;
                                referenceTable: "sc_cat_item";
                            },
                        >;
                        catalog_item_inputs: Typed<
                            string,
                            { label: "Catalog Item Inputs"; maxLength: 32000000 },
                        >;
                        record_table: Typed<
                            keyof Tables,
                            { attributes: { visible_in_fd: "false" }; label: "Record Table" },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        error_message: Typed<
                            string,
                            { label: "Error Message"; maxLength: 8000 },
                        >;
                        record: Typed<
                            string
                            | Record,
                            { dependent: "record_table"; label: "Record" },
                        >;
                        status: Typed<
                            0
                            | 1,
                            {
                                choices: {
                                    "0": { label: "Success" };
                                    "1": { label: "Error"; sequence: 1 };
                                };
                                default: "0";
                                label: "Status";
                                maxLength: 32;
                            },
                        >;
                        table: Typed<keyof Tables, { label: "Table" }>;
                    },
                >,
                {
                    error_message: Typed<
                        string,
                        { label: "Error Message"; maxLength: 8000 },
                    >;
                    record: Typed<
                        string
                        | Record,
                        { dependent: "record_table"; label: "Record" },
                    >;
                    status: Typed<
                        0
                        | 1,
                        {
                            choices: {
                                "0": { label: "Success" };
                                "1": { label: "Error"; sequence: 1 };
                            };
                            default: "0";
                            label: "Status";
                            maxLength: 32;
                        },
                    >;
                    table: Typed<keyof Tables, { label: "Table" }>;
                },
            >;
            sendEmail: __type<
                FlowIOType<
                    {
                        ah_bcc: Typed<string, { label: "BCC"; maxLength: 8000 }>;
                        ah_body: Typed<
                            string,
                            { columnType: "html"; label: "Body"; maxLength: 65536 },
                        >;
                        ah_cc: Typed<string, { label: "CC"; maxLength: 8000 }>;
                        ah_subject: Typed<
                            string,
                            { label: "Subject"; mandatory: true; maxLength: 8000 },
                        >;
                        ah_to: Typed<string, { label: "To"; mandatory: true; maxLength: 8000 }>;
                        record: Typed<
                            string
                            | Record,
                            {
                                dependent: "table_name";
                                label: "Target Record";
                                tableReference: true;
                            },
                        >;
                        table_name: Typed<keyof Tables, { label: "Table" }>;
                        watermark_email: Typed<
                            boolean,
                            { default: true; label: "Include Watermark" },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        email: Typed<
                            | string
                            | Record<"sys_email">
                            | ExplicitKey<"sys_email">
                            | TableBrand<"sys_email">,
                            { label: "email"; referenceTable: "sys_email" },
                        >;
                    },
                >,
                {
                    email: Typed<
                        | string
                        | Record<"sys_email">
                        | ExplicitKey<"sys_email">
                        | TableBrand<"sys_email">,
                        { label: "email"; referenceTable: "sys_email" },
                    >;
                },
            >;
            sendNotification: __type<
                FlowIOType<
                    {
                        notification: Typed<
                            | string
                            | Record<"sysevent_email_action">
                            | ExplicitKey<"sysevent_email_action">
                            | TableBrand<"sysevent_email_action">,
                            {
                                label: "Notification";
                                mandatory: true;
                                referenceTable: "sysevent_email_action";
                            },
                        >;
                        record: Typed<
                            string
                            | Record,
                            { dependent: "table_name"; label: "Record" },
                        >;
                        table_name: Typed<keyof Tables, { label: "Table" }>;
                    },
                >,
                OutputsWithDotwalk<{}>,
                {},
            >;
            sendSms: __type<
                FlowIOType<
                    {
                        message: Typed<
                            string,
                            { label: "Message"; mandatory: true; maxLength: 8000 },
                        >;
                        recipients: Typed<
                            string,
                            { label: "Recipients"; mandatory: true; maxLength: 8000 },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        email: Typed<
                            | string
                            | Record<"sys_email">
                            | ExplicitKey<"sys_email">
                            | TableBrand<"sys_email">,
                            { label: "Email"; referenceTable: "sys_email" },
                        >;
                    },
                >,
                {
                    email: Typed<
                        | string
                        | Record<"sys_email">
                        | ExplicitKey<"sys_email">
                        | TableBrand<"sys_email">,
                        { label: "Email"; referenceTable: "sys_email" },
                    >;
                },
            >;
            slaPercentageTimer: __type<
                FlowIOType<
                    {
                        percentage: Typed<number, { label: "Percentage"; mandatory: true }>;
                        sla_flow_inputs: {
                            $id: "81bd0dc273723300d70877186bf6a71b";
                            attributes: { visible_in_fd: "false" };
                            co_type_name: "FDcdbd0dc2bc7233000dbdb4d30db4851a";
                            fields: {
                                duration: Typed<string, { label: "duration"; maxLength: 32 }>;
                                duration_type: Typed<
                                    string,
                                    { label: "duration_type"; maxLength: 32 },
                                >;
                                is_repair: Typed<
                                    boolean,
                                    { default: "false"; label: "is_repair"; maxLength: 32 },
                                >;
                                name: Typed<string, { label: "name"; maxLength: 32 }>;
                                relative_duration_works_on: Typed<
                                    string,
                                    { label: "relative_duration_works_on"; maxLength: 32 },
                                >;
                            };
                            label: "sla_flow_inputs";
                        };
                        task_sla_record: Typed<
                            | string
                            | Record<"task_sla">
                            | ExplicitKey<"task_sla">
                            | TableBrand<"task_sla">,
                            {
                                attributes: {
                                    element_mapping_provider: "com.glide.flow_design.action.data.FlowDesignVariableMapper";
                                    visible_in_fd: false;
                                };
                                default: "";
                                label: "Task SLA Record";
                                referenceTable: "task_sla";
                            },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        scheduled_end_date_time: Typed<
                            `${number}-${number}-${number} ${number}:${number}:${number}`,
                            { label: "Scheduled End Date/Time" },
                        >;
                        status: Typed<
                            "cancelled"
                            | "skipped"
                            | "completed"
                            | "repair"
                            | "paused",
                            {
                                choices: {
                                    cancelled: { label: "Cancelled"; sequence: 5 };
                                    completed: { label: "Completed"; sequence: 2 };
                                    paused: { label: "Paused"; sequence: 1 };
                                    repair: { label: "Repair"; sequence: 3 };
                                    skipped: { label: "Skipped"; sequence: 4 };
                                };
                                default: "completed";
                                label: "Status";
                                maxLength: 32;
                            },
                        >;
                        total_duration: Typed<string | Duration, { label: "Total Duration" }>;
                    },
                >,
                {
                    scheduled_end_date_time: Typed<
                        `${number}-${number}-${number} ${number}:${number}:${number}`,
                        { label: "Scheduled End Date/Time" },
                    >;
                    status: Typed<
                        "cancelled"
                        | "skipped"
                        | "completed"
                        | "repair"
                        | "paused",
                        {
                            choices: {
                                cancelled: { label: "Cancelled"; sequence: 5 };
                                completed: { label: "Completed"; sequence: 2 };
                                paused: { label: "Paused"; sequence: 1 };
                                repair: { label: "Repair"; sequence: 3 };
                                skipped: { label: "Skipped"; sequence: 4 };
                            };
                            default: "completed";
                            label: "Status";
                            maxLength: 32;
                        },
                    >;
                    total_duration: Typed<string | Duration, { label: "Total Duration" }>;
                },
            >;
            submitCatalogItemRequest: __type<
                FlowIOType<
                    {
                        _snc_dont_fail_on_error: Typed<
                            boolean,
                            { label: "Don't fail on error" },
                        >;
                        catalog_item: Typed<
                            | string
                            | Record<"sc_cat_item">
                            | ExplicitKey<"sc_cat_item">
                            | TableBrand<"sc_cat_item">,
                            {
                                label: "Catalog Item";
                                mandatory: true;
                                referenceTable: "sc_cat_item";
                            },
                        >;
                        catalog_item_inputs: Typed<
                            string,
                            { label: "Catalog Item Inputs"; maxLength: 32000000 },
                        >;
                        delivery_address: Typed<
                            string,
                            { label: "Delivery Address"; maxLength: 4000 },
                        >;
                        duration: Typed<
                            string
                            | Duration,
                            { default: "1970-01-01 00:00:00"; label: "Duration" },
                        >;
                        schedule: Typed<
                            | string
                            | Record<"cmn_schedule">
                            | ExplicitKey<"cmn_schedule">
                            | TableBrand<"cmn_schedule">,
                            { label: "Schedule"; referenceTable: "cmn_schedule" },
                        >;
                        special_instructions: Typed<
                            string,
                            { label: "Special Instructions"; maxLength: 4000 },
                        >;
                        sysparm_quantity: Typed<number, { default: 1; label: "Quantity" }>;
                        sysparm_requested_for: Typed<
                            | string
                            | Record<"sys_user">
                            | ExplicitKey<"sys_user">
                            | TableBrand<"sys_user">,
                            { label: "Requested for"; referenceTable: "sys_user" },
                        >;
                        timeout_flag: Typed<boolean, { label: "Enable timeout" }>;
                        wait_for_completion: Typed<boolean, { label: "Wait for Completion" }>;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        error_message: Typed<
                            string,
                            { label: "Error Message"; maxLength: 10000 },
                        >;
                        requested_item: Typed<
                            string
                            | Record,
                            {
                                dependent: "catalog_item";
                                label: "Requested Item";
                                tableReference: true;
                            },
                        >;
                        status: Typed<
                            0
                            | 1
                            | 2,
                            {
                                choices: {
                                    "0": { label: "Success" };
                                    "1": { label: "Error"; sequence: 1 };
                                    "2": { label: "Timeout"; sequence: 2 };
                                };
                                default: "0";
                                label: "Status";
                                maxLength: 32;
                            },
                        >;
                    },
                >,
                {
                    error_message: Typed<
                        string,
                        { label: "Error Message"; maxLength: 10000 },
                    >;
                    requested_item: Typed<
                        string
                        | Record,
                        {
                            dependent: "catalog_item";
                            label: "Requested Item";
                            tableReference: true;
                        },
                    >;
                    status: Typed<
                        0
                        | 1
                        | 2,
                        {
                            choices: {
                                "0": { label: "Success" };
                                "1": { label: "Error"; sequence: 1 };
                                "2": { label: "Timeout"; sequence: 2 };
                            };
                            default: "0";
                            label: "Status";
                            maxLength: 32;
                        },
                    >;
                },
            >;
            updateMultipleRecords: __type<
                FlowIOType<
                    {
                        __snc_dont_fail_on_error: Typed<
                            boolean,
                            { label: "Don't fail on error" },
                        >;
                        conditions: Typed<string, { label: "Conditions"; mandatory: true }>;
                        field_values: Typed<
                            string
                            | TemplateValueElement<keyof Tables>,
                            {
                                dependent: "table_name";
                                label: "Fields";
                                mandatory: true;
                                maxLength: 65000;
                            },
                        >;
                        sort_column: Typed<string, { label: "Order by" }>;
                        sort_type: Typed<
                            "sort_asc"
                            | "sort_desc",
                            {
                                choices: {
                                    sort_asc: { label: "a to z" };
                                    sort_desc: { label: "z to a"; sequence: 1 };
                                };
                                default: "sort_asc";
                                label: "Sort Type";
                                maxLength: 32;
                            },
                        >;
                        table_name: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        count: Typed<number, { label: "Count" }>;
                        message: Typed<string, { label: "Error Message"; maxLength: 10000 }>;
                        status: Typed<
                            0
                            | 1,
                            {
                                choices: {
                                    "0": { label: "Success" };
                                    "1": { label: "Error"; sequence: 1 };
                                };
                                default: "1";
                                label: "Status";
                                maxLength: 32;
                            },
                        >;
                    },
                >,
                {
                    count: Typed<number, { label: "Count" }>;
                    message: Typed<string, { label: "Error Message"; maxLength: 10000 }>;
                    status: Typed<
                        0
                        | 1,
                        {
                            choices: {
                                "0": { label: "Success" };
                                "1": { label: "Error"; sequence: 1 };
                            };
                            default: "1";
                            label: "Status";
                            maxLength: 32;
                        },
                    >;
                },
            >;
            updateRecord: __type<
                FlowIOType<
                    {
                        record: Typed<
                            string
                            | Record,
                            {
                                dependent: "table_name";
                                label: "Record";
                                mandatory: true;
                                maxLength: 40;
                            },
                        >;
                        table_name: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                        values: Typed<
                            string
                            | TemplateValueElement<keyof Tables>,
                            {
                                dependent: "table_name";
                                label: "Fields";
                                mandatory: true;
                                maxLength: 16000000;
                            },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        record: Typed<
                            string
                            | Record,
                            { dependent: "table_name"; label: "Record"; maxLength: 40 },
                        >;
                        table_name: Typed<keyof Tables, { label: "Table" }>;
                    },
                >,
                {
                    record: Typed<
                        string
                        | Record,
                        { dependent: "table_name"; label: "Record"; maxLength: 40 },
                    >;
                    table_name: Typed<keyof Tables, { label: "Table" }>;
                },
            >;
            waitForCondition: __type<
                FlowIOType<
                    {
                        conditions: Typed<string, { label: "Conditions"; mandatory: true }>;
                        record: Typed<
                            string
                            | Record,
                            { dependent: "table_name"; label: "Record"; mandatory: true },
                        >;
                        table_name: Typed<keyof Tables, { label: "Table" }>;
                        timeout_duration: Typed<string | Duration, { label: "Duration" }>;
                        timeout_flag: Typed<boolean, { label: "Enable timeout" }>;
                        timeout_schedule: Typed<
                            | string
                            | Record<"cmn_schedule">
                            | ExplicitKey<"cmn_schedule">
                            | TableBrand<"cmn_schedule">,
                            { label: "Schedule"; maxLength: 8000; referenceTable: "cmn_schedule" },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        state: Typed<
                            0
                            | 1,
                            {
                                choices: {
                                    "0": { label: "Complete" };
                                    "1": { label: "Timeout"; sequence: 1 };
                                };
                                default: "0";
                                label: "State";
                                maxLength: 32;
                            },
                        >;
                    },
                >,
                {
                    state: Typed<
                        0
                        | 1,
                        {
                            choices: {
                                "0": { label: "Complete" };
                                "1": { label: "Timeout"; sequence: 1 };
                            };
                            default: "0";
                            label: "State";
                            maxLength: 32;
                        },
                    >;
                },
            >;
            waitForEmailReply: __type<
                FlowIOType<
                    {
                        enable_timeout: Typed<boolean, { label: "Enable Timeout" }>;
                        record: Typed<
                            | string
                            | Record<"sys_email">
                            | ExplicitKey<"sys_email">
                            | TableBrand<"sys_email">,
                            { label: "Record"; mandatory: true; referenceTable: "sys_email" },
                        >;
                        timeout_duration: Typed<string | Duration, { label: "Duration" }>;
                        timeout_schedule: Typed<
                            | string
                            | Record<"cmn_schedule">
                            | ExplicitKey<"cmn_schedule">
                            | TableBrand<"cmn_schedule">,
                            { label: "Schedule"; referenceTable: "cmn_schedule" },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        email_reply: Typed<
                            | string
                            | Record<"sys_email">
                            | ExplicitKey<"sys_email">
                            | TableBrand<"sys_email">,
                            { label: "Email Reply"; referenceTable: "sys_email" },
                        >;
                        state: Typed<
                            0
                            | 1,
                            {
                                choices: {
                                    "0": { label: "Complete" };
                                    "1": { label: "Timeout"; sequence: 1 };
                                };
                                default: "0";
                                label: "State";
                                maxLength: 32;
                            },
                        >;
                    },
                >,
                {
                    email_reply: Typed<
                        | string
                        | Record<"sys_email">
                        | ExplicitKey<"sys_email">
                        | TableBrand<"sys_email">,
                        { label: "Email Reply"; referenceTable: "sys_email" },
                    >;
                    state: Typed<
                        0
                        | 1,
                        {
                            choices: {
                                "0": { label: "Complete" };
                                "1": { label: "Timeout"; sequence: 1 };
                            };
                            default: "0";
                            label: "State";
                            maxLength: 32;
                        },
                    >;
                },
            >;
            waitForMessage: __type<
                FlowIOType<
                    {
                        enable_timeout: Typed<boolean, { label: "Enable timeout" }>;
                        message: Typed<
                            string,
                            {
                                isFullUTF8: true;
                                label: "Message";
                                mandatory: true;
                                maxLength: 255;
                            },
                        >;
                        timeout: Typed<
                            string
                            | Duration,
                            { columnType: "glide_duration"; label: "Timeout" },
                        >;
                    },
                >,
                OutputsWithDotwalk<
                    {
                        payload: Typed<
                            string,
                            { isFullUTF8: true; label: "Payload"; maxLength: 255 },
                        >;
                    },
                >,
                {
                    payload: Typed<
                        string,
                        { isFullUTF8: true; label: "Payload"; maxLength: 255 },
                    >;
                },
            >;
        };
    } = ...

    Type Declaration

    • core: {
          addWorknoteLinkToContext: __type<
              FlowIOType<
                  {
                      additional_comments: Typed<
                          string,
                          { label: "Additional Comments"; maxLength: 8000 },
                      >;
                      journal_field: Typed<
                          string,
                          { label: "Journal Field"; mandatory: true },
                      >;
                      record: Typed<
                          string
                          | Record,
                          {
                              dependent: "table";
                              label: "Record";
                              mandatory: true;
                              maxLength: 8000;
                          },
                      >;
                      table: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                  },
              >,
              OutputsWithDotwalk<{}>,
              {},
          >;
          askForApproval: __type<
              FlowIOType<
                  {
                      approval_conditions: Typed<
                          string,
                          { label: "Approval Conditions"; mandatory: true; maxLength: 8000 },
                      >;
                      approval_field: Typed<
                          string,
                          { label: "Approval Field"; maxLength: 8000 },
                      >;
                      approval_reason: Typed<
                          string,
                          { label: "Approval Reason"; maxLength: 160 },
                      >;
                      due_date: Typed<string, { label: "Due Date" }>;
                      journal_field: Typed<
                          string,
                          { label: "Journal Field"; maxLength: 8000 },
                      >;
                      record: Typed<
                          string
                          | Record,
                          { dependent: "table"; label: "Record"; mandatory: true },
                      >;
                      table: Typed<keyof Tables, { label: "Table" }>;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      approval_state: Typed<
                          | "requested"
                          | "not requested"
                          | "rejected"
                          | "approved"
                          | "not_required"
                          | "cancelled"
                          | "skipped",
                          {
                              choices: {
                                  approved: { label: "Approved"; sequence: 2 };
                                  cancelled: { label: "Cancelled"; sequence: 4 };
                                  "not requested": { label: "Not Yet Requested" };
                                  not_required: { label: "No Longer Required"; sequence: 5 };
                                  rejected: { label: "Rejected"; sequence: 3 };
                                  requested: { label: "Requested"; sequence: 1 };
                                  skipped: { label: "Skipped"; sequence: 6 };
                              };
                              label: "Approval State";
                          },
                      >;
                  },
              >,
              {
                  approval_state: Typed<
                      | "requested"
                      | "not requested"
                      | "rejected"
                      | "approved"
                      | "not_required"
                      | "cancelled"
                      | "skipped",
                      {
                          choices: {
                              approved: { label: "Approved"; sequence: 2 };
                              cancelled: { label: "Cancelled"; sequence: 4 };
                              "not requested": { label: "Not Yet Requested" };
                              not_required: { label: "No Longer Required"; sequence: 5 };
                              rejected: { label: "Rejected"; sequence: 3 };
                              requested: { label: "Requested"; sequence: 1 };
                              skipped: { label: "Skipped"; sequence: 6 };
                          };
                          label: "Approval State";
                      },
                  >;
              },
          >;
          associateRecordToEmail: __type<
              FlowIOType<
                  {
                      email_record: Typed<
                          string
                          | Record,
                          { dependent: ""; label: "Email Record"; mandatory: true },
                      >;
                      target_record: Typed<
                          string
                          | Record,
                          { dependent: ""; label: "Target Record"; mandatory: true },
                      >;
                  },
              >,
              OutputsWithDotwalk<{}>,
              {},
          >;
          copyAttachment: __type<
              FlowIOType<
                  {
                      attachment_record: Typed<
                          | string
                          | Record<"sys_attachment">
                          | ExplicitKey<"sys_attachment">
                          | TableBrand<"sys_attachment">,
                          {
                              label: "Source Attachment Record";
                              mandatory: true;
                              referenceTable: "sys_attachment";
                          },
                      >;
                      table: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                      target_record: Typed<
                          string
                          | Record,
                          {
                              default: "ef43c6d40a0a0b5700c77f9bf387afe3";
                              dependent: "table";
                              label: "Target Record";
                              mandatory: true;
                          },
                      >;
                  },
              >,
              OutputsWithDotwalk<{}>,
              {},
          >;
          createCatalogTask: __type<
              FlowIOType<
                  {
                      ah_fields: Typed<
                          string
                          | TemplateValueElement<keyof Tables>,
                          { dependent: "ah_table_name"; label: "Fields"; maxLength: 65000 },
                      >;
                      ah_requested_item: Typed<
                          | string
                          | Record<"sc_req_item">
                          | ExplicitKey<"sc_req_item">
                          | TableBrand<"sc_req_item">,
                          {
                              label: "Requested Item";
                              mandatory: true;
                              referenceTable: "sc_req_item";
                          },
                      >;
                      ah_short_description: Typed<
                          string,
                          { label: "Short Description"; maxLength: 12000 },
                      >;
                      ah_table_name: Typed<
                          keyof Tables,
                          { default: "sc_task"; label: "Table Name"; readOnly: true },
                      >;
                      ah_wait: Typed<boolean, { default: true; label: "Wait" }>;
                      catalog_variables: Typed<
                          string
                          | unknown[],
                          { label: "Catalog Variables"; maxLength: 12000 },
                      >;
                      template_catalog_item: Typed<
                          | string
                          | Record<"sc_cat_item">
                          | ExplicitKey<"sc_cat_item">
                          | TableBrand<"sc_cat_item">,
                          { label: "Template Catalog Item"; referenceTable: "sc_cat_item" },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      "Catalog Task": Typed<
                          string
                          | Record,
                          { dependent: "ah_table_name"; label: "Catalog Task" },
                      >;
                  },
              >,
              {
                  "Catalog Task": Typed<
                      string
                      | Record,
                      { dependent: "ah_table_name"; label: "Catalog Task" },
                  >;
              },
          >;
          createOrUpdateRecord: __type<
              FlowIOType<
                  {
                      fields: Typed<
                          string
                          | TemplateValueElement<keyof Tables>,
                          {
                              dependent: "table_name";
                              label: "Fields";
                              mandatory: true;
                              maxLength: 65000;
                          },
                      >;
                      table_name: Typed<
                          keyof Tables,
                          { label: "Table Name"; mandatory: true },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      error_message: Typed<
                          string,
                          { label: "Error Message"; maxLength: 8000 },
                      >;
                      record: Typed<
                          string
                          | Record,
                          { dependent: "table_name"; label: "Record" },
                      >;
                      status: Typed<
                          "error"
                          | "created"
                          | "updated",
                          {
                              choices: {
                                  created: { label: "Created"; sequence: 1 };
                                  error: { label: "Error"; sequence: 3 };
                                  updated: { label: "Updated"; sequence: 2 };
                              };
                              label: "Status";
                              maxLength: 8000;
                          },
                      >;
                      table_name: Typed<keyof Tables, { label: "Table Name" }>;
                  },
              >,
              {
                  error_message: Typed<
                      string,
                      { label: "Error Message"; maxLength: 8000 },
                  >;
                  record: Typed<
                      string
                      | Record,
                      { dependent: "table_name"; label: "Record" },
                  >;
                  status: Typed<
                      "error"
                      | "created"
                      | "updated",
                      {
                          choices: {
                              created: { label: "Created"; sequence: 1 };
                              error: { label: "Error"; sequence: 3 };
                              updated: { label: "Updated"; sequence: 2 };
                          };
                          label: "Status";
                          maxLength: 8000;
                      },
                  >;
                  table_name: Typed<keyof Tables, { label: "Table Name" }>;
              },
          >;
          createRecord: __type<
              FlowIOType<
                  {
                      table_name: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                      values: Typed<
                          string
                          | TemplateValueElement<keyof Tables>,
                          {
                              dependent: "table_name";
                              label: "Fields";
                              mandatory: true;
                              maxLength: 16000000;
                          },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      record: Typed<
                          string
                          | Record,
                          { dependent: "table_name"; label: "Record"; maxLength: 40 },
                      >;
                      table_name: Typed<keyof Tables, { label: "Table" }>;
                  },
              >,
              {
                  record: Typed<
                      string
                      | Record,
                      { dependent: "table_name"; label: "Record"; maxLength: 40 },
                  >;
                  table_name: Typed<keyof Tables, { label: "Table" }>;
              },
          >;
          createTask: __type<
              FlowIOType<
                  {
                      field_values: Typed<
                          string
                          | TemplateValueElement<keyof Tables>,
                          { dependent: "task_table"; label: "Field Values"; maxLength: 65000 },
                      >;
                      task_table: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                      wait: Typed<boolean, { label: "Wait" }>;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      Record: Typed<
                          string
                          | Record,
                          { dependent: "task_table"; label: "Record"; tableReference: true },
                      >;
                      Table: Typed<keyof Tables, { label: "Table" }>;
                  },
              >,
              {
                  Record: Typed<
                      string
                      | Record,
                      { dependent: "task_table"; label: "Record"; tableReference: true },
                  >;
                  Table: Typed<keyof Tables, { label: "Table" }>;
              },
          >;
          deleteAttachment: __type<
              FlowIOType<
                  {
                      attachment_file_name: Typed<
                          string,
                          { label: "Attachment File Name"; maxLength: 8000 },
                      >;
                      delete_all_: Typed<
                          boolean,
                          { default: true; label: "Delete All Attachments?" },
                      >;
                      record: Typed<
                          string
                          | Record,
                          {
                              default: "ef43c6d40a0a0b5700c77f9bf387afe3";
                              dependent: "table";
                              label: "Source Record";
                              mandatory: true;
                          },
                      >;
                      table: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                  },
              >,
              OutputsWithDotwalk<{}>,
              {},
          >;
          deleteRecord: __type<
              FlowIOType<
                  {
                      record: Typed<
                          string
                          | Record,
                          { dependent: ""; label: "Record"; mandatory: true; maxLength: 40 },
                      >;
                  },
              >,
              OutputsWithDotwalk<{}>,
              {},
          >;
          fireEvent: __type<
              FlowIOType<
                  {
                      event_name: Typed<
                          | string
                          | Record<"sysevent_register">
                          | ExplicitKey<"sysevent_register">
                          | TableBrand<"sysevent_register">,
                          {
                              label: "Event";
                              mandatory: true;
                              referenceTable: "sysevent_register";
                          },
                      >;
                      parm1: Typed<string, { label: "Parameter 1"; maxLength: 8000 }>;
                      parm2: Typed<string, { label: "Parameter 2"; maxLength: 8000 }>;
                      record: Typed<
                          string
                          | Record,
                          { dependent: "table"; label: "Record"; mandatory: true },
                      >;
                      table: Typed<keyof Tables, { label: "Table" }>;
                  },
              >,
              OutputsWithDotwalk<{}>,
              {},
          >;
          getAttachmentsOnRecord: __type<
              FlowIOType<
                  {
                      file_name: Typed<string, { label: "File Name"; maxLength: 8000 }>;
                      source_record: Typed<
                          string
                          | Record,
                          {
                              dependent: "sys_attachment";
                              label: "Source Record";
                              mandatory: true;
                              tableReference: true;
                          },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      parameter: Typed<
                          Record<"sys_attachment">[],
                          { label: "Attachment List"; referenceTable: "sys_attachment" },
                      >;
                      parameter1: Typed<number, { label: "Count"; maxLength: 4000 }>;
                  },
              >,
              {
                  parameter: Typed<
                      Record<"sys_attachment">[],
                      { label: "Attachment List"; referenceTable: "sys_attachment" },
                  >;
                  parameter1: Typed<number, { label: "Count"; maxLength: 4000 }>;
              },
          >;
          getCatalogVariables: __type<
              FlowIOType<
                  {
                      catalog_variables: Typed<
                          string
                          | unknown[],
                          { label: "Catalog Variables"; maxLength: 12000 },
                      >;
                      requested_item: Typed<
                          | string
                          | Record<"sc_req_item">
                          | ExplicitKey<"sc_req_item">
                          | TableBrand<"sc_req_item">,
                          {
                              label: "Submitted Request";
                              mandatory: true;
                              referenceTable: "sc_req_item";
                          },
                      >;
                      template_catalog_item: Typed<
                          | string
                          | Record<"st_sys_catalog_items_and_variable_sets">
                          | ExplicitKey<"st_sys_catalog_items_and_variable_sets">
                          | TableBrand<"st_sys_catalog_items_and_variable_sets">,
                          {
                              label: "Template Catalog Items and Variable Sets";
                              mandatory: true;
                              referenceTable: "st_sys_catalog_items_and_variable_sets";
                          },
                      >;
                  },
              >,
              OutputsWithDotwalk<Record<string, FlowValueType>>,
              Record<string, FlowValueType>,
          >;
          getEmailHeader: __type<
              FlowIOType<
                  {
                      email_record: Typed<
                          | string
                          | Record<"sys_email">
                          | ExplicitKey<"sys_email">
                          | TableBrand<"sys_email">,
                          {
                              hint: "A record from the Email [sys_email] table.";
                              label: "Email Record";
                              mandatory: true;
                              maxLength: 8000;
                              referenceTable: "sys_email";
                          },
                      >;
                      target_header: Typed<
                          string,
                          {
                              hint: "The name of the header that you want the value of (e.g. From, X-ServiceNow-Generated)";
                              label: "Target header";
                              mandatory: true;
                              maxLength: 8000;
                          },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      header_value: Typed<
                          string,
                          {
                              hint: "The value of the email header that the action returned. This will be an empty string if it is not found.";
                              label: "Header value";
                              maxLength: 8000;
                          },
                      >;
                  },
              >,
              {
                  header_value: Typed<
                      string,
                      {
                          hint: "The value of the email header that the action returned. This will be an empty string if it is not found.";
                          label: "Header value";
                          maxLength: 8000;
                      },
                  >;
              },
          >;
          getLatestResponseTextFromEmail: __type<
              FlowIOType<
                  {
                      email_record: Typed<
                          | string
                          | Record<"sys_email">
                          | ExplicitKey<"sys_email">
                          | TableBrand<"sys_email">,
                          { label: "Email Record"; mandatory: true; referenceTable: "sys_email" },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      latest_response_text: Typed<
                          string,
                          { label: "Latest Response Text"; mandatory: true; maxLength: 8000 },
                      >;
                  },
              >,
              {
                  latest_response_text: Typed<
                      string,
                      { label: "Latest Response Text"; mandatory: true; maxLength: 8000 },
                  >;
              },
          >;
          log: __type<
              FlowIOType<
                  {
                      log_level: Typed<
                          "info"
                          | "error"
                          | "warn",
                          {
                              choices: {
                                  error: { label: "Error"; sequence: 300 };
                                  info: { label: "Info"; sequence: 100 };
                                  warn: { label: "Warning"; sequence: 200 };
                              };
                              default: "info";
                              label: "Level";
                          },
                      >;
                      log_message: Typed<string, { label: "Message"; maxLength: 255 }>;
                  },
              >,
              OutputsWithDotwalk<{}>,
              {},
          >;
          lookupAttachment: __type<
              FlowIOType<
                  {
                      file_name: Typed<string, { label: "File Name"; maxLength: 8000 }>;
                      source_record: Typed<
                          string
                          | Record,
                          { dependent: ""; label: "Source Record"; mandatory: true },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      parameter: Typed<
                          string,
                          { label: "Attachment Sys ID"; maxLength: 8000 },
                      >;
                      parameter1: Typed<string, { label: "Attachment List"; maxLength: 4000 }>;
                  },
              >,
              {
                  parameter: Typed<
                      string,
                      { label: "Attachment Sys ID"; maxLength: 8000 },
                  >;
                  parameter1: Typed<string, { label: "Attachment List"; maxLength: 4000 }>;
              },
          >;
          lookUpEmailAttachments: __type<
              FlowIOType<
                  {
                      email_record: Typed<
                          | string
                          | Record<"sys_email">
                          | ExplicitKey<"sys_email">
                          | TableBrand<"sys_email">,
                          { label: "Email record"; mandatory: true; referenceTable: "sys_email" },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      email_attachments: Typed<
                          Record<"sys_email_attachment">[],
                          { label: "Email attachments"; referenceTable: "sys_email_attachment" },
                      >;
                  },
              >,
              {
                  email_attachments: Typed<
                      Record<"sys_email_attachment">[],
                      { label: "Email attachments"; referenceTable: "sys_email_attachment" },
                  >;
              },
          >;
          lookUpRecord: __type<
              FlowIOType<
                  {
                      __snc_dont_fail_on_error: Typed<
                          boolean,
                          { label: "Don't fail on error" },
                      >;
                      conditions: Typed<string, { label: "Conditions" }>;
                      if_multiple_records_are_found_action: Typed<
                          "error"
                          | "use_first_record",
                          {
                              choices: {
                                  error: { label: "Fail the step"; sequence: -1 };
                                  use_first_record: {
                                      label: "Return only the first record";
                                      sequence: -1;
                                  };
                              };
                              default: "use_first_record";
                              label: "If multiple records are found action";
                          },
                      >;
                      sort_column: Typed<string, { label: "Order by" }>;
                      sort_type: Typed<
                          "sort_asc"
                          | "sort_desc",
                          {
                              choices: {
                                  sort_asc: { label: "a to z"; sequence: 1 };
                                  sort_desc: { label: "z to a"; sequence: 2 };
                              };
                              default: "sort_asc";
                              label: "Sort Type";
                              maxLength: 32;
                          },
                      >;
                      table: Typed<keyof Tables, { label: "Table" }>;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      error_message: Typed<
                          string,
                          { label: "Error Message"; maxLength: 8000 },
                      >;
                      Record: Typed<string | Record, { dependent: "table"; label: "Record" }>;
                      status: Typed<
                          0
                          | 1,
                          {
                              choices: { "0": { label: "Success" }; "1": { label: "Error" } };
                              default: "0";
                              label: "Status";
                          },
                      >;
                      Table: Typed<keyof Tables, { label: "Table" }>;
                  },
              >,
              {
                  error_message: Typed<
                      string,
                      { label: "Error Message"; maxLength: 8000 },
                  >;
                  Record: Typed<string | Record, { dependent: "table"; label: "Record" }>;
                  status: Typed<
                      0
                      | 1,
                      {
                          choices: { "0": { label: "Success" }; "1": { label: "Error" } };
                          default: "0";
                          label: "Status";
                      },
                  >;
                  Table: Typed<keyof Tables, { label: "Table" }>;
              },
          >;
          lookUpRecords: __type<
              FlowIOType<
                  {
                      conditions: Typed<string, { label: "Conditions" }>;
                      max_results: Typed<number, { default: 1000; label: "Max Results" }>;
                      sort_column: Typed<string, { label: "Order by" }>;
                      sort_type: Typed<
                          "sort_asc"
                          | "sort_desc",
                          {
                              choices: {
                                  sort_asc: { label: "a to z"; sequence: 1 };
                                  sort_desc: { label: "z to a"; sequence: 2 };
                              };
                              default: "sort_asc";
                              label: "Sort Type";
                              maxLength: 32;
                          },
                      >;
                      table: Typed<keyof Tables, { label: "Table" }>;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      Count: Typed<number, { label: "Count" }>;
                      Records: Typed<
                          Record<"table">[],
                          { dependent: "table"; label: "Records"; referenceTable: "table" },
                      >;
                      Table: Typed<keyof Tables, { label: "Table" }>;
                  },
              >,
              {
                  Count: Typed<number, { label: "Count" }>;
                  Records: Typed<
                      Record<"table">[],
                      { dependent: "table"; label: "Records"; referenceTable: "table" },
                  >;
                  Table: Typed<keyof Tables, { label: "Table" }>;
              },
          >;
          moveAttachment: __type<
              FlowIOType<
                  {
                      source_attachment_record: Typed<
                          | string
                          | Record<"sys_attachment">
                          | ExplicitKey<"sys_attachment">
                          | TableBrand<"sys_attachment">,
                          {
                              label: "Source Attachment Record";
                              mandatory: true;
                              referenceTable: "sys_attachment";
                          },
                      >;
                      table: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                      target_record: Typed<
                          string
                          | Record,
                          { dependent: "table"; label: "Target Record"; mandatory: true },
                      >;
                  },
              >,
              OutputsWithDotwalk<{}>,
              {},
          >;
          moveEmailAttachmentsToRecord: __type<
              FlowIOType<
                  {
                      email_record: Typed<
                          string
                          | Record,
                          { dependent: ""; label: "Email Record"; mandatory: true },
                      >;
                      target_record: Typed<
                          string
                          | Record,
                          { dependent: ""; label: "Target Record"; mandatory: true },
                      >;
                  },
              >,
              OutputsWithDotwalk<{}>,
              {},
          >;
          recordProducer: __type<
              FlowIOType<
                  {
                      _snc_dont_fail_on_error: Typed<
                          boolean,
                          { label: "Don't fail on error" },
                      >;
                      catalog_item: Typed<
                          | string
                          | Record<"sc_cat_item">
                          | ExplicitKey<"sc_cat_item">
                          | TableBrand<"sc_cat_item">,
                          {
                              label: "Catalog Item";
                              mandatory: true;
                              referenceTable: "sc_cat_item";
                          },
                      >;
                      catalog_item_inputs: Typed<
                          string,
                          { label: "Catalog Item Inputs"; maxLength: 32000000 },
                      >;
                      record_table: Typed<
                          keyof Tables,
                          { attributes: { visible_in_fd: "false" }; label: "Record Table" },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      error_message: Typed<
                          string,
                          { label: "Error Message"; maxLength: 8000 },
                      >;
                      record: Typed<
                          string
                          | Record,
                          { dependent: "record_table"; label: "Record" },
                      >;
                      status: Typed<
                          0
                          | 1,
                          {
                              choices: {
                                  "0": { label: "Success" };
                                  "1": { label: "Error"; sequence: 1 };
                              };
                              default: "0";
                              label: "Status";
                              maxLength: 32;
                          },
                      >;
                      table: Typed<keyof Tables, { label: "Table" }>;
                  },
              >,
              {
                  error_message: Typed<
                      string,
                      { label: "Error Message"; maxLength: 8000 },
                  >;
                  record: Typed<
                      string
                      | Record,
                      { dependent: "record_table"; label: "Record" },
                  >;
                  status: Typed<
                      0
                      | 1,
                      {
                          choices: {
                              "0": { label: "Success" };
                              "1": { label: "Error"; sequence: 1 };
                          };
                          default: "0";
                          label: "Status";
                          maxLength: 32;
                      },
                  >;
                  table: Typed<keyof Tables, { label: "Table" }>;
              },
          >;
          sendEmail: __type<
              FlowIOType<
                  {
                      ah_bcc: Typed<string, { label: "BCC"; maxLength: 8000 }>;
                      ah_body: Typed<
                          string,
                          { columnType: "html"; label: "Body"; maxLength: 65536 },
                      >;
                      ah_cc: Typed<string, { label: "CC"; maxLength: 8000 }>;
                      ah_subject: Typed<
                          string,
                          { label: "Subject"; mandatory: true; maxLength: 8000 },
                      >;
                      ah_to: Typed<string, { label: "To"; mandatory: true; maxLength: 8000 }>;
                      record: Typed<
                          string
                          | Record,
                          {
                              dependent: "table_name";
                              label: "Target Record";
                              tableReference: true;
                          },
                      >;
                      table_name: Typed<keyof Tables, { label: "Table" }>;
                      watermark_email: Typed<
                          boolean,
                          { default: true; label: "Include Watermark" },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      email: Typed<
                          | string
                          | Record<"sys_email">
                          | ExplicitKey<"sys_email">
                          | TableBrand<"sys_email">,
                          { label: "email"; referenceTable: "sys_email" },
                      >;
                  },
              >,
              {
                  email: Typed<
                      | string
                      | Record<"sys_email">
                      | ExplicitKey<"sys_email">
                      | TableBrand<"sys_email">,
                      { label: "email"; referenceTable: "sys_email" },
                  >;
              },
          >;
          sendNotification: __type<
              FlowIOType<
                  {
                      notification: Typed<
                          | string
                          | Record<"sysevent_email_action">
                          | ExplicitKey<"sysevent_email_action">
                          | TableBrand<"sysevent_email_action">,
                          {
                              label: "Notification";
                              mandatory: true;
                              referenceTable: "sysevent_email_action";
                          },
                      >;
                      record: Typed<
                          string
                          | Record,
                          { dependent: "table_name"; label: "Record" },
                      >;
                      table_name: Typed<keyof Tables, { label: "Table" }>;
                  },
              >,
              OutputsWithDotwalk<{}>,
              {},
          >;
          sendSms: __type<
              FlowIOType<
                  {
                      message: Typed<
                          string,
                          { label: "Message"; mandatory: true; maxLength: 8000 },
                      >;
                      recipients: Typed<
                          string,
                          { label: "Recipients"; mandatory: true; maxLength: 8000 },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      email: Typed<
                          | string
                          | Record<"sys_email">
                          | ExplicitKey<"sys_email">
                          | TableBrand<"sys_email">,
                          { label: "Email"; referenceTable: "sys_email" },
                      >;
                  },
              >,
              {
                  email: Typed<
                      | string
                      | Record<"sys_email">
                      | ExplicitKey<"sys_email">
                      | TableBrand<"sys_email">,
                      { label: "Email"; referenceTable: "sys_email" },
                  >;
              },
          >;
          slaPercentageTimer: __type<
              FlowIOType<
                  {
                      percentage: Typed<number, { label: "Percentage"; mandatory: true }>;
                      sla_flow_inputs: {
                          $id: "81bd0dc273723300d70877186bf6a71b";
                          attributes: { visible_in_fd: "false" };
                          co_type_name: "FDcdbd0dc2bc7233000dbdb4d30db4851a";
                          fields: {
                              duration: Typed<string, { label: "duration"; maxLength: 32 }>;
                              duration_type: Typed<
                                  string,
                                  { label: "duration_type"; maxLength: 32 },
                              >;
                              is_repair: Typed<
                                  boolean,
                                  { default: "false"; label: "is_repair"; maxLength: 32 },
                              >;
                              name: Typed<string, { label: "name"; maxLength: 32 }>;
                              relative_duration_works_on: Typed<
                                  string,
                                  { label: "relative_duration_works_on"; maxLength: 32 },
                              >;
                          };
                          label: "sla_flow_inputs";
                      };
                      task_sla_record: Typed<
                          | string
                          | Record<"task_sla">
                          | ExplicitKey<"task_sla">
                          | TableBrand<"task_sla">,
                          {
                              attributes: {
                                  element_mapping_provider: "com.glide.flow_design.action.data.FlowDesignVariableMapper";
                                  visible_in_fd: false;
                              };
                              default: "";
                              label: "Task SLA Record";
                              referenceTable: "task_sla";
                          },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      scheduled_end_date_time: Typed<
                          `${number}-${number}-${number} ${number}:${number}:${number}`,
                          { label: "Scheduled End Date/Time" },
                      >;
                      status: Typed<
                          "cancelled"
                          | "skipped"
                          | "completed"
                          | "repair"
                          | "paused",
                          {
                              choices: {
                                  cancelled: { label: "Cancelled"; sequence: 5 };
                                  completed: { label: "Completed"; sequence: 2 };
                                  paused: { label: "Paused"; sequence: 1 };
                                  repair: { label: "Repair"; sequence: 3 };
                                  skipped: { label: "Skipped"; sequence: 4 };
                              };
                              default: "completed";
                              label: "Status";
                              maxLength: 32;
                          },
                      >;
                      total_duration: Typed<string | Duration, { label: "Total Duration" }>;
                  },
              >,
              {
                  scheduled_end_date_time: Typed<
                      `${number}-${number}-${number} ${number}:${number}:${number}`,
                      { label: "Scheduled End Date/Time" },
                  >;
                  status: Typed<
                      "cancelled"
                      | "skipped"
                      | "completed"
                      | "repair"
                      | "paused",
                      {
                          choices: {
                              cancelled: { label: "Cancelled"; sequence: 5 };
                              completed: { label: "Completed"; sequence: 2 };
                              paused: { label: "Paused"; sequence: 1 };
                              repair: { label: "Repair"; sequence: 3 };
                              skipped: { label: "Skipped"; sequence: 4 };
                          };
                          default: "completed";
                          label: "Status";
                          maxLength: 32;
                      },
                  >;
                  total_duration: Typed<string | Duration, { label: "Total Duration" }>;
              },
          >;
          submitCatalogItemRequest: __type<
              FlowIOType<
                  {
                      _snc_dont_fail_on_error: Typed<
                          boolean,
                          { label: "Don't fail on error" },
                      >;
                      catalog_item: Typed<
                          | string
                          | Record<"sc_cat_item">
                          | ExplicitKey<"sc_cat_item">
                          | TableBrand<"sc_cat_item">,
                          {
                              label: "Catalog Item";
                              mandatory: true;
                              referenceTable: "sc_cat_item";
                          },
                      >;
                      catalog_item_inputs: Typed<
                          string,
                          { label: "Catalog Item Inputs"; maxLength: 32000000 },
                      >;
                      delivery_address: Typed<
                          string,
                          { label: "Delivery Address"; maxLength: 4000 },
                      >;
                      duration: Typed<
                          string
                          | Duration,
                          { default: "1970-01-01 00:00:00"; label: "Duration" },
                      >;
                      schedule: Typed<
                          | string
                          | Record<"cmn_schedule">
                          | ExplicitKey<"cmn_schedule">
                          | TableBrand<"cmn_schedule">,
                          { label: "Schedule"; referenceTable: "cmn_schedule" },
                      >;
                      special_instructions: Typed<
                          string,
                          { label: "Special Instructions"; maxLength: 4000 },
                      >;
                      sysparm_quantity: Typed<number, { default: 1; label: "Quantity" }>;
                      sysparm_requested_for: Typed<
                          | string
                          | Record<"sys_user">
                          | ExplicitKey<"sys_user">
                          | TableBrand<"sys_user">,
                          { label: "Requested for"; referenceTable: "sys_user" },
                      >;
                      timeout_flag: Typed<boolean, { label: "Enable timeout" }>;
                      wait_for_completion: Typed<boolean, { label: "Wait for Completion" }>;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      error_message: Typed<
                          string,
                          { label: "Error Message"; maxLength: 10000 },
                      >;
                      requested_item: Typed<
                          string
                          | Record,
                          {
                              dependent: "catalog_item";
                              label: "Requested Item";
                              tableReference: true;
                          },
                      >;
                      status: Typed<
                          0
                          | 1
                          | 2,
                          {
                              choices: {
                                  "0": { label: "Success" };
                                  "1": { label: "Error"; sequence: 1 };
                                  "2": { label: "Timeout"; sequence: 2 };
                              };
                              default: "0";
                              label: "Status";
                              maxLength: 32;
                          },
                      >;
                  },
              >,
              {
                  error_message: Typed<
                      string,
                      { label: "Error Message"; maxLength: 10000 },
                  >;
                  requested_item: Typed<
                      string
                      | Record,
                      {
                          dependent: "catalog_item";
                          label: "Requested Item";
                          tableReference: true;
                      },
                  >;
                  status: Typed<
                      0
                      | 1
                      | 2,
                      {
                          choices: {
                              "0": { label: "Success" };
                              "1": { label: "Error"; sequence: 1 };
                              "2": { label: "Timeout"; sequence: 2 };
                          };
                          default: "0";
                          label: "Status";
                          maxLength: 32;
                      },
                  >;
              },
          >;
          updateMultipleRecords: __type<
              FlowIOType<
                  {
                      __snc_dont_fail_on_error: Typed<
                          boolean,
                          { label: "Don't fail on error" },
                      >;
                      conditions: Typed<string, { label: "Conditions"; mandatory: true }>;
                      field_values: Typed<
                          string
                          | TemplateValueElement<keyof Tables>,
                          {
                              dependent: "table_name";
                              label: "Fields";
                              mandatory: true;
                              maxLength: 65000;
                          },
                      >;
                      sort_column: Typed<string, { label: "Order by" }>;
                      sort_type: Typed<
                          "sort_asc"
                          | "sort_desc",
                          {
                              choices: {
                                  sort_asc: { label: "a to z" };
                                  sort_desc: { label: "z to a"; sequence: 1 };
                              };
                              default: "sort_asc";
                              label: "Sort Type";
                              maxLength: 32;
                          },
                      >;
                      table_name: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      count: Typed<number, { label: "Count" }>;
                      message: Typed<string, { label: "Error Message"; maxLength: 10000 }>;
                      status: Typed<
                          0
                          | 1,
                          {
                              choices: {
                                  "0": { label: "Success" };
                                  "1": { label: "Error"; sequence: 1 };
                              };
                              default: "1";
                              label: "Status";
                              maxLength: 32;
                          },
                      >;
                  },
              >,
              {
                  count: Typed<number, { label: "Count" }>;
                  message: Typed<string, { label: "Error Message"; maxLength: 10000 }>;
                  status: Typed<
                      0
                      | 1,
                      {
                          choices: {
                              "0": { label: "Success" };
                              "1": { label: "Error"; sequence: 1 };
                          };
                          default: "1";
                          label: "Status";
                          maxLength: 32;
                      },
                  >;
              },
          >;
          updateRecord: __type<
              FlowIOType<
                  {
                      record: Typed<
                          string
                          | Record,
                          {
                              dependent: "table_name";
                              label: "Record";
                              mandatory: true;
                              maxLength: 40;
                          },
                      >;
                      table_name: Typed<keyof Tables, { label: "Table"; mandatory: true }>;
                      values: Typed<
                          string
                          | TemplateValueElement<keyof Tables>,
                          {
                              dependent: "table_name";
                              label: "Fields";
                              mandatory: true;
                              maxLength: 16000000;
                          },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      record: Typed<
                          string
                          | Record,
                          { dependent: "table_name"; label: "Record"; maxLength: 40 },
                      >;
                      table_name: Typed<keyof Tables, { label: "Table" }>;
                  },
              >,
              {
                  record: Typed<
                      string
                      | Record,
                      { dependent: "table_name"; label: "Record"; maxLength: 40 },
                  >;
                  table_name: Typed<keyof Tables, { label: "Table" }>;
              },
          >;
          waitForCondition: __type<
              FlowIOType<
                  {
                      conditions: Typed<string, { label: "Conditions"; mandatory: true }>;
                      record: Typed<
                          string
                          | Record,
                          { dependent: "table_name"; label: "Record"; mandatory: true },
                      >;
                      table_name: Typed<keyof Tables, { label: "Table" }>;
                      timeout_duration: Typed<string | Duration, { label: "Duration" }>;
                      timeout_flag: Typed<boolean, { label: "Enable timeout" }>;
                      timeout_schedule: Typed<
                          | string
                          | Record<"cmn_schedule">
                          | ExplicitKey<"cmn_schedule">
                          | TableBrand<"cmn_schedule">,
                          { label: "Schedule"; maxLength: 8000; referenceTable: "cmn_schedule" },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      state: Typed<
                          0
                          | 1,
                          {
                              choices: {
                                  "0": { label: "Complete" };
                                  "1": { label: "Timeout"; sequence: 1 };
                              };
                              default: "0";
                              label: "State";
                              maxLength: 32;
                          },
                      >;
                  },
              >,
              {
                  state: Typed<
                      0
                      | 1,
                      {
                          choices: {
                              "0": { label: "Complete" };
                              "1": { label: "Timeout"; sequence: 1 };
                          };
                          default: "0";
                          label: "State";
                          maxLength: 32;
                      },
                  >;
              },
          >;
          waitForEmailReply: __type<
              FlowIOType<
                  {
                      enable_timeout: Typed<boolean, { label: "Enable Timeout" }>;
                      record: Typed<
                          | string
                          | Record<"sys_email">
                          | ExplicitKey<"sys_email">
                          | TableBrand<"sys_email">,
                          { label: "Record"; mandatory: true; referenceTable: "sys_email" },
                      >;
                      timeout_duration: Typed<string | Duration, { label: "Duration" }>;
                      timeout_schedule: Typed<
                          | string
                          | Record<"cmn_schedule">
                          | ExplicitKey<"cmn_schedule">
                          | TableBrand<"cmn_schedule">,
                          { label: "Schedule"; referenceTable: "cmn_schedule" },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      email_reply: Typed<
                          | string
                          | Record<"sys_email">
                          | ExplicitKey<"sys_email">
                          | TableBrand<"sys_email">,
                          { label: "Email Reply"; referenceTable: "sys_email" },
                      >;
                      state: Typed<
                          0
                          | 1,
                          {
                              choices: {
                                  "0": { label: "Complete" };
                                  "1": { label: "Timeout"; sequence: 1 };
                              };
                              default: "0";
                              label: "State";
                              maxLength: 32;
                          },
                      >;
                  },
              >,
              {
                  email_reply: Typed<
                      | string
                      | Record<"sys_email">
                      | ExplicitKey<"sys_email">
                      | TableBrand<"sys_email">,
                      { label: "Email Reply"; referenceTable: "sys_email" },
                  >;
                  state: Typed<
                      0
                      | 1,
                      {
                          choices: {
                              "0": { label: "Complete" };
                              "1": { label: "Timeout"; sequence: 1 };
                          };
                          default: "0";
                          label: "State";
                          maxLength: 32;
                      },
                  >;
              },
          >;
          waitForMessage: __type<
              FlowIOType<
                  {
                      enable_timeout: Typed<boolean, { label: "Enable timeout" }>;
                      message: Typed<
                          string,
                          { isFullUTF8: true; label: "Message"; mandatory: true; maxLength: 255 },
                      >;
                      timeout: Typed<
                          string
                          | Duration,
                          { columnType: "glide_duration"; label: "Timeout" },
                      >;
                  },
              >,
              OutputsWithDotwalk<
                  {
                      payload: Typed<
                          string,
                          { isFullUTF8: true; label: "Payload"; maxLength: 255 },
                      >;
                  },
              >,
              {
                  payload: Typed<
                      string,
                      { isFullUTF8: true; label: "Payload"; maxLength: 255 },
                  >;
              },
          >;
      }