@servicenow/sdk - v4.4.1
    Preparing search index...

    Variable sysevent_email_actionConst

    sysevent_email_action: {
        allowWebServiceAccess: true;
        attributes: { no_labels: true; update_synch: true };
        audit: true;
        extends: "sysrule";
        label: "Notification";
        name: "sysevent_email_action";
        schema: {
            action_insert: Typed<
                boolean,
                {
                    label: [
                        {
                            hint: "Send an email whenever a new record is inserted into the selected table";
                            label: "Inserted";
                            language: "en";
                            plural: "Inserted";
                        },
                    ];
                },
            >;
            action_update: Typed<
                boolean,
                {
                    label: [
                        {
                            hint: "Send an email whenever a record in the selected table is modified";
                            label: "Updated";
                            language: "en";
                            plural: "Updated";
                        },
                    ];
                },
            >;
            active: Typed<boolean, { default: true; label: "Active" }>;
            advanced_condition: Typed<
                string
                | ScriptModule<Function>,
                { dependent: "collection"; label: "Advanced condition" },
            >;
            affected_field_on_event: Typed<
                string
                | number,
                {
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "The field in the event that must be affected for this notification to send to subscribed users";
                            label: "Affected field on event";
                            language: "en";
                            plural: "Affected field on events";
                        },
                    ];
                },
            >;
            category: Typed<
                | string
                | Record<"sys_notification_category">
                | ExplicitKey<"sys_notification_category">
                | TableBrand<"sys_notification_category">,
                {
                    attributes: { encode_utf8: false };
                    default: "javascript:gs.getProperty('glide.notification.default_category', 'c97d83137f4432005f58108c3ffa917a');";
                    label: [
                        {
                            hint: "The notification appears in the user notification preferences under the category provided. If no category is provided, it appears under 'Uncategorized'.";
                            label: "Category";
                            language: "en";
                            plural: "Categories";
                        },
                    ];
                    mandatory: true;
                    referenceTable: "sys_notification_category";
                },
            >;
            collection: Typed<
                keyof Tables,
                { attributes: { allow_public: true }; label: "Table" },
            >;
            condition: Typed<
                string,
                {
                    attributes: {
                        extended_operators: "VALCHANGES;CHANGESFROM;CHANGESTO";
                    };
                    dependent: "collection";
                    label: [
                        {
                            hint: "Send Notification when conditions evaluate to true";
                            label: "Conditions";
                            language: "en";
                            plural: "Conditions";
                        },
                    ];
                    maxLength: 8000;
                },
            >;
            content_type: Typed<
                string,
                {
                    default: "text/html";
                    dropdown: "dropdown_without_none";
                    label: [
                        {
                            hint: "Specify whether the message is sent with a format of HTML, plain text, or both";
                            label: "Content type";
                            language: "en";
                            plural: "Content types";
                        },
                    ];
                },
            >;
            default_digest: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "Send this notification in a fixed-interval digest by default for all the recipients";
                            label: "Enable by default";
                            language: "en";
                            plural: "Enable by defaults";
                        },
                    ];
                },
            >;
            default_interval: Typed<
                | string
                | Record<"sys_email_digest_interval">
                | ExplicitKey<"sys_email_digest_interval">
                | TableBrand<"sys_email_digest_interval">,
                {
                    attributes: { encode_utf8: false };
                    label: [
                        {
                            hint: "Set the interval at which the digest is triggered for this notification";
                            label: "Default Interval";
                            language: "en";
                            plural: "Default Intervals";
                        },
                    ];
                    referenceQual: "active=true";
                    referenceTable: "sys_email_digest_interval";
                },
            >;
            digest_from: Typed<string, { label: "Digest From"; maxLength: 100 }>;
            digest_html: Typed<
                string
                | number,
                {
                    attributes: { convert_urls: false };
                    columnType: "html_script";
                    dependent: "collection";
                    label: "Digest HTML";
                    maxLength: 4000;
                },
            >;
            digest_reply_to: Typed<
                string,
                { label: "Digest Reply To"; maxLength: 100 },
            >;
            digest_separator_html: Typed<
                string
                | number,
                {
                    columnType: "html_script";
                    default: "<br><hr><br>";
                    dependent: "collection";
                    label: "Digest Separator (HTML)";
                    maxLength: 4000;
                },
            >;
            digest_separator_text: Typed<
                string
                | number,
                {
                    columnType: "email_script";
                    default: "\\n--------------------------------------------------------------------------------\\n";
                    dependent: "collection";
                    label: "Digest Separator (text)";
                    maxLength: 4000;
                },
            >;
            digest_subject: Typed<string, { label: "Digest Subject"; maxLength: 100 }>;
            digest_template: Typed<
                | string
                | Record<"sysevent_email_template">
                | ExplicitKey<"sysevent_email_template">
                | TableBrand<"sysevent_email_template">,
                {
                    attributes: { encode_utf8: false };
                    label: "Digest Template";
                    referenceQual: "javascript:'collection=NULL^ORcollection=global^ORcollection=' + current.collection";
                    referenceTable: "sysevent_email_template";
                },
            >;
            digest_text: Typed<
                string
                | number,
                {
                    columnType: "email_script";
                    dependent: "collection";
                    label: "Digest Text";
                    maxLength: 4000;
                },
            >;
            digest_type: Typed<
                string,
                {
                    default: "single";
                    dropdown: "dropdown_without_none";
                    label: [
                        {
                            hint: "'Multiple target' type digest lets you collates updates for this notification from multiple records instead of a single record";
                            label: "Digest type";
                            language: "en";
                            plural: "Digest types";
                        },
                    ];
                },
            >;
            digestable: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "Enables this notification to be received in a digest by users";
                            label: "Allow Digest";
                            language: "en";
                            plural: "Allow Digests";
                        },
                    ];
                },
            >;
            enable_dynamic_translation: Typed<
                boolean,
                { default: false; label: "Enable Dynamic Translation" },
            >;
            event_name: Typed<
                string
                | number,
                { columnType: "sysevent_name"; label: "Event name" },
            >;
            event_parm_1: Typed<
                boolean,
                {
                    label: [
                        {
                            hint: "The first event parameter contains a recipient, either a user sys_id, group sys_id or an email address, who should receive this notification";
                            label: "Event parm 1 contains recipient";
                            language: "en";
                            plural: "Event parm 1 contains recipients";
                        },
                    ];
                },
            >;
            event_parm_2: Typed<
                boolean,
                {
                    label: [
                        {
                            hint: "The second event parameter contains a recipient, either a user sys_id, group sys_id or an email address, who should receive this notification";
                            label: "Event parm 2 contains recipient";
                            language: "en";
                            plural: "Event parm 2 contains recipients";
                        },
                    ];
                },
            >;
            exclude_delegates: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "Do not send the notification to any delegates of this notification's recipients";
                            label: "Exclude delegates";
                            language: "en";
                            plural: "Exclude delegates";
                        },
                    ];
                },
            >;
            force_delivery: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "Bypass settings that would normally prevent sending to the recipient (e.g., device.schedule, user.notification)";
                            label: "Force delivery";
                            language: "en";
                            plural: "Force deliveries";
                        },
                    ];
                },
            >;
            from: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Email address you want to appear in the From field";
                            label: "From";
                            language: "en";
                            plural: "Froms";
                        },
                    ];
                    maxLength: 100;
                },
            >;
            generation_type: Typed<
                string,
                {
                    default: "engine";
                    dropdown: "dropdown_without_none";
                    label: [
                        {
                            hint: "Action that causes an email to be sent. Specifies whether to send email based on a trigger, an event firing, or an action against a record.";
                            label: "Send when";
                            language: "en";
                            plural: "Send whens";
                        },
                    ];
                },
            >;
            importance: Typed<
                string,
                {
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Importance/Priority flag for the email";
                            label: "Importance";
                            language: "en";
                            plural: "Importances";
                        },
                    ];
                },
            >;
            include_attachments: Typed<
                boolean,
                {
                    label: [
                        {
                            hint: "Send all attachments from the triggering record as email attachments";
                            label: "Include attachments";
                            language: "en";
                            plural: "Include attachments";
                        },
                    ];
                },
            >;
            item: Typed<
                string,
                {
                    default: "event.parm1";
                    label: [
                        {
                            hint: "The sys_id of the subscribed item";
                            label: "Item";
                            language: "en";
                            plural: "Items";
                        },
                    ];
                },
            >;
            item_table: Typed<
                keyof Tables,
                {
                    attributes: { allow_public: true; base_start: true };
                    label: [
                        {
                            hint: "The table that the subscribed item resides in";
                            label: "Item table";
                            language: "en";
                            plural: "Item tables";
                        },
                    ];
                    maxLength: 40;
                },
            >;
            mandatory: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "Prevent users from unsubscribing/filtering-out this notification";
                            label: "Mandatory";
                            language: "en";
                            plural: "Mandatories";
                        },
                    ];
                },
            >;
            message: Typed<
                string
                | number,
                {
                    columnType: "email_script";
                    dependent: "collection";
                    label: "Message";
                    maxLength: 4000;
                },
            >;
            message_html: Typed<
                string
                | number,
                {
                    attributes: { convert_urls: false };
                    columnType: "html_script";
                    dependent: "collection";
                    label: "Message HTML";
                    maxLength: 4000;
                },
            >;
            message_list: Typed<
                string
                | string[]
                | Record<"sys_push_notif_msg">[],
                {
                    attributes: {
                        array: "denormalized";
                        no_sort: true;
                        slushbucket_ref_no_expand: true;
                    };
                    label: "Push Messages";
                    maxLength: 1024;
                    referenceQual: "javascript:(current.collection) ? 'table=' + current.collection : 'table=NULL'";
                    referenceTable: "sys_push_notif_msg";
                },
            >;
            message_text: Typed<
                string
                | number,
                {
                    columnType: "email_script";
                    dependent: "collection";
                    label: "Message text";
                    maxLength: 4000;
                },
            >;
            omit_watermark: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "Omitting watermark prevents any email replies from updating the triggering record";
                            label: "Omit watermark";
                            language: "en";
                            plural: "Omit watermarks";
                        },
                    ];
                },
            >;
            push_message_only: Typed<
                boolean,
                { default: false; label: "Push Message Only" },
            >;
            recipient_fields: Typed<
                FieldListValue<keyof Tables>,
                {
                    dependent: "collection";
                    label: [
                        {
                            hint: "Field in the currently-selected table that contains a reference to a user or group that will receive an email notification";
                            label: "Users/Groups in fields";
                            language: "en";
                            plural: "Users/Groups in fields";
                        },
                    ];
                    maxLength: 5000;
                },
            >;
            recipient_groups: Typed<
                string
                | string[]
                | Record<"sys_user_group">[],
                {
                    attributes: { slushbucket_ref_no_expand: true };
                    label: [
                        {
                            hint: "List of groups that will receive an email notification";
                            label: "Groups";
                            language: "en";
                            plural: "Groups";
                        },
                    ];
                    maxLength: 5000;
                    referenceTable: "sys_user_group";
                },
            >;
            recipient_users: Typed<
                string
                | string[]
                | Record<"sys_user">[],
                {
                    attributes: { slushbucket_ref_no_expand: true };
                    label: [
                        {
                            hint: "List of users or email addresses that will receive an email notification";
                            label: "Users";
                            language: "en";
                            plural: "Users";
                        },
                    ];
                    maxLength: 5000;
                    referenceTable: "sys_user";
                },
            >;
            reply_to: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Email address to be used when replying to the email notification";
                            label: "Reply to";
                            language: "en";
                            plural: "Reply to";
                        },
                    ];
                    maxLength: 100;
                },
            >;
            send_self: Typed<
                boolean,
                { default: true; label: "Send to event creator" },
            >;
            sms_alternate: Typed<
                string
                | number,
                {
                    columnType: "email_script";
                    dependent: "collection";
                    label: "SMS alternate";
                    maxLength: 4000;
                },
            >;
            style: Typed<
                | string
                | Record<"sysevent_email_style">
                | ExplicitKey<"sysevent_email_style">
                | TableBrand<"sysevent_email_style">,
                { label: "Stationery"; referenceTable: "sysevent_email_style" },
            >;
            subject: Typed<string, { label: "Subject"; maxLength: 100 }>;
            subscribable: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "Allow users to choose this notification when subscribing to their messages";
                            label: "Subscribable";
                            language: "en";
                            plural: "Subscribables";
                        },
                    ];
                },
            >;
            sys_id: Typed<
                string,
                {
                    label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                    primary: true;
                },
            >;
            sys_version: Typed<
                string,
                {
                    default: "2";
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Notification Version";
                            label: "Sys version";
                            language: "en";
                            plural: "Sys versions";
                        },
                    ];
                },
            >;
            template: Typed<
                | string
                | Record<"sysevent_email_template">
                | ExplicitKey<"sysevent_email_template">
                | TableBrand<"sysevent_email_template">,
                {
                    label: "Email template";
                    referenceQual: "javascript:'collection=NULL^ORcollection=global^ORcollection=' + current.collection";
                    referenceTable: "sysevent_email_template";
                },
            >;
            type: Typed<
                string,
                { default: "email"; dropdown: "dropdown_without_none"; label: "Type" },
            >;
            weight: Typed<
                number,
                {
                    default: "0";
                    label: [
                        {
                            hint: "Used to decide which notification takes precedence when more than one qualifies";
                            label: "Weight";
                            language: "en";
                            plural: "Weights";
                        },
                    ];
                },
            >;
        };
        textIndex: true;
    } = ...

    Type Declaration

    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: { no_labels: true; update_synch: true }
    • Readonlyaudit: true
    • Readonlyextends: "sysrule"
    • Readonlylabel: "Notification"
    • Readonlyname: "sysevent_email_action"
    • Readonlyschema: {
          action_insert: Typed<
              boolean,
              {
                  label: [
                      {
                          hint: "Send an email whenever a new record is inserted into the selected table";
                          label: "Inserted";
                          language: "en";
                          plural: "Inserted";
                      },
                  ];
              },
          >;
          action_update: Typed<
              boolean,
              {
                  label: [
                      {
                          hint: "Send an email whenever a record in the selected table is modified";
                          label: "Updated";
                          language: "en";
                          plural: "Updated";
                      },
                  ];
              },
          >;
          active: Typed<boolean, { default: true; label: "Active" }>;
          advanced_condition: Typed<
              string
              | ScriptModule<Function>,
              { dependent: "collection"; label: "Advanced condition" },
          >;
          affected_field_on_event: Typed<
              string
              | number,
              {
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "The field in the event that must be affected for this notification to send to subscribed users";
                          label: "Affected field on event";
                          language: "en";
                          plural: "Affected field on events";
                      },
                  ];
              },
          >;
          category: Typed<
              | string
              | Record<"sys_notification_category">
              | ExplicitKey<"sys_notification_category">
              | TableBrand<"sys_notification_category">,
              {
                  attributes: { encode_utf8: false };
                  default: "javascript:gs.getProperty('glide.notification.default_category', 'c97d83137f4432005f58108c3ffa917a');";
                  label: [
                      {
                          hint: "The notification appears in the user notification preferences under the category provided. If no category is provided, it appears under 'Uncategorized'.";
                          label: "Category";
                          language: "en";
                          plural: "Categories";
                      },
                  ];
                  mandatory: true;
                  referenceTable: "sys_notification_category";
              },
          >;
          collection: Typed<
              keyof Tables,
              { attributes: { allow_public: true }; label: "Table" },
          >;
          condition: Typed<
              string,
              {
                  attributes: { extended_operators: "VALCHANGES;CHANGESFROM;CHANGESTO" };
                  dependent: "collection";
                  label: [
                      {
                          hint: "Send Notification when conditions evaluate to true";
                          label: "Conditions";
                          language: "en";
                          plural: "Conditions";
                      },
                  ];
                  maxLength: 8000;
              },
          >;
          content_type: Typed<
              string,
              {
                  default: "text/html";
                  dropdown: "dropdown_without_none";
                  label: [
                      {
                          hint: "Specify whether the message is sent with a format of HTML, plain text, or both";
                          label: "Content type";
                          language: "en";
                          plural: "Content types";
                      },
                  ];
              },
          >;
          default_digest: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "Send this notification in a fixed-interval digest by default for all the recipients";
                          label: "Enable by default";
                          language: "en";
                          plural: "Enable by defaults";
                      },
                  ];
              },
          >;
          default_interval: Typed<
              | string
              | Record<"sys_email_digest_interval">
              | ExplicitKey<"sys_email_digest_interval">
              | TableBrand<"sys_email_digest_interval">,
              {
                  attributes: { encode_utf8: false };
                  label: [
                      {
                          hint: "Set the interval at which the digest is triggered for this notification";
                          label: "Default Interval";
                          language: "en";
                          plural: "Default Intervals";
                      },
                  ];
                  referenceQual: "active=true";
                  referenceTable: "sys_email_digest_interval";
              },
          >;
          digest_from: Typed<string, { label: "Digest From"; maxLength: 100 }>;
          digest_html: Typed<
              string
              | number,
              {
                  attributes: { convert_urls: false };
                  columnType: "html_script";
                  dependent: "collection";
                  label: "Digest HTML";
                  maxLength: 4000;
              },
          >;
          digest_reply_to: Typed<
              string,
              { label: "Digest Reply To"; maxLength: 100 },
          >;
          digest_separator_html: Typed<
              string
              | number,
              {
                  columnType: "html_script";
                  default: "<br><hr><br>";
                  dependent: "collection";
                  label: "Digest Separator (HTML)";
                  maxLength: 4000;
              },
          >;
          digest_separator_text: Typed<
              string
              | number,
              {
                  columnType: "email_script";
                  default: "\\n--------------------------------------------------------------------------------\\n";
                  dependent: "collection";
                  label: "Digest Separator (text)";
                  maxLength: 4000;
              },
          >;
          digest_subject: Typed<string, { label: "Digest Subject"; maxLength: 100 }>;
          digest_template: Typed<
              | string
              | Record<"sysevent_email_template">
              | ExplicitKey<"sysevent_email_template">
              | TableBrand<"sysevent_email_template">,
              {
                  attributes: { encode_utf8: false };
                  label: "Digest Template";
                  referenceQual: "javascript:'collection=NULL^ORcollection=global^ORcollection=' + current.collection";
                  referenceTable: "sysevent_email_template";
              },
          >;
          digest_text: Typed<
              string
              | number,
              {
                  columnType: "email_script";
                  dependent: "collection";
                  label: "Digest Text";
                  maxLength: 4000;
              },
          >;
          digest_type: Typed<
              string,
              {
                  default: "single";
                  dropdown: "dropdown_without_none";
                  label: [
                      {
                          hint: "'Multiple target' type digest lets you collates updates for this notification from multiple records instead of a single record";
                          label: "Digest type";
                          language: "en";
                          plural: "Digest types";
                      },
                  ];
              },
          >;
          digestable: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "Enables this notification to be received in a digest by users";
                          label: "Allow Digest";
                          language: "en";
                          plural: "Allow Digests";
                      },
                  ];
              },
          >;
          enable_dynamic_translation: Typed<
              boolean,
              { default: false; label: "Enable Dynamic Translation" },
          >;
          event_name: Typed<
              string
              | number,
              { columnType: "sysevent_name"; label: "Event name" },
          >;
          event_parm_1: Typed<
              boolean,
              {
                  label: [
                      {
                          hint: "The first event parameter contains a recipient, either a user sys_id, group sys_id or an email address, who should receive this notification";
                          label: "Event parm 1 contains recipient";
                          language: "en";
                          plural: "Event parm 1 contains recipients";
                      },
                  ];
              },
          >;
          event_parm_2: Typed<
              boolean,
              {
                  label: [
                      {
                          hint: "The second event parameter contains a recipient, either a user sys_id, group sys_id or an email address, who should receive this notification";
                          label: "Event parm 2 contains recipient";
                          language: "en";
                          plural: "Event parm 2 contains recipients";
                      },
                  ];
              },
          >;
          exclude_delegates: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "Do not send the notification to any delegates of this notification's recipients";
                          label: "Exclude delegates";
                          language: "en";
                          plural: "Exclude delegates";
                      },
                  ];
              },
          >;
          force_delivery: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "Bypass settings that would normally prevent sending to the recipient (e.g., device.schedule, user.notification)";
                          label: "Force delivery";
                          language: "en";
                          plural: "Force deliveries";
                      },
                  ];
              },
          >;
          from: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Email address you want to appear in the From field";
                          label: "From";
                          language: "en";
                          plural: "Froms";
                      },
                  ];
                  maxLength: 100;
              },
          >;
          generation_type: Typed<
              string,
              {
                  default: "engine";
                  dropdown: "dropdown_without_none";
                  label: [
                      {
                          hint: "Action that causes an email to be sent. Specifies whether to send email based on a trigger, an event firing, or an action against a record.";
                          label: "Send when";
                          language: "en";
                          plural: "Send whens";
                      },
                  ];
              },
          >;
          importance: Typed<
              string,
              {
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Importance/Priority flag for the email";
                          label: "Importance";
                          language: "en";
                          plural: "Importances";
                      },
                  ];
              },
          >;
          include_attachments: Typed<
              boolean,
              {
                  label: [
                      {
                          hint: "Send all attachments from the triggering record as email attachments";
                          label: "Include attachments";
                          language: "en";
                          plural: "Include attachments";
                      },
                  ];
              },
          >;
          item: Typed<
              string,
              {
                  default: "event.parm1";
                  label: [
                      {
                          hint: "The sys_id of the subscribed item";
                          label: "Item";
                          language: "en";
                          plural: "Items";
                      },
                  ];
              },
          >;
          item_table: Typed<
              keyof Tables,
              {
                  attributes: { allow_public: true; base_start: true };
                  label: [
                      {
                          hint: "The table that the subscribed item resides in";
                          label: "Item table";
                          language: "en";
                          plural: "Item tables";
                      },
                  ];
                  maxLength: 40;
              },
          >;
          mandatory: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "Prevent users from unsubscribing/filtering-out this notification";
                          label: "Mandatory";
                          language: "en";
                          plural: "Mandatories";
                      },
                  ];
              },
          >;
          message: Typed<
              string
              | number,
              {
                  columnType: "email_script";
                  dependent: "collection";
                  label: "Message";
                  maxLength: 4000;
              },
          >;
          message_html: Typed<
              string
              | number,
              {
                  attributes: { convert_urls: false };
                  columnType: "html_script";
                  dependent: "collection";
                  label: "Message HTML";
                  maxLength: 4000;
              },
          >;
          message_list: Typed<
              string
              | string[]
              | Record<"sys_push_notif_msg">[],
              {
                  attributes: {
                      array: "denormalized";
                      no_sort: true;
                      slushbucket_ref_no_expand: true;
                  };
                  label: "Push Messages";
                  maxLength: 1024;
                  referenceQual: "javascript:(current.collection) ? 'table=' + current.collection : 'table=NULL'";
                  referenceTable: "sys_push_notif_msg";
              },
          >;
          message_text: Typed<
              string
              | number,
              {
                  columnType: "email_script";
                  dependent: "collection";
                  label: "Message text";
                  maxLength: 4000;
              },
          >;
          omit_watermark: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "Omitting watermark prevents any email replies from updating the triggering record";
                          label: "Omit watermark";
                          language: "en";
                          plural: "Omit watermarks";
                      },
                  ];
              },
          >;
          push_message_only: Typed<
              boolean,
              { default: false; label: "Push Message Only" },
          >;
          recipient_fields: Typed<
              FieldListValue<keyof Tables>,
              {
                  dependent: "collection";
                  label: [
                      {
                          hint: "Field in the currently-selected table that contains a reference to a user or group that will receive an email notification";
                          label: "Users/Groups in fields";
                          language: "en";
                          plural: "Users/Groups in fields";
                      },
                  ];
                  maxLength: 5000;
              },
          >;
          recipient_groups: Typed<
              string
              | string[]
              | Record<"sys_user_group">[],
              {
                  attributes: { slushbucket_ref_no_expand: true };
                  label: [
                      {
                          hint: "List of groups that will receive an email notification";
                          label: "Groups";
                          language: "en";
                          plural: "Groups";
                      },
                  ];
                  maxLength: 5000;
                  referenceTable: "sys_user_group";
              },
          >;
          recipient_users: Typed<
              string
              | string[]
              | Record<"sys_user">[],
              {
                  attributes: { slushbucket_ref_no_expand: true };
                  label: [
                      {
                          hint: "List of users or email addresses that will receive an email notification";
                          label: "Users";
                          language: "en";
                          plural: "Users";
                      },
                  ];
                  maxLength: 5000;
                  referenceTable: "sys_user";
              },
          >;
          reply_to: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Email address to be used when replying to the email notification";
                          label: "Reply to";
                          language: "en";
                          plural: "Reply to";
                      },
                  ];
                  maxLength: 100;
              },
          >;
          send_self: Typed<
              boolean,
              { default: true; label: "Send to event creator" },
          >;
          sms_alternate: Typed<
              string
              | number,
              {
                  columnType: "email_script";
                  dependent: "collection";
                  label: "SMS alternate";
                  maxLength: 4000;
              },
          >;
          style: Typed<
              | string
              | Record<"sysevent_email_style">
              | ExplicitKey<"sysevent_email_style">
              | TableBrand<"sysevent_email_style">,
              { label: "Stationery"; referenceTable: "sysevent_email_style" },
          >;
          subject: Typed<string, { label: "Subject"; maxLength: 100 }>;
          subscribable: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "Allow users to choose this notification when subscribing to their messages";
                          label: "Subscribable";
                          language: "en";
                          plural: "Subscribables";
                      },
                  ];
              },
          >;
          sys_id: Typed<
              string,
              {
                  label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                  primary: true;
              },
          >;
          sys_version: Typed<
              string,
              {
                  default: "2";
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Notification Version";
                          label: "Sys version";
                          language: "en";
                          plural: "Sys versions";
                      },
                  ];
              },
          >;
          template: Typed<
              | string
              | Record<"sysevent_email_template">
              | ExplicitKey<"sysevent_email_template">
              | TableBrand<"sysevent_email_template">,
              {
                  label: "Email template";
                  referenceQual: "javascript:'collection=NULL^ORcollection=global^ORcollection=' + current.collection";
                  referenceTable: "sysevent_email_template";
              },
          >;
          type: Typed<
              string,
              { default: "email"; dropdown: "dropdown_without_none"; label: "Type" },
          >;
          weight: Typed<
              number,
              {
                  default: "0";
                  label: [
                      {
                          hint: "Used to decide which notification takes precedence when more than one qualifies";
                          label: "Weight";
                          language: "en";
                          plural: "Weights";
                      },
                  ];
              },
          >;
      }
    • ReadonlytextIndex: true