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

    Variable contract_slaConst

    contract_sla: {
        extends: "sys_metadata";
        label: "SLA Definition";
        name: "contract_sla";
        schema: {
            active: Typed<boolean, { default: true; label: "Active" }>;
            adv_condition_type: Typed<
                | "none"
                | "advanced"
                | "advanced_system"
                | "advanced_journal_and_system"
                | "advanced_journal",
                {
                    active: false;
                    choices: {
                        advanced: { label: "Has advanced"; sequence: 2 };
                        advanced_journal: { label: "Has advanced with Journal"; sequence: 3 };
                        advanced_journal_and_system: {
                            label: "Has advanced with Journal and System field";
                            sequence: 5;
                        };
                        advanced_system: {
                            label: "Has advanced with System field";
                            sequence: 4;
                        };
                        none: { label: "None"; sequence: 1 };
                    };
                    default: "none";
                    dropdown: "dropdown_without_none";
                    label: "Advanced Condition Type";
                },
            >;
            cancel_condition: Typed<
                string,
                {
                    attributes: { readable: true };
                    dependent: "collection";
                    label: "Cancel condition";
                    maxLength: 1000;
                },
            >;
            collection: Typed<
                keyof Tables,
                {
                    attributes: {
                        allow_public: true;
                        base_start: true;
                        base_table: "task";
                    };
                    default: "incident";
                    label: [
                        {
                            hint: "The type of task that this SLA will apply to";
                            label: "Table";
                            language: "en";
                            plural: "Tables";
                        },
                    ];
                },
            >;
            condition_class: Typed<
                | string
                | Record<"sla_condition_class">
                | ExplicitKey<"sla_condition_class">
                | TableBrand<"sla_condition_class">,
                {
                    attributes: { encode_utf8: false };
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Optionally override how the Start, Pause, and Stop conditions will be interpreted for this SLA";
                            label: "Condition type";
                            language: "en";
                            plural: "Condition types";
                        },
                    ];
                    referenceTable: "sla_condition_class";
                },
            >;
            duration: Typed<string | Duration, { label: "Duration"; maxLength: 40 }>;
            duration_type: Typed<
                | string
                | Record<"cmn_relative_duration">
                | ExplicitKey<"cmn_relative_duration">
                | TableBrand<"cmn_relative_duration">,
                {
                    attributes: { encode_utf8: false };
                    choices: { NULL_OVERRIDE: { label: "User specified duration" } };
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "Select whether you want to use a specified duration (like '8 hours') or a relative duration (like 'End of Business Day')";
                            label: "Duration type";
                            language: "en";
                            plural: "Duration types";
                            url: "http://docs.servicenow.com/?context=CSHelp:SLA-Duration";
                        },
                    ];
                    referenceTable: "cmn_relative_duration";
                },
            >;
            enable_logging: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "Enable logging for this SLA definition";
                            label: "Enable logging";
                            language: "en";
                            plural: "Enable loggings";
                        },
                    ];
                },
            >;
            flow: Typed<
                | string
                | Record<"sys_hub_flow">
                | ExplicitKey<"sys_hub_flow">
                | TableBrand<"sys_hub_flow">,
                {
                    attributes: { encode_utf8: false };
                    default: "Default SLA Flow";
                    label: "Flow";
                    referenceQual: "javascript: new SLAFlowFilters().getSLATaskFlows()";
                    referenceTable: "sys_hub_flow";
                },
            >;
            name: Typed<
                string,
                {
                    label: [
                        {
                            hint: "The name of the SLA, used for reporting and reference purposes only";
                            label: "Name";
                            language: "en";
                            plural: "Names";
                        },
                    ];
                },
            >;
            pause_condition: Typed<
                string,
                {
                    attributes: { readable: true };
                    dependent: "collection";
                    label: [
                        {
                            hint: "Determines when a running SLA should temporarily pause. Measuring will resume when this condition is no longer met.";
                            label: "Pause condition";
                            language: "en";
                            plural: "Pause conditions";
                            url: "http://docs.servicenow.com/?context=CSHelp:SLA-Conditions";
                        },
                    ];
                    maxLength: 1000;
                },
            >;
            relative_duration_works_on: Typed<
                "Task record"
                | "SLA record",
                {
                    choices: {
                        "SLA record": { label: "SLA record"; sequence: 2 };
                        "Task record": { label: "Task record"; sequence: 1 };
                    };
                    default: "Task record";
                    dropdown: "dropdown_without_none";
                    label: [
                        {
                            hint: "The type of record to use when calculating relative durations";
                            label: "Relative duration works on";
                            language: "en";
                            plural: "Relative duration works ons";
                        },
                    ];
                },
            >;
            reset_action: Typed<
                "cancel"
                | "complete",
                {
                    choices: {
                        cancel: { label: "Cancel existing Task SLA"; sequence: 1 };
                        complete: { label: "Complete existing Task SLA"; sequence: 2 };
                    };
                    default: "cancel";
                    dropdown: "dropdown_without_none";
                    label: [
                        {
                            label: "Reset action";
                            language: "en";
                            plural: "Reset actions";
                            url: "http://docs.servicenow.com/?context=CSHelp:SLA-Conditions";
                        },
                    ];
                },
            >;
            reset_condition: Typed<
                string,
                {
                    attributes: {
                        extended_operators: "VALCHANGES;CHANGESFROM;CHANGESTO";
                        readable: true;
                    };
                    dependent: "collection";
                    label: [
                        {
                            label: "Reset condition";
                            language: "en";
                            plural: "Reset conditions";
                            url: "http://docs.servicenow.com/?context=CSHelp:SLA-Conditions";
                        },
                    ];
                    maxLength: 1000;
                },
            >;
            resume_condition: Typed<
                string,
                {
                    attributes: { readable: true };
                    dependent: "collection";
                    label: "Resume condition";
                    maxLength: 1000;
                },
            >;
            retroactive: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "SLA start time will be retroactive to an earlier time such as the task create date";
                            label: "Retroactive start";
                            language: "en";
                            plural: "Retroactive starts";
                        },
                    ];
                },
            >;
            retroactive_pause: Typed<
                boolean,
                {
                    default: true;
                    label: [
                        {
                            hint: "SLA calculation will include pause time accumulated between the retroactive start time and the current time";
                            label: "Retroactive pause";
                            language: "en";
                            plural: "Retroactive pauses";
                        },
                    ];
                },
            >;
            schedule: Typed<
                | string
                | Record<"cmn_schedule">
                | ExplicitKey<"cmn_schedule">
                | TableBrand<"cmn_schedule">,
                {
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "The 'business calendar' that this SLA will measure against";
                            label: "Schedule";
                            language: "en";
                            plural: "Schedules";
                        },
                    ];
                    referenceTable: "cmn_schedule";
                },
            >;
            schedule_source: Typed<
                "sla_definition"
                | "task_field"
                | "no_schedule",
                {
                    choices: {
                        no_schedule: { label: "No schedule"; sequence: 1 };
                        sla_definition: { label: "SLA definition"; sequence: 2 };
                        task_field: { label: "Task field"; sequence: 3 };
                    };
                    default: "sla_definition";
                    dropdown: "dropdown_without_none";
                    label: [
                        {
                            label: "Schedule source";
                            language: "en";
                            plural: "Schedule sources";
                            url: "http://docs.servicenow.com/?context=CSHelp:Schedules-Within-SLA";
                        },
                    ];
                },
            >;
            schedule_source_field: Typed<
                string,
                {
                    attributes: {
                        allow_references: true;
                        reference_types: "cmn_schedule";
                    };
                    dependent: "collection";
                    label: "Schedule source field";
                },
            >;
            set_start_to: Typed<
                string,
                {
                    attributes: { types: "glide_date_time" };
                    dependent: "collection";
                    label: [
                        {
                            hint: "Choose the field where the system will get the 'start time' for the SLA";
                            label: "Set start to";
                            language: "en";
                            plural: "Set start to";
                        },
                    ];
                },
            >;
            start_condition: Typed<
                string,
                {
                    attributes: { readable: true };
                    dependent: "collection";
                    label: [
                        {
                            hint: "A task matching this condition will pull in this SLA and begin running it. A running SLA no longer matching this condition will be cancelled.";
                            label: "Start condition";
                            language: "en";
                            plural: "Start conditions";
                            url: "http://docs.servicenow.com/?context=CSHelp:SLA-Conditions";
                        },
                    ];
                    maxLength: 1000;
                },
            >;
            stop_condition: Typed<
                string,
                {
                    attributes: { readable: true };
                    dependent: "collection";
                    label: [
                        {
                            hint: "Determines when this SLA needs to be stopped and measured (generally when a task has been 'Resolved')";
                            label: "Stop condition";
                            language: "en";
                            plural: "Stop conditions";
                            url: "http://docs.servicenow.com/?context=CSHelp:SLA-Conditions";
                        },
                    ];
                    maxLength: 1000;
                },
            >;
            sys_domain: Typed<
                Record<"domain">
                | "global",
                {
                    default: "global";
                    label: [
                        {
                            hint: "Domain to which the SLA belongs";
                            label: "Domain";
                            language: "en";
                            plural: "Domains";
                        },
                    ];
                },
            >;
            sys_domain_path: Typed<
                string,
                {
                    attributes: { case_sensitive: true };
                    default: "/";
                    label: "Domain Path";
                },
            >;
            sys_id: Typed<string, { label: "Sys ID"; primary: true }>;
            sys_overrides: Typed<
                | string
                | Record<"contract_sla">
                | ExplicitKey<"contract_sla">
                | TableBrand<"contract_sla">,
                {
                    attributes: { encode_utf8: false };
                    label: [
                        {
                            hint: "SLA being overridden by the current record";
                            label: "Overrides";
                            language: "en";
                            plural: "Overrides";
                        },
                    ];
                    referenceTable: "contract_sla";
                },
            >;
            target: Typed<
                "resolution"
                | "response",
                {
                    choices: {
                        resolution: { label: "Resolution"; sequence: 2 };
                        response: { label: "Response"; sequence: 1 };
                    };
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "The service level target this SLA is defined to measure";
                            label: "Target";
                            language: "en";
                            plural: "Targets";
                        },
                    ];
                },
            >;
            timezone: Typed<
                string,
                {
                    dropdown: "dropdown_with_none";
                    dynamicValueDefinitions: {
                        field: "time_zone";
                        table: "sys_user";
                        type: "choices_from_other_table";
                    };
                    label: [
                        {
                            hint: "The timezone that this SLA will measure against. Used in conjunction with the schedule, this'll determine when this SLA will 'Breach'";
                            label: "Timezone";
                            language: "en";
                            plural: "Timezones";
                            url: "http://docs.servicenow.com/?context=Using_Time_Zones_Time_Zones_in_Service_Level_Agreements";
                        },
                    ];
                },
            >;
            timezone_source: Typed<
                | "task.caller_id.time_zone"
                | "sla.timezone"
                | "task.cmdb_ci.location.time_zone"
                | "task.location.time_zone"
                | "task.caller_id.location.time_zone",
                {
                    choices: {
                        "sla.timezone": {
                            label: "The SLA definition's time zone";
                            sequence: 2;
                        };
                        "task.caller_id.location.time_zone": {
                            label: "The caller's location's time zone";
                            sequence: 5;
                        };
                        "task.caller_id.time_zone": {
                            label: "The caller's time zone";
                            sequence: 1;
                        };
                        "task.cmdb_ci.location.time_zone": {
                            label: "The CI's location's time zone";
                            sequence: 3;
                        };
                        "task.location.time_zone": {
                            label: "The task's location's time zone";
                            sequence: 4;
                        };
                    };
                    default: "task.caller_id.time_zone";
                    dropdown: "dropdown_without_none";
                    label: [
                        {
                            label: "Timezone source";
                            language: "en";
                            plural: "Timezone sources";
                            url: "http://docs.servicenow.com/?context=CSHelp:Timezones-In-SLA";
                        },
                    ];
                },
            >;
            type: Typed<
                "SLA"
                | "OLA"
                | "Underpinning contract",
                {
                    choices: {
                        OLA: { label: "OLA"; sequence: 2 };
                        SLA: { label: "SLA"; sequence: 1 };
                        "Underpinning contract": {
                            label: "Underpinning contract";
                            sequence: 3;
                        };
                    };
                    default: "SLA";
                    dropdown: "dropdown_with_none";
                    label: [
                        {
                            hint: "The category of the SLA, used for reporting and reference purposes only";
                            label: "Type";
                            language: "en";
                            plural: "Types";
                        },
                    ];
                },
            >;
            vendor: Typed<
                | string
                | Record<"core_company">
                | ExplicitKey<"core_company">
                | TableBrand<"core_company">,
                {
                    attributes: { encode_utf8: false };
                    label: "Vendor";
                    referenceQual: "vendor=true";
                    referenceTable: "core_company";
                },
            >;
            when_to_cancel: Typed<
                "on_condition"
                | "no_match"
                | "never",
                {
                    choices: {
                        never: { label: "Never"; sequence: 3 };
                        no_match: { label: "Start conditions are not met"; sequence: 1 };
                        on_condition: { label: "Cancel conditions are met"; sequence: 2 };
                    };
                    default: "on_condition";
                    dropdown: "dropdown_without_none";
                    label: "When to cancel";
                },
            >;
            when_to_resume: Typed<
                "on_condition"
                | "no_match",
                {
                    choices: {
                        no_match: { label: "Pause conditions are not met"; sequence: 1 };
                        on_condition: { label: "Resume conditions are met"; sequence: 2 };
                    };
                    default: "on_condition";
                    dropdown: "dropdown_without_none";
                    label: "When to resume";
                },
            >;
            workflow: Typed<
                | string
                | Record<"wf_workflow">
                | ExplicitKey<"wf_workflow">
                | TableBrand<"wf_workflow">,
                {
                    attributes: {
                        encode_utf8: false;
                        ref_contributions: "show_workflow";
                    };
                    label: [
                        {
                            hint: "The workflow that will trigger notifications and escalation";
                            label: "Workflow";
                            language: "en";
                            plural: "Workflows";
                            url: "http://docs.servicenow.com/?context=CSHelp:Workflows-For-SLA";
                        },
                    ];
                    referenceTable: "wf_workflow";
                },
            >;
        };
    } = ...

    SLA Definition table - defines Service Level Agreements for task records. Used to track response and resolution times against defined schedules.

    Type Declaration

    • Readonlyextends: "sys_metadata"
    • Readonlylabel: "SLA Definition"
    • Readonlyname: "contract_sla"
    • Readonlyschema: {
          active: Typed<boolean, { default: true; label: "Active" }>;
          adv_condition_type: Typed<
              | "none"
              | "advanced"
              | "advanced_system"
              | "advanced_journal_and_system"
              | "advanced_journal",
              {
                  active: false;
                  choices: {
                      advanced: { label: "Has advanced"; sequence: 2 };
                      advanced_journal: { label: "Has advanced with Journal"; sequence: 3 };
                      advanced_journal_and_system: {
                          label: "Has advanced with Journal and System field";
                          sequence: 5;
                      };
                      advanced_system: {
                          label: "Has advanced with System field";
                          sequence: 4;
                      };
                      none: { label: "None"; sequence: 1 };
                  };
                  default: "none";
                  dropdown: "dropdown_without_none";
                  label: "Advanced Condition Type";
              },
          >;
          cancel_condition: Typed<
              string,
              {
                  attributes: { readable: true };
                  dependent: "collection";
                  label: "Cancel condition";
                  maxLength: 1000;
              },
          >;
          collection: Typed<
              keyof Tables,
              {
                  attributes: {
                      allow_public: true;
                      base_start: true;
                      base_table: "task";
                  };
                  default: "incident";
                  label: [
                      {
                          hint: "The type of task that this SLA will apply to";
                          label: "Table";
                          language: "en";
                          plural: "Tables";
                      },
                  ];
              },
          >;
          condition_class: Typed<
              | string
              | Record<"sla_condition_class">
              | ExplicitKey<"sla_condition_class">
              | TableBrand<"sla_condition_class">,
              {
                  attributes: { encode_utf8: false };
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Optionally override how the Start, Pause, and Stop conditions will be interpreted for this SLA";
                          label: "Condition type";
                          language: "en";
                          plural: "Condition types";
                      },
                  ];
                  referenceTable: "sla_condition_class";
              },
          >;
          duration: Typed<string | Duration, { label: "Duration"; maxLength: 40 }>;
          duration_type: Typed<
              | string
              | Record<"cmn_relative_duration">
              | ExplicitKey<"cmn_relative_duration">
              | TableBrand<"cmn_relative_duration">,
              {
                  attributes: { encode_utf8: false };
                  choices: { NULL_OVERRIDE: { label: "User specified duration" } };
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "Select whether you want to use a specified duration (like '8 hours') or a relative duration (like 'End of Business Day')";
                          label: "Duration type";
                          language: "en";
                          plural: "Duration types";
                          url: "http://docs.servicenow.com/?context=CSHelp:SLA-Duration";
                      },
                  ];
                  referenceTable: "cmn_relative_duration";
              },
          >;
          enable_logging: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "Enable logging for this SLA definition";
                          label: "Enable logging";
                          language: "en";
                          plural: "Enable loggings";
                      },
                  ];
              },
          >;
          flow: Typed<
              | string
              | Record<"sys_hub_flow">
              | ExplicitKey<"sys_hub_flow">
              | TableBrand<"sys_hub_flow">,
              {
                  attributes: { encode_utf8: false };
                  default: "Default SLA Flow";
                  label: "Flow";
                  referenceQual: "javascript: new SLAFlowFilters().getSLATaskFlows()";
                  referenceTable: "sys_hub_flow";
              },
          >;
          name: Typed<
              string,
              {
                  label: [
                      {
                          hint: "The name of the SLA, used for reporting and reference purposes only";
                          label: "Name";
                          language: "en";
                          plural: "Names";
                      },
                  ];
              },
          >;
          pause_condition: Typed<
              string,
              {
                  attributes: { readable: true };
                  dependent: "collection";
                  label: [
                      {
                          hint: "Determines when a running SLA should temporarily pause. Measuring will resume when this condition is no longer met.";
                          label: "Pause condition";
                          language: "en";
                          plural: "Pause conditions";
                          url: "http://docs.servicenow.com/?context=CSHelp:SLA-Conditions";
                      },
                  ];
                  maxLength: 1000;
              },
          >;
          relative_duration_works_on: Typed<
              "Task record"
              | "SLA record",
              {
                  choices: {
                      "SLA record": { label: "SLA record"; sequence: 2 };
                      "Task record": { label: "Task record"; sequence: 1 };
                  };
                  default: "Task record";
                  dropdown: "dropdown_without_none";
                  label: [
                      {
                          hint: "The type of record to use when calculating relative durations";
                          label: "Relative duration works on";
                          language: "en";
                          plural: "Relative duration works ons";
                      },
                  ];
              },
          >;
          reset_action: Typed<
              "cancel"
              | "complete",
              {
                  choices: {
                      cancel: { label: "Cancel existing Task SLA"; sequence: 1 };
                      complete: { label: "Complete existing Task SLA"; sequence: 2 };
                  };
                  default: "cancel";
                  dropdown: "dropdown_without_none";
                  label: [
                      {
                          label: "Reset action";
                          language: "en";
                          plural: "Reset actions";
                          url: "http://docs.servicenow.com/?context=CSHelp:SLA-Conditions";
                      },
                  ];
              },
          >;
          reset_condition: Typed<
              string,
              {
                  attributes: {
                      extended_operators: "VALCHANGES;CHANGESFROM;CHANGESTO";
                      readable: true;
                  };
                  dependent: "collection";
                  label: [
                      {
                          label: "Reset condition";
                          language: "en";
                          plural: "Reset conditions";
                          url: "http://docs.servicenow.com/?context=CSHelp:SLA-Conditions";
                      },
                  ];
                  maxLength: 1000;
              },
          >;
          resume_condition: Typed<
              string,
              {
                  attributes: { readable: true };
                  dependent: "collection";
                  label: "Resume condition";
                  maxLength: 1000;
              },
          >;
          retroactive: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "SLA start time will be retroactive to an earlier time such as the task create date";
                          label: "Retroactive start";
                          language: "en";
                          plural: "Retroactive starts";
                      },
                  ];
              },
          >;
          retroactive_pause: Typed<
              boolean,
              {
                  default: true;
                  label: [
                      {
                          hint: "SLA calculation will include pause time accumulated between the retroactive start time and the current time";
                          label: "Retroactive pause";
                          language: "en";
                          plural: "Retroactive pauses";
                      },
                  ];
              },
          >;
          schedule: Typed<
              | string
              | Record<"cmn_schedule">
              | ExplicitKey<"cmn_schedule">
              | TableBrand<"cmn_schedule">,
              {
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "The 'business calendar' that this SLA will measure against";
                          label: "Schedule";
                          language: "en";
                          plural: "Schedules";
                      },
                  ];
                  referenceTable: "cmn_schedule";
              },
          >;
          schedule_source: Typed<
              "sla_definition"
              | "task_field"
              | "no_schedule",
              {
                  choices: {
                      no_schedule: { label: "No schedule"; sequence: 1 };
                      sla_definition: { label: "SLA definition"; sequence: 2 };
                      task_field: { label: "Task field"; sequence: 3 };
                  };
                  default: "sla_definition";
                  dropdown: "dropdown_without_none";
                  label: [
                      {
                          label: "Schedule source";
                          language: "en";
                          plural: "Schedule sources";
                          url: "http://docs.servicenow.com/?context=CSHelp:Schedules-Within-SLA";
                      },
                  ];
              },
          >;
          schedule_source_field: Typed<
              string,
              {
                  attributes: {
                      allow_references: true;
                      reference_types: "cmn_schedule";
                  };
                  dependent: "collection";
                  label: "Schedule source field";
              },
          >;
          set_start_to: Typed<
              string,
              {
                  attributes: { types: "glide_date_time" };
                  dependent: "collection";
                  label: [
                      {
                          hint: "Choose the field where the system will get the 'start time' for the SLA";
                          label: "Set start to";
                          language: "en";
                          plural: "Set start to";
                      },
                  ];
              },
          >;
          start_condition: Typed<
              string,
              {
                  attributes: { readable: true };
                  dependent: "collection";
                  label: [
                      {
                          hint: "A task matching this condition will pull in this SLA and begin running it. A running SLA no longer matching this condition will be cancelled.";
                          label: "Start condition";
                          language: "en";
                          plural: "Start conditions";
                          url: "http://docs.servicenow.com/?context=CSHelp:SLA-Conditions";
                      },
                  ];
                  maxLength: 1000;
              },
          >;
          stop_condition: Typed<
              string,
              {
                  attributes: { readable: true };
                  dependent: "collection";
                  label: [
                      {
                          hint: "Determines when this SLA needs to be stopped and measured (generally when a task has been 'Resolved')";
                          label: "Stop condition";
                          language: "en";
                          plural: "Stop conditions";
                          url: "http://docs.servicenow.com/?context=CSHelp:SLA-Conditions";
                      },
                  ];
                  maxLength: 1000;
              },
          >;
          sys_domain: Typed<
              Record<"domain">
              | "global",
              {
                  default: "global";
                  label: [
                      {
                          hint: "Domain to which the SLA belongs";
                          label: "Domain";
                          language: "en";
                          plural: "Domains";
                      },
                  ];
              },
          >;
          sys_domain_path: Typed<
              string,
              {
                  attributes: { case_sensitive: true };
                  default: "/";
                  label: "Domain Path";
              },
          >;
          sys_id: Typed<string, { label: "Sys ID"; primary: true }>;
          sys_overrides: Typed<
              | string
              | Record<"contract_sla">
              | ExplicitKey<"contract_sla">
              | TableBrand<"contract_sla">,
              {
                  attributes: { encode_utf8: false };
                  label: [
                      {
                          hint: "SLA being overridden by the current record";
                          label: "Overrides";
                          language: "en";
                          plural: "Overrides";
                      },
                  ];
                  referenceTable: "contract_sla";
              },
          >;
          target: Typed<
              "resolution"
              | "response",
              {
                  choices: {
                      resolution: { label: "Resolution"; sequence: 2 };
                      response: { label: "Response"; sequence: 1 };
                  };
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "The service level target this SLA is defined to measure";
                          label: "Target";
                          language: "en";
                          plural: "Targets";
                      },
                  ];
              },
          >;
          timezone: Typed<
              string,
              {
                  dropdown: "dropdown_with_none";
                  dynamicValueDefinitions: {
                      field: "time_zone";
                      table: "sys_user";
                      type: "choices_from_other_table";
                  };
                  label: [
                      {
                          hint: "The timezone that this SLA will measure against. Used in conjunction with the schedule, this'll determine when this SLA will 'Breach'";
                          label: "Timezone";
                          language: "en";
                          plural: "Timezones";
                          url: "http://docs.servicenow.com/?context=Using_Time_Zones_Time_Zones_in_Service_Level_Agreements";
                      },
                  ];
              },
          >;
          timezone_source: Typed<
              | "task.caller_id.time_zone"
              | "sla.timezone"
              | "task.cmdb_ci.location.time_zone"
              | "task.location.time_zone"
              | "task.caller_id.location.time_zone",
              {
                  choices: {
                      "sla.timezone": {
                          label: "The SLA definition's time zone";
                          sequence: 2;
                      };
                      "task.caller_id.location.time_zone": {
                          label: "The caller's location's time zone";
                          sequence: 5;
                      };
                      "task.caller_id.time_zone": {
                          label: "The caller's time zone";
                          sequence: 1;
                      };
                      "task.cmdb_ci.location.time_zone": {
                          label: "The CI's location's time zone";
                          sequence: 3;
                      };
                      "task.location.time_zone": {
                          label: "The task's location's time zone";
                          sequence: 4;
                      };
                  };
                  default: "task.caller_id.time_zone";
                  dropdown: "dropdown_without_none";
                  label: [
                      {
                          label: "Timezone source";
                          language: "en";
                          plural: "Timezone sources";
                          url: "http://docs.servicenow.com/?context=CSHelp:Timezones-In-SLA";
                      },
                  ];
              },
          >;
          type: Typed<
              "SLA"
              | "OLA"
              | "Underpinning contract",
              {
                  choices: {
                      OLA: { label: "OLA"; sequence: 2 };
                      SLA: { label: "SLA"; sequence: 1 };
                      "Underpinning contract": { label: "Underpinning contract"; sequence: 3 };
                  };
                  default: "SLA";
                  dropdown: "dropdown_with_none";
                  label: [
                      {
                          hint: "The category of the SLA, used for reporting and reference purposes only";
                          label: "Type";
                          language: "en";
                          plural: "Types";
                      },
                  ];
              },
          >;
          vendor: Typed<
              | string
              | Record<"core_company">
              | ExplicitKey<"core_company">
              | TableBrand<"core_company">,
              {
                  attributes: { encode_utf8: false };
                  label: "Vendor";
                  referenceQual: "vendor=true";
                  referenceTable: "core_company";
              },
          >;
          when_to_cancel: Typed<
              "on_condition"
              | "no_match"
              | "never",
              {
                  choices: {
                      never: { label: "Never"; sequence: 3 };
                      no_match: { label: "Start conditions are not met"; sequence: 1 };
                      on_condition: { label: "Cancel conditions are met"; sequence: 2 };
                  };
                  default: "on_condition";
                  dropdown: "dropdown_without_none";
                  label: "When to cancel";
              },
          >;
          when_to_resume: Typed<
              "on_condition"
              | "no_match",
              {
                  choices: {
                      no_match: { label: "Pause conditions are not met"; sequence: 1 };
                      on_condition: { label: "Resume conditions are met"; sequence: 2 };
                  };
                  default: "on_condition";
                  dropdown: "dropdown_without_none";
                  label: "When to resume";
              },
          >;
          workflow: Typed<
              | string
              | Record<"wf_workflow">
              | ExplicitKey<"wf_workflow">
              | TableBrand<"wf_workflow">,
              {
                  attributes: { encode_utf8: false; ref_contributions: "show_workflow" };
                  label: [
                      {
                          hint: "The workflow that will trigger notifications and escalation";
                          label: "Workflow";
                          language: "en";
                          plural: "Workflows";
                          url: "http://docs.servicenow.com/?context=CSHelp:Workflows-For-SLA";
                      },
                  ];
                  referenceTable: "wf_workflow";
              },
          >;
      }