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

    Variable core_companyConst

    core_company: {
        actions: ["read", "update", "create"];
        allowClientScripts: true;
        allowNewFields: true;
        allowUiActions: true;
        allowWebServiceAccess: true;
        attributes: {
            "all_tables.text_index_translations": true;
            global_search_config_handler: "CompanySearchConfig";
            kagami_csindex_enabled: true;
            slushbucket_omit_embedded: true;
        };
        label: "Company";
        name: "core_company";
        schema: {
            apple_icon: Typed<
                string
                | number,
                {
                    attributes: { pdf_cell_type: "image" };
                    columnType: "user_image";
                    label: [
                        {
                            hint: "Icon for iPhone home page bookmarks which should be a 57x57 PNG file";
                            label: "Apple icon";
                            language: "en";
                            plural: "Apple icons";
                        },
                    ];
                },
            >;
            banner_image: Typed<
                string
                | number,
                {
                    columnType: "user_image";
                    label: [
                        {
                            hint: "Should be between 60 and 70 pixels high";
                            label: "Banner image";
                            language: "en";
                            plural: "Banner images";
                        },
                    ];
                },
            >;
            banner_image_light: Typed<
                string
                | number,
                {
                    attributes: { pdf_cell_type: "image" };
                    columnType: "user_image";
                    label: [
                        {
                            hint: "Should be between 20 and 40 pixels high";
                            label: "UI16 Banner Image";
                            language: "en";
                            plural: "UI16 Banner Images";
                        },
                    ];
                },
            >;
            banner_text: Typed<string, { label: "Banner text"; maxLength: 4000 }>;
            city: Typed<string, { label: "City"; maxLength: 50 }>;
            contact: Typed<
                | string
                | Record<"sys_user">
                | ExplicitKey<"sys_user">
                | TableBrand<"sys_user">,
                { label: "Contact"; referenceTable: "sys_user" },
            >;
            coordinates_retrieved_on: Typed<
                `${number}-${number}-${number} ${number}:${number}:${number}`,
                {
                    label: [
                        {
                            hint: "Date and time when the latitide and longitude are populated";
                            label: "Coordinates retrieved on";
                            language: "en";
                            plural: "Coordinates retrieved ons";
                        },
                    ];
                },
            >;
            country: Typed<string, { default: "USA"; label: "Country" }>;
            customer: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "Is a customer of ours";
                            label: "Customer";
                            language: "en";
                            plural: "Customers";
                        },
                    ];
                },
            >;
            discount: Typed<number, { label: "Discount"; maxLength: 15 }>;
            fax_phone: Typed<
                string
                | number,
                { columnType: "ph_number"; label: "Fax phone" },
            >;
            fiscal_year: Typed<
                `${number}-${number}-${number}`,
                { label: "Fiscal year" },
            >;
            lat_long_error: Typed<
                string,
                { label: "Lat long error"; maxLength: 1000 },
            >;
            latitude: Typed<number, { label: "Latitude"; maxLength: 40 }>;
            longitude: Typed<number, { label: "Longitude"; maxLength: 40 }>;
            manufacturer: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "Makes things we buy";
                            label: "Manufacturer";
                            language: "en";
                            plural: "Manufacturers";
                        },
                    ];
                },
            >;
            market_cap: Typed<
                string
                | number,
                {
                    attributes: { omit_sys_original: true };
                    columnType: "currency";
                    label: "Market cap";
                    maxLength: 20;
                },
            >;
            name: Typed<string, { label: "Name"; maxLength: 80 }>;
            notes: Typed<string, { label: "Notes"; maxLength: 4000 }>;
            num_employees: Typed<number, { label: "Number of employees" }>;
            parent: Typed<
                | string
                | Record<"core_company">
                | ExplicitKey<"core_company">
                | TableBrand<"core_company">,
                {
                    label: [
                        {
                            hint: "Establishes hierarchy";
                            label: "Parent";
                            language: "en";
                            plural: "Companies";
                        },
                    ];
                    referenceTable: "core_company";
                },
            >;
            phone: Typed<string | number, { columnType: "ph_number"; label: "Phone" }>;
            primary: Typed<boolean, { default: false; label: "Primary" }>;
            profits: Typed<
                string
                | number,
                {
                    attributes: { omit_sys_original: true };
                    columnType: "currency";
                    label: "Profits";
                    maxLength: 20;
                },
            >;
            publicly_traded: Typed<boolean, { label: "Publicly traded" }>;
            rank_tier: Typed<
                string,
                { dropdown: "dropdown_without_none"; label: "Rank tier" },
            >;
            revenue_per_year: Typed<
                string
                | number,
                {
                    attributes: { omit_sys_original: true };
                    columnType: "currency";
                    label: [
                        {
                            hint: "Revenue per year (in billions)";
                            label: "Revenue per year";
                            language: "en";
                            plural: "Revenue per years";
                        },
                    ];
                    maxLength: 20;
                },
            >;
            state: Typed<string, { label: "State / Province" }>;
            stock_price: Typed<string, { label: "Stock price" }>;
            stock_symbol: Typed<string, { label: "Stock symbol" }>;
            street: Typed<string, { label: "Street"; maxLength: 255 }>;
            sys_class_name: Typed<
                string,
                {
                    default: "javascript:current.getTableName();";
                    dropdown: "dropdown_without_none";
                    label: "Class";
                    maxLength: 80;
                },
            >;
            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" }] },
            >;
            theme: Typed<
                | string
                | Record<"sys_ui_theme">
                | ExplicitKey<"sys_ui_theme">
                | TableBrand<"sys_ui_theme">,
                {
                    attributes: { encode_utf8: false };
                    label: "Theme";
                    referenceTable: "sys_ui_theme";
                },
            >;
            vendor: Typed<
                boolean,
                {
                    default: false;
                    label: [
                        {
                            hint: "We buy items from them";
                            label: "Vendor";
                            language: "en";
                            plural: "Vendors";
                        },
                    ];
                },
            >;
            vendor_manager: Typed<
                string
                | string[]
                | Record<"sys_user">[],
                {
                    attributes: { slushbucket_ref_no_expand: true };
                    label: "Vendor manager";
                    referenceTable: "sys_user";
                },
            >;
            vendor_type: Typed<
                string
                | string[]
                | Record<"vendor_type">[],
                {
                    attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                    label: "Vendor type";
                    maxLength: 1024;
                    referenceTable: "vendor_type";
                },
            >;
            website: Typed<
                `http://${string}`
                | `https://${string}`,
                { label: "Website" },
            >;
            zip: Typed<string, { label: "Zip / Postal code" }>;
        };
        textIndex: true;
    } = ...

    Type Declaration

    • Readonlyactions: ["read", "update", "create"]
    • ReadonlyallowClientScripts: true
    • ReadonlyallowNewFields: true
    • ReadonlyallowUiActions: true
    • ReadonlyallowWebServiceAccess: true
    • Readonlyattributes: {
          "all_tables.text_index_translations": true;
          global_search_config_handler: "CompanySearchConfig";
          kagami_csindex_enabled: true;
          slushbucket_omit_embedded: true;
      }
    • Readonlylabel: "Company"
    • Readonlyname: "core_company"
    • Readonlyschema: {
          apple_icon: Typed<
              string
              | number,
              {
                  attributes: { pdf_cell_type: "image" };
                  columnType: "user_image";
                  label: [
                      {
                          hint: "Icon for iPhone home page bookmarks which should be a 57x57 PNG file";
                          label: "Apple icon";
                          language: "en";
                          plural: "Apple icons";
                      },
                  ];
              },
          >;
          banner_image: Typed<
              string
              | number,
              {
                  columnType: "user_image";
                  label: [
                      {
                          hint: "Should be between 60 and 70 pixels high";
                          label: "Banner image";
                          language: "en";
                          plural: "Banner images";
                      },
                  ];
              },
          >;
          banner_image_light: Typed<
              string
              | number,
              {
                  attributes: { pdf_cell_type: "image" };
                  columnType: "user_image";
                  label: [
                      {
                          hint: "Should be between 20 and 40 pixels high";
                          label: "UI16 Banner Image";
                          language: "en";
                          plural: "UI16 Banner Images";
                      },
                  ];
              },
          >;
          banner_text: Typed<string, { label: "Banner text"; maxLength: 4000 }>;
          city: Typed<string, { label: "City"; maxLength: 50 }>;
          contact: Typed<
              | string
              | Record<"sys_user">
              | ExplicitKey<"sys_user">
              | TableBrand<"sys_user">,
              { label: "Contact"; referenceTable: "sys_user" },
          >;
          coordinates_retrieved_on: Typed<
              `${number}-${number}-${number} ${number}:${number}:${number}`,
              {
                  label: [
                      {
                          hint: "Date and time when the latitide and longitude are populated";
                          label: "Coordinates retrieved on";
                          language: "en";
                          plural: "Coordinates retrieved ons";
                      },
                  ];
              },
          >;
          country: Typed<string, { default: "USA"; label: "Country" }>;
          customer: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "Is a customer of ours";
                          label: "Customer";
                          language: "en";
                          plural: "Customers";
                      },
                  ];
              },
          >;
          discount: Typed<number, { label: "Discount"; maxLength: 15 }>;
          fax_phone: Typed<
              string
              | number,
              { columnType: "ph_number"; label: "Fax phone" },
          >;
          fiscal_year: Typed<
              `${number}-${number}-${number}`,
              { label: "Fiscal year" },
          >;
          lat_long_error: Typed<string, { label: "Lat long error"; maxLength: 1000 }>;
          latitude: Typed<number, { label: "Latitude"; maxLength: 40 }>;
          longitude: Typed<number, { label: "Longitude"; maxLength: 40 }>;
          manufacturer: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "Makes things we buy";
                          label: "Manufacturer";
                          language: "en";
                          plural: "Manufacturers";
                      },
                  ];
              },
          >;
          market_cap: Typed<
              string
              | number,
              {
                  attributes: { omit_sys_original: true };
                  columnType: "currency";
                  label: "Market cap";
                  maxLength: 20;
              },
          >;
          name: Typed<string, { label: "Name"; maxLength: 80 }>;
          notes: Typed<string, { label: "Notes"; maxLength: 4000 }>;
          num_employees: Typed<number, { label: "Number of employees" }>;
          parent: Typed<
              | string
              | Record<"core_company">
              | ExplicitKey<"core_company">
              | TableBrand<"core_company">,
              {
                  label: [
                      {
                          hint: "Establishes hierarchy";
                          label: "Parent";
                          language: "en";
                          plural: "Companies";
                      },
                  ];
                  referenceTable: "core_company";
              },
          >;
          phone: Typed<string | number, { columnType: "ph_number"; label: "Phone" }>;
          primary: Typed<boolean, { default: false; label: "Primary" }>;
          profits: Typed<
              string
              | number,
              {
                  attributes: { omit_sys_original: true };
                  columnType: "currency";
                  label: "Profits";
                  maxLength: 20;
              },
          >;
          publicly_traded: Typed<boolean, { label: "Publicly traded" }>;
          rank_tier: Typed<
              string,
              { dropdown: "dropdown_without_none"; label: "Rank tier" },
          >;
          revenue_per_year: Typed<
              string
              | number,
              {
                  attributes: { omit_sys_original: true };
                  columnType: "currency";
                  label: [
                      {
                          hint: "Revenue per year (in billions)";
                          label: "Revenue per year";
                          language: "en";
                          plural: "Revenue per years";
                      },
                  ];
                  maxLength: 20;
              },
          >;
          state: Typed<string, { label: "State / Province" }>;
          stock_price: Typed<string, { label: "Stock price" }>;
          stock_symbol: Typed<string, { label: "Stock symbol" }>;
          street: Typed<string, { label: "Street"; maxLength: 255 }>;
          sys_class_name: Typed<
              string,
              {
                  default: "javascript:current.getTableName();";
                  dropdown: "dropdown_without_none";
                  label: "Class";
                  maxLength: 80;
              },
          >;
          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" }] },
          >;
          theme: Typed<
              | string
              | Record<"sys_ui_theme">
              | ExplicitKey<"sys_ui_theme">
              | TableBrand<"sys_ui_theme">,
              {
                  attributes: { encode_utf8: false };
                  label: "Theme";
                  referenceTable: "sys_ui_theme";
              },
          >;
          vendor: Typed<
              boolean,
              {
                  default: false;
                  label: [
                      {
                          hint: "We buy items from them";
                          label: "Vendor";
                          language: "en";
                          plural: "Vendors";
                      },
                  ];
              },
          >;
          vendor_manager: Typed<
              string
              | string[]
              | Record<"sys_user">[],
              {
                  attributes: { slushbucket_ref_no_expand: true };
                  label: "Vendor manager";
                  referenceTable: "sys_user";
              },
          >;
          vendor_type: Typed<
              string
              | string[]
              | Record<"vendor_type">[],
              {
                  attributes: { no_sort: true; slushbucket_ref_no_expand: true };
                  label: "Vendor type";
                  maxLength: 1024;
                  referenceTable: "vendor_type";
              },
          >;
          website: Typed<
              `http://${string}`
              | `https://${string}`,
              { label: "Website" },
          >;
          zip: Typed<string, { label: "Zip / Postal code" }>;
      }
    • ReadonlytextIndex: true