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

    Variable sys_emailConst

    sys_email: {
        actions: ["read", "update", "create"];
        allowWebServiceAccess: true;
        attributes: { forcePrimaryKeyOrdering: true; no_labels: true };
        display: "subject";
        label: "Email";
        name: "sys_email";
        schema: {
            blind_copied: Typed<string, { label: "Blind copied"; maxLength: 4000 }>;
            body: Typed<string, { isFullUTF8: true; label: "Body"; maxLength: 8000 }>;
            body_text: Typed<
                string,
                { isFullUTF8: true; label: "Body text"; maxLength: 8000 },
            >;
            checkpoint: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Checkpoint of the record that triggered this email at the time it was triggered";
                            label: "Checkpoint";
                            language: "en";
                            plural: "Checkpoints";
                        },
                    ];
                },
            >;
            content_type: Typed<string, { label: "Content type"; maxLength: 1000 }>;
            copied: Typed<string, { label: "Copied"; maxLength: 4000 }>;
            deleted: Typed<boolean, { default: false; label: "Deleted" }>;
            direct: Typed<
                string,
                {
                    label: [
                        {
                            hint: "Direct (To:) recipients of this email";
                            label: "To";
                            language: "en";
                            plural: "Tos";
                        },
                    ];
                    maxLength: 4000;
                },
            >;
            error_string: Typed<string, { label: "Error string"; maxLength: 1000 }>;
            headers: Typed<string, { label: "Headers"; maxLength: 8000 }>;
            importance: Typed<string, { label: "Importance" }>;
            instance: Typed<
                string
                | Record,
                {
                    dependent: "target_table";
                    label: [
                        {
                            hint: "The record that was created or updated by this email";
                            label: "Target";
                            language: "en";
                            plural: "Targets";
                        },
                    ];
                },
            >;
            mailbox: Typed<
                | string
                | Record<"sys_mailbox">
                | ExplicitKey<"sys_mailbox">
                | TableBrand<"sys_mailbox">,
                { label: "Mailbox"; referenceTable: "sys_mailbox" },
            >;
            message_id: Typed<string, { label: "Message ID"; maxLength: 1000 }>;
            notification_type: Typed<
                string,
                {
                    default: "SMTP";
                    dropdown: "dropdown_with_none";
                    label: "Notification type";
                },
            >;
            receive_type: Typed<
                string,
                { default: "new"; dropdown: "dropdown_with_none"; label: "Receive type" },
            >;
            recipients: Typed<string, { label: "Recipients"; maxLength: 4000 }>;
            reply_to: Typed<string, { label: "Reply to"; maxLength: 100 }>;
            state: Typed<
                "ready"
                | "processed"
                | "ignored"
                | "error",
                {
                    choices: {
                        error: { label: "Error" };
                        ignored: { label: "Ignored" };
                        processed: { label: "Processed" };
                        ready: { label: "Ready" };
                    };
                    default: "ready";
                    dropdown: "dropdown_without_none";
                    label: "State";
                },
            >;
            status: Typed<string, { label: "Status"; maxLength: 1000 }>;
            subject: Typed<
                string,
                {
                    attributes: { no_truncate: true };
                    isFullUTF8: true;
                    label: "Subject";
                    maxLength: 160;
                },
            >;
            sys_created_by: Typed<
                string,
                {
                    label: [
                        { label: "Created by"; language: "en"; plural: "Created by" },
                    ];
                },
            >;
            sys_created_on: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: [{ label: "Created"; language: "en"; plural: "Created" }] },
            >;
            sys_id: Typed<
                string,
                {
                    label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                    primary: true;
                },
            >;
            sys_mod_count: Typed<
                number,
                { label: [{ label: "Updates"; language: "en"; plural: "Updates" }] },
            >;
            sys_updated_by: Typed<
                string,
                {
                    label: [
                        { label: "Updated by"; language: "en"; plural: "Updated by" },
                    ];
                },
            >;
            sys_updated_on: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                { label: [{ label: "Updated"; language: "en"; plural: "Updated" }] },
            >;
            target_table: Typed<
                string
                | number,
                {
                    columnType: "short_table_name";
                    label: [
                        {
                            hint: "Table of the record associated with this email";
                            label: "Target table";
                            language: "en";
                            plural: "Target tables";
                        },
                    ];
                },
            >;
            type: Typed<
                string,
                {
                    attributes: { "glide.db.oracle.ps.query": false };
                    default: "received";
                    dropdown: "dropdown_with_none";
                    label: "Type";
                },
            >;
            uid: Typed<string, { label: "UID" }>;
            user: Typed<
                string,
                {
                    label: [
                        {
                            hint: "User email address";
                            label: "User";
                            language: "en";
                            plural: "Users";
                        },
                    ];
                    maxLength: 254;
                },
            >;
            user_id: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                { label: "User ID"; referenceTable: "sys_user" },
            >;
            weight: Typed<
                number,
                {
                    default: "0";
                    label: [
                        {
                            hint: "Weight of the email notification that created this email";
                            label: "Weight";
                            language: "en";
                            plural: "Weights";
                        },
                    ];
                },
            >;
        };
    } = ...

    Type Declaration

    • Readonlyactions: ["read", "update", "create"]
    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: { forcePrimaryKeyOrdering: true; no_labels: true }
    • Readonlydisplay: "subject"
    • Readonlylabel: "Email"
    • Readonlyname: "sys_email"
    • Readonlyschema: {
          blind_copied: Typed<string, { label: "Blind copied"; maxLength: 4000 }>;
          body: Typed<string, { isFullUTF8: true; label: "Body"; maxLength: 8000 }>;
          body_text: Typed<
              string,
              { isFullUTF8: true; label: "Body text"; maxLength: 8000 },
          >;
          checkpoint: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Checkpoint of the record that triggered this email at the time it was triggered";
                          label: "Checkpoint";
                          language: "en";
                          plural: "Checkpoints";
                      },
                  ];
              },
          >;
          content_type: Typed<string, { label: "Content type"; maxLength: 1000 }>;
          copied: Typed<string, { label: "Copied"; maxLength: 4000 }>;
          deleted: Typed<boolean, { default: false; label: "Deleted" }>;
          direct: Typed<
              string,
              {
                  label: [
                      {
                          hint: "Direct (To:) recipients of this email";
                          label: "To";
                          language: "en";
                          plural: "Tos";
                      },
                  ];
                  maxLength: 4000;
              },
          >;
          error_string: Typed<string, { label: "Error string"; maxLength: 1000 }>;
          headers: Typed<string, { label: "Headers"; maxLength: 8000 }>;
          importance: Typed<string, { label: "Importance" }>;
          instance: Typed<
              string
              | Record,
              {
                  dependent: "target_table";
                  label: [
                      {
                          hint: "The record that was created or updated by this email";
                          label: "Target";
                          language: "en";
                          plural: "Targets";
                      },
                  ];
              },
          >;
          mailbox: Typed<
              | string
              | Record<"sys_mailbox">
              | ExplicitKey<"sys_mailbox">
              | TableBrand<"sys_mailbox">,
              { label: "Mailbox"; referenceTable: "sys_mailbox" },
          >;
          message_id: Typed<string, { label: "Message ID"; maxLength: 1000 }>;
          notification_type: Typed<
              string,
              {
                  default: "SMTP";
                  dropdown: "dropdown_with_none";
                  label: "Notification type";
              },
          >;
          receive_type: Typed<
              string,
              { default: "new"; dropdown: "dropdown_with_none"; label: "Receive type" },
          >;
          recipients: Typed<string, { label: "Recipients"; maxLength: 4000 }>;
          reply_to: Typed<string, { label: "Reply to"; maxLength: 100 }>;
          state: Typed<
              "ready"
              | "processed"
              | "ignored"
              | "error",
              {
                  choices: {
                      error: { label: "Error" };
                      ignored: { label: "Ignored" };
                      processed: { label: "Processed" };
                      ready: { label: "Ready" };
                  };
                  default: "ready";
                  dropdown: "dropdown_without_none";
                  label: "State";
              },
          >;
          status: Typed<string, { label: "Status"; maxLength: 1000 }>;
          subject: Typed<
              string,
              {
                  attributes: { no_truncate: true };
                  isFullUTF8: true;
                  label: "Subject";
                  maxLength: 160;
              },
          >;
          sys_created_by: Typed<
              string,
              { label: [{ label: "Created by"; language: "en"; plural: "Created by" }] },
          >;
          sys_created_on: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: [{ label: "Created"; language: "en"; plural: "Created" }] },
          >;
          sys_id: Typed<
              string,
              {
                  label: [{ label: "Sys ID"; language: "en"; plural: "Sys IDs" }];
                  primary: true;
              },
          >;
          sys_mod_count: Typed<
              number,
              { label: [{ label: "Updates"; language: "en"; plural: "Updates" }] },
          >;
          sys_updated_by: Typed<
              string,
              { label: [{ label: "Updated by"; language: "en"; plural: "Updated by" }] },
          >;
          sys_updated_on: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              { label: [{ label: "Updated"; language: "en"; plural: "Updated" }] },
          >;
          target_table: Typed<
              string
              | number,
              {
                  columnType: "short_table_name";
                  label: [
                      {
                          hint: "Table of the record associated with this email";
                          label: "Target table";
                          language: "en";
                          plural: "Target tables";
                      },
                  ];
              },
          >;
          type: Typed<
              string,
              {
                  attributes: { "glide.db.oracle.ps.query": false };
                  default: "received";
                  dropdown: "dropdown_with_none";
                  label: "Type";
              },
          >;
          uid: Typed<string, { label: "UID" }>;
          user: Typed<
              string,
              {
                  label: [
                      {
                          hint: "User email address";
                          label: "User";
                          language: "en";
                          plural: "Users";
                      },
                  ];
                  maxLength: 254;
              },
          >;
          user_id: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              { label: "User ID"; referenceTable: "sys_user" },
          >;
          weight: Typed<
              number,
              {
                  default: "0";
                  label: [
                      {
                          hint: "Weight of the email notification that created this email";
                          label: "Weight";
                          language: "en";
                          plural: "Weights";
                      },
                  ];
              },
          >;
      }