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

      • Optional__namedParameters: Partial<
            {
                accessControls?: {
                    canEditInStudio?: boolean;
                    hideOnUI?: boolean;
                    private?: boolean;
                    restrictTableAccess?: boolean;
                    runtimeAccessTracking?: string;
                    scopedAdministration?: boolean;
                    trackable?: boolean;
                    uninstallBlocked?: boolean;
                    userRole?: string;
                };
                active?: boolean;
                applicationRuntimePolicy?: "none"
                | "tracking"
                | "enforcing";
                appOutputDir?: string;
                clientDir?: string;
                compileOutputDir?: string;
                defaultLanguage?: string;
                dependencies?:
                    | { applications: Record<string, { tables?: string[] }> }
                    | Record<
                        string,
                        objectInputType<
                            {
                                roles: ZodOptional<
                                    ZodUnion<[ZodLiteral<(...)>, ZodArray<(...), (...)>]>,
                                >;
                                tables: ZodOptional<
                                    ZodUnion<[ZodLiteral<(...)>, ZodArray<(...), (...)>]>,
                                >;
                            },
                            ZodUnion<[ZodLiteral<"*">, ZodArray<ZodString, "many">]>,
                            "strip",
                        >,
                    >;
                description?: string;
                fluentDir?: string;
                generatedDir?: string;
                guidedSetupGuid?: string;
                hostedPlugins?: Record<string, string>;
                ignoreTransformTableList?: string[];
                installedAsDependency?: boolean;
                jsLevel?: string;
                licensing?: {
                    enforceLicense?: string;
                    licensable?: boolean;
                    licenseCategory?: string;
                    licenseModel?: string;
                    subscriptionEntitlement?: string;
                };
                linter?: { module: { enabled?: boolean } };
                logo?: string;
                menu?: string;
                metadataDir?: string;
                moduleDir?: string;
                modulePaths?: Record<string, string>;
                name?: string;
                networkPolicies?: {
                    $id?: string;
                    active?: boolean;
                    host?: string;
                    path?: string[];
                    policyType:
                        | "csp_script_src"
                        | "csp_connect_src"
                        | "now_inbound_scoped"
                        | "now_inbound_global"
                        | "now_outbound";
                    resource?: string;
                    scheme?: "http"
                    | "https"
                    | "ws"
                    | "wss";
                    shortDescription?: string;
                    status: "requested" | "allowed" | "denied";
                }[];
                npmUpdateCheck?: number
                | false;
                packageResolverVersion?: string;
                packOutputDir?: string;
                performancePolicy?: {
                    $id?: string;
                    apiTransactionLimit?: number;
                    eventHandlerLimit?: number;
                    interactiveTransactionLimit?: number;
                    mode?: "disabled" | "enforced" | "logOnly";
                    name: string;
                    scheduledJobLimit?: number;
                };
                scope: string;
                scopeId: string;
                scripts?: Record<string, string>;
                serverModulesDir?: string;
                serverModulesExcludePatterns?: string[];
                serverModulesIncludePatterns?: string[];
                sourceDir?: string;
                staticContentDir?: string;
                staticContentPaths?: Record<string, string>;
                tableDefaultLanguage?: string;
                tableOutputFormat?: "component" | "bootstrap";
                taxonomy?: {
                    fallbackFolderName?: string;
                    mapping?: objectInputType<
                        { [x: string]: ZodDefault<ZodString> },
                        ZodString,
                        "strip",
                    >;
                };
                transpiledSourceDir?: string;
                trustedModules?: string[];
                tsconfigPath?: string;
                type?: "configuration"
                | "package";
                typesDir?: string;
                wildcardPolicy?: {
                    $id?: string;
                    active?: boolean;
                    arl?: {
                        active?: boolean;
                        arlWildcard?: (
                            | "scheduled_job_limit"
                            | "event_handler"
                            | "api_transaction_limit"
                            | "interactive_transaction_limit"
                        )[];
                    };
                    network?: {
                        active?: boolean;
                        networkWildcard?: (
                            | "csp_script_src"
                            | "csp_connect_src"
                            | "now_inbound_scoped"
                            | "now_inbound_global"
                            | "now_outbound"
                        )[];
                    };
                    record?: boolean;
                    scripting?: {
                        active?: boolean;
                        scriptingWildcard?: ("sys_script_include" | "scriptable")[];
                    };
                    shortDescription?: string;
                };
            },
        >

      Returns {
          accessControls?: {
              canEditInStudio?: boolean;
              hideOnUI?: boolean;
              private?: boolean;
              restrictTableAccess?: boolean;
              runtimeAccessTracking?: string;
              scopedAdministration?: boolean;
              trackable?: boolean;
              uninstallBlocked?: boolean;
              userRole?: string;
          };
          active?: boolean;
          applicationRuntimePolicy: "none"
          | "tracking"
          | "enforcing";
          appOutputDir: string;
          clientDir: string;
          compileOutputDir?: string;
          defaultLanguage: string;
          dependencies?:
              | { applications: Record<string, { tables?: string[] }> }
              | Record<
                  string,
                  objectOutputType<
                      {
                          roles: ZodOptional<
                              ZodUnion<[ZodLiteral<"*">, ZodArray<ZodString, "many">]>,
                          >;
                          tables: ZodOptional<
                              ZodUnion<[ZodLiteral<"*">, ZodArray<ZodString, "many">]>,
                          >;
                      },
                      ZodUnion<[ZodLiteral<"*">, ZodArray<ZodString, "many">]>,
                      "strip",
                  >,
              >;
          description?: string;
          fluentDir: string;
          generatedDir: string;
          guidedSetupGuid?: string;
          hostedPlugins?: Record<string, string>;
          ignoreTransformTableList: string[];
          installedAsDependency?: boolean;
          jsLevel?: string;
          licensing?: {
              enforceLicense?: string;
              licensable?: boolean;
              licenseCategory?: string;
              licenseModel?: string;
              subscriptionEntitlement?: string;
          };
          linter: { module: { enabled: boolean } };
          logo?: string;
          menu?: string;
          metadataDir: string;
          moduleDir?: string;
          modulePaths: Record<string, string>;
          name?: string;
          networkPolicies?: {
              $id?: string;
              active: boolean;
              host?: string;
              path?: string[];
              policyType:
                  | "csp_script_src"
                  | "csp_connect_src"
                  | "now_inbound_scoped"
                  | "now_inbound_global"
                  | "now_outbound";
              resource?: string;
              scheme?: "http"
              | "https"
              | "ws"
              | "wss";
              shortDescription?: string;
              status: "requested" | "allowed" | "denied";
          }[];
          npmUpdateCheck: number
          | false;
          packageResolverVersion?: string;
          packOutputDir: string;
          performancePolicy?: {
              $id?: string;
              apiTransactionLimit?: number;
              eventHandlerLimit?: number;
              interactiveTransactionLimit?: number;
              mode?: "disabled" | "enforced" | "logOnly";
              name: string;
              scheduledJobLimit?: number;
          };
          scope: string;
          scopeId: string;
          scripts: Record<string, string>;
          serverModulesDir: string;
          serverModulesExcludePatterns: string[];
          serverModulesIncludePatterns: string[];
          sourceDir?: string;
          staticContentDir: string;
          staticContentPaths: Record<string, string>;
          tableDefaultLanguage?: string;
          tableOutputFormat?: "component" | "bootstrap";
          taxonomy: { fallbackFolderName: string; mapping: Record<string, string> };
          transpiledSourceDir?: string;
          trustedModules: string[];
          tsconfigPath?: string;
          type: "configuration" | "package";
          typesDir: string;
          wildcardPolicy?: {
              $id?: string;
              active: boolean;
              arl?: {
                  active: boolean;
                  arlWildcard?: (
                      | "scheduled_job_limit"
                      | "event_handler"
                      | "api_transaction_limit"
                      | "interactive_transaction_limit"
                  )[];
              };
              network?: {
                  active: boolean;
                  networkWildcard?: (
                      | "csp_script_src"
                      | "csp_connect_src"
                      | "now_inbound_scoped"
                      | "now_inbound_global"
                      | "now_outbound"
                  )[];
              };
              record: boolean;
              scripting?: {
                  active: boolean;
                  scriptingWildcard?: ("sys_script_include" | "scriptable")[];
              };
              shortDescription?: string;
          };
      }