"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.bulkGetMaintenanceWindowsResultSchema = exports.bulkGetMaintenanceWindowsErrorSchema = void 0;
var _configSchema = require("@kbn/config-schema");
var _schemas = require("../../../schemas");
/*
 * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
 * or more contributor license agreements. Licensed under the Elastic License
 * 2.0; you may not use this file except in compliance with the Elastic License
 * 2.0.
 */

const bulkGetMaintenanceWindowsErrorSchema = _configSchema.schema.object({
  id: _configSchema.schema.string(),
  error: _configSchema.schema.string(),
  message: _configSchema.schema.string(),
  statusCode: _configSchema.schema.number()
});
exports.bulkGetMaintenanceWindowsErrorSchema = bulkGetMaintenanceWindowsErrorSchema;
const bulkGetMaintenanceWindowsResultSchema = _configSchema.schema.object({
  maintenanceWindows: _configSchema.schema.arrayOf(_schemas.maintenanceWindowSchema),
  errors: _configSchema.schema.arrayOf(bulkGetMaintenanceWindowsErrorSchema)
});
exports.bulkGetMaintenanceWindowsResultSchema = bulkGetMaintenanceWindowsResultSchema;