/*
 * Copyright OpenSearch Contributors
 * SPDX-License-Identifier: Apache-2.0
 *
 * The OpenSearch Contributors require contributions made to
 * this file be licensed under the Apache-2.0 license or a
 * compatible open source license.
 *
 */

/*
 * This file was generated from the OpenSearch API Spec. Do NOT edit it
 * manually. If you want to make changes, either update the spec or
 * modify the API generator.
 */

import * as Common from './_common'

export type RecoveryRecord = {
  bytes?: string;
  bytes_percent?: Common.PercentageString;
  bytes_recovered?: string;
  bytes_total?: string;
  files?: string;
  files_percent?: Common.PercentageString;
  files_recovered?: string;
  files_total?: string;
  index?: Common.IndexName;
  repository?: string;
  shard?: string;
  snapshot?: string;
  source_host?: string;
  source_node?: string;
  stage?: string;
  start_time?: Common.DateTime;
  start_time_millis?: Common.StringifiedEpochTimeUnitMillis;
  stop_time?: Common.DateTime;
  stop_time_millis?: Common.StringifiedEpochTimeUnitMillis;
  target_host?: string;
  target_node?: string;
  time?: Common.Duration;
  translog_ops?: string;
  translog_ops_percent?: Common.PercentageString;
  translog_ops_recovered?: string;
  type?: string;
}

