"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.maintenanceWindowMappings = void 0; /* * 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 maintenanceWindowMappings = { dynamic: false, properties: { enabled: { type: 'boolean' }, events: { type: 'date_range', format: 'epoch_millis||strict_date_optional_time' } // NO NEED TO BE INDEXED // title: { // type: 'text', // fields: { // keyword: { // type: 'keyword', // }, // }, // }, // duration: { // type: 'long', // }, // expirationDate: { // type: 'date', // }, // rRule: rRuleMappingsField, // createdBy: { // index: false, // type: 'keyword', // }, // updatedBy: { // index: false, // type: 'keyword', // }, // createdAt: { // index: false, // type: 'date', // }, // updatedAt: { // index: false, // type: 'date', // }, } }; exports.maintenanceWindowMappings = maintenanceWindowMappings;