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

    Variable sys_alias_templatesConst

    sys_alias_templates: {
        allowWebServiceAccess: true;
        extends: "sys_metadata";
        label: "Connection & Credential Templates";
        name: "sys_alias_templates";
        schema: {
            default_data_template: Typed<
                string,
                {
                    attributes: { json_view: true };
                    label: "Default Data Template";
                    mandatory: true;
                    maxLength: 10000;
                },
            >;
            dynamic_data_schema: Typed<
                string,
                {
                    attributes: { json_view: true };
                    label: "Dynamic Data Schema";
                    mandatory: true;
                    maxLength: 10000;
                },
            >;
            name: Typed<
                string,
                {
                    attributes: { edge_encryption_enabled: true };
                    label: "Name";
                    mandatory: true;
                    maxLength: 100;
                },
            >;
            on_edit_script: Typed<
                string
                | ScriptModule<Function>,
                { label: "On Edit Script"; mandatory: false; maxLength: 8000 },
            >;
            post_process_script: Typed<
                string
                | ScriptModule<Function>,
                { label: "On Create Script"; mandatory: false; maxLength: 8000 },
            >;
            pre_edit_script: Typed<
                string
                | ScriptModule<Function>,
                { label: "Pre-Edit Script"; mandatory: false; maxLength: 8000 },
            >;
            sys_id: Typed<
                string
                | number,
                { column_type: "GUID"; label: "Sys ID"; mandatory: false },
            >;
            test_action: Typed<
                | string
                | Record<"sys_hub_action_type_definition">
                | ExplicitKey<"sys_hub_action_type_definition">
                | TableBrand<"sys_hub_action_type_definition">,
                {
                    attributes: { encode_utf8: false };
                    label: "Test Action";
                    mandatory: false;
                    referenceTable: "sys_hub_action_type_definition";
                },
            >;
        };
    } = ...

    Type Declaration

    • ReadonlyallowWebServiceAccess: true
    • Readonlyextends: "sys_metadata"
    • Readonlylabel: "Connection & Credential Templates"
    • Readonlyname: "sys_alias_templates"
    • Readonlyschema: {
          default_data_template: Typed<
              string,
              {
                  attributes: { json_view: true };
                  label: "Default Data Template";
                  mandatory: true;
                  maxLength: 10000;
              },
          >;
          dynamic_data_schema: Typed<
              string,
              {
                  attributes: { json_view: true };
                  label: "Dynamic Data Schema";
                  mandatory: true;
                  maxLength: 10000;
              },
          >;
          name: Typed<
              string,
              {
                  attributes: { edge_encryption_enabled: true };
                  label: "Name";
                  mandatory: true;
                  maxLength: 100;
              },
          >;
          on_edit_script: Typed<
              string
              | ScriptModule<Function>,
              { label: "On Edit Script"; mandatory: false; maxLength: 8000 },
          >;
          post_process_script: Typed<
              string
              | ScriptModule<Function>,
              { label: "On Create Script"; mandatory: false; maxLength: 8000 },
          >;
          pre_edit_script: Typed<
              string
              | ScriptModule<Function>,
              { label: "Pre-Edit Script"; mandatory: false; maxLength: 8000 },
          >;
          sys_id: Typed<
              string
              | number,
              { column_type: "GUID"; label: "Sys ID"; mandatory: false },
          >;
          test_action: Typed<
              | string
              | Record<"sys_hub_action_type_definition">
              | ExplicitKey<"sys_hub_action_type_definition">
              | TableBrand<"sys_hub_action_type_definition">,
              {
                  attributes: { encode_utf8: false };
                  label: "Test Action";
                  mandatory: false;
                  referenceTable: "sys_hub_action_type_definition";
              },
          >;
      }