/*!
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
export enum SearchParamsKeys {
  AFTER = "after",
  ASSET_EVENT_DATE_RANGE = "asset_event_date_range",
  BEFORE = "before",
  BODY_SEARCH = "body_search",
  BUNDLE_VERSION = "bundle_version",
  CONF_CONTAINS = "conf_contains",
  CONSUMING_ASSET_PATTERN = "consuming_asset_pattern",
  CREATED_AT_GTE = "created_at_gte",
  CREATED_AT_LTE = "created_at_lte",
  CREATED_AT_RANGE = "created_at_range",
  CURSOR = "cursor",
  DAG_DISPLAY_NAME_PATTERN = "dag_display_name_pattern",
  DAG_ID = "dag_id",
  DAG_ID_PATTERN = "dag_id_pattern",
  DAG_VERSION = "dag_version",
  DEPENDENCIES = "dependencies",
  DURATION_GTE = "duration_gte",
  DURATION_LTE = "duration_lte",
  END_DATE = "end_date",
  END_DATE_GTE = "end_date_gte",
  END_DATE_LTE = "end_date_lte",
  END_DATE_RANGE = "end_date_range",
  EVENT_DATE_RANGE = "event_date_range",
  EVENT_TYPE = "event_type",
  EXCLUDED_EVENTS = "excluded_events",
  EXECUTOR_CLASS = "executor_class",
  FAVORITE = "favorite",
  HOSTNAME = "hostname",
  INCLUDED_EVENTS = "included_events",
  JOB_STATE = "job_state",
  JOB_TYPE = "job_type",
  KEY_PATTERN = "key_pattern",
  LAST_DAG_RUN_STATE = "last_dag_run_state",
  LIMIT = "limit",
  LOG_LEVEL = "log_level",
  LOGICAL_DATE_GTE = "logical_date_gte",
  LOGICAL_DATE_LTE = "logical_date_lte",
  LOGICAL_DATE_RANGE = "logical_date_range",
  MAP_INDEX = "map_index",
  MAPPED = "mapped",
  NAME_PATTERN = "name_pattern",
  NEEDS_REVIEW = "needs_review",
  OFFSET = "offset",
  OPERATOR = "operator",
  OPERATOR_NAME_PATTERN = "operator_name_pattern",
  OWNERS = "owners",
  PARTITION_KEY_PATTERN = "partition_key_pattern",
  PAUSED = "paused",
  POOL = "pool",
  POOL_NAME_PATTERN = "pool_name_pattern",
  QUEUE_NAME_PATTERN = "queue_name_pattern",
  RENDERED_MAP_INDEX = "rendered_map_index",
  RESPONDED_BY_USER_NAME = "responded_by_user_name",
  RESPONSE_RECEIVED = "response_received",
  RETRIES = "retries",
  RUN_AFTER_GTE = "run_after_gte",
  RUN_AFTER_LTE = "run_after_lte",
  RUN_AFTER_RANGE = "run_after_range",
  RUN_ID = "run_id",
  RUN_ID_PATTERN = "run_id_pattern",
  RUN_TYPE = "run_type",
  SORT = "sort",
  SOURCE = "log_source",
  START_DATE = "start_date",
  START_DATE_GTE = "start_date_gte",
  START_DATE_LTE = "start_date_lte",
  START_DATE_RANGE = "start_date_range",
  STATE = "state",
  SUBJECT_SEARCH = "subject_search",
  TAGS = "tags",
  TAGS_MATCH_MODE = "tags_match_mode",
  TASK_ID = "task_id",
  TASK_ID_PATTERN = "task_id_pattern",
  TASK_STATE = "task_state",
  TRIGGER_RULE = "trigger_rule",
  TRIGGERING_USER_NAME_PATTERN = "triggering_user_name_pattern",
  TRY_NUMBER = "try_number",
  USER = "user",
  VERSION_NUMBER = "version_number",
}

export type SearchParamsKeysType = Record<keyof typeof SearchParamsKeys, string>;
