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

    Variable sys_packageConst

    sys_package: {
        name: "sys_package";
        schema: {
            active: Typed<boolean, { default: true }>;
            enforce_license: Typed<
                "none"
                | "log"
                | "enforce",
                {
                    choices: {
                        enforce: { label: "Required"; sequence: 3 };
                        log: { label: "Monitor"; sequence: 2 };
                        none: { label: "None"; sequence: 1 };
                    };
                    default: "none";
                    label: "Subscription requirement";
                },
            >;
            ide_created: Typed<string, { label: "IDE Created"; maxLength: 10 }>;
            licensable: Typed<boolean, {}>;
            license_category: Typed<string, { label: "Subscription Category" }>;
            license_model: Typed<
                "none"
                | "fulfiller"
                | "producer"
                | "capacity"
                | "mixed"
                | "app_use",
                {
                    choices: {
                        app_use: { label: "Application in use"; sequence: 6 };
                        capacity: { label: "Capacity"; sequence: 4 };
                        fulfiller: { label: "Fulfiller/Requester"; sequence: 2 };
                        mixed: { label: "Mixed"; sequence: 5 };
                        none: { label: "Not applicable"; sequence: 1 };
                        producer: { label: "Producer"; sequence: 3 };
                    };
                    default: "none";
                    label: "Subscription Model";
                },
            >;
            name: Typed<string, { maxLength: 100 }>;
            package_json: Typed<string, { label: "Package JSON" }>;
            source: Typed<
                string,
                {
                    default: "javascript:_getID();\n\n function _getID() {\n var source = current.getValue('source');\n var sys_id = current.getValue('sys_id');\n var scope = current.getValue('scope');\n return gs.nil(scope) || scope == 'global' ? source||sys_id : source||scope;\n }";
                    label: "ID";
                },
            >;
            trackable: Typed<boolean, { default: false }>;
            version: Typed<`${bigint}.${bigint}.${bigint}`, {}>;
        };
    } = ...

    Type Declaration

    • Readonlyname: "sys_package"
    • Readonlyschema: {
          active: Typed<boolean, { default: true }>;
          enforce_license: Typed<
              "none"
              | "log"
              | "enforce",
              {
                  choices: {
                      enforce: { label: "Required"; sequence: 3 };
                      log: { label: "Monitor"; sequence: 2 };
                      none: { label: "None"; sequence: 1 };
                  };
                  default: "none";
                  label: "Subscription requirement";
              },
          >;
          ide_created: Typed<string, { label: "IDE Created"; maxLength: 10 }>;
          licensable: Typed<boolean, {}>;
          license_category: Typed<string, { label: "Subscription Category" }>;
          license_model: Typed<
              "none"
              | "fulfiller"
              | "producer"
              | "capacity"
              | "mixed"
              | "app_use",
              {
                  choices: {
                      app_use: { label: "Application in use"; sequence: 6 };
                      capacity: { label: "Capacity"; sequence: 4 };
                      fulfiller: { label: "Fulfiller/Requester"; sequence: 2 };
                      mixed: { label: "Mixed"; sequence: 5 };
                      none: { label: "Not applicable"; sequence: 1 };
                      producer: { label: "Producer"; sequence: 3 };
                  };
                  default: "none";
                  label: "Subscription Model";
              },
          >;
          name: Typed<string, { maxLength: 100 }>;
          package_json: Typed<string, { label: "Package JSON" }>;
          source: Typed<
              string,
              {
                  default: "javascript:_getID();\n\n function _getID() {\n var source = current.getValue('source');\n var sys_id = current.getValue('sys_id');\n var scope = current.getValue('scope');\n return gs.nil(scope) || scope == 'global' ? source||sys_id : source||scope;\n }";
                  label: "ID";
              },
          >;
          trackable: Typed<boolean, { default: false }>;
          version: Typed<`${bigint}.${bigint}.${bigint}`, {}>;
      }