@servicenow/sdk - v4.13.3
    Preparing search index...
    interface sys_script_client {
        active: Typed<boolean, { default: true; label: "Active" }>;
        applies_extended: Typed<
            boolean,
            {
                default: false;
                label: [
                    {
                        hint: "Applies to extended tables";
                        label: "Inherited";
                        plural: "Inherited";
                    },
                ];
            },
        >;
        condition: Typed<string, { label: "Condition / onClick"; maxLength: 254 }>;
        description: Typed<string, { label: "Description"; maxLength: 4000 }>;
        field: Typed<string, { dependent: "table"; label: "Field name" }>;
        global: Typed<boolean, { default: true; label: "Global" }>;
        isolate_script: Typed<boolean, { default: false; label: "Isolate script" }>;
        messages: Typed<
            string,
            {
                label: [
                    {
                        hint: "Text strings (one per line) available to the Client Script as localized messages using getMessage('[message]')";
                        label: "Messages";
                        plural: "Messages";
                    },
                ];
                maxLength: 4000;
            },
        >;
        name: Typed<string, { label: "Name" }>;
        order: Typed<
            number,
            {
                label: [
                    {
                        hint: "Order in which to run the script";
                        label: "Order";
                        plural: "Orders";
                    },
                ];
            },
        >;
        script: Typed<string | ScriptModule<Function>, {}>;
        sys_domain: Typed<
            string & {}
            | "global"
            | Record<"domain">,
            {
                default: "global";
                label: [
                    {
                        hint: "Domain to which the script belongs";
                        label: "Domain";
                        plural: "Domains";
                    },
                ];
            },
        >;
        sys_domain_path: Typed<
            string,
            {
                attributes: { case_sensitive: true };
                default: "/";
                label: "Domain Path";
            },
        >;
        sys_overrides: Typed<
            | string
            | ExplicitKey<"sys_script_client">
            | TableBrand<"sys_script_client">
            | Record<"sys_script_client">,
            {
                label: [
                    {
                        hint: "Script being overridden by the current record";
                        label: "Overrides";
                        plural: "Overrides";
                    },
                ];
                referenceTable: "sys_script_client";
            },
        >;
        table: Typed<keyof Tables, { label: "Table"; tableReference: true }>;
        type: Typed<
            "onCellEdit"
            | "onChange"
            | "onLoad"
            | "onSubmit",
            {
                choices: {
                    onCellEdit: { label: "onCellEdit" };
                    onChange: { label: "onChange" };
                    onLoad: { label: "onLoad" };
                    onSubmit: { label: "onSubmit" };
                };
                dropdown: "dropdown_with_none";
                label: "Type";
            },
        >;
        ui_type: Typed<
            0
            | 1
            | 10,
            {
                choices: {
                    "0": { label: "Desktop"; sequence: 1 };
                    "1": { label: "Mobile / Service Portal"; sequence: 2 };
                    "10": { label: "All"; sequence: 3 };
                };
                default: "0";
                dropdown: "dropdown_without_none";
                label: "UI Type";
            },
        >;
        view: Typed<string, { label: "View" }>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    active: Typed<boolean, { default: true; label: "Active" }>
    applies_extended: Typed<
        boolean,
        {
            default: false;
            label: [
                {
                    hint: "Applies to extended tables";
                    label: "Inherited";
                    plural: "Inherited";
                },
            ];
        },
    >
    condition: Typed<string, { label: "Condition / onClick"; maxLength: 254 }>
    description: Typed<string, { label: "Description"; maxLength: 4000 }>
    field: Typed<string, { dependent: "table"; label: "Field name" }>
    global: Typed<boolean, { default: true; label: "Global" }>
    isolate_script: Typed<boolean, { default: false; label: "Isolate script" }>
    messages: Typed<
        string,
        {
            label: [
                {
                    hint: "Text strings (one per line) available to the Client Script as localized messages using getMessage('[message]')";
                    label: "Messages";
                    plural: "Messages";
                },
            ];
            maxLength: 4000;
        },
    >
    name: Typed<string, { label: "Name" }>
    order: Typed<
        number,
        {
            label: [
                {
                    hint: "Order in which to run the script";
                    label: "Order";
                    plural: "Orders";
                },
            ];
        },
    >
    script: Typed<string | ScriptModule<Function>, {}>
    sys_domain: Typed<
        string & {}
        | "global"
        | Record<"domain">,
        {
            default: "global";
            label: [
                {
                    hint: "Domain to which the script belongs";
                    label: "Domain";
                    plural: "Domains";
                },
            ];
        },
    >
    sys_domain_path: Typed<
        string,
        {
            attributes: { case_sensitive: true };
            default: "/";
            label: "Domain Path";
        },
    >
    sys_overrides: Typed<
        | string
        | ExplicitKey<"sys_script_client">
        | TableBrand<"sys_script_client">
        | Record<"sys_script_client">,
        {
            label: [
                {
                    hint: "Script being overridden by the current record";
                    label: "Overrides";
                    plural: "Overrides";
                },
            ];
            referenceTable: "sys_script_client";
        },
    >
    table: Typed<keyof Tables, { label: "Table"; tableReference: true }>
    type: Typed<
        "onCellEdit"
        | "onChange"
        | "onLoad"
        | "onSubmit",
        {
            choices: {
                onCellEdit: { label: "onCellEdit" };
                onChange: { label: "onChange" };
                onLoad: { label: "onLoad" };
                onSubmit: { label: "onSubmit" };
            };
            dropdown: "dropdown_with_none";
            label: "Type";
        },
    >
    ui_type: Typed<
        0
        | 1
        | 10,
        {
            choices: {
                "0": { label: "Desktop"; sequence: 1 };
                "1": { label: "Mobile / Service Portal"; sequence: 2 };
                "10": { label: "All"; sequence: 3 };
            };
            default: "0";
            dropdown: "dropdown_without_none";
            label: "UI Type";
        },
    >
    view: Typed<string, { label: "View" }>