From 96062d38eed64469a565e72d95a61728735e9cfa Mon Sep 17 00:00:00 2001 From: Tomas Della Vedova Date: Wed, 27 Jan 2021 10:14:17 +0100 Subject: [PATCH] Added style guide (#89) --- .github/PULL_REQUEST_TEMPLATE.md | 1 + .github/workflows/code-format.yml | 25 + Makefile | 4 + README.md | 141 -- docs/behaviors.md | 43 + docs/modeling-guide.md | 140 ++ docs/special-classes.md | 42 - docs/style-guide.md | 95 ++ specification/.prettierignore | 1 + specification/.prettierrc.json | 10 + specification/package-lock.json | 1491 +---------------- specification/package.json | 24 +- specification/specs/aggregations/Aggregate.ts | 179 +- .../specs/aggregations/Aggregation.ts | 4 +- .../aggregations/AggregationContainer.ts | 130 +- .../aggregations/bucket/BucketAggregation.ts | 2 +- .../AdjacencyMatrixAggregation.ts | 2 +- .../AutoDateHistogramAggregation.ts | 18 +- .../bucket/children/ChildrenAggregation.ts | 2 +- .../bucket/composite/CompositeAggregation.ts | 6 +- .../composite/CompositeAggregationSource.ts | 10 +- .../DateHistogramAggregation.ts | 28 +- .../bucket/date_range/DateRangeAggregation.ts | 10 +- .../bucket/date_range/DateRangeExpression.ts | 6 +- .../bucket/filters/FiltersAggregation.ts | 6 +- .../geo_distance/GeoDistanceAggregation.ts | 10 +- .../geo_hash_grid/GeoHashGridAggregation.ts | 10 +- .../geo_tile_grid/GeoTileGridAggregation.ts | 8 +- .../bucket/global/GlobalAggregation.ts | 3 +- .../bucket/histogram/ExtendedBounds.ts | 4 +- .../bucket/histogram/HistogramAggregation.ts | 20 +- .../bucket/histogram/HistogramOrder.ts | 14 +- .../bucket/ip_range/IpRangeAggregation.ts | 4 +- .../ip_range/IpRangeAggregationRange.ts | 6 +- .../bucket/missing/MissingAggregation.ts | 4 +- .../bucket/nested/NestedAggregation.ts | 2 +- .../bucket/parent/ParentAggregation.ts | 2 +- .../bucket/range/RangeAggregation.ts | 6 +- .../bucket/rare_terms/RareTermsAggregation.ts | 14 +- .../ReverseNestedAggregation.ts | 2 +- .../bucket/sampler/SamplerAggregation.ts | 8 +- .../SignificantTermsAggregation.ts | 28 +- .../heuristics/ChiSquareHeuristic.ts | 4 +- .../GoogleNormalizedDistanceHeuristic.ts | 2 +- .../heuristics/MutualInformationHeuristic.ts | 4 +- .../heuristics/PercentageScoreHeuristic.ts | 3 +- .../heuristics/ScriptedHeuristic.ts | 2 +- .../SignificantTextAggregation.ts | 32 +- .../bucket/terms/TermsAggregation.ts | 26 +- .../aggregations/bucket/terms/TermsInclude.ts | 6 +- .../VariableWidthHistogramAggregation.ts | 8 +- .../aggregations/matrix/MatrixAggregation.ts | 4 +- .../matrix_stats/MatrixStatsAggregation.ts | 2 +- .../metric/FormattableMetricAggregation.ts | 2 +- .../aggregations/metric/MetricAggregation.ts | 6 +- .../metric/average/AverageAggregation.ts | 3 +- .../metric/boxplot/BoxplotAggregation.ts | 2 +- .../cardinality/CardinalityAggregation.ts | 6 +- .../ExtendedStatsAggregation.ts | 4 +- .../metric/geo_bounds/GeoBoundsAggregation.ts | 2 +- .../geo_centroid/GeoCentroidAggregation.ts | 3 +- .../aggregations/metric/max/MaxAggregation.ts | 3 +- .../MedianAbsoluteDeviationAggregation.ts | 6 +- .../aggregations/metric/min/MinAggregation.ts | 3 +- .../PercentileRanksAggregation.ts | 10 +- .../percentiles/PercentilesAggregation.ts | 16 +- .../ScriptedMetricAggregation.ts | 10 +- .../metric/stats/StatsAggregation.ts | 3 +- .../string_stats/StringStatsAggregation.ts | 8 +- .../aggregations/metric/sum/SumAggregation.ts | 3 +- .../metric/top_hits/TopHitsAggregation.ts | 29 +- .../top_metrics/TopMetricsAggregation.ts | 6 +- .../metric/top_metrics/TopMetricsValue.ts | 2 +- .../value_count/ValueCountAggregation.ts | 3 +- .../WeightedAverageAggregation.ts | 8 +- .../weighted_average/WeightedAverageValue.ts | 6 +- .../aggregations/pipeline/BucketsPath.ts | 5 +- .../pipeline/PipelineAggregation.ts | 6 +- .../AverageBucketAggregation.ts | 3 +- .../bucket_script/BucketScriptAggregation.ts | 2 +- .../BucketSelectorAggregation.ts | 2 +- .../bucket_sort/BucketSortAggregation.ts | 8 +- .../CumulativeCardinalityAggregation.ts | 3 +- .../CumulativeSumAggregation.ts | 3 +- .../derivative/DerivativeAggregation.ts | 3 +- .../ExtendedStatsBucketAggregation.ts | 2 +- .../max_bucket/MaxBucketAggregation.ts | 3 +- .../min_bucket/MinBucketAggregation.ts | 3 +- .../MovingAverageAggregation.ts | 10 +- .../models/MovingAverageModel.ts | 2 +- .../MovingFunctionAggregation.ts | 6 +- .../PercentilesBucketAggregation.ts | 2 +- .../SerialDifferencingAggregation.ts | 2 +- .../stats_bucket/StatsBucketAggregation.ts | 3 +- .../sum_bucket/SumBucketAggregation.ts | 3 +- specification/specs/analysis/StopWords.ts | 2 +- .../specs/analysis/analyzers/AnalyzerBase.ts | 4 +- .../analysis/analyzers/CustomAnalyzer.ts | 10 +- .../analysis/analyzers/FingerprintAnalyzer.ts | 10 +- .../analysis/analyzers/KeywordAnalyzer.ts | 3 +- .../analysis/analyzers/LanguageAnalyzer.ts | 10 +- .../specs/analysis/analyzers/NoriAnalyzer.ts | 6 +- .../analysis/analyzers/PatternAnalyzer.ts | 8 +- .../analysis/analyzers/SimpleAnalyzer.ts | 3 +- .../analysis/analyzers/SnowballAnalyzer.ts | 4 +- .../analysis/analyzers/StandardAnalyzer.ts | 4 +- .../specs/analysis/analyzers/StopAnalyzer.ts | 4 +- .../analysis/analyzers/WhitespaceAnalyzer.ts | 3 +- .../analysis/char_filters/CharFilterBase.ts | 11 +- .../char_filters/HtmlStripCharFilter.ts | 3 +- .../char_filters/MappingCharFilter.ts | 4 +- .../char_filters/PatternReplaceCharFilter.ts | 6 +- .../specs/analysis/plugins/icu/IcuAnalyzer.ts | 4 +- .../plugins/icu/IcuCollationTokenFilter.ts | 22 +- .../plugins/icu/IcuFoldingTokenFilter.ts | 2 +- .../plugins/icu/IcuNormalizationCharFilter.ts | 4 +- .../icu/IcuNormalizationTokenFilter.ts | 2 +- .../analysis/plugins/icu/IcuTokenizer.ts | 2 +- .../plugins/icu/IcuTransformTokenFilter.ts | 4 +- .../plugins/kuromoji/KuromojiAnalyzer.ts | 4 +- .../KuromojiIterationMarkCharFilter.ts | 4 +- .../KuromojiPartOfSpeechTokenFilter.ts | 2 +- .../KuromojiReadingFormTokenFilter.ts | 2 +- .../kuromoji/KuromojiStemmerTokenFilter.ts | 2 +- .../plugins/kuromoji/KuromojiTokenizer.ts | 12 +- .../plugins/phonetic/PhoneticTokenFilter.ts | 12 +- .../token_filters/AsciiFoldingTokenFilter.ts | 2 +- .../token_filters/CommonGramsTokenFilter.ts | 8 +- .../token_filters/ConditionTokenFilter.ts | 4 +- .../token_filters/ElisionTokenFilter.ts | 4 +- .../token_filters/FingerprintTokenFilter.ts | 4 +- .../token_filters/HunspellTokenFilter.ts | 8 +- .../token_filters/KStemTokenFilter.ts | 3 +- .../token_filters/KeepTypesTokenFilter.ts | 4 +- .../token_filters/KeepWordsTokenFilter.ts | 6 +- .../token_filters/KeywordMarkerTokenFilter.ts | 8 +- .../token_filters/LengthTokenFilter.ts | 4 +- .../LimitTokenCountTokenFilter.ts | 4 +- .../token_filters/LowercaseTokenFilter.ts | 2 +- .../token_filters/MultiplexerTokenFilter.ts | 4 +- .../token_filters/NGramTokenFilter.ts | 4 +- .../NoriPartOfSpeechTokenFilter.ts | 2 +- .../PatternCaptureTokenFilter.ts | 4 +- .../PatternReplaceTokenFilter.ts | 6 +- .../token_filters/PorterStemTokenFilter.ts | 3 +- .../token_filters/PredicateTokenFilter.ts | 2 +- .../RemoveDuplicatesTokenFilter.ts | 3 +- .../token_filters/ReverseTokenFilter.ts | 3 +- .../token_filters/SnowballTokenFilter.ts | 2 +- .../StemmerOverrideTokenFilter.ts | 4 +- .../token_filters/StemmerTokenFilter.ts | 2 +- .../analysis/token_filters/TokenFilterBase.ts | 81 +- .../analysis/token_filters/TrimTokenFilter.ts | 3 +- .../token_filters/TruncateTokenFilter.ts | 2 +- .../token_filters/UniqueTokenFilter.ts | 2 +- .../token_filters/UppercaseTokenFilter.ts | 3 +- .../CompoundWordTokenFilterBase.ts | 14 +- .../DictionaryDecompounderTokenFilter.ts | 3 +- .../HyphenationDecompounderTokenFilter.ts | 3 +- .../DelimitedPayloadTokenFilter.ts | 4 +- .../edge_n_gram/EdgeNGramTokenFilter.ts | 6 +- .../shingle/ShingleTokenFilter.ts | 12 +- .../token_filters/stop/StopTokenFilter.ts | 8 +- .../synonym/SynonymGraphTokenFilter.ts | 14 +- .../synonym/SynonymTokenFilter.ts | 14 +- .../WordDelimiterTokenFilter.ts | 26 +- .../WordDelimiterGraphTokenFilter.ts | 28 +- .../analysis/tokenizers/CharGroupTokenizer.ts | 2 +- .../analysis/tokenizers/KeywordTokenizer.ts | 2 +- .../analysis/tokenizers/LetterTokenizer.ts | 3 +- .../analysis/tokenizers/LowercaseTokenizer.ts | 3 +- .../analysis/tokenizers/NoriTokenizer.ts | 8 +- .../tokenizers/PathHierarchyTokenizer.ts | 10 +- .../analysis/tokenizers/PatternTokenizer.ts | 6 +- .../analysis/tokenizers/StandardTokenizer.ts | 2 +- .../analysis/tokenizers/TokenizerBase.ts | 27 +- .../tokenizers/UaxEmailUrlTokenizer.ts | 2 +- .../tokenizers/WhitespaceTokenizer.ts | 2 +- .../tokenizers/n_gram/EdgeNGramTokenizer.ts | 8 +- .../tokenizers/n_gram/NGramTokenizer.ts | 8 +- specification/specs/behaviors.ts | 1 - specification/specs/cat/CatBase.ts | 14 +- .../specs/cat/cat_aliases/CatAliasesRecord.ts | 12 +- .../cat/cat_aliases/CatAliasesRequest.ts | 9 +- .../cat/cat_aliases/CatAliasesResponse.ts | 4 +- .../cat/cat_allocation/CatAllocationRecord.ts | 20 +- .../cat_allocation/CatAllocationRequest.ts | 9 +- .../cat_allocation/CatAllocationResponse.ts | 4 +- .../specs/cat/cat_count/CatCountRecord.ts | 6 +- .../specs/cat/cat_count/CatCountRequest.ts | 10 +- .../specs/cat/cat_count/CatCountResponse.ts | 4 +- .../CatDataFrameAnalyticsRecord.ts | 32 +- .../CatDataFrameAnalyticsRequest.ts | 11 +- .../CatDataFrameAnalyticsResponse.ts | 4 +- .../cat/cat_datafeeds/CatDatafeedsRecord.ts | 24 +- .../cat/cat_datafeeds/CatDatafeedsRequest.ts | 9 +- .../cat/cat_datafeeds/CatDatafeedsResponse.ts | 4 +- .../cat/cat_fielddata/CatFielddataRecord.ts | 14 +- .../cat/cat_fielddata/CatFielddataRequest.ts | 9 +- .../cat/cat_fielddata/CatFielddataResponse.ts | 4 +- .../specs/cat/cat_health/CatHealthRecord.ts | 24 +- .../specs/cat/cat_health/CatHealthRequest.ts | 7 +- .../specs/cat/cat_health/CatHealthResponse.ts | 4 +- .../specs/cat/cat_help/CatHelpRecord.ts | 2 +- .../specs/cat/cat_help/CatHelpRequest.ts | 8 +- .../specs/cat/cat_help/CatHelpResponse.ts | 4 +- .../specs/cat/cat_indices/CatIndicesRecord.ts | 22 +- .../cat/cat_indices/CatIndicesRequest.ts | 17 +- .../cat/cat_indices/CatIndicesResponse.ts | 4 +- .../specs/cat/cat_jobs/CatJobsRecord.ts | 110 +- .../specs/cat/cat_jobs/CatJobsRequest.ts | 11 +- .../specs/cat/cat_jobs/CatJobsResponse.ts | 4 +- .../specs/cat/cat_master/CatMasterRecord.ts | 6 +- .../specs/cat/cat_master/CatMasterRequest.ts | 8 +- .../specs/cat/cat_master/CatMasterResponse.ts | 4 +- .../CatNodeAttributesRecord.ts | 16 +- .../CatNodeAttributesRequest.ts | 8 +- .../CatNodeAttributesResponse.ts | 4 +- .../specs/cat/cat_nodes/CatNodesRecord.ts | 142 +- .../specs/cat/cat_nodes/CatNodesRequest.ts | 9 +- .../specs/cat/cat_nodes/CatNodesResponse.ts | 4 +- .../CatPendingTasksRecord.ts | 8 +- .../CatPendingTasksRequest.ts | 8 +- .../CatPendingTasksResponse.ts | 4 +- .../specs/cat/cat_plugins/CatPluginsRecord.ts | 16 +- .../cat/cat_plugins/CatPluginsRequest.ts | 8 +- .../cat/cat_plugins/CatPluginsResponse.ts | 4 +- .../cat/cat_recovery/CatRecoveryRecord.ts | 44 +- .../cat/cat_recovery/CatRecoveryRequest.ts | 13 +- .../cat/cat_recovery/CatRecoveryResponse.ts | 4 +- .../cat_repositories/CatRepositoriesRecord.ts | 4 +- .../CatRepositoriesRequest.ts | 8 +- .../CatRepositoriesResponse.ts | 4 +- .../cat/cat_segments/CatSegmentsRecord.ts | 30 +- .../cat/cat_segments/CatSegmentsRequest.ts | 9 +- .../cat/cat_segments/CatSegmentsResponse.ts | 4 +- .../specs/cat/cat_shards/CatShardsRecord.ts | 116 +- .../specs/cat/cat_shards/CatShardsRequest.ts | 9 +- .../specs/cat/cat_shards/CatShardsResponse.ts | 4 +- .../cat/cat_snapshots/CatSnapshotsRecord.ts | 22 +- .../cat/cat_snapshots/CatSnapshotsRequest.ts | 9 +- .../cat/cat_snapshots/CatSnapshotsResponse.ts | 4 +- .../specs/cat/cat_tasks/CatTasksRecord.ts | 18 +- .../specs/cat/cat_tasks/CatTasksRequest.ts | 13 +- .../specs/cat/cat_tasks/CatTasksResponse.ts | 4 +- .../cat/cat_templates/CatTemplatesRecord.ts | 10 +- .../cat/cat_templates/CatTemplatesRequest.ts | 10 +- .../cat/cat_templates/CatTemplatesResponse.ts | 4 +- .../cat_thread_pool/CatThreadPoolRecord.ts | 40 +- .../cat_thread_pool/CatThreadPoolRequest.ts | 9 +- .../cat_thread_pool/CatThreadPoolResponse.ts | 4 +- .../CatTrainedModelsRecord.ts | 28 +- .../CatTrainedModelsRequest.ts | 15 +- .../CatTrainedModelsResponse.ts | 4 +- .../cat/cat_transforms/CatTransformsRecord.ts | 54 +- .../cat_transforms/CatTransformsRequest.ts | 13 +- .../cat_transforms/CatTransformsResponse.ts | 4 +- specification/specs/cluster/NodeStatistics.ts | 8 +- .../specs/cluster/NodesResponseBase.ts | 2 +- .../AllocationDecision.ts | 6 +- .../AllocationStore.ts | 12 +- .../ClusterAllocationExplainRequest.ts | 12 +- .../ClusterAllocationExplainResponse.ts | 48 +- .../cluster_allocation_explain/ClusterInfo.ts | 36 +- .../cluster_allocation_explain/CurrentNode.ts | 10 +- .../NodeAllocationExplanation.ts | 16 +- .../UnassignedInformation.ts | 10 +- .../cluster_health/ClusterHealthRequest.ts | 29 +- .../cluster_health/ClusterHealthResponse.ts | 32 +- .../cluster_health/IndexHealthStats.ts | 18 +- .../cluster_health/ShardHealthStats.ts | 12 +- .../ClusterPendingTasksRequest.ts | 9 +- .../ClusterPendingTasksResponse.ts | 2 +- .../cluster_pending_tasks/PendingTask.ts | 10 +- .../cluster_reroute/ClusterRerouteDecision.ts | 6 +- .../ClusterRerouteExplanation.ts | 6 +- .../ClusterRerouteParameters.ts | 12 +- .../cluster_reroute/ClusterRerouteRequest.ts | 16 +- .../cluster_reroute/ClusterRerouteResponse.ts | 4 +- .../commands/ClusterRerouteCommand.ts | 4 +- .../ClusterGetSettingsRequest.ts | 13 +- .../ClusterGetSettingsResponse.ts | 4 +- .../ClusterPutSettingsRequest.ts | 12 +- .../ClusterPutSettingsResponse.ts | 6 +- .../cluster_state/ClusterStateRequest.ts | 25 +- .../cluster_state/ClusterStateResponse.ts | 14 +- .../cluster_stats/ClusterFileSystem.ts | 6 +- .../ClusterIndicesShardsIndexStats.ts | 6 +- .../ClusterIndicesShardsStats.ts | 8 +- .../cluster_stats/ClusterIndicesStats.ts | 16 +- .../cluster_stats/ClusterIngestStats.ts | 4 +- .../specs/cluster/cluster_stats/ClusterJvm.ts | 8 +- .../cluster/cluster_stats/ClusterJvmMemory.ts | 4 +- .../cluster_stats/ClusterJvmVersion.ts | 14 +- .../cluster_stats/ClusterNetworkTypes.ts | 4 +- .../cluster/cluster_stats/ClusterNodeCount.ts | 12 +- .../cluster_stats/ClusterNodesStats.ts | 22 +- .../ClusterOperatingSystemName.ts | 4 +- .../ClusterOperatingSystemStats.ts | 10 +- .../cluster/cluster_stats/ClusterProcess.ts | 4 +- .../cluster_stats/ClusterProcessCpu.ts | 2 +- .../ClusterProcessOpenFileDescriptors.ts | 6 +- .../cluster_stats/ClusterProcessorStats.ts | 8 +- .../cluster_stats/ClusterShardMetrics.ts | 6 +- .../cluster_stats/ClusterStatsRequest.ts | 11 +- .../cluster_stats/ClusterStatsResponse.ts | 12 +- .../cluster_stats/NodePackagingType.ts | 6 +- .../OperatingSystemMemoryInfo.ts | 10 +- .../nodes_hot_threads/HotThreadInformation.ts | 8 +- .../NodesHotThreadsRequest.ts | 19 +- .../NodesHotThreadsResponse.ts | 2 +- .../ClusterOperatingSystemPrettyNane.ts | 4 +- .../specs/cluster/nodes_info/NodeInfo.ts | 40 +- .../specs/cluster/nodes_info/NodeInfoHttp.ts | 8 +- .../cluster/nodes_info/NodeInfoJvmMemory.ts | 20 +- .../cluster/nodes_info/NodeInfoMemory.ts | 4 +- .../cluster/nodes_info/NodeInfoNetwork.ts | 4 +- .../nodes_info/NodeInfoNetworkInterface.ts | 6 +- .../specs/cluster/nodes_info/NodeInfoOSCPU.ts | 16 +- .../cluster/nodes_info/NodeInfoTransport.ts | 4 +- .../specs/cluster/nodes_info/NodeJvmInfo.ts | 18 +- .../nodes_info/NodeOperatingSystemInfo.ts | 18 +- .../cluster/nodes_info/NodeProcessInfo.ts | 6 +- .../cluster/nodes_info/NodeThreadPoolInfo.ts | 12 +- .../cluster/nodes_info/NodesInfoRequest.ts | 13 +- .../cluster/nodes_info/NodesInfoResponse.ts | 4 +- .../nodes_stats/AdaptiveSelectionStats.ts | 14 +- .../specs/cluster/nodes_stats/BreakerStats.ts | 12 +- .../specs/cluster/nodes_stats/CPUStats.ts | 14 +- .../cluster/nodes_stats/DataPathStats.ts | 32 +- .../nodes_stats/ExtendedMemoryStats.ts | 4 +- .../cluster/nodes_stats/FileSystemStats.ts | 6 +- .../GarbageCollectionGenerationStats.ts | 6 +- .../nodes_stats/GarbageCollectionStats.ts | 2 +- .../specs/cluster/nodes_stats/HttpStats.ts | 4 +- .../cluster/nodes_stats/JvmClassesStats.ts | 6 +- .../specs/cluster/nodes_stats/JvmPool.ts | 16 +- .../cluster/nodes_stats/LoadAverageStats.ts | 6 +- .../specs/cluster/nodes_stats/MemoryStats.ts | 12 +- .../cluster/nodes_stats/NodeBufferPool.ts | 10 +- .../specs/cluster/nodes_stats/NodeJvmStats.ts | 16 +- .../specs/cluster/nodes_stats/NodeStats.ts | 36 +- .../cluster/nodes_stats/NodesStatsRequest.ts | 27 +- .../cluster/nodes_stats/NodesStatsResponse.ts | 4 +- .../nodes_stats/OperatingSystemStats.ts | 8 +- .../specs/cluster/nodes_stats/ProcessStats.ts | 8 +- .../specs/cluster/nodes_stats/ScriptStats.ts | 4 +- .../cluster/nodes_stats/ThreadCountStats.ts | 12 +- .../specs/cluster/nodes_stats/ThreadStats.ts | 4 +- .../nodes_stats/TotalFileSystemStats.ts | 12 +- .../cluster/nodes_stats/TransportStats.ts | 14 +- .../nodes_stats/statistics/IngestStats.ts | 10 +- .../statistics/KeyedProcessorStats.ts | 6 +- .../nodes_stats/statistics/NodeIngestStats.ts | 4 +- .../nodes_usage/NodeUsageInformation.ts | 8 +- .../cluster/nodes_usage/NodesUsageRequest.ts | 11 +- .../cluster/nodes_usage/NodesUsageResponse.ts | 4 +- .../specs/cluster/ping/PingRequest.ts | 8 +- .../ReloadSecureSettingsRequest.ts | 9 +- .../ReloadSecureSettingsResponse.ts | 4 +- .../specs/cluster/remote_info/RemoteInfo.ts | 12 +- .../cluster/remote_info/RemoteInfoRequest.ts | 8 +- .../root_node_info/RootNodeInfoRequest.ts | 8 +- .../root_node_info/RootNodeInfoResponse.ts | 10 +- .../cancel_tasks/CancelTasksRequest.ts | 13 +- .../cancel_tasks/CancelTasksResponse.ts | 4 +- .../get_task/GetTaskRequest.ts | 11 +- .../get_task/GetTaskResponse.ts | 4 +- .../task_management/get_task/TaskInfo.ts | 22 +- .../list_tasks/ListTasksRequest.ts | 19 +- .../list_tasks/ListTasksResponse.ts | 4 +- .../list_tasks/TaskExecutingNode.ts | 14 +- .../task_management/list_tasks/TaskRetries.ts | 4 +- .../task_management/list_tasks/TaskState.ts | 22 +- .../task_management/list_tasks/TaskStatus.ts | 22 +- specification/specs/common.ts | 85 +- .../specs/common/CustomResponseBuilderBase.ts | 3 +- specification/specs/common/Dictionary.ts | 1 - .../specs/common/ElasticsearchResponse.ts | 3 +- .../specs/common/ElasticsearchUrlFormatter.ts | 3 +- specification/specs/common/ExpandWildcards.ts | 3 +- specification/specs/common/ShardFailure.ts | 10 +- specification/specs/common/UrlParameter.ts | 3 +- .../request/RequestBase.ts | 10 +- .../response/AcknowledgedResponseBase.ts | 2 +- .../response/DictionaryResponseBase.ts | 3 +- .../response/DynamicResponseBase.ts | 3 +- .../response/ElasticsearchVersionInfo.ts | 18 +- .../response/ErrorResponseBase.ts | 4 +- .../response/IndicesResponseBase.ts | 2 +- .../response/ShardsOperationResponseBase.ts | 2 +- .../specs/common_abstractions/union/Union.ts | 5 +- .../common_options/date_math/DateMathTime.ts | 6 +- .../specs/common_options/geo/Distance.ts | 6 +- .../common_options/hit/ClusterStatistics.ts | 6 +- .../common_options/hit/ShardStatistics.ts | 10 +- .../common_options/range/AggregationRange.ts | 6 +- .../specs/common_options/scripting/Script.ts | 10 +- .../common_options/scripting/ScriptField.ts | 2 +- .../common_options/stats/CompletionStats.ts | 4 +- .../specs/common_options/stats/DocStats.ts | 4 +- .../common_options/stats/FielddataStats.ts | 6 +- .../specs/common_options/stats/FlushStats.ts | 8 +- .../specs/common_options/stats/GetStats.ts | 20 +- .../common_options/stats/IndexingStats.ts | 28 +- .../specs/common_options/stats/MergesStats.ts | 32 +- .../specs/common_options/stats/PluginStats.ts | 16 +- .../common_options/stats/QueryCacheStats.ts | 14 +- .../common_options/stats/RecoveryStats.ts | 8 +- .../common_options/stats/RefreshStats.ts | 12 +- .../common_options/stats/RequestCacheStats.ts | 10 +- .../specs/common_options/stats/SearchStats.ts | 28 +- .../common_options/stats/SegmentsStats.ts | 28 +- .../specs/common_options/stats/StoreStats.ts | 6 +- .../common_options/stats/TranslogStats.ts | 14 +- .../specs/common_options/stats/WarmerStats.ts | 8 +- .../multiple/BulkIndexByScrollFailure.ts | 10 +- .../specs/document/multiple/Retries.ts | 4 +- .../document/multiple/bulk/BulkRequest.ts | 30 +- .../document/multiple/bulk/BulkResponse.ts | 8 +- .../bulk/bulk_operation/BulkOperation.ts | 28 +- .../BulkResponseItemBase.ts | 44 +- .../delete_by_query/DeleteByQueryRequest.ts | 76 +- .../delete_by_query/DeleteByQueryResponse.ts | 28 +- .../DeleteByQueryRethrottleRequest.ts | 9 +- .../DeleteByQueryRethrottleResponse.ts | 3 +- .../multi_get/request/MultiGetRequest.ts | 42 +- .../multi_get/response/MultiGetResponse.ts | 22 +- .../MultiTermVectorOperation.ts | 26 +- .../MultiTermVectorsRequest.ts | 32 +- .../MultiTermVectorsResponse.ts | 2 +- .../multiple/reindex/ReindexDestination.ts | 10 +- .../multiple/reindex/ReindexRequest.ts | 30 +- .../multiple/reindex/ReindexResponse.ts | 24 +- .../multiple/reindex/ReindexRouting.ts | 5 +- .../multiple/reindex/ReindexSource.ts | 14 +- .../document/multiple/reindex/RemoteSource.ts | 10 +- .../reindex_rethrottle/ReindexNode.ts | 14 +- .../ReindexRethrottleRequest.ts | 9 +- .../ReindexRethrottleResponse.ts | 2 +- .../reindex_rethrottle/ReindexStatus.ts | 22 +- .../reindex_rethrottle/ReindexTask.ts | 18 +- .../update_by_query/UpdateByQueryRequest.ts | 82 +- .../update_by_query/UpdateByQueryResponse.ts | 22 +- .../UpdateByQueryRethrottleRequest.ts | 9 +- .../document/single/WriteResponseBase.ts | 18 +- .../document/single/create/CreateRequest.ts | 26 +- .../document/single/create/CreateResponse.ts | 3 +- .../document/single/delete/DeleteRequest.ts | 27 +- .../document/single/delete/DeleteResponse.ts | 3 +- .../single/exists/DocumentExistsRequest.ts | 31 +- .../single/exists/DocumentExistsResponse.ts | 4 +- .../specs/document/single/get/GetRequest.ts | 33 +- .../specs/document/single/get/GetResponse.ts | 20 +- .../document/single/index/IndexRequest.ts | 34 +- .../document/single/index/IndexResponse.ts | 3 +- .../document/single/source/SourceRequest.ts | 29 +- .../document/single/source/SourceResponse.ts | 2 +- .../source_exists/SourceExistsRequest.ts | 29 +- .../single/term_vectors/FieldStatistics.ts | 6 +- .../single/term_vectors/TermVector.ts | 4 +- .../single/term_vectors/TermVectorFilter.ts | 14 +- .../single/term_vectors/TermVectorTerm.ts | 10 +- .../single/term_vectors/TermVectorsRequest.ts | 36 +- .../term_vectors/TermVectorsResponse.ts | 14 +- .../single/term_vectors/TermVectorsResult.ts | 12 +- .../document/single/term_vectors/Token.ts | 8 +- .../document/single/update/UpdateRequest.ts | 48 +- .../document/single/update/UpdateResponse.ts | 2 +- .../index_settings/IndexState.ts | 6 +- .../specs/indices/alias_management/Alias.ts | 12 +- .../alias_management/AliasDefinition.ts | 10 +- .../alias/BulkAliasRequest.ts | 8 +- .../alias/BulkAliasResponse.ts | 3 +- .../alias/actions/AliasAction.ts | 5 +- .../alias_exists/AliasExistsRequest.ts | 17 +- .../delete_alias/DeleteAliasRequest.ts | 13 +- .../delete_alias/DeleteAliasResponse.ts | 3 +- .../get_alias/GetAliasRequest.ts | 17 +- .../get_alias/GetAliasResponse.ts | 5 +- .../get_alias/IndexAliases.ts | 2 +- .../put_alias/PutAliasRequest.ts | 20 +- .../put_alias/PutAliasResponse.ts | 3 +- .../specs/indices/analyze/AnalyzeDetail.ts | 10 +- .../specs/indices/analyze/AnalyzeRequest.ts | 27 +- .../specs/indices/analyze/AnalyzeResponse.ts | 4 +- .../specs/indices/analyze/AnalyzeToken.ts | 12 +- .../specs/indices/analyze/AnalyzerDetail.ts | 6 +- .../specs/indices/analyze/CharFilterDetail.ts | 4 +- .../indices/analyze/ExplainAnalyzeToken.ts | 18 +- .../specs/indices/analyze/TokenDetail.ts | 4 +- .../clone_index/CloneIndexRequest.ts | 16 +- .../clone_index/CloneIndexResponse.ts | 4 +- .../create_index/CreateIndexRequest.ts | 18 +- .../create_index/CreateIndexResponse.ts | 4 +- .../delete_index/DeleteIndexRequest.ts | 17 +- .../delete_index/DeleteIndexResponse.ts | 3 +- .../freeze_index/FreezeIndexRequest.ts | 19 +- .../freeze_index/FreezeIndexResponse.ts | 2 +- .../get_index/GetIndexRequest.ts | 23 +- .../indices_exists/IndexExistsRequest.ts | 19 +- .../close_index/CloseIndexRequest.ts | 19 +- .../close_index/CloseIndexResponse.ts | 4 +- .../close_index/CloseIndexResult.ts | 4 +- .../close_index/CloseShardResult.ts | 2 +- .../open_index/OpenIndexRequest.ts | 19 +- .../open_index/OpenIndexResponse.ts | 3 +- .../rollover_index/RolloverConditions.ts | 6 +- .../rollover_index/RolloverIndexRequest.ts | 24 +- .../rollover_index/RolloverIndexResponse.ts | 12 +- .../shrink_index/ShrinkIndexRequest.ts | 16 +- .../shrink_index/ShrinkIndexResponse.ts | 2 +- .../split_index/SplitIndexRequest.ts | 16 +- .../split_index/SplitIndexResponse.ts | 2 +- .../types_exists/TypeExistsRequest.ts | 17 +- .../unfreeze_index/UnfreezeIndexRequest.ts | 19 +- .../unfreeze_index/UnfreezeIndexResponse.ts | 2 +- .../GetIndexSettingsRequest.ts | 23 +- .../GetIndexSettingsResponse.ts | 5 +- .../DeleteIndexTemplateRequest.ts | 11 +- .../DeleteIndexTemplateResponse.ts | 3 +- .../GetIndexTemplateRequest.ts | 15 +- .../GetIndexTemplateResponse.ts | 5 +- .../get_index_template/TemplateMapping.ts | 12 +- .../IndexTemplateExistsRequest.ts | 13 +- .../IndexTemplateExistsResponse.ts | 4 +- .../PutIndexTemplateRequest.ts | 26 +- .../PutIndexTemplateResponse.ts | 3 +- .../UpdateIndexSettingsRequest.ts | 22 +- .../UpdateIndexSettingsResponse.ts | 3 +- .../GetFieldMappingRequest.ts | 23 +- .../GetFieldMappingResponse.ts | 5 +- .../get_field_mapping/TypeFieldMappings.ts | 2 +- .../get_mapping/GetMappingRequest.ts | 21 +- .../get_mapping/GetMappingResponse.ts | 5 +- .../get_mapping/IndexMappings.ts | 4 +- .../put_mapping/PutMappingRequest.ts | 44 +- .../put_mapping/PutMappingResponse.ts | 3 +- .../indices_recovery/RecoveryBytes.ts | 8 +- .../indices_recovery/RecoveryFileDetails.ts | 6 +- .../indices_recovery/RecoveryFiles.ts | 10 +- .../indices_recovery/RecoveryIndexStatus.ts | 12 +- .../indices_recovery/RecoveryOrigin.ts | 8 +- .../indices_recovery/RecoveryStartStatus.ts | 4 +- .../indices_recovery/RecoveryStatus.ts | 2 +- .../indices_recovery/RecoveryStatusRequest.ts | 11 +- .../RecoveryStatusResponse.ts | 5 +- .../RecoveryTranslogStatus.ts | 12 +- .../indices_recovery/RecoveryVerifyIndex.ts | 4 +- .../indices_recovery/ShardRecovery.ts | 26 +- .../indices_segments/IndexSegment.ts | 2 +- .../monitoring/indices_segments/Segment.ts | 20 +- .../indices_segments/SegmentsRequest.ts | 15 +- .../indices_segments/SegmentsResponse.ts | 4 +- .../indices_segments/ShardSegmentRouting.ts | 6 +- .../indices_segments/ShardsSegment.ts | 10 +- .../IndicesShardStores.ts | 2 +- .../IndicesShardStoresRequest.ts | 15 +- .../IndicesShardStoresResponse.ts | 2 +- .../indices_shard_stores/ShardStore.ts | 18 +- .../ShardStoreException.ts | 4 +- .../indices_shard_stores/ShardStoreWrapper.ts | 2 +- .../monitoring/indices_stats/IndexStats.ts | 32 +- .../monitoring/indices_stats/IndicesStats.ts | 8 +- .../indices_stats/IndicesStatsRequest.ts | 29 +- .../indices_stats/IndicesStatsResponse.ts | 6 +- .../monitoring/indices_stats/ShardCommit.ts | 8 +- .../indices_stats/ShardCompletion.ts | 2 +- .../monitoring/indices_stats/ShardDocs.ts | 4 +- .../indices_stats/ShardFielddata.ts | 4 +- .../indices_stats/ShardFileSizeInfo.ts | 4 +- .../monitoring/indices_stats/ShardFlush.ts | 6 +- .../monitoring/indices_stats/ShardGet.ts | 14 +- .../monitoring/indices_stats/ShardIndexing.ts | 20 +- .../monitoring/indices_stats/ShardLease.ts | 8 +- .../monitoring/indices_stats/ShardMerges.ts | 20 +- .../monitoring/indices_stats/ShardPath.ts | 6 +- .../indices_stats/ShardQueryCache.ts | 14 +- .../monitoring/indices_stats/ShardRefresh.ts | 10 +- .../indices_stats/ShardRequestCache.ts | 8 +- .../indices_stats/ShardRetentionLeases.ts | 6 +- .../monitoring/indices_stats/ShardRouting.ts | 8 +- .../monitoring/indices_stats/ShardSearch.ts | 26 +- .../monitoring/indices_stats/ShardSegments.ts | 26 +- .../indices_stats/ShardSequenceNumber.ts | 6 +- .../monitoring/indices_stats/ShardStats.ts | 42 +- .../indices_stats/ShardStatsRecovery.ts | 6 +- .../indices_stats/ShardStatsStore.ts | 4 +- .../indices_stats/ShardTransactionLog.ts | 10 +- .../monitoring/indices_stats/ShardWarmer.ts | 6 +- .../reload_search_analyzers/ReloadDetails.ts | 6 +- .../ReloadSearchAnalyzersRequest.ts | 13 +- .../ReloadSearchAnalyzersResponse.ts | 4 +- .../clear_cache/ClearCacheRequest.ts | 21 +- .../clear_cache/ClearCacheResponse.ts | 3 +- .../status_management/flush/FlushRequest.ts | 17 +- .../status_management/flush/FlushResponse.ts | 3 +- .../force_merge/ForceMergeRequest.ts | 19 +- .../force_merge/ForceMergeResponse.ts | 3 +- .../refresh/RefreshRequest.ts | 13 +- .../refresh/RefreshResponse.ts | 3 +- .../synced_flush/SyncedFlushRequest.ts | 13 +- .../synced_flush/SyncedFlushResponse.ts | 3 +- specification/specs/ingest/Pipeline.ts | 6 +- specification/specs/ingest/ProcessorBase.ts | 8 +- .../specs/ingest/ProcessorContainer.ts | 66 +- .../delete_pipeline/DeletePipelineRequest.ts | 11 +- .../delete_pipeline/DeletePipelineResponse.ts | 3 +- .../ingest/get_pipeline/GetPipelineRequest.ts | 9 +- .../processor/GrokProcessorPatternsRequest.ts | 8 +- .../GrokProcessorPatternsResponse.ts | 2 +- .../ingest/processors/AppendProcessor.ts | 4 +- .../specs/ingest/processors/BytesProcessor.ts | 6 +- .../ingest/processors/CircleProcessor.ts | 10 +- .../ingest/processors/ConvertProcessor.ts | 8 +- .../specs/ingest/processors/CsvProcessor.ts | 14 +- .../processors/DateIndexNameProcessor.ts | 14 +- .../specs/ingest/processors/DateProcessor.ts | 10 +- .../ingest/processors/DissectProcessor.ts | 8 +- .../ingest/processors/DotExpanderProcessor.ts | 4 +- .../specs/ingest/processors/DropProcessor.ts | 3 +- .../ingest/processors/EnrichProcessor.ts | 14 +- .../specs/ingest/processors/FailProcessor.ts | 2 +- .../ingest/processors/ForeachProcessor.ts | 6 +- .../specs/ingest/processors/GrokProcessor.ts | 10 +- .../specs/ingest/processors/GsubProcessor.ts | 10 +- .../specs/ingest/processors/JoinProcessor.ts | 6 +- .../specs/ingest/processors/JsonProcessor.ts | 6 +- .../ingest/processors/KeyValueProcessor.ts | 22 +- .../ingest/processors/LowercaseProcessor.ts | 6 +- .../ingest/processors/PipelineProcessor.ts | 2 +- .../ingest/processors/RemoveProcessor.ts | 4 +- .../ingest/processors/RenameProcessor.ts | 6 +- .../ingest/processors/ScriptProcessor.ts | 8 +- .../specs/ingest/processors/SetProcessor.ts | 6 +- .../processors/SetSecurityUserProcessor.ts | 4 +- .../specs/ingest/processors/SortProcessor.ts | 6 +- .../specs/ingest/processors/SplitProcessor.ts | 10 +- .../specs/ingest/processors/TrimProcessor.ts | 6 +- .../ingest/processors/UppercaseProcessor.ts | 6 +- .../ingest/processors/UrlDecodeProcessor.ts | 6 +- .../processors/plugins/AttachmentProcessor.ts | 12 +- .../processors/plugins/GeoIpProcessor.ts | 12 +- .../processors/plugins/UserAgentProcessor.ts | 10 +- .../ingest/put_pipeline/PutPipelineRequest.ts | 14 +- .../put_pipeline/PutPipelineResponse.ts | 3 +- .../simulate_pipeline/DocumentSimulation.ts | 14 +- .../specs/ingest/simulate_pipeline/Ingest.ts | 2 +- .../simulate_pipeline/PipelineSimulation.ts | 6 +- .../SimulatePipelineDocument.ts | 6 +- .../SimulatePipelineRequest.ts | 10 +- .../SimulatePipelineResponse.ts | 2 +- specification/specs/mapping/TypeMapping.ts | 26 +- .../dynamic_template/DynamicTemplate.ts | 14 +- .../specs/mapping/meta_fields/FieldMapping.ts | 3 +- .../specs/mapping/meta_fields/all/AllField.ts | 20 +- .../field_names/FieldNamesField.ts | 2 +- .../mapping/meta_fields/index/IndexField.ts | 2 +- .../meta_fields/routing/RoutingField.ts | 2 +- .../mapping/meta_fields/size/SizeField.ts | 2 +- .../mapping/meta_fields/source/SourceField.ts | 10 +- .../specs/mapping/types/CorePropertyBase.ts | 8 +- .../mapping/types/DocValuesPropertyBase.ts | 2 +- .../specs/mapping/types/PropertyBase.ts | 8 +- .../mapping/types/PropertyWithClrOrigin.ts | 3 +- .../complex/flattened/FlattenedProperty.ts | 20 +- .../types/complex/nested/NestedProperty.ts | 4 +- .../types/complex/object/ObjectProperty.ts | 6 +- .../types/core/binary/BinaryProperty.ts | 3 +- .../types/core/boolean/BooleanProperty.ts | 8 +- .../mapping/types/core/date/DateProperty.ts | 14 +- .../core/date_nanos/DateNanosProperty.ts | 12 +- .../mapping/types/core/join/JoinProperty.ts | 2 +- .../types/core/keyword/KeywordProperty.ts | 18 +- .../types/core/number/NumberProperty.ts | 14 +- .../core/percolator/PercolatorProperty.ts | 3 +- .../types/core/range/RangePropertyBase.ts | 6 +- .../range/date_range/DateRangeProperty.ts | 2 +- .../range/double_range/DoubleRangeProperty.ts | 3 +- .../range/float_range/FloatRangeProperty.ts | 3 +- .../integer_range/IntegerRangeProperty.ts | 3 +- .../core/range/ip_range/IpRangeProperty.ts | 3 +- .../range/long_range/LongRangeProperty.ts | 3 +- .../core/rank_feature/RankFeatureProperty.ts | 2 +- .../rank_features/RankFeaturesProperty.ts | 3 +- .../SearchAsYouTypeProperty.ts | 16 +- .../types/core/text/TextIndexPrefixes.ts | 4 +- .../mapping/types/core/text/TextProperty.ts | 28 +- .../types/geo/geo_point/GeoPointProperty.ts | 6 +- .../types/geo/geo_shape/GeoShapeProperty.ts | 10 +- .../completion/CompletionProperty.ts | 12 +- .../specialized/completion/SuggestContext.ts | 8 +- .../ConstantKeywordProperty.ts | 2 +- .../field_alias/FieldAliasProperty.ts | 2 +- .../specialized/generic/GenericProperty.ts | 24 +- .../histogram/HistogramProperty.ts | 2 +- .../types/specialized/ip/IpProperty.ts | 6 +- .../murmur3_hash/Murmur3HashProperty.ts | 3 +- .../types/specialized/shape/ShapeProperty.ts | 8 +- .../token_count/TokenCountProperty.ts | 8 +- .../modules/indices/IndicesModuleSettings.ts | 8 +- .../circuit_breaker/CircuitBreakerSettings.ts | 10 +- .../modules/indices/fielddata/Fielddata.ts | 4 +- .../indices/fielddata/FielddataFilter.ts | 4 +- .../fielddata/FielddataFrequencyFilter.ts | 6 +- .../indices/fielddata/FielddataRegexFilter.ts | 2 +- .../indices/fielddata/FielddataSettings.ts | 4 +- .../fielddata/numeric/NumericFielddata.ts | 2 +- .../fielddata/string/StringFielddata.ts | 2 +- .../recovery/IndicesRecoverySettings.ts | 14 +- .../specs/modules/scripting/StoredScript.ts | 4 +- .../delete_script/DeleteScriptRequest.ts | 11 +- .../delete_script/DeleteScriptResponse.ts | 3 +- .../ExecutePainlessScriptRequest.ts | 11 +- .../ExecutePainlessScriptResponse.ts | 2 +- .../PainlessContextSetup.ts | 6 +- .../scripting/get_script/GetScriptRequest.ts | 9 +- .../scripting/get_script/GetScriptResponse.ts | 2 +- .../scripting/put_script/PutScriptRequest.ts | 12 +- .../scripting/put_script/PutScriptResponse.ts | 3 +- .../repositories/SnapshotRepository.ts | 2 +- .../CleanupRepositoryRequest.ts | 11 +- .../CleanupRepositoryResponse.ts | 2 +- .../CleanupRepositoryResults.ts | 4 +- .../CreateRepositoryRequest.ts | 14 +- .../CreateRepositoryResponse.ts | 3 +- .../DeleteRepositoryRequest.ts | 11 +- .../DeleteRepositoryResponse.ts | 3 +- .../get_repository/GetRepositoryRequest.ts | 11 +- .../get_repository/GetRepositoryResponse.ts | 4 +- .../verify_repository/CompactNodeInfo.ts | 2 +- .../VerifyRepositoryRequest.ts | 11 +- .../VerifyRepositoryResponse.ts | 2 +- .../restore/RestoreRequest.ts | 28 +- .../restore/RestoreResponse.ts | 2 +- .../restore/SnapshotRestore.ts | 6 +- .../snapshot/SnapshotInfo.ts | 22 +- .../snapshot/SnapshotShardFailure.ts | 10 +- .../delete_snapshot/DeleteSnapshotRequest.ts | 11 +- .../delete_snapshot/DeleteSnapshotResponse.ts | 3 +- .../get_snapshot/GetSnapshotRequest.ts | 15 +- .../get_snapshot/GetSnapshotResponse.ts | 2 +- .../snapshot/snapshot/SnapshotRequest.ts | 20 +- .../snapshot/snapshot/SnapshotResponse.ts | 4 +- .../snapshot_status/FileCountSnapshotStats.ts | 4 +- .../snapshot_status/SnapshotIndexStats.ts | 6 +- .../snapshot_status/SnapshotShardsStats.ts | 12 +- .../snapshot/snapshot_status/SnapshotStats.ts | 8 +- .../snapshot_status/SnapshotStatus.ts | 16 +- .../snapshot_status/SnapshotStatusRequest.ts | 13 +- .../snapshot_status/SnapshotStatusResponse.ts | 2 +- .../specs/query_dsl/MatchAllQuery.ts | 2 +- .../specs/query_dsl/MatchNoneQuery.ts | 3 +- .../abstractions/container/QueryContainer.ts | 126 +- .../abstractions/field_lookup/FieldLookup.ts | 8 +- .../abstractions/field_name/FieldNameQuery.ts | 2 +- .../query_dsl/abstractions/query/Query.ts | 4 +- .../query_dsl/compound/bool/BoolQuery.ts | 12 +- .../compound/boosting/BoostingQuery.ts | 6 +- .../constant_score/ConstantScoreQuery.ts | 4 +- .../query_dsl/compound/dismax/DisMaxQuery.ts | 6 +- .../function_score/FunctionScoreQuery.ts | 14 +- .../function_score/functions/ScoreFunction.ts | 6 +- .../common_terms/CommonTermsQuery.ts | 14 +- .../full_text/intervals/Intervals.ts | 2 +- .../full_text/intervals/IntervalsAllOf.ts | 8 +- .../full_text/intervals/IntervalsAnyOf.ts | 4 +- .../full_text/intervals/IntervalsContainer.ts | 12 +- .../full_text/intervals/IntervalsFilter.ts | 18 +- .../full_text/intervals/IntervalsFuzzy.ts | 12 +- .../full_text/intervals/IntervalsMatch.ts | 12 +- .../full_text/intervals/IntervalsPrefix.ts | 6 +- .../full_text/intervals/IntervalsQuery.ts | 14 +- .../full_text/intervals/IntervalsWildcard.ts | 6 +- .../query_dsl/full_text/match/MatchQuery.ts | 28 +- .../match_bool_prefix/MatchBoolPrefixQuery.ts | 20 +- .../match_phrase/MatchPhraseQuery.ts | 8 +- .../MatchPhrasePrefixQuery.ts | 12 +- .../full_text/multi_match/MultiMatchQuery.ts | 36 +- .../query_string/QueryStringQuery.ts | 50 +- .../SimpleQueryStringQuery.ts | 26 +- .../specs/query_dsl/geo/GeoCoordinate.ts | 4 +- .../specs/query_dsl/geo/GeoLocation.ts | 6 +- .../query_dsl/geo/bounding_box/BoundingBox.ts | 6 +- .../geo/bounding_box/GeoBoundingBoxQuery.ts | 8 +- .../geo/distance/GeoDistanceQuery.ts | 10 +- .../query_dsl/geo/polygon/GeoPolygonQuery.ts | 6 +- .../specs/query_dsl/geo/shape/GeoShape.ts | 4 +- .../query_dsl/geo/shape/GeoShapeQuery.ts | 10 +- .../joining/has_child/HasChildQuery.ts | 14 +- .../joining/has_parent/HasParentQuery.ts | 10 +- .../query_dsl/joining/nested/NestedQuery.ts | 10 +- .../joining/parent_id/ParentIdQuery.ts | 6 +- .../specs/query_dsl/nest_specific/RawQuery.ts | 2 +- .../specs/query_dsl/span/SpanQuery.ts | 20 +- .../specs/query_dsl/span/SpanSubQuery.ts | 3 +- .../span/containing/SpanContainingQuery.ts | 4 +- .../field_masking/SpanFieldMaskingQuery.ts | 4 +- .../query_dsl/span/first/SpanFirstQuery.ts | 4 +- .../specs/query_dsl/span/gap/SpanGapQuery.ts | 6 +- .../span/multi_term/SpanMultiTermQuery.ts | 2 +- .../query_dsl/span/near/SpanNearQuery.ts | 6 +- .../specs/query_dsl/span/not/SpanNotQuery.ts | 10 +- .../specs/query_dsl/span/or/SpanOrQuery.ts | 2 +- .../query_dsl/span/term/SpanTermQuery.ts | 5 +- .../query_dsl/span/within/SpanWithinQuery.ts | 4 +- .../distance_feature/DistanceFeatureQuery.ts | 8 +- .../more_like_this/MoreLikeThisQuery.ts | 36 +- .../more_like_this/like/LikeDocument.ts | 12 +- .../specialized/percolate/PercolateQuery.ts | 16 +- .../specialized/pinned/PinnedQuery.ts | 4 +- .../rank_feature/RankFeatureFunction.ts | 3 +- .../rank_feature/RankFeatureQuery.ts | 4 +- .../specialized/script/ScriptQuery.ts | 2 +- .../script_score/ScriptScoreQuery.ts | 4 +- .../query_dsl/specialized/shape/ShapeQuery.ts | 10 +- .../term_level/exists/ExistsQuery.ts | 2 +- .../query_dsl/term_level/fuzzy/FuzzyQuery.ts | 10 +- .../query_dsl/term_level/ids/IdsQuery.ts | 2 +- .../term_level/prefix/PrefixQuery.ts | 4 +- .../query_dsl/term_level/range/RangeQuery.ts | 16 +- .../term_level/regexp/RegexpQuery.ts | 8 +- .../query_dsl/term_level/term/TermQuery.ts | 4 +- .../query_dsl/term_level/terms/TermsQuery.ts | 10 +- .../term_level/terms_set/TermsSetQuery.ts | 8 +- .../query_dsl/term_level/type/TypeQuery.ts | 2 +- .../term_level/wildcard/WildcardQuery.ts | 4 +- .../specs/search/TypedSearchRequest.ts | 3 +- .../specs/search/count/CountRequest.ts | 36 +- .../specs/search/count/CountResponse.ts | 4 +- .../specs/search/explain/ExplainRequest.ts | 34 +- .../specs/search/explain/ExplainResponse.ts | 6 +- .../specs/search/explain/Explanation.ts | 6 +- .../specs/search/explain/ExplanationDetail.ts | 6 +- .../specs/search/explain/InlineGet.ts | 10 +- .../field_capabilities/FieldCapabilities.ts | 12 +- .../FieldCapabilitiesRequest.ts | 17 +- .../FieldCapabilitiesResponse.ts | 2 +- .../search/multi_search/MultiSearchRequest.ts | 24 +- .../multi_search/MultiSearchResponse.ts | 4 +- .../MultiSearchTemplateRequest.ts | 20 +- .../scroll/clear_scroll/ClearScrollRequest.ts | 9 +- .../clear_scroll/ClearScrollResponse.ts | 3 +- .../search/scroll/scroll/ScrollRequest.ts | 12 +- .../search/scroll/scroll/SlicedScroll.ts | 6 +- .../specs/search/search/SearchRequest.ts | 140 +- .../specs/search/search/SearchResponse.ts | 30 +- .../search/search/collapsing/FieldCollapse.ts | 6 +- .../search/search/highlighting/Highlight.ts | 36 +- .../search/highlighting/HighlightField.ts | 42 +- specification/specs/search/search/hits/Hit.ts | 38 +- .../specs/search/search/hits/HitMetadata.ts | 16 +- .../specs/search/search/hits/HitsMetadata.ts | 6 +- .../search/search/hits/InnerHitsMetadata.ts | 6 +- .../search/search/hits/InnerHitsResult.ts | 2 +- .../search/search/hits/NestedIdentity.ts | 6 +- .../specs/search/search/hits/TotalHits.ts | 6 +- .../search/search/inner_hits/InnerHits.ts | 28 +- .../point_in_time/PointInTimeReference.ts | 4 +- .../search/profile/AggregationBreakdown.ts | 20 +- .../search/profile/AggregationProfile.ts | 17 +- .../specs/search/search/profile/Collector.ts | 8 +- .../specs/search/search/profile/Profile.ts | 2 +- .../search/search/profile/QueryBreakdown.ts | 36 +- .../search/search/profile/QueryProfile.ts | 10 +- .../search/search/profile/SearchProfile.ts | 6 +- .../search/search/profile/ShardProfile.ts | 6 +- .../specs/search/search/rescoring/Rescore.ts | 4 +- .../search/search/rescoring/RescoreQuery.ts | 8 +- .../specs/search/search/sort/NestedSort.ts | 8 +- .../specs/search/search/sort/Sort.ts | 14 +- .../search/source_filtering/SourceFilter.ts | 10 +- .../specs/search/search_shards/SearchNode.ts | 4 +- .../specs/search/search_shards/SearchShard.ts | 12 +- .../search_shards/SearchShardsRequest.ts | 19 +- .../search_shards/SearchShardsResponse.ts | 4 +- .../search_template/SearchTemplateRequest.ts | 38 +- .../RenderSearchTemplateRequest.ts | 11 +- .../RenderSearchTemplateResponse.ts | 2 +- .../specs/search/suggesters/Suggest.ts | 8 +- .../specs/search/suggesters/SuggestBucket.ts | 12 +- .../search/suggesters/SuggestDictionary.ts | 8 +- .../specs/search/suggesters/SuggestOption.ts | 28 +- .../specs/search/suggesters/Suggester.ts | 6 +- .../CompletionSuggester.ts | 10 +- .../completion_suggester/SuggestFuzziness.ts | 10 +- .../context_suggester/SuggestContextQuery.ts | 10 +- .../phrase_suggester/DirectGenerator.ts | 22 +- .../phrase_suggester/PhraseSuggestCollate.ts | 6 +- .../PhraseSuggestCollateQuery.ts | 4 +- .../PhraseSuggestHighlight.ts | 4 +- .../phrase_suggester/PhraseSuggester.ts | 26 +- .../smoothing_model/LaplaceSmoothingModel.ts | 2 +- .../LinearInterpolationSmoothingModel.ts | 6 +- .../smoothing_model/SmoothingModel.ts | 3 +- .../SmoothingModelContainer.ts | 6 +- .../StupidBackoffSmoothingModel.ts | 2 +- .../term_suggester/TermSuggester.ts | 24 +- .../search/validate/ValidateQueryRequest.ts | 32 +- .../search/validate/ValidateQueryResponse.ts | 6 +- .../search/validate/ValidationExplanation.ts | 8 +- specification/specs/tsconfig.json | 6 +- .../specs/x_pack/async_search/AsyncSearch.ts | 28 +- .../async_search/AsyncSearchResponseBase.ts | 16 +- .../delete/AsyncSearchDeleteRequest.ts | 10 +- .../delete/AsyncSearchDeleteResponse.ts | 3 +- .../async_search/get/AsyncSearchGetRequest.ts | 13 +- .../get/AsyncSearchGetResponse.ts | 3 +- .../submit/AsyncSearchSubmitRequest.ts | 109 +- .../submit/AsyncSearchSubmitResponse.ts | 3 +- .../CreateAutoFollowPatternRequest.ts | 33 +- .../CreateAutoFollowPatternResponse.ts | 3 +- .../DeleteAutoFollowPatternRequest.ts | 10 +- .../DeleteAutoFollowPatternResponse.ts | 3 +- .../AutoFollowPattern.ts | 26 +- .../GetAutoFollowPatternRequest.ts | 10 +- .../GetAutoFollowPatternResponse.ts | 2 +- .../PauseAutoFollowPatternRequest.ts | 10 +- .../PauseAutoFollowPatternResponse.ts | 3 +- .../ResumeAutoFollowPatternRequest.ts | 10 +- .../ResumeAutoFollowPatternResponse.ts | 3 +- .../CreateFollowIndexRequest.ts | 30 +- .../CreateFollowIndexResponse.ts | 6 +- .../FollowIndexReadException.ts | 6 +- .../FollowIndexShardStats.ts | 58 +- .../follow_index_stats/FollowIndexStats.ts | 4 +- .../FollowIndexStatsRequest.ts | 10 +- .../FollowIndexStatsResponse.ts | 2 +- .../follow/follow_info/FollowConfig.ts | 20 +- .../follow/follow_info/FollowInfoRequest.ts | 10 +- .../follow/follow_info/FollowInfoResponse.ts | 2 +- .../follow/follow_info/FollowerInfo.ts | 10 +- .../ForgetFollowerIndexRequest.ts | 15 +- .../ForgetFollowerIndexResponse.ts | 2 +- .../PauseFollowIndexRequest.ts | 10 +- .../PauseFollowIndexResponse.ts | 3 +- .../ResumeFollowIndexRequest.ts | 27 +- .../ResumeFollowIndexResponse.ts | 3 +- .../unfollow_index/UnfollowIndexRequest.ts | 10 +- .../unfollow_index/UnfollowIndexResponse.ts | 3 +- .../stats/AutoFollowedCluster.ts | 6 +- .../stats/CcrAutoFollowStats.ts | 10 +- .../stats/CcrFollowStats.ts | 2 +- .../stats/CcrStatsRequest.ts | 8 +- .../stats/CcrStatsResponse.ts | 4 +- .../specs/x_pack/enrich/EnrichPolicy.ts | 8 +- .../specs/x_pack/enrich/NamedPolicy.ts | 2 +- .../specs/x_pack/enrich/NamedPolicyConfig.ts | 4 +- .../x_pack/enrich/NamedPolicyMetadata.ts | 2 +- .../DeleteEnrichPolicyRequest.ts | 10 +- .../DeleteEnrichPolicyResponse.ts | 3 +- .../ExecuteEnrichPolicyRequest.ts | 9 +- .../ExecuteEnrichPolicyResponse.ts | 4 +- .../ExecuteEnrichPolicyStatus.ts | 2 +- .../get_policy/GetEnrichPolicyRequest.ts | 10 +- .../get_policy/GetEnrichPolicyResponse.ts | 2 +- .../put_policy/PutEnrichPolicyRequest.ts | 11 +- .../put_policy/PutEnrichPolicyResponse.ts | 3 +- .../x_pack/enrich/stats/CoordinatorStats.ts | 10 +- .../x_pack/enrich/stats/EnrichStatsRequest.ts | 8 +- .../enrich/stats/EnrichStatsResponse.ts | 4 +- .../x_pack/enrich/stats/ExecutingPolicy.ts | 4 +- .../graph/explore/GraphExploreRequest.ts | 18 +- .../graph/explore/GraphExploreResponse.ts | 10 +- .../explore/request/GraphExploreControls.ts | 8 +- .../explore/request/GraphVertexDefinition.ts | 12 +- .../explore/request/GraphVertexInclude.ts | 4 +- .../specs/x_pack/graph/explore/request/Hop.ts | 6 +- .../graph/explore/request/SampleDiversity.ts | 4 +- .../graph/explore/response/GraphConnection.ts | 8 +- .../graph/explore/response/GraphVertex.ts | 8 +- specification/specs/x_pack/ilm/Phase.ts | 4 +- specification/specs/x_pack/ilm/Phases.ts | 8 +- specification/specs/x_pack/ilm/Policy.ts | 2 +- .../x_pack/ilm/actions/LifecycleAction.ts | 3 +- .../DeleteLifecycleRequest.ts | 10 +- .../DeleteLifecycleResponse.ts | 3 +- .../ExplainLifecycleRequest.ts | 11 +- .../ExplainLifecycleResponse.ts | 2 +- .../ilm/explain_lifecycle/LifecycleExplain.ts | 30 +- .../ilm/get_lifecycle/GetLifecycleRequest.ts | 10 +- .../ilm/get_lifecycle/GetLifecycleResponse.ts | 5 +- .../ilm/get_lifecycle/LifecyclePolicy.ts | 6 +- .../ilm/get_status/GetIlmStatusRequest.ts | 8 +- .../ilm/get_status/GetIlmStatusResponse.ts | 2 +- .../ilm/move_to_step/MoveToStepRequest.ts | 11 +- .../ilm/move_to_step/MoveToStepResponse.ts | 3 +- .../specs/x_pack/ilm/move_to_step/StepKey.ts | 6 +- .../ilm/put_lifecycle/PutLifecycleRequest.ts | 9 +- .../ilm/put_lifecycle/PutLifecycleResponse.ts | 3 +- .../ilm/remove_policy/RemovePolicyRequest.ts | 10 +- .../ilm/remove_policy/RemovePolicyResponse.ts | 4 +- .../specs/x_pack/ilm/retry/RetryIlmRequest.ts | 10 +- .../x_pack/ilm/retry/RetryIlmResponse.ts | 3 +- .../specs/x_pack/ilm/start/StartIlmRequest.ts | 8 +- .../x_pack/ilm/start/StartIlmResponse.ts | 3 +- .../specs/x_pack/ilm/stop/StopIlmRequest.ts | 8 +- .../specs/x_pack/ilm/stop/StopIlmResponse.ts | 3 +- .../x_pack_info/MinimalLicenseInformation.ts | 10 +- .../info/x_pack_info/NativeCodeInformation.ts | 4 +- .../info/x_pack_info/XPackBuildInformation.ts | 4 +- .../x_pack/info/x_pack_info/XPackFeature.ts | 8 +- .../x_pack/info/x_pack_info/XPackFeatures.ts | 42 +- .../info/x_pack_info/XPackInfoRequest.ts | 7 +- .../info/x_pack_info/XPackInfoResponse.ts | 8 +- .../x_pack/info/x_pack_usage/AlertingCount.ts | 4 +- .../info/x_pack_usage/AlertingExecution.ts | 2 +- .../x_pack/info/x_pack_usage/AlertingInput.ts | 4 +- .../x_pack/info/x_pack_usage/AlertingUsage.ts | 6 +- .../x_pack/info/x_pack_usage/AuditUsage.ts | 2 +- .../x_pack/info/x_pack_usage/CcrUsage.ts | 4 +- .../x_pack/info/x_pack_usage/DataFeed.ts | 2 +- .../info/x_pack_usage/ExecutionAction.ts | 4 +- .../info/x_pack_usage/FlattenedUsage.ts | 2 +- .../info/x_pack_usage/ForecastStatistics.ts | 12 +- .../info/x_pack_usage/IlmPolicyStatistics.ts | 4 +- .../x_pack/info/x_pack_usage/IlmUsage.ts | 4 +- .../x_pack/info/x_pack_usage/IpFilterUsage.ts | 4 +- .../specs/x_pack/info/x_pack_usage/Job.ts | 32 +- .../x_pack/info/x_pack_usage/JobStatistics.ts | 8 +- .../info/x_pack_usage/MachineLearningUsage.ts | 6 +- .../info/x_pack_usage/MonitoringUsage.ts | 4 +- .../x_pack/info/x_pack_usage/QueryUsage.ts | 8 +- .../x_pack/info/x_pack_usage/RealmUsage.ts | 6 +- .../info/x_pack_usage/RoleMappingUsage.ts | 4 +- .../x_pack/info/x_pack_usage/RoleUsage.ts | 6 +- .../x_pack_usage/SecurityFeatureToggle.ts | 2 +- .../x_pack/info/x_pack_usage/SecurityUsage.ts | 16 +- .../x_pack/info/x_pack_usage/SlmUsage.ts | 4 +- .../x_pack_usage/SnapshotLifecycleStats.ts | 18 +- .../x_pack/info/x_pack_usage/SqlUsage.ts | 4 +- .../x_pack/info/x_pack_usage/SslUsage.ts | 4 +- .../x_pack/info/x_pack_usage/VectorUsage.ts | 6 +- .../x_pack/info/x_pack_usage/XPackUsage.ts | 4 +- .../info/x_pack_usage/XPackUsageRequest.ts | 7 +- .../info/x_pack_usage/XPackUsageResponse.ts | 36 +- .../delete_license/DeleteLicenseRequest.ts | 8 +- .../delete_license/DeleteLicenseResponse.ts | 3 +- .../GetBasicLicenseStatusRequest.ts | 8 +- .../GetBasicLicenseStatusResponse.ts | 2 +- .../license/get_license/GetLicenseRequest.ts | 9 +- .../license/get_license/GetLicenseResponse.ts | 2 +- .../x_pack/license/get_license/License.ts | 16 +- .../license/get_license/LicenseInformation.ts | 26 +- .../GetTrialLicenseStatusRequest.ts | 8 +- .../GetTrialLicenseStatusResponse.ts | 2 +- .../post_license/LicenseAcknowledgement.ts | 4 +- .../post_license/PostLicenseRequest.ts | 6 +- .../post_license/PostLicenseResponse.ts | 6 +- .../StartBasicLicenseRequest.ts | 7 +- .../StartBasicLicenseResponse.ts | 6 +- .../StartTrialLicenseRequest.ts | 9 +- .../StartTrialLicenseResponse.ts | 4 +- .../close_job/CloseJobRequest.ts | 13 +- .../close_job/CloseJobResponse.ts | 2 +- .../datafeed/ChunkingConfig.ts | 4 +- .../datafeed/DatafeedConfig.ts | 22 +- .../datafeed/DatafeedStats.ts | 10 +- .../datafeed/DatafeedTimingStats.ts | 10 +- .../datafeed/DiscoveryNode.ts | 10 +- .../delete_calendar/DeleteCalendarRequest.ts | 10 +- .../delete_calendar/DeleteCalendarResponse.ts | 3 +- .../DeleteCalendarEventRequest.ts | 12 +- .../DeleteCalendarEventResponse.ts | 3 +- .../DeleteCalendarJobRequest.ts | 12 +- .../DeleteCalendarJobResponse.ts | 6 +- .../delete_datafeed/DeleteDatafeedRequest.ts | 9 +- .../delete_datafeed/DeleteDatafeedResponse.ts | 3 +- .../DeleteExpiredDataRequest.ts | 8 +- .../DeleteExpiredDataResponse.ts | 2 +- .../delete_filter/DeleteFilterRequest.ts | 10 +- .../delete_filter/DeleteFilterResponse.ts | 3 +- .../delete_forecast/DeleteForecastRequest.ts | 13 +- .../delete_forecast/DeleteForecastResponse.ts | 3 +- .../delete_job/DeleteJobRequest.ts | 11 +- .../delete_job/DeleteJobResponse.ts | 3 +- .../DeleteModelSnapshotRequest.ts | 12 +- .../DeleteModelSnapshotResponse.ts | 3 +- .../EstimateModelMemoryRequest.ts | 11 +- .../EstimateModelMemoryResponse.ts | 2 +- .../flush_job/FlushJobRequest.ts | 14 +- .../flush_job/FlushJobResponse.ts | 2 +- .../forecast_job/ForecastJobRequest.ts | 11 +- .../forecast_job/ForecastJobResponse.ts | 2 +- .../GetAnomalyRecordsRequest.ts | 21 +- .../GetAnomalyRecordsResponse.ts | 4 +- .../get_buckets/GetBucketsRequest.ts | 25 +- .../get_buckets/GetBucketsResponse.ts | 4 +- .../GetCalendarEventsRequest.ts | 14 +- .../GetCalendarEventsResponse.ts | 4 +- .../get_calendars/Calendar.ts | 6 +- .../get_calendars/GetCalendarsRequest.ts | 9 +- .../get_calendars/GetCalendarsResponse.ts | 4 +- .../get_categories/GetCategoriesRequest.ts | 11 +- .../get_categories/GetCategoriesResponse.ts | 4 +- .../GetDatafeedStatsRequest.ts | 9 +- .../GetDatafeedStatsResponse.ts | 4 +- .../get_datafeeds/GetDatafeedsRequest.ts | 9 +- .../get_datafeeds/GetDatafeedsResponse.ts | 4 +- .../machine_learning/get_filters/Filter.ts | 6 +- .../get_filters/GetFiltersRequest.ts | 11 +- .../get_filters/GetFiltersResponse.ts | 4 +- .../get_influencers/GetInfluencersRequest.ts | 21 +- .../get_influencers/GetInfluencersResponse.ts | 4 +- .../get_job_stats/GetJobStatsRequest.ts | 9 +- .../get_job_stats/GetJobStatsResponse.ts | 4 +- .../get_jobs/GetJobsRequest.ts | 9 +- .../get_jobs/GetJobsResponse.ts | 4 +- .../GetModelSnapshotsRequest.ts | 19 +- .../GetModelSnapshotsResponse.ts | 4 +- .../GetOverallBucketsRequest.ts | 21 +- .../GetOverallBucketsResponse.ts | 4 +- .../specs/x_pack/machine_learning/job/Page.ts | 4 +- .../job/config/AnalysisConfig.ts | 16 +- .../job/config/AnalysisLimits.ts | 4 +- .../job/config/AnalysisMemoryLimit.ts | 2 +- .../job/config/DataDescription.ts | 6 +- .../job/config/JobForecastStatistics.ts | 10 +- .../machine_learning/job/config/JobStats.ts | 18 +- .../job/config/ModelPlotConfig.ts | 2 +- .../job/config/ModelPlotConfigEnabled.ts | 2 +- .../job/config/TimingStats.ts | 14 +- .../job/detectors/DetectionRule.ts | 6 +- .../job/detectors/Detector.ts | 14 +- .../job/detectors/FilterRef.ts | 4 +- .../job/detectors/RuleCondition.ts | 6 +- .../job/process/DataCounts.ts | 34 +- .../job/process/ModelSizeStats.ts | 20 +- .../job/process/ModelSnapshot.ts | 18 +- .../job/results/AnomalyCause.ts | 28 +- .../job/results/AnomalyRecord.ts | 44 +- .../job/results/BucketInfluencer.ts | 20 +- .../job/results/CategoryDefinition.ts | 12 +- .../machine_learning/job/results/Influence.ts | 4 +- .../job/results/OverallBucket.ts | 12 +- .../job/results/OverallBucketJobInfo.ts | 4 +- .../job/results/PartitionScore.ts | 10 +- .../job/results/ResultBucket.ts | 22 +- .../machine_learning_info/AnomalyDetectors.ts | 8 +- .../CategorizationAnalyzer.ts | 4 +- .../machine_learning_info/Datafeeds.ts | 2 +- .../machine_learning_info/Defaults.ts | 4 +- .../machine_learning_info/Limits.ts | 2 +- .../MachineLearningInfoRequest.ts | 8 +- .../MachineLearningInfoResponse.ts | 6 +- .../open_job/OpenJobRequest.ts | 9 +- .../open_job/OpenJobResponse.ts | 2 +- .../PostCalendarEventsRequest.ts | 9 +- .../PostCalendarEventsResponse.ts | 2 +- .../post_calendar_events/ScheduledEvent.ts | 10 +- .../post_job_data/PostJobDataRequest.ts | 12 +- .../post_job_data/PostJobDataResponse.ts | 30 +- .../PreviewDatafeedRequest.ts | 10 +- .../PreviewDatafeedResponse.ts | 2 +- .../put_calendar/PutCalendarRequest.ts | 9 +- .../put_calendar/PutCalendarResponse.ts | 6 +- .../put_calendar_job/PutCalendarJobRequest.ts | 12 +- .../PutCalendarJobResponse.ts | 6 +- .../put_datafeed/PutDatafeedRequest.ts | 32 +- .../put_datafeed/PutDatafeedResponse.ts | 22 +- .../put_filter/PutFilterRequest.ts | 11 +- .../put_filter/PutFilterResponse.ts | 6 +- .../machine_learning/put_job/PutJobRequest.ts | 23 +- .../put_job/PutJobResponse.ts | 30 +- .../RevertModelSnapshotRequest.ts | 11 +- .../RevertModelSnapshotResponse.ts | 2 +- .../set_upgrade_mode/SetUpgradeModeRequest.ts | 9 +- .../SetUpgradeModeResponse.ts | 3 +- .../start_datafeed/StartDatafeedRequest.ts | 13 +- .../start_datafeed/StartDatafeedResponse.ts | 2 +- .../stop_datafeed/StopDatafeedRequest.ts | 10 +- .../stop_datafeed/StopDatafeedResponse.ts | 2 +- .../update_data_feed/UpdateDatafeedRequest.ts | 32 +- .../UpdateDatafeedResponse.ts | 22 +- .../update_filter/UpdateFilterRequest.ts | 13 +- .../update_filter/UpdateFilterResponse.ts | 6 +- .../update_job/UpdateJobRequest.ts | 25 +- .../update_job/UpdateJobResponse.ts | 3 +- .../UpdateModelSnapshotRequest.ts | 13 +- .../UpdateModelSnapshotResponse.ts | 2 +- .../ValidateDetectorRequest.ts | 9 +- .../ValidateDetectorResponse.ts | 3 +- .../validate_job/ValidateJobRequest.ts | 19 +- .../validate_job/ValidateJobResponse.ts | 3 +- .../deprecation_info/DeprecationInfo.ts | 8 +- .../DeprecationInfoRequest.ts | 10 +- .../DeprecationInfoResponse.ts | 6 +- .../CreateRollupJobRequest.ts | 19 +- .../CreateRollupJobResponse.ts | 3 +- .../DeleteRollupJobRequest.ts | 10 +- .../DeleteRollupJobResponse.ts | 3 +- .../GetRollupCapabilitiesRequest.ts | 10 +- .../GetRollupCapabilitiesResponse.ts | 5 +- .../RollupCapabilities.ts | 2 +- .../RollupCapabilitiesJob.ts | 8 +- .../GetRollupIndexCapabilitiesRequest.ts | 10 +- .../GetRollupIndexCapabilitiesResponse.ts | 5 +- .../RollupIndexCapabilities.ts | 2 +- .../RollupIndexCapabilitiesJob.ts | 8 +- .../get_rollup_job/GetRollupJobRequest.ts | 10 +- .../get_rollup_job/GetRollupJobResponse.ts | 2 +- .../get_rollup_job/RollupJobConfiguration.ts | 16 +- .../get_rollup_job/RollupJobInformation.ts | 6 +- .../roll_up/get_rollup_job/RollupJobStats.ts | 20 +- .../roll_up/get_rollup_job/RollupJobStatus.ts | 6 +- .../DateHistogramRollupGrouping.ts | 10 +- .../HistogramRollupGrouping.ts | 4 +- .../rollup_configuration/RollupFieldMetric.ts | 4 +- .../rollup_configuration/RollupGroupings.ts | 6 +- .../TermsRollupGrouping.ts | 2 +- .../rollup_search/RollupSearchRequest.ts | 16 +- .../rollup_search/RollupSearchResponse.ts | 3 +- .../start_rollup_job/StartRollupJobRequest.ts | 10 +- .../StartRollupJobResponse.ts | 2 +- .../stop_rollup_job/StopRollupJobRequest.ts | 11 +- .../stop_rollup_job/StopRollupJobResponse.ts | 2 +- .../specs/x_pack/security/SecurityNode.ts | 2 +- .../create_api_key/ApiKeyPrivileges.ts | 4 +- .../api_key/create_api_key/ApiKeyRole.ts | 4 +- .../create_api_key/CreateApiKeyRequest.ts | 10 +- .../create_api_key/CreateApiKeyResponse.ts | 8 +- .../security/api_key/get_api_key/ApiKeys.ts | 14 +- .../api_key/get_api_key/GetApiKeyRequest.ts | 15 +- .../api_key/get_api_key/GetApiKeyResponse.ts | 2 +- .../InvalidateApiKeyRequest.ts | 15 +- .../InvalidateApiKeyResponse.ts | 8 +- .../authenticate/AuthenticateRequest.ts | 8 +- .../authenticate/AuthenticateResponse.ts | 14 +- .../x_pack/security/authenticate/RealmInfo.ts | 4 +- .../ClearCachedRealmsRequest.ts | 9 +- .../ClearCachedRealmsResponse.ts | 4 +- .../DeletePrivilegesRequest.ts | 11 +- .../DeletePrivilegesResponse.ts | 5 +- .../delete_privileges/FoundUserPrivilege.ts | 2 +- .../GetBuiltinPrivilegesRequest.ts | 8 +- .../GetBuiltinPrivilegesResponse.ts | 4 +- .../get_privileges/GetPrivilegesRequest.ts | 12 +- .../get_privileges/GetPrivilegesResponse.ts | 5 +- .../ApplicationGlobalUserPrivileges.ts | 2 +- .../ApplicationResourcePrivileges.ts | 6 +- .../FieldSecuritySettings.ts | 4 +- .../GetUserPrivilegesRequest.ts | 8 +- .../GetUserPrivilegesResponse.ts | 10 +- .../get_user_privileges/GlobalPrivileges.ts | 2 +- .../ManageUserPrivileges.ts | 2 +- .../QueryUserPrivileges.ts | 2 +- .../get_user_privileges/TermUserPrivileges.ts | 2 +- .../UserIndicesPrivileges.ts | 8 +- .../ApplicationPrivilegesCheck.ts | 6 +- .../has_privileges/HasPrivilegesRequest.ts | 13 +- .../has_privileges/HasPrivilegesResponse.ts | 10 +- .../has_privileges/IndexPrivilegesCheck.ts | 4 +- .../has_privileges/ResourcePrivileges.ts | 4 +- .../put_privileges/PrivilegesActions.ts | 4 +- .../put_privileges/PutPrivilegesRequest.ts | 8 +- .../put_privileges/PutPrivilegesResponse.ts | 5 +- .../put_privileges/PutPrivilegesStatus.ts | 2 +- .../x_pack/security/role/FieldSecurity.ts | 4 +- .../ClearCachedRolesRequest.ts | 10 +- .../ClearCachedRolesResponse.ts | 4 +- .../role/delete_role/DeleteRoleRequest.ts | 9 +- .../role/delete_role/DeleteRoleResponse.ts | 2 +- .../security/role/get_role/GetRoleRequest.ts | 10 +- .../security/role/get_role/XPackRole.ts | 8 +- .../role/put_role/ApplicationPrivileges.ts | 6 +- .../role/put_role/IndicesPrivileges.ts | 8 +- .../security/role/put_role/PutRoleRequest.ts | 18 +- .../security/role/put_role/PutRoleResponse.ts | 2 +- .../security/role/put_role/PutRoleStatus.ts | 2 +- .../DeleteRoleMappingRequest.ts | 9 +- .../DeleteRoleMappingResponse.ts | 2 +- .../get_role_mapping/GetRoleMappingRequest.ts | 10 +- .../GetRoleMappingResponse.ts | 5 +- .../get_role_mapping/XPackRoleMapping.ts | 8 +- .../put_role_mapping/PutRoleMappingRequest.ts | 16 +- .../PutRoleMappingResponse.ts | 4 +- .../put_role_mapping/PutRoleMappingStatus.ts | 2 +- .../rules/role/RoleMappingRuleBase.ts | 5 +- .../change_password/ChangePasswordRequest.ts | 8 +- .../change_password/ChangePasswordResponse.ts | 3 +- .../user/delete_user/DeleteUserRequest.ts | 9 +- .../user/delete_user/DeleteUserResponse.ts | 2 +- .../user/disable_user/DisableUserRequest.ts | 9 +- .../user/disable_user/DisableUserResponse.ts | 3 +- .../user/enable_user/EnableUserRequest.ts | 9 +- .../user/enable_user/EnableUserResponse.ts | 3 +- .../security/user/get_user/GetUserRequest.ts | 10 +- .../security/user/get_user/XPackUser.ts | 10 +- .../GetUserAccessTokenRequest.ts | 9 +- .../GetUserAccessTokenResponse.ts | 8 +- .../InvalidateUserAccessTokenRequest.ts | 8 +- .../InvalidateUserAccessTokenResponse.ts | 8 +- .../security/user/put_user/PutUserRequest.ts | 18 +- .../security/user/put_user/PutUserResponse.ts | 2 +- .../x_pack/slm/SnapshotLifecycleConfig.ts | 6 +- .../x_pack/slm/SnapshotLifecycleInProgress.ts | 8 +- .../slm/SnapshotLifecycleInvocationRecord.ts | 4 +- .../x_pack/slm/SnapshotLifecyclePolicy.ts | 10 +- .../slm/SnapshotLifecyclePolicyMetadata.ts | 14 +- .../slm/SnapshotRetentionConfiguration.ts | 6 +- .../DeleteSnapshotLifecycleRequest.ts | 10 +- .../DeleteSnapshotLifecycleResponse.ts | 3 +- .../ExecuteSnapshotLifecycleRequest.ts | 10 +- .../ExecuteSnapshotLifecycleResponse.ts | 2 +- .../ExecuteRetentionRequest.ts | 8 +- .../ExecuteRetentionResponse.ts | 3 +- .../GetSnapshotLifecycleRequest.ts | 10 +- .../GetSnapshotLifecycleResponse.ts | 5 +- .../GetSnapshotLifecycleStatsRequest.ts | 8 +- .../GetSnapshotLifecycleStatsResponse.ts | 18 +- ...napshotLifecycleManagementStatusRequest.ts | 8 +- ...apshotLifecycleManagementStatusResponse.ts | 2 +- .../PutSnapshotLifecycleRequest.ts | 17 +- .../PutSnapshotLifecycleResponse.ts | 3 +- ...StartSnapshotLifecycleManagementRequest.ts | 8 +- ...tartSnapshotLifecycleManagementResponse.ts | 3 +- .../StopSnapshotLifecycleManagementRequest.ts | 8 +- ...StopSnapshotLifecycleManagementResponse.ts | 3 +- specification/specs/x_pack/sql/SqlRequest.ts | 8 +- .../clear_sql_cursor/ClearSqlCursorRequest.ts | 7 +- .../ClearSqlCursorResponse.ts | 2 +- .../x_pack/sql/query_sql/QuerySqlRequest.ts | 16 +- .../x_pack/sql/query_sql/QuerySqlResponse.ts | 8 +- .../specs/x_pack/sql/query_sql/SqlColumn.ts | 4 +- .../specs/x_pack/sql/query_sql/SqlValue.ts | 5 +- .../sql/translate_sql/TranslateSqlRequest.ts | 13 +- .../sql/translate_sql/TranslateSqlResponse.ts | 2 +- .../ClusterCertificateInformation.ts | 14 +- .../GetCertificatesRequest.ts | 8 +- .../GetCertificatesResponse.ts | 4 +- .../x_pack/transform/TransformDestination.ts | 4 +- .../specs/x_pack/transform/TransformSource.ts | 4 +- .../specs/x_pack/transform/TransformSync.ts | 3 +- .../transform/TransformSyncContainer.ts | 2 +- .../x_pack/transform/TransformTimeSync.ts | 4 +- .../DeleteTransformRequest.ts | 9 +- .../DeleteTransformResponse.ts | 3 +- .../get_transform/GetTransformRequest.ts | 13 +- .../get_transform/GetTransformResponse.ts | 4 +- .../GetTransformStatsRequest.ts | 13 +- .../GetTransformStatsResponse.ts | 4 +- .../get_transform_stats/NodeAttributes.ts | 10 +- .../TransformCheckpointStats.ts | 12 +- .../TransformCheckpointingInfo.ts | 10 +- .../TransformIndexerStats.ts | 30 +- .../get_transform_stats/TransformProgress.ts | 10 +- .../get_transform_stats/TransformStats.ts | 12 +- .../transform/pivot/SingleGroupSource.ts | 6 +- .../x_pack/transform/pivot/TransformPivot.ts | 6 +- .../PreviewTransformRequest.ts | 17 +- .../PreviewTransformResponse.ts | 4 +- .../put_transform/PutTransformRequest.ts | 18 +- .../put_transform/PutTransformResponse.ts | 3 +- .../start_transform/StartTransformRequest.ts | 9 +- .../start_transform/StartTransformResponse.ts | 3 +- .../stop_transform/StopTransformRequest.ts | 17 +- .../stop_transform/StopTransformResponse.ts | 3 +- .../UpdateTransformRequest.ts | 16 +- .../UpdateTransformResponse.ts | 20 +- specification/specs/x_pack/watcher/Watch.ts | 16 +- .../acknowledge_watch/AcknowledgeState.ts | 4 +- .../AcknowledgeWatchRequest.ts | 12 +- .../AcknowledgeWatchResponse.ts | 2 +- .../watcher/acknowledge_watch/ActionStatus.ts | 8 +- .../acknowledge_watch/ActivationState.ts | 4 +- .../acknowledge_watch/ExecutionState.ts | 4 +- .../acknowledge_watch/ThrottleState.ts | 4 +- .../watcher/acknowledge_watch/WatchStatus.ts | 10 +- .../specs/x_pack/watcher/action/Action.ts | 14 +- .../x_pack/watcher/action/email/EmailBody.ts | 4 +- .../action/pager_duty/PagerDutyContext.ts | 6 +- .../action/pager_duty/PagerDutyEvent.ts | 16 +- .../watcher/action/slack/SlackAttachment.ts | 30 +- .../action/slack/SlackAttachmentField.ts | 6 +- .../action/slack/SlackDynamicAttachment.ts | 4 +- .../watcher/action/slack/SlackMessage.ts | 12 +- .../activate_watch/ActivateWatchRequest.ts | 10 +- .../activate_watch/ActivateWatchResponse.ts | 2 +- .../activate_watch/ActivationStatus.ts | 4 +- .../watcher/condition/AlwaysCondition.ts | 3 +- .../condition/ArrayCompareCondition.ts | 12 +- .../watcher/condition/CompareCondition.ts | 8 +- .../x_pack/watcher/condition/Condition.ts | 3 +- .../watcher/condition/ConditionContainer.ts | 10 +- .../watcher/condition/NeverCondition.ts | 3 +- .../watcher/condition/ScriptCondition.ts | 6 +- .../DeactivateWatchRequest.ts | 10 +- .../DeactivateWatchResponse.ts | 2 +- .../delete_watch/DeleteWatchRequest.ts | 10 +- .../delete_watch/DeleteWatchResponse.ts | 6 +- .../execute_watch/ExecuteWatchRequest.ts | 20 +- .../execute_watch/ExecuteWatchResponse.ts | 4 +- .../watcher/execute_watch/ExecutionResult.ts | 10 +- .../execute_watch/ExecutionResultAction.ts | 20 +- .../execute_watch/ExecutionResultCondition.ts | 6 +- .../execute_watch/ExecutionResultInput.ts | 6 +- .../execute_watch/TriggerEventResult.ts | 6 +- .../watcher/execute_watch/WatchRecord.ts | 20 +- .../execution/HttpInputRequestResult.ts | 3 +- .../execution/HttpInputResponseResult.ts | 6 +- .../watcher/execution/SimulatedActions.ts | 8 +- .../execution/email/EmailActionResult.ts | 6 +- .../watcher/execution/email/EmailResult.ts | 20 +- .../execution/index/IndexActionResult.ts | 4 +- .../index/IndexActionResultIndexResponse.ts | 10 +- .../execution/logging/LoggingActionResult.ts | 2 +- .../pager_duty/PagerDutyActionEventResult.ts | 8 +- .../pager_duty/PagerDutyActionResult.ts | 2 +- .../slack/SlackActionMessageResult.ts | 12 +- .../execution/slack/SlackActionResult.ts | 4 +- .../execution/webhook/WebhookActionResult.ts | 4 +- .../watcher/get_watch/GetWatchRequest.ts | 10 +- .../watcher/get_watch/GetWatchResponse.ts | 8 +- .../specs/x_pack/watcher/input/ChainInput.ts | 4 +- .../specs/x_pack/watcher/input/HttpInput.ts | 6 +- .../watcher/input/HttpInputAuthentication.ts | 2 +- .../input/HttpInputBasicAuthentication.ts | 4 +- .../x_pack/watcher/input/HttpInputProxy.ts | 4 +- .../x_pack/watcher/input/HttpInputRequest.ts | 26 +- .../x_pack/watcher/input/IndicesOptions.ts | 6 +- .../specs/x_pack/watcher/input/Input.ts | 3 +- .../x_pack/watcher/input/InputContainer.ts | 8 +- .../specs/x_pack/watcher/input/SearchInput.ts | 6 +- .../watcher/input/SearchInputRequest.ts | 10 +- .../specs/x_pack/watcher/input/SimpleInput.ts | 4 +- .../watcher/put_watch/PutWatchRequest.ts | 26 +- .../watcher/put_watch/PutWatchResponse.ts | 10 +- .../restart_watcher/RestartWatcherResponse.ts | 3 +- .../x_pack/watcher/schedule/CronExpression.ts | 5 +- .../x_pack/watcher/schedule/DailySchedule.ts | 2 +- .../x_pack/watcher/schedule/HourlySchedule.ts | 2 +- .../specs/x_pack/watcher/schedule/Interval.ts | 6 +- .../specs/x_pack/watcher/schedule/Schedule.ts | 3 +- .../x_pack/watcher/schedule/ScheduleBase.ts | 3 +- .../watcher/schedule/ScheduleContainer.ts | 14 +- .../watcher/schedule/ScheduleTriggerEvent.ts | 4 +- .../x_pack/watcher/schedule/TimeOfDay.ts | 4 +- .../x_pack/watcher/schedule/TimeOfMonth.ts | 4 +- .../x_pack/watcher/schedule/TimeOfWeek.ts | 4 +- .../x_pack/watcher/schedule/TimeOfYear.ts | 6 +- .../start_watcher/StartWatcherRequest.ts | 8 +- .../start_watcher/StartWatcherResponse.ts | 3 +- .../stop_watcher/StopWatcherRequest.ts | 8 +- .../stop_watcher/StopWatcherResponse.ts | 3 +- .../watcher/transform/ChainTransform.ts | 4 +- .../watcher/transform/ScriptTransform.ts | 6 +- .../watcher/transform/SearchTransform.ts | 4 +- .../x_pack/watcher/transform/Transform.ts | 3 +- .../watcher/transform/TransformContainer.ts | 6 +- .../watcher/trigger/TriggerContainer.ts | 4 +- .../x_pack/watcher/trigger/TriggerEvent.ts | 3 +- .../watcher/trigger/TriggerEventContainer.ts | 2 +- .../watcher_stats/ExecutionThreadPool.ts | 4 +- .../watcher_stats/WatchRecordQueuedStats.ts | 8 +- .../watcher/watcher_stats/WatchRecordStats.ts | 2 +- .../watcher/watcher_stats/WatcherNodeStats.ts | 10 +- .../watcher_stats/WatcherStatsRequest.ts | 9 +- .../watcher_stats/WatcherStatsResponse.ts | 6 +- .../src/specification/type-reader.ts | 2 +- 1459 files changed, 7462 insertions(+), 9175 deletions(-) create mode 100644 .github/workflows/code-format.yml create mode 100644 docs/behaviors.md create mode 100644 docs/modeling-guide.md delete mode 100644 docs/special-classes.md create mode 100644 docs/style-guide.md create mode 100644 specification/.prettierignore create mode 100644 specification/.prettierrc.json diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 927f52bb0d..0de5ae5510 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -7,6 +7,7 @@ Please make sure to follow the steps below when opening a pr: - Tag the relative issue (if any) and give a brief explanation on what your changes are doing - If you did a spec change, remember to generate again the outputs, you can do it by running `make generate-spec` +- Make sure your code follows the lint rules, you can fix them by running `npm run lint:fix --prefix specification` - Sign the CLA https://www.elastic.co/contributor-agreement/ Happy coding! diff --git a/.github/workflows/code-format.yml b/.github/workflows/code-format.yml new file mode 100644 index 0000000000..37c7ea746a --- /dev/null +++ b/.github/workflows/code-format.yml @@ -0,0 +1,25 @@ +name: Code style + +on: [pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Use Node.js 14.x + uses: actions/setup-node@v1 + with: + node-version: 14.x + + - name: Install + run: | + npm install --prefix specification + + - name: Code style check + run: | + npm run format:check --prefix specification + diff --git a/Makefile b/Makefile index e96544ea08..97e114ba2f 100644 --- a/Makefile +++ b/Makefile @@ -20,6 +20,10 @@ validation-api-response: ## Validate response of Endpoint with param: api=> validating response of Endpoint: $(api)" ./run-validations.sh --api $(api) --response +format-code: ## Format the spec according to the style guide + @echo ">> validating formatting code" + @npm run format:fix --prefix specification + generate-spec: ## Generate the output spec @echo ">> generating the spec .." @npm run compile:canonical-json diff --git a/README.md b/README.md index 479c82ebc2..ab872dc3d1 100644 --- a/README.md +++ b/README.md @@ -184,147 +184,6 @@ Namespaced APIs can be validated in the same way, for example: ./run-validations.sh --api cat.health --request ``` -## Custom types - -The goal of the specification is to be used by different languages, from dynamically typed to statically typed. -To achieve this goal the specification contains a series of custom types that do not have a meaning -for the target language, but they should be translated to the most approriate construct. - -The specification is written in [TypeScript](https://www.typescriptlang.org/), you can find all -the basic types [here](https://www.typescriptlang.org/docs/handbook/basic-types.html), while -in [`docs/special-classes.md`](./docs/special-classes.md) you can find custom classes for -defining set of APIs. - -### Dictionary - -Represents a dynamic key value map: - -```ts -property: Dictionary -``` - -For example: - -```json -{ - "property1": "type", - "property2": "other-type", -} -``` - -### SingleKeyDictionary - -Represents a dynamic key value map with a single top level key: - -```ts -property: SingleKeyDictionary -``` - -For example: - -```json -{ - "onlyKey": "type" -} -``` - -### Array - -Represents an array of the given value: - -```ts -// generics syntax -property: Array - -// short syntax -property: string[] -``` - -### Union - -Represents a type that can accept multiple types: - -```ts -property: string | long -``` - -It can be combined with other types: -```ts -// array -property: Array - -// dictionary -property: Dictionary -``` - -### Enum - -Represents a set of allowed values: - -```ts -enum MyEnum { - first = 0, - second = 1, - third = 2 -} - -property: MyEnum -``` - -### User defined value - -Represents a value that will be defined by the user and has no specific type. - -```ts -property: UserDefinedValue -``` - -### Numbers - -The numeric type in TypeScript is `number`, but given that this specification target mutliple languages, -it offers a bunch of alias that represents the type that should be used if the language supports it: - -```ts -type short = number -type byte = number -type integer = number -type long = number -type float = number -type double = number -``` - -### Strings - -The string type in TypeScript is `string`. It's ok to use it in the spec, but to offer a more developer -friendly specification, we do offer a set of aliases based on which string we do expect, for example: - -```ts -type ScrollId = string -type ScrollIds = string -type CategoryId = string -type ActionIds = string -type Field = string -type Id = string | number -type Ids = string | number | string[] -type IndexName = string -type Indices = string | string[] -... -``` - -You can find the full list [here](https://github.com/elastic/elastic-client-generator/blob/update-docs/specification/specs/common.ts), -feel free to add more if it feels appropriate! - -### Dates - -The `Date` type in TypeScript refers to the JavaScript `Date` object, -since Elasticsearch needs a string or a numeric value, there are aliases also for date types: - -```ts -type Timestamp = string -type TimeSpan = string -interface Date {} -``` - ## FAQ ### A specific property is not always present, how do I define it? diff --git a/docs/behaviors.md b/docs/behaviors.md new file mode 100644 index 0000000000..2d95bb59f2 --- /dev/null +++ b/docs/behaviors.md @@ -0,0 +1,43 @@ +# Behaviors + +Some APIs needs to be handled differenlty based on the output language, while others share many common parameters. +This document contains the list of this special interfaces and where those should be used. +Behaviors should be used via `implements` in the specification. + +You can find all the special classes and aliases in in the [modeling guide](./modeling-guide.md). + +## AdditionalProperties + +In some places in the specification an object consists of the union of a set of known properties +and a set of runtime injected properties. Meaning that object should theoretically extend Dictionary but expose +a set of known keys and possibly. The object might already be part of an object graph and have a parent class. +This puts it into a bind that needs a client specific solution. +We therefore document the requirement to behave like a dictionary for unknown properties with this interface. + +```ts +class IpRangeBucket implements AdditionalProperties {} +``` + +## ArrayResponse + +A response formatted as an array of records. +Some languages can't represent this easily and need to wrap the +array inside an object. + +```ts +class CatAliasesResponse + extends ResponseBase + implements ArrayResponse {} +``` + +## EmptyResponseBase + +HEAD APIs can have a different behavior based on the language, +the response body is always empty to it's up to language generators +to define how those should be represented. + +```ts +class DocumentExistsResponse + extends ResponseBase + implements EmptyResponseBase {} +``` \ No newline at end of file diff --git a/docs/modeling-guide.md b/docs/modeling-guide.md new file mode 100644 index 0000000000..f4a0e97928 --- /dev/null +++ b/docs/modeling-guide.md @@ -0,0 +1,140 @@ +# Modeling Guide + +The goal of the specification is to be used by different languages, from dynamically typed to statically typed. +To achieve this goal the specification contains a series of custom types that do not have a meaning +for the target language, but they should be translated to the most approriate construct. + +The specification is written in [TypeScript](https://www.typescriptlang.org/), you can find all +the basic types [here](https://www.typescriptlang.org/docs/handbook/basic-types.html), +while in [behaviors](./behaviors.md) you can find the list of special interfaces used +for describing APIs that can't be represented in the specification. + +### Dictionary + +Represents a dynamic key value map: + +```ts +property: Dictionary +``` + +For example: + +```json +{ + "property1": "type", + "property2": "other-type", +} +``` + +### SingleKeyDictionary + +Represents a dynamic key value map with a single top level key: + +```ts +property: SingleKeyDictionary +``` + +For example: + +```json +{ + "onlyKey": "type" +} +``` + +### Array + +Represents an array of the given value: + +```ts +// generics syntax +property: Array + +// short syntax +property: string[] +``` + +### Union + +Represents a type that can accept multiple types: + +```ts +property: string | long +``` + +It can be combined with other types: +```ts +// array +property: Array + +// dictionary +property: Dictionary +``` + +### Enum + +Represents a set of allowed values: + +```ts +enum MyEnum { + first = 0, + second = 1, + third = 2 +} + +property: MyEnum +``` + +### User defined value + +Represents a value that will be defined by the user and has no specific type. + +```ts +property: UserDefinedValue +``` + +### Numbers + +The numeric type in TypeScript is `number`, but given that this specification target mutliple languages, +it offers a bunch of alias that represents the type that should be used if the language supports it: + +```ts +type short = number +type byte = number +type integer = number +type long = number +type float = number +type double = number +``` + +### Strings + +The string type in TypeScript is `string`. It's ok to use it in the spec, but to offer a more developer +friendly specification, we do offer a set of aliases based on which string we do expect, for example: + +```ts +type ScrollId = string +type ScrollIds = string +type CategoryId = string +type ActionIds = string +type Field = string +type Id = string | number +type Ids = string | number | string[] +type IndexName = string +type Indices = string | string[] +... +``` + +You can find the full list [here](https://github.com/elastic/elastic-client-generator/blob/update-docs/specification/specs/common.ts), +feel free to add more if it feels appropriate! + +### Dates + +The `Date` type in TypeScript refers to the JavaScript `Date` object, +since Elasticsearch needs a string or a numeric value, there are aliases also for date types: + +```ts +type Timestamp = string +type TimeSpan = string +interface Date {} +``` diff --git a/docs/special-classes.md b/docs/special-classes.md deleted file mode 100644 index 53d4d66105..0000000000 --- a/docs/special-classes.md +++ /dev/null @@ -1,42 +0,0 @@ -# Special classes - -Some APIs needs to be handled differenlty based on the output language, while others share many common parameters. -This document contains the list of this special classes and where those should be used. - -## CatRequestBase - -This class must be used when implementing any Cat request definition. - -For example: -```ts -@rest_spec_name("cat.aliases") -class CatAliasesRequest extends CatRequestBase { - path_parts?: { - name?: Names; - } - query_parameters?: { - expand_wildcards?: ExpandWildcards; - } - body?: { - } -} -``` - -## CatResponseBase - -This class must be used when implementing any Cat response definition. - -For example: -```ts -class CatAliasesResponse extends CatResponseBase {} -``` - -## HeadResponseBase - -This class must be used when implementing any API response definition where -the request used the `HEAD` method. - -For example: -```ts -class DocumentExistsResponse extends HeadResponseBase {} -``` \ No newline at end of file diff --git a/docs/style-guide.md b/docs/style-guide.md new file mode 100644 index 0000000000..d34a5cda16 --- /dev/null +++ b/docs/style-guide.md @@ -0,0 +1,95 @@ +# Style Guide + +This document contains all conventions to follow when implementing or updating an API definition. + +## Code style + +Following you can find the rules enforced inside [`/specification/specs`](../specification/specs): + +```json +{ + "trailingComma": "none", + "tabWidth": 2, + "useTabs": false, + "semi": false, + "singleQuote": true, + "quoteProps": "as-needed", + "bracketSpacing": true, + "endOfLine": "lf" +} +``` + +You can automatically apply them by running `make format-code`. +Those rules are enforced in CI, if you don't follow them, the build will fail. + +## Merge definitions + +When possible, it's better to merge multiple definitions in a single file. +For instance, if a response method uses multiple classes, and those classes +are mainly used in that response, those definitions will live in the same +file as the response. + +When defining request and response definitions, place both in the same file, +where the filename is a meaningful name. For example, if you are implementing +the `indices.create` API, the file name will be `CreateIndex.ts` and will +contains both the request and response classes. + +As a rule of thumb, if you have a collection of small definitions (smaller than 15 properties) +it's preferable to put them in a single file, while big definitions (search, for example), +can live in single files, as those definitions are big and more complicated. +You can also group definitions if they are related and consumed by a single type. + +## Reuse definitions + +To improved the developer experience, the specification make an extensive use +of aliases and custom types, to describe what kind of value needs to be passed +to an API. You can find some of this aliases in [`common.ts`](../specification/specs/common.ts), +[`common/`](../specification/specs/common/), [`common_abstractions/`](../specification/specs/common_abstractions/), +and [`common_options/`](../specification/specs/common_options/). + +Where applicable, try to reuse those definitions, or if you see a pattern that +has not been defined yet, feel free to add a new alias or abstraction. + +You can find a not comprehensive list of the most commonly used abstractions +in the [modeling guide](./modeling-guide.md), while in [behaviors](./behaviors.md) +you can find the list of special interfaces used for describing APIs that can't be +represented in the specification. + +## Where to store files + +The content of [`/specification/specs`](../specification/specs) +tryied to mimic the Elasticsearch online documentation, so you can use it as inspiration. +For example, the index document defintion can be found in +[`/specification/specs/document/single/index`](../specification/specs/document/single/index). + +## Using unions + +Using unions direclty in definitions is considereded code smell, it's recommended to create +a type alias that describes the union. These alises do not need to live in common files +unless those are truly commonly used throughout the specification. + +```ts +// nay +class Foo { + id: string | number +} + +// yay +class Foo { + id: Id +} +type Id = string | number +``` + +## Arrays + +It's fine to use the short TypeScript array notation, unless the type +becomes more comples (eg: array of unions), in such case prefer the full definition. + +```ts +class Foo { + bar: string[] // yay + bar: (string | number)[] // nay + bar: Array // yay +} +``` diff --git a/specification/.prettierignore b/specification/.prettierignore new file mode 100644 index 0000000000..a9e9b6cdfa --- /dev/null +++ b/specification/.prettierignore @@ -0,0 +1 @@ +specs/_json_spec diff --git a/specification/.prettierrc.json b/specification/.prettierrc.json new file mode 100644 index 0000000000..da6b628804 --- /dev/null +++ b/specification/.prettierrc.json @@ -0,0 +1,10 @@ +{ + "trailingComma": "none", + "tabWidth": 2, + "useTabs": false, + "semi": false, + "singleQuote": true, + "quoteProps": "as-needed", + "bracketSpacing": true, + "endOfLine": "lf" +} diff --git a/specification/package-lock.json b/specification/package-lock.json index 4fe23c5480..9853adc0a6 100644 --- a/specification/package-lock.json +++ b/specification/package-lock.json @@ -43,32 +43,6 @@ } } }, - "@eslint/eslintrc": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-0.2.2.tgz", - "integrity": "sha512-EfB5OHNYp1F4px/LI/FEnGylop7nOqkQ1LRzCM0KccA2U8tvV8w01KBv37LbO7nW4H+YhKyo2LcJhRwjjV17QQ==", - "dev": true, - "requires": { - "ajv": "^6.12.4", - "debug": "^4.1.1", - "espree": "^7.3.0", - "globals": "^12.1.0", - "ignore": "^4.0.6", - "import-fresh": "^3.2.1", - "js-yaml": "^3.13.1", - "lodash": "^4.17.19", - "minimatch": "^3.0.4", - "strip-json-comments": "^3.1.1" - }, - "dependencies": { - "ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true - } - } - }, "@nodelib/fs.scandir": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.4.tgz", @@ -101,12 +75,6 @@ "integrity": "sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw==", "dev": true }, - "@types/json5": { - "version": "0.0.29", - "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", - "integrity": "sha1-7ihweulOEdK4J7y+UnC86n8+ce4=", - "dev": true - }, "@types/lodash": { "version": "4.14.168", "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.168.tgz", @@ -203,42 +171,6 @@ "eslint-visitor-keys": "^2.0.0" } }, - "acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", - "dev": true - }, - "acorn-jsx": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", - "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", - "dev": true - }, - "ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", - "dev": true, - "requires": { - "fast-deep-equal": "^3.1.1", - "fast-json-stable-stringify": "^2.0.0", - "json-schema-traverse": "^0.4.1", - "uri-js": "^4.2.2" - } - }, - "ansi-colors": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz", - "integrity": "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==", - "dev": true - }, - "ansi-regex": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", - "dev": true - }, "ansi-styles": { "version": "3.2.1", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", @@ -263,54 +195,12 @@ "sprintf-js": "~1.0.2" } }, - "array-includes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.2.tgz", - "integrity": "sha512-w2GspexNQpx+PutG3QpT437/BenZBj0M/MZGn5mzv/MofYqo0xmRHzn4lFsoDlWJ+THYsGJmFlW68WlDFx7VRw==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1", - "get-intrinsic": "^1.0.1", - "is-string": "^1.0.5" - } - }, "array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", "dev": true }, - "array.prototype.flat": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.4.tgz", - "integrity": "sha512-4470Xi3GAPAjZqFcljX2xzckv1qeKPizoNkiS0+O4IoPR2ZNpcjE0pkhdihlDouK+x6QOast26B4Q/O9DJnwSg==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1" - } - }, - "array.prototype.flatmap": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.2.4.tgz", - "integrity": "sha512-r9Z0zYoxqHz60vvQbWEdXIEtCwHF0yxaWfno9qzXeNHvfyl3BZqygmGzb84dsubyaXLH4husF+NFgMSdpZhk2Q==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1", - "function-bind": "^1.1.1" - } - }, - "astral-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", - "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", - "dev": true - }, "balanced-match": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", @@ -351,73 +241,6 @@ "resolved": "https://registry.npmjs.org/byots/-/byots-4.1.0-dev.20201102.16.32.tgz", "integrity": "sha512-W8IrnBgfWpP3tFxlTeYMjokY8mnOXKWQOR52OiXIXwVI4BpqN74rWi41sESIDuMRoktYqnChFhY7NzTo+aczFw==" }, - "call-bind": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", - "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2" - } - }, - "callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true - }, - "chalk": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.0.tgz", - "integrity": "sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==", - "dev": true, - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "dependencies": { - "ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "requires": { - "color-convert": "^2.0.1" - } - }, - "color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "requires": { - "color-name": "~1.1.4" - } - }, - "color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true - }, - "supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "requires": { - "has-flag": "^4.0.0" - } - } - } - }, "color-convert": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", @@ -444,29 +267,12 @@ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" }, - "contains-path": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", - "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", - "dev": true - }, "create-require": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", "dev": true }, - "cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", - "dev": true, - "requires": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - } - }, "debug": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", @@ -476,21 +282,6 @@ "ms": "2.1.2" } }, - "deep-is": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", - "dev": true - }, - "define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dev": true, - "requires": { - "object-keys": "^1.0.12" - } - }, "diff": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", @@ -506,313 +297,12 @@ "path-type": "^4.0.0" } }, - "doctrine": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", - "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - }, - "emoji-regex": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", - "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", - "dev": true - }, - "enquirer": { - "version": "2.3.6", - "resolved": "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz", - "integrity": "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==", - "dev": true, - "requires": { - "ansi-colors": "^4.1.1" - } - }, - "error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, - "requires": { - "is-arrayish": "^0.2.1" - } - }, - "es-abstract": { - "version": "1.18.0-next.2", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0-next.2.tgz", - "integrity": "sha512-Ih4ZMFHEtZupnUh6497zEL4y2+w8+1ljnCyaTa+adcoafI1GOvMwFlDjBLfWR7y9VLfrjRJe9ocuHY1PSR9jjw==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.0.2", - "has": "^1.0.3", - "has-symbols": "^1.0.1", - "is-callable": "^1.2.2", - "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.1", - "object-inspect": "^1.9.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "string.prototype.trimend": "^1.0.3", - "string.prototype.trimstart": "^1.0.3" - } - }, - "es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", - "dev": true, - "requires": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" - } - }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", "dev": true }, - "eslint": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-7.13.0.tgz", - "integrity": "sha512-uCORMuOO8tUzJmsdRtrvcGq5qposf7Rw0LwkTJkoDbOycVQtQjmnhZSuLQnozLE4TmAzlMVV45eCHmQ1OpDKUQ==", - "dev": true, - "requires": { - "@babel/code-frame": "^7.0.0", - "@eslint/eslintrc": "^0.2.1", - "ajv": "^6.10.0", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.2", - "debug": "^4.0.1", - "doctrine": "^3.0.0", - "enquirer": "^2.3.5", - "eslint-scope": "^5.1.1", - "eslint-utils": "^2.1.0", - "eslint-visitor-keys": "^2.0.0", - "espree": "^7.3.0", - "esquery": "^1.2.0", - "esutils": "^2.0.2", - "file-entry-cache": "^5.0.1", - "functional-red-black-tree": "^1.0.1", - "glob-parent": "^5.0.0", - "globals": "^12.1.0", - "ignore": "^4.0.6", - "import-fresh": "^3.0.0", - "imurmurhash": "^0.1.4", - "is-glob": "^4.0.0", - "js-yaml": "^3.13.1", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.4.1", - "lodash": "^4.17.19", - "minimatch": "^3.0.4", - "natural-compare": "^1.4.0", - "optionator": "^0.9.1", - "progress": "^2.0.0", - "regexpp": "^3.1.0", - "semver": "^7.2.1", - "strip-ansi": "^6.0.0", - "strip-json-comments": "^3.1.0", - "table": "^5.2.3", - "text-table": "^0.2.0", - "v8-compile-cache": "^2.0.3" - }, - "dependencies": { - "ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "dev": true - } - } - }, - "eslint-config-standard": { - "version": "16.0.2", - "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-16.0.2.tgz", - "integrity": "sha512-fx3f1rJDsl9bY7qzyX8SAtP8GBSk6MfXFaTfaGgk12aAYW4gJSyRm7dM790L6cbXv63fvjY4XeSzXnb4WM+SKw==", - "dev": true - }, - "eslint-config-standard-jsx": { - "version": "10.0.0", - "resolved": "https://registry.npmjs.org/eslint-config-standard-jsx/-/eslint-config-standard-jsx-10.0.0.tgz", - "integrity": "sha512-hLeA2f5e06W1xyr/93/QJulN/rLbUVUmqTlexv9PRKHFwEC9ffJcH2LvJhMoEqYQBEYafedgGZXH2W8NUpt5lA==", - "dev": true - }, - "eslint-import-resolver-node": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz", - "integrity": "sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA==", - "dev": true, - "requires": { - "debug": "^2.6.9", - "resolve": "^1.13.1" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } - } - }, - "eslint-module-utils": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz", - "integrity": "sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA==", - "dev": true, - "requires": { - "debug": "^2.6.9", - "pkg-dir": "^2.0.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } - } - }, - "eslint-plugin-es": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-3.0.1.tgz", - "integrity": "sha512-GUmAsJaN4Fc7Gbtl8uOBlayo2DqhwWvEzykMHSCZHU3XdJ+NSzzZcVhXh3VxX5icqQ+oQdIEawXX8xkR3mIFmQ==", - "dev": true, - "requires": { - "eslint-utils": "^2.0.0", - "regexpp": "^3.0.0" - } - }, - "eslint-plugin-import": { - "version": "2.22.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz", - "integrity": "sha512-8K7JjINHOpH64ozkAhpT3sd+FswIZTfMZTjdx052pnWrgRCVfp8op9tbjpAk3DdUeI/Ba4C8OjdC0r90erHEOw==", - "dev": true, - "requires": { - "array-includes": "^3.1.1", - "array.prototype.flat": "^1.2.3", - "contains-path": "^0.1.0", - "debug": "^2.6.9", - "doctrine": "1.5.0", - "eslint-import-resolver-node": "^0.3.4", - "eslint-module-utils": "^2.6.0", - "has": "^1.0.3", - "minimatch": "^3.0.4", - "object.values": "^1.1.1", - "read-pkg-up": "^2.0.0", - "resolve": "^1.17.0", - "tsconfig-paths": "^3.9.0" - }, - "dependencies": { - "debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dev": true, - "requires": { - "ms": "2.0.0" - } - }, - "doctrine": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", - "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", - "dev": true, - "requires": { - "esutils": "^2.0.2", - "isarray": "^1.0.0" - } - }, - "ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", - "dev": true - } - } - }, - "eslint-plugin-node": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-node/-/eslint-plugin-node-11.1.0.tgz", - "integrity": "sha512-oUwtPJ1W0SKD0Tr+wqu92c5xuCeQqB3hSCHasn/ZgjFdA9iDGNkNf2Zi9ztY7X+hNuMib23LNGRm6+uN+KLE3g==", - "dev": true, - "requires": { - "eslint-plugin-es": "^3.0.0", - "eslint-utils": "^2.0.0", - "ignore": "^5.1.1", - "minimatch": "^3.0.4", - "resolve": "^1.10.1", - "semver": "^6.1.0" - }, - "dependencies": { - "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true - } - } - }, - "eslint-plugin-promise": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-4.2.1.tgz", - "integrity": "sha512-VoM09vT7bfA7D+upt+FjeBO5eHIJQBUWki1aPvB+vbNiHS3+oGIJGIeyBtKQTME6UPXXy3vV07OL1tHd3ANuDw==", - "dev": true - }, - "eslint-plugin-react": { - "version": "7.21.5", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.21.5.tgz", - "integrity": "sha512-8MaEggC2et0wSF6bUeywF7qQ46ER81irOdWS4QWxnnlAEsnzeBevk1sWh7fhpCghPpXb+8Ks7hvaft6L/xsR6g==", - "dev": true, - "requires": { - "array-includes": "^3.1.1", - "array.prototype.flatmap": "^1.2.3", - "doctrine": "^2.1.0", - "has": "^1.0.3", - "jsx-ast-utils": "^2.4.1 || ^3.0.0", - "object.entries": "^1.1.2", - "object.fromentries": "^2.0.2", - "object.values": "^1.1.1", - "prop-types": "^15.7.2", - "resolve": "^1.18.1", - "string.prototype.matchall": "^4.0.2" - }, - "dependencies": { - "doctrine": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", - "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", - "dev": true, - "requires": { - "esutils": "^2.0.2" - } - } - } - }, "eslint-scope": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", @@ -846,48 +336,12 @@ "integrity": "sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==", "dev": true }, - "espree": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-7.3.1.tgz", - "integrity": "sha512-v3JCNCE64umkFpmkFGqzVKsOT0tN1Zr+ueqLZfpV1Ob8e+CEgPWa+OxCoGH3tnhimMKIaBm4m/vaRpJ/krRz2g==", - "dev": true, - "requires": { - "acorn": "^7.4.0", - "acorn-jsx": "^5.3.1", - "eslint-visitor-keys": "^1.3.0" - }, - "dependencies": { - "eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", - "dev": true - } - } - }, "esprima": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true }, - "esquery": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.3.1.tgz", - "integrity": "sha512-olpvt9QG0vniUBZspVRN6lwB7hOZoTRtT+jzR+tS4ffYx2mzbw+z0XCOk44aaLYKApNX5nMm+E+P6o25ip/DHQ==", - "dev": true, - "requires": { - "estraverse": "^5.1.0" - }, - "dependencies": { - "estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", - "dev": true - } - } - }, "esrecurse": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", @@ -911,18 +365,6 @@ "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", "dev": true }, - "esutils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", - "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", - "dev": true - }, - "fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true - }, "fast-glob": { "version": "3.2.5", "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.2.5.tgz", @@ -937,18 +379,6 @@ "picomatch": "^2.2.1" } }, - "fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true - }, - "fast-levenshtein": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", - "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", - "dev": true - }, "fastq": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.10.0.tgz", @@ -958,15 +388,6 @@ "reusify": "^1.0.4" } }, - "file-entry-cache": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", - "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==", - "dev": true, - "requires": { - "flat-cache": "^2.0.1" - } - }, "fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", @@ -976,32 +397,6 @@ "to-regex-range": "^5.0.1" } }, - "find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dev": true, - "requires": { - "locate-path": "^2.0.0" - } - }, - "flat-cache": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", - "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", - "dev": true, - "requires": { - "flatted": "^2.0.0", - "rimraf": "2.6.3", - "write": "1.0.3" - } - }, - "flatted": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.2.tgz", - "integrity": "sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==", - "dev": true - }, "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", @@ -1019,23 +414,6 @@ "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", "dev": true }, - "get-intrinsic": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.0.2.tgz", - "integrity": "sha512-aeX0vrFm21ILl3+JpFFRNe9aUvp6VFZb2/CTbgLb8j75kOhvoNYjt9d8KA/tJG4gSo8nzEDedRl0h7vDmBYRVg==", - "dev": true, - "requires": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - } - }, - "get-stdin": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-8.0.0.tgz", - "integrity": "sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg==", - "dev": true - }, "glob": { "version": "7.1.6", "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", @@ -1058,15 +436,6 @@ "is-glob": "^4.0.1" } }, - "globals": { - "version": "12.4.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-12.4.0.tgz", - "integrity": "sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==", - "dev": true, - "requires": { - "type-fest": "^0.8.1" - } - }, "globby": { "version": "11.0.2", "resolved": "https://registry.npmjs.org/globby/-/globby-11.0.2.tgz", @@ -1081,12 +450,6 @@ "slash": "^3.0.0" } }, - "graceful-fs": { - "version": "4.2.4", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz", - "integrity": "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==", - "dev": true - }, "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -1102,40 +465,12 @@ "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "dev": true }, - "has-symbols": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", - "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", - "dev": true - }, - "hosted-git-info": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", - "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==", - "dev": true - }, "ignore": { "version": "5.1.8", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==", "dev": true }, - "import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, - "requires": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - } - }, - "imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", - "dev": true - }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", @@ -1150,50 +485,6 @@ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, - "internal-slot": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.2.tgz", - "integrity": "sha512-2cQNfwhAfJIkU4KZPkDI+Gj5yNNnbqi40W9Gge6dfnk4TocEVm00B3bdiL+JINrbGJil2TeHvM4rETGzk/f/0g==", - "dev": true, - "requires": { - "es-abstract": "^1.17.0-next.1", - "has": "^1.0.3", - "side-channel": "^1.0.2" - }, - "dependencies": { - "es-abstract": { - "version": "1.17.7", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.7.tgz", - "integrity": "sha512-VBl/gnfcJ7OercKA9MVaegWsBHFjV492syMudcnQZvt/Dw8ezpcOHYZXa/J96O8vx+g4x65YKhxOwDUh63aS5g==", - "dev": true, - "requires": { - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1", - "is-callable": "^1.2.2", - "is-regex": "^1.1.1", - "object-inspect": "^1.8.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.1", - "string.prototype.trimend": "^1.0.1", - "string.prototype.trimstart": "^1.0.1" - } - } - } - }, - "is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=", - "dev": true - }, - "is-callable": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.2.tgz", - "integrity": "sha512-dnMqspv5nU3LoewK2N/y7KLtxtakvTuaCsU9FU50/QDmdbHNy/4/JuRtMHqRU22o3q+W89YQndQEeCVwK+3qrA==", - "dev": true - }, "is-core-module": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz", @@ -1203,24 +494,12 @@ "has": "^1.0.3" } }, - "is-date-object": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", - "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", - "dev": true - }, "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", "dev": true }, - "is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "dev": true - }, "is-glob": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", @@ -1230,54 +509,12 @@ "is-extglob": "^2.1.1" } }, - "is-negative-zero": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", - "dev": true - }, "is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", "dev": true }, - "is-regex": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.1.tgz", - "integrity": "sha512-1+QkEcxiLlB7VEyFtyBg94e08OAsvq7FUBgApTq/w2ymCLyKJgDPsybBENVtA7XCQEgEXxKPonG+mvYRxh/LIg==", - "dev": true, - "requires": { - "has-symbols": "^1.0.1" - } - }, - "is-string": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", - "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", - "dev": true - }, - "is-symbol": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", - "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", - "dev": true, - "requires": { - "has-symbols": "^1.0.1" - } - }, - "isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", - "dev": true - }, - "isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=", - "dev": true - }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", @@ -1294,89 +531,11 @@ "esprima": "^4.0.0" } }, - "json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", - "dev": true - }, - "json-schema-traverse": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", - "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", - "dev": true - }, - "json-stable-stringify-without-jsonify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", - "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", - "dev": true - }, - "json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "dev": true, - "requires": { - "minimist": "^1.2.0" - } - }, - "jsx-ast-utils": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.2.0.tgz", - "integrity": "sha512-EIsmt3O3ljsU6sot/J4E1zDRxfBNrhjyf/OKjlydwgEimQuznlM4Wv7U+ueONJMyEn1WRE0K8dhi3dVAXYT24Q==", - "dev": true, - "requires": { - "array-includes": "^3.1.2", - "object.assign": "^4.1.2" - } - }, - "levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "requires": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - } - }, - "load-json-file": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", - "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", - "dev": true, - "requires": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "strip-bom": "^3.0.0" - } - }, - "locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dev": true, - "requires": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - } - }, "lodash": { "version": "4.17.20", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz", "integrity": "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" }, - "loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "dev": true, - "requires": { - "js-tokens": "^3.0.0 || ^4.0.0" - } - }, "lru-cache": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", @@ -1437,98 +596,6 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", "dev": true }, - "natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", - "dev": true - }, - "normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dev": true, - "requires": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - }, - "dependencies": { - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "dev": true - } - } - }, - "object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "dev": true - }, - "object-inspect": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz", - "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==", - "dev": true - }, - "object-keys": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", - "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", - "dev": true - }, - "object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - } - }, - "object.entries": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.3.tgz", - "integrity": "sha512-ym7h7OZebNS96hn5IJeyUmaWhaSM4SVtAPPfNLQEI2MYWCO2egsITb9nab2+i/Pwibx+R0mtn+ltKJXRSeTMGg==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1", - "has": "^1.0.3" - } - }, - "object.fromentries": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.3.tgz", - "integrity": "sha512-IDUSMXs6LOSJBWE++L0lzIbSqHl9KDCfff2x/JSEIDtEUavUnyMYC2ZGay/04Zq4UT8lvd4xNhU4/YHKibAOlw==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1", - "has": "^1.0.3" - } - }, - "object.values": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.2.tgz", - "integrity": "sha512-MYC0jvJopr8EK6dPBiO8Nb9mvjdypOachO5REGk6MXzujbBrAisKo3HmdEI6kZDL6fC31Mwee/5YbtMebixeag==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1", - "has": "^1.0.3" - } - }, "once": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", @@ -1537,79 +604,11 @@ "wrappy": "1" } }, - "optionator": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", - "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", - "dev": true, - "requires": { - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.3" - } - }, - "p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dev": true, - "requires": { - "p-try": "^1.0.0" - } - }, - "p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "dev": true, - "requires": { - "p-limit": "^1.1.0" - } - }, - "p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "dev": true - }, - "parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", - "dev": true, - "requires": { - "callsites": "^3.0.0" - } - }, - "parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", - "dev": true, - "requires": { - "error-ex": "^1.2.0" - } - }, - "path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "dev": true - }, "path-is-absolute": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" }, - "path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true - }, "path-parse": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", @@ -1628,188 +627,12 @@ "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", "dev": true }, - "pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true - }, - "pkg-conf": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/pkg-conf/-/pkg-conf-3.1.0.tgz", - "integrity": "sha512-m0OTbR/5VPNPqO1ph6Fqbj7Hv6QU7gR/tQW40ZqrL1rjgCU85W6C1bJn0BItuJqnR98PWzw7Z8hHeChD1WrgdQ==", - "dev": true, - "requires": { - "find-up": "^3.0.0", - "load-json-file": "^5.2.0" - }, - "dependencies": { - "find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dev": true, - "requires": { - "locate-path": "^3.0.0" - } - }, - "load-json-file": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-5.3.0.tgz", - "integrity": "sha512-cJGP40Jc/VXUsp8/OrnyKyTZ1y6v/dphm3bioS+RrKXjK2BB6wHUd6JptZEFDGgGahMT+InnZO5i1Ei9mpC8Bw==", - "dev": true, - "requires": { - "graceful-fs": "^4.1.15", - "parse-json": "^4.0.0", - "pify": "^4.0.1", - "strip-bom": "^3.0.0", - "type-fest": "^0.3.0" - } - }, - "locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dev": true, - "requires": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - } - }, - "p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "requires": { - "p-try": "^2.0.0" - } - }, - "p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dev": true, - "requires": { - "p-limit": "^2.0.0" - } - }, - "p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true - }, - "parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "dev": true, - "requires": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - } - }, - "pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "dev": true - }, - "type-fest": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.3.1.tgz", - "integrity": "sha512-cUGJnCdr4STbePCgqNFbpVNCepa+kAVohJs1sLhxzdH+gnEoOd8VhbYa7pD3zZYGiURWM2xzEII3fQcRizDkYQ==", - "dev": true - } - } - }, - "pkg-dir": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", - "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", - "dev": true, - "requires": { - "find-up": "^2.1.0" - } - }, - "prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "dev": true - }, - "progress": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", - "dev": true - }, - "prop-types": { - "version": "15.7.2", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz", - "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==", - "dev": true, - "requires": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.8.1" - } - }, - "punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "dev": true - }, - "react-is": { - "version": "16.13.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz", - "integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==", + "prettier": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.2.1.tgz", + "integrity": "sha512-PqyhM2yCjg/oKkFPtTGUojv7gnZAoG80ttl45O6x2Ug/rMJw4wcc9k6aaf2hibP7BGVCCM33gZoGjyvt9mm16Q==", "dev": true }, - "read-pkg": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", - "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", - "dev": true, - "requires": { - "load-json-file": "^2.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^2.0.0" - }, - "dependencies": { - "path-type": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", - "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", - "dev": true, - "requires": { - "pify": "^2.0.0" - } - } - } - }, - "read-pkg-up": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", - "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", - "dev": true, - "requires": { - "find-up": "^2.0.0", - "read-pkg": "^2.0.0" - } - }, - "regexp.prototype.flags": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz", - "integrity": "sha512-JiBdRBq91WlY7uRJ0ds7R+dU02i6LKi8r3BuQhNXn+kmeLN+EfHhfjqMRis1zJxnlu88hq/4dx0P2OP3APRTOA==", - "dev": true, - "requires": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - } - }, "regexpp": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.1.0.tgz", @@ -1826,27 +649,12 @@ "path-parse": "^1.0.6" } }, - "resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true - }, "reusify": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", "dev": true }, - "rimraf": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", - "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", - "dev": true, - "requires": { - "glob": "^7.1.3" - } - }, "run-parallel": { "version": "1.1.10", "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.1.10.tgz", @@ -1862,49 +670,12 @@ "lru-cache": "^6.0.0" } }, - "shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "requires": { - "shebang-regex": "^3.0.0" - } - }, - "shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true - }, - "side-channel": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", - "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "get-intrinsic": "^1.0.2", - "object-inspect": "^1.9.0" - } - }, "slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true }, - "slice-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", - "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", - "dev": true, - "requires": { - "ansi-styles": "^3.2.0", - "astral-regex": "^1.0.0", - "is-fullwidth-code-point": "^2.0.0" - } - }, "source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -1921,166 +692,12 @@ "source-map": "^0.6.0" } }, - "spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "dev": true, - "requires": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", - "dev": true - }, - "spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dev": true, - "requires": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "spdx-license-ids": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.7.tgz", - "integrity": "sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ==", - "dev": true - }, "sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", "dev": true }, - "standard": { - "version": "16.0.3", - "resolved": "https://registry.npmjs.org/standard/-/standard-16.0.3.tgz", - "integrity": "sha512-70F7NH0hSkNXosXRltjSv6KpTAOkUkSfyu3ynyM5dtRUiLtR+yX9EGZ7RKwuGUqCJiX/cnkceVM6HTZ4JpaqDg==", - "dev": true, - "requires": { - "eslint": "~7.13.0", - "eslint-config-standard": "16.0.2", - "eslint-config-standard-jsx": "10.0.0", - "eslint-plugin-import": "~2.22.1", - "eslint-plugin-node": "~11.1.0", - "eslint-plugin-promise": "~4.2.1", - "eslint-plugin-react": "~7.21.5", - "standard-engine": "^14.0.1" - } - }, - "standard-engine": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/standard-engine/-/standard-engine-14.0.1.tgz", - "integrity": "sha512-7FEzDwmHDOGva7r9ifOzD3BGdTbA7ujJ50afLVdW/tK14zQEptJjbFuUfn50irqdHDcTbNh0DTIoMPynMCXb0Q==", - "dev": true, - "requires": { - "get-stdin": "^8.0.0", - "minimist": "^1.2.5", - "pkg-conf": "^3.1.0", - "xdg-basedir": "^4.0.0" - } - }, - "standardx": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/standardx/-/standardx-7.0.0.tgz", - "integrity": "sha512-Uh2LIWyMD0pMFn+zoAS52dforkE8MUWP6hK48iQhiohTC5DRqBgTdXdJbhSGyjamRxCfETBdfvJ7hvtme2M3jg==", - "dev": true, - "requires": { - "standard": "^16.0.1", - "standard-engine": "^14.0.1" - } - }, - "string-width": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", - "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", - "dev": true, - "requires": { - "emoji-regex": "^7.0.1", - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^5.1.0" - }, - "dependencies": { - "ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "dev": true - }, - "strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dev": true, - "requires": { - "ansi-regex": "^4.1.0" - } - } - } - }, - "string.prototype.matchall": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.3.tgz", - "integrity": "sha512-OBxYDA2ifZQ2e13cP82dWFMaCV9CGF8GzmN4fljBVw5O5wep0lu4gacm1OL6MjROoUnB8VbkWRThqkV2YFLNxw==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.1", - "has-symbols": "^1.0.1", - "internal-slot": "^1.0.2", - "regexp.prototype.flags": "^1.3.0", - "side-channel": "^1.0.3" - } - }, - "string.prototype.trimend": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz", - "integrity": "sha512-ayH0pB+uf0U28CtjlLvL7NaohvR1amUvVZk+y3DYb0Ey2PUV5zPkkKy9+U1ndVEIXO8hNg18eIv9Jntbii+dKw==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3" - } - }, - "string.prototype.trimstart": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.3.tgz", - "integrity": "sha512-oBIBUy5lea5tt0ovtOFiEQaBkoBBkyJhZXzJYrSmDo5IUUqbOPvVezuRs/agBIdZ2p2Eo1FD6bD9USyBLfl3xg==", - "dev": true, - "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3" - } - }, - "strip-ansi": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", - "dev": true, - "requires": { - "ansi-regex": "^5.0.0" - } - }, - "strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", - "dev": true - }, - "strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true - }, "supports-color": { "version": "5.5.0", "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", @@ -2090,24 +707,6 @@ "has-flag": "^3.0.0" } }, - "table": { - "version": "5.4.6", - "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", - "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==", - "dev": true, - "requires": { - "ajv": "^6.10.2", - "lodash": "^4.17.14", - "slice-ansi": "^2.1.0", - "string-width": "^3.0.0" - } - }, - "text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", - "dev": true - }, "to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -2131,18 +730,6 @@ "yn": "3.1.1" } }, - "tsconfig-paths": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.9.0.tgz", - "integrity": "sha512-dRcuzokWhajtZWkQsDVKbWyY+jgcLC5sqJhg2PSgf4ZkH2aHPvaOY8YWGhmjb68b5qqTfasSsDO9k7RUiEmZAw==", - "dev": true, - "requires": { - "@types/json5": "^0.0.29", - "json5": "^1.0.1", - "minimist": "^1.2.0", - "strip-bom": "^3.0.0" - } - }, "tslib": { "version": "1.14.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", @@ -2207,87 +794,17 @@ "tslib": "^1.8.1" } }, - "type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "requires": { - "prelude-ls": "^1.2.1" - } - }, - "type-fest": { - "version": "0.8.1", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.8.1.tgz", - "integrity": "sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==", - "dev": true - }, "typescript": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.1.3.tgz", "integrity": "sha512-B3ZIOf1IKeH2ixgHhj6la6xdwR9QrLC5d1VKeCSY4tvkqhF2eqd9O7txNlS0PO3GrBAFIdr3L1ndNwteUbZLYg==", "dev": true }, - "uri-js": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", - "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", - "dev": true, - "requires": { - "punycode": "^2.1.0" - } - }, - "v8-compile-cache": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.2.0.tgz", - "integrity": "sha512-gTpR5XQNKFwOd4clxfnhaqvfqMpqEwr4tOtCyz4MtYZX2JYhfr1JvBFKdS+7K/9rfpZR3VLX+YWBbKoxCgS43Q==", - "dev": true - }, - "validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dev": true, - "requires": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "requires": { - "isexe": "^2.0.0" - } - }, - "word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "dev": true - }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" }, - "write": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", - "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", - "dev": true, - "requires": { - "mkdirp": "^0.5.1" - } - }, - "xdg-basedir": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/xdg-basedir/-/xdg-basedir-4.0.0.tgz", - "integrity": "sha512-PSNhEJDejZYV7h50BohL09Er9VaIefr2LMAf3OEmpCkjOi34eYyQYAXUTjEQtZJTKcF0E2UKTh+osDLsgNim9Q==", - "dev": true - }, "yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", diff --git a/specification/package.json b/specification/package.json index 14718d920d..314031eb72 100644 --- a/specification/package.json +++ b/specification/package.json @@ -4,9 +4,9 @@ "description": "A library that exposes the elasticsearch client specification as a validatable and iteratable source", "main": "src/api-specification.js", "scripts": { - "lint:fix": "standardx --fix **/*.ts **/**/*.ts", + "format:check": "prettier --check specs/", + "format:fix": "prettier --write specs/", "start": "ts-node src/main.ts", - "format": "ts-node src/format.ts", "generate-schema": "ts-node src/metamodel_generate.ts", "debug-windows": "npm run compile && node %NODE_DEBUG_OPTION% src/main.js", "compile:specs": "tsc", @@ -19,7 +19,7 @@ "@types/node": "^14.14.21", "@typescript-eslint/eslint-plugin": "^4.14.0", "@typescript-eslint/parser": "^4.14.0", - "standardx": "^7.0.0", + "prettier": "2.2.1", "ts-node": "^9.1.1", "tslint": "^6.1.2", "typescript": "^4.1.3" @@ -31,23 +31,5 @@ }, "engines": { "node": ">=14" - }, - "eslintConfig": { - "rules": { - "no-unused-vars": "off", - "camelcase": "off", - "no-useless-constructor": "off", - "@typescript-eslint/no-unused-vars": "error", - "no-case-declarations": "off" - } - }, - "standardx": { - "parser": "@typescript-eslint/parser", - "plugins": [ - "@typescript-eslint/eslint-plugin" - ], - "ignore": [ - "specs" - ] } } diff --git a/specification/specs/aggregations/Aggregate.ts b/specification/specs/aggregations/Aggregate.ts index 883ff7fa14..0db9d5644f 100644 --- a/specification/specs/aggregations/Aggregate.ts +++ b/specification/specs/aggregations/Aggregate.ts @@ -1,7 +1,7 @@ //@class_serializer("AggregateFormatter") type Bucket = - CompositeBucket + | CompositeBucket | DateHistogramBucket | FiltersBucketItem | IpRangeBucket @@ -10,18 +10,24 @@ type Bucket = | SignificantTermsBucket | KeyedBucket -class CompositeBucket implements AdditionalProperties{} -class DateHistogramBucket implements AdditionalProperties {} -class FiltersBucketItem implements AdditionalProperties { - doc_count: long; +class CompositeBucket + implements AdditionalProperties {} +class DateHistogramBucket + implements AdditionalProperties {} +class FiltersBucketItem + implements AdditionalProperties { + doc_count: long } class IpRangeBucket implements AdditionalProperties {} class RangeBucket implements AdditionalProperties {} -class RareTermsBucket implements AdditionalProperties {} -class SignificantTermsBucket implements AdditionalProperties {} -class KeyedBucket implements AdditionalProperties {} - -type Aggregate = +class RareTermsBucket + implements AdditionalProperties {} +class SignificantTermsBucket + implements AdditionalProperties {} +class KeyedBucket + implements AdditionalProperties {} + +type Aggregate = | SingleBucketAggregate | AutoDateHistogramAggregate | FiltersAggregate @@ -50,147 +56,150 @@ type MetricAggregate = | HdrPercentilesAggregate class AggregateBase { - meta?: Dictionary; + meta?: Dictionary } class MultiBucketAggregate extends AggregateBase { - buckets: TBucket[]; + buckets: TBucket[] } class ValueAggregate extends AggregateBase { - value: double; - value_as_string?: string; + value: double + value_as_string?: string } -class SingleBucketAggregate extends AggregateBase implements AdditionalProperties { - doc_count: double; +class SingleBucketAggregate + extends AggregateBase + implements AdditionalProperties { + doc_count: double } class KeyedValueAggregate extends ValueAggregate { - keys:string[] + keys: string[] } - class AutoDateHistogramAggregate extends AggregateBase { - interval:DateMathTime + interval: DateMathTime } class FiltersAggregate extends AggregateBase { - buckets: FiltersBucketItem[] | Dictionary; + buckets: FiltersBucketItem[] | Dictionary } class SignificantTermsAggregate extends MultiBucketAggregate { - bg_count:long; - doc_count:long; + bg_count: long + doc_count: long } class TermsAggregate extends MultiBucketAggregate { - doc_count_error_upper_bound: long; - sum_other_doc_count: long; + doc_count_error_upper_bound: long + sum_other_doc_count: long } // TODO this is an intermediate type in NEST class BucketAggregate extends AggregateBase { - after_key:Dictionary; - bg_count:long; - doc_count:long; - doc_count_error_upper_bound: long; - sum_other_doc_count: long; - interval:DateMathTime; - items: Bucket; + after_key: Dictionary + bg_count: long + doc_count: long + doc_count_error_upper_bound: long + sum_other_doc_count: long + interval: DateMathTime + items: Bucket } -class CompositeBucketAggregate extends MultiBucketAggregate> { - after_key:Dictionary; +class CompositeBucketAggregate extends MultiBucketAggregate< + Dictionary +> { + after_key: Dictionary } class MatrixStatsAggregate extends AggregateBase { - correlation: Dictionary; - covariance: Dictionary; - count: integer; - kurtosis: double; - mean: double; - skewness: double; - variance: double; - name: string; + correlation: Dictionary + covariance: Dictionary + count: integer + kurtosis: double + mean: double + skewness: double + variance: double + name: string } class BoxPlotAggregate extends AggregateBase { - min:double; - max:double; - q1:double; - q2:double; - q3:double; + min: double + max: double + q1: double + q2: double + q3: double } class StatsAggregate extends AggregateBase { - avg: double; - count: double; - max: double; - min: double; - sum: double; + avg: double + count: double + max: double + min: double + sum: double } class StandardDeviationBounds { - lower:double; - upper:double; - lower_population:double; - upper_population:double; - lower_sampling:double; - upper_sampling:double; + lower: double + upper: double + lower_population: double + upper_population: double + lower_sampling: double + upper_sampling: double } class ExtendedStatsAggregate extends StatsAggregate { - sum_of_squares:double; - variance:double; - variance_population:double; - variance_sampling:double; - std_deviation:double; - std_deviation_population:double; - std_deviation_sampling:double; - std_deviation_bounds:StandardDeviationBounds; + sum_of_squares: double + variance: double + variance_population: double + variance_sampling: double + std_deviation: double + std_deviation_population: double + std_deviation_sampling: double + std_deviation_bounds: StandardDeviationBounds } class GeoBounds { - bottom_right: LatLon; - top_left: LatLon; + bottom_right: LatLon + top_left: LatLon } class GeoBoundsAggregate extends AggregateBase { - bounds:GeoBounds; + bounds: GeoBounds } class GeoCentroidAggregate extends AggregateBase { - count:long; - location: GeoLocation; + count: long + location: GeoLocation } class PercentileItem { - percentile:double; - value:double; + percentile: double + value: double } class PercentilesAggregate extends AggregateBase { - items:PercentileItem[]; + items: PercentileItem[] } class TDigestPercentilesAggregate extends AggregateBase { - values:Dictionary + values: Dictionary } class HdrPercentileItem { - key:double; - value:double; + key: double + value: double } class HdrPercentilesAggregate extends AggregateBase { - values:HdrPercentileItem[] + values: HdrPercentileItem[] } //hard class ScriptedMetricAggregate extends AggregateBase {} class StringStatsAggregate extends AggregateBase { - count:long; - min_length:integer; - max_length:integer; - avg_length:double; - entropy:long; - distribution:Dictionary; + count: long + min_length: integer + max_length: integer + avg_length: double + entropy: long + distribution: Dictionary } //hard @@ -200,6 +209,6 @@ class TopHitsAggregate extends AggregateBase { //TODO wrong on purpose class TopMetricsAggregate extends AggregateBase { - sort: double[]; - metrics: double[]; + sort: double[] + metrics: double[] } diff --git a/specification/specs/aggregations/Aggregation.ts b/specification/specs/aggregations/Aggregation.ts index dda87811c7..cd212891ab 100644 --- a/specification/specs/aggregations/Aggregation.ts +++ b/specification/specs/aggregations/Aggregation.ts @@ -1,4 +1,4 @@ class Aggregation { - meta?: Dictionary; - name?: string; + meta?: Dictionary + name?: string } diff --git a/specification/specs/aggregations/AggregationContainer.ts b/specification/specs/aggregations/AggregationContainer.ts index 6208a6f656..a703bf939b 100644 --- a/specification/specs/aggregations/AggregationContainer.ts +++ b/specification/specs/aggregations/AggregationContainer.ts @@ -1,68 +1,68 @@ class AggregationContainer { - adjacency_matrix?: AdjacencyMatrixAggregation; - aggs?: Dictionary; - aggregations?: Dictionary; - auto_date_histogram?: AutoDateHistogramAggregation; - avg?: AverageAggregation; - avg_bucket?: AverageBucketAggregation; - boxplot?: BoxplotAggregation; - bucket_script?: BucketScriptAggregation; - bucket_selector?: BucketSelectorAggregation; - bucket_sort?: BucketSortAggregation; - cardinality?: CardinalityAggregation; - children?: ChildrenAggregation; - composite?: CompositeAggregation; - cumulative_cardinality?: CumulativeCardinalityAggregation; - cumulative_sum?: CumulativeSumAggregation; - date_histogram?: DateHistogramAggregation; - date_range?: DateRangeAggregation; - derivative?: DerivativeAggregation; - extended_stats?: ExtendedStatsAggregation; - extended_stats_bucket?: ExtendedStatsBucketAggregation; - filter?: QueryContainer; - filters?: FiltersAggregation; - geo_bounds?: GeoBoundsAggregation; - geo_centroid?: GeoCentroidAggregation; - geo_distance?: GeoDistanceAggregation; - geohash_grid?: GeoHashGridAggregation; - geotile_grid?: GeoTileGridAggregation; - global?: GlobalAggregation; - histogram?: HistogramAggregation; - ip_range?: IpRangeAggregation; - matrix_stats?: MatrixStatsAggregation; - max?: MaxAggregation; - max_bucket?: MaxBucketAggregation; - median_absolute_deviation?: MedianAbsoluteDeviationAggregation; - meta?: Dictionary; - min?: MinAggregation; - min_bucket?: MinBucketAggregation; - missing?: MissingAggregation; - moving_avg?: MovingAverageAggregation; - moving_fn?: MovingFunctionAggregation; - nested?: NestedAggregation; - parent?: ParentAggregation; - percentile_ranks?: PercentileRanksAggregation; - percentiles?: PercentilesAggregation; - percentiles_bucket?: PercentilesBucketAggregation; - range?: RangeAggregation; - rare_terms?: RareTermsAggregation; - reverse_nested?: ReverseNestedAggregation; - sampler?: SamplerAggregation; - scripted_metric?: ScriptedMetricAggregation; - serial_diff?: SerialDifferencingAggregation; - significant_terms?: SignificantTermsAggregation; - significant_text?: SignificantTextAggregation; - stats?: StatsAggregation; - stats_bucket?: StatsBucketAggregation; - string_stats?: StringStatsAggregation; - sum?: SumAggregation; - sum_bucket?: SumBucketAggregation; - terms?: TermsAggregation; - top_hits?: TopHitsAggregation; - top_metrics?: TopMetricsAggregation; - value_count?: ValueCountAggregation; - weighted_avg?: WeightedAverageAggregation; - variable_width_histogram?: VariableWidthHistogramAggregation; + adjacency_matrix?: AdjacencyMatrixAggregation + aggs?: Dictionary + aggregations?: Dictionary + auto_date_histogram?: AutoDateHistogramAggregation + avg?: AverageAggregation + avg_bucket?: AverageBucketAggregation + boxplot?: BoxplotAggregation + bucket_script?: BucketScriptAggregation + bucket_selector?: BucketSelectorAggregation + bucket_sort?: BucketSortAggregation + cardinality?: CardinalityAggregation + children?: ChildrenAggregation + composite?: CompositeAggregation + cumulative_cardinality?: CumulativeCardinalityAggregation + cumulative_sum?: CumulativeSumAggregation + date_histogram?: DateHistogramAggregation + date_range?: DateRangeAggregation + derivative?: DerivativeAggregation + extended_stats?: ExtendedStatsAggregation + extended_stats_bucket?: ExtendedStatsBucketAggregation + filter?: QueryContainer + filters?: FiltersAggregation + geo_bounds?: GeoBoundsAggregation + geo_centroid?: GeoCentroidAggregation + geo_distance?: GeoDistanceAggregation + geohash_grid?: GeoHashGridAggregation + geotile_grid?: GeoTileGridAggregation + global?: GlobalAggregation + histogram?: HistogramAggregation + ip_range?: IpRangeAggregation + matrix_stats?: MatrixStatsAggregation + max?: MaxAggregation + max_bucket?: MaxBucketAggregation + median_absolute_deviation?: MedianAbsoluteDeviationAggregation + meta?: Dictionary + min?: MinAggregation + min_bucket?: MinBucketAggregation + missing?: MissingAggregation + moving_avg?: MovingAverageAggregation + moving_fn?: MovingFunctionAggregation + nested?: NestedAggregation + parent?: ParentAggregation + percentile_ranks?: PercentileRanksAggregation + percentiles?: PercentilesAggregation + percentiles_bucket?: PercentilesBucketAggregation + range?: RangeAggregation + rare_terms?: RareTermsAggregation + reverse_nested?: ReverseNestedAggregation + sampler?: SamplerAggregation + scripted_metric?: ScriptedMetricAggregation + serial_diff?: SerialDifferencingAggregation + significant_terms?: SignificantTermsAggregation + significant_text?: SignificantTextAggregation + stats?: StatsAggregation + stats_bucket?: StatsBucketAggregation + string_stats?: StringStatsAggregation + sum?: SumAggregation + sum_bucket?: SumBucketAggregation + terms?: TermsAggregation + top_hits?: TopHitsAggregation + top_metrics?: TopMetricsAggregation + value_count?: ValueCountAggregation + weighted_avg?: WeightedAverageAggregation + variable_width_histogram?: VariableWidthHistogramAggregation } -type Missing = string | integer | boolean; +type Missing = string | integer | boolean diff --git a/specification/specs/aggregations/bucket/BucketAggregation.ts b/specification/specs/aggregations/bucket/BucketAggregation.ts index 039c038d0f..0c94599b4a 100644 --- a/specification/specs/aggregations/bucket/BucketAggregation.ts +++ b/specification/specs/aggregations/bucket/BucketAggregation.ts @@ -1,3 +1,3 @@ class BucketAggregation { - aggregations?: Dictionary; + aggregations?: Dictionary } diff --git a/specification/specs/aggregations/bucket/adjacency_matrix/AdjacencyMatrixAggregation.ts b/specification/specs/aggregations/bucket/adjacency_matrix/AdjacencyMatrixAggregation.ts index 36d05e886c..18c820da8a 100644 --- a/specification/specs/aggregations/bucket/adjacency_matrix/AdjacencyMatrixAggregation.ts +++ b/specification/specs/aggregations/bucket/adjacency_matrix/AdjacencyMatrixAggregation.ts @@ -1,3 +1,3 @@ class AdjacencyMatrixAggregation { - filters?: Dictionary; + filters?: Dictionary } diff --git a/specification/specs/aggregations/bucket/auto_date_histogram/AutoDateHistogramAggregation.ts b/specification/specs/aggregations/bucket/auto_date_histogram/AutoDateHistogramAggregation.ts index 083cac4b8d..9279734b5d 100644 --- a/specification/specs/aggregations/bucket/auto_date_histogram/AutoDateHistogramAggregation.ts +++ b/specification/specs/aggregations/bucket/auto_date_histogram/AutoDateHistogramAggregation.ts @@ -1,11 +1,11 @@ class AutoDateHistogramAggregation { - buckets?: integer; - field?: Field; - format?: string; - minimum_interval?: MinimumInterval; - missing?: Date; - offset?: string; - params?: Dictionary; - script?: Script; - time_zone?: string; + buckets?: integer + field?: Field + format?: string + minimum_interval?: MinimumInterval + missing?: Date + offset?: string + params?: Dictionary + script?: Script + time_zone?: string } diff --git a/specification/specs/aggregations/bucket/children/ChildrenAggregation.ts b/specification/specs/aggregations/bucket/children/ChildrenAggregation.ts index 587be9449d..58a86a8f0c 100644 --- a/specification/specs/aggregations/bucket/children/ChildrenAggregation.ts +++ b/specification/specs/aggregations/bucket/children/ChildrenAggregation.ts @@ -1,3 +1,3 @@ class ChildrenAggregation { - type?: RelationName; + type?: RelationName } diff --git a/specification/specs/aggregations/bucket/composite/CompositeAggregation.ts b/specification/specs/aggregations/bucket/composite/CompositeAggregation.ts index cd8cab7462..37a2c4f1d8 100644 --- a/specification/specs/aggregations/bucket/composite/CompositeAggregation.ts +++ b/specification/specs/aggregations/bucket/composite/CompositeAggregation.ts @@ -1,5 +1,5 @@ class CompositeAggregation { - after?: Dictionary; - size?: integer; - sources?: Array>; + after?: Dictionary + size?: integer + sources?: Array> } diff --git a/specification/specs/aggregations/bucket/composite/CompositeAggregationSource.ts b/specification/specs/aggregations/bucket/composite/CompositeAggregationSource.ts index 3f96a5c10a..b0a6da4f67 100644 --- a/specification/specs/aggregations/bucket/composite/CompositeAggregationSource.ts +++ b/specification/specs/aggregations/bucket/composite/CompositeAggregationSource.ts @@ -1,12 +1,12 @@ -@class_serializer("CompositeAggregationSourceFormatter") +@class_serializer('CompositeAggregationSourceFormatter') class CompositeAggregationSource { // field: Field; // missing_bucket: boolean; // name: string; // order: SortOrder; // source_type: string; - terms?: TermsAggregation; - histogram?: HistogramAggregation; - date_histogram?: DateHistogramAggregation; - geotile_grid?: GeoTileGridAggregation; + terms?: TermsAggregation + histogram?: HistogramAggregation + date_histogram?: DateHistogramAggregation + geotile_grid?: GeoTileGridAggregation } diff --git a/specification/specs/aggregations/bucket/date_histogram/DateHistogramAggregation.ts b/specification/specs/aggregations/bucket/date_histogram/DateHistogramAggregation.ts index 30edd8a5bb..917b49e164 100644 --- a/specification/specs/aggregations/bucket/date_histogram/DateHistogramAggregation.ts +++ b/specification/specs/aggregations/bucket/date_histogram/DateHistogramAggregation.ts @@ -1,16 +1,16 @@ class DateHistogramAggregation { - calendar_interval?: Union; - extended_bounds?: ExtendedBounds; - hard_bounds?: ExtendedBounds; - field?: Field; - fixed_interval?: Union; - format?: string; - interval?: Union; - min_doc_count?: integer; - missing?: Date; - offset?: Time; - order?: HistogramOrder; - params?: Dictionary; - script?: Script; - time_zone?: string; + calendar_interval?: Union + extended_bounds?: ExtendedBounds + hard_bounds?: ExtendedBounds + field?: Field + fixed_interval?: Union + format?: string + interval?: Union + min_doc_count?: integer + missing?: Date + offset?: Time + order?: HistogramOrder + params?: Dictionary + script?: Script + time_zone?: string } diff --git a/specification/specs/aggregations/bucket/date_range/DateRangeAggregation.ts b/specification/specs/aggregations/bucket/date_range/DateRangeAggregation.ts index f3611a90bf..15329e402c 100644 --- a/specification/specs/aggregations/bucket/date_range/DateRangeAggregation.ts +++ b/specification/specs/aggregations/bucket/date_range/DateRangeAggregation.ts @@ -1,7 +1,7 @@ class DateRangeAggregation { - field?: Field; - format?: string; - missing?: Missing; - ranges?: DateRangeExpression[]; - time_zone?: string; + field?: Field + format?: string + missing?: Missing + ranges?: DateRangeExpression[] + time_zone?: string } diff --git a/specification/specs/aggregations/bucket/date_range/DateRangeExpression.ts b/specification/specs/aggregations/bucket/date_range/DateRangeExpression.ts index 48156ccaf8..6da18564f8 100644 --- a/specification/specs/aggregations/bucket/date_range/DateRangeExpression.ts +++ b/specification/specs/aggregations/bucket/date_range/DateRangeExpression.ts @@ -1,5 +1,5 @@ class DateRangeExpression { - from?: DateMath | float; - key?: string; - to?: DateMath | float; + from?: DateMath | float + key?: string + to?: DateMath | float } diff --git a/specification/specs/aggregations/bucket/filters/FiltersAggregation.ts b/specification/specs/aggregations/bucket/filters/FiltersAggregation.ts index e1b0571c9c..75473c07eb 100644 --- a/specification/specs/aggregations/bucket/filters/FiltersAggregation.ts +++ b/specification/specs/aggregations/bucket/filters/FiltersAggregation.ts @@ -1,5 +1,5 @@ class FiltersAggregation { - filters?: Union, QueryContainer[]>; - other_bucket?: boolean; - other_bucket_key?: string; + filters?: Union, QueryContainer[]> + other_bucket?: boolean + other_bucket_key?: string } diff --git a/specification/specs/aggregations/bucket/geo_distance/GeoDistanceAggregation.ts b/specification/specs/aggregations/bucket/geo_distance/GeoDistanceAggregation.ts index 50945f8c5d..07f84d23ad 100644 --- a/specification/specs/aggregations/bucket/geo_distance/GeoDistanceAggregation.ts +++ b/specification/specs/aggregations/bucket/geo_distance/GeoDistanceAggregation.ts @@ -1,7 +1,7 @@ class GeoDistanceAggregation { - distance_type?: GeoDistanceType; - field?: Field; - origin?: GeoLocation | string; - ranges?: AggregationRange[]; - unit?: DistanceUnit; + distance_type?: GeoDistanceType + field?: Field + origin?: GeoLocation | string + ranges?: AggregationRange[] + unit?: DistanceUnit } diff --git a/specification/specs/aggregations/bucket/geo_hash_grid/GeoHashGridAggregation.ts b/specification/specs/aggregations/bucket/geo_hash_grid/GeoHashGridAggregation.ts index fe80aa0779..dcaf1dcf7d 100644 --- a/specification/specs/aggregations/bucket/geo_hash_grid/GeoHashGridAggregation.ts +++ b/specification/specs/aggregations/bucket/geo_hash_grid/GeoHashGridAggregation.ts @@ -1,7 +1,7 @@ class GeoHashGridAggregation { - bounds?: BoundingBox; - field?: Field; - precision?: GeoHashPrecision; - shard_size?: integer; - size?: integer; + bounds?: BoundingBox + field?: Field + precision?: GeoHashPrecision + shard_size?: integer + size?: integer } diff --git a/specification/specs/aggregations/bucket/geo_tile_grid/GeoTileGridAggregation.ts b/specification/specs/aggregations/bucket/geo_tile_grid/GeoTileGridAggregation.ts index 4f6c01fea3..1a0d8ca872 100644 --- a/specification/specs/aggregations/bucket/geo_tile_grid/GeoTileGridAggregation.ts +++ b/specification/specs/aggregations/bucket/geo_tile_grid/GeoTileGridAggregation.ts @@ -1,6 +1,6 @@ class GeoTileGridAggregation { - field?: Field; - precision?: GeoTilePrecision; - shard_size?: integer; - size?: integer; + field?: Field + precision?: GeoTilePrecision + shard_size?: integer + size?: integer } diff --git a/specification/specs/aggregations/bucket/global/GlobalAggregation.ts b/specification/specs/aggregations/bucket/global/GlobalAggregation.ts index 5fee5cc9ed..7db90fe275 100644 --- a/specification/specs/aggregations/bucket/global/GlobalAggregation.ts +++ b/specification/specs/aggregations/bucket/global/GlobalAggregation.ts @@ -1,2 +1 @@ -class GlobalAggregation { -} +class GlobalAggregation {} diff --git a/specification/specs/aggregations/bucket/histogram/ExtendedBounds.ts b/specification/specs/aggregations/bucket/histogram/ExtendedBounds.ts index 7a418f83df..6314893f9e 100644 --- a/specification/specs/aggregations/bucket/histogram/ExtendedBounds.ts +++ b/specification/specs/aggregations/bucket/histogram/ExtendedBounds.ts @@ -1,4 +1,4 @@ class ExtendedBounds { - max: T; - min: T; + max: T + min: T } diff --git a/specification/specs/aggregations/bucket/histogram/HistogramAggregation.ts b/specification/specs/aggregations/bucket/histogram/HistogramAggregation.ts index a53d68d67d..1125216a04 100644 --- a/specification/specs/aggregations/bucket/histogram/HistogramAggregation.ts +++ b/specification/specs/aggregations/bucket/histogram/HistogramAggregation.ts @@ -1,12 +1,12 @@ class HistogramAggregation { - extended_bounds?: ExtendedBounds; - hard_bounds?: ExtendedBounds; - field?: Field; - interval?: double; - min_doc_count?: integer; - missing?: double; - offset?: double; - order?: HistogramOrder; - script?: Script; - format?: string; + extended_bounds?: ExtendedBounds + hard_bounds?: ExtendedBounds + field?: Field + interval?: double + min_doc_count?: integer + missing?: double + offset?: double + order?: HistogramOrder + script?: Script + format?: string } diff --git a/specification/specs/aggregations/bucket/histogram/HistogramOrder.ts b/specification/specs/aggregations/bucket/histogram/HistogramOrder.ts index 750b708839..a4e4db21d7 100644 --- a/specification/specs/aggregations/bucket/histogram/HistogramOrder.ts +++ b/specification/specs/aggregations/bucket/histogram/HistogramOrder.ts @@ -1,9 +1,9 @@ -@class_serializer("SortOrderFormatter`1") +@class_serializer('SortOrderFormatter`1') class HistogramOrder { - count_ascending: HistogramOrder; - count_descending: HistogramOrder; - key: string; - key_ascending: HistogramOrder; - key_descending: HistogramOrder; - order: SortOrder; + count_ascending: HistogramOrder + count_descending: HistogramOrder + key: string + key_ascending: HistogramOrder + key_descending: HistogramOrder + order: SortOrder } diff --git a/specification/specs/aggregations/bucket/ip_range/IpRangeAggregation.ts b/specification/specs/aggregations/bucket/ip_range/IpRangeAggregation.ts index f60f9d7696..05f668cde7 100644 --- a/specification/specs/aggregations/bucket/ip_range/IpRangeAggregation.ts +++ b/specification/specs/aggregations/bucket/ip_range/IpRangeAggregation.ts @@ -1,4 +1,4 @@ class IpRangeAggregation { - field?: Field; - ranges?: IpRangeAggregationRange[]; + field?: Field + ranges?: IpRangeAggregationRange[] } diff --git a/specification/specs/aggregations/bucket/ip_range/IpRangeAggregationRange.ts b/specification/specs/aggregations/bucket/ip_range/IpRangeAggregationRange.ts index b47d9cf95c..0762e71b7a 100644 --- a/specification/specs/aggregations/bucket/ip_range/IpRangeAggregationRange.ts +++ b/specification/specs/aggregations/bucket/ip_range/IpRangeAggregationRange.ts @@ -1,5 +1,5 @@ class IpRangeAggregationRange { - from?: string; - mask?: string; - to?: string; + from?: string + mask?: string + to?: string } diff --git a/specification/specs/aggregations/bucket/missing/MissingAggregation.ts b/specification/specs/aggregations/bucket/missing/MissingAggregation.ts index 091ff14cda..83b4c1fa3e 100644 --- a/specification/specs/aggregations/bucket/missing/MissingAggregation.ts +++ b/specification/specs/aggregations/bucket/missing/MissingAggregation.ts @@ -1,4 +1,4 @@ class MissingAggregation { - field?: Field; - missing?: Missing; + field?: Field + missing?: Missing } diff --git a/specification/specs/aggregations/bucket/nested/NestedAggregation.ts b/specification/specs/aggregations/bucket/nested/NestedAggregation.ts index 8b5638e2d1..7e4d4c2ffa 100644 --- a/specification/specs/aggregations/bucket/nested/NestedAggregation.ts +++ b/specification/specs/aggregations/bucket/nested/NestedAggregation.ts @@ -1,3 +1,3 @@ class NestedAggregation { - path?: Field; + path?: Field } diff --git a/specification/specs/aggregations/bucket/parent/ParentAggregation.ts b/specification/specs/aggregations/bucket/parent/ParentAggregation.ts index a4721f2c98..5c8bfb09ea 100644 --- a/specification/specs/aggregations/bucket/parent/ParentAggregation.ts +++ b/specification/specs/aggregations/bucket/parent/ParentAggregation.ts @@ -1,3 +1,3 @@ class ParentAggregation { - type?: RelationName; + type?: RelationName } diff --git a/specification/specs/aggregations/bucket/range/RangeAggregation.ts b/specification/specs/aggregations/bucket/range/RangeAggregation.ts index b1fd2f78ef..af79fde832 100644 --- a/specification/specs/aggregations/bucket/range/RangeAggregation.ts +++ b/specification/specs/aggregations/bucket/range/RangeAggregation.ts @@ -1,5 +1,5 @@ class RangeAggregation { - field?: Field; - ranges?: AggregationRange[]; - script?: Script; + field?: Field + ranges?: AggregationRange[] + script?: Script } diff --git a/specification/specs/aggregations/bucket/rare_terms/RareTermsAggregation.ts b/specification/specs/aggregations/bucket/rare_terms/RareTermsAggregation.ts index 2d4fd1c5f0..d671c07724 100644 --- a/specification/specs/aggregations/bucket/rare_terms/RareTermsAggregation.ts +++ b/specification/specs/aggregations/bucket/rare_terms/RareTermsAggregation.ts @@ -1,9 +1,9 @@ class RareTermsAggregation { - exclude?: string | string[]; - field?: Field; - include?: string | string[] | TermsInclude; - max_doc_count?: long; - missing?: Missing; - precision?: double; - value_type?: string; + exclude?: string | string[] + field?: Field + include?: string | string[] | TermsInclude + max_doc_count?: long + missing?: Missing + precision?: double + value_type?: string } diff --git a/specification/specs/aggregations/bucket/reverse_nested/ReverseNestedAggregation.ts b/specification/specs/aggregations/bucket/reverse_nested/ReverseNestedAggregation.ts index 0259b202ee..326572d942 100644 --- a/specification/specs/aggregations/bucket/reverse_nested/ReverseNestedAggregation.ts +++ b/specification/specs/aggregations/bucket/reverse_nested/ReverseNestedAggregation.ts @@ -1,3 +1,3 @@ class ReverseNestedAggregation { - path?: Field; + path?: Field } diff --git a/specification/specs/aggregations/bucket/sampler/SamplerAggregation.ts b/specification/specs/aggregations/bucket/sampler/SamplerAggregation.ts index fffd608f1d..6727dd2881 100644 --- a/specification/specs/aggregations/bucket/sampler/SamplerAggregation.ts +++ b/specification/specs/aggregations/bucket/sampler/SamplerAggregation.ts @@ -1,6 +1,6 @@ class SamplerAggregation { - execution_hint?: SamplerAggregationExecutionHint; - max_docs_per_value?: integer; - script?: Script; - shard_size?: integer; + execution_hint?: SamplerAggregationExecutionHint + max_docs_per_value?: integer + script?: Script + shard_size?: integer } diff --git a/specification/specs/aggregations/bucket/significant_terms/SignificantTermsAggregation.ts b/specification/specs/aggregations/bucket/significant_terms/SignificantTermsAggregation.ts index 1fe5ed1055..627d650e15 100644 --- a/specification/specs/aggregations/bucket/significant_terms/SignificantTermsAggregation.ts +++ b/specification/specs/aggregations/bucket/significant_terms/SignificantTermsAggregation.ts @@ -1,16 +1,16 @@ class SignificantTermsAggregation { - background_filter?: QueryContainer; - chi_square?: ChiSquareHeuristic; - exclude?: string | string[]; - execution_hint?: TermsAggregationExecutionHint; - field?: Field; - gnd?: GoogleNormalizedDistanceHeuristic; - include?: string | string[]; - min_doc_count?: long; - mutual_information?: MutualInformationHeuristic; - percentage?: PercentageScoreHeuristic; - script_heuristic?: ScriptedHeuristic; - shard_min_doc_count?: long; - shard_size?: integer; - size?: integer; + background_filter?: QueryContainer + chi_square?: ChiSquareHeuristic + exclude?: string | string[] + execution_hint?: TermsAggregationExecutionHint + field?: Field + gnd?: GoogleNormalizedDistanceHeuristic + include?: string | string[] + min_doc_count?: long + mutual_information?: MutualInformationHeuristic + percentage?: PercentageScoreHeuristic + script_heuristic?: ScriptedHeuristic + shard_min_doc_count?: long + shard_size?: integer + size?: integer } diff --git a/specification/specs/aggregations/bucket/significant_terms/heuristics/ChiSquareHeuristic.ts b/specification/specs/aggregations/bucket/significant_terms/heuristics/ChiSquareHeuristic.ts index 2b534d24ed..6c0b58185c 100644 --- a/specification/specs/aggregations/bucket/significant_terms/heuristics/ChiSquareHeuristic.ts +++ b/specification/specs/aggregations/bucket/significant_terms/heuristics/ChiSquareHeuristic.ts @@ -1,4 +1,4 @@ class ChiSquareHeuristic { - background_is_superset: boolean; - include_negatives: boolean; + background_is_superset: boolean + include_negatives: boolean } diff --git a/specification/specs/aggregations/bucket/significant_terms/heuristics/GoogleNormalizedDistanceHeuristic.ts b/specification/specs/aggregations/bucket/significant_terms/heuristics/GoogleNormalizedDistanceHeuristic.ts index e4e801c77b..0c50f69e16 100644 --- a/specification/specs/aggregations/bucket/significant_terms/heuristics/GoogleNormalizedDistanceHeuristic.ts +++ b/specification/specs/aggregations/bucket/significant_terms/heuristics/GoogleNormalizedDistanceHeuristic.ts @@ -1,3 +1,3 @@ class GoogleNormalizedDistanceHeuristic { - background_is_superset: boolean; + background_is_superset: boolean } diff --git a/specification/specs/aggregations/bucket/significant_terms/heuristics/MutualInformationHeuristic.ts b/specification/specs/aggregations/bucket/significant_terms/heuristics/MutualInformationHeuristic.ts index c76648d023..07cdb19762 100644 --- a/specification/specs/aggregations/bucket/significant_terms/heuristics/MutualInformationHeuristic.ts +++ b/specification/specs/aggregations/bucket/significant_terms/heuristics/MutualInformationHeuristic.ts @@ -1,4 +1,4 @@ class MutualInformationHeuristic { - background_is_superset: boolean; - include_negatives: boolean; + background_is_superset: boolean + include_negatives: boolean } diff --git a/specification/specs/aggregations/bucket/significant_terms/heuristics/PercentageScoreHeuristic.ts b/specification/specs/aggregations/bucket/significant_terms/heuristics/PercentageScoreHeuristic.ts index 158eee51fa..90d25b7d73 100644 --- a/specification/specs/aggregations/bucket/significant_terms/heuristics/PercentageScoreHeuristic.ts +++ b/specification/specs/aggregations/bucket/significant_terms/heuristics/PercentageScoreHeuristic.ts @@ -1,2 +1 @@ -class PercentageScoreHeuristic { -} +class PercentageScoreHeuristic {} diff --git a/specification/specs/aggregations/bucket/significant_terms/heuristics/ScriptedHeuristic.ts b/specification/specs/aggregations/bucket/significant_terms/heuristics/ScriptedHeuristic.ts index 2186d7ba0d..59bdb73cb1 100644 --- a/specification/specs/aggregations/bucket/significant_terms/heuristics/ScriptedHeuristic.ts +++ b/specification/specs/aggregations/bucket/significant_terms/heuristics/ScriptedHeuristic.ts @@ -1,3 +1,3 @@ class ScriptedHeuristic { - script: Script; + script: Script } diff --git a/specification/specs/aggregations/bucket/significant_text/SignificantTextAggregation.ts b/specification/specs/aggregations/bucket/significant_text/SignificantTextAggregation.ts index db604ceb57..b8b486f13e 100644 --- a/specification/specs/aggregations/bucket/significant_text/SignificantTextAggregation.ts +++ b/specification/specs/aggregations/bucket/significant_text/SignificantTextAggregation.ts @@ -1,18 +1,18 @@ class SignificantTextAggregation { - background_filter?: QueryContainer; - chi_square?: ChiSquareHeuristic; - exclude?: string | string[]; - execution_hint?: TermsAggregationExecutionHint; - field?: Field; - filter_duplicate_text?: boolean; - gnd?: GoogleNormalizedDistanceHeuristic; - include?: string | string[]; - min_doc_count?: long; - mutual_information?: MutualInformationHeuristic; - percentage?: PercentageScoreHeuristic; - script_heuristic?: ScriptedHeuristic; - shard_min_doc_count?: long; - shard_size?: integer; - size?: integer; - source_fields?: Field[]; + background_filter?: QueryContainer + chi_square?: ChiSquareHeuristic + exclude?: string | string[] + execution_hint?: TermsAggregationExecutionHint + field?: Field + filter_duplicate_text?: boolean + gnd?: GoogleNormalizedDistanceHeuristic + include?: string | string[] + min_doc_count?: long + mutual_information?: MutualInformationHeuristic + percentage?: PercentageScoreHeuristic + script_heuristic?: ScriptedHeuristic + shard_min_doc_count?: long + shard_size?: integer + size?: integer + source_fields?: Field[] } diff --git a/specification/specs/aggregations/bucket/terms/TermsAggregation.ts b/specification/specs/aggregations/bucket/terms/TermsAggregation.ts index 3c9263b8bd..50b8a33308 100644 --- a/specification/specs/aggregations/bucket/terms/TermsAggregation.ts +++ b/specification/specs/aggregations/bucket/terms/TermsAggregation.ts @@ -1,15 +1,15 @@ class TermsAggregation { - collect_mode?: TermsAggregationCollectMode; - exclude?: string | string[]; - execution_hint?: TermsAggregationExecutionHint; - field?: Field; - include?: string | string[] | TermsInclude; - min_doc_count?: integer; - missing?: Missing; - value_type?: string; - order?: Dictionary; - script?: Script; - shard_size?: integer; - show_term_doc_count_error?: boolean; - size?: integer; + collect_mode?: TermsAggregationCollectMode + exclude?: string | string[] + execution_hint?: TermsAggregationExecutionHint + field?: Field + include?: string | string[] | TermsInclude + min_doc_count?: integer + missing?: Missing + value_type?: string + order?: Dictionary + script?: Script + shard_size?: integer + show_term_doc_count_error?: boolean + size?: integer } diff --git a/specification/specs/aggregations/bucket/terms/TermsInclude.ts b/specification/specs/aggregations/bucket/terms/TermsInclude.ts index aacdd169a0..38e1030e68 100644 --- a/specification/specs/aggregations/bucket/terms/TermsInclude.ts +++ b/specification/specs/aggregations/bucket/terms/TermsInclude.ts @@ -1,5 +1,5 @@ -@class_serializer("TermsIncludeFormatter") +@class_serializer('TermsIncludeFormatter') class TermsInclude { - num_partitions: long; - partition: long; + num_partitions: long + partition: long } diff --git a/specification/specs/aggregations/bucket/variable_width_histogram/VariableWidthHistogramAggregation.ts b/specification/specs/aggregations/bucket/variable_width_histogram/VariableWidthHistogramAggregation.ts index 7dae08d886..2422672626 100644 --- a/specification/specs/aggregations/bucket/variable_width_histogram/VariableWidthHistogramAggregation.ts +++ b/specification/specs/aggregations/bucket/variable_width_histogram/VariableWidthHistogramAggregation.ts @@ -1,6 +1,6 @@ class VariableWidthHistogramAggregation { - field?: Field; - buckets?: integer; - shard_size?: integer; - initial_buffer?: integer; + field?: Field + buckets?: integer + shard_size?: integer + initial_buffer?: integer } diff --git a/specification/specs/aggregations/matrix/MatrixAggregation.ts b/specification/specs/aggregations/matrix/MatrixAggregation.ts index f484468cd8..ff162b9dd9 100644 --- a/specification/specs/aggregations/matrix/MatrixAggregation.ts +++ b/specification/specs/aggregations/matrix/MatrixAggregation.ts @@ -1,4 +1,4 @@ class MatrixAggregation { - fields?: Field[]; - missing?: Dictionary; + fields?: Field[] + missing?: Dictionary } diff --git a/specification/specs/aggregations/matrix/matrix_stats/MatrixStatsAggregation.ts b/specification/specs/aggregations/matrix/matrix_stats/MatrixStatsAggregation.ts index cf06a50c0b..57f5827845 100644 --- a/specification/specs/aggregations/matrix/matrix_stats/MatrixStatsAggregation.ts +++ b/specification/specs/aggregations/matrix/matrix_stats/MatrixStatsAggregation.ts @@ -1,3 +1,3 @@ class MatrixStatsAggregation { - mode?: MatrixStatsMode; + mode?: MatrixStatsMode } diff --git a/specification/specs/aggregations/metric/FormattableMetricAggregation.ts b/specification/specs/aggregations/metric/FormattableMetricAggregation.ts index 9424e72e2d..64cb1fb278 100644 --- a/specification/specs/aggregations/metric/FormattableMetricAggregation.ts +++ b/specification/specs/aggregations/metric/FormattableMetricAggregation.ts @@ -1,3 +1,3 @@ class FormattableMetricAggregation { - format?: string; + format?: string } diff --git a/specification/specs/aggregations/metric/MetricAggregation.ts b/specification/specs/aggregations/metric/MetricAggregation.ts index fdb768a8f0..07ec8f583c 100644 --- a/specification/specs/aggregations/metric/MetricAggregation.ts +++ b/specification/specs/aggregations/metric/MetricAggregation.ts @@ -1,5 +1,5 @@ class MetricAggregation { - field?: Field; - missing?: double; - script?: Script; + field?: Field + missing?: double + script?: Script } diff --git a/specification/specs/aggregations/metric/average/AverageAggregation.ts b/specification/specs/aggregations/metric/average/AverageAggregation.ts index 4d03a3397a..f933333367 100644 --- a/specification/specs/aggregations/metric/average/AverageAggregation.ts +++ b/specification/specs/aggregations/metric/average/AverageAggregation.ts @@ -1,2 +1 @@ -class AverageAggregation { -} +class AverageAggregation {} diff --git a/specification/specs/aggregations/metric/boxplot/BoxplotAggregation.ts b/specification/specs/aggregations/metric/boxplot/BoxplotAggregation.ts index 7be9edaa5f..a8e0ad0777 100644 --- a/specification/specs/aggregations/metric/boxplot/BoxplotAggregation.ts +++ b/specification/specs/aggregations/metric/boxplot/BoxplotAggregation.ts @@ -1,3 +1,3 @@ class BoxplotAggregation { - compression?: double; + compression?: double } diff --git a/specification/specs/aggregations/metric/cardinality/CardinalityAggregation.ts b/specification/specs/aggregations/metric/cardinality/CardinalityAggregation.ts index df3c610c61..a92fa09e7e 100644 --- a/specification/specs/aggregations/metric/cardinality/CardinalityAggregation.ts +++ b/specification/specs/aggregations/metric/cardinality/CardinalityAggregation.ts @@ -1,5 +1,5 @@ class CardinalityAggregation { - precision_threshold?: integer; - rehash?: boolean; - field?: Field; + precision_threshold?: integer + rehash?: boolean + field?: Field } diff --git a/specification/specs/aggregations/metric/extended_stats/ExtendedStatsAggregation.ts b/specification/specs/aggregations/metric/extended_stats/ExtendedStatsAggregation.ts index 4fd2b083ec..24a9931204 100644 --- a/specification/specs/aggregations/metric/extended_stats/ExtendedStatsAggregation.ts +++ b/specification/specs/aggregations/metric/extended_stats/ExtendedStatsAggregation.ts @@ -1,4 +1,4 @@ class ExtendedStatsAggregation { - sigma?: double; - field?: Field; + sigma?: double + field?: Field } diff --git a/specification/specs/aggregations/metric/geo_bounds/GeoBoundsAggregation.ts b/specification/specs/aggregations/metric/geo_bounds/GeoBoundsAggregation.ts index edace709dd..c85a0e30be 100644 --- a/specification/specs/aggregations/metric/geo_bounds/GeoBoundsAggregation.ts +++ b/specification/specs/aggregations/metric/geo_bounds/GeoBoundsAggregation.ts @@ -1,3 +1,3 @@ class GeoBoundsAggregation { - wrap_longitude?: boolean; + wrap_longitude?: boolean } diff --git a/specification/specs/aggregations/metric/geo_centroid/GeoCentroidAggregation.ts b/specification/specs/aggregations/metric/geo_centroid/GeoCentroidAggregation.ts index 137ffd8a91..3160bd807a 100644 --- a/specification/specs/aggregations/metric/geo_centroid/GeoCentroidAggregation.ts +++ b/specification/specs/aggregations/metric/geo_centroid/GeoCentroidAggregation.ts @@ -1,2 +1 @@ -class GeoCentroidAggregation { -} +class GeoCentroidAggregation {} diff --git a/specification/specs/aggregations/metric/max/MaxAggregation.ts b/specification/specs/aggregations/metric/max/MaxAggregation.ts index a83414b7df..46b91e1fb3 100644 --- a/specification/specs/aggregations/metric/max/MaxAggregation.ts +++ b/specification/specs/aggregations/metric/max/MaxAggregation.ts @@ -1,2 +1 @@ -class MaxAggregation { -} +class MaxAggregation {} diff --git a/specification/specs/aggregations/metric/median_absolute_deviation/MedianAbsoluteDeviationAggregation.ts b/specification/specs/aggregations/metric/median_absolute_deviation/MedianAbsoluteDeviationAggregation.ts index 4af637cccc..a61a19ee03 100644 --- a/specification/specs/aggregations/metric/median_absolute_deviation/MedianAbsoluteDeviationAggregation.ts +++ b/specification/specs/aggregations/metric/median_absolute_deviation/MedianAbsoluteDeviationAggregation.ts @@ -1,5 +1,5 @@ class MedianAbsoluteDeviationAggregation { - compression?: double; - field?: Field; - missing?: Missing; + compression?: double + field?: Field + missing?: Missing } diff --git a/specification/specs/aggregations/metric/min/MinAggregation.ts b/specification/specs/aggregations/metric/min/MinAggregation.ts index 0b88e6f75a..94f2db4f62 100644 --- a/specification/specs/aggregations/metric/min/MinAggregation.ts +++ b/specification/specs/aggregations/metric/min/MinAggregation.ts @@ -1,2 +1 @@ -class MinAggregation { -} +class MinAggregation {} diff --git a/specification/specs/aggregations/metric/percentile_ranks/PercentileRanksAggregation.ts b/specification/specs/aggregations/metric/percentile_ranks/PercentileRanksAggregation.ts index 09c39d2cff..3b38924be1 100644 --- a/specification/specs/aggregations/metric/percentile_ranks/PercentileRanksAggregation.ts +++ b/specification/specs/aggregations/metric/percentile_ranks/PercentileRanksAggregation.ts @@ -1,7 +1,7 @@ class PercentileRanksAggregation { - keyed?: boolean; - values?: double[]; - field?: Field; - hdr?: HdrMethod; - tdigest?: TDigest; + keyed?: boolean + values?: double[] + field?: Field + hdr?: HdrMethod + tdigest?: TDigest } diff --git a/specification/specs/aggregations/metric/percentiles/PercentilesAggregation.ts b/specification/specs/aggregations/metric/percentiles/PercentilesAggregation.ts index c20900f33d..7e47e64123 100644 --- a/specification/specs/aggregations/metric/percentiles/PercentilesAggregation.ts +++ b/specification/specs/aggregations/metric/percentiles/PercentilesAggregation.ts @@ -1,16 +1,16 @@ class PercentilesAggregation { - keyed?: boolean; - percents?: double[]; - field?: Field; - missing?: Missing; - hdr?: HdrMethod; - tdigest?: TDigest; + keyed?: boolean + percents?: double[] + field?: Field + missing?: Missing + hdr?: HdrMethod + tdigest?: TDigest } class HdrMethod { - number_of_significant_value_digits?: integer; + number_of_significant_value_digits?: integer } class TDigest { - compression?: integer; + compression?: integer } diff --git a/specification/specs/aggregations/metric/scripted_metric/ScriptedMetricAggregation.ts b/specification/specs/aggregations/metric/scripted_metric/ScriptedMetricAggregation.ts index dae934253e..8cd72310a5 100644 --- a/specification/specs/aggregations/metric/scripted_metric/ScriptedMetricAggregation.ts +++ b/specification/specs/aggregations/metric/scripted_metric/ScriptedMetricAggregation.ts @@ -1,7 +1,7 @@ class ScriptedMetricAggregation { - combine_script?: Script; - init_script?: Script; - map_script?: Script; - params?: Dictionary; - reduce_script?: Script; + combine_script?: Script + init_script?: Script + map_script?: Script + params?: Dictionary + reduce_script?: Script } diff --git a/specification/specs/aggregations/metric/stats/StatsAggregation.ts b/specification/specs/aggregations/metric/stats/StatsAggregation.ts index 6c87f25688..1ae75bba54 100644 --- a/specification/specs/aggregations/metric/stats/StatsAggregation.ts +++ b/specification/specs/aggregations/metric/stats/StatsAggregation.ts @@ -1,2 +1 @@ -class StatsAggregation { -} +class StatsAggregation {} diff --git a/specification/specs/aggregations/metric/string_stats/StringStatsAggregation.ts b/specification/specs/aggregations/metric/string_stats/StringStatsAggregation.ts index 19f53f22a5..26cc5fe432 100644 --- a/specification/specs/aggregations/metric/string_stats/StringStatsAggregation.ts +++ b/specification/specs/aggregations/metric/string_stats/StringStatsAggregation.ts @@ -1,6 +1,6 @@ class StringStatsAggregation { - field?: Field; - missing?: any; - script?: Script; - show_distribution?: boolean; + field?: Field + missing?: any + script?: Script + show_distribution?: boolean } diff --git a/specification/specs/aggregations/metric/sum/SumAggregation.ts b/specification/specs/aggregations/metric/sum/SumAggregation.ts index 005e1eb641..5ed9c525c8 100644 --- a/specification/specs/aggregations/metric/sum/SumAggregation.ts +++ b/specification/specs/aggregations/metric/sum/SumAggregation.ts @@ -1,2 +1 @@ -class SumAggregation { -} +class SumAggregation {} diff --git a/specification/specs/aggregations/metric/top_hits/TopHitsAggregation.ts b/specification/specs/aggregations/metric/top_hits/TopHitsAggregation.ts index ef7b312d5a..dc96ee42b8 100644 --- a/specification/specs/aggregations/metric/top_hits/TopHitsAggregation.ts +++ b/specification/specs/aggregations/metric/top_hits/TopHitsAggregation.ts @@ -1,14 +1,19 @@ class TopHitsAggregation { - docvalue_fields?: Field[]; - explain?: boolean; - from?: integer; - highlight?: Highlight; - script_fields?: Dictionary; - size?: integer; - sort?: string | Dictionary | Array>>; - _source?: Union; - stored_fields?: Field[]; - track_scores?: boolean; - version?: boolean; - seq_no_primary_term?: boolean; + docvalue_fields?: Field[] + explain?: boolean + from?: integer + highlight?: Highlight + script_fields?: Dictionary + size?: integer + sort?: + | string + | Dictionary + | Array< + SingleKeyDictionary> + > + _source?: Union + stored_fields?: Field[] + track_scores?: boolean + version?: boolean + seq_no_primary_term?: boolean } diff --git a/specification/specs/aggregations/metric/top_metrics/TopMetricsAggregation.ts b/specification/specs/aggregations/metric/top_metrics/TopMetricsAggregation.ts index f28ecb773b..63b17774e3 100644 --- a/specification/specs/aggregations/metric/top_metrics/TopMetricsAggregation.ts +++ b/specification/specs/aggregations/metric/top_metrics/TopMetricsAggregation.ts @@ -1,5 +1,5 @@ class TopMetricsAggregation { - metrics?: TopMetricsValue[]; - size?: integer; - sort?: Sort[]; + metrics?: TopMetricsValue[] + size?: integer + sort?: Sort[] } diff --git a/specification/specs/aggregations/metric/top_metrics/TopMetricsValue.ts b/specification/specs/aggregations/metric/top_metrics/TopMetricsValue.ts index 91fcd62d64..538774424e 100644 --- a/specification/specs/aggregations/metric/top_metrics/TopMetricsValue.ts +++ b/specification/specs/aggregations/metric/top_metrics/TopMetricsValue.ts @@ -1,3 +1,3 @@ class TopMetricsValue { - field: Field; + field: Field } diff --git a/specification/specs/aggregations/metric/value_count/ValueCountAggregation.ts b/specification/specs/aggregations/metric/value_count/ValueCountAggregation.ts index 6be5161431..67acd3d64e 100644 --- a/specification/specs/aggregations/metric/value_count/ValueCountAggregation.ts +++ b/specification/specs/aggregations/metric/value_count/ValueCountAggregation.ts @@ -1,2 +1 @@ -class ValueCountAggregation { -} +class ValueCountAggregation {} diff --git a/specification/specs/aggregations/metric/weighted_average/WeightedAverageAggregation.ts b/specification/specs/aggregations/metric/weighted_average/WeightedAverageAggregation.ts index 63001ec12d..926395ec28 100644 --- a/specification/specs/aggregations/metric/weighted_average/WeightedAverageAggregation.ts +++ b/specification/specs/aggregations/metric/weighted_average/WeightedAverageAggregation.ts @@ -1,6 +1,6 @@ class WeightedAverageAggregation { - format?: string; - value?: WeightedAverageValue; - value_type?: ValueType; - weight?: WeightedAverageValue; + format?: string + value?: WeightedAverageValue + value_type?: ValueType + weight?: WeightedAverageValue } diff --git a/specification/specs/aggregations/metric/weighted_average/WeightedAverageValue.ts b/specification/specs/aggregations/metric/weighted_average/WeightedAverageValue.ts index 68ab6655bb..3298d62e58 100644 --- a/specification/specs/aggregations/metric/weighted_average/WeightedAverageValue.ts +++ b/specification/specs/aggregations/metric/weighted_average/WeightedAverageValue.ts @@ -1,5 +1,5 @@ class WeightedAverageValue { - field: Field; - missing: double; - script: Script; + field: Field + missing: double + script: Script } diff --git a/specification/specs/aggregations/pipeline/BucketsPath.ts b/specification/specs/aggregations/pipeline/BucketsPath.ts index 47605e2d93..c6e1fb5373 100644 --- a/specification/specs/aggregations/pipeline/BucketsPath.ts +++ b/specification/specs/aggregations/pipeline/BucketsPath.ts @@ -1,3 +1,2 @@ -@class_serializer("BucketsPathFormatter") -class BucketsPath { -} +@class_serializer('BucketsPathFormatter') +class BucketsPath {} diff --git a/specification/specs/aggregations/pipeline/PipelineAggregation.ts b/specification/specs/aggregations/pipeline/PipelineAggregation.ts index c4c8fc95d0..77bc4f26c9 100644 --- a/specification/specs/aggregations/pipeline/PipelineAggregation.ts +++ b/specification/specs/aggregations/pipeline/PipelineAggregation.ts @@ -1,5 +1,5 @@ class PipelineAggregation { - buckets_path?: BucketsPath; - format?: string; - gap_policy?: GapPolicy; + buckets_path?: BucketsPath + format?: string + gap_policy?: GapPolicy } diff --git a/specification/specs/aggregations/pipeline/average_bucket/AverageBucketAggregation.ts b/specification/specs/aggregations/pipeline/average_bucket/AverageBucketAggregation.ts index e5332e6d46..ce85b4bc6c 100644 --- a/specification/specs/aggregations/pipeline/average_bucket/AverageBucketAggregation.ts +++ b/specification/specs/aggregations/pipeline/average_bucket/AverageBucketAggregation.ts @@ -1,2 +1 @@ -class AverageBucketAggregation { -} +class AverageBucketAggregation {} diff --git a/specification/specs/aggregations/pipeline/bucket_script/BucketScriptAggregation.ts b/specification/specs/aggregations/pipeline/bucket_script/BucketScriptAggregation.ts index ba91854faa..90ac0523a2 100644 --- a/specification/specs/aggregations/pipeline/bucket_script/BucketScriptAggregation.ts +++ b/specification/specs/aggregations/pipeline/bucket_script/BucketScriptAggregation.ts @@ -1,3 +1,3 @@ class BucketScriptAggregation { - script?: Script; + script?: Script } diff --git a/specification/specs/aggregations/pipeline/bucket_selector/BucketSelectorAggregation.ts b/specification/specs/aggregations/pipeline/bucket_selector/BucketSelectorAggregation.ts index e8fb5fa387..dc5425aeee 100644 --- a/specification/specs/aggregations/pipeline/bucket_selector/BucketSelectorAggregation.ts +++ b/specification/specs/aggregations/pipeline/bucket_selector/BucketSelectorAggregation.ts @@ -1,3 +1,3 @@ class BucketSelectorAggregation { - script?: Script; + script?: Script } diff --git a/specification/specs/aggregations/pipeline/bucket_sort/BucketSortAggregation.ts b/specification/specs/aggregations/pipeline/bucket_sort/BucketSortAggregation.ts index 762290268f..849e2992fa 100644 --- a/specification/specs/aggregations/pipeline/bucket_sort/BucketSortAggregation.ts +++ b/specification/specs/aggregations/pipeline/bucket_sort/BucketSortAggregation.ts @@ -1,6 +1,6 @@ class BucketSortAggregation { - from?: integer; - gap_policy?: GapPolicy; - size?: integer; - sort?: Sort[]; + from?: integer + gap_policy?: GapPolicy + size?: integer + sort?: Sort[] } diff --git a/specification/specs/aggregations/pipeline/cumulative_cardinality/CumulativeCardinalityAggregation.ts b/specification/specs/aggregations/pipeline/cumulative_cardinality/CumulativeCardinalityAggregation.ts index cded5f0013..be35fb4ff3 100644 --- a/specification/specs/aggregations/pipeline/cumulative_cardinality/CumulativeCardinalityAggregation.ts +++ b/specification/specs/aggregations/pipeline/cumulative_cardinality/CumulativeCardinalityAggregation.ts @@ -1,2 +1 @@ -class CumulativeCardinalityAggregation { -} +class CumulativeCardinalityAggregation {} diff --git a/specification/specs/aggregations/pipeline/cumulative_sum/CumulativeSumAggregation.ts b/specification/specs/aggregations/pipeline/cumulative_sum/CumulativeSumAggregation.ts index b2bf6043e8..cda1a07e98 100644 --- a/specification/specs/aggregations/pipeline/cumulative_sum/CumulativeSumAggregation.ts +++ b/specification/specs/aggregations/pipeline/cumulative_sum/CumulativeSumAggregation.ts @@ -1,2 +1 @@ -class CumulativeSumAggregation { -} +class CumulativeSumAggregation {} diff --git a/specification/specs/aggregations/pipeline/derivative/DerivativeAggregation.ts b/specification/specs/aggregations/pipeline/derivative/DerivativeAggregation.ts index 4d210ede58..5e45c04435 100644 --- a/specification/specs/aggregations/pipeline/derivative/DerivativeAggregation.ts +++ b/specification/specs/aggregations/pipeline/derivative/DerivativeAggregation.ts @@ -1,2 +1 @@ -class DerivativeAggregation { -} +class DerivativeAggregation {} diff --git a/specification/specs/aggregations/pipeline/extended_stats_bucket/ExtendedStatsBucketAggregation.ts b/specification/specs/aggregations/pipeline/extended_stats_bucket/ExtendedStatsBucketAggregation.ts index c2b619daf7..5937d74727 100644 --- a/specification/specs/aggregations/pipeline/extended_stats_bucket/ExtendedStatsBucketAggregation.ts +++ b/specification/specs/aggregations/pipeline/extended_stats_bucket/ExtendedStatsBucketAggregation.ts @@ -1,3 +1,3 @@ class ExtendedStatsBucketAggregation { - sigma?: double; + sigma?: double } diff --git a/specification/specs/aggregations/pipeline/max_bucket/MaxBucketAggregation.ts b/specification/specs/aggregations/pipeline/max_bucket/MaxBucketAggregation.ts index 830c93b0bd..10c1b92772 100644 --- a/specification/specs/aggregations/pipeline/max_bucket/MaxBucketAggregation.ts +++ b/specification/specs/aggregations/pipeline/max_bucket/MaxBucketAggregation.ts @@ -1,2 +1 @@ -class MaxBucketAggregation { -} +class MaxBucketAggregation {} diff --git a/specification/specs/aggregations/pipeline/min_bucket/MinBucketAggregation.ts b/specification/specs/aggregations/pipeline/min_bucket/MinBucketAggregation.ts index dd02dba24f..cad9969acf 100644 --- a/specification/specs/aggregations/pipeline/min_bucket/MinBucketAggregation.ts +++ b/specification/specs/aggregations/pipeline/min_bucket/MinBucketAggregation.ts @@ -1,2 +1 @@ -class MinBucketAggregation { -} +class MinBucketAggregation {} diff --git a/specification/specs/aggregations/pipeline/moving_average/MovingAverageAggregation.ts b/specification/specs/aggregations/pipeline/moving_average/MovingAverageAggregation.ts index 4f1f85a99d..34a2cbbc6e 100644 --- a/specification/specs/aggregations/pipeline/moving_average/MovingAverageAggregation.ts +++ b/specification/specs/aggregations/pipeline/moving_average/MovingAverageAggregation.ts @@ -1,7 +1,7 @@ -@class_serializer("MovingAverageAggregationFormatter") +@class_serializer('MovingAverageAggregationFormatter') class MovingAverageAggregation { - minimize?: boolean; - model?: MovingAverageModel; - predict?: integer; - window?: integer; + minimize?: boolean + model?: MovingAverageModel + predict?: integer + window?: integer } diff --git a/specification/specs/aggregations/pipeline/moving_average/models/MovingAverageModel.ts b/specification/specs/aggregations/pipeline/moving_average/models/MovingAverageModel.ts index 526c46fc53..4a31a0c549 100644 --- a/specification/specs/aggregations/pipeline/moving_average/models/MovingAverageModel.ts +++ b/specification/specs/aggregations/pipeline/moving_average/models/MovingAverageModel.ts @@ -1,3 +1,3 @@ class MovingAverageModel { - name: string; + name: string } diff --git a/specification/specs/aggregations/pipeline/moving_function/MovingFunctionAggregation.ts b/specification/specs/aggregations/pipeline/moving_function/MovingFunctionAggregation.ts index ecca4f56db..386d521e42 100644 --- a/specification/specs/aggregations/pipeline/moving_function/MovingFunctionAggregation.ts +++ b/specification/specs/aggregations/pipeline/moving_function/MovingFunctionAggregation.ts @@ -1,5 +1,5 @@ class MovingFunctionAggregation { - script?: string; - shift?: integer; - window?: integer; + script?: string + shift?: integer + window?: integer } diff --git a/specification/specs/aggregations/pipeline/percentiles_bucket/PercentilesBucketAggregation.ts b/specification/specs/aggregations/pipeline/percentiles_bucket/PercentilesBucketAggregation.ts index 98bf30bd45..37711a1384 100644 --- a/specification/specs/aggregations/pipeline/percentiles_bucket/PercentilesBucketAggregation.ts +++ b/specification/specs/aggregations/pipeline/percentiles_bucket/PercentilesBucketAggregation.ts @@ -1,3 +1,3 @@ class PercentilesBucketAggregation { - percents?: double[]; + percents?: double[] } diff --git a/specification/specs/aggregations/pipeline/serial_differencing/SerialDifferencingAggregation.ts b/specification/specs/aggregations/pipeline/serial_differencing/SerialDifferencingAggregation.ts index 73125720e3..fa74a41461 100644 --- a/specification/specs/aggregations/pipeline/serial_differencing/SerialDifferencingAggregation.ts +++ b/specification/specs/aggregations/pipeline/serial_differencing/SerialDifferencingAggregation.ts @@ -1,3 +1,3 @@ class SerialDifferencingAggregation { - lag?: integer; + lag?: integer } diff --git a/specification/specs/aggregations/pipeline/stats_bucket/StatsBucketAggregation.ts b/specification/specs/aggregations/pipeline/stats_bucket/StatsBucketAggregation.ts index bfc4b85125..7195dd8500 100644 --- a/specification/specs/aggregations/pipeline/stats_bucket/StatsBucketAggregation.ts +++ b/specification/specs/aggregations/pipeline/stats_bucket/StatsBucketAggregation.ts @@ -1,2 +1 @@ -class StatsBucketAggregation { -} +class StatsBucketAggregation {} diff --git a/specification/specs/aggregations/pipeline/sum_bucket/SumBucketAggregation.ts b/specification/specs/aggregations/pipeline/sum_bucket/SumBucketAggregation.ts index 3e50bf4060..066a6f65f2 100644 --- a/specification/specs/aggregations/pipeline/sum_bucket/SumBucketAggregation.ts +++ b/specification/specs/aggregations/pipeline/sum_bucket/SumBucketAggregation.ts @@ -1,2 +1 @@ -class SumBucketAggregation { -} +class SumBucketAggregation {} diff --git a/specification/specs/analysis/StopWords.ts b/specification/specs/analysis/StopWords.ts index ff47e55473..a63635ca74 100644 --- a/specification/specs/analysis/StopWords.ts +++ b/specification/specs/analysis/StopWords.ts @@ -4,4 +4,4 @@ * Also accepts an array of stop words. * @class_serializer: StopWordsFormatter */ -type StopWords = string | string [] +type StopWords = string | string[] diff --git a/specification/specs/analysis/analyzers/AnalyzerBase.ts b/specification/specs/analysis/analyzers/AnalyzerBase.ts index 403559db53..5c5d9d388b 100644 --- a/specification/specs/analysis/analyzers/AnalyzerBase.ts +++ b/specification/specs/analysis/analyzers/AnalyzerBase.ts @@ -1,4 +1,4 @@ class AnalyzerBase { - type: string; - version: string; + type: string + version: string } diff --git a/specification/specs/analysis/analyzers/CustomAnalyzer.ts b/specification/specs/analysis/analyzers/CustomAnalyzer.ts index d6543fc0f8..3f4aff8eba 100644 --- a/specification/specs/analysis/analyzers/CustomAnalyzer.ts +++ b/specification/specs/analysis/analyzers/CustomAnalyzer.ts @@ -1,11 +1,11 @@ class CustomAnalyzer extends AnalyzerBase { /** @prop_serializer SingleOrEnumerableFormatter`1 */ - char_filter: string[]; + char_filter: string[] /** @prop_serializer SingleOrEnumerableFormatter`1 */ - filter: string[]; + filter: string[] /** @prop_serializer NullableStringIntFormatter */ - position_increment_gap: integer; + position_increment_gap: integer /** @prop_serializer NullableStringIntFormatter */ - position_offset_gap: integer; - tokenizer: string; + position_offset_gap: integer + tokenizer: string } diff --git a/specification/specs/analysis/analyzers/FingerprintAnalyzer.ts b/specification/specs/analysis/analyzers/FingerprintAnalyzer.ts index f21ddf6451..513a1aceff 100644 --- a/specification/specs/analysis/analyzers/FingerprintAnalyzer.ts +++ b/specification/specs/analysis/analyzers/FingerprintAnalyzer.ts @@ -1,9 +1,9 @@ class FingerprintAnalyzer extends AnalyzerBase { /** @prop_serializer NullableStringIntFormatter */ - max_output_size: integer; + max_output_size: integer /** @prop_serializer NullableStringBooleanFormatter */ - preserve_original: boolean; - separator: string; - stopwords: StopWords; - stopwords_path: string; + preserve_original: boolean + separator: string + stopwords: StopWords + stopwords_path: string } diff --git a/specification/specs/analysis/analyzers/KeywordAnalyzer.ts b/specification/specs/analysis/analyzers/KeywordAnalyzer.ts index 51139cfd73..df2a7d9239 100644 --- a/specification/specs/analysis/analyzers/KeywordAnalyzer.ts +++ b/specification/specs/analysis/analyzers/KeywordAnalyzer.ts @@ -1,2 +1 @@ -class KeywordAnalyzer extends AnalyzerBase { -} +class KeywordAnalyzer extends AnalyzerBase {} diff --git a/specification/specs/analysis/analyzers/LanguageAnalyzer.ts b/specification/specs/analysis/analyzers/LanguageAnalyzer.ts index 36f280cc20..0319a86c49 100644 --- a/specification/specs/analysis/analyzers/LanguageAnalyzer.ts +++ b/specification/specs/analysis/analyzers/LanguageAnalyzer.ts @@ -1,7 +1,7 @@ class LanguageAnalyzer extends AnalyzerBase { - language: Language; - stem_exclusion: string[]; - stopwords: StopWords; - stopwords_path: string; - type: string; + language: Language + stem_exclusion: string[] + stopwords: StopWords + stopwords_path: string + type: string } diff --git a/specification/specs/analysis/analyzers/NoriAnalyzer.ts b/specification/specs/analysis/analyzers/NoriAnalyzer.ts index f798fd2472..f8d2637a3a 100644 --- a/specification/specs/analysis/analyzers/NoriAnalyzer.ts +++ b/specification/specs/analysis/analyzers/NoriAnalyzer.ts @@ -1,5 +1,5 @@ class NoriAnalyzer extends AnalyzerBase { - decompound_mode: NoriDecompoundMode; - stoptags: string[]; - user_dictionary: string; + decompound_mode: NoriDecompoundMode + stoptags: string[] + user_dictionary: string } diff --git a/specification/specs/analysis/analyzers/PatternAnalyzer.ts b/specification/specs/analysis/analyzers/PatternAnalyzer.ts index 72612e2682..a28b3b0890 100644 --- a/specification/specs/analysis/analyzers/PatternAnalyzer.ts +++ b/specification/specs/analysis/analyzers/PatternAnalyzer.ts @@ -1,7 +1,7 @@ class PatternAnalyzer extends AnalyzerBase { - flags: string; + flags: string /** @prop_serializer NullableStringBooleanFormatter */ - lowercase: boolean; - pattern: string; - stopwords: StopWords; + lowercase: boolean + pattern: string + stopwords: StopWords } diff --git a/specification/specs/analysis/analyzers/SimpleAnalyzer.ts b/specification/specs/analysis/analyzers/SimpleAnalyzer.ts index df284f0d82..953e5da253 100644 --- a/specification/specs/analysis/analyzers/SimpleAnalyzer.ts +++ b/specification/specs/analysis/analyzers/SimpleAnalyzer.ts @@ -1,2 +1 @@ -class SimpleAnalyzer extends AnalyzerBase { -} +class SimpleAnalyzer extends AnalyzerBase {} diff --git a/specification/specs/analysis/analyzers/SnowballAnalyzer.ts b/specification/specs/analysis/analyzers/SnowballAnalyzer.ts index 11b1b486bd..7e6e8e42c1 100644 --- a/specification/specs/analysis/analyzers/SnowballAnalyzer.ts +++ b/specification/specs/analysis/analyzers/SnowballAnalyzer.ts @@ -1,4 +1,4 @@ class SnowballAnalyzer extends AnalyzerBase { - language: SnowballLanguage; - stopwords: StopWords; + language: SnowballLanguage + stopwords: StopWords } diff --git a/specification/specs/analysis/analyzers/StandardAnalyzer.ts b/specification/specs/analysis/analyzers/StandardAnalyzer.ts index f12a9a4338..0497b51d02 100644 --- a/specification/specs/analysis/analyzers/StandardAnalyzer.ts +++ b/specification/specs/analysis/analyzers/StandardAnalyzer.ts @@ -1,5 +1,5 @@ class StandardAnalyzer extends AnalyzerBase { /** @prop_serializer NullableStringIntFormatter */ - max_token_length: integer; - stopwords: StopWords; + max_token_length: integer + stopwords: StopWords } diff --git a/specification/specs/analysis/analyzers/StopAnalyzer.ts b/specification/specs/analysis/analyzers/StopAnalyzer.ts index 270085ee20..4711fa9237 100644 --- a/specification/specs/analysis/analyzers/StopAnalyzer.ts +++ b/specification/specs/analysis/analyzers/StopAnalyzer.ts @@ -1,4 +1,4 @@ class StopAnalyzer extends AnalyzerBase { - stopwords: StopWords; - stopwords_path: string; + stopwords: StopWords + stopwords_path: string } diff --git a/specification/specs/analysis/analyzers/WhitespaceAnalyzer.ts b/specification/specs/analysis/analyzers/WhitespaceAnalyzer.ts index c51606a049..0eeebbcf67 100644 --- a/specification/specs/analysis/analyzers/WhitespaceAnalyzer.ts +++ b/specification/specs/analysis/analyzers/WhitespaceAnalyzer.ts @@ -1,2 +1 @@ -class WhitespaceAnalyzer extends AnalyzerBase { -} +class WhitespaceAnalyzer extends AnalyzerBase {} diff --git a/specification/specs/analysis/char_filters/CharFilterBase.ts b/specification/specs/analysis/char_filters/CharFilterBase.ts index a627d412a0..aee52a3612 100644 --- a/specification/specs/analysis/char_filters/CharFilterBase.ts +++ b/specification/specs/analysis/char_filters/CharFilterBase.ts @@ -1,8 +1,9 @@ class CharFilterBase { - type: string; - version?: string; + type: string + version?: string } -type CharFilter = HtmlStripCharFilter | - MappingCharFilter | - PatternReplaceTokenFilter \ No newline at end of file +type CharFilter = + | HtmlStripCharFilter + | MappingCharFilter + | PatternReplaceTokenFilter diff --git a/specification/specs/analysis/char_filters/HtmlStripCharFilter.ts b/specification/specs/analysis/char_filters/HtmlStripCharFilter.ts index c4376277d6..739f7bcb05 100644 --- a/specification/specs/analysis/char_filters/HtmlStripCharFilter.ts +++ b/specification/specs/analysis/char_filters/HtmlStripCharFilter.ts @@ -1,2 +1 @@ -class HtmlStripCharFilter extends CharFilterBase { -} +class HtmlStripCharFilter extends CharFilterBase {} diff --git a/specification/specs/analysis/char_filters/MappingCharFilter.ts b/specification/specs/analysis/char_filters/MappingCharFilter.ts index f5836e3877..9ece42efd6 100644 --- a/specification/specs/analysis/char_filters/MappingCharFilter.ts +++ b/specification/specs/analysis/char_filters/MappingCharFilter.ts @@ -1,4 +1,4 @@ class MappingCharFilter extends CharFilterBase { - mappings: string[]; - mappings_path: string; + mappings: string[] + mappings_path: string } diff --git a/specification/specs/analysis/char_filters/PatternReplaceCharFilter.ts b/specification/specs/analysis/char_filters/PatternReplaceCharFilter.ts index b889b9442f..2db6b505e4 100644 --- a/specification/specs/analysis/char_filters/PatternReplaceCharFilter.ts +++ b/specification/specs/analysis/char_filters/PatternReplaceCharFilter.ts @@ -1,5 +1,5 @@ class PatternReplaceCharFilter extends CharFilterBase { - flags: string; - pattern: string; - replacement: string; + flags: string + pattern: string + replacement: string } diff --git a/specification/specs/analysis/plugins/icu/IcuAnalyzer.ts b/specification/specs/analysis/plugins/icu/IcuAnalyzer.ts index 0d7dcba04f..58555c1deb 100644 --- a/specification/specs/analysis/plugins/icu/IcuAnalyzer.ts +++ b/specification/specs/analysis/plugins/icu/IcuAnalyzer.ts @@ -1,4 +1,4 @@ class IcuAnalyzer extends AnalyzerBase { - method: IcuNormalizationType; - mode: IcuNormalizationMode; + method: IcuNormalizationType + mode: IcuNormalizationMode } diff --git a/specification/specs/analysis/plugins/icu/IcuCollationTokenFilter.ts b/specification/specs/analysis/plugins/icu/IcuCollationTokenFilter.ts index dd86e7430d..93d992a7c9 100644 --- a/specification/specs/analysis/plugins/icu/IcuCollationTokenFilter.ts +++ b/specification/specs/analysis/plugins/icu/IcuCollationTokenFilter.ts @@ -1,16 +1,16 @@ class IcuCollationTokenFilter extends TokenFilterBase { - alternate: IcuCollationAlternate; - caseFirst: IcuCollationCaseFirst; + alternate: IcuCollationAlternate + caseFirst: IcuCollationCaseFirst /** @prop_serializer NullableStringBooleanFormatter */ - caseLevel: boolean; - country: string; - decomposition: IcuCollationDecomposition; + caseLevel: boolean + country: string + decomposition: IcuCollationDecomposition /** @prop_serializer NullableStringBooleanFormatter */ - hiraganaQuaternaryMode: boolean; - language: string; + hiraganaQuaternaryMode: boolean + language: string /** @prop_serializer NullableStringBooleanFormatter */ - numeric: boolean; - strength: IcuCollationStrength; - variableTop: string; - variant: string; + numeric: boolean + strength: IcuCollationStrength + variableTop: string + variant: string } diff --git a/specification/specs/analysis/plugins/icu/IcuFoldingTokenFilter.ts b/specification/specs/analysis/plugins/icu/IcuFoldingTokenFilter.ts index 40d83cc82f..02fd54adce 100644 --- a/specification/specs/analysis/plugins/icu/IcuFoldingTokenFilter.ts +++ b/specification/specs/analysis/plugins/icu/IcuFoldingTokenFilter.ts @@ -1,3 +1,3 @@ class IcuFoldingTokenFilter extends TokenFilterBase { - unicode_set_filter: string; + unicode_set_filter: string } diff --git a/specification/specs/analysis/plugins/icu/IcuNormalizationCharFilter.ts b/specification/specs/analysis/plugins/icu/IcuNormalizationCharFilter.ts index 78e198479c..7c8ecb67b9 100644 --- a/specification/specs/analysis/plugins/icu/IcuNormalizationCharFilter.ts +++ b/specification/specs/analysis/plugins/icu/IcuNormalizationCharFilter.ts @@ -1,4 +1,4 @@ class IcuNormalizationCharFilter extends CharFilterBase { - mode: IcuNormalizationMode; - name: IcuNormalizationType; + mode: IcuNormalizationMode + name: IcuNormalizationType } diff --git a/specification/specs/analysis/plugins/icu/IcuNormalizationTokenFilter.ts b/specification/specs/analysis/plugins/icu/IcuNormalizationTokenFilter.ts index 921aceed43..e1cd802c2d 100644 --- a/specification/specs/analysis/plugins/icu/IcuNormalizationTokenFilter.ts +++ b/specification/specs/analysis/plugins/icu/IcuNormalizationTokenFilter.ts @@ -1,3 +1,3 @@ class IcuNormalizationTokenFilter extends TokenFilterBase { - name: IcuNormalizationType; + name: IcuNormalizationType } diff --git a/specification/specs/analysis/plugins/icu/IcuTokenizer.ts b/specification/specs/analysis/plugins/icu/IcuTokenizer.ts index f3a9f3b1ea..26a058dbf6 100644 --- a/specification/specs/analysis/plugins/icu/IcuTokenizer.ts +++ b/specification/specs/analysis/plugins/icu/IcuTokenizer.ts @@ -1,3 +1,3 @@ class IcuTokenizer extends TokenizerBase { - rule_files: string; + rule_files: string } diff --git a/specification/specs/analysis/plugins/icu/IcuTransformTokenFilter.ts b/specification/specs/analysis/plugins/icu/IcuTransformTokenFilter.ts index e0c6e7f485..c3961d22c2 100644 --- a/specification/specs/analysis/plugins/icu/IcuTransformTokenFilter.ts +++ b/specification/specs/analysis/plugins/icu/IcuTransformTokenFilter.ts @@ -1,4 +1,4 @@ class IcuTransformTokenFilter extends TokenFilterBase { - dir: IcuTransformDirection; - id: string; + dir: IcuTransformDirection + id: string } diff --git a/specification/specs/analysis/plugins/kuromoji/KuromojiAnalyzer.ts b/specification/specs/analysis/plugins/kuromoji/KuromojiAnalyzer.ts index d06f5273e9..bd441868f3 100644 --- a/specification/specs/analysis/plugins/kuromoji/KuromojiAnalyzer.ts +++ b/specification/specs/analysis/plugins/kuromoji/KuromojiAnalyzer.ts @@ -1,4 +1,4 @@ class KuromojiAnalyzer extends AnalyzerBase { - mode: KuromojiTokenizationMode; - user_dictionary: string; + mode: KuromojiTokenizationMode + user_dictionary: string } diff --git a/specification/specs/analysis/plugins/kuromoji/KuromojiIterationMarkCharFilter.ts b/specification/specs/analysis/plugins/kuromoji/KuromojiIterationMarkCharFilter.ts index 60dbe6a92d..8bf204b533 100644 --- a/specification/specs/analysis/plugins/kuromoji/KuromojiIterationMarkCharFilter.ts +++ b/specification/specs/analysis/plugins/kuromoji/KuromojiIterationMarkCharFilter.ts @@ -1,6 +1,6 @@ class KuromojiIterationMarkCharFilter extends CharFilterBase { /** @prop_serializer NullableStringBooleanFormatter */ - normalize_kana: boolean; + normalize_kana: boolean /** @prop_serializer NullableStringBooleanFormatter */ - normalize_kanji: boolean; + normalize_kanji: boolean } diff --git a/specification/specs/analysis/plugins/kuromoji/KuromojiPartOfSpeechTokenFilter.ts b/specification/specs/analysis/plugins/kuromoji/KuromojiPartOfSpeechTokenFilter.ts index 087b939238..7e94b9f1ba 100644 --- a/specification/specs/analysis/plugins/kuromoji/KuromojiPartOfSpeechTokenFilter.ts +++ b/specification/specs/analysis/plugins/kuromoji/KuromojiPartOfSpeechTokenFilter.ts @@ -1,3 +1,3 @@ class KuromojiPartOfSpeechTokenFilter extends TokenFilterBase { - stoptags: string[]; + stoptags: string[] } diff --git a/specification/specs/analysis/plugins/kuromoji/KuromojiReadingFormTokenFilter.ts b/specification/specs/analysis/plugins/kuromoji/KuromojiReadingFormTokenFilter.ts index 705ef0130c..8905ddd939 100644 --- a/specification/specs/analysis/plugins/kuromoji/KuromojiReadingFormTokenFilter.ts +++ b/specification/specs/analysis/plugins/kuromoji/KuromojiReadingFormTokenFilter.ts @@ -1,4 +1,4 @@ class KuromojiReadingFormTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringBooleanFormatter */ - use_romaji: boolean; + use_romaji: boolean } diff --git a/specification/specs/analysis/plugins/kuromoji/KuromojiStemmerTokenFilter.ts b/specification/specs/analysis/plugins/kuromoji/KuromojiStemmerTokenFilter.ts index 20337e18bd..c85d5f4ff7 100644 --- a/specification/specs/analysis/plugins/kuromoji/KuromojiStemmerTokenFilter.ts +++ b/specification/specs/analysis/plugins/kuromoji/KuromojiStemmerTokenFilter.ts @@ -1,4 +1,4 @@ class KuromojiStemmerTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringIntFormatter */ - minimum_length: integer; + minimum_length: integer } diff --git a/specification/specs/analysis/plugins/kuromoji/KuromojiTokenizer.ts b/specification/specs/analysis/plugins/kuromoji/KuromojiTokenizer.ts index 7a327728fd..7449d71beb 100644 --- a/specification/specs/analysis/plugins/kuromoji/KuromojiTokenizer.ts +++ b/specification/specs/analysis/plugins/kuromoji/KuromojiTokenizer.ts @@ -1,10 +1,10 @@ class KuromojiTokenizer extends TokenizerBase { /** @prop_serializer NullableStringBooleanFormatter */ - discard_punctuation: boolean; - mode: KuromojiTokenizationMode; + discard_punctuation: boolean + mode: KuromojiTokenizationMode /** @prop_serializer NullableStringIntFormatter */ - nbest_cost: integer; - nbest_examples: string; - user_dictionary: string; - user_dictionary_rules: string[]; + nbest_cost: integer + nbest_examples: string + user_dictionary: string + user_dictionary_rules: string[] } diff --git a/specification/specs/analysis/plugins/phonetic/PhoneticTokenFilter.ts b/specification/specs/analysis/plugins/phonetic/PhoneticTokenFilter.ts index cc1496fddb..473fc4f6d3 100644 --- a/specification/specs/analysis/plugins/phonetic/PhoneticTokenFilter.ts +++ b/specification/specs/analysis/plugins/phonetic/PhoneticTokenFilter.ts @@ -1,10 +1,10 @@ class PhoneticTokenFilter extends TokenFilterBase { - encoder: PhoneticEncoder; - languageset: PhoneticLanguage[]; + encoder: PhoneticEncoder + languageset: PhoneticLanguage[] /** @prop_serializer NullableStringIntFormatter */ - max_code_len: integer; - name_type: PhoneticNameType; + max_code_len: integer + name_type: PhoneticNameType /** @prop_serializer NullableStringBooleanFormatter */ - replace: boolean; - rule_type: PhoneticRuleType; + replace: boolean + rule_type: PhoneticRuleType } diff --git a/specification/specs/analysis/token_filters/AsciiFoldingTokenFilter.ts b/specification/specs/analysis/token_filters/AsciiFoldingTokenFilter.ts index 46f913aea1..dbf2fc1c14 100644 --- a/specification/specs/analysis/token_filters/AsciiFoldingTokenFilter.ts +++ b/specification/specs/analysis/token_filters/AsciiFoldingTokenFilter.ts @@ -1,4 +1,4 @@ class AsciiFoldingTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringBooleanFormatter */ - preserve_original: boolean; + preserve_original: boolean } diff --git a/specification/specs/analysis/token_filters/CommonGramsTokenFilter.ts b/specification/specs/analysis/token_filters/CommonGramsTokenFilter.ts index ba0ab52835..65655742a3 100644 --- a/specification/specs/analysis/token_filters/CommonGramsTokenFilter.ts +++ b/specification/specs/analysis/token_filters/CommonGramsTokenFilter.ts @@ -1,9 +1,9 @@ class CommonGramsTokenFilter extends TokenFilterBase { /** @prop_serializer SingleOrEnumerableFormatter`1 */ - common_words: string[]; - common_words_path: string; + common_words: string[] + common_words_path: string /** @prop_serializer NullableStringBooleanFormatter */ - ignore_case: boolean; + ignore_case: boolean /** @prop_serializer NullableStringBooleanFormatter */ - query_mode: boolean; + query_mode: boolean } diff --git a/specification/specs/analysis/token_filters/ConditionTokenFilter.ts b/specification/specs/analysis/token_filters/ConditionTokenFilter.ts index 6d22f4e6a7..087a8e76f3 100644 --- a/specification/specs/analysis/token_filters/ConditionTokenFilter.ts +++ b/specification/specs/analysis/token_filters/ConditionTokenFilter.ts @@ -1,4 +1,4 @@ class ConditionTokenFilter extends TokenFilterBase { - filter: string[]; - script: Script; + filter: string[] + script: Script } diff --git a/specification/specs/analysis/token_filters/ElisionTokenFilter.ts b/specification/specs/analysis/token_filters/ElisionTokenFilter.ts index 2101bcb6ce..301216fe48 100644 --- a/specification/specs/analysis/token_filters/ElisionTokenFilter.ts +++ b/specification/specs/analysis/token_filters/ElisionTokenFilter.ts @@ -1,5 +1,5 @@ class ElisionTokenFilter extends TokenFilterBase { - articles: string[]; + articles: string[] /** @prop_serializer NullableStringBooleanFormatter */ - articles_case: boolean; + articles_case: boolean } diff --git a/specification/specs/analysis/token_filters/FingerprintTokenFilter.ts b/specification/specs/analysis/token_filters/FingerprintTokenFilter.ts index 9dbb008dfe..c67caed9e3 100644 --- a/specification/specs/analysis/token_filters/FingerprintTokenFilter.ts +++ b/specification/specs/analysis/token_filters/FingerprintTokenFilter.ts @@ -1,5 +1,5 @@ class FingerprintTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringIntFormatter */ - max_output_size: integer; - separator: string; + max_output_size: integer + separator: string } diff --git a/specification/specs/analysis/token_filters/HunspellTokenFilter.ts b/specification/specs/analysis/token_filters/HunspellTokenFilter.ts index 7918d0a7bc..711d5d9d7b 100644 --- a/specification/specs/analysis/token_filters/HunspellTokenFilter.ts +++ b/specification/specs/analysis/token_filters/HunspellTokenFilter.ts @@ -1,8 +1,8 @@ class HunspellTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringBooleanFormatter */ - dedup: boolean; - dictionary: string; - locale: string; + dedup: boolean + dictionary: string + locale: string /** @prop_serializer NullableStringBooleanFormatter */ - longest_only: boolean; + longest_only: boolean } diff --git a/specification/specs/analysis/token_filters/KStemTokenFilter.ts b/specification/specs/analysis/token_filters/KStemTokenFilter.ts index 3db45aaeb1..aac0ea05ba 100644 --- a/specification/specs/analysis/token_filters/KStemTokenFilter.ts +++ b/specification/specs/analysis/token_filters/KStemTokenFilter.ts @@ -1,2 +1 @@ -class KStemTokenFilter extends TokenFilterBase { -} +class KStemTokenFilter extends TokenFilterBase {} diff --git a/specification/specs/analysis/token_filters/KeepTypesTokenFilter.ts b/specification/specs/analysis/token_filters/KeepTypesTokenFilter.ts index 2ae9dd5292..5ba25fa741 100644 --- a/specification/specs/analysis/token_filters/KeepTypesTokenFilter.ts +++ b/specification/specs/analysis/token_filters/KeepTypesTokenFilter.ts @@ -1,4 +1,4 @@ class KeepTypesTokenFilter extends TokenFilterBase { - mode: KeepTypesMode; - types: string[]; + mode: KeepTypesMode + types: string[] } diff --git a/specification/specs/analysis/token_filters/KeepWordsTokenFilter.ts b/specification/specs/analysis/token_filters/KeepWordsTokenFilter.ts index d357b6a681..a42c50e392 100644 --- a/specification/specs/analysis/token_filters/KeepWordsTokenFilter.ts +++ b/specification/specs/analysis/token_filters/KeepWordsTokenFilter.ts @@ -1,6 +1,6 @@ class KeepWordsTokenFilter extends TokenFilterBase { - keep_words: string[]; + keep_words: string[] /** @prop_serializer NullableStringBooleanFormatter */ - keep_words_case: boolean; - keep_words_path: string; + keep_words_case: boolean + keep_words_path: string } diff --git a/specification/specs/analysis/token_filters/KeywordMarkerTokenFilter.ts b/specification/specs/analysis/token_filters/KeywordMarkerTokenFilter.ts index e15640684d..e74df809f9 100644 --- a/specification/specs/analysis/token_filters/KeywordMarkerTokenFilter.ts +++ b/specification/specs/analysis/token_filters/KeywordMarkerTokenFilter.ts @@ -1,7 +1,7 @@ class KeywordMarkerTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringBooleanFormatter */ - ignore_case: boolean; - keywords: string[]; - keywords_path: string; - keywords_pattern: string; + ignore_case: boolean + keywords: string[] + keywords_path: string + keywords_pattern: string } diff --git a/specification/specs/analysis/token_filters/LengthTokenFilter.ts b/specification/specs/analysis/token_filters/LengthTokenFilter.ts index 93504781b6..9707b3d191 100644 --- a/specification/specs/analysis/token_filters/LengthTokenFilter.ts +++ b/specification/specs/analysis/token_filters/LengthTokenFilter.ts @@ -1,6 +1,6 @@ class LengthTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringIntFormatter */ - max: integer; + max: integer /** @prop_serializer NullableStringIntFormatter */ - min: integer; + min: integer } diff --git a/specification/specs/analysis/token_filters/LimitTokenCountTokenFilter.ts b/specification/specs/analysis/token_filters/LimitTokenCountTokenFilter.ts index bf4bf41deb..62f3584e70 100644 --- a/specification/specs/analysis/token_filters/LimitTokenCountTokenFilter.ts +++ b/specification/specs/analysis/token_filters/LimitTokenCountTokenFilter.ts @@ -1,6 +1,6 @@ class LimitTokenCountTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringBooleanFormatter */ - consume_all_tokens: boolean; + consume_all_tokens: boolean /** @prop_serializer NullableStringIntFormatter */ - max_token_count: integer; + max_token_count: integer } diff --git a/specification/specs/analysis/token_filters/LowercaseTokenFilter.ts b/specification/specs/analysis/token_filters/LowercaseTokenFilter.ts index 4f7d65fc89..3b53b07b2e 100644 --- a/specification/specs/analysis/token_filters/LowercaseTokenFilter.ts +++ b/specification/specs/analysis/token_filters/LowercaseTokenFilter.ts @@ -1,3 +1,3 @@ class LowercaseTokenFilter extends TokenFilterBase { - language: string; + language: string } diff --git a/specification/specs/analysis/token_filters/MultiplexerTokenFilter.ts b/specification/specs/analysis/token_filters/MultiplexerTokenFilter.ts index 9a58caf7da..766f2e7665 100644 --- a/specification/specs/analysis/token_filters/MultiplexerTokenFilter.ts +++ b/specification/specs/analysis/token_filters/MultiplexerTokenFilter.ts @@ -1,5 +1,5 @@ class MultiplexerTokenFilter extends TokenFilterBase { - filters: string[]; + filters: string[] /** @prop_serializer NullableStringBooleanFormatter */ - preserve_original: boolean; + preserve_original: boolean } diff --git a/specification/specs/analysis/token_filters/NGramTokenFilter.ts b/specification/specs/analysis/token_filters/NGramTokenFilter.ts index 3213116f20..0925ac6ff6 100644 --- a/specification/specs/analysis/token_filters/NGramTokenFilter.ts +++ b/specification/specs/analysis/token_filters/NGramTokenFilter.ts @@ -1,6 +1,6 @@ class NGramTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringIntFormatter */ - max_gram: integer; + max_gram: integer /** @prop_serializer NullableStringIntFormatter */ - min_gram: integer; + min_gram: integer } diff --git a/specification/specs/analysis/token_filters/NoriPartOfSpeechTokenFilter.ts b/specification/specs/analysis/token_filters/NoriPartOfSpeechTokenFilter.ts index 9685f5a90d..77db1779c4 100644 --- a/specification/specs/analysis/token_filters/NoriPartOfSpeechTokenFilter.ts +++ b/specification/specs/analysis/token_filters/NoriPartOfSpeechTokenFilter.ts @@ -1,3 +1,3 @@ class NoriPartOfSpeechTokenFilter extends TokenFilterBase { - stoptags: string[]; + stoptags: string[] } diff --git a/specification/specs/analysis/token_filters/PatternCaptureTokenFilter.ts b/specification/specs/analysis/token_filters/PatternCaptureTokenFilter.ts index 316f1bb0a6..7dec28c9eb 100644 --- a/specification/specs/analysis/token_filters/PatternCaptureTokenFilter.ts +++ b/specification/specs/analysis/token_filters/PatternCaptureTokenFilter.ts @@ -1,5 +1,5 @@ class PatternCaptureTokenFilter extends TokenFilterBase { - patterns: string[]; + patterns: string[] /** @prop_serializer NullableStringBooleanFormatter */ - preserve_original: boolean; + preserve_original: boolean } diff --git a/specification/specs/analysis/token_filters/PatternReplaceTokenFilter.ts b/specification/specs/analysis/token_filters/PatternReplaceTokenFilter.ts index ac18009474..c5b775432e 100644 --- a/specification/specs/analysis/token_filters/PatternReplaceTokenFilter.ts +++ b/specification/specs/analysis/token_filters/PatternReplaceTokenFilter.ts @@ -1,5 +1,5 @@ class PatternReplaceTokenFilter extends TokenFilterBase { - flags: string; - pattern: string; - replacement: string; + flags: string + pattern: string + replacement: string } diff --git a/specification/specs/analysis/token_filters/PorterStemTokenFilter.ts b/specification/specs/analysis/token_filters/PorterStemTokenFilter.ts index c6e7adbd75..8c1a18a955 100644 --- a/specification/specs/analysis/token_filters/PorterStemTokenFilter.ts +++ b/specification/specs/analysis/token_filters/PorterStemTokenFilter.ts @@ -1,2 +1 @@ -class PorterStemTokenFilter extends TokenFilterBase { -} +class PorterStemTokenFilter extends TokenFilterBase {} diff --git a/specification/specs/analysis/token_filters/PredicateTokenFilter.ts b/specification/specs/analysis/token_filters/PredicateTokenFilter.ts index c22804905e..c2bdd02f69 100644 --- a/specification/specs/analysis/token_filters/PredicateTokenFilter.ts +++ b/specification/specs/analysis/token_filters/PredicateTokenFilter.ts @@ -1,3 +1,3 @@ class PredicateTokenFilter extends TokenFilterBase { - script: Script; + script: Script } diff --git a/specification/specs/analysis/token_filters/RemoveDuplicatesTokenFilter.ts b/specification/specs/analysis/token_filters/RemoveDuplicatesTokenFilter.ts index bbf4f43c99..5ab875ccdb 100644 --- a/specification/specs/analysis/token_filters/RemoveDuplicatesTokenFilter.ts +++ b/specification/specs/analysis/token_filters/RemoveDuplicatesTokenFilter.ts @@ -1,2 +1 @@ -class RemoveDuplicatesTokenFilter extends TokenFilterBase { -} +class RemoveDuplicatesTokenFilter extends TokenFilterBase {} diff --git a/specification/specs/analysis/token_filters/ReverseTokenFilter.ts b/specification/specs/analysis/token_filters/ReverseTokenFilter.ts index caebf63e49..c0d9139b04 100644 --- a/specification/specs/analysis/token_filters/ReverseTokenFilter.ts +++ b/specification/specs/analysis/token_filters/ReverseTokenFilter.ts @@ -1,2 +1 @@ -class ReverseTokenFilter extends TokenFilterBase { -} +class ReverseTokenFilter extends TokenFilterBase {} diff --git a/specification/specs/analysis/token_filters/SnowballTokenFilter.ts b/specification/specs/analysis/token_filters/SnowballTokenFilter.ts index c29c7fdfba..61b70c4290 100644 --- a/specification/specs/analysis/token_filters/SnowballTokenFilter.ts +++ b/specification/specs/analysis/token_filters/SnowballTokenFilter.ts @@ -1,3 +1,3 @@ class SnowballTokenFilter extends TokenFilterBase { - language: SnowballLanguage; + language: SnowballLanguage } diff --git a/specification/specs/analysis/token_filters/StemmerOverrideTokenFilter.ts b/specification/specs/analysis/token_filters/StemmerOverrideTokenFilter.ts index 217d3c3d3b..49b4e52876 100644 --- a/specification/specs/analysis/token_filters/StemmerOverrideTokenFilter.ts +++ b/specification/specs/analysis/token_filters/StemmerOverrideTokenFilter.ts @@ -1,4 +1,4 @@ class StemmerOverrideTokenFilter extends TokenFilterBase { - rules: string[]; - rules_path: string; + rules: string[] + rules_path: string } diff --git a/specification/specs/analysis/token_filters/StemmerTokenFilter.ts b/specification/specs/analysis/token_filters/StemmerTokenFilter.ts index 8d9a4483cb..482652abc7 100644 --- a/specification/specs/analysis/token_filters/StemmerTokenFilter.ts +++ b/specification/specs/analysis/token_filters/StemmerTokenFilter.ts @@ -1,3 +1,3 @@ class StemmerTokenFilter extends TokenFilterBase { - language: string; + language: string } diff --git a/specification/specs/analysis/token_filters/TokenFilterBase.ts b/specification/specs/analysis/token_filters/TokenFilterBase.ts index ae64609ab3..6ac204d793 100644 --- a/specification/specs/analysis/token_filters/TokenFilterBase.ts +++ b/specification/specs/analysis/token_filters/TokenFilterBase.ts @@ -1,44 +1,45 @@ class TokenFilterBase { - type: string; - version?: string; + type: string + version?: string } -type TokenFilter = AsciiFoldingTokenFilter | - CommonGramsTokenFilter | - ConditionTokenFilter | - DelimitedPayloadTokenFilter | +type TokenFilter = + | AsciiFoldingTokenFilter + | CommonGramsTokenFilter + | ConditionTokenFilter + | DelimitedPayloadTokenFilter //DictionaryDecompounderTokenFilter | - EdgeNGramTokenFilter | - ElisionTokenFilter | - FingerprintTokenFilter | - HunspellTokenFilter | - HyphenationDecompounderTokenFilter | - KeepTypesTokenFilter | - KeepWordsTokenFilter | - KeywordMarkerTokenFilter | - KStemTokenFilter | - LengthTokenFilter | - LimitTokenCountTokenFilter | - LowercaseTokenFilter | - MultiplexerTokenFilter | - NGramTokenFilter | - NoriPartOfSpeechTokenFilter | - PatternCaptureTokenFilter | - PatternReplaceTokenFilter | - PorterStemTokenFilter | - PredicateTokenFilter | - RemoveDuplicatesTokenFilter | - ReverseTokenFilter | - ShingleTokenFilter | - SnowballTokenFilter | - StemmerOverrideTokenFilter | - StemmerTokenFilter | - StopTokenFilter | - SynonymGraphTokenFilter | - SynonymTokenFilter | - TrimTokenFilter | - TruncateTokenFilter | - UniqueTokenFilter | - UppercaseTokenFilter | - WordDelimiterGraphTokenFilter | - WordDelimiterTokenFilter \ No newline at end of file + | EdgeNGramTokenFilter + | ElisionTokenFilter + | FingerprintTokenFilter + | HunspellTokenFilter + | HyphenationDecompounderTokenFilter + | KeepTypesTokenFilter + | KeepWordsTokenFilter + | KeywordMarkerTokenFilter + | KStemTokenFilter + | LengthTokenFilter + | LimitTokenCountTokenFilter + | LowercaseTokenFilter + | MultiplexerTokenFilter + | NGramTokenFilter + | NoriPartOfSpeechTokenFilter + | PatternCaptureTokenFilter + | PatternReplaceTokenFilter + | PorterStemTokenFilter + | PredicateTokenFilter + | RemoveDuplicatesTokenFilter + | ReverseTokenFilter + | ShingleTokenFilter + | SnowballTokenFilter + | StemmerOverrideTokenFilter + | StemmerTokenFilter + | StopTokenFilter + | SynonymGraphTokenFilter + | SynonymTokenFilter + | TrimTokenFilter + | TruncateTokenFilter + | UniqueTokenFilter + | UppercaseTokenFilter + | WordDelimiterGraphTokenFilter + | WordDelimiterTokenFilter diff --git a/specification/specs/analysis/token_filters/TrimTokenFilter.ts b/specification/specs/analysis/token_filters/TrimTokenFilter.ts index 05ad5981ac..3f9597239d 100644 --- a/specification/specs/analysis/token_filters/TrimTokenFilter.ts +++ b/specification/specs/analysis/token_filters/TrimTokenFilter.ts @@ -1,2 +1 @@ -class TrimTokenFilter extends TokenFilterBase { -} +class TrimTokenFilter extends TokenFilterBase {} diff --git a/specification/specs/analysis/token_filters/TruncateTokenFilter.ts b/specification/specs/analysis/token_filters/TruncateTokenFilter.ts index 1133025efd..5ee0c9749f 100644 --- a/specification/specs/analysis/token_filters/TruncateTokenFilter.ts +++ b/specification/specs/analysis/token_filters/TruncateTokenFilter.ts @@ -1,4 +1,4 @@ class TruncateTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringIntFormatter */ - length: integer; + length: integer } diff --git a/specification/specs/analysis/token_filters/UniqueTokenFilter.ts b/specification/specs/analysis/token_filters/UniqueTokenFilter.ts index 96832a0652..109d09aa91 100644 --- a/specification/specs/analysis/token_filters/UniqueTokenFilter.ts +++ b/specification/specs/analysis/token_filters/UniqueTokenFilter.ts @@ -1,4 +1,4 @@ class UniqueTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringBooleanFormatter */ - only_on_same_position: boolean; + only_on_same_position: boolean } diff --git a/specification/specs/analysis/token_filters/UppercaseTokenFilter.ts b/specification/specs/analysis/token_filters/UppercaseTokenFilter.ts index 2dee54ed0f..b29ea56b88 100644 --- a/specification/specs/analysis/token_filters/UppercaseTokenFilter.ts +++ b/specification/specs/analysis/token_filters/UppercaseTokenFilter.ts @@ -1,2 +1 @@ -class UppercaseTokenFilter extends TokenFilterBase { -} +class UppercaseTokenFilter extends TokenFilterBase {} diff --git a/specification/specs/analysis/token_filters/compound_word/CompoundWordTokenFilterBase.ts b/specification/specs/analysis/token_filters/compound_word/CompoundWordTokenFilterBase.ts index 3a81a9ab21..d0e792efce 100644 --- a/specification/specs/analysis/token_filters/compound_word/CompoundWordTokenFilterBase.ts +++ b/specification/specs/analysis/token_filters/compound_word/CompoundWordTokenFilterBase.ts @@ -1,9 +1,9 @@ class CompoundWordTokenFilterBase extends TokenFilterBase { - hyphenation_patterns_path: string; - max_subword_size: integer; - min_subword_size: integer; - min_word_size: integer; - only_longest_match: boolean; - word_list: string[]; - word_list_path: string; + hyphenation_patterns_path: string + max_subword_size: integer + min_subword_size: integer + min_word_size: integer + only_longest_match: boolean + word_list: string[] + word_list_path: string } diff --git a/specification/specs/analysis/token_filters/compound_word/DictionaryDecompounderTokenFilter.ts b/specification/specs/analysis/token_filters/compound_word/DictionaryDecompounderTokenFilter.ts index 0aa223824f..64f3823976 100644 --- a/specification/specs/analysis/token_filters/compound_word/DictionaryDecompounderTokenFilter.ts +++ b/specification/specs/analysis/token_filters/compound_word/DictionaryDecompounderTokenFilter.ts @@ -1,2 +1 @@ -class DictionaryDecompounderTokenFilter extends CompoundWordTokenFilterBase { -} +class DictionaryDecompounderTokenFilter extends CompoundWordTokenFilterBase {} diff --git a/specification/specs/analysis/token_filters/compound_word/HyphenationDecompounderTokenFilter.ts b/specification/specs/analysis/token_filters/compound_word/HyphenationDecompounderTokenFilter.ts index d0d1508804..0a3879ce1b 100644 --- a/specification/specs/analysis/token_filters/compound_word/HyphenationDecompounderTokenFilter.ts +++ b/specification/specs/analysis/token_filters/compound_word/HyphenationDecompounderTokenFilter.ts @@ -1,2 +1 @@ -class HyphenationDecompounderTokenFilter extends CompoundWordTokenFilterBase { -} +class HyphenationDecompounderTokenFilter extends CompoundWordTokenFilterBase {} diff --git a/specification/specs/analysis/token_filters/delimited_payload/DelimitedPayloadTokenFilter.ts b/specification/specs/analysis/token_filters/delimited_payload/DelimitedPayloadTokenFilter.ts index 851e492888..f9e89567b7 100644 --- a/specification/specs/analysis/token_filters/delimited_payload/DelimitedPayloadTokenFilter.ts +++ b/specification/specs/analysis/token_filters/delimited_payload/DelimitedPayloadTokenFilter.ts @@ -1,4 +1,4 @@ class DelimitedPayloadTokenFilter extends TokenFilterBase { - delimiter: string; - encoding: DelimitedPayloadEncoding; + delimiter: string + encoding: DelimitedPayloadEncoding } diff --git a/specification/specs/analysis/token_filters/edge_n_gram/EdgeNGramTokenFilter.ts b/specification/specs/analysis/token_filters/edge_n_gram/EdgeNGramTokenFilter.ts index 0fb591c49a..a67943391d 100644 --- a/specification/specs/analysis/token_filters/edge_n_gram/EdgeNGramTokenFilter.ts +++ b/specification/specs/analysis/token_filters/edge_n_gram/EdgeNGramTokenFilter.ts @@ -1,7 +1,7 @@ class EdgeNGramTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringIntFormatter */ - max_gram: integer; + max_gram: integer /** @prop_serializer NullableStringIntFormatter */ - min_gram: integer; - side: EdgeNGramSide; + min_gram: integer + side: EdgeNGramSide } diff --git a/specification/specs/analysis/token_filters/shingle/ShingleTokenFilter.ts b/specification/specs/analysis/token_filters/shingle/ShingleTokenFilter.ts index acd5167ae2..61db69a44b 100644 --- a/specification/specs/analysis/token_filters/shingle/ShingleTokenFilter.ts +++ b/specification/specs/analysis/token_filters/shingle/ShingleTokenFilter.ts @@ -1,12 +1,12 @@ class ShingleTokenFilter extends TokenFilterBase { - filler_token: string; + filler_token: string /** @prop_serializer NullableStringIntFormatter */ - max_shingle_size: integer; + max_shingle_size: integer /** @prop_serializer NullableStringIntFormatter */ - min_shingle_size: integer; + min_shingle_size: integer /** @prop_serializer NullableStringBooleanFormatter */ - output_unigrams: boolean; + output_unigrams: boolean /** @prop_serializer NullableStringBooleanFormatter */ - output_unigrams_if_no_shingles: boolean; - token_separator: string; + output_unigrams_if_no_shingles: boolean + token_separator: string } diff --git a/specification/specs/analysis/token_filters/stop/StopTokenFilter.ts b/specification/specs/analysis/token_filters/stop/StopTokenFilter.ts index affdd32fe3..a18f785074 100644 --- a/specification/specs/analysis/token_filters/stop/StopTokenFilter.ts +++ b/specification/specs/analysis/token_filters/stop/StopTokenFilter.ts @@ -1,6 +1,6 @@ class StopTokenFilter extends TokenFilterBase { - ignore_case?: boolean; - remove_trailing?: boolean; - stopwords: StopWords; - stopwords_path?: string; + ignore_case?: boolean + remove_trailing?: boolean + stopwords: StopWords + stopwords_path?: string } diff --git a/specification/specs/analysis/token_filters/synonym/SynonymGraphTokenFilter.ts b/specification/specs/analysis/token_filters/synonym/SynonymGraphTokenFilter.ts index 1dbee0770e..bfa7ad35f6 100644 --- a/specification/specs/analysis/token_filters/synonym/SynonymGraphTokenFilter.ts +++ b/specification/specs/analysis/token_filters/synonym/SynonymGraphTokenFilter.ts @@ -1,12 +1,12 @@ class SynonymGraphTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringBooleanFormatter */ - expand: boolean; - format: SynonymFormat; + expand: boolean + format: SynonymFormat /** @prop_serializer NullableStringBooleanFormatter */ - lenient: boolean; - synonyms: string[]; - synonyms_path: string; - tokenizer: string; + lenient: boolean + synonyms: string[] + synonyms_path: string + tokenizer: string /** @prop_serializer NullableStringBooleanFormatter */ - updateable: boolean; + updateable: boolean } diff --git a/specification/specs/analysis/token_filters/synonym/SynonymTokenFilter.ts b/specification/specs/analysis/token_filters/synonym/SynonymTokenFilter.ts index 43fea14865..9e1b96b21c 100644 --- a/specification/specs/analysis/token_filters/synonym/SynonymTokenFilter.ts +++ b/specification/specs/analysis/token_filters/synonym/SynonymTokenFilter.ts @@ -1,12 +1,12 @@ class SynonymTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringBooleanFormatter */ - expand: boolean; - format: SynonymFormat; + expand: boolean + format: SynonymFormat /** @prop_serializer NullableStringBooleanFormatter */ - lenient: boolean; - synonyms: string[]; - synonyms_path: string; - tokenizer: string; + lenient: boolean + synonyms: string[] + synonyms_path: string + tokenizer: string /** @prop_serializer NullableStringBooleanFormatter */ - updateable: boolean; + updateable: boolean } diff --git a/specification/specs/analysis/token_filters/word_delimiter/WordDelimiterTokenFilter.ts b/specification/specs/analysis/token_filters/word_delimiter/WordDelimiterTokenFilter.ts index 13c9c0494b..28f773eb0d 100644 --- a/specification/specs/analysis/token_filters/word_delimiter/WordDelimiterTokenFilter.ts +++ b/specification/specs/analysis/token_filters/word_delimiter/WordDelimiterTokenFilter.ts @@ -1,24 +1,24 @@ class WordDelimiterTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringBooleanFormatter */ - catenate_all: boolean; + catenate_all: boolean /** @prop_serializer NullableStringBooleanFormatter */ - catenate_numbers: boolean; + catenate_numbers: boolean /** @prop_serializer NullableStringBooleanFormatter */ - catenate_words: boolean; + catenate_words: boolean /** @prop_serializer NullableStringBooleanFormatter */ - generate_number_parts: boolean; + generate_number_parts: boolean /** @prop_serializer NullableStringBooleanFormatter */ - generate_word_parts: boolean; + generate_word_parts: boolean /** @prop_serializer NullableStringBooleanFormatter */ - preserve_original: boolean; - protected_words: string[]; - protected_words_path : string; + preserve_original: boolean + protected_words: string[] + protected_words_path: string /** @prop_serializer NullableStringBooleanFormatter */ - split_on_case_change: boolean; + split_on_case_change: boolean /** @prop_serializer NullableStringBooleanFormatter */ - split_on_numerics: boolean; + split_on_numerics: boolean /** @prop_serializer NullableStringBooleanFormatter */ - stem_english_possessive: boolean; - type_table: string[]; - type_table_path: string; + stem_english_possessive: boolean + type_table: string[] + type_table_path: string } diff --git a/specification/specs/analysis/token_filters/word_delimiter_graph/WordDelimiterGraphTokenFilter.ts b/specification/specs/analysis/token_filters/word_delimiter_graph/WordDelimiterGraphTokenFilter.ts index 1550df1d95..2067b7266c 100644 --- a/specification/specs/analysis/token_filters/word_delimiter_graph/WordDelimiterGraphTokenFilter.ts +++ b/specification/specs/analysis/token_filters/word_delimiter_graph/WordDelimiterGraphTokenFilter.ts @@ -1,26 +1,26 @@ class WordDelimiterGraphTokenFilter extends TokenFilterBase { /** @prop_serializer NullableStringBooleanFormatter */ - adjust_offsets: boolean; + adjust_offsets: boolean /** @prop_serializer NullableStringBooleanFormatter */ - catenate_all: boolean; + catenate_all: boolean /** @prop_serializer NullableStringBooleanFormatter */ - catenate_numbers: boolean; + catenate_numbers: boolean /** @prop_serializer NullableStringBooleanFormatter */ - catenate_words: boolean; + catenate_words: boolean /** @prop_serializer NullableStringBooleanFormatter */ - generate_number_parts: boolean; + generate_number_parts: boolean /** @prop_serializer NullableStringBooleanFormatter */ - generate_word_parts: boolean; + generate_word_parts: boolean /** @prop_serializer NullableStringBooleanFormatter */ - preserve_original: boolean; - protected_words: string[]; - protected_words_path : string; + preserve_original: boolean + protected_words: string[] + protected_words_path: string /** @prop_serializer NullableStringBooleanFormatter */ - split_on_case_change: boolean; + split_on_case_change: boolean /** @prop_serializer NullableStringBooleanFormatter */ - split_on_numerics: boolean; + split_on_numerics: boolean /** @prop_serializer NullableStringBooleanFormatter */ - stem_english_possessive: boolean; - type_table: string[]; - type_table_path: string; + stem_english_possessive: boolean + type_table: string[] + type_table_path: string } diff --git a/specification/specs/analysis/tokenizers/CharGroupTokenizer.ts b/specification/specs/analysis/tokenizers/CharGroupTokenizer.ts index 4f9d6489d8..f963c6d557 100644 --- a/specification/specs/analysis/tokenizers/CharGroupTokenizer.ts +++ b/specification/specs/analysis/tokenizers/CharGroupTokenizer.ts @@ -1,3 +1,3 @@ class CharGroupTokenizer extends TokenizerBase { - tokenize_on_chars: string[]; + tokenize_on_chars: string[] } diff --git a/specification/specs/analysis/tokenizers/KeywordTokenizer.ts b/specification/specs/analysis/tokenizers/KeywordTokenizer.ts index 479c085f7a..fe8ea12abc 100644 --- a/specification/specs/analysis/tokenizers/KeywordTokenizer.ts +++ b/specification/specs/analysis/tokenizers/KeywordTokenizer.ts @@ -1,4 +1,4 @@ class KeywordTokenizer extends TokenizerBase { /** @prop_serializer NullableStringIntFormatter */ - buffer_size: integer; + buffer_size: integer } diff --git a/specification/specs/analysis/tokenizers/LetterTokenizer.ts b/specification/specs/analysis/tokenizers/LetterTokenizer.ts index 7cca0d19d3..7f8932db22 100644 --- a/specification/specs/analysis/tokenizers/LetterTokenizer.ts +++ b/specification/specs/analysis/tokenizers/LetterTokenizer.ts @@ -1,2 +1 @@ -class LetterTokenizer extends TokenizerBase { -} +class LetterTokenizer extends TokenizerBase {} diff --git a/specification/specs/analysis/tokenizers/LowercaseTokenizer.ts b/specification/specs/analysis/tokenizers/LowercaseTokenizer.ts index 227c3919c2..62a074ff10 100644 --- a/specification/specs/analysis/tokenizers/LowercaseTokenizer.ts +++ b/specification/specs/analysis/tokenizers/LowercaseTokenizer.ts @@ -1,2 +1 @@ -class LowercaseTokenizer extends TokenizerBase { -} +class LowercaseTokenizer extends TokenizerBase {} diff --git a/specification/specs/analysis/tokenizers/NoriTokenizer.ts b/specification/specs/analysis/tokenizers/NoriTokenizer.ts index e05afb0674..d67f1be446 100644 --- a/specification/specs/analysis/tokenizers/NoriTokenizer.ts +++ b/specification/specs/analysis/tokenizers/NoriTokenizer.ts @@ -1,7 +1,7 @@ class NoriTokenizer extends TokenizerBase { - decompound_mode: NoriDecompoundMode; + decompound_mode: NoriDecompoundMode /** @prop_serializer NullableStringBooleanFormatter */ - discard_punctuation: boolean; - user_dictionary: string; - user_dictionary_rules: string[]; + discard_punctuation: boolean + user_dictionary: string + user_dictionary_rules: string[] } diff --git a/specification/specs/analysis/tokenizers/PathHierarchyTokenizer.ts b/specification/specs/analysis/tokenizers/PathHierarchyTokenizer.ts index 75af89d514..9bd708d300 100644 --- a/specification/specs/analysis/tokenizers/PathHierarchyTokenizer.ts +++ b/specification/specs/analysis/tokenizers/PathHierarchyTokenizer.ts @@ -1,10 +1,10 @@ class PathHierarchyTokenizer extends TokenizerBase { /** @prop_serializer NullableStringIntFormatter */ - buffer_size: integer; - delimiter: string; - replacement: string; + buffer_size: integer + delimiter: string + replacement: string /** @prop_serializer NullableStringBooleanFormatter */ - reverse: boolean; + reverse: boolean /** @prop_serializer NullableStringIntFormatter */ - skip: integer; + skip: integer } diff --git a/specification/specs/analysis/tokenizers/PatternTokenizer.ts b/specification/specs/analysis/tokenizers/PatternTokenizer.ts index f8e701bcd7..f5798e3819 100644 --- a/specification/specs/analysis/tokenizers/PatternTokenizer.ts +++ b/specification/specs/analysis/tokenizers/PatternTokenizer.ts @@ -1,6 +1,6 @@ class PatternTokenizer extends TokenizerBase { - flags: string; + flags: string /** @prop_serializer NullableStringIntFormatter */ - group: integer; - pattern: string; + group: integer + pattern: string } diff --git a/specification/specs/analysis/tokenizers/StandardTokenizer.ts b/specification/specs/analysis/tokenizers/StandardTokenizer.ts index b69724c4b3..16771737e2 100644 --- a/specification/specs/analysis/tokenizers/StandardTokenizer.ts +++ b/specification/specs/analysis/tokenizers/StandardTokenizer.ts @@ -1,4 +1,4 @@ class StandardTokenizer extends TokenizerBase { /** @prop_serializer NullableStringIntFormatter */ - max_token_length: integer; + max_token_length: integer } diff --git a/specification/specs/analysis/tokenizers/TokenizerBase.ts b/specification/specs/analysis/tokenizers/TokenizerBase.ts index 8508faa8ae..4e9e74d291 100644 --- a/specification/specs/analysis/tokenizers/TokenizerBase.ts +++ b/specification/specs/analysis/tokenizers/TokenizerBase.ts @@ -1,16 +1,17 @@ class TokenizerBase { - type: string; - version?: string; + type: string + version?: string } -type Tokenizer = CharGroupTokenizer | - EdgeNGramTokenizer | - KeywordTokenizer | - LetterTokenizer | - LowercaseTokenizer | - NGramTokenizer | - NoriTokenizer | - PathHierarchyTokenizer | - StandardTokenizer | - UaxEmailUrlTokenizer | - WhitespaceTokenizer +type Tokenizer = + | CharGroupTokenizer + | EdgeNGramTokenizer + | KeywordTokenizer + | LetterTokenizer + | LowercaseTokenizer + | NGramTokenizer + | NoriTokenizer + | PathHierarchyTokenizer + | StandardTokenizer + | UaxEmailUrlTokenizer + | WhitespaceTokenizer diff --git a/specification/specs/analysis/tokenizers/UaxEmailUrlTokenizer.ts b/specification/specs/analysis/tokenizers/UaxEmailUrlTokenizer.ts index bf0458909d..2126c3cfe6 100644 --- a/specification/specs/analysis/tokenizers/UaxEmailUrlTokenizer.ts +++ b/specification/specs/analysis/tokenizers/UaxEmailUrlTokenizer.ts @@ -1,4 +1,4 @@ class UaxEmailUrlTokenizer extends TokenizerBase { /** @prop_serializer NullableStringIntFormatter */ - max_token_length: integer; + max_token_length: integer } diff --git a/specification/specs/analysis/tokenizers/WhitespaceTokenizer.ts b/specification/specs/analysis/tokenizers/WhitespaceTokenizer.ts index 158b13b37c..b7473bee20 100644 --- a/specification/specs/analysis/tokenizers/WhitespaceTokenizer.ts +++ b/specification/specs/analysis/tokenizers/WhitespaceTokenizer.ts @@ -1,4 +1,4 @@ class WhitespaceTokenizer extends TokenizerBase { /** @prop_serializer NullableStringIntFormatter */ - max_token_length: integer; + max_token_length: integer } diff --git a/specification/specs/analysis/tokenizers/n_gram/EdgeNGramTokenizer.ts b/specification/specs/analysis/tokenizers/n_gram/EdgeNGramTokenizer.ts index 5f9b0421e1..a8c380221c 100644 --- a/specification/specs/analysis/tokenizers/n_gram/EdgeNGramTokenizer.ts +++ b/specification/specs/analysis/tokenizers/n_gram/EdgeNGramTokenizer.ts @@ -1,8 +1,8 @@ class EdgeNGramTokenizer extends TokenizerBase { - custom_token_chars: string; + custom_token_chars: string /** @prop_serializer NullableStringIntFormatter */ - max_gram: integer; + max_gram: integer /** @prop_serializer NullableStringIntFormatter */ - min_gram: integer; - token_chars: TokenChar[]; + min_gram: integer + token_chars: TokenChar[] } diff --git a/specification/specs/analysis/tokenizers/n_gram/NGramTokenizer.ts b/specification/specs/analysis/tokenizers/n_gram/NGramTokenizer.ts index 9ac46f2f3c..0edede1ec6 100644 --- a/specification/specs/analysis/tokenizers/n_gram/NGramTokenizer.ts +++ b/specification/specs/analysis/tokenizers/n_gram/NGramTokenizer.ts @@ -1,8 +1,8 @@ class NGramTokenizer extends TokenizerBase { - custom_token_chars: string; + custom_token_chars: string /** @prop_serializer NullableStringIntFormatter */ - max_gram: integer; + max_gram: integer /** @prop_serializer NullableStringIntFormatter */ - min_gram: integer; - token_chars: TokenChar[]; + min_gram: integer + token_chars: TokenChar[] } diff --git a/specification/specs/behaviors.ts b/specification/specs/behaviors.ts index aa47d6d360..bc7f0ce072 100644 --- a/specification/specs/behaviors.ts +++ b/specification/specs/behaviors.ts @@ -5,7 +5,6 @@ * These are problem sets that need a custom client solution. */ - /** * In some places in the specification an object consists of the union of a set of known properties * and a set of runtime injected properties. Meaning that object should theoretically extend Dictionary but expose diff --git a/specification/specs/cat/CatBase.ts b/specification/specs/cat/CatBase.ts index e22cf4b477..65b83864c6 100644 --- a/specification/specs/cat/CatBase.ts +++ b/specification/specs/cat/CatBase.ts @@ -1,9 +1,9 @@ class CatRequestBase extends RequestBase { - format?: string; - h?: string[]; - help?: boolean; - local?: boolean; - master_timeout?: Time; - s?: string[]; - v?: boolean; + format?: string + h?: string[] + help?: boolean + local?: boolean + master_timeout?: Time + s?: string[] + v?: boolean } diff --git a/specification/specs/cat/cat_aliases/CatAliasesRecord.ts b/specification/specs/cat/cat_aliases/CatAliasesRecord.ts index 4ac2d96633..9edf391004 100644 --- a/specification/specs/cat/cat_aliases/CatAliasesRecord.ts +++ b/specification/specs/cat/cat_aliases/CatAliasesRecord.ts @@ -1,8 +1,8 @@ class CatAliasesRecord { - alias: string; - filter: string; - index: string; - 'routing.index': string; - 'routing.search': string; - is_write_index: string; + alias: string + filter: string + index: string + 'routing.index': string + 'routing.search': string + is_write_index: string } diff --git a/specification/specs/cat/cat_aliases/CatAliasesRequest.ts b/specification/specs/cat/cat_aliases/CatAliasesRequest.ts index ca3e0344c1..002c78c589 100644 --- a/specification/specs/cat/cat_aliases/CatAliasesRequest.ts +++ b/specification/specs/cat/cat_aliases/CatAliasesRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("cat.aliases") +@rest_spec_name('cat.aliases') class CatAliasesRequest extends CatRequestBase { path_parts?: { - name?: Names; + name?: Names } query_parameters?: { - expand_wildcards?: ExpandWildcards; - } - body?: { + expand_wildcards?: ExpandWildcards } + body?: {} } diff --git a/specification/specs/cat/cat_aliases/CatAliasesResponse.ts b/specification/specs/cat/cat_aliases/CatAliasesResponse.ts index cbef5df80b..22e1e6917b 100644 --- a/specification/specs/cat/cat_aliases/CatAliasesResponse.ts +++ b/specification/specs/cat/cat_aliases/CatAliasesResponse.ts @@ -1 +1,3 @@ -class CatAliasesResponse extends ResponseBase implements ArrayResponse {} +class CatAliasesResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_allocation/CatAllocationRecord.ts b/specification/specs/cat/cat_allocation/CatAllocationRecord.ts index 63106ecce7..ea4098318b 100644 --- a/specification/specs/cat/cat_allocation/CatAllocationRecord.ts +++ b/specification/specs/cat/cat_allocation/CatAllocationRecord.ts @@ -1,12 +1,12 @@ class CatAllocationRecord { - 'disk.avail': string; - 'disk.indices': string; - 'disk.percent': string; - disk_ratio: string; - 'disk.total': string; - 'disk.used': string; - host: string; - ip: string; - node: string; - shards: string; + 'disk.avail': string + 'disk.indices': string + 'disk.percent': string + disk_ratio: string + 'disk.total': string + 'disk.used': string + host: string + ip: string + node: string + shards: string } diff --git a/specification/specs/cat/cat_allocation/CatAllocationRequest.ts b/specification/specs/cat/cat_allocation/CatAllocationRequest.ts index 91f2d62d37..6bb73838e5 100644 --- a/specification/specs/cat/cat_allocation/CatAllocationRequest.ts +++ b/specification/specs/cat/cat_allocation/CatAllocationRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("cat.allocation") +@rest_spec_name('cat.allocation') class CatAllocationRequest extends CatRequestBase { path_parts?: { - node_id?: NodeIds; + node_id?: NodeIds } query_parameters?: { - bytes?: Bytes; - } - body?: { + bytes?: Bytes } + body?: {} } diff --git a/specification/specs/cat/cat_allocation/CatAllocationResponse.ts b/specification/specs/cat/cat_allocation/CatAllocationResponse.ts index 99c583391c..20405d087c 100644 --- a/specification/specs/cat/cat_allocation/CatAllocationResponse.ts +++ b/specification/specs/cat/cat_allocation/CatAllocationResponse.ts @@ -1 +1,3 @@ -class CatAllocationResponse extends ResponseBase implements ArrayResponse {} +class CatAllocationResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_count/CatCountRecord.ts b/specification/specs/cat/cat_count/CatCountRecord.ts index 136de1f6ed..3db7dc3194 100644 --- a/specification/specs/cat/cat_count/CatCountRecord.ts +++ b/specification/specs/cat/cat_count/CatCountRecord.ts @@ -1,5 +1,5 @@ class CatCountRecord { - count: string; - epoch: string; - timestamp: string; + count: string + epoch: string + timestamp: string } diff --git a/specification/specs/cat/cat_count/CatCountRequest.ts b/specification/specs/cat/cat_count/CatCountRequest.ts index 2182d7cd02..e7330f0857 100644 --- a/specification/specs/cat/cat_count/CatCountRequest.ts +++ b/specification/specs/cat/cat_count/CatCountRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("cat.count") +@rest_spec_name('cat.count') class CatCountRequest extends CatRequestBase { path_parts?: { - index?: Indices; - } - query_parameters?: { - } - body?: { + index?: Indices } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/cat/cat_count/CatCountResponse.ts b/specification/specs/cat/cat_count/CatCountResponse.ts index 477b08393a..851dffcfdb 100644 --- a/specification/specs/cat/cat_count/CatCountResponse.ts +++ b/specification/specs/cat/cat_count/CatCountResponse.ts @@ -1 +1,3 @@ -class CatCountResponse extends ResponseBase implements ArrayResponse {} +class CatCountResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_data_frame_analytics/CatDataFrameAnalyticsRecord.ts b/specification/specs/cat/cat_data_frame_analytics/CatDataFrameAnalyticsRecord.ts index 354ece2448..f539937569 100644 --- a/specification/specs/cat/cat_data_frame_analytics/CatDataFrameAnalyticsRecord.ts +++ b/specification/specs/cat/cat_data_frame_analytics/CatDataFrameAnalyticsRecord.ts @@ -1,18 +1,18 @@ class CatDataFrameAnalyticsRecord { - assignment_explanation: string; - create_time: string; - description: string; - dest_index: string; - failure_reason: string; - id: string; - model_memory_limit: string; - 'node.address': string; - 'node.ephemeral_id': string; - 'node.id': string; - 'node.name': string; - progress: string; - source_index: string; - state: string; - type: string; - version: string; + assignment_explanation: string + create_time: string + description: string + dest_index: string + failure_reason: string + id: string + model_memory_limit: string + 'node.address': string + 'node.ephemeral_id': string + 'node.id': string + 'node.name': string + progress: string + source_index: string + state: string + type: string + version: string } diff --git a/specification/specs/cat/cat_data_frame_analytics/CatDataFrameAnalyticsRequest.ts b/specification/specs/cat/cat_data_frame_analytics/CatDataFrameAnalyticsRequest.ts index 4b7d51da19..8579789204 100644 --- a/specification/specs/cat/cat_data_frame_analytics/CatDataFrameAnalyticsRequest.ts +++ b/specification/specs/cat/cat_data_frame_analytics/CatDataFrameAnalyticsRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("cat.ml_data_frame_analytics") +@rest_spec_name('cat.ml_data_frame_analytics') class CatDataFrameAnalyticsRequest extends CatRequestBase { path_parts?: { - id?: Id; + id?: Id } query_parameters?: { - allow_no_match?: boolean; - bytes?: Bytes; - } - body?: { + allow_no_match?: boolean + bytes?: Bytes } + body?: {} } diff --git a/specification/specs/cat/cat_data_frame_analytics/CatDataFrameAnalyticsResponse.ts b/specification/specs/cat/cat_data_frame_analytics/CatDataFrameAnalyticsResponse.ts index 09235b7881..2af261bded 100644 --- a/specification/specs/cat/cat_data_frame_analytics/CatDataFrameAnalyticsResponse.ts +++ b/specification/specs/cat/cat_data_frame_analytics/CatDataFrameAnalyticsResponse.ts @@ -1 +1,3 @@ -class CatDataFrameAnalyticsResponse extends ResponseBase implements ArrayResponse {} +class CatDataFrameAnalyticsResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_datafeeds/CatDatafeedsRecord.ts b/specification/specs/cat/cat_datafeeds/CatDatafeedsRecord.ts index c1853e9c7c..8a2274a1cd 100644 --- a/specification/specs/cat/cat_datafeeds/CatDatafeedsRecord.ts +++ b/specification/specs/cat/cat_datafeeds/CatDatafeedsRecord.ts @@ -1,14 +1,14 @@ class CatDatafeedsRecord { - assignment_explanation: string; - 'buckets.count': string; - id: string; - 'node.address': string; - 'node.ephemeral_id': string; - 'node.id': string; - 'node.name': string; - 'search.bucket_avg': string; - 'search.count': string; - 'search.exp_avg_hour': string; - 'search.time': string; - state: DatafeedState; + assignment_explanation: string + 'buckets.count': string + id: string + 'node.address': string + 'node.ephemeral_id': string + 'node.id': string + 'node.name': string + 'search.bucket_avg': string + 'search.count': string + 'search.exp_avg_hour': string + 'search.time': string + state: DatafeedState } diff --git a/specification/specs/cat/cat_datafeeds/CatDatafeedsRequest.ts b/specification/specs/cat/cat_datafeeds/CatDatafeedsRequest.ts index a570f0eb51..1321de410c 100644 --- a/specification/specs/cat/cat_datafeeds/CatDatafeedsRequest.ts +++ b/specification/specs/cat/cat_datafeeds/CatDatafeedsRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("cat.ml_datafeeds") +@rest_spec_name('cat.ml_datafeeds') class CatDatafeedsRequest extends CatRequestBase { path_parts?: { - datafeed_id?: Id; + datafeed_id?: Id } query_parameters?: { - allow_no_datafeeds?: boolean; - } - body?: { + allow_no_datafeeds?: boolean } + body?: {} } diff --git a/specification/specs/cat/cat_datafeeds/CatDatafeedsResponse.ts b/specification/specs/cat/cat_datafeeds/CatDatafeedsResponse.ts index 97679a7045..374ae7ee9b 100644 --- a/specification/specs/cat/cat_datafeeds/CatDatafeedsResponse.ts +++ b/specification/specs/cat/cat_datafeeds/CatDatafeedsResponse.ts @@ -1 +1,3 @@ -class CatDatafeedsResponse extends ResponseBase implements ArrayResponse {} +class CatDatafeedsResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_fielddata/CatFielddataRecord.ts b/specification/specs/cat/cat_fielddata/CatFielddataRecord.ts index 4f52a2f3ea..8ceede9437 100644 --- a/specification/specs/cat/cat_fielddata/CatFielddataRecord.ts +++ b/specification/specs/cat/cat_fielddata/CatFielddataRecord.ts @@ -1,9 +1,9 @@ -@class_serializer("CatFielddataRecordFormatter") +@class_serializer('CatFielddataRecordFormatter') class CatFielddataRecord { - field: string; - host: string; - id: string; - ip: string; - node: string; - size: string; + field: string + host: string + id: string + ip: string + node: string + size: string } diff --git a/specification/specs/cat/cat_fielddata/CatFielddataRequest.ts b/specification/specs/cat/cat_fielddata/CatFielddataRequest.ts index b6c13797af..90d589a8b4 100644 --- a/specification/specs/cat/cat_fielddata/CatFielddataRequest.ts +++ b/specification/specs/cat/cat_fielddata/CatFielddataRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("cat.fielddata") +@rest_spec_name('cat.fielddata') class CatFielddataRequest extends CatRequestBase { path_parts?: { - fields?: Fields; + fields?: Fields } query_parameters?: { - bytes?: Bytes; - } - body?: { + bytes?: Bytes } + body?: {} } diff --git a/specification/specs/cat/cat_fielddata/CatFielddataResponse.ts b/specification/specs/cat/cat_fielddata/CatFielddataResponse.ts index 91666de461..49ed5ff6f3 100644 --- a/specification/specs/cat/cat_fielddata/CatFielddataResponse.ts +++ b/specification/specs/cat/cat_fielddata/CatFielddataResponse.ts @@ -1 +1,3 @@ -class CatFielddataResponse extends ResponseBase implements ArrayResponse {} +class CatFielddataResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_health/CatHealthRecord.ts b/specification/specs/cat/cat_health/CatHealthRecord.ts index e6fedc0577..34ff68c5c3 100644 --- a/specification/specs/cat/cat_health/CatHealthRecord.ts +++ b/specification/specs/cat/cat_health/CatHealthRecord.ts @@ -1,14 +1,14 @@ class CatHealthRecord { - cluster: string; - epoch: string; - init: string; - 'node.data': string; - 'node.total': string; - pending_tasks: string; - pri: string; - relo: string; - shards: string; - status: string; - timestamp: string; - unassign: string; + cluster: string + epoch: string + init: string + 'node.data': string + 'node.total': string + pending_tasks: string + pri: string + relo: string + shards: string + status: string + timestamp: string + unassign: string } diff --git a/specification/specs/cat/cat_health/CatHealthRequest.ts b/specification/specs/cat/cat_health/CatHealthRequest.ts index 73355f8b56..3439b7a44c 100644 --- a/specification/specs/cat/cat_health/CatHealthRequest.ts +++ b/specification/specs/cat/cat_health/CatHealthRequest.ts @@ -1,8 +1,7 @@ -@rest_spec_name("cat.health") +@rest_spec_name('cat.health') class CatHealthRequest extends CatRequestBase { query_parameters?: { - include_timestamp?: boolean; - } - body?: { + include_timestamp?: boolean } + body?: {} } diff --git a/specification/specs/cat/cat_health/CatHealthResponse.ts b/specification/specs/cat/cat_health/CatHealthResponse.ts index 524a6207d6..6d16778aaa 100644 --- a/specification/specs/cat/cat_health/CatHealthResponse.ts +++ b/specification/specs/cat/cat_health/CatHealthResponse.ts @@ -1 +1,3 @@ -class CatHealthResponse extends ResponseBase implements ArrayResponse {} +class CatHealthResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_help/CatHelpRecord.ts b/specification/specs/cat/cat_help/CatHelpRecord.ts index 14a1fb88d1..f4a7e47104 100644 --- a/specification/specs/cat/cat_help/CatHelpRecord.ts +++ b/specification/specs/cat/cat_help/CatHelpRecord.ts @@ -1,3 +1,3 @@ class CatHelpRecord { - endpoint: string; + endpoint: string } diff --git a/specification/specs/cat/cat_help/CatHelpRequest.ts b/specification/specs/cat/cat_help/CatHelpRequest.ts index 15e71fe508..39c0402fcb 100644 --- a/specification/specs/cat/cat_help/CatHelpRequest.ts +++ b/specification/specs/cat/cat_help/CatHelpRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("cat.help") +@rest_spec_name('cat.help') class CatHelpRequest extends CatRequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/cat/cat_help/CatHelpResponse.ts b/specification/specs/cat/cat_help/CatHelpResponse.ts index 4e113d6542..7ae08596c9 100644 --- a/specification/specs/cat/cat_help/CatHelpResponse.ts +++ b/specification/specs/cat/cat_help/CatHelpResponse.ts @@ -1 +1,3 @@ -class CatHelpResponse extends ResponseBase implements ArrayResponse {} +class CatHelpResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_indices/CatIndicesRecord.ts b/specification/specs/cat/cat_indices/CatIndicesRecord.ts index 70aaed98af..8cb609d223 100644 --- a/specification/specs/cat/cat_indices/CatIndicesRecord.ts +++ b/specification/specs/cat/cat_indices/CatIndicesRecord.ts @@ -1,13 +1,13 @@ class CatIndicesRecord { - 'docs.count': string; - 'docs.deleted': string; - health: string; - index: string; - pri: string; - 'pri.store.size': string; - rep: string; - status: string; - 'store.size': string; - tm: string; - uuid: string; + 'docs.count': string + 'docs.deleted': string + health: string + index: string + pri: string + 'pri.store.size': string + rep: string + status: string + 'store.size': string + tm: string + uuid: string } diff --git a/specification/specs/cat/cat_indices/CatIndicesRequest.ts b/specification/specs/cat/cat_indices/CatIndicesRequest.ts index 69fc02fdce..483583b9ad 100644 --- a/specification/specs/cat/cat_indices/CatIndicesRequest.ts +++ b/specification/specs/cat/cat_indices/CatIndicesRequest.ts @@ -1,15 +1,14 @@ -@rest_spec_name("cat.indices") +@rest_spec_name('cat.indices') class CatIndicesRequest extends CatRequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - bytes?: Bytes; - expand_wildcards?: ExpandWildcards; - health?: Health; - include_unloaded_segments?: boolean; - pri?: boolean; - } - body?: { + bytes?: Bytes + expand_wildcards?: ExpandWildcards + health?: Health + include_unloaded_segments?: boolean + pri?: boolean } + body?: {} } diff --git a/specification/specs/cat/cat_indices/CatIndicesResponse.ts b/specification/specs/cat/cat_indices/CatIndicesResponse.ts index 3eb5d4af5a..bab0728895 100644 --- a/specification/specs/cat/cat_indices/CatIndicesResponse.ts +++ b/specification/specs/cat/cat_indices/CatIndicesResponse.ts @@ -1 +1,3 @@ -class CatIndicesResponse extends ResponseBase implements ArrayResponse {} +class CatIndicesResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_jobs/CatJobsRecord.ts b/specification/specs/cat/cat_jobs/CatJobsRecord.ts index 79fa272599..0a9a420edf 100644 --- a/specification/specs/cat/cat_jobs/CatJobsRecord.ts +++ b/specification/specs/cat/cat_jobs/CatJobsRecord.ts @@ -1,57 +1,57 @@ class CatJobsRecord { - assignment_explanation: string; - 'buckets.count': string; - 'buckets.time.exp_avg': string; - 'buckets.time.exp_avg_hour': string; - 'buckets.time.max': string; - 'buckets.time.min': string; - 'buckets.time.total': string; - 'data.buckets': string; - 'data.earliest_record': string; - 'data.empty_buckets': string; - 'data.input_bytes': string; - 'data.input_fields': string; - 'data.input_records': string; - 'data.invalid_dates': string; - 'data.last': string; - 'data.last_empty_bucket': string; - 'data.last_sparse_bucket': string; - 'data.latest_record': string; - 'data.missing_fields': string; - 'data.out_of_order_timestamps': string; - 'data.processed_fields': string; - 'data.processed_records': string; - 'data.sparse_buckets': string; - 'forecasts.memory.avg': string; - 'forecasts.memory.min': string; - 'forecasts.memory.total': string; - 'forecasts.records.avg': string; - 'forecasts.records.max': string; - 'forecasts.records.min': string; - 'forecasts.records.total': string; - 'forecasts.time.avg': string; - 'forecasts.time.max': string; - 'forecasts.time.min': string; - 'forecasts.total': string; - id: string; - 'model.bucket_allocation_failures': string; - 'model.by_fields': string; - 'model.bytes': string; - 'model.categorization_status': ModelCategorizationStatus; - 'model.categorized_doc_count': string; - 'model.dead_category_count': string; - 'model.frequent_category_count': string; - 'model.log_time': string; - 'model.memory_limit': string; - 'model.memory_status': ModelMemoryStatus; - 'model.over_fields': string; - 'model.partition_fields': string; - 'model.rare_category_count': string; - 'model.timestamp': string; - 'node.address': string; - 'node.ephemeral_id': string; - 'node.id': string; - 'node.name': string; - opened_time: string; - state: JobState; + assignment_explanation: string + 'buckets.count': string + 'buckets.time.exp_avg': string + 'buckets.time.exp_avg_hour': string + 'buckets.time.max': string + 'buckets.time.min': string + 'buckets.time.total': string + 'data.buckets': string + 'data.earliest_record': string + 'data.empty_buckets': string + 'data.input_bytes': string + 'data.input_fields': string + 'data.input_records': string + 'data.invalid_dates': string + 'data.last': string + 'data.last_empty_bucket': string + 'data.last_sparse_bucket': string + 'data.latest_record': string + 'data.missing_fields': string + 'data.out_of_order_timestamps': string + 'data.processed_fields': string + 'data.processed_records': string + 'data.sparse_buckets': string + 'forecasts.memory.avg': string + 'forecasts.memory.min': string + 'forecasts.memory.total': string + 'forecasts.records.avg': string + 'forecasts.records.max': string + 'forecasts.records.min': string + 'forecasts.records.total': string + 'forecasts.time.avg': string + 'forecasts.time.max': string + 'forecasts.time.min': string + 'forecasts.total': string + id: string + 'model.bucket_allocation_failures': string + 'model.by_fields': string + 'model.bytes': string + 'model.categorization_status': ModelCategorizationStatus + 'model.categorized_doc_count': string + 'model.dead_category_count': string + 'model.frequent_category_count': string + 'model.log_time': string + 'model.memory_limit': string + 'model.memory_status': ModelMemoryStatus + 'model.over_fields': string + 'model.partition_fields': string + 'model.rare_category_count': string + 'model.timestamp': string + 'node.address': string + 'node.ephemeral_id': string + 'node.id': string + 'node.name': string + opened_time: string + state: JobState } diff --git a/specification/specs/cat/cat_jobs/CatJobsRequest.ts b/specification/specs/cat/cat_jobs/CatJobsRequest.ts index dadf79451b..e20b994b0c 100644 --- a/specification/specs/cat/cat_jobs/CatJobsRequest.ts +++ b/specification/specs/cat/cat_jobs/CatJobsRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("cat.ml_jobs") +@rest_spec_name('cat.ml_jobs') class CatJobsRequest extends CatRequestBase { path_parts?: { - job_id?: Id; + job_id?: Id } query_parameters?: { - allow_no_jobs?: boolean; - bytes?: Bytes; - } - body?: { + allow_no_jobs?: boolean + bytes?: Bytes } + body?: {} } diff --git a/specification/specs/cat/cat_jobs/CatJobsResponse.ts b/specification/specs/cat/cat_jobs/CatJobsResponse.ts index 6bdc18f7af..b9a36ed32d 100644 --- a/specification/specs/cat/cat_jobs/CatJobsResponse.ts +++ b/specification/specs/cat/cat_jobs/CatJobsResponse.ts @@ -1 +1,3 @@ -class CatJobsResponse extends ResponseBase implements ArrayResponse {} +class CatJobsResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_master/CatMasterRecord.ts b/specification/specs/cat/cat_master/CatMasterRecord.ts index dd484881e9..c9a46fadde 100644 --- a/specification/specs/cat/cat_master/CatMasterRecord.ts +++ b/specification/specs/cat/cat_master/CatMasterRecord.ts @@ -1,5 +1,5 @@ class CatMasterRecord { - id: string; - ip: string; - node: string; + id: string + ip: string + node: string } diff --git a/specification/specs/cat/cat_master/CatMasterRequest.ts b/specification/specs/cat/cat_master/CatMasterRequest.ts index 0bf9bc9f80..be7b47dd5e 100644 --- a/specification/specs/cat/cat_master/CatMasterRequest.ts +++ b/specification/specs/cat/cat_master/CatMasterRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("cat.master") +@rest_spec_name('cat.master') class CatMasterRequest extends CatRequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/cat/cat_master/CatMasterResponse.ts b/specification/specs/cat/cat_master/CatMasterResponse.ts index 8b5576f9ce..c0e8e81b2a 100644 --- a/specification/specs/cat/cat_master/CatMasterResponse.ts +++ b/specification/specs/cat/cat_master/CatMasterResponse.ts @@ -1 +1,3 @@ -class CatMasterResponse extends ResponseBase implements ArrayResponse {} +class CatMasterResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_node_attributes/CatNodeAttributesRecord.ts b/specification/specs/cat/cat_node_attributes/CatNodeAttributesRecord.ts index db04c85a23..9c69e699d2 100644 --- a/specification/specs/cat/cat_node_attributes/CatNodeAttributesRecord.ts +++ b/specification/specs/cat/cat_node_attributes/CatNodeAttributesRecord.ts @@ -1,10 +1,10 @@ class CatNodeAttributesRecord { - attr: string; - host: string; - id: string; - ip: string; - node: string; - port: long; - pid: long; - value: string; + attr: string + host: string + id: string + ip: string + node: string + port: long + pid: long + value: string } diff --git a/specification/specs/cat/cat_node_attributes/CatNodeAttributesRequest.ts b/specification/specs/cat/cat_node_attributes/CatNodeAttributesRequest.ts index 071dc14d58..ac1e93a692 100644 --- a/specification/specs/cat/cat_node_attributes/CatNodeAttributesRequest.ts +++ b/specification/specs/cat/cat_node_attributes/CatNodeAttributesRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("cat.nodeattrs") +@rest_spec_name('cat.nodeattrs') class CatNodeAttributesRequest extends CatRequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/cat/cat_node_attributes/CatNodeAttributesResponse.ts b/specification/specs/cat/cat_node_attributes/CatNodeAttributesResponse.ts index 293299247a..f9029b78c9 100644 --- a/specification/specs/cat/cat_node_attributes/CatNodeAttributesResponse.ts +++ b/specification/specs/cat/cat_node_attributes/CatNodeAttributesResponse.ts @@ -1 +1,3 @@ -class CatNodeAttributesResponse extends ResponseBase implements ArrayResponse {} +class CatNodeAttributesResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_nodes/CatNodesRecord.ts b/specification/specs/cat/cat_nodes/CatNodesRecord.ts index 7053cf8d42..50c7310dad 100644 --- a/specification/specs/cat/cat_nodes/CatNodesRecord.ts +++ b/specification/specs/cat/cat_nodes/CatNodesRecord.ts @@ -1,73 +1,73 @@ class CatNodesRecord { - build: string; - completion_size: string; - cpu: string; - disk_available: string; - fielddata_evictions: string; - fielddata_memory: string; - file_descriptor_current: integer; - file_descriptor_max: integer; - file_descriptor_percent: integer; - filter_cache_evictions: string; - filter_cache_memory: string; - flush_total: string; - flush_total_time: string; - get_current: string; - get_exists_time: string; - get_exists_total: string; - get_missing_time: string; - get_missing_total: string; - get_time: string; - get_total: string; - heap_current: string; - heap_max: string; - heap_percent: string; - id_cache_memory: string; - indexing_delete_current: string; - indexing_delete_time: string; - indexing_delete_total: string; - indexing_index_current: string; - indexing_index_time: string; - indexing_index_total: string; - ip: string; - jdk: string; - load_15m: string; - load_5m: string; - load_1m: string; - master: string; - merges_current: string; - merges_current_docs: string; - merges_current_size: string; - merges_total: string; - merges_total_docs: string; - merges_total_time: string; - name: string; - node_id: string; - node_role: string; - percolate_current: string; - percolate_memory: string; - percolate_queries: string; - percolate_time: string; - percolate_total: string; - pid: string; - port: string; - ram_current: string; - ram_max: string; - ram_percent: string; - refresh_time: string; - refresh_total: string; - search_fetch_current: string; - search_fetch_time: string; - search_fetch_total: string; - search_open_contexts: string; - search_query_current: string; - search_query_time: string; - search_query_total: string; - segments_count: string; - segments_index_writer_max_memory: string; - segments_index_writer_memory: string; - segments_memory: string; - segments_version_map_memory: string; - uptime: string; - version: string; + build: string + completion_size: string + cpu: string + disk_available: string + fielddata_evictions: string + fielddata_memory: string + file_descriptor_current: integer + file_descriptor_max: integer + file_descriptor_percent: integer + filter_cache_evictions: string + filter_cache_memory: string + flush_total: string + flush_total_time: string + get_current: string + get_exists_time: string + get_exists_total: string + get_missing_time: string + get_missing_total: string + get_time: string + get_total: string + heap_current: string + heap_max: string + heap_percent: string + id_cache_memory: string + indexing_delete_current: string + indexing_delete_time: string + indexing_delete_total: string + indexing_index_current: string + indexing_index_time: string + indexing_index_total: string + ip: string + jdk: string + load_15m: string + load_5m: string + load_1m: string + master: string + merges_current: string + merges_current_docs: string + merges_current_size: string + merges_total: string + merges_total_docs: string + merges_total_time: string + name: string + node_id: string + node_role: string + percolate_current: string + percolate_memory: string + percolate_queries: string + percolate_time: string + percolate_total: string + pid: string + port: string + ram_current: string + ram_max: string + ram_percent: string + refresh_time: string + refresh_total: string + search_fetch_current: string + search_fetch_time: string + search_fetch_total: string + search_open_contexts: string + search_query_current: string + search_query_time: string + search_query_total: string + segments_count: string + segments_index_writer_max_memory: string + segments_index_writer_memory: string + segments_memory: string + segments_version_map_memory: string + uptime: string + version: string } diff --git a/specification/specs/cat/cat_nodes/CatNodesRequest.ts b/specification/specs/cat/cat_nodes/CatNodesRequest.ts index b68b6d3266..d1a94f8bee 100644 --- a/specification/specs/cat/cat_nodes/CatNodesRequest.ts +++ b/specification/specs/cat/cat_nodes/CatNodesRequest.ts @@ -1,9 +1,8 @@ -@rest_spec_name("cat.nodes") +@rest_spec_name('cat.nodes') class CatNodesRequest extends CatRequestBase { query_parameters?: { - bytes?: Bytes; - full_id?: boolean; - } - body?: { + bytes?: Bytes + full_id?: boolean } + body?: {} } diff --git a/specification/specs/cat/cat_nodes/CatNodesResponse.ts b/specification/specs/cat/cat_nodes/CatNodesResponse.ts index d98cfe6e18..f932c9baa3 100644 --- a/specification/specs/cat/cat_nodes/CatNodesResponse.ts +++ b/specification/specs/cat/cat_nodes/CatNodesResponse.ts @@ -1 +1,3 @@ -class CatNodesResponse extends ResponseBase implements ArrayResponse {} +class CatNodesResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_pending_tasks/CatPendingTasksRecord.ts b/specification/specs/cat/cat_pending_tasks/CatPendingTasksRecord.ts index 29ed08b287..5f219b7ca4 100644 --- a/specification/specs/cat/cat_pending_tasks/CatPendingTasksRecord.ts +++ b/specification/specs/cat/cat_pending_tasks/CatPendingTasksRecord.ts @@ -1,7 +1,7 @@ class CatPendingTasksRecord { /** @prop_serializer NullableStringIntFormatter */ - insertOrder: integer; - priority: string; - source: string; - timeInQueue: string; + insertOrder: integer + priority: string + source: string + timeInQueue: string } diff --git a/specification/specs/cat/cat_pending_tasks/CatPendingTasksRequest.ts b/specification/specs/cat/cat_pending_tasks/CatPendingTasksRequest.ts index e9ccc9a8c1..b7942788e2 100644 --- a/specification/specs/cat/cat_pending_tasks/CatPendingTasksRequest.ts +++ b/specification/specs/cat/cat_pending_tasks/CatPendingTasksRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("cat.pending_tasks") +@rest_spec_name('cat.pending_tasks') class CatPendingTasksRequest extends CatRequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/cat/cat_pending_tasks/CatPendingTasksResponse.ts b/specification/specs/cat/cat_pending_tasks/CatPendingTasksResponse.ts index a19c26bba6..f80d8e0a53 100644 --- a/specification/specs/cat/cat_pending_tasks/CatPendingTasksResponse.ts +++ b/specification/specs/cat/cat_pending_tasks/CatPendingTasksResponse.ts @@ -1 +1,3 @@ -class CatPendingTasksResponse extends ResponseBase implements ArrayResponse {} +class CatPendingTasksResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_plugins/CatPluginsRecord.ts b/specification/specs/cat/cat_plugins/CatPluginsRecord.ts index cf8e7b18b0..b80ea9cd0b 100644 --- a/specification/specs/cat/cat_plugins/CatPluginsRecord.ts +++ b/specification/specs/cat/cat_plugins/CatPluginsRecord.ts @@ -1,10 +1,10 @@ class CatPluginsRecord { - component: string; - description: string; - id: string; - isolation: string; - name: string; - type: string; - url: string; - version: string; + component: string + description: string + id: string + isolation: string + name: string + type: string + url: string + version: string } diff --git a/specification/specs/cat/cat_plugins/CatPluginsRequest.ts b/specification/specs/cat/cat_plugins/CatPluginsRequest.ts index 9dc3a7af3b..1a971c4b01 100644 --- a/specification/specs/cat/cat_plugins/CatPluginsRequest.ts +++ b/specification/specs/cat/cat_plugins/CatPluginsRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("cat.plugins") +@rest_spec_name('cat.plugins') class CatPluginsRequest extends CatRequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/cat/cat_plugins/CatPluginsResponse.ts b/specification/specs/cat/cat_plugins/CatPluginsResponse.ts index b03648b7b2..c58ea379cf 100644 --- a/specification/specs/cat/cat_plugins/CatPluginsResponse.ts +++ b/specification/specs/cat/cat_plugins/CatPluginsResponse.ts @@ -1 +1,3 @@ -class CatPluginsResponse extends ResponseBase implements ArrayResponse {} +class CatPluginsResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_recovery/CatRecoveryRecord.ts b/specification/specs/cat/cat_recovery/CatRecoveryRecord.ts index e609473798..7722999328 100644 --- a/specification/specs/cat/cat_recovery/CatRecoveryRecord.ts +++ b/specification/specs/cat/cat_recovery/CatRecoveryRecord.ts @@ -1,26 +1,26 @@ class CatRecoveryRecord { - bytes: string; - bytes_percent: string; - bytes_recovered: string; - bytes_total: string; - files: string; - files_percent: string; - files_recovered: string; - files_total: string; - index: string; - repository: string; - shard: string; - snapshot: string; - source_host: string; - source_node: string; - stage: string; - target_host: string; - target_node: string; - time: string; + bytes: string + bytes_percent: string + bytes_recovered: string + bytes_total: string + files: string + files_percent: string + files_recovered: string + files_total: string + index: string + repository: string + shard: string + snapshot: string + source_host: string + source_node: string + stage: string + target_host: string + target_node: string + time: string /** @prop_serializer NullableStringLongFormatter */ - translog_ops: long; - translog_ops_percent: string; + translog_ops: long + translog_ops_percent: string /** @prop_serializer NullableStringLongFormatter */ - translog_ops_recovered: long; - type: string; + translog_ops_recovered: long + type: string } diff --git a/specification/specs/cat/cat_recovery/CatRecoveryRequest.ts b/specification/specs/cat/cat_recovery/CatRecoveryRequest.ts index 38f08b9433..4b899c44d9 100644 --- a/specification/specs/cat/cat_recovery/CatRecoveryRequest.ts +++ b/specification/specs/cat/cat_recovery/CatRecoveryRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("cat.recovery") +@rest_spec_name('cat.recovery') class CatRecoveryRequest extends CatRequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - active_only?: boolean; - bytes?: Bytes; - detailed?: boolean; - } - body?: { + active_only?: boolean + bytes?: Bytes + detailed?: boolean } + body?: {} } diff --git a/specification/specs/cat/cat_recovery/CatRecoveryResponse.ts b/specification/specs/cat/cat_recovery/CatRecoveryResponse.ts index 4258abc35e..73ae373d88 100644 --- a/specification/specs/cat/cat_recovery/CatRecoveryResponse.ts +++ b/specification/specs/cat/cat_recovery/CatRecoveryResponse.ts @@ -1 +1,3 @@ -class CatRecoveryResponse extends ResponseBase implements ArrayResponse {} +class CatRecoveryResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_repositories/CatRepositoriesRecord.ts b/specification/specs/cat/cat_repositories/CatRepositoriesRecord.ts index cb1579a4dd..57511254ff 100644 --- a/specification/specs/cat/cat_repositories/CatRepositoriesRecord.ts +++ b/specification/specs/cat/cat_repositories/CatRepositoriesRecord.ts @@ -1,4 +1,4 @@ class CatRepositoriesRecord { - id: string; - type: string; + id: string + type: string } diff --git a/specification/specs/cat/cat_repositories/CatRepositoriesRequest.ts b/specification/specs/cat/cat_repositories/CatRepositoriesRequest.ts index 952d1922d4..603613ffe7 100644 --- a/specification/specs/cat/cat_repositories/CatRepositoriesRequest.ts +++ b/specification/specs/cat/cat_repositories/CatRepositoriesRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("cat.repositories") +@rest_spec_name('cat.repositories') class CatRepositoriesRequest extends CatRequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/cat/cat_repositories/CatRepositoriesResponse.ts b/specification/specs/cat/cat_repositories/CatRepositoriesResponse.ts index db6425348e..0420b30d37 100644 --- a/specification/specs/cat/cat_repositories/CatRepositoriesResponse.ts +++ b/specification/specs/cat/cat_repositories/CatRepositoriesResponse.ts @@ -1 +1,3 @@ -class CatRepositoriesResponse extends ResponseBase implements ArrayResponse {} +class CatRepositoriesResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_segments/CatSegmentsRecord.ts b/specification/specs/cat/cat_segments/CatSegmentsRecord.ts index f259cc7416..052de13c34 100644 --- a/specification/specs/cat/cat_segments/CatSegmentsRecord.ts +++ b/specification/specs/cat/cat_segments/CatSegmentsRecord.ts @@ -1,17 +1,17 @@ class CatSegmentsRecord { - committed: string; - compound: string; - 'docs.count': string; - 'docs.deleted': string; - generation: string; - id: string; - index: string; - ip: string; - prirep: string; - searchable: string; - segment: string; - shard: string; - size: string; - 'size.memory': string; - version: string; + committed: string + compound: string + 'docs.count': string + 'docs.deleted': string + generation: string + id: string + index: string + ip: string + prirep: string + searchable: string + segment: string + shard: string + size: string + 'size.memory': string + version: string } diff --git a/specification/specs/cat/cat_segments/CatSegmentsRequest.ts b/specification/specs/cat/cat_segments/CatSegmentsRequest.ts index a775c7f741..661a1d38d0 100644 --- a/specification/specs/cat/cat_segments/CatSegmentsRequest.ts +++ b/specification/specs/cat/cat_segments/CatSegmentsRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("cat.segments") +@rest_spec_name('cat.segments') class CatSegmentsRequest extends CatRequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - bytes?: Bytes; - } - body?: { + bytes?: Bytes } + body?: {} } diff --git a/specification/specs/cat/cat_segments/CatSegmentsResponse.ts b/specification/specs/cat/cat_segments/CatSegmentsResponse.ts index a8f0e0d3a4..2a635315bd 100644 --- a/specification/specs/cat/cat_segments/CatSegmentsResponse.ts +++ b/specification/specs/cat/cat_segments/CatSegmentsResponse.ts @@ -1 +1,3 @@ -class CatSegmentsResponse extends ResponseBase implements ArrayResponse {} +class CatSegmentsResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_shards/CatShardsRecord.ts b/specification/specs/cat/cat_shards/CatShardsRecord.ts index a874335f22..b4e97d3c2a 100644 --- a/specification/specs/cat/cat_shards/CatShardsRecord.ts +++ b/specification/specs/cat/cat_shards/CatShardsRecord.ts @@ -1,60 +1,60 @@ class CatShardsRecord { - 'completion.size': string; - docs: string; - 'fielddata.evictions': string; - 'fielddata.memory_size': string; - 'filter_cache.memory_size': string; - 'flush.total': string; - 'flush.total_time': string; - 'get.current': string; - 'get.exists_time': string; - 'get.exists_total': string; - 'get.missing_time': string; - 'get.missing_total': string; - 'get.time': string; - 'get.total': string; - id: string; - 'id_cache.memory_size': string; - index: string; - 'indexing.delete_current': string; - 'indexing.delete_time': string; - 'indexing.delete_total': string; - 'indexing.index_current': string; - 'indexing.index_time': string; - 'indexing.index_total': string; - ip: string; - 'merges.current': string; - 'merges.current_docs': string; - 'merges.current_size': string; - 'merges.total_docs': string; - 'merges.total_size': string; - 'merges.total_time': string; - node: string; - 'percolate.current': string; - 'percolate.memory_size': string; - 'percolate.queries': string; - 'percolate.time': string; - 'percolate.total': string; - prirep: string; - 'refresh.time': string; - 'refresh.total': string; - 'search.fetch_current': string; - 'search.fetch_time': string; - 'search.fetch_total': string; - 'search.open_contexts': string; - 'search.query_current': string; - 'search.query_time': string; - 'search.query_total': string; - 'segments.count': string; - 'segments.fixed_bitset_memory': string; - 'segments.index_writer_max_memory': string; - 'segments.index_writer_memory': string; - 'segments.memory': string; - 'segments.version_map_memory': string; - shard: string; - state: string; - store: string; - 'warmer.current': string; - 'warmer.total': string; - 'warmer.total_time': string; + 'completion.size': string + docs: string + 'fielddata.evictions': string + 'fielddata.memory_size': string + 'filter_cache.memory_size': string + 'flush.total': string + 'flush.total_time': string + 'get.current': string + 'get.exists_time': string + 'get.exists_total': string + 'get.missing_time': string + 'get.missing_total': string + 'get.time': string + 'get.total': string + id: string + 'id_cache.memory_size': string + index: string + 'indexing.delete_current': string + 'indexing.delete_time': string + 'indexing.delete_total': string + 'indexing.index_current': string + 'indexing.index_time': string + 'indexing.index_total': string + ip: string + 'merges.current': string + 'merges.current_docs': string + 'merges.current_size': string + 'merges.total_docs': string + 'merges.total_size': string + 'merges.total_time': string + node: string + 'percolate.current': string + 'percolate.memory_size': string + 'percolate.queries': string + 'percolate.time': string + 'percolate.total': string + prirep: string + 'refresh.time': string + 'refresh.total': string + 'search.fetch_current': string + 'search.fetch_time': string + 'search.fetch_total': string + 'search.open_contexts': string + 'search.query_current': string + 'search.query_time': string + 'search.query_total': string + 'segments.count': string + 'segments.fixed_bitset_memory': string + 'segments.index_writer_max_memory': string + 'segments.index_writer_memory': string + 'segments.memory': string + 'segments.version_map_memory': string + shard: string + state: string + store: string + 'warmer.current': string + 'warmer.total': string + 'warmer.total_time': string } diff --git a/specification/specs/cat/cat_shards/CatShardsRequest.ts b/specification/specs/cat/cat_shards/CatShardsRequest.ts index 52651a25db..87ae6cb5ad 100644 --- a/specification/specs/cat/cat_shards/CatShardsRequest.ts +++ b/specification/specs/cat/cat_shards/CatShardsRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("cat.shards") +@rest_spec_name('cat.shards') class CatShardsRequest extends CatRequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - bytes?: Bytes; - } - body?: { + bytes?: Bytes } + body?: {} } diff --git a/specification/specs/cat/cat_shards/CatShardsResponse.ts b/specification/specs/cat/cat_shards/CatShardsResponse.ts index 314bf54f4f..234e08f8b9 100644 --- a/specification/specs/cat/cat_shards/CatShardsResponse.ts +++ b/specification/specs/cat/cat_shards/CatShardsResponse.ts @@ -1 +1,3 @@ -class CatShardsResponse extends ResponseBase implements ArrayResponse {} +class CatShardsResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_snapshots/CatSnapshotsRecord.ts b/specification/specs/cat/cat_snapshots/CatSnapshotsRecord.ts index cf012714d3..03367637ff 100644 --- a/specification/specs/cat/cat_snapshots/CatSnapshotsRecord.ts +++ b/specification/specs/cat/cat_snapshots/CatSnapshotsRecord.ts @@ -1,19 +1,19 @@ class CatSnapshotsRecord { - duration: Time; + duration: Time /** @prop_serializer StringLongFormatter */ - end_epoch: long; - end_time: string; + end_epoch: long + end_time: string /** @prop_serializer StringLongFormatter */ - failed_shards: long; - id: string; + failed_shards: long + id: string /** @prop_serializer StringLongFormatter */ - indices: long; + indices: long /** @prop_serializer StringLongFormatter */ - start_epoch: long; - start_time: string; - status: string; + start_epoch: long + start_time: string + status: string /** @prop_serializer StringLongFormatter */ - successful_shards: long; + successful_shards: long /** @prop_serializer StringLongFormatter */ - total_shards: long; + total_shards: long } diff --git a/specification/specs/cat/cat_snapshots/CatSnapshotsRequest.ts b/specification/specs/cat/cat_snapshots/CatSnapshotsRequest.ts index 668bf6d840..dfeaeffbb4 100644 --- a/specification/specs/cat/cat_snapshots/CatSnapshotsRequest.ts +++ b/specification/specs/cat/cat_snapshots/CatSnapshotsRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("cat.snapshots") +@rest_spec_name('cat.snapshots') class CatSnapshotsRequest extends CatRequestBase { path_parts?: { - repository?: Names; + repository?: Names } query_parameters?: { - ignore_unavailable?: boolean; - } - body?: { + ignore_unavailable?: boolean } + body?: {} } diff --git a/specification/specs/cat/cat_snapshots/CatSnapshotsResponse.ts b/specification/specs/cat/cat_snapshots/CatSnapshotsResponse.ts index 26fef8d7d7..cd8d47b94f 100644 --- a/specification/specs/cat/cat_snapshots/CatSnapshotsResponse.ts +++ b/specification/specs/cat/cat_snapshots/CatSnapshotsResponse.ts @@ -1 +1,3 @@ -class CatSnapshotsResponse extends ResponseBase implements ArrayResponse {} +class CatSnapshotsResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_tasks/CatTasksRecord.ts b/specification/specs/cat/cat_tasks/CatTasksRecord.ts index e1b9c5bcf4..b3cd0290b0 100644 --- a/specification/specs/cat/cat_tasks/CatTasksRecord.ts +++ b/specification/specs/cat/cat_tasks/CatTasksRecord.ts @@ -1,11 +1,11 @@ class CatTasksRecord { - action: string; - ip: string; - node: string; - parent_task_id: string; - running_time: string; - start_time: string; - task_id: string; - timestamp: string; - type: string; + action: string + ip: string + node: string + parent_task_id: string + running_time: string + start_time: string + task_id: string + timestamp: string + type: string } diff --git a/specification/specs/cat/cat_tasks/CatTasksRequest.ts b/specification/specs/cat/cat_tasks/CatTasksRequest.ts index 802bb34cbe..9380f63b45 100644 --- a/specification/specs/cat/cat_tasks/CatTasksRequest.ts +++ b/specification/specs/cat/cat_tasks/CatTasksRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("cat.tasks") +@rest_spec_name('cat.tasks') class CatTasksRequest extends CatRequestBase { query_parameters?: { - actions?: string[]; - detailed?: boolean; - node_id?: string[]; - parent_task?: long; - } - body?: { + actions?: string[] + detailed?: boolean + node_id?: string[] + parent_task?: long } + body?: {} } diff --git a/specification/specs/cat/cat_tasks/CatTasksResponse.ts b/specification/specs/cat/cat_tasks/CatTasksResponse.ts index 7c7e5cdbff..14dc5e4fc4 100644 --- a/specification/specs/cat/cat_tasks/CatTasksResponse.ts +++ b/specification/specs/cat/cat_tasks/CatTasksResponse.ts @@ -1 +1,3 @@ -class CatTasksResponse extends ResponseBase implements ArrayResponse {} +class CatTasksResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_templates/CatTemplatesRecord.ts b/specification/specs/cat/cat_templates/CatTemplatesRecord.ts index 95cd7fbc9b..58646073c5 100644 --- a/specification/specs/cat/cat_templates/CatTemplatesRecord.ts +++ b/specification/specs/cat/cat_templates/CatTemplatesRecord.ts @@ -1,9 +1,9 @@ class CatTemplatesRecord { - index_patterns: string; - name: string; + index_patterns: string + name: string /** @prop_serializer StringLongFormatter */ - order: long; + order: long /** @prop_serializer NullableStringLongFormatter */ - version: long; - composed_of: string; + version: long + composed_of: string } diff --git a/specification/specs/cat/cat_templates/CatTemplatesRequest.ts b/specification/specs/cat/cat_templates/CatTemplatesRequest.ts index b4b4912eb3..2bf8fa99fe 100644 --- a/specification/specs/cat/cat_templates/CatTemplatesRequest.ts +++ b/specification/specs/cat/cat_templates/CatTemplatesRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("cat.templates") +@rest_spec_name('cat.templates') class CatTemplatesRequest extends CatRequestBase { path_parts?: { - name?: Name; - } - query_parameters?: { - } - body?: { + name?: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/cat/cat_templates/CatTemplatesResponse.ts b/specification/specs/cat/cat_templates/CatTemplatesResponse.ts index 78eeb37612..ac062f048d 100644 --- a/specification/specs/cat/cat_templates/CatTemplatesResponse.ts +++ b/specification/specs/cat/cat_templates/CatTemplatesResponse.ts @@ -1 +1,3 @@ -class CatTemplatesResponse extends ResponseBase implements ArrayResponse {} +class CatTemplatesResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_thread_pool/CatThreadPoolRecord.ts b/specification/specs/cat/cat_thread_pool/CatThreadPoolRecord.ts index 9dd46ba4b5..14710a4827 100644 --- a/specification/specs/cat/cat_thread_pool/CatThreadPoolRecord.ts +++ b/specification/specs/cat/cat_thread_pool/CatThreadPoolRecord.ts @@ -1,34 +1,34 @@ class CatThreadPoolRecord { /** @prop_serializer StringIntFormatter */ - active: integer; + active: integer /** @prop_serializer NullableStringLongFormatter */ - completed: long; + completed: long /** @prop_serializer NullableStringIntFormatter */ - core: integer; - ephemeral_node_id: string; - host: string; - ip: string; - keep_alive: Time; + core: integer + ephemeral_node_id: string + host: string + ip: string + keep_alive: Time /** @prop_serializer NullableStringIntFormatter */ - largest: integer; + largest: integer /** @prop_serializer NullableStringIntFormatter */ - max: integer; - name: string; - node_id: string; - node_name: string; + max: integer + name: string + node_id: string + node_name: string /** @prop_serializer NullableStringIntFormatter */ - pool_size: integer; + pool_size: integer /** @prop_serializer NullableStringIntFormatter */ - port: integer; + port: integer /** @prop_serializer NullableStringIntFormatter */ - pid: integer; + pid: integer /** @prop_serializer StringIntFormatter */ - queue: integer; + queue: integer /** @prop_serializer NullableStringIntFormatter */ - queue_size: integer; + queue_size: integer /** @prop_serializer StringLongFormatter */ - rejected: long; + rejected: long /** @prop_serializer NullableStringIntFormatter */ - size: integer; - type: string; + size: integer + type: string } diff --git a/specification/specs/cat/cat_thread_pool/CatThreadPoolRequest.ts b/specification/specs/cat/cat_thread_pool/CatThreadPoolRequest.ts index 6b9efb8980..ce723ad02b 100644 --- a/specification/specs/cat/cat_thread_pool/CatThreadPoolRequest.ts +++ b/specification/specs/cat/cat_thread_pool/CatThreadPoolRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("cat.thread_pool") +@rest_spec_name('cat.thread_pool') class CatThreadPoolRequest extends CatRequestBase { path_parts?: { - thread_pool_patterns?: Names; + thread_pool_patterns?: Names } query_parameters?: { - size?: Size; - } - body?: { + size?: Size } + body?: {} } diff --git a/specification/specs/cat/cat_thread_pool/CatThreadPoolResponse.ts b/specification/specs/cat/cat_thread_pool/CatThreadPoolResponse.ts index 8e5b3d4392..917df46915 100644 --- a/specification/specs/cat/cat_thread_pool/CatThreadPoolResponse.ts +++ b/specification/specs/cat/cat_thread_pool/CatThreadPoolResponse.ts @@ -1 +1,3 @@ -class CatThreadPoolResponse extends ResponseBase implements ArrayResponse {} +class CatThreadPoolResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_trained_models/CatTrainedModelsRecord.ts b/specification/specs/cat/cat_trained_models/CatTrainedModelsRecord.ts index cdd1fb35f9..f740252794 100644 --- a/specification/specs/cat/cat_trained_models/CatTrainedModelsRecord.ts +++ b/specification/specs/cat/cat_trained_models/CatTrainedModelsRecord.ts @@ -1,16 +1,16 @@ class CatTrainedModelsRecord { - created_by: string; - create_time: string; - data_frame_analytics_id: string; - description: string; - heap_size: string; - id: string; - 'ingest.count': long; - 'ingest.current': long; - 'ingest.failed': long; - 'ingest.pipelines': string; - 'ingest.time': long; - license: string; - operations: string; - version: string; + created_by: string + create_time: string + data_frame_analytics_id: string + description: string + heap_size: string + id: string + 'ingest.count': long + 'ingest.current': long + 'ingest.failed': long + 'ingest.pipelines': string + 'ingest.time': long + license: string + operations: string + version: string } diff --git a/specification/specs/cat/cat_trained_models/CatTrainedModelsRequest.ts b/specification/specs/cat/cat_trained_models/CatTrainedModelsRequest.ts index bfb09089da..21dd0dc6e0 100644 --- a/specification/specs/cat/cat_trained_models/CatTrainedModelsRequest.ts +++ b/specification/specs/cat/cat_trained_models/CatTrainedModelsRequest.ts @@ -1,14 +1,13 @@ -@rest_spec_name("cat.ml_trained_models") +@rest_spec_name('cat.ml_trained_models') class CatTrainedModelsRequest extends CatRequestBase { path_parts?: { - model_id?: Id; + model_id?: Id } query_parameters?: { - allow_no_match?: boolean; - bytes?: Bytes; - from?: integer; - size?: integer; - } - body?: { + allow_no_match?: boolean + bytes?: Bytes + from?: integer + size?: integer } + body?: {} } diff --git a/specification/specs/cat/cat_trained_models/CatTrainedModelsResponse.ts b/specification/specs/cat/cat_trained_models/CatTrainedModelsResponse.ts index fa0e86297d..1e205fea33 100644 --- a/specification/specs/cat/cat_trained_models/CatTrainedModelsResponse.ts +++ b/specification/specs/cat/cat_trained_models/CatTrainedModelsResponse.ts @@ -1 +1,3 @@ -class CatTrainedModelsResponse extends ResponseBase implements ArrayResponse {} +class CatTrainedModelsResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cat/cat_transforms/CatTransformsRecord.ts b/specification/specs/cat/cat_transforms/CatTransformsRecord.ts index 000a8adce7..20395284d3 100644 --- a/specification/specs/cat/cat_transforms/CatTransformsRecord.ts +++ b/specification/specs/cat/cat_transforms/CatTransformsRecord.ts @@ -1,30 +1,30 @@ class CatTransformsRecord { - changes_last_detection_time: string; - checkpoint_duration_time_exp_avg: long; - create_time: Date; - description: string; - dest_index: string; - documents_indexed: long; - documents_processed: long; - frequency: Time; - id: string; - indexed_documents_exp_avg: long; - index_failure: long; - index_time: long; - index_total: long; - max_page_search_size: long; - pages_processed: long; - pipeline: string; - processed_documents_exp_avg: long; - processing_time: long; - reason: string; - search_failure: long; - search_time: long; - search_total: long; + changes_last_detection_time: string + checkpoint_duration_time_exp_avg: long + create_time: Date + description: string + dest_index: string + documents_indexed: long + documents_processed: long + frequency: Time + id: string + indexed_documents_exp_avg: long + index_failure: long + index_time: long + index_total: long + max_page_search_size: long + pages_processed: long + pipeline: string + processed_documents_exp_avg: long + processing_time: long + reason: string + search_failure: long + search_time: long + search_total: long /** @prop_serializer IndicesFormatter */ - source_index: Indices; - state: TransformState; - transform_type: TransformType; - trigger_count: long; - version: string; + source_index: Indices + state: TransformState + transform_type: TransformType + trigger_count: long + version: string } diff --git a/specification/specs/cat/cat_transforms/CatTransformsRequest.ts b/specification/specs/cat/cat_transforms/CatTransformsRequest.ts index 34af3b8a24..413b3f5eed 100644 --- a/specification/specs/cat/cat_transforms/CatTransformsRequest.ts +++ b/specification/specs/cat/cat_transforms/CatTransformsRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("cat.transforms") +@rest_spec_name('cat.transforms') class CatTransformsRequest extends CatRequestBase { path_parts?: { - transform_id?: Id; + transform_id?: Id } query_parameters?: { - allow_no_match?: boolean; - from?: integer; - size?: integer; - } - body?: { + allow_no_match?: boolean + from?: integer + size?: integer } + body?: {} } diff --git a/specification/specs/cat/cat_transforms/CatTransformsResponse.ts b/specification/specs/cat/cat_transforms/CatTransformsResponse.ts index d03e84abe6..11e2a3a0db 100644 --- a/specification/specs/cat/cat_transforms/CatTransformsResponse.ts +++ b/specification/specs/cat/cat_transforms/CatTransformsResponse.ts @@ -1 +1,3 @@ -class CatTransformsResponse extends ResponseBase implements ArrayResponse {} +class CatTransformsResponse + extends ResponseBase + implements ArrayResponse {} diff --git a/specification/specs/cluster/NodeStatistics.ts b/specification/specs/cluster/NodeStatistics.ts index 223640b4b2..a3f1a3015e 100644 --- a/specification/specs/cluster/NodeStatistics.ts +++ b/specification/specs/cluster/NodeStatistics.ts @@ -1,6 +1,6 @@ class NodeStatistics { - failed: integer; - failures: ErrorCause[]; - successful: integer; - total: integer; + failed: integer + failures: ErrorCause[] + successful: integer + total: integer } diff --git a/specification/specs/cluster/NodesResponseBase.ts b/specification/specs/cluster/NodesResponseBase.ts index 3d663b414b..2bf1005e10 100644 --- a/specification/specs/cluster/NodesResponseBase.ts +++ b/specification/specs/cluster/NodesResponseBase.ts @@ -1,3 +1,3 @@ class NodesResponseBase extends ResponseBase { - _nodes: NodeStatistics; + _nodes: NodeStatistics } diff --git a/specification/specs/cluster/cluster_allocation_explain/AllocationDecision.ts b/specification/specs/cluster/cluster_allocation_explain/AllocationDecision.ts index 66a302add0..388459d7d9 100644 --- a/specification/specs/cluster/cluster_allocation_explain/AllocationDecision.ts +++ b/specification/specs/cluster/cluster_allocation_explain/AllocationDecision.ts @@ -1,5 +1,5 @@ class AllocationDecision { - decider: string; - decision: AllocationExplainDecision; - explanation: string; + decider: string + decision: AllocationExplainDecision + explanation: string } diff --git a/specification/specs/cluster/cluster_allocation_explain/AllocationStore.ts b/specification/specs/cluster/cluster_allocation_explain/AllocationStore.ts index 38ab2f94b4..d32b1c0071 100644 --- a/specification/specs/cluster/cluster_allocation_explain/AllocationStore.ts +++ b/specification/specs/cluster/cluster_allocation_explain/AllocationStore.ts @@ -1,8 +1,8 @@ class AllocationStore { - allocation_id: string; - found: boolean; - in_sync: boolean; - matching_size_in_bytes: long; - matching_sync_id: boolean; - store_exception: string; + allocation_id: string + found: boolean + in_sync: boolean + matching_size_in_bytes: long + matching_sync_id: boolean + store_exception: string } diff --git a/specification/specs/cluster/cluster_allocation_explain/ClusterAllocationExplainRequest.ts b/specification/specs/cluster/cluster_allocation_explain/ClusterAllocationExplainRequest.ts index 796264e936..a4dc346e74 100644 --- a/specification/specs/cluster/cluster_allocation_explain/ClusterAllocationExplainRequest.ts +++ b/specification/specs/cluster/cluster_allocation_explain/ClusterAllocationExplainRequest.ts @@ -1,12 +1,12 @@ -@rest_spec_name("cluster.allocation_explain") +@rest_spec_name('cluster.allocation_explain') class ClusterAllocationExplainRequest extends RequestBase { query_parameters?: { - include_disk_info?: boolean; - include_yes_decisions?: boolean; + include_disk_info?: boolean + include_yes_decisions?: boolean } body?: { - index?: IndexName; - primary?: boolean; - shard?: integer; + index?: IndexName + primary?: boolean + shard?: integer } } diff --git a/specification/specs/cluster/cluster_allocation_explain/ClusterAllocationExplainResponse.ts b/specification/specs/cluster/cluster_allocation_explain/ClusterAllocationExplainResponse.ts index 69831e754d..96c6dc1eee 100644 --- a/specification/specs/cluster/cluster_allocation_explain/ClusterAllocationExplainResponse.ts +++ b/specification/specs/cluster/cluster_allocation_explain/ClusterAllocationExplainResponse.ts @@ -1,26 +1,26 @@ class ClusterAllocationExplainResponse extends ResponseBase { - allocate_explanation?: string; - allocation_delay?: string; - allocation_delay_in_millis?: long; - can_allocate?: Decision; - can_move_to_other_node?: Decision; - can_rebalance_cluster?: Decision; - can_rebalance_cluster_decisions?: AllocationDecision[]; - can_rebalance_to_other_node?: Decision; - can_remain_decisions?: AllocationDecision[]; - can_remain_on_current_node?: Decision; - cluster_info?: ClusterInfo; - configured_delay?: string; - configured_delay_in_mills?: long; - current_node?: CurrentNode; - current_state: string; - index: string; - move_explanation?: string; - node_allocation_decisions?: NodeAllocationExplanation[]; - primary: boolean; - rebalance_explanation?: string; - remaining_delay?: string; - remaining_delay_in_millis?: long; - shard: integer; - unassigned_info?: UnassignedInformation; + allocate_explanation?: string + allocation_delay?: string + allocation_delay_in_millis?: long + can_allocate?: Decision + can_move_to_other_node?: Decision + can_rebalance_cluster?: Decision + can_rebalance_cluster_decisions?: AllocationDecision[] + can_rebalance_to_other_node?: Decision + can_remain_decisions?: AllocationDecision[] + can_remain_on_current_node?: Decision + cluster_info?: ClusterInfo + configured_delay?: string + configured_delay_in_mills?: long + current_node?: CurrentNode + current_state: string + index: string + move_explanation?: string + node_allocation_decisions?: NodeAllocationExplanation[] + primary: boolean + rebalance_explanation?: string + remaining_delay?: string + remaining_delay_in_millis?: long + shard: integer + unassigned_info?: UnassignedInformation } diff --git a/specification/specs/cluster/cluster_allocation_explain/ClusterInfo.ts b/specification/specs/cluster/cluster_allocation_explain/ClusterInfo.ts index bfddc6b5ff..e0d72e3f05 100644 --- a/specification/specs/cluster/cluster_allocation_explain/ClusterInfo.ts +++ b/specification/specs/cluster/cluster_allocation_explain/ClusterInfo.ts @@ -1,28 +1,28 @@ class ClusterInfo { - nodes: Dictionary; - shard_sizes: Dictionary; - shard_paths: Dictionary; - reserved_sizes: ReservedSize[]; + nodes: Dictionary + shard_sizes: Dictionary + shard_paths: Dictionary + reserved_sizes: ReservedSize[] } class NodeDiskUsage { - node_name: string; - least_available: DiskUsage; - most_available: DiskUsage; + node_name: string + least_available: DiskUsage + most_available: DiskUsage } class DiskUsage { - path: string; - total_bytes: long; - used_bytes: long; - free_bytes: long; - free_disk_percent: double; - used_disk_percent: double; + path: string + total_bytes: long + used_bytes: long + free_bytes: long + free_disk_percent: double + used_disk_percent: double } class ReservedSize { - node_id: string; - path: string; - total: long; - shards: string[]; -} \ No newline at end of file + node_id: string + path: string + total: long + shards: string[] +} diff --git a/specification/specs/cluster/cluster_allocation_explain/CurrentNode.ts b/specification/specs/cluster/cluster_allocation_explain/CurrentNode.ts index ee81909bce..c96fb633de 100644 --- a/specification/specs/cluster/cluster_allocation_explain/CurrentNode.ts +++ b/specification/specs/cluster/cluster_allocation_explain/CurrentNode.ts @@ -1,7 +1,7 @@ class CurrentNode { - id: string; - name: string; - attributes: Dictionary; - transport_address: string; - weight_ranking: integer; + id: string + name: string + attributes: Dictionary + transport_address: string + weight_ranking: integer } diff --git a/specification/specs/cluster/cluster_allocation_explain/NodeAllocationExplanation.ts b/specification/specs/cluster/cluster_allocation_explain/NodeAllocationExplanation.ts index 93ce6c0bf2..e74686954b 100644 --- a/specification/specs/cluster/cluster_allocation_explain/NodeAllocationExplanation.ts +++ b/specification/specs/cluster/cluster_allocation_explain/NodeAllocationExplanation.ts @@ -1,10 +1,10 @@ class NodeAllocationExplanation { - deciders: AllocationDecision[]; - node_attributes: Dictionary; - node_decision: Decision; - node_id: string; - node_name: string; - store?: AllocationStore; - transport_address: string; - weight_ranking: integer; + deciders: AllocationDecision[] + node_attributes: Dictionary + node_decision: Decision + node_id: string + node_name: string + store?: AllocationStore + transport_address: string + weight_ranking: integer } diff --git a/specification/specs/cluster/cluster_allocation_explain/UnassignedInformation.ts b/specification/specs/cluster/cluster_allocation_explain/UnassignedInformation.ts index 6ed6674103..acb82163fb 100644 --- a/specification/specs/cluster/cluster_allocation_explain/UnassignedInformation.ts +++ b/specification/specs/cluster/cluster_allocation_explain/UnassignedInformation.ts @@ -1,7 +1,7 @@ class UnassignedInformation { - at: Date; - last_allocation_status: string; - reason: UnassignedInformationReason; - details?: string; - failed_allocation_attempts?: integer; + at: Date + last_allocation_status: string + reason: UnassignedInformationReason + details?: string + failed_allocation_attempts?: integer } diff --git a/specification/specs/cluster/cluster_health/ClusterHealthRequest.ts b/specification/specs/cluster/cluster_health/ClusterHealthRequest.ts index e8cdf5aa24..53e679d9f1 100644 --- a/specification/specs/cluster/cluster_health/ClusterHealthRequest.ts +++ b/specification/specs/cluster/cluster_health/ClusterHealthRequest.ts @@ -1,21 +1,20 @@ -@rest_spec_name("cluster.health") +@rest_spec_name('cluster.health') class ClusterHealthRequest extends RequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - expand_wildcards?: ExpandWildcards; - level?: Level; - local?: boolean; - master_timeout?: Time; - timeout?: Time; - wait_for_active_shards?: string; - wait_for_events?: WaitForEvents; - wait_for_nodes?: string; - wait_for_no_initializing_shards?: boolean; - wait_for_no_relocating_shards?: boolean; - wait_for_status?: WaitForStatus; - } - body?: { + expand_wildcards?: ExpandWildcards + level?: Level + local?: boolean + master_timeout?: Time + timeout?: Time + wait_for_active_shards?: string + wait_for_events?: WaitForEvents + wait_for_nodes?: string + wait_for_no_initializing_shards?: boolean + wait_for_no_relocating_shards?: boolean + wait_for_status?: WaitForStatus } + body?: {} } diff --git a/specification/specs/cluster/cluster_health/ClusterHealthResponse.ts b/specification/specs/cluster/cluster_health/ClusterHealthResponse.ts index e0c768f6da..b6fec511c1 100644 --- a/specification/specs/cluster/cluster_health/ClusterHealthResponse.ts +++ b/specification/specs/cluster/cluster_health/ClusterHealthResponse.ts @@ -1,19 +1,19 @@ class ClusterHealthResponse extends ResponseBase { - active_primary_shards: integer; - active_shards: integer; - active_shards_percent_as_number: double; - cluster_name: string; - delayed_unassigned_shards: integer; + active_primary_shards: integer + active_shards: integer + active_shards_percent_as_number: double + cluster_name: string + delayed_unassigned_shards: integer /** @prop_serializer ResolvableReadOnlyDictionaryFormatter`2 */ - indices: Dictionary; - initializing_shards: integer; - number_of_data_nodes: integer; - number_of_in_flight_fetch: integer; - number_of_nodes: integer; - number_of_pending_tasks: integer; - relocating_shards: integer; - status: Health; - task_max_waiting_in_queue_millis: long; - timed_out: boolean; - unassigned_shards: integer; + indices: Dictionary + initializing_shards: integer + number_of_data_nodes: integer + number_of_in_flight_fetch: integer + number_of_nodes: integer + number_of_pending_tasks: integer + relocating_shards: integer + status: Health + task_max_waiting_in_queue_millis: long + timed_out: boolean + unassigned_shards: integer } diff --git a/specification/specs/cluster/cluster_health/IndexHealthStats.ts b/specification/specs/cluster/cluster_health/IndexHealthStats.ts index 1aa21283a7..88acf0bd9c 100644 --- a/specification/specs/cluster/cluster_health/IndexHealthStats.ts +++ b/specification/specs/cluster/cluster_health/IndexHealthStats.ts @@ -1,12 +1,12 @@ class IndexHealthStats { - active_primary_shards: integer; - active_shards: integer; - initializing_shards: integer; - number_of_replicas: integer; - number_of_shards: integer; - relocating_shards: integer; + active_primary_shards: integer + active_shards: integer + initializing_shards: integer + number_of_replicas: integer + number_of_shards: integer + relocating_shards: integer /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - shards: Dictionary; - status: Health; - unassigned_shards: integer; + shards: Dictionary + status: Health + unassigned_shards: integer } diff --git a/specification/specs/cluster/cluster_health/ShardHealthStats.ts b/specification/specs/cluster/cluster_health/ShardHealthStats.ts index 867f69941c..ff55363ef1 100644 --- a/specification/specs/cluster/cluster_health/ShardHealthStats.ts +++ b/specification/specs/cluster/cluster_health/ShardHealthStats.ts @@ -1,8 +1,8 @@ class ShardHealthStats { - active_shards: integer; - initializing_shards: integer; - primary_active: boolean; - relocating_shards: integer; - status: Health; - unassigned_shards: integer; + active_shards: integer + initializing_shards: integer + primary_active: boolean + relocating_shards: integer + status: Health + unassigned_shards: integer } diff --git a/specification/specs/cluster/cluster_pending_tasks/ClusterPendingTasksRequest.ts b/specification/specs/cluster/cluster_pending_tasks/ClusterPendingTasksRequest.ts index 6be814d962..e7b667cdc7 100644 --- a/specification/specs/cluster/cluster_pending_tasks/ClusterPendingTasksRequest.ts +++ b/specification/specs/cluster/cluster_pending_tasks/ClusterPendingTasksRequest.ts @@ -1,9 +1,8 @@ -@rest_spec_name("cluster.pending_tasks") +@rest_spec_name('cluster.pending_tasks') class ClusterPendingTasksRequest extends RequestBase { query_parameters?: { - local?: boolean; - master_timeout?: Time; - } - body?: { + local?: boolean + master_timeout?: Time } + body?: {} } diff --git a/specification/specs/cluster/cluster_pending_tasks/ClusterPendingTasksResponse.ts b/specification/specs/cluster/cluster_pending_tasks/ClusterPendingTasksResponse.ts index b34a05815f..b807bd7ca6 100644 --- a/specification/specs/cluster/cluster_pending_tasks/ClusterPendingTasksResponse.ts +++ b/specification/specs/cluster/cluster_pending_tasks/ClusterPendingTasksResponse.ts @@ -1,3 +1,3 @@ class ClusterPendingTasksResponse extends ResponseBase { - tasks: PendingTask[]; + tasks: PendingTask[] } diff --git a/specification/specs/cluster/cluster_pending_tasks/PendingTask.ts b/specification/specs/cluster/cluster_pending_tasks/PendingTask.ts index 823698b569..6d0ac268a6 100644 --- a/specification/specs/cluster/cluster_pending_tasks/PendingTask.ts +++ b/specification/specs/cluster/cluster_pending_tasks/PendingTask.ts @@ -1,7 +1,7 @@ class PendingTask { - insert_order: integer; - priority: string; - source: string; - time_in_queue: string; - time_in_queue_millis: integer; + insert_order: integer + priority: string + source: string + time_in_queue: string + time_in_queue_millis: integer } diff --git a/specification/specs/cluster/cluster_reroute/ClusterRerouteDecision.ts b/specification/specs/cluster/cluster_reroute/ClusterRerouteDecision.ts index 09fa3b7f9f..0976ba11de 100644 --- a/specification/specs/cluster/cluster_reroute/ClusterRerouteDecision.ts +++ b/specification/specs/cluster/cluster_reroute/ClusterRerouteDecision.ts @@ -1,5 +1,5 @@ class ClusterRerouteDecision { - decider: string; - decision: string; - explanation: string; + decider: string + decision: string + explanation: string } diff --git a/specification/specs/cluster/cluster_reroute/ClusterRerouteExplanation.ts b/specification/specs/cluster/cluster_reroute/ClusterRerouteExplanation.ts index 2ceb99e8be..4865feb203 100644 --- a/specification/specs/cluster/cluster_reroute/ClusterRerouteExplanation.ts +++ b/specification/specs/cluster/cluster_reroute/ClusterRerouteExplanation.ts @@ -1,5 +1,5 @@ class ClusterRerouteExplanation { - command: string; - decisions: ClusterRerouteDecision[]; - parameters: ClusterRerouteParameters; + command: string + decisions: ClusterRerouteDecision[] + parameters: ClusterRerouteParameters } diff --git a/specification/specs/cluster/cluster_reroute/ClusterRerouteParameters.ts b/specification/specs/cluster/cluster_reroute/ClusterRerouteParameters.ts index dacc1e5aaa..1dce2abf2f 100644 --- a/specification/specs/cluster/cluster_reroute/ClusterRerouteParameters.ts +++ b/specification/specs/cluster/cluster_reroute/ClusterRerouteParameters.ts @@ -1,8 +1,8 @@ class ClusterRerouteParameters { - allow_primary: boolean; - from_node: string; - index: string; - node: string; - shard: integer; - to_node: string; + allow_primary: boolean + from_node: string + index: string + node: string + shard: integer + to_node: string } diff --git a/specification/specs/cluster/cluster_reroute/ClusterRerouteRequest.ts b/specification/specs/cluster/cluster_reroute/ClusterRerouteRequest.ts index 633337f85f..b3fa0acd71 100644 --- a/specification/specs/cluster/cluster_reroute/ClusterRerouteRequest.ts +++ b/specification/specs/cluster/cluster_reroute/ClusterRerouteRequest.ts @@ -1,14 +1,14 @@ -@rest_spec_name("cluster.reroute") +@rest_spec_name('cluster.reroute') class ClusterRerouteRequest extends RequestBase { query_parameters?: { - dry_run?: boolean; - explain?: boolean; - master_timeout?: Time; - metric?: string[]; - retry_failed?: boolean; - timeout?: Time; + dry_run?: boolean + explain?: boolean + master_timeout?: Time + metric?: string[] + retry_failed?: boolean + timeout?: Time } body?: { - commands?: ClusterRerouteCommand[]; + commands?: ClusterRerouteCommand[] } } diff --git a/specification/specs/cluster/cluster_reroute/ClusterRerouteResponse.ts b/specification/specs/cluster/cluster_reroute/ClusterRerouteResponse.ts index b147f5114c..fd717cadb7 100644 --- a/specification/specs/cluster/cluster_reroute/ClusterRerouteResponse.ts +++ b/specification/specs/cluster/cluster_reroute/ClusterRerouteResponse.ts @@ -1,4 +1,4 @@ class ClusterRerouteResponse extends ResponseBase { - explanations: ClusterRerouteExplanation[]; - state: string[]; + explanations: ClusterRerouteExplanation[] + state: string[] } diff --git a/specification/specs/cluster/cluster_reroute/commands/ClusterRerouteCommand.ts b/specification/specs/cluster/cluster_reroute/commands/ClusterRerouteCommand.ts index c7359f5882..c88b7d0f59 100644 --- a/specification/specs/cluster/cluster_reroute/commands/ClusterRerouteCommand.ts +++ b/specification/specs/cluster/cluster_reroute/commands/ClusterRerouteCommand.ts @@ -1,4 +1,4 @@ -@class_serializer("ClusterRerouteCommandFormatter") +@class_serializer('ClusterRerouteCommandFormatter') class ClusterRerouteCommand { - name: string; + name: string } diff --git a/specification/specs/cluster/cluster_settings/cluster_get_settings/ClusterGetSettingsRequest.ts b/specification/specs/cluster/cluster_settings/cluster_get_settings/ClusterGetSettingsRequest.ts index d124435da4..58ad74dcbd 100644 --- a/specification/specs/cluster/cluster_settings/cluster_get_settings/ClusterGetSettingsRequest.ts +++ b/specification/specs/cluster/cluster_settings/cluster_get_settings/ClusterGetSettingsRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("cluster.get_settings") +@rest_spec_name('cluster.get_settings') class ClusterGetSettingsRequest extends RequestBase { query_parameters?: { - flat_settings?: boolean; - include_defaults?: boolean; - master_timeout?: Time; - timeout?: Time; - } - body?: { + flat_settings?: boolean + include_defaults?: boolean + master_timeout?: Time + timeout?: Time } + body?: {} } diff --git a/specification/specs/cluster/cluster_settings/cluster_get_settings/ClusterGetSettingsResponse.ts b/specification/specs/cluster/cluster_settings/cluster_get_settings/ClusterGetSettingsResponse.ts index aef5b46e3a..c9383c4805 100644 --- a/specification/specs/cluster/cluster_settings/cluster_get_settings/ClusterGetSettingsResponse.ts +++ b/specification/specs/cluster/cluster_settings/cluster_get_settings/ClusterGetSettingsResponse.ts @@ -1,4 +1,4 @@ class ClusterGetSettingsResponse extends ResponseBase { - persistent: Dictionary; - transient: Dictionary; + persistent: Dictionary + transient: Dictionary } diff --git a/specification/specs/cluster/cluster_settings/cluster_put_settings/ClusterPutSettingsRequest.ts b/specification/specs/cluster/cluster_settings/cluster_put_settings/ClusterPutSettingsRequest.ts index 1fca8b7db6..367637f862 100644 --- a/specification/specs/cluster/cluster_settings/cluster_put_settings/ClusterPutSettingsRequest.ts +++ b/specification/specs/cluster/cluster_settings/cluster_put_settings/ClusterPutSettingsRequest.ts @@ -1,12 +1,12 @@ -@rest_spec_name("cluster.put_settings") +@rest_spec_name('cluster.put_settings') class ClusterPutSettingsRequest extends RequestBase { query_parameters?: { - flat_settings?: boolean; - master_timeout?: Time; - timeout?: Time; + flat_settings?: boolean + master_timeout?: Time + timeout?: Time } body?: { - persistent?: Dictionary; - transient?: Dictionary; + persistent?: Dictionary + transient?: Dictionary } } diff --git a/specification/specs/cluster/cluster_settings/cluster_put_settings/ClusterPutSettingsResponse.ts b/specification/specs/cluster/cluster_settings/cluster_put_settings/ClusterPutSettingsResponse.ts index 999a444e9a..e865f5dcb3 100644 --- a/specification/specs/cluster/cluster_settings/cluster_put_settings/ClusterPutSettingsResponse.ts +++ b/specification/specs/cluster/cluster_settings/cluster_put_settings/ClusterPutSettingsResponse.ts @@ -1,5 +1,5 @@ class ClusterPutSettingsResponse extends ResponseBase { - acknowledged: boolean; - persistent: Dictionary; - transient: Dictionary; + acknowledged: boolean + persistent: Dictionary + transient: Dictionary } diff --git a/specification/specs/cluster/cluster_state/ClusterStateRequest.ts b/specification/specs/cluster/cluster_state/ClusterStateRequest.ts index dc52d2ec82..a9c50eb994 100644 --- a/specification/specs/cluster/cluster_state/ClusterStateRequest.ts +++ b/specification/specs/cluster/cluster_state/ClusterStateRequest.ts @@ -1,19 +1,18 @@ -@rest_spec_name("cluster.state") +@rest_spec_name('cluster.state') class ClusterStateRequest extends RequestBase { path_parts?: { - metric?: Metrics; - index?: Indices; + metric?: Metrics + index?: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - flat_settings?: boolean; - ignore_unavailable?: boolean; - local?: boolean; - master_timeout?: Time; - wait_for_metadata_version?: long; - wait_for_timeout?: Time; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + flat_settings?: boolean + ignore_unavailable?: boolean + local?: boolean + master_timeout?: Time + wait_for_metadata_version?: long + wait_for_timeout?: Time } + body?: {} } diff --git a/specification/specs/cluster/cluster_state/ClusterStateResponse.ts b/specification/specs/cluster/cluster_state/ClusterStateResponse.ts index 4e28bbeecc..baa0cc8225 100644 --- a/specification/specs/cluster/cluster_state/ClusterStateResponse.ts +++ b/specification/specs/cluster/cluster_state/ClusterStateResponse.ts @@ -1,9 +1,9 @@ -@class_serializer("DynamicResponseFormatter`1") +@class_serializer('DynamicResponseFormatter`1') class ClusterStateResponse extends ResponseBase { - cluster_name: string; - cluster_uuid: string; - master_node: string; - state: string[]; - state_uuid: string; - version: long; + cluster_name: string + cluster_uuid: string + master_node: string + state: string[] + state_uuid: string + version: long } diff --git a/specification/specs/cluster/cluster_stats/ClusterFileSystem.ts b/specification/specs/cluster/cluster_stats/ClusterFileSystem.ts index 1677f493ae..56c3361368 100644 --- a/specification/specs/cluster/cluster_stats/ClusterFileSystem.ts +++ b/specification/specs/cluster/cluster_stats/ClusterFileSystem.ts @@ -1,5 +1,5 @@ class ClusterFileSystem { - available_in_bytes: long; - free_in_bytes: long; - total_in_bytes: long; + available_in_bytes: long + free_in_bytes: long + total_in_bytes: long } diff --git a/specification/specs/cluster/cluster_stats/ClusterIndicesShardsIndexStats.ts b/specification/specs/cluster/cluster_stats/ClusterIndicesShardsIndexStats.ts index b1ade6c98f..f93c1dc6c0 100644 --- a/specification/specs/cluster/cluster_stats/ClusterIndicesShardsIndexStats.ts +++ b/specification/specs/cluster/cluster_stats/ClusterIndicesShardsIndexStats.ts @@ -1,5 +1,5 @@ class ClusterIndicesShardsIndexStats { - primaries: ClusterShardMetrics; - replication: ClusterShardMetrics; - shards: ClusterShardMetrics; + primaries: ClusterShardMetrics + replication: ClusterShardMetrics + shards: ClusterShardMetrics } diff --git a/specification/specs/cluster/cluster_stats/ClusterIndicesShardsStats.ts b/specification/specs/cluster/cluster_stats/ClusterIndicesShardsStats.ts index da0e425e15..8c833aeb64 100644 --- a/specification/specs/cluster/cluster_stats/ClusterIndicesShardsStats.ts +++ b/specification/specs/cluster/cluster_stats/ClusterIndicesShardsStats.ts @@ -1,6 +1,6 @@ class ClusterIndicesShardsStats { - index: ClusterIndicesShardsIndexStats; - primaries: double; - replication: double; - total: double; + index: ClusterIndicesShardsIndexStats + primaries: double + replication: double + total: double } diff --git a/specification/specs/cluster/cluster_stats/ClusterIndicesStats.ts b/specification/specs/cluster/cluster_stats/ClusterIndicesStats.ts index 13b83e616f..5f13ffd2cd 100644 --- a/specification/specs/cluster/cluster_stats/ClusterIndicesStats.ts +++ b/specification/specs/cluster/cluster_stats/ClusterIndicesStats.ts @@ -1,10 +1,10 @@ class ClusterIndicesStats { - completion: CompletionStats; - count: long; - docs: DocStats; - fielddata: FielddataStats; - query_cache: QueryCacheStats; - segments: SegmentsStats; - shards: ClusterIndicesShardsStats; - store: StoreStats; + completion: CompletionStats + count: long + docs: DocStats + fielddata: FielddataStats + query_cache: QueryCacheStats + segments: SegmentsStats + shards: ClusterIndicesShardsStats + store: StoreStats } diff --git a/specification/specs/cluster/cluster_stats/ClusterIngestStats.ts b/specification/specs/cluster/cluster_stats/ClusterIngestStats.ts index 2b977be536..7fb3c3d560 100644 --- a/specification/specs/cluster/cluster_stats/ClusterIngestStats.ts +++ b/specification/specs/cluster/cluster_stats/ClusterIngestStats.ts @@ -1,4 +1,4 @@ class ClusterIngestStats { - number_of_pipelines: integer; - processor_stats: Dictionary; + number_of_pipelines: integer + processor_stats: Dictionary } diff --git a/specification/specs/cluster/cluster_stats/ClusterJvm.ts b/specification/specs/cluster/cluster_stats/ClusterJvm.ts index de4106a3d7..005af66849 100644 --- a/specification/specs/cluster/cluster_stats/ClusterJvm.ts +++ b/specification/specs/cluster/cluster_stats/ClusterJvm.ts @@ -1,6 +1,6 @@ class ClusterJvm { - max_uptime_in_millis: long; - mem: ClusterJvmMemory; - threads: long; - versions: ClusterJvmVersion[]; + max_uptime_in_millis: long + mem: ClusterJvmMemory + threads: long + versions: ClusterJvmVersion[] } diff --git a/specification/specs/cluster/cluster_stats/ClusterJvmMemory.ts b/specification/specs/cluster/cluster_stats/ClusterJvmMemory.ts index f217b8bd3c..18967fd817 100644 --- a/specification/specs/cluster/cluster_stats/ClusterJvmMemory.ts +++ b/specification/specs/cluster/cluster_stats/ClusterJvmMemory.ts @@ -1,4 +1,4 @@ class ClusterJvmMemory { - heap_max_in_bytes: long; - heap_used_in_bytes: long; + heap_max_in_bytes: long + heap_used_in_bytes: long } diff --git a/specification/specs/cluster/cluster_stats/ClusterJvmVersion.ts b/specification/specs/cluster/cluster_stats/ClusterJvmVersion.ts index d3de8cc313..3808be57af 100644 --- a/specification/specs/cluster/cluster_stats/ClusterJvmVersion.ts +++ b/specification/specs/cluster/cluster_stats/ClusterJvmVersion.ts @@ -1,9 +1,9 @@ class ClusterJvmVersion { - bundled_jdk: boolean; - count: integer; - using_bundled_jdk: boolean; - version: string; - vm_name: string; - vm_vendor: string; - vm_version: string; + bundled_jdk: boolean + count: integer + using_bundled_jdk: boolean + version: string + vm_name: string + vm_vendor: string + vm_version: string } diff --git a/specification/specs/cluster/cluster_stats/ClusterNetworkTypes.ts b/specification/specs/cluster/cluster_stats/ClusterNetworkTypes.ts index 4a14f8f362..0af6fef5f9 100644 --- a/specification/specs/cluster/cluster_stats/ClusterNetworkTypes.ts +++ b/specification/specs/cluster/cluster_stats/ClusterNetworkTypes.ts @@ -1,4 +1,4 @@ class ClusterNetworkTypes { - http_types: Dictionary; - transport_types: Dictionary; + http_types: Dictionary + transport_types: Dictionary } diff --git a/specification/specs/cluster/cluster_stats/ClusterNodeCount.ts b/specification/specs/cluster/cluster_stats/ClusterNodeCount.ts index 0e3c1d027f..644920c7c8 100644 --- a/specification/specs/cluster/cluster_stats/ClusterNodeCount.ts +++ b/specification/specs/cluster/cluster_stats/ClusterNodeCount.ts @@ -1,8 +1,8 @@ class ClusterNodeCount { - coordinating_only: integer; - data: integer; - ingest: integer; - master: integer; - total: integer; - voting_only: integer; + coordinating_only: integer + data: integer + ingest: integer + master: integer + total: integer + voting_only: integer } diff --git a/specification/specs/cluster/cluster_stats/ClusterNodesStats.ts b/specification/specs/cluster/cluster_stats/ClusterNodesStats.ts index b9f436fbf8..84ff263caa 100644 --- a/specification/specs/cluster/cluster_stats/ClusterNodesStats.ts +++ b/specification/specs/cluster/cluster_stats/ClusterNodesStats.ts @@ -1,13 +1,13 @@ class ClusterNodesStats { - count: ClusterNodeCount; - discovery_types: Dictionary; - fs: ClusterFileSystem; - ingest: ClusterIngestStats; - jvm: ClusterJvm; - network_types: ClusterNetworkTypes; - os: ClusterOperatingSystemStats; - packaging_types: NodePackagingType[]; - plugins: PluginStats[]; - process: ClusterProcess; - versions: string[]; + count: ClusterNodeCount + discovery_types: Dictionary + fs: ClusterFileSystem + ingest: ClusterIngestStats + jvm: ClusterJvm + network_types: ClusterNetworkTypes + os: ClusterOperatingSystemStats + packaging_types: NodePackagingType[] + plugins: PluginStats[] + process: ClusterProcess + versions: string[] } diff --git a/specification/specs/cluster/cluster_stats/ClusterOperatingSystemName.ts b/specification/specs/cluster/cluster_stats/ClusterOperatingSystemName.ts index 3bafbeec90..ef3e654ecd 100644 --- a/specification/specs/cluster/cluster_stats/ClusterOperatingSystemName.ts +++ b/specification/specs/cluster/cluster_stats/ClusterOperatingSystemName.ts @@ -1,4 +1,4 @@ class ClusterOperatingSystemName { - count: integer; - name: string; + count: integer + name: string } diff --git a/specification/specs/cluster/cluster_stats/ClusterOperatingSystemStats.ts b/specification/specs/cluster/cluster_stats/ClusterOperatingSystemStats.ts index 3492ab3c24..104a3eca06 100644 --- a/specification/specs/cluster/cluster_stats/ClusterOperatingSystemStats.ts +++ b/specification/specs/cluster/cluster_stats/ClusterOperatingSystemStats.ts @@ -1,7 +1,7 @@ class ClusterOperatingSystemStats { - allocated_processors: integer; - available_processors: integer; - mem: OperatingSystemMemoryInfo; - names: ClusterOperatingSystemName[]; - pretty_names: ClusterOperatingSystemPrettyNane[]; + allocated_processors: integer + available_processors: integer + mem: OperatingSystemMemoryInfo + names: ClusterOperatingSystemName[] + pretty_names: ClusterOperatingSystemPrettyNane[] } diff --git a/specification/specs/cluster/cluster_stats/ClusterProcess.ts b/specification/specs/cluster/cluster_stats/ClusterProcess.ts index 3d92058a3d..ed5d761cc7 100644 --- a/specification/specs/cluster/cluster_stats/ClusterProcess.ts +++ b/specification/specs/cluster/cluster_stats/ClusterProcess.ts @@ -1,4 +1,4 @@ class ClusterProcess { - cpu: ClusterProcessCpu; - open_file_descriptors: ClusterProcessOpenFileDescriptors; + cpu: ClusterProcessCpu + open_file_descriptors: ClusterProcessOpenFileDescriptors } diff --git a/specification/specs/cluster/cluster_stats/ClusterProcessCpu.ts b/specification/specs/cluster/cluster_stats/ClusterProcessCpu.ts index 3fd03767cc..c76395904a 100644 --- a/specification/specs/cluster/cluster_stats/ClusterProcessCpu.ts +++ b/specification/specs/cluster/cluster_stats/ClusterProcessCpu.ts @@ -1,3 +1,3 @@ class ClusterProcessCpu { - percent: integer; + percent: integer } diff --git a/specification/specs/cluster/cluster_stats/ClusterProcessOpenFileDescriptors.ts b/specification/specs/cluster/cluster_stats/ClusterProcessOpenFileDescriptors.ts index 03b065da97..f3c0b1bfec 100644 --- a/specification/specs/cluster/cluster_stats/ClusterProcessOpenFileDescriptors.ts +++ b/specification/specs/cluster/cluster_stats/ClusterProcessOpenFileDescriptors.ts @@ -1,5 +1,5 @@ class ClusterProcessOpenFileDescriptors { - avg: long; - max: long; - min: long; + avg: long + max: long + min: long } diff --git a/specification/specs/cluster/cluster_stats/ClusterProcessorStats.ts b/specification/specs/cluster/cluster_stats/ClusterProcessorStats.ts index 962ffbdf44..c1b26c57b5 100644 --- a/specification/specs/cluster/cluster_stats/ClusterProcessorStats.ts +++ b/specification/specs/cluster/cluster_stats/ClusterProcessorStats.ts @@ -1,6 +1,6 @@ class ClusterProcessorStats { - count: long; - current: long; - failed: long; - time_in_millis: long; + count: long + current: long + failed: long + time_in_millis: long } diff --git a/specification/specs/cluster/cluster_stats/ClusterShardMetrics.ts b/specification/specs/cluster/cluster_stats/ClusterShardMetrics.ts index b814176e54..c5cdfba0f2 100644 --- a/specification/specs/cluster/cluster_stats/ClusterShardMetrics.ts +++ b/specification/specs/cluster/cluster_stats/ClusterShardMetrics.ts @@ -1,5 +1,5 @@ class ClusterShardMetrics { - avg: double; - max: double; - min: double; + avg: double + max: double + min: double } diff --git a/specification/specs/cluster/cluster_stats/ClusterStatsRequest.ts b/specification/specs/cluster/cluster_stats/ClusterStatsRequest.ts index 1ae485e876..29e2167152 100644 --- a/specification/specs/cluster/cluster_stats/ClusterStatsRequest.ts +++ b/specification/specs/cluster/cluster_stats/ClusterStatsRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("cluster.stats") +@rest_spec_name('cluster.stats') class ClusterStatsRequest extends RequestBase { path_parts?: { - node_id?: NodeIds; + node_id?: NodeIds } query_parameters?: { - flat_settings?: boolean; - timeout?: Time; - } - body?: { + flat_settings?: boolean + timeout?: Time } + body?: {} } diff --git a/specification/specs/cluster/cluster_stats/ClusterStatsResponse.ts b/specification/specs/cluster/cluster_stats/ClusterStatsResponse.ts index 7394fecab4..adb4206f72 100644 --- a/specification/specs/cluster/cluster_stats/ClusterStatsResponse.ts +++ b/specification/specs/cluster/cluster_stats/ClusterStatsResponse.ts @@ -1,8 +1,8 @@ class ClusterStatsResponse extends NodesResponseBase { - cluster_name: string; - cluster_uuid: string; - indices: ClusterIndicesStats; - nodes: ClusterNodesStats; - status: ClusterStatus; - timestamp: long; + cluster_name: string + cluster_uuid: string + indices: ClusterIndicesStats + nodes: ClusterNodesStats + status: ClusterStatus + timestamp: long } diff --git a/specification/specs/cluster/cluster_stats/NodePackagingType.ts b/specification/specs/cluster/cluster_stats/NodePackagingType.ts index 226c4d4e39..29ca80aed0 100644 --- a/specification/specs/cluster/cluster_stats/NodePackagingType.ts +++ b/specification/specs/cluster/cluster_stats/NodePackagingType.ts @@ -1,5 +1,5 @@ class NodePackagingType { - count: integer; - flavor: string; - type: string; + count: integer + flavor: string + type: string } diff --git a/specification/specs/cluster/cluster_stats/OperatingSystemMemoryInfo.ts b/specification/specs/cluster/cluster_stats/OperatingSystemMemoryInfo.ts index 89f93bd6e4..cd2e0cc03e 100644 --- a/specification/specs/cluster/cluster_stats/OperatingSystemMemoryInfo.ts +++ b/specification/specs/cluster/cluster_stats/OperatingSystemMemoryInfo.ts @@ -1,7 +1,7 @@ class OperatingSystemMemoryInfo { - free_in_bytes: long; - free_percent: integer; - total_in_bytes: long; - used_in_bytes: long; - used_percent: integer; + free_in_bytes: long + free_percent: integer + total_in_bytes: long + used_in_bytes: long + used_percent: integer } diff --git a/specification/specs/cluster/nodes_hot_threads/HotThreadInformation.ts b/specification/specs/cluster/nodes_hot_threads/HotThreadInformation.ts index 411b9b392b..f07bd5b192 100644 --- a/specification/specs/cluster/nodes_hot_threads/HotThreadInformation.ts +++ b/specification/specs/cluster/nodes_hot_threads/HotThreadInformation.ts @@ -1,6 +1,6 @@ class HotThreadInformation { - hosts: string[]; - node_id: string; - node_name: string; - threads: string[]; + hosts: string[] + node_id: string + node_name: string + threads: string[] } diff --git a/specification/specs/cluster/nodes_hot_threads/NodesHotThreadsRequest.ts b/specification/specs/cluster/nodes_hot_threads/NodesHotThreadsRequest.ts index 87d7d923e2..01db5621a3 100644 --- a/specification/specs/cluster/nodes_hot_threads/NodesHotThreadsRequest.ts +++ b/specification/specs/cluster/nodes_hot_threads/NodesHotThreadsRequest.ts @@ -1,16 +1,15 @@ -@rest_spec_name("nodes.hot_threads") +@rest_spec_name('nodes.hot_threads') class NodesHotThreadsRequest extends RequestBase { path_parts?: { - node_id?: NodeIds; + node_id?: NodeIds } query_parameters?: { - ignore_idle_threads?: boolean; - interval?: Time; - snapshots?: long; - threads?: long; - thread_type?: ThreadType; - timeout?: Time; - } - body?: { + ignore_idle_threads?: boolean + interval?: Time + snapshots?: long + threads?: long + thread_type?: ThreadType + timeout?: Time } + body?: {} } diff --git a/specification/specs/cluster/nodes_hot_threads/NodesHotThreadsResponse.ts b/specification/specs/cluster/nodes_hot_threads/NodesHotThreadsResponse.ts index be669e3616..e575f7493d 100644 --- a/specification/specs/cluster/nodes_hot_threads/NodesHotThreadsResponse.ts +++ b/specification/specs/cluster/nodes_hot_threads/NodesHotThreadsResponse.ts @@ -1,3 +1,3 @@ class NodesHotThreadsResponse extends ResponseBase { - hot_threads: HotThreadInformation[]; + hot_threads: HotThreadInformation[] } diff --git a/specification/specs/cluster/nodes_info/ClusterOperatingSystemPrettyNane.ts b/specification/specs/cluster/nodes_info/ClusterOperatingSystemPrettyNane.ts index 89271a1e83..e456cc1bfe 100644 --- a/specification/specs/cluster/nodes_info/ClusterOperatingSystemPrettyNane.ts +++ b/specification/specs/cluster/nodes_info/ClusterOperatingSystemPrettyNane.ts @@ -1,4 +1,4 @@ class ClusterOperatingSystemPrettyNane { - count: integer; - pretty_name: string; + count: integer + pretty_name: string } diff --git a/specification/specs/cluster/nodes_info/NodeInfo.ts b/specification/specs/cluster/nodes_info/NodeInfo.ts index 3645b6e668..5b698832c5 100644 --- a/specification/specs/cluster/nodes_info/NodeInfo.ts +++ b/specification/specs/cluster/nodes_info/NodeInfo.ts @@ -1,23 +1,23 @@ class NodeInfo { - attributes: Dictionary; - build_flavor: string; - build_hash: string; - build_type: string; - host: string; - http: NodeInfoHttp; - ip: string; - jvm: NodeJvmInfo; - name: string; - network: NodeInfoNetwork; - os: NodeOperatingSystemInfo; - plugins: PluginStats[]; - process: NodeProcessInfo; - roles: NodeRole[]; - settings: string[]; + attributes: Dictionary + build_flavor: string + build_hash: string + build_type: string + host: string + http: NodeInfoHttp + ip: string + jvm: NodeJvmInfo + name: string + network: NodeInfoNetwork + os: NodeOperatingSystemInfo + plugins: PluginStats[] + process: NodeProcessInfo + roles: NodeRole[] + settings: string[] /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - thread_pool: Dictionary; - total_indexing_buffer: long; - transport: NodeInfoTransport; - transport_address: string; - version: string; + thread_pool: Dictionary + total_indexing_buffer: long + transport: NodeInfoTransport + transport_address: string + version: string } diff --git a/specification/specs/cluster/nodes_info/NodeInfoHttp.ts b/specification/specs/cluster/nodes_info/NodeInfoHttp.ts index ad4561df2b..055ef8c625 100644 --- a/specification/specs/cluster/nodes_info/NodeInfoHttp.ts +++ b/specification/specs/cluster/nodes_info/NodeInfoHttp.ts @@ -1,6 +1,6 @@ class NodeInfoHttp { - bound_address: string[]; - max_content_length: string; - max_content_length_in_bytes: long; - publish_address: string; + bound_address: string[] + max_content_length: string + max_content_length_in_bytes: long + publish_address: string } diff --git a/specification/specs/cluster/nodes_info/NodeInfoJvmMemory.ts b/specification/specs/cluster/nodes_info/NodeInfoJvmMemory.ts index f72969afe6..efcc1f2d6e 100644 --- a/specification/specs/cluster/nodes_info/NodeInfoJvmMemory.ts +++ b/specification/specs/cluster/nodes_info/NodeInfoJvmMemory.ts @@ -1,12 +1,12 @@ class NodeInfoJvmMemory { - direct_max: string; - direct_max_in_bytes: long; - heap_init: string; - heap_init_in_bytes: long; - heap_max: string; - heap_max_in_bytes: long; - non_heap_init: string; - non_heap_init_in_bytes: long; - non_heap_max: string; - non_heap_max_in_bytes: long; + direct_max: string + direct_max_in_bytes: long + heap_init: string + heap_init_in_bytes: long + heap_max: string + heap_max_in_bytes: long + non_heap_init: string + non_heap_init_in_bytes: long + non_heap_max: string + non_heap_max_in_bytes: long } diff --git a/specification/specs/cluster/nodes_info/NodeInfoMemory.ts b/specification/specs/cluster/nodes_info/NodeInfoMemory.ts index 15da956b85..f0fa9d219d 100644 --- a/specification/specs/cluster/nodes_info/NodeInfoMemory.ts +++ b/specification/specs/cluster/nodes_info/NodeInfoMemory.ts @@ -1,4 +1,4 @@ class NodeInfoMemory { - total: string; - total_in_bytes: long; + total: string + total_in_bytes: long } diff --git a/specification/specs/cluster/nodes_info/NodeInfoNetwork.ts b/specification/specs/cluster/nodes_info/NodeInfoNetwork.ts index 3d9786f88f..6620e267b9 100644 --- a/specification/specs/cluster/nodes_info/NodeInfoNetwork.ts +++ b/specification/specs/cluster/nodes_info/NodeInfoNetwork.ts @@ -1,4 +1,4 @@ class NodeInfoNetwork { - primary_interface: NodeInfoNetworkInterface; - refresh_interval: integer; + primary_interface: NodeInfoNetworkInterface + refresh_interval: integer } diff --git a/specification/specs/cluster/nodes_info/NodeInfoNetworkInterface.ts b/specification/specs/cluster/nodes_info/NodeInfoNetworkInterface.ts index 8403ccdb15..4b2418fcbf 100644 --- a/specification/specs/cluster/nodes_info/NodeInfoNetworkInterface.ts +++ b/specification/specs/cluster/nodes_info/NodeInfoNetworkInterface.ts @@ -1,5 +1,5 @@ class NodeInfoNetworkInterface { - address: string; - mac_address: string; - name: string; + address: string + mac_address: string + name: string } diff --git a/specification/specs/cluster/nodes_info/NodeInfoOSCPU.ts b/specification/specs/cluster/nodes_info/NodeInfoOSCPU.ts index b3564c8c4a..9391005d57 100644 --- a/specification/specs/cluster/nodes_info/NodeInfoOSCPU.ts +++ b/specification/specs/cluster/nodes_info/NodeInfoOSCPU.ts @@ -1,10 +1,10 @@ class NodeInfoOSCPU { - cache_size: string; - cache_size_in_bytes: integer; - cores_per_socket: integer; - mhz: integer; - model: string; - total_cores: integer; - total_sockets: integer; - vendor: string; + cache_size: string + cache_size_in_bytes: integer + cores_per_socket: integer + mhz: integer + model: string + total_cores: integer + total_sockets: integer + vendor: string } diff --git a/specification/specs/cluster/nodes_info/NodeInfoTransport.ts b/specification/specs/cluster/nodes_info/NodeInfoTransport.ts index 1202e119ba..4402e28f60 100644 --- a/specification/specs/cluster/nodes_info/NodeInfoTransport.ts +++ b/specification/specs/cluster/nodes_info/NodeInfoTransport.ts @@ -1,4 +1,4 @@ class NodeInfoTransport { - bound_address: string[]; - publish_address: string; + bound_address: string[] + publish_address: string } diff --git a/specification/specs/cluster/nodes_info/NodeJvmInfo.ts b/specification/specs/cluster/nodes_info/NodeJvmInfo.ts index a0108c4e61..6ae068c05d 100644 --- a/specification/specs/cluster/nodes_info/NodeJvmInfo.ts +++ b/specification/specs/cluster/nodes_info/NodeJvmInfo.ts @@ -1,11 +1,11 @@ class NodeJvmInfo { - gc_collectors: string[]; - mem: NodeInfoJvmMemory; - memory_pools: string[]; - pid: integer; - start_time_in_millis: long; - version: string; - vm_name: string; - vm_vendor: string; - vm_version: string; + gc_collectors: string[] + mem: NodeInfoJvmMemory + memory_pools: string[] + pid: integer + start_time_in_millis: long + version: string + vm_name: string + vm_vendor: string + vm_version: string } diff --git a/specification/specs/cluster/nodes_info/NodeOperatingSystemInfo.ts b/specification/specs/cluster/nodes_info/NodeOperatingSystemInfo.ts index e0c543d74f..ef98031dd1 100644 --- a/specification/specs/cluster/nodes_info/NodeOperatingSystemInfo.ts +++ b/specification/specs/cluster/nodes_info/NodeOperatingSystemInfo.ts @@ -1,11 +1,11 @@ class NodeOperatingSystemInfo { - arch: string; - available_processors: integer; - cpu: NodeInfoOSCPU; - mem: NodeInfoMemory; - name: string; - pretty_name: string; - refresh_interval_in_millis: integer; - swap: NodeInfoMemory; - version: string; + arch: string + available_processors: integer + cpu: NodeInfoOSCPU + mem: NodeInfoMemory + name: string + pretty_name: string + refresh_interval_in_millis: integer + swap: NodeInfoMemory + version: string } diff --git a/specification/specs/cluster/nodes_info/NodeProcessInfo.ts b/specification/specs/cluster/nodes_info/NodeProcessInfo.ts index 3a93041c48..2853b24cf8 100644 --- a/specification/specs/cluster/nodes_info/NodeProcessInfo.ts +++ b/specification/specs/cluster/nodes_info/NodeProcessInfo.ts @@ -1,5 +1,5 @@ class NodeProcessInfo { - id: long; - mlockall: boolean; - refresh_interval_in_millis: long; + id: long + mlockall: boolean + refresh_interval_in_millis: long } diff --git a/specification/specs/cluster/nodes_info/NodeThreadPoolInfo.ts b/specification/specs/cluster/nodes_info/NodeThreadPoolInfo.ts index 8f7c83a647..1abc146ac1 100644 --- a/specification/specs/cluster/nodes_info/NodeThreadPoolInfo.ts +++ b/specification/specs/cluster/nodes_info/NodeThreadPoolInfo.ts @@ -1,8 +1,8 @@ class NodeThreadPoolInfo { - core: integer; - keep_alive: string; - max: integer; - queue_size: integer; - size: integer; - type: string; + core: integer + keep_alive: string + max: integer + queue_size: integer + size: integer + type: string } diff --git a/specification/specs/cluster/nodes_info/NodesInfoRequest.ts b/specification/specs/cluster/nodes_info/NodesInfoRequest.ts index ba99205ac3..2a9bda639b 100644 --- a/specification/specs/cluster/nodes_info/NodesInfoRequest.ts +++ b/specification/specs/cluster/nodes_info/NodesInfoRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("nodes.info") +@rest_spec_name('nodes.info') class NodesInfoRequest extends RequestBase { path_parts?: { - node_id?: NodeIds; - metric?: Metrics; + node_id?: NodeIds + metric?: Metrics } query_parameters?: { - flat_settings?: boolean; - timeout?: Time; - } - body?: { + flat_settings?: boolean + timeout?: Time } + body?: {} } diff --git a/specification/specs/cluster/nodes_info/NodesInfoResponse.ts b/specification/specs/cluster/nodes_info/NodesInfoResponse.ts index 2759f09341..823aa7b232 100644 --- a/specification/specs/cluster/nodes_info/NodesInfoResponse.ts +++ b/specification/specs/cluster/nodes_info/NodesInfoResponse.ts @@ -1,5 +1,5 @@ class NodesInfoResponse extends NodesResponseBase { - cluster_name: string; + cluster_name: string /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - nodes: Dictionary; + nodes: Dictionary } diff --git a/specification/specs/cluster/nodes_stats/AdaptiveSelectionStats.ts b/specification/specs/cluster/nodes_stats/AdaptiveSelectionStats.ts index 6a92ab422f..81cfc34613 100644 --- a/specification/specs/cluster/nodes_stats/AdaptiveSelectionStats.ts +++ b/specification/specs/cluster/nodes_stats/AdaptiveSelectionStats.ts @@ -1,9 +1,9 @@ class AdaptiveSelectionStats { - avg_queue_size: long; - avg_response_time: long; - avg_response_time_ns: long; - avg_service_time: string; - avg_service_time_ns: long; - outgoing_searches: long; - rank: string; + avg_queue_size: long + avg_response_time: long + avg_response_time_ns: long + avg_service_time: string + avg_service_time_ns: long + outgoing_searches: long + rank: string } diff --git a/specification/specs/cluster/nodes_stats/BreakerStats.ts b/specification/specs/cluster/nodes_stats/BreakerStats.ts index 6a76761745..3e9d14bc37 100644 --- a/specification/specs/cluster/nodes_stats/BreakerStats.ts +++ b/specification/specs/cluster/nodes_stats/BreakerStats.ts @@ -1,8 +1,8 @@ class BreakerStats { - estimated_size: string; - estimated_size_in_bytes: long; - limit_size: string; - limit_size_in_bytes: long; - overhead: float; - tripped: float; + estimated_size: string + estimated_size_in_bytes: long + limit_size: string + limit_size_in_bytes: long + overhead: float + tripped: float } diff --git a/specification/specs/cluster/nodes_stats/CPUStats.ts b/specification/specs/cluster/nodes_stats/CPUStats.ts index be50166faf..f0008cd962 100644 --- a/specification/specs/cluster/nodes_stats/CPUStats.ts +++ b/specification/specs/cluster/nodes_stats/CPUStats.ts @@ -1,9 +1,9 @@ class CPUStats { - percent: integer; - sys: string; - sys_in_millis: long; - total: string; - total_in_millis: long; - user: string; - user_in_millis: long; + percent: integer + sys: string + sys_in_millis: long + total: string + total_in_millis: long + user: string + user_in_millis: long } diff --git a/specification/specs/cluster/nodes_stats/DataPathStats.ts b/specification/specs/cluster/nodes_stats/DataPathStats.ts index 7e89d280d4..a23579a291 100644 --- a/specification/specs/cluster/nodes_stats/DataPathStats.ts +++ b/specification/specs/cluster/nodes_stats/DataPathStats.ts @@ -1,18 +1,18 @@ class DataPathStats { - available: string; - available_in_bytes: long; - disk_queue: string; - disk_reads: long; - disk_read_size: string; - disk_read_size_in_bytes: long; - disk_writes: long; - disk_write_size: string; - disk_write_size_in_bytes: long; - free: string; - free_in_bytes: long; - mount: string; - path: string; - total: string; - total_in_bytes: long; - type: string; + available: string + available_in_bytes: long + disk_queue: string + disk_reads: long + disk_read_size: string + disk_read_size_in_bytes: long + disk_writes: long + disk_write_size: string + disk_write_size_in_bytes: long + free: string + free_in_bytes: long + mount: string + path: string + total: string + total_in_bytes: long + type: string } diff --git a/specification/specs/cluster/nodes_stats/ExtendedMemoryStats.ts b/specification/specs/cluster/nodes_stats/ExtendedMemoryStats.ts index ec2d41aee2..2ddfe8b006 100644 --- a/specification/specs/cluster/nodes_stats/ExtendedMemoryStats.ts +++ b/specification/specs/cluster/nodes_stats/ExtendedMemoryStats.ts @@ -1,4 +1,4 @@ class ExtendedMemoryStats extends MemoryStats { - free_percent: integer; - used_percent: integer; + free_percent: integer + used_percent: integer } diff --git a/specification/specs/cluster/nodes_stats/FileSystemStats.ts b/specification/specs/cluster/nodes_stats/FileSystemStats.ts index 023595a010..fdebcac23a 100644 --- a/specification/specs/cluster/nodes_stats/FileSystemStats.ts +++ b/specification/specs/cluster/nodes_stats/FileSystemStats.ts @@ -1,5 +1,5 @@ class FileSystemStats { - data: DataPathStats[]; - timestamp: long; - total: TotalFileSystemStats; + data: DataPathStats[] + timestamp: long + total: TotalFileSystemStats } diff --git a/specification/specs/cluster/nodes_stats/GarbageCollectionGenerationStats.ts b/specification/specs/cluster/nodes_stats/GarbageCollectionGenerationStats.ts index ae34a51b9c..b445bfbd3c 100644 --- a/specification/specs/cluster/nodes_stats/GarbageCollectionGenerationStats.ts +++ b/specification/specs/cluster/nodes_stats/GarbageCollectionGenerationStats.ts @@ -1,5 +1,5 @@ class GarbageCollectionGenerationStats { - collection_count: long; - collection_time: string; - collection_time_in_millis: long; + collection_count: long + collection_time: string + collection_time_in_millis: long } diff --git a/specification/specs/cluster/nodes_stats/GarbageCollectionStats.ts b/specification/specs/cluster/nodes_stats/GarbageCollectionStats.ts index 106bd742db..ff8282a482 100644 --- a/specification/specs/cluster/nodes_stats/GarbageCollectionStats.ts +++ b/specification/specs/cluster/nodes_stats/GarbageCollectionStats.ts @@ -1,4 +1,4 @@ class GarbageCollectionStats { /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - collectors: Dictionary; + collectors: Dictionary } diff --git a/specification/specs/cluster/nodes_stats/HttpStats.ts b/specification/specs/cluster/nodes_stats/HttpStats.ts index b7152f399d..90471b6da2 100644 --- a/specification/specs/cluster/nodes_stats/HttpStats.ts +++ b/specification/specs/cluster/nodes_stats/HttpStats.ts @@ -1,4 +1,4 @@ class HttpStats { - current_open: integer; - total_opened: long; + current_open: integer + total_opened: long } diff --git a/specification/specs/cluster/nodes_stats/JvmClassesStats.ts b/specification/specs/cluster/nodes_stats/JvmClassesStats.ts index 56d72f7aa2..3750112ad8 100644 --- a/specification/specs/cluster/nodes_stats/JvmClassesStats.ts +++ b/specification/specs/cluster/nodes_stats/JvmClassesStats.ts @@ -1,5 +1,5 @@ class JvmClassesStats { - current_loaded_count: long; - total_loaded_count: long; - total_unloaded_count: long; + current_loaded_count: long + total_loaded_count: long + total_unloaded_count: long } diff --git a/specification/specs/cluster/nodes_stats/JvmPool.ts b/specification/specs/cluster/nodes_stats/JvmPool.ts index 6169b6130a..8711f241be 100644 --- a/specification/specs/cluster/nodes_stats/JvmPool.ts +++ b/specification/specs/cluster/nodes_stats/JvmPool.ts @@ -1,10 +1,10 @@ class JvmPool { - max: string; - max_in_bytes: long; - peak_max: string; - peak_max_in_bytes: long; - peak_used: string; - peak_used_in_bytes: long; - used: string; - used_in_bytes: long; + max: string + max_in_bytes: long + peak_max: string + peak_max_in_bytes: long + peak_used: string + peak_used_in_bytes: long + used: string + used_in_bytes: long } diff --git a/specification/specs/cluster/nodes_stats/LoadAverageStats.ts b/specification/specs/cluster/nodes_stats/LoadAverageStats.ts index d69d89cea8..b4b746306e 100644 --- a/specification/specs/cluster/nodes_stats/LoadAverageStats.ts +++ b/specification/specs/cluster/nodes_stats/LoadAverageStats.ts @@ -1,5 +1,5 @@ class LoadAverageStats { - '15m': float; - '5m': float; - '1m': float; + '15m': float + '5m': float + '1m': float } diff --git a/specification/specs/cluster/nodes_stats/MemoryStats.ts b/specification/specs/cluster/nodes_stats/MemoryStats.ts index ec8d8620b7..9274c3a533 100644 --- a/specification/specs/cluster/nodes_stats/MemoryStats.ts +++ b/specification/specs/cluster/nodes_stats/MemoryStats.ts @@ -1,8 +1,8 @@ class MemoryStats { - resident: string; - resident_in_bytes: long; - share: string; - share_in_bytes: long; - total_virtual: string; - total_virtual_in_bytes: long; + resident: string + resident_in_bytes: long + share: string + share_in_bytes: long + total_virtual: string + total_virtual_in_bytes: long } diff --git a/specification/specs/cluster/nodes_stats/NodeBufferPool.ts b/specification/specs/cluster/nodes_stats/NodeBufferPool.ts index 4e32c350d6..d6775aac7a 100644 --- a/specification/specs/cluster/nodes_stats/NodeBufferPool.ts +++ b/specification/specs/cluster/nodes_stats/NodeBufferPool.ts @@ -1,7 +1,7 @@ class NodeBufferPool { - count: long; - total_capacity: string; - total_capacity_in_bytes: long; - used: string; - used_in_bytes: long; + count: long + total_capacity: string + total_capacity_in_bytes: long + used: string + used_in_bytes: long } diff --git a/specification/specs/cluster/nodes_stats/NodeJvmStats.ts b/specification/specs/cluster/nodes_stats/NodeJvmStats.ts index cfa9571844..83ae01a9d4 100644 --- a/specification/specs/cluster/nodes_stats/NodeJvmStats.ts +++ b/specification/specs/cluster/nodes_stats/NodeJvmStats.ts @@ -1,11 +1,11 @@ class NodeJvmStats { /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - buffer_pools: Dictionary; - classes: JvmClassesStats; - gc: GarbageCollectionStats; - mem: MemoryStats; - threads: ThreadStats; - timestamp: long; - uptime: string; - uptime_in_millis: long; + buffer_pools: Dictionary + classes: JvmClassesStats + gc: GarbageCollectionStats + mem: MemoryStats + threads: ThreadStats + timestamp: long + uptime: string + uptime_in_millis: long } diff --git a/specification/specs/cluster/nodes_stats/NodeStats.ts b/specification/specs/cluster/nodes_stats/NodeStats.ts index 38e6469e53..4b58ddb840 100644 --- a/specification/specs/cluster/nodes_stats/NodeStats.ts +++ b/specification/specs/cluster/nodes_stats/NodeStats.ts @@ -1,24 +1,24 @@ class NodeStats { /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - adaptive_selection: Dictionary; + adaptive_selection: Dictionary /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - breakers: Dictionary; - fs: FileSystemStats; - host: string; - http: HttpStats; - indices: IndexStats; - ingest: NodeIngestStats; + breakers: Dictionary + fs: FileSystemStats + host: string + http: HttpStats + indices: IndexStats + ingest: NodeIngestStats /** @prop_serializer SingleOrEnumerableFormatter`1 */ - ip: string[]; - jvm: NodeJvmStats; - name: string; - os: OperatingSystemStats; - process: ProcessStats; - roles: NodeRole[]; - script: ScriptStats; + ip: string[] + jvm: NodeJvmStats + name: string + os: OperatingSystemStats + process: ProcessStats + roles: NodeRole[] + script: ScriptStats /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - thread_pool: Dictionary; - timestamp: long; - transport: TransportStats; - transport_address: string; + thread_pool: Dictionary + timestamp: long + transport: TransportStats + transport_address: string } diff --git a/specification/specs/cluster/nodes_stats/NodesStatsRequest.ts b/specification/specs/cluster/nodes_stats/NodesStatsRequest.ts index 066463761f..9a16e98e2a 100644 --- a/specification/specs/cluster/nodes_stats/NodesStatsRequest.ts +++ b/specification/specs/cluster/nodes_stats/NodesStatsRequest.ts @@ -1,20 +1,19 @@ -@rest_spec_name("nodes.stats") +@rest_spec_name('nodes.stats') class NodesStatsRequest extends RequestBase { path_parts?: { - node_id?: NodeIds; - metric?: Metrics; - index_metric?: Metrics; + node_id?: NodeIds + metric?: Metrics + index_metric?: Metrics } query_parameters?: { - completion_fields?: Field[]; - fielddata_fields?: Field[]; - fields?: Field[]; - groups?: boolean; - include_segment_file_sizes?: boolean; - level?: Level; - timeout?: Time; - types?: string[]; - } - body?: { + completion_fields?: Field[] + fielddata_fields?: Field[] + fields?: Field[] + groups?: boolean + include_segment_file_sizes?: boolean + level?: Level + timeout?: Time + types?: string[] } + body?: {} } diff --git a/specification/specs/cluster/nodes_stats/NodesStatsResponse.ts b/specification/specs/cluster/nodes_stats/NodesStatsResponse.ts index dd8d6de51e..5f6a9ae500 100644 --- a/specification/specs/cluster/nodes_stats/NodesStatsResponse.ts +++ b/specification/specs/cluster/nodes_stats/NodesStatsResponse.ts @@ -1,5 +1,5 @@ class NodesStatsResponse extends NodesResponseBase { - cluster_name: string; + cluster_name: string /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - nodes: Dictionary; + nodes: Dictionary } diff --git a/specification/specs/cluster/nodes_stats/OperatingSystemStats.ts b/specification/specs/cluster/nodes_stats/OperatingSystemStats.ts index 1d299e8487..abe8bdc212 100644 --- a/specification/specs/cluster/nodes_stats/OperatingSystemStats.ts +++ b/specification/specs/cluster/nodes_stats/OperatingSystemStats.ts @@ -1,6 +1,6 @@ class OperatingSystemStats { - cpu: CPUStats; - mem: ExtendedMemoryStats; - swap: MemoryStats; - timestamp: long; + cpu: CPUStats + mem: ExtendedMemoryStats + swap: MemoryStats + timestamp: long } diff --git a/specification/specs/cluster/nodes_stats/ProcessStats.ts b/specification/specs/cluster/nodes_stats/ProcessStats.ts index 01255568c8..63fce0488e 100644 --- a/specification/specs/cluster/nodes_stats/ProcessStats.ts +++ b/specification/specs/cluster/nodes_stats/ProcessStats.ts @@ -1,6 +1,6 @@ class ProcessStats { - cpu: CPUStats; - mem: MemoryStats; - open_file_descriptors: integer; - timestamp: long; + cpu: CPUStats + mem: MemoryStats + open_file_descriptors: integer + timestamp: long } diff --git a/specification/specs/cluster/nodes_stats/ScriptStats.ts b/specification/specs/cluster/nodes_stats/ScriptStats.ts index 094d589743..8cdb75e678 100644 --- a/specification/specs/cluster/nodes_stats/ScriptStats.ts +++ b/specification/specs/cluster/nodes_stats/ScriptStats.ts @@ -1,4 +1,4 @@ class ScriptStats { - cache_evictions: long; - compilations: long; + cache_evictions: long + compilations: long } diff --git a/specification/specs/cluster/nodes_stats/ThreadCountStats.ts b/specification/specs/cluster/nodes_stats/ThreadCountStats.ts index d6bb6a7405..ffe4e8a953 100644 --- a/specification/specs/cluster/nodes_stats/ThreadCountStats.ts +++ b/specification/specs/cluster/nodes_stats/ThreadCountStats.ts @@ -1,8 +1,8 @@ class ThreadCountStats { - active: long; - completed: long; - largest: long; - queue: long; - rejected: long; - threads: long; + active: long + completed: long + largest: long + queue: long + rejected: long + threads: long } diff --git a/specification/specs/cluster/nodes_stats/ThreadStats.ts b/specification/specs/cluster/nodes_stats/ThreadStats.ts index 565f8a54a0..5c30a8e670 100644 --- a/specification/specs/cluster/nodes_stats/ThreadStats.ts +++ b/specification/specs/cluster/nodes_stats/ThreadStats.ts @@ -1,4 +1,4 @@ class ThreadStats { - count: long; - peak_count: long; + count: long + peak_count: long } diff --git a/specification/specs/cluster/nodes_stats/TotalFileSystemStats.ts b/specification/specs/cluster/nodes_stats/TotalFileSystemStats.ts index b2a6437d6d..93afe74193 100644 --- a/specification/specs/cluster/nodes_stats/TotalFileSystemStats.ts +++ b/specification/specs/cluster/nodes_stats/TotalFileSystemStats.ts @@ -1,8 +1,8 @@ class TotalFileSystemStats { - available: string; - available_in_bytes: long; - free: string; - free_in_bytes: long; - total: string; - total_in_bytes: long; + available: string + available_in_bytes: long + free: string + free_in_bytes: long + total: string + total_in_bytes: long } diff --git a/specification/specs/cluster/nodes_stats/TransportStats.ts b/specification/specs/cluster/nodes_stats/TransportStats.ts index f049aae086..2457129fe0 100644 --- a/specification/specs/cluster/nodes_stats/TransportStats.ts +++ b/specification/specs/cluster/nodes_stats/TransportStats.ts @@ -1,9 +1,9 @@ class TransportStats { - rx_count: long; - rx_size: string; - rx_size_in_bytes: long; - server_open: integer; - tx_count: long; - tx_size: string; - tx_size_in_bytes: long; + rx_count: long + rx_size: string + rx_size_in_bytes: long + server_open: integer + tx_count: long + tx_size: string + tx_size_in_bytes: long } diff --git a/specification/specs/cluster/nodes_stats/statistics/IngestStats.ts b/specification/specs/cluster/nodes_stats/statistics/IngestStats.ts index ddfd13edbc..c7b0d05bd9 100644 --- a/specification/specs/cluster/nodes_stats/statistics/IngestStats.ts +++ b/specification/specs/cluster/nodes_stats/statistics/IngestStats.ts @@ -1,7 +1,7 @@ class IngestStats { - count: long; - current: long; - failed: long; - processors: KeyedProcessorStats[]; - time_in_millis: long; + count: long + current: long + failed: long + processors: KeyedProcessorStats[] + time_in_millis: long } diff --git a/specification/specs/cluster/nodes_stats/statistics/KeyedProcessorStats.ts b/specification/specs/cluster/nodes_stats/statistics/KeyedProcessorStats.ts index 2014e3ce60..d94fe87283 100644 --- a/specification/specs/cluster/nodes_stats/statistics/KeyedProcessorStats.ts +++ b/specification/specs/cluster/nodes_stats/statistics/KeyedProcessorStats.ts @@ -1,5 +1,5 @@ -@class_serializer("KeyedProcessorStatsFormatter") +@class_serializer('KeyedProcessorStatsFormatter') class KeyedProcessorStats { - statistics: ProcessStats; - type: string; + statistics: ProcessStats + type: string } diff --git a/specification/specs/cluster/nodes_stats/statistics/NodeIngestStats.ts b/specification/specs/cluster/nodes_stats/statistics/NodeIngestStats.ts index eb6a668dc9..fab890c5fe 100644 --- a/specification/specs/cluster/nodes_stats/statistics/NodeIngestStats.ts +++ b/specification/specs/cluster/nodes_stats/statistics/NodeIngestStats.ts @@ -1,5 +1,5 @@ class NodeIngestStats { /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - pipelines: Dictionary; - total: IngestStats; + pipelines: Dictionary + total: IngestStats } diff --git a/specification/specs/cluster/nodes_usage/NodeUsageInformation.ts b/specification/specs/cluster/nodes_usage/NodeUsageInformation.ts index 965ba2e434..f6571cc6ff 100644 --- a/specification/specs/cluster/nodes_usage/NodeUsageInformation.ts +++ b/specification/specs/cluster/nodes_usage/NodeUsageInformation.ts @@ -1,8 +1,8 @@ class NodeUsageInformation { - rest_actions: Dictionary; + rest_actions: Dictionary /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - since: Date; + since: Date /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - timestamp: Date; - aggregations: UserDefinedValue; + timestamp: Date + aggregations: UserDefinedValue } diff --git a/specification/specs/cluster/nodes_usage/NodesUsageRequest.ts b/specification/specs/cluster/nodes_usage/NodesUsageRequest.ts index 3e6bd58b24..2f19ba593a 100644 --- a/specification/specs/cluster/nodes_usage/NodesUsageRequest.ts +++ b/specification/specs/cluster/nodes_usage/NodesUsageRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("nodes.usage") +@rest_spec_name('nodes.usage') class NodesUsageRequest extends RequestBase { path_parts?: { - node_id?: NodeIds; - metric?: Metrics; + node_id?: NodeIds + metric?: Metrics } query_parameters?: { - timeout?: Time; - } - body?: { + timeout?: Time } + body?: {} } diff --git a/specification/specs/cluster/nodes_usage/NodesUsageResponse.ts b/specification/specs/cluster/nodes_usage/NodesUsageResponse.ts index ec5f219902..0d4aadee16 100644 --- a/specification/specs/cluster/nodes_usage/NodesUsageResponse.ts +++ b/specification/specs/cluster/nodes_usage/NodesUsageResponse.ts @@ -1,4 +1,4 @@ class NodesUsageResponse extends NodesResponseBase { - cluster_name: string; - nodes: Dictionary; + cluster_name: string + nodes: Dictionary } diff --git a/specification/specs/cluster/ping/PingRequest.ts b/specification/specs/cluster/ping/PingRequest.ts index 6be8bd2351..f71b07be25 100644 --- a/specification/specs/cluster/ping/PingRequest.ts +++ b/specification/specs/cluster/ping/PingRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("ping") +@rest_spec_name('ping') class PingRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/cluster/reload_secure_settings/ReloadSecureSettingsRequest.ts b/specification/specs/cluster/reload_secure_settings/ReloadSecureSettingsRequest.ts index 2fe9a7deb5..e382d56968 100644 --- a/specification/specs/cluster/reload_secure_settings/ReloadSecureSettingsRequest.ts +++ b/specification/specs/cluster/reload_secure_settings/ReloadSecureSettingsRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("nodes.reload_secure_settings") +@rest_spec_name('nodes.reload_secure_settings') class ReloadSecureSettingsRequest extends RequestBase { path_parts?: { - node_id?: NodeIds; + node_id?: NodeIds } query_parameters?: { - timeout?: Time; - } - body?: { + timeout?: Time } + body?: {} } diff --git a/specification/specs/cluster/reload_secure_settings/ReloadSecureSettingsResponse.ts b/specification/specs/cluster/reload_secure_settings/ReloadSecureSettingsResponse.ts index 09349283ed..a99661842e 100644 --- a/specification/specs/cluster/reload_secure_settings/ReloadSecureSettingsResponse.ts +++ b/specification/specs/cluster/reload_secure_settings/ReloadSecureSettingsResponse.ts @@ -1,5 +1,5 @@ class ReloadSecureSettingsResponse extends NodesResponseBase { - cluster_name: string; + cluster_name: string /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - nodes: Dictionary; + nodes: Dictionary } diff --git a/specification/specs/cluster/remote_info/RemoteInfo.ts b/specification/specs/cluster/remote_info/RemoteInfo.ts index b03f9ed2e3..0e690e0d48 100644 --- a/specification/specs/cluster/remote_info/RemoteInfo.ts +++ b/specification/specs/cluster/remote_info/RemoteInfo.ts @@ -1,8 +1,8 @@ class RemoteInfo { - connected: boolean; - initial_connect_timeout: Time; - max_connections_per_cluster: integer; - num_nodes_connected: long; - seeds: string[]; - skip_unavailable: boolean; + connected: boolean + initial_connect_timeout: Time + max_connections_per_cluster: integer + num_nodes_connected: long + seeds: string[] + skip_unavailable: boolean } diff --git a/specification/specs/cluster/remote_info/RemoteInfoRequest.ts b/specification/specs/cluster/remote_info/RemoteInfoRequest.ts index 6637ad413c..9cfc40fa3c 100644 --- a/specification/specs/cluster/remote_info/RemoteInfoRequest.ts +++ b/specification/specs/cluster/remote_info/RemoteInfoRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("cluster.remote_info") +@rest_spec_name('cluster.remote_info') class RemoteInfoRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/cluster/root_node_info/RootNodeInfoRequest.ts b/specification/specs/cluster/root_node_info/RootNodeInfoRequest.ts index 518fb1b8a8..524253c6ee 100644 --- a/specification/specs/cluster/root_node_info/RootNodeInfoRequest.ts +++ b/specification/specs/cluster/root_node_info/RootNodeInfoRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("info") +@rest_spec_name('info') class RootNodeInfoRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/cluster/root_node_info/RootNodeInfoResponse.ts b/specification/specs/cluster/root_node_info/RootNodeInfoResponse.ts index b381333aaa..afe5a12632 100644 --- a/specification/specs/cluster/root_node_info/RootNodeInfoResponse.ts +++ b/specification/specs/cluster/root_node_info/RootNodeInfoResponse.ts @@ -1,7 +1,7 @@ class RootNodeInfoResponse extends ResponseBase { - cluster_name: string; - cluster_uuid: string; - name: string; - tagline: string; - version: ElasticsearchVersionInfo; + cluster_name: string + cluster_uuid: string + name: string + tagline: string + version: ElasticsearchVersionInfo } diff --git a/specification/specs/cluster/task_management/cancel_tasks/CancelTasksRequest.ts b/specification/specs/cluster/task_management/cancel_tasks/CancelTasksRequest.ts index 66691b65ec..04e21c7e0c 100644 --- a/specification/specs/cluster/task_management/cancel_tasks/CancelTasksRequest.ts +++ b/specification/specs/cluster/task_management/cancel_tasks/CancelTasksRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("tasks.cancel") +@rest_spec_name('tasks.cancel') class CancelTasksRequest extends RequestBase { path_parts?: { - task_id?: TaskId; + task_id?: TaskId } query_parameters?: { - actions?: string[]; - nodes?: string[]; - parent_task_id?: string; - } - body?: { + actions?: string[] + nodes?: string[] + parent_task_id?: string } + body?: {} } diff --git a/specification/specs/cluster/task_management/cancel_tasks/CancelTasksResponse.ts b/specification/specs/cluster/task_management/cancel_tasks/CancelTasksResponse.ts index 8353b52e66..ccd9324e0d 100644 --- a/specification/specs/cluster/task_management/cancel_tasks/CancelTasksResponse.ts +++ b/specification/specs/cluster/task_management/cancel_tasks/CancelTasksResponse.ts @@ -1,4 +1,4 @@ class CancelTasksResponse extends ResponseBase { - node_failures: ErrorCause[]; - nodes: Dictionary; + node_failures: ErrorCause[] + nodes: Dictionary } diff --git a/specification/specs/cluster/task_management/get_task/GetTaskRequest.ts b/specification/specs/cluster/task_management/get_task/GetTaskRequest.ts index 23bae61bf2..48fda0533e 100644 --- a/specification/specs/cluster/task_management/get_task/GetTaskRequest.ts +++ b/specification/specs/cluster/task_management/get_task/GetTaskRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("tasks.get") +@rest_spec_name('tasks.get') class GetTaskRequest extends RequestBase { path_parts?: { - task_id: Id; + task_id: Id } query_parameters?: { - timeout?: Time; - wait_for_completion?: boolean; - } - body?: { + timeout?: Time + wait_for_completion?: boolean } + body?: {} } diff --git a/specification/specs/cluster/task_management/get_task/GetTaskResponse.ts b/specification/specs/cluster/task_management/get_task/GetTaskResponse.ts index 108ba4e48e..870f863742 100644 --- a/specification/specs/cluster/task_management/get_task/GetTaskResponse.ts +++ b/specification/specs/cluster/task_management/get_task/GetTaskResponse.ts @@ -1,4 +1,4 @@ class GetTaskResponse extends ResponseBase { - completed: boolean; - task: TaskInfo; + completed: boolean + task: TaskInfo } diff --git a/specification/specs/cluster/task_management/get_task/TaskInfo.ts b/specification/specs/cluster/task_management/get_task/TaskInfo.ts index 43d0ec22b2..9a95f6945d 100644 --- a/specification/specs/cluster/task_management/get_task/TaskInfo.ts +++ b/specification/specs/cluster/task_management/get_task/TaskInfo.ts @@ -1,13 +1,13 @@ class TaskInfo { - action: string; - cancellable: boolean; - children: TaskInfo[]; - description: string; - headers: Dictionary; - id: long; - node: string; - running_time_in_nanos: long; - start_time_in_millis: long; - status: TaskStatus; - type: string; + action: string + cancellable: boolean + children: TaskInfo[] + description: string + headers: Dictionary + id: long + node: string + running_time_in_nanos: long + start_time_in_millis: long + status: TaskStatus + type: string } diff --git a/specification/specs/cluster/task_management/list_tasks/ListTasksRequest.ts b/specification/specs/cluster/task_management/list_tasks/ListTasksRequest.ts index bcf89cad48..053e7bf57d 100644 --- a/specification/specs/cluster/task_management/list_tasks/ListTasksRequest.ts +++ b/specification/specs/cluster/task_management/list_tasks/ListTasksRequest.ts @@ -1,14 +1,13 @@ -@rest_spec_name("tasks.list") +@rest_spec_name('tasks.list') class ListTasksRequest extends RequestBase { query_parameters?: { - actions?: string[]; - detailed?: boolean; - group_by?: GroupBy; - nodes?: string[]; - parent_task_id?: string; - timeout?: Time; - wait_for_completion?: boolean; - } - body?: { + actions?: string[] + detailed?: boolean + group_by?: GroupBy + nodes?: string[] + parent_task_id?: string + timeout?: Time + wait_for_completion?: boolean } + body?: {} } diff --git a/specification/specs/cluster/task_management/list_tasks/ListTasksResponse.ts b/specification/specs/cluster/task_management/list_tasks/ListTasksResponse.ts index 657d801661..375c966c8e 100644 --- a/specification/specs/cluster/task_management/list_tasks/ListTasksResponse.ts +++ b/specification/specs/cluster/task_management/list_tasks/ListTasksResponse.ts @@ -1,4 +1,4 @@ class ListTasksResponse extends ResponseBase { - node_failures: ErrorCause[]; - nodes: Dictionary; + node_failures: ErrorCause[] + nodes: Dictionary } diff --git a/specification/specs/cluster/task_management/list_tasks/TaskExecutingNode.ts b/specification/specs/cluster/task_management/list_tasks/TaskExecutingNode.ts index 09e884d34a..f3421c93aa 100644 --- a/specification/specs/cluster/task_management/list_tasks/TaskExecutingNode.ts +++ b/specification/specs/cluster/task_management/list_tasks/TaskExecutingNode.ts @@ -1,10 +1,10 @@ class TaskExecutingNode { /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - attributes: Dictionary; - host: string; - ip: string; - name: string; - roles: string[]; - tasks: Dictionary; - transport_address: string; + attributes: Dictionary + host: string + ip: string + name: string + roles: string[] + tasks: Dictionary + transport_address: string } diff --git a/specification/specs/cluster/task_management/list_tasks/TaskRetries.ts b/specification/specs/cluster/task_management/list_tasks/TaskRetries.ts index 9c6e0cbd9b..46ff0a933d 100644 --- a/specification/specs/cluster/task_management/list_tasks/TaskRetries.ts +++ b/specification/specs/cluster/task_management/list_tasks/TaskRetries.ts @@ -1,4 +1,4 @@ class TaskRetries { - bulk: integer; - search: integer; + bulk: integer + search: integer } diff --git a/specification/specs/cluster/task_management/list_tasks/TaskState.ts b/specification/specs/cluster/task_management/list_tasks/TaskState.ts index e65cff779c..2be00ff83d 100644 --- a/specification/specs/cluster/task_management/list_tasks/TaskState.ts +++ b/specification/specs/cluster/task_management/list_tasks/TaskState.ts @@ -1,13 +1,13 @@ class TaskState { - action: string; - cancellable: boolean; - description: string; - headers: Dictionary; - id: long; - node: string; - parent_task_id: TaskId; - running_time_in_nanos: long; - start_time_in_millis: long; - status: TaskStatus; - type: string; + action: string + cancellable: boolean + description: string + headers: Dictionary + id: long + node: string + parent_task_id: TaskId + running_time_in_nanos: long + start_time_in_millis: long + status: TaskStatus + type: string } diff --git a/specification/specs/cluster/task_management/list_tasks/TaskStatus.ts b/specification/specs/cluster/task_management/list_tasks/TaskStatus.ts index 11e95a0ba0..313eba19b1 100644 --- a/specification/specs/cluster/task_management/list_tasks/TaskStatus.ts +++ b/specification/specs/cluster/task_management/list_tasks/TaskStatus.ts @@ -1,13 +1,13 @@ class TaskStatus { - batches: long; - created: long; - deleted: long; - noops: long; - requests_per_second: float; - retries: TaskRetries; - throttled_millis: long; - throttled_until_millis: long; - total: long; - updated: long; - version_conflicts: long; + batches: long + created: long + deleted: long + noops: long + requests_per_second: float + retries: TaskRetries + throttled_millis: long + throttled_until_millis: long + total: long + updated: long + version_conflicts: long } diff --git a/specification/specs/common.ts b/specification/specs/common.ts index eb5d74582b..4ed7b6c10d 100644 --- a/specification/specs/common.ts +++ b/specification/specs/common.ts @@ -1,9 +1,18 @@ - -function class_serializer(ns: string) {return function (ns: any){}} -function rest_spec_name(ns: string) {return function (ns: any){}} -function prop_serializer(ns: string) {return function (ns: any, x:any){}} -function request_parameter() {return function (ns: any, x:any){}} -function namespace(ns: string) {return function (ns: any){}} +function class_serializer(ns: string) { + return function (ns: any) {} +} +function rest_spec_name(ns: string) { + return function (ns: any) {} +} +function prop_serializer(ns: string) { + return function (ns: any, x: any) {} +} +function request_parameter() { + return function (ns: any, x: any) {} +} +function namespace(ns: string) { + return function (ns: any) {} +} type Uri = string // this should be `type Date = string`, but `Date` is already defined by TS @@ -11,39 +20,39 @@ type Uri = string interface Date {} type TimeSpan = string interface SourceDocument {} -@class_serializer("ErrorCauseFormatter") +@class_serializer('ErrorCauseFormatter') class ErrorCause { - type: string; - reason: string; + type: string + reason: string - caused_by?: ErrorCause; - shard?: Union; - stack_trace?: string; + caused_by?: ErrorCause + shard?: Union + stack_trace?: string - bytes_limit?: long; - bytes_wanted?: long; - column?: integer; - col?: integer; - failed_shards?: ShardFailure[]; - grouped?: boolean; - index?: string; - index_uuid?: string; - language?: string; - licensed_expired_feature?: string; - line?: integer; - max_buckets?: integer; - phase?: string; - resource_id?: string[]; - 'resource.id'?: string; - resource_type?: string; - 'resource.type'?: string; - script?: string; - script_stack?: string[]; + bytes_limit?: long + bytes_wanted?: long + column?: integer + col?: integer + failed_shards?: ShardFailure[] + grouped?: boolean + index?: string + index_uuid?: string + language?: string + licensed_expired_feature?: string + line?: integer + max_buckets?: integer + phase?: string + resource_id?: string[] + 'resource.id'?: string + resource_type?: string + 'resource.type'?: string + script?: string + script_stack?: string[] } -@class_serializer("ErrorFormatter") +@class_serializer('ErrorFormatter') class MainError extends ErrorCause { - headers?: Dictionary; - root_cause: ErrorCause[]; + headers?: Dictionary + root_cause: ErrorCause[] } type short = number type byte = number @@ -89,7 +98,6 @@ type GeoHashPrecision = number /** Path to field or array of paths. Some API's support wildcards in the path to select multiple fields. */ type Fields = Field | Field[] - /** * The aggregation name as returned from the server. Depending whether typed_keys is specified this could come back * in the form of `name#type` instead of simply `name` @@ -98,9 +106,9 @@ type AggregateName = string /** A reference to a date field with formatting instructions on how to return the date */ class DateField { - field: Field; - format?: string; - include_unmapped?: boolean; + field: Field + format?: string + include_unmapped?: boolean } /** Rather then documenting `object` this specifies places in the response that depend on the mapping and or request @@ -114,4 +122,3 @@ class LatLon { lat: double lon: double } - diff --git a/specification/specs/common/CustomResponseBuilderBase.ts b/specification/specs/common/CustomResponseBuilderBase.ts index 5b9fdc0a29..ada1037b54 100644 --- a/specification/specs/common/CustomResponseBuilderBase.ts +++ b/specification/specs/common/CustomResponseBuilderBase.ts @@ -1,2 +1 @@ -class CustomResponseBuilderBase { -} +class CustomResponseBuilderBase {} diff --git a/specification/specs/common/Dictionary.ts b/specification/specs/common/Dictionary.ts index b870871544..0b23da413f 100644 --- a/specification/specs/common/Dictionary.ts +++ b/specification/specs/common/Dictionary.ts @@ -1,4 +1,3 @@ - class Dictionary {} class SingleKeyDictionary {} diff --git a/specification/specs/common/ElasticsearchResponse.ts b/specification/specs/common/ElasticsearchResponse.ts index 57397e2f6e..0bb1796fe6 100644 --- a/specification/specs/common/ElasticsearchResponse.ts +++ b/specification/specs/common/ElasticsearchResponse.ts @@ -1,2 +1 @@ -class ElasticsearchResponse { -} +class ElasticsearchResponse {} diff --git a/specification/specs/common/ElasticsearchUrlFormatter.ts b/specification/specs/common/ElasticsearchUrlFormatter.ts index 531f0766ee..976b248589 100644 --- a/specification/specs/common/ElasticsearchUrlFormatter.ts +++ b/specification/specs/common/ElasticsearchUrlFormatter.ts @@ -1,2 +1 @@ -class ElasticsearchUrlFormatter { -} +class ElasticsearchUrlFormatter {} diff --git a/specification/specs/common/ExpandWildcards.ts b/specification/specs/common/ExpandWildcards.ts index 07ca8b8b3f..12f573679e 100644 --- a/specification/specs/common/ExpandWildcards.ts +++ b/specification/specs/common/ExpandWildcards.ts @@ -6,5 +6,4 @@ enum ExpandWildcardOptions { all = 4 } -type ExpandWildcards = - ExpandWildcardOptions | Array \ No newline at end of file +type ExpandWildcards = ExpandWildcardOptions | Array diff --git a/specification/specs/common/ShardFailure.ts b/specification/specs/common/ShardFailure.ts index 562098e665..11f2d8fd12 100644 --- a/specification/specs/common/ShardFailure.ts +++ b/specification/specs/common/ShardFailure.ts @@ -1,7 +1,7 @@ class ShardFailure { - index: string; - node: string; - reason: ErrorCause; - shard: integer; - status?: string; + index: string + node: string + reason: ErrorCause + shard: integer + status?: string } diff --git a/specification/specs/common/UrlParameter.ts b/specification/specs/common/UrlParameter.ts index 7fa47f86e3..01e3861e2b 100644 --- a/specification/specs/common/UrlParameter.ts +++ b/specification/specs/common/UrlParameter.ts @@ -1,2 +1 @@ -class UrlParameter { -} +class UrlParameter {} diff --git a/specification/specs/common_abstractions/request/RequestBase.ts b/specification/specs/common_abstractions/request/RequestBase.ts index 32a1af565e..a1046326ac 100644 --- a/specification/specs/common_abstractions/request/RequestBase.ts +++ b/specification/specs/common_abstractions/request/RequestBase.ts @@ -1,8 +1,8 @@ // Any property here is a common query parameter for each Request. class RequestBase { - error_trace?: boolean; - filter_path?: string | string[]; - human?: boolean; - pretty?: boolean; - source_query_string?: string; + error_trace?: boolean + filter_path?: string | string[] + human?: boolean + pretty?: boolean + source_query_string?: string } diff --git a/specification/specs/common_abstractions/response/AcknowledgedResponseBase.ts b/specification/specs/common_abstractions/response/AcknowledgedResponseBase.ts index c260b7714f..77bf46c39a 100644 --- a/specification/specs/common_abstractions/response/AcknowledgedResponseBase.ts +++ b/specification/specs/common_abstractions/response/AcknowledgedResponseBase.ts @@ -1,3 +1,3 @@ class AcknowledgedResponseBase extends ResponseBase { - acknowledged: boolean; + acknowledged: boolean } diff --git a/specification/specs/common_abstractions/response/DictionaryResponseBase.ts b/specification/specs/common_abstractions/response/DictionaryResponseBase.ts index 543a286375..f50e4e0391 100644 --- a/specification/specs/common_abstractions/response/DictionaryResponseBase.ts +++ b/specification/specs/common_abstractions/response/DictionaryResponseBase.ts @@ -1,2 +1 @@ -class DictionaryResponseBase extends ResponseBase { -} +class DictionaryResponseBase extends ResponseBase {} diff --git a/specification/specs/common_abstractions/response/DynamicResponseBase.ts b/specification/specs/common_abstractions/response/DynamicResponseBase.ts index ce565ee8b0..9b7406fb44 100644 --- a/specification/specs/common_abstractions/response/DynamicResponseBase.ts +++ b/specification/specs/common_abstractions/response/DynamicResponseBase.ts @@ -1,2 +1 @@ -class DynamicResponseBase extends ResponseBase { -} +class DynamicResponseBase extends ResponseBase {} diff --git a/specification/specs/common_abstractions/response/ElasticsearchVersionInfo.ts b/specification/specs/common_abstractions/response/ElasticsearchVersionInfo.ts index afcc082777..33ac915074 100644 --- a/specification/specs/common_abstractions/response/ElasticsearchVersionInfo.ts +++ b/specification/specs/common_abstractions/response/ElasticsearchVersionInfo.ts @@ -1,11 +1,11 @@ class ElasticsearchVersionInfo { - build_date: Date; - build_flavor: string; - build_hash: string; - build_snapshot: boolean; - build_type: string; - lucene_version: string; - minimum_index_compatibility_version: string; - minimum_wire_compatibility_version: string; - number: string; + build_date: Date + build_flavor: string + build_hash: string + build_snapshot: boolean + build_type: string + lucene_version: string + minimum_index_compatibility_version: string + minimum_wire_compatibility_version: string + number: string } diff --git a/specification/specs/common_abstractions/response/ErrorResponseBase.ts b/specification/specs/common_abstractions/response/ErrorResponseBase.ts index 4f776b3b12..8ee57753bb 100644 --- a/specification/specs/common_abstractions/response/ErrorResponseBase.ts +++ b/specification/specs/common_abstractions/response/ErrorResponseBase.ts @@ -1,4 +1,4 @@ class ErrorResponse { - error: MainError; - status: integer; + error: MainError + status: integer } diff --git a/specification/specs/common_abstractions/response/IndicesResponseBase.ts b/specification/specs/common_abstractions/response/IndicesResponseBase.ts index 5e9ac53745..d7c3aa84c9 100644 --- a/specification/specs/common_abstractions/response/IndicesResponseBase.ts +++ b/specification/specs/common_abstractions/response/IndicesResponseBase.ts @@ -1,3 +1,3 @@ class IndicesResponseBase extends AcknowledgedResponseBase { - _shards: ShardStatistics; + _shards: ShardStatistics } diff --git a/specification/specs/common_abstractions/response/ShardsOperationResponseBase.ts b/specification/specs/common_abstractions/response/ShardsOperationResponseBase.ts index fd17512677..1bc2381079 100644 --- a/specification/specs/common_abstractions/response/ShardsOperationResponseBase.ts +++ b/specification/specs/common_abstractions/response/ShardsOperationResponseBase.ts @@ -1,3 +1,3 @@ class ShardsOperationResponseBase extends ResponseBase { - _shards: ShardStatistics; + _shards: ShardStatistics } diff --git a/specification/specs/common_abstractions/union/Union.ts b/specification/specs/common_abstractions/union/Union.ts index 02b3b4c40e..4dbdb001e7 100644 --- a/specification/specs/common_abstractions/union/Union.ts +++ b/specification/specs/common_abstractions/union/Union.ts @@ -1,3 +1,2 @@ -@class_serializer("UnionFormatter`2") -class Union { -} +@class_serializer('UnionFormatter`2') +class Union {} diff --git a/specification/specs/common_options/date_math/DateMathTime.ts b/specification/specs/common_options/date_math/DateMathTime.ts index ff606a2110..05aa7e08d0 100644 --- a/specification/specs/common_options/date_math/DateMathTime.ts +++ b/specification/specs/common_options/date_math/DateMathTime.ts @@ -1,5 +1,5 @@ -@class_serializer("DateMathTimeFormatter") +@class_serializer('DateMathTimeFormatter') class DateMathTime { - factor: integer; - interval: DateMathTimeUnit; + factor: integer + interval: DateMathTimeUnit } diff --git a/specification/specs/common_options/geo/Distance.ts b/specification/specs/common_options/geo/Distance.ts index 6c8fc58d91..0a94b2ae00 100644 --- a/specification/specs/common_options/geo/Distance.ts +++ b/specification/specs/common_options/geo/Distance.ts @@ -1,5 +1,5 @@ -@class_serializer("DistanceFormatter") +@class_serializer('DistanceFormatter') class Distance { - precision: double; - unit: DistanceUnit; + precision: double + unit: DistanceUnit } diff --git a/specification/specs/common_options/hit/ClusterStatistics.ts b/specification/specs/common_options/hit/ClusterStatistics.ts index 31bd666065..59e6cfad54 100644 --- a/specification/specs/common_options/hit/ClusterStatistics.ts +++ b/specification/specs/common_options/hit/ClusterStatistics.ts @@ -1,5 +1,5 @@ class ClusterStatistics { - skipped: integer; - successful: integer; - total: integer; + skipped: integer + successful: integer + total: integer } diff --git a/specification/specs/common_options/hit/ShardStatistics.ts b/specification/specs/common_options/hit/ShardStatistics.ts index 6a13e6ac75..8c48b9ef2a 100644 --- a/specification/specs/common_options/hit/ShardStatistics.ts +++ b/specification/specs/common_options/hit/ShardStatistics.ts @@ -1,7 +1,7 @@ class ShardStatistics { - failed: integer; - successful: integer; - total: integer; - failures?: ShardFailure[]; - skipped?: integer; + failed: integer + successful: integer + total: integer + failures?: ShardFailure[] + skipped?: integer } diff --git a/specification/specs/common_options/range/AggregationRange.ts b/specification/specs/common_options/range/AggregationRange.ts index 3d244bc3de..3352479c16 100644 --- a/specification/specs/common_options/range/AggregationRange.ts +++ b/specification/specs/common_options/range/AggregationRange.ts @@ -1,5 +1,5 @@ class AggregationRange { - from?: double; - key?: string; - to?: double; + from?: double + key?: string + to?: double } diff --git a/specification/specs/common_options/scripting/Script.ts b/specification/specs/common_options/scripting/Script.ts index fd5079268d..4f44a9a610 100644 --- a/specification/specs/common_options/scripting/Script.ts +++ b/specification/specs/common_options/scripting/Script.ts @@ -1,14 +1,14 @@ class ScriptBase { - lang: string; - params?: Dictionary; + lang: string + params?: Dictionary } class InlineScript extends ScriptBase { - source: string; + source: string } class IndexedScript extends ScriptBase { - id: string; + id: string } -type Script = InlineScript | IndexedScript | string; +type Script = InlineScript | IndexedScript | string diff --git a/specification/specs/common_options/scripting/ScriptField.ts b/specification/specs/common_options/scripting/ScriptField.ts index 6712e35247..16347821cf 100644 --- a/specification/specs/common_options/scripting/ScriptField.ts +++ b/specification/specs/common_options/scripting/ScriptField.ts @@ -1,3 +1,3 @@ class ScriptField { - script: Script; + script: Script } diff --git a/specification/specs/common_options/stats/CompletionStats.ts b/specification/specs/common_options/stats/CompletionStats.ts index 083400f6c2..248d3de976 100644 --- a/specification/specs/common_options/stats/CompletionStats.ts +++ b/specification/specs/common_options/stats/CompletionStats.ts @@ -1,5 +1,5 @@ class CompletionStats { - size_in_bytes: long; + size_in_bytes: long /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - fields?: Dictionary; + fields?: Dictionary } diff --git a/specification/specs/common_options/stats/DocStats.ts b/specification/specs/common_options/stats/DocStats.ts index 7e1260419f..c4a913b986 100644 --- a/specification/specs/common_options/stats/DocStats.ts +++ b/specification/specs/common_options/stats/DocStats.ts @@ -1,4 +1,4 @@ class DocStats { - count: long; - deleted: long; + count: long + deleted: long } diff --git a/specification/specs/common_options/stats/FielddataStats.ts b/specification/specs/common_options/stats/FielddataStats.ts index 3ff0f23290..7dd2c8c59e 100644 --- a/specification/specs/common_options/stats/FielddataStats.ts +++ b/specification/specs/common_options/stats/FielddataStats.ts @@ -1,6 +1,6 @@ class FielddataStats { - evictions?: long; - memory_size_in_bytes: long; + evictions?: long + memory_size_in_bytes: long /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - fields?: Dictionary; + fields?: Dictionary } diff --git a/specification/specs/common_options/stats/FlushStats.ts b/specification/specs/common_options/stats/FlushStats.ts index 5cab858ec8..a696554211 100644 --- a/specification/specs/common_options/stats/FlushStats.ts +++ b/specification/specs/common_options/stats/FlushStats.ts @@ -1,6 +1,6 @@ class FlushStats { - periodic: long; - total: long; - total_time?: string; - total_time_in_millis: long; + periodic: long + total: long + total_time?: string + total_time_in_millis: long } diff --git a/specification/specs/common_options/stats/GetStats.ts b/specification/specs/common_options/stats/GetStats.ts index 6a4d72e0f1..13d9bd8aca 100644 --- a/specification/specs/common_options/stats/GetStats.ts +++ b/specification/specs/common_options/stats/GetStats.ts @@ -1,12 +1,12 @@ class GetStats { - current: long; - exists_time?: string; - exists_time_in_millis: long; - exists_total: long; - missing_time?: string; - missing_time_in_millis: long; - missing_total: long; - time?: string; - time_in_millis: long; - total: long; + current: long + exists_time?: string + exists_time_in_millis: long + exists_total: long + missing_time?: string + missing_time_in_millis: long + missing_total: long + time?: string + time_in_millis: long + total: long } diff --git a/specification/specs/common_options/stats/IndexingStats.ts b/specification/specs/common_options/stats/IndexingStats.ts index d617cd5462..68ba9a86ed 100644 --- a/specification/specs/common_options/stats/IndexingStats.ts +++ b/specification/specs/common_options/stats/IndexingStats.ts @@ -1,17 +1,17 @@ class IndexingStats { - index_current: long; - delete_current: long; - delete_time?: string; - delete_time_in_millis: long; - delete_total: long; - is_throttled: boolean; - noop_update_total: long; - throttle_time?: string; - throttle_time_in_millis: long; - index_time?: string; - index_time_in_millis: long; - index_total: long; - index_failed: long; + index_current: long + delete_current: long + delete_time?: string + delete_time_in_millis: long + delete_total: long + is_throttled: boolean + noop_update_total: long + throttle_time?: string + throttle_time_in_millis: long + index_time?: string + index_time_in_millis: long + index_total: long + index_failed: long /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - types?: Dictionary; + types?: Dictionary } diff --git a/specification/specs/common_options/stats/MergesStats.ts b/specification/specs/common_options/stats/MergesStats.ts index 2d7df87534..20cf444bc1 100644 --- a/specification/specs/common_options/stats/MergesStats.ts +++ b/specification/specs/common_options/stats/MergesStats.ts @@ -1,18 +1,18 @@ class MergesStats { - current: long; - current_docs: long; - current_size?: string; - current_size_in_bytes: long; - total: long; - total_auto_throttle?: string; - total_auto_throttle_in_bytes: long; - total_docs: long; - total_size?: string; - total_size_in_bytes: long; - total_stopped_time?: string; - total_stopped_time_in_millis: long; - total_throttled_time?: string; - total_throttled_time_in_millis: long; - total_time?: string; - total_time_in_millis: long; + current: long + current_docs: long + current_size?: string + current_size_in_bytes: long + total: long + total_auto_throttle?: string + total_auto_throttle_in_bytes: long + total_docs: long + total_size?: string + total_size_in_bytes: long + total_stopped_time?: string + total_stopped_time_in_millis: long + total_throttled_time?: string + total_throttled_time_in_millis: long + total_time?: string + total_time_in_millis: long } diff --git a/specification/specs/common_options/stats/PluginStats.ts b/specification/specs/common_options/stats/PluginStats.ts index ff3277ae5c..c9d443dc91 100644 --- a/specification/specs/common_options/stats/PluginStats.ts +++ b/specification/specs/common_options/stats/PluginStats.ts @@ -1,10 +1,10 @@ class PluginStats { - classname: string; - description: string; - elasticsearch_version: string; - extended_plugins: string[]; - has_native_controller: boolean; - java_version: string; - name: string; - version: string; + classname: string + description: string + elasticsearch_version: string + extended_plugins: string[] + has_native_controller: boolean + java_version: string + name: string + version: string } diff --git a/specification/specs/common_options/stats/QueryCacheStats.ts b/specification/specs/common_options/stats/QueryCacheStats.ts index 7c956461b0..15575da00b 100644 --- a/specification/specs/common_options/stats/QueryCacheStats.ts +++ b/specification/specs/common_options/stats/QueryCacheStats.ts @@ -1,9 +1,9 @@ class QueryCacheStats { - cache_count: long; - cache_size: long; - evictions: long; - hit_count: long; - memory_size_in_bytes: long; - miss_count: long; - total_count: long; + cache_count: long + cache_size: long + evictions: long + hit_count: long + memory_size_in_bytes: long + miss_count: long + total_count: long } diff --git a/specification/specs/common_options/stats/RecoveryStats.ts b/specification/specs/common_options/stats/RecoveryStats.ts index 86fadf8c76..7f97bd1dd7 100644 --- a/specification/specs/common_options/stats/RecoveryStats.ts +++ b/specification/specs/common_options/stats/RecoveryStats.ts @@ -1,6 +1,6 @@ class RecoveryStats { - current_as_source: long; - current_as_target: long; - throttle_time?: string; - throttle_time_in_millis: long; + current_as_source: long + current_as_target: long + throttle_time?: string + throttle_time_in_millis: long } diff --git a/specification/specs/common_options/stats/RefreshStats.ts b/specification/specs/common_options/stats/RefreshStats.ts index 88e003937a..f06c116036 100644 --- a/specification/specs/common_options/stats/RefreshStats.ts +++ b/specification/specs/common_options/stats/RefreshStats.ts @@ -1,8 +1,8 @@ class RefreshStats { - external_total: long; - external_total_time_in_millis: long; - listeners: long; - total: long; - total_time?: string; - total_time_in_millis: long; + external_total: long + external_total_time_in_millis: long + listeners: long + total: long + total_time?: string + total_time_in_millis: long } diff --git a/specification/specs/common_options/stats/RequestCacheStats.ts b/specification/specs/common_options/stats/RequestCacheStats.ts index b37e2d29bc..fc1a0b3e2a 100644 --- a/specification/specs/common_options/stats/RequestCacheStats.ts +++ b/specification/specs/common_options/stats/RequestCacheStats.ts @@ -1,7 +1,7 @@ class RequestCacheStats { - evictions: long; - hit_count: long; - memory_size?: string; - memory_size_in_bytes: long; - miss_count: long; + evictions: long + hit_count: long + memory_size?: string + memory_size_in_bytes: long + miss_count: long } diff --git a/specification/specs/common_options/stats/SearchStats.ts b/specification/specs/common_options/stats/SearchStats.ts index d3f9375f18..ab6c6ee59d 100644 --- a/specification/specs/common_options/stats/SearchStats.ts +++ b/specification/specs/common_options/stats/SearchStats.ts @@ -1,17 +1,17 @@ class SearchStats { - fetch_current: long; - fetch_time_in_millis: long; - fetch_total: long; - open_contexts?: long; - query_current: long; - query_time_in_millis: long; - query_total: long; - scroll_current: long; - scroll_time_in_millis: long; - scroll_total: long; - suggest_current: long; - suggest_time_in_millis: long; - suggest_total: long; + fetch_current: long + fetch_time_in_millis: long + fetch_total: long + open_contexts?: long + query_current: long + query_time_in_millis: long + query_total: long + scroll_current: long + scroll_time_in_millis: long + scroll_total: long + suggest_current: long + suggest_time_in_millis: long + suggest_total: long /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - groups?: Dictionary; + groups?: Dictionary } diff --git a/specification/specs/common_options/stats/SegmentsStats.ts b/specification/specs/common_options/stats/SegmentsStats.ts index ee9d0dd52a..9e9477c373 100644 --- a/specification/specs/common_options/stats/SegmentsStats.ts +++ b/specification/specs/common_options/stats/SegmentsStats.ts @@ -1,16 +1,16 @@ class SegmentsStats { - count: long; - doc_values_memory_in_bytes: long; - file_sizes: Dictionary; - fixed_bit_set_memory_in_bytes: long; - index_writer_max_memory_in_bytes?: long; - index_writer_memory_in_bytes: long; - max_unsafe_auto_id_timestamp: long; - memory_in_bytes: long; - norms_memory_in_bytes: long; - points_memory_in_bytes: long; - stored_fields_memory_in_bytes: long; - terms_memory_in_bytes: long; - term_vectors_memory_in_bytes: long; - version_map_memory_in_bytes: long; + count: long + doc_values_memory_in_bytes: long + file_sizes: Dictionary + fixed_bit_set_memory_in_bytes: long + index_writer_max_memory_in_bytes?: long + index_writer_memory_in_bytes: long + max_unsafe_auto_id_timestamp: long + memory_in_bytes: long + norms_memory_in_bytes: long + points_memory_in_bytes: long + stored_fields_memory_in_bytes: long + terms_memory_in_bytes: long + term_vectors_memory_in_bytes: long + version_map_memory_in_bytes: long } diff --git a/specification/specs/common_options/stats/StoreStats.ts b/specification/specs/common_options/stats/StoreStats.ts index 1096263211..e6d681fb13 100644 --- a/specification/specs/common_options/stats/StoreStats.ts +++ b/specification/specs/common_options/stats/StoreStats.ts @@ -1,5 +1,5 @@ class StoreStats { - size?: string; - size_in_bytes: double; - reserved_in_bytes: double; + size?: string + size_in_bytes: double + reserved_in_bytes: double } diff --git a/specification/specs/common_options/stats/TranslogStats.ts b/specification/specs/common_options/stats/TranslogStats.ts index d8c00346bf..b4091fe697 100644 --- a/specification/specs/common_options/stats/TranslogStats.ts +++ b/specification/specs/common_options/stats/TranslogStats.ts @@ -1,9 +1,9 @@ class TranslogStats { - earliest_last_modified_age: long; - operations: long; - size?: string; - size_in_bytes: long; - uncommitted_operations: integer; - uncommitted_size?: string; - uncommitted_size_in_bytes: long; + earliest_last_modified_age: long + operations: long + size?: string + size_in_bytes: long + uncommitted_operations: integer + uncommitted_size?: string + uncommitted_size_in_bytes: long } diff --git a/specification/specs/common_options/stats/WarmerStats.ts b/specification/specs/common_options/stats/WarmerStats.ts index fd8d1f742e..a16d1902b5 100644 --- a/specification/specs/common_options/stats/WarmerStats.ts +++ b/specification/specs/common_options/stats/WarmerStats.ts @@ -1,6 +1,6 @@ class WarmerStats { - current: long; - total: long; - total_time?: string; - total_time_in_millis: long; + current: long + total: long + total_time?: string + total_time_in_millis: long } diff --git a/specification/specs/document/multiple/BulkIndexByScrollFailure.ts b/specification/specs/document/multiple/BulkIndexByScrollFailure.ts index 77d36f876f..8c6d5781ee 100644 --- a/specification/specs/document/multiple/BulkIndexByScrollFailure.ts +++ b/specification/specs/document/multiple/BulkIndexByScrollFailure.ts @@ -1,7 +1,7 @@ class BulkIndexByScrollFailure { - cause: MainError; - id: string; - index: string; - status: integer; - type: string; + cause: MainError + id: string + index: string + status: integer + type: string } diff --git a/specification/specs/document/multiple/Retries.ts b/specification/specs/document/multiple/Retries.ts index eb9989d5cf..43ad520f76 100644 --- a/specification/specs/document/multiple/Retries.ts +++ b/specification/specs/document/multiple/Retries.ts @@ -1,4 +1,4 @@ class Retries { - bulk: long; - search: long; + bulk: long + search: long } diff --git a/specification/specs/document/multiple/bulk/BulkRequest.ts b/specification/specs/document/multiple/bulk/BulkRequest.ts index 928f8a0aed..4235ee89bd 100644 --- a/specification/specs/document/multiple/bulk/BulkRequest.ts +++ b/specification/specs/document/multiple/bulk/BulkRequest.ts @@ -1,24 +1,24 @@ /** * @type_stability stable */ -@rest_spec_name("bulk") -@class_serializer("BulkRequestFormatter") +@rest_spec_name('bulk') +@class_serializer('BulkRequestFormatter') class BulkRequest extends RequestBase { path_parts?: { - index?: IndexName; - type?: TypeName; + index?: IndexName + type?: TypeName } query_parameters?: { - pipeline?: string; - refresh?: Refresh; - routing?: Routing; - _source?: boolean; - _source_excludes?: Field | Field[]; - _source_includes?: Field | Field[]; - timeout?: Time; - type_query_string?: string; - wait_for_active_shards?: string; - require_alias?: boolean; + pipeline?: string + refresh?: Refresh + routing?: Routing + _source?: boolean + _source_excludes?: Field | Field[] + _source_includes?: Field | Field[] + timeout?: Time + type_query_string?: string + wait_for_active_shards?: string + require_alias?: boolean } - body?: Array>; + body?: Array> } diff --git a/specification/specs/document/multiple/bulk/BulkResponse.ts b/specification/specs/document/multiple/bulk/BulkResponse.ts index bd5a6360cd..176c0d36e7 100644 --- a/specification/specs/document/multiple/bulk/BulkResponse.ts +++ b/specification/specs/document/multiple/bulk/BulkResponse.ts @@ -2,8 +2,8 @@ * @type_stability stable */ class BulkResponse extends ResponseBase { - errors: boolean; - items: BulkResponseItemContainer[]; - took: long; - ingest_took?: long; + errors: boolean + items: BulkResponseItemContainer[] + took: long + ingest_took?: long } diff --git a/specification/specs/document/multiple/bulk/bulk_operation/BulkOperation.ts b/specification/specs/document/multiple/bulk/bulk_operation/BulkOperation.ts index 9007b64c5c..00c6ca5e03 100644 --- a/specification/specs/document/multiple/bulk/bulk_operation/BulkOperation.ts +++ b/specification/specs/document/multiple/bulk/bulk_operation/BulkOperation.ts @@ -1,10 +1,10 @@ class BulkOperation { - _id: Id; - _index: IndexName; - retry_on_conflict: integer; - routing: Routing; - version: long; - version_type: VersionType; + _id: Id + _index: IndexName + retry_on_conflict: integer + routing: Routing + version: long + version_type: VersionType } class BulkOperationContainer { @@ -14,18 +14,10 @@ class BulkOperationContainer { delete?: BulkDeleteOperation } -class BulkIndexOperation extends BulkOperation { +class BulkIndexOperation extends BulkOperation {} -} - -class BulkCreateOperation extends BulkOperation { - -} +class BulkCreateOperation extends BulkOperation {} -class BulkUpdateOperation extends BulkOperation { +class BulkUpdateOperation extends BulkOperation {} -} - -class BulkDeleteOperation extends BulkOperation { - -} +class BulkDeleteOperation extends BulkOperation {} diff --git a/specification/specs/document/multiple/bulk/bulk_response_item/BulkResponseItemBase.ts b/specification/specs/document/multiple/bulk/bulk_response_item/BulkResponseItemBase.ts index 0937f54f2f..8f4076874c 100644 --- a/specification/specs/document/multiple/bulk/bulk_response_item/BulkResponseItemBase.ts +++ b/specification/specs/document/multiple/bulk/bulk_response_item/BulkResponseItemBase.ts @@ -1,19 +1,19 @@ // TODO remap this as a good bulk response item and an error response item -@class_serializer("BulkResponseItemFormatter") +@class_serializer('BulkResponseItemFormatter') class BulkResponseItemBase { - _id?: string | null; - _index: string; - status: integer; - - error?: ErrorCause; - _primary_term?: long; - result?: string; - _seq_no?: long; - _shards?: ShardStatistics; - _type?: string; - _version?: long; - forced_refresh?: boolean; - get?: InlineGet; + _id?: string | null + _index: string + status: integer + + error?: ErrorCause + _primary_term?: long + result?: string + _seq_no?: long + _shards?: ShardStatistics + _type?: string + _version?: long + forced_refresh?: boolean + get?: InlineGet } class BulkResponseItemContainer { @@ -23,18 +23,10 @@ class BulkResponseItemContainer { delete?: BulkDeleteResponseItem } -class BulkIndexResponseItem extends BulkResponseItemBase { - -} +class BulkIndexResponseItem extends BulkResponseItemBase {} -class BulkCreateResponseItem extends BulkResponseItemBase { - -} +class BulkCreateResponseItem extends BulkResponseItemBase {} -class BulkUpdateResponseItem extends BulkResponseItemBase { +class BulkUpdateResponseItem extends BulkResponseItemBase {} -} - -class BulkDeleteResponseItem extends BulkResponseItemBase { - -} +class BulkDeleteResponseItem extends BulkResponseItemBase {} diff --git a/specification/specs/document/multiple/delete_by_query/DeleteByQueryRequest.ts b/specification/specs/document/multiple/delete_by_query/DeleteByQueryRequest.ts index f5733fd89a..8d258630eb 100644 --- a/specification/specs/document/multiple/delete_by_query/DeleteByQueryRequest.ts +++ b/specification/specs/document/multiple/delete_by_query/DeleteByQueryRequest.ts @@ -1,46 +1,46 @@ -@rest_spec_name("delete_by_query") +@rest_spec_name('delete_by_query') class DeleteByQueryRequest extends RequestBase { path_parts?: { - index: Indices; - type?: TypeNames; + index: Indices + type?: TypeNames } query_parameters?: { - allow_no_indices?: boolean; - analyzer?: string; - analyze_wildcard?: boolean; - conflicts?: Conflicts; - default_operator?: DefaultOperator; - df?: string; - expand_wildcards?: ExpandWildcards; - from?: long; - ignore_unavailable?: boolean; - lenient?: boolean; - preference?: string; - query_on_query_string?: string; - refresh?: boolean; - request_cache?: boolean; - requests_per_second?: long; - routing?: Routing; - scroll?: Time; - scroll_size?: long; - search_timeout?: Time; - search_type?: SearchType; - size?: long; - slices?: long; - sort?: string[]; - source_enabled?: boolean; - source_excludes?: Field[]; - source_includes?: Field[]; - stats?: string[]; - terminate_after?: long; - timeout?: Time; - version?: boolean; - wait_for_active_shards?: string; - wait_for_completion?: boolean; + allow_no_indices?: boolean + analyzer?: string + analyze_wildcard?: boolean + conflicts?: Conflicts + default_operator?: DefaultOperator + df?: string + expand_wildcards?: ExpandWildcards + from?: long + ignore_unavailable?: boolean + lenient?: boolean + preference?: string + query_on_query_string?: string + refresh?: boolean + request_cache?: boolean + requests_per_second?: long + routing?: Routing + scroll?: Time + scroll_size?: long + search_timeout?: Time + search_type?: SearchType + size?: long + slices?: long + sort?: string[] + source_enabled?: boolean + source_excludes?: Field[] + source_includes?: Field[] + stats?: string[] + terminate_after?: long + timeout?: Time + version?: boolean + wait_for_active_shards?: string + wait_for_completion?: boolean } body?: { - max_docs?: long; - query?: QueryContainer; - slice?: SlicedScroll; + max_docs?: long + query?: QueryContainer + slice?: SlicedScroll } } diff --git a/specification/specs/document/multiple/delete_by_query/DeleteByQueryResponse.ts b/specification/specs/document/multiple/delete_by_query/DeleteByQueryResponse.ts index 917f22952d..0702d7402d 100644 --- a/specification/specs/document/multiple/delete_by_query/DeleteByQueryResponse.ts +++ b/specification/specs/document/multiple/delete_by_query/DeleteByQueryResponse.ts @@ -1,16 +1,16 @@ class DeleteByQueryResponse extends ResponseBase { - batches: long; - deleted: long; - failures: BulkIndexByScrollFailure[]; - noops: long; - requests_per_second: float; - retries: Retries; - slice_id: integer; - task: TaskId; - throttled_millis: long; - throttled_until_millis: long; - timed_out: boolean; - took: long; - total: long; - version_conflicts: long; + batches: long + deleted: long + failures: BulkIndexByScrollFailure[] + noops: long + requests_per_second: float + retries: Retries + slice_id: integer + task: TaskId + throttled_millis: long + throttled_until_millis: long + timed_out: boolean + took: long + total: long + version_conflicts: long } diff --git a/specification/specs/document/multiple/delete_by_query_rethrottle/DeleteByQueryRethrottleRequest.ts b/specification/specs/document/multiple/delete_by_query_rethrottle/DeleteByQueryRethrottleRequest.ts index 40ccbc0bf6..867ffee1cf 100644 --- a/specification/specs/document/multiple/delete_by_query_rethrottle/DeleteByQueryRethrottleRequest.ts +++ b/specification/specs/document/multiple/delete_by_query_rethrottle/DeleteByQueryRethrottleRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("delete_by_query_rethrottle") +@rest_spec_name('delete_by_query_rethrottle') class DeleteByQueryRethrottleRequest extends RequestBase { path_parts?: { - task_id: Id; + task_id: Id } query_parameters?: { - requests_per_second?: long; - } - body?: { + requests_per_second?: long } + body?: {} } diff --git a/specification/specs/document/multiple/delete_by_query_rethrottle/DeleteByQueryRethrottleResponse.ts b/specification/specs/document/multiple/delete_by_query_rethrottle/DeleteByQueryRethrottleResponse.ts index 943d986038..5c52dd8799 100644 --- a/specification/specs/document/multiple/delete_by_query_rethrottle/DeleteByQueryRethrottleResponse.ts +++ b/specification/specs/document/multiple/delete_by_query_rethrottle/DeleteByQueryRethrottleResponse.ts @@ -1,2 +1 @@ -class DeleteByQueryRethrottleResponse extends ListTasksResponse { -} +class DeleteByQueryRethrottleResponse extends ListTasksResponse {} diff --git a/specification/specs/document/multiple/multi_get/request/MultiGetRequest.ts b/specification/specs/document/multiple/multi_get/request/MultiGetRequest.ts index 70abc4f809..f859284bf2 100644 --- a/specification/specs/document/multiple/multi_get/request/MultiGetRequest.ts +++ b/specification/specs/document/multiple/multi_get/request/MultiGetRequest.ts @@ -1,32 +1,32 @@ -@rest_spec_name("mget") -@class_serializer("MultiGetRequestFormatter") +@rest_spec_name('mget') +@class_serializer('MultiGetRequestFormatter') class MultiGetRequest extends RequestBase { path_parts?: { - index?: IndexName; - type?: TypeName; + index?: IndexName + type?: TypeName } query_parameters?: { - preference?: string; - realtime?: boolean; - refresh?: boolean; - routing?: Routing; - source_enabled?: boolean; - source_excludes?: Field[]; - source_includes?: Field[]; - stored_fields?: Field[]; + preference?: string + realtime?: boolean + refresh?: boolean + routing?: Routing + source_enabled?: boolean + source_excludes?: Field[] + source_includes?: Field[] + stored_fields?: Field[] } body?: { - docs?: MultiGetOperation[]; + docs?: MultiGetOperation[] } } class MultiGetOperation { - can_be_flattened?: boolean; - _id: Id; - _index: IndexName; - routing?: string; - _source?: boolean | SourceFilter; - stored_fields?: Field[]; - version?: long; - version_type?: VersionType; + can_be_flattened?: boolean + _id: Id + _index: IndexName + routing?: string + _source?: boolean | SourceFilter + stored_fields?: Field[] + version?: long + version_type?: VersionType } diff --git a/specification/specs/document/multiple/multi_get/response/MultiGetResponse.ts b/specification/specs/document/multiple/multi_get/response/MultiGetResponse.ts index 77464e8f3f..81db84617f 100644 --- a/specification/specs/document/multiple/multi_get/response/MultiGetResponse.ts +++ b/specification/specs/document/multiple/multi_get/response/MultiGetResponse.ts @@ -1,16 +1,16 @@ -@class_serializer("MultiGetResponseFormatter") +@class_serializer('MultiGetResponseFormatter') class MultiGetResponse extends ResponseBase { - docs: MultiGetHit[]; + docs: MultiGetHit[] } class MultiGetHit { - found: boolean; - _id: string; - _index: string; - _primary_term: long; - _routing: string; - _seq_no: long; - _source: TDocument; - _type: string; - _version: long; + found: boolean + _id: string + _index: string + _primary_term: long + _routing: string + _seq_no: long + _source: TDocument + _type: string + _version: long } diff --git a/specification/specs/document/multiple/multi_term_vectors/MultiTermVectorOperation.ts b/specification/specs/document/multiple/multi_term_vectors/MultiTermVectorOperation.ts index a17466f50e..cb4eda42a4 100644 --- a/specification/specs/document/multiple/multi_term_vectors/MultiTermVectorOperation.ts +++ b/specification/specs/document/multiple/multi_term_vectors/MultiTermVectorOperation.ts @@ -1,16 +1,16 @@ class MultiTermVectorOperation { /** @prop_serializer SourceFormatter`1 */ - doc: any; - fields: Field[]; - field_statistics: boolean; - filter: TermVectorFilter; - _id: Id; - _index: IndexName; - offsets: boolean; - payloads: boolean; - positions: boolean; - routing: Routing; - term_statistics: boolean; - version: long; - version_type: VersionType; + doc: any + fields: Field[] + field_statistics: boolean + filter: TermVectorFilter + _id: Id + _index: IndexName + offsets: boolean + payloads: boolean + positions: boolean + routing: Routing + term_statistics: boolean + version: long + version_type: VersionType } diff --git a/specification/specs/document/multiple/multi_term_vectors/MultiTermVectorsRequest.ts b/specification/specs/document/multiple/multi_term_vectors/MultiTermVectorsRequest.ts index 031072b17f..9d73afcd5d 100644 --- a/specification/specs/document/multiple/multi_term_vectors/MultiTermVectorsRequest.ts +++ b/specification/specs/document/multiple/multi_term_vectors/MultiTermVectorsRequest.ts @@ -1,24 +1,24 @@ -@rest_spec_name("mtermvectors") +@rest_spec_name('mtermvectors') class MultiTermVectorsRequest extends RequestBase { path_parts?: { - index?: IndexName; - type?: TypeName; + index?: IndexName + type?: TypeName } query_parameters?: { - fields?: Field[]; - field_statistics?: boolean; - offsets?: boolean; - payloads?: boolean; - positions?: boolean; - preference?: string; - realtime?: boolean; - routing?: Routing; - term_statistics?: boolean; - version?: long; - version_type?: VersionType; + fields?: Field[] + field_statistics?: boolean + offsets?: boolean + payloads?: boolean + positions?: boolean + preference?: string + realtime?: boolean + routing?: Routing + term_statistics?: boolean + version?: long + version_type?: VersionType } body?: { - docs?: MultiTermVectorOperation[]; - ids?: Id[]; + docs?: MultiTermVectorOperation[] + ids?: Id[] } } diff --git a/specification/specs/document/multiple/multi_term_vectors/MultiTermVectorsResponse.ts b/specification/specs/document/multiple/multi_term_vectors/MultiTermVectorsResponse.ts index 0a5d9833bf..ecc3b2bfce 100644 --- a/specification/specs/document/multiple/multi_term_vectors/MultiTermVectorsResponse.ts +++ b/specification/specs/document/multiple/multi_term_vectors/MultiTermVectorsResponse.ts @@ -1,3 +1,3 @@ class MultiTermVectorsResponse extends ResponseBase { - docs: TermVectorsResult[]; + docs: TermVectorsResult[] } diff --git a/specification/specs/document/multiple/reindex/ReindexDestination.ts b/specification/specs/document/multiple/reindex/ReindexDestination.ts index 36ed926853..672e226c8d 100644 --- a/specification/specs/document/multiple/reindex/ReindexDestination.ts +++ b/specification/specs/document/multiple/reindex/ReindexDestination.ts @@ -1,7 +1,7 @@ class ReindexDestination { - index: IndexName; - op_type?: OpType; - pipeline?: string; - routing?: ReindexRouting; - version_type?: VersionType; + index: IndexName + op_type?: OpType + pipeline?: string + routing?: ReindexRouting + version_type?: VersionType } diff --git a/specification/specs/document/multiple/reindex/ReindexRequest.ts b/specification/specs/document/multiple/reindex/ReindexRequest.ts index 8907dfca42..f085feae72 100644 --- a/specification/specs/document/multiple/reindex/ReindexRequest.ts +++ b/specification/specs/document/multiple/reindex/ReindexRequest.ts @@ -1,21 +1,21 @@ -@rest_spec_name("reindex") +@rest_spec_name('reindex') class ReindexRequest extends RequestBase { query_parameters?: { - refresh?: boolean; - requests_per_second?: long; - scroll?: Time; - slices?: long; - timeout?: Time; - wait_for_active_shards?: string; - wait_for_completion?: boolean; - require_alias?: boolean; + refresh?: boolean + requests_per_second?: long + scroll?: Time + slices?: long + timeout?: Time + wait_for_active_shards?: string + wait_for_completion?: boolean + require_alias?: boolean } body?: { - conflicts?: Conflicts; - dest?: ReindexDestination; - max_docs?: long; - script?: Script; - size?: long; - source?: ReindexSource; + conflicts?: Conflicts + dest?: ReindexDestination + max_docs?: long + script?: Script + size?: long + source?: ReindexSource } } diff --git a/specification/specs/document/multiple/reindex/ReindexResponse.ts b/specification/specs/document/multiple/reindex/ReindexResponse.ts index 539e1aa6a6..ea226e8c61 100644 --- a/specification/specs/document/multiple/reindex/ReindexResponse.ts +++ b/specification/specs/document/multiple/reindex/ReindexResponse.ts @@ -1,14 +1,14 @@ class ReindexResponse extends ResponseBase { - batches: long; - created: long; - failures: BulkIndexByScrollFailure[]; - noops: long; - retries: Retries; - slice_id: integer; - task: TaskId; - timed_out: boolean; - took: Time; - total: long; - updated: long; - version_conflicts: long; + batches: long + created: long + failures: BulkIndexByScrollFailure[] + noops: long + retries: Retries + slice_id: integer + task: TaskId + timed_out: boolean + took: Time + total: long + updated: long + version_conflicts: long } diff --git a/specification/specs/document/multiple/reindex/ReindexRouting.ts b/specification/specs/document/multiple/reindex/ReindexRouting.ts index 6e821dc7e5..d17fb98440 100644 --- a/specification/specs/document/multiple/reindex/ReindexRouting.ts +++ b/specification/specs/document/multiple/reindex/ReindexRouting.ts @@ -1,3 +1,2 @@ -@class_serializer("ReindexRoutingFormatter") -class ReindexRouting { -} +@class_serializer('ReindexRoutingFormatter') +class ReindexRouting {} diff --git a/specification/specs/document/multiple/reindex/ReindexSource.ts b/specification/specs/document/multiple/reindex/ReindexSource.ts index 54b73a3df5..90544ed0e8 100644 --- a/specification/specs/document/multiple/reindex/ReindexSource.ts +++ b/specification/specs/document/multiple/reindex/ReindexSource.ts @@ -1,9 +1,9 @@ class ReindexSource { - index: Indices; - query?: QueryContainer; - remote?: RemoteSource; - size: integer; - slice?: SlicedScroll; - sort?: Sort[]; - _source?: Field[]; + index: Indices + query?: QueryContainer + remote?: RemoteSource + size: integer + slice?: SlicedScroll + sort?: Sort[] + _source?: Field[] } diff --git a/specification/specs/document/multiple/reindex/RemoteSource.ts b/specification/specs/document/multiple/reindex/RemoteSource.ts index ba7f8efa9f..6d97fce1be 100644 --- a/specification/specs/document/multiple/reindex/RemoteSource.ts +++ b/specification/specs/document/multiple/reindex/RemoteSource.ts @@ -1,7 +1,7 @@ class RemoteSource { - connect_timeout: Time; - host: Uri; - password: string; - socket_timeout: Time; - username: string; + connect_timeout: Time + host: Uri + password: string + socket_timeout: Time + username: string } diff --git a/specification/specs/document/multiple/reindex_rethrottle/ReindexNode.ts b/specification/specs/document/multiple/reindex_rethrottle/ReindexNode.ts index 87b9f2203b..ec1058fb58 100644 --- a/specification/specs/document/multiple/reindex_rethrottle/ReindexNode.ts +++ b/specification/specs/document/multiple/reindex_rethrottle/ReindexNode.ts @@ -1,11 +1,11 @@ class ReindexNode { /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - attributes: Dictionary; - host: string; - ip: string; - name: string; - roles: string[]; + attributes: Dictionary + host: string + ip: string + name: string + roles: string[] /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - tasks: Dictionary; - transport_address: string; + tasks: Dictionary + transport_address: string } diff --git a/specification/specs/document/multiple/reindex_rethrottle/ReindexRethrottleRequest.ts b/specification/specs/document/multiple/reindex_rethrottle/ReindexRethrottleRequest.ts index 4d87a73749..a57bf9b1fd 100644 --- a/specification/specs/document/multiple/reindex_rethrottle/ReindexRethrottleRequest.ts +++ b/specification/specs/document/multiple/reindex_rethrottle/ReindexRethrottleRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("reindex_rethrottle") +@rest_spec_name('reindex_rethrottle') class ReindexRethrottleRequest extends RequestBase { path_parts?: { - task_id: Id; + task_id: Id } query_parameters?: { - requests_per_second?: long; - } - body?: { + requests_per_second?: long } + body?: {} } diff --git a/specification/specs/document/multiple/reindex_rethrottle/ReindexRethrottleResponse.ts b/specification/specs/document/multiple/reindex_rethrottle/ReindexRethrottleResponse.ts index 4b117fd2eb..b2d90bf010 100644 --- a/specification/specs/document/multiple/reindex_rethrottle/ReindexRethrottleResponse.ts +++ b/specification/specs/document/multiple/reindex_rethrottle/ReindexRethrottleResponse.ts @@ -1,4 +1,4 @@ class ReindexRethrottleResponse extends ResponseBase { /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - nodes: Dictionary; + nodes: Dictionary } diff --git a/specification/specs/document/multiple/reindex_rethrottle/ReindexStatus.ts b/specification/specs/document/multiple/reindex_rethrottle/ReindexStatus.ts index 203f546004..18c591eb02 100644 --- a/specification/specs/document/multiple/reindex_rethrottle/ReindexStatus.ts +++ b/specification/specs/document/multiple/reindex_rethrottle/ReindexStatus.ts @@ -1,13 +1,13 @@ class ReindexStatus { - batches: long; - created: long; - deleted: long; - noops: long; - requests_per_second: float; - retries: Retries; - throttled_millis: long; - throttled_until_millis: long; - total: long; - updated: long; - version_conflicts: long; + batches: long + created: long + deleted: long + noops: long + requests_per_second: float + retries: Retries + throttled_millis: long + throttled_until_millis: long + total: long + updated: long + version_conflicts: long } diff --git a/specification/specs/document/multiple/reindex_rethrottle/ReindexTask.ts b/specification/specs/document/multiple/reindex_rethrottle/ReindexTask.ts index c5d340c368..158188a1be 100644 --- a/specification/specs/document/multiple/reindex_rethrottle/ReindexTask.ts +++ b/specification/specs/document/multiple/reindex_rethrottle/ReindexTask.ts @@ -1,11 +1,11 @@ class ReindexTask { - action: string; - cancellable: boolean; - description: string; - id: long; - node: string; - running_time_in_nanos: long; - start_time_in_millis: long; - status: ReindexStatus; - type: string; + action: string + cancellable: boolean + description: string + id: long + node: string + running_time_in_nanos: long + start_time_in_millis: long + status: ReindexStatus + type: string } diff --git a/specification/specs/document/multiple/update_by_query/UpdateByQueryRequest.ts b/specification/specs/document/multiple/update_by_query/UpdateByQueryRequest.ts index fd1ffdf995..bb28634d66 100644 --- a/specification/specs/document/multiple/update_by_query/UpdateByQueryRequest.ts +++ b/specification/specs/document/multiple/update_by_query/UpdateByQueryRequest.ts @@ -1,49 +1,49 @@ -@rest_spec_name("update_by_query") +@rest_spec_name('update_by_query') class UpdateByQueryRequest extends RequestBase { path_parts?: { - index: Indices; - type?: TypeNames; + index: Indices + type?: TypeNames } query_parameters?: { - allow_no_indices?: boolean; - analyzer?: string; - analyze_wildcard?: boolean; - conflicts?: Conflicts; - default_operator?: DefaultOperator; - df?: string; - expand_wildcards?: ExpandWildcards; - from?: long; - ignore_unavailable?: boolean; - lenient?: boolean; - pipeline?: string; - preference?: string; - query_on_query_string?: string; - refresh?: boolean; - request_cache?: boolean; - requests_per_second?: long; - routing?: Routing; - scroll?: Time; - scroll_size?: long; - search_timeout?: Time; - search_type?: SearchType; - size?: long; - slices?: long; - sort?: string[]; - source_enabled?: boolean; - source_excludes?: Field[]; - source_includes?: Field[]; - stats?: string[]; - terminate_after?: long; - timeout?: Time; - version?: boolean; - version_type?: boolean; - wait_for_active_shards?: string; - wait_for_completion?: boolean; + allow_no_indices?: boolean + analyzer?: string + analyze_wildcard?: boolean + conflicts?: Conflicts + default_operator?: DefaultOperator + df?: string + expand_wildcards?: ExpandWildcards + from?: long + ignore_unavailable?: boolean + lenient?: boolean + pipeline?: string + preference?: string + query_on_query_string?: string + refresh?: boolean + request_cache?: boolean + requests_per_second?: long + routing?: Routing + scroll?: Time + scroll_size?: long + search_timeout?: Time + search_type?: SearchType + size?: long + slices?: long + sort?: string[] + source_enabled?: boolean + source_excludes?: Field[] + source_includes?: Field[] + stats?: string[] + terminate_after?: long + timeout?: Time + version?: boolean + version_type?: boolean + wait_for_active_shards?: string + wait_for_completion?: boolean } body?: { - max_docs?: long; - query?: QueryContainer; - script?: Script; - slice?: SlicedScroll; + max_docs?: long + query?: QueryContainer + script?: Script + slice?: SlicedScroll } } diff --git a/specification/specs/document/multiple/update_by_query/UpdateByQueryResponse.ts b/specification/specs/document/multiple/update_by_query/UpdateByQueryResponse.ts index 63e8b99c1c..b06abb3ee6 100644 --- a/specification/specs/document/multiple/update_by_query/UpdateByQueryResponse.ts +++ b/specification/specs/document/multiple/update_by_query/UpdateByQueryResponse.ts @@ -1,13 +1,13 @@ class UpdateByQueryResponse extends ResponseBase { - batches: long; - failures: BulkIndexByScrollFailure[]; - noops: long; - requests_per_second: float; - retries: Retries; - task: TaskId; - timed_out: boolean; - took: long; - total: long; - updated: long; - version_conflicts: long; + batches: long + failures: BulkIndexByScrollFailure[] + noops: long + requests_per_second: float + retries: Retries + task: TaskId + timed_out: boolean + took: long + total: long + updated: long + version_conflicts: long } diff --git a/specification/specs/document/multiple/update_by_query_rethrottle/UpdateByQueryRethrottleRequest.ts b/specification/specs/document/multiple/update_by_query_rethrottle/UpdateByQueryRethrottleRequest.ts index 830dd48b87..297ed5b424 100644 --- a/specification/specs/document/multiple/update_by_query_rethrottle/UpdateByQueryRethrottleRequest.ts +++ b/specification/specs/document/multiple/update_by_query_rethrottle/UpdateByQueryRethrottleRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("update_by_query_rethrottle") +@rest_spec_name('update_by_query_rethrottle') class UpdateByQueryRethrottleRequest extends RequestBase { path_parts?: { - task_id: Id; + task_id: Id } query_parameters?: { - requests_per_second?: long; - } - body?: { + requests_per_second?: long } + body?: {} } diff --git a/specification/specs/document/single/WriteResponseBase.ts b/specification/specs/document/single/WriteResponseBase.ts index f99cdbd702..cfa5440a0f 100644 --- a/specification/specs/document/single/WriteResponseBase.ts +++ b/specification/specs/document/single/WriteResponseBase.ts @@ -1,11 +1,11 @@ class WriteResponseBase extends ResponseBase { - _id: string; - _index: string; - _primary_term: long; - result: Result; - _seq_no: long; - _shards: ShardStatistics; - _type?: string; - _version: long; - forced_refresh?: boolean; + _id: string + _index: string + _primary_term: long + result: Result + _seq_no: long + _shards: ShardStatistics + _type?: string + _version: long + forced_refresh?: boolean } diff --git a/specification/specs/document/single/create/CreateRequest.ts b/specification/specs/document/single/create/CreateRequest.ts index 37cb596a77..3520c3e60c 100644 --- a/specification/specs/document/single/create/CreateRequest.ts +++ b/specification/specs/document/single/create/CreateRequest.ts @@ -1,22 +1,22 @@ /** * @type_stability stable */ -@rest_spec_name("create") -@class_serializer("CreateRequestFormatter`1") +@rest_spec_name('create') +@class_serializer('CreateRequestFormatter`1') class CreateRequest extends RequestBase { path_parts?: { - id: Id; - index: IndexName; - type?: TypeName; + id: Id + index: IndexName + type?: TypeName } query_parameters?: { - pipeline?: string; - refresh?: Refresh; - routing?: Routing; - timeout?: Time; - version?: long; - version_type?: VersionType; - wait_for_active_shards?: string; + pipeline?: string + refresh?: Refresh + routing?: Routing + timeout?: Time + version?: long + version_type?: VersionType + wait_for_active_shards?: string } - body?: TDocument; + body?: TDocument } diff --git a/specification/specs/document/single/create/CreateResponse.ts b/specification/specs/document/single/create/CreateResponse.ts index 640e86eab0..18d75099e8 100644 --- a/specification/specs/document/single/create/CreateResponse.ts +++ b/specification/specs/document/single/create/CreateResponse.ts @@ -1,5 +1,4 @@ /** * @type_stability stable */ -class CreateResponse extends WriteResponseBase { -} +class CreateResponse extends WriteResponseBase {} diff --git a/specification/specs/document/single/delete/DeleteRequest.ts b/specification/specs/document/single/delete/DeleteRequest.ts index 180b647b51..aa54bb4da8 100644 --- a/specification/specs/document/single/delete/DeleteRequest.ts +++ b/specification/specs/document/single/delete/DeleteRequest.ts @@ -1,23 +1,22 @@ /** * @type_stability stable */ -@rest_spec_name("delete") +@rest_spec_name('delete') class DeleteRequest extends RequestBase { path_parts?: { - id: Id; - index: IndexName; - type?: TypeName; + id: Id + index: IndexName + type?: TypeName } query_parameters?: { - if_primary_term?: long; - if_seq_no?: long; - refresh?: Refresh; - routing?: Routing; - timeout?: Time; - version?: long; - version_type?: VersionType; - wait_for_active_shards?: string; - } - body?: { + if_primary_term?: long + if_seq_no?: long + refresh?: Refresh + routing?: Routing + timeout?: Time + version?: long + version_type?: VersionType + wait_for_active_shards?: string } + body?: {} } diff --git a/specification/specs/document/single/delete/DeleteResponse.ts b/specification/specs/document/single/delete/DeleteResponse.ts index 296090d49e..c3bffa9336 100644 --- a/specification/specs/document/single/delete/DeleteResponse.ts +++ b/specification/specs/document/single/delete/DeleteResponse.ts @@ -1,5 +1,4 @@ /** * @type_stability stable */ -class DeleteResponse extends WriteResponseBase { -} +class DeleteResponse extends WriteResponseBase {} diff --git a/specification/specs/document/single/exists/DocumentExistsRequest.ts b/specification/specs/document/single/exists/DocumentExistsRequest.ts index 016ac000db..84b0176eba 100644 --- a/specification/specs/document/single/exists/DocumentExistsRequest.ts +++ b/specification/specs/document/single/exists/DocumentExistsRequest.ts @@ -1,22 +1,21 @@ -@rest_spec_name("exists") +@rest_spec_name('exists') class DocumentExistsRequest extends RequestBase { path_parts?: { - id: Id; - index: IndexName; - type?: TypeName; + id: Id + index: IndexName + type?: TypeName } query_parameters?: { - preference?: string; - realtime?: boolean; - refresh?: boolean; - routing?: Routing; - source_enabled?: boolean; - source_excludes?: Field[]; - source_includes?: Field[]; - stored_fields?: Field[]; - version?: long; - version_type?: VersionType; - } - body?: { + preference?: string + realtime?: boolean + refresh?: boolean + routing?: Routing + source_enabled?: boolean + source_excludes?: Field[] + source_includes?: Field[] + stored_fields?: Field[] + version?: long + version_type?: VersionType } + body?: {} } diff --git a/specification/specs/document/single/exists/DocumentExistsResponse.ts b/specification/specs/document/single/exists/DocumentExistsResponse.ts index 5b32766cb8..1ab2bea8f3 100644 --- a/specification/specs/document/single/exists/DocumentExistsResponse.ts +++ b/specification/specs/document/single/exists/DocumentExistsResponse.ts @@ -1 +1,3 @@ -class DocumentExistsResponse extends ResponseBase implements EmptyResponseBase {} +class DocumentExistsResponse + extends ResponseBase + implements EmptyResponseBase {} diff --git a/specification/specs/document/single/get/GetRequest.ts b/specification/specs/document/single/get/GetRequest.ts index f5dedbc779..52b4cde836 100644 --- a/specification/specs/document/single/get/GetRequest.ts +++ b/specification/specs/document/single/get/GetRequest.ts @@ -1,26 +1,25 @@ /** * @type_stability stable */ -@rest_spec_name("get") +@rest_spec_name('get') class GetRequest extends RequestBase { path_parts?: { - id: Id; - index: IndexName; - type?: TypeName; + id: Id + index: IndexName + type?: TypeName } query_parameters?: { - preference?: string; - realtime?: boolean; - refresh?: boolean; - routing?: Routing; - source_enabled?: boolean; - _source_excludes?: Fields; - _source_includes?: Fields; - stored_fields?: Fields; - version?: long; - version_type?: VersionType; - _source?: Union>; - } - body?: { + preference?: string + realtime?: boolean + refresh?: boolean + routing?: Routing + source_enabled?: boolean + _source_excludes?: Fields + _source_includes?: Fields + stored_fields?: Fields + version?: long + version_type?: VersionType + _source?: Union> } + body?: {} } diff --git a/specification/specs/document/single/get/GetResponse.ts b/specification/specs/document/single/get/GetResponse.ts index 79fa743716..0d643c76b3 100644 --- a/specification/specs/document/single/get/GetResponse.ts +++ b/specification/specs/document/single/get/GetResponse.ts @@ -2,15 +2,15 @@ * @type_stability stable */ class GetResponse extends ResponseBase { - _index: string; - fields?: Dictionary; - found: boolean; - _id: string; - _primary_term?: long; - _routing?: string; - _seq_no?: long; + _index: string + fields?: Dictionary + found: boolean + _id: string + _primary_term?: long + _routing?: string + _seq_no?: long /** @prop_serializer SourceFormatter`1 */ - _source?: TDocument; - _type: string; - _version?: long; + _source?: TDocument + _type: string + _version?: long } diff --git a/specification/specs/document/single/index/IndexRequest.ts b/specification/specs/document/single/index/IndexRequest.ts index 1451cb257c..31057f5111 100644 --- a/specification/specs/document/single/index/IndexRequest.ts +++ b/specification/specs/document/single/index/IndexRequest.ts @@ -1,26 +1,26 @@ /** * @type_stability stable */ -@rest_spec_name("index") -@class_serializer("IndexRequestFormatter`1") +@rest_spec_name('index') +@class_serializer('IndexRequestFormatter`1') class IndexRequest extends RequestBase { path_parts?: { - id?: Id; - index: IndexName; - type?: TypeName; + id?: Id + index: IndexName + type?: TypeName } query_parameters?: { - if_primary_term?: long; - if_seq_no?: long; - op_type?: OpType; - pipeline?: string; - refresh?: Refresh; - routing?: Routing; - timeout?: Time; - version?: long; - version_type?: VersionType; - wait_for_active_shards?: string; - require_alias?: boolean; + if_primary_term?: long + if_seq_no?: long + op_type?: OpType + pipeline?: string + refresh?: Refresh + routing?: Routing + timeout?: Time + version?: long + version_type?: VersionType + wait_for_active_shards?: string + require_alias?: boolean } - body?: TDocument; + body?: TDocument } diff --git a/specification/specs/document/single/index/IndexResponse.ts b/specification/specs/document/single/index/IndexResponse.ts index 22a46b8225..1a82d581bf 100644 --- a/specification/specs/document/single/index/IndexResponse.ts +++ b/specification/specs/document/single/index/IndexResponse.ts @@ -1,5 +1,4 @@ /** * @type_stability stable */ -class IndexResponse extends WriteResponseBase { -} +class IndexResponse extends WriteResponseBase {} diff --git a/specification/specs/document/single/source/SourceRequest.ts b/specification/specs/document/single/source/SourceRequest.ts index a8705cef6a..213aa00af0 100644 --- a/specification/specs/document/single/source/SourceRequest.ts +++ b/specification/specs/document/single/source/SourceRequest.ts @@ -1,21 +1,20 @@ -@rest_spec_name("get_source") +@rest_spec_name('get_source') class SourceRequest extends RequestBase { path_parts?: { - id: Id; - index: IndexName; - type?: TypeName; + id: Id + index: IndexName + type?: TypeName } query_parameters?: { - preference?: string; - realtime?: boolean; - refresh?: boolean; - routing?: Routing; - source_enabled?: boolean; - source_excludes?: Field[]; - source_includes?: Field[]; - version?: long; - version_type?: VersionType; - } - body?: { + preference?: string + realtime?: boolean + refresh?: boolean + routing?: Routing + source_enabled?: boolean + source_excludes?: Field[] + source_includes?: Field[] + version?: long + version_type?: VersionType } + body?: {} } diff --git a/specification/specs/document/single/source/SourceResponse.ts b/specification/specs/document/single/source/SourceResponse.ts index c489a15038..e8374cc09f 100644 --- a/specification/specs/document/single/source/SourceResponse.ts +++ b/specification/specs/document/single/source/SourceResponse.ts @@ -1,3 +1,3 @@ class SourceResponse extends ResponseBase { - body: TDocument; + body: TDocument } diff --git a/specification/specs/document/single/source_exists/SourceExistsRequest.ts b/specification/specs/document/single/source_exists/SourceExistsRequest.ts index be9075e9a9..1e4602c59a 100644 --- a/specification/specs/document/single/source_exists/SourceExistsRequest.ts +++ b/specification/specs/document/single/source_exists/SourceExistsRequest.ts @@ -1,21 +1,20 @@ -@rest_spec_name("exists_source") +@rest_spec_name('exists_source') class SourceExistsRequest extends RequestBase { path_parts?: { - id: Id; - index: IndexName; - type?: TypeName; + id: Id + index: IndexName + type?: TypeName } query_parameters?: { - preference?: string; - realtime?: boolean; - refresh?: boolean; - routing?: Routing; - source_enabled?: boolean; - source_excludes?: Field[]; - source_includes?: Field[]; - version?: long; - version_type?: VersionType; - } - body?: { + preference?: string + realtime?: boolean + refresh?: boolean + routing?: Routing + source_enabled?: boolean + source_excludes?: Field[] + source_includes?: Field[] + version?: long + version_type?: VersionType } + body?: {} } diff --git a/specification/specs/document/single/term_vectors/FieldStatistics.ts b/specification/specs/document/single/term_vectors/FieldStatistics.ts index 6f3f9d857d..644c24faf6 100644 --- a/specification/specs/document/single/term_vectors/FieldStatistics.ts +++ b/specification/specs/document/single/term_vectors/FieldStatistics.ts @@ -1,5 +1,5 @@ class FieldStatistics { - doc_count: integer; - sum_doc_freq: long; - sum_ttf: long; + doc_count: integer + sum_doc_freq: long + sum_ttf: long } diff --git a/specification/specs/document/single/term_vectors/TermVector.ts b/specification/specs/document/single/term_vectors/TermVector.ts index d916245a14..fd62f035f6 100644 --- a/specification/specs/document/single/term_vectors/TermVector.ts +++ b/specification/specs/document/single/term_vectors/TermVector.ts @@ -1,4 +1,4 @@ class TermVector { - field_statistics: FieldStatistics; - terms: Dictionary; + field_statistics: FieldStatistics + terms: Dictionary } diff --git a/specification/specs/document/single/term_vectors/TermVectorFilter.ts b/specification/specs/document/single/term_vectors/TermVectorFilter.ts index 3098a932ae..21860546bd 100644 --- a/specification/specs/document/single/term_vectors/TermVectorFilter.ts +++ b/specification/specs/document/single/term_vectors/TermVectorFilter.ts @@ -1,9 +1,9 @@ class TermVectorFilter { - max_doc_freq: integer; - max_num_terms: integer; - max_term_freq: integer; - max_word_length: integer; - min_doc_freq: integer; - min_term_freq: integer; - min_word_length: integer; + max_doc_freq: integer + max_num_terms: integer + max_term_freq: integer + max_word_length: integer + min_doc_freq: integer + min_term_freq: integer + min_word_length: integer } diff --git a/specification/specs/document/single/term_vectors/TermVectorTerm.ts b/specification/specs/document/single/term_vectors/TermVectorTerm.ts index 911ed473dc..0b251d767a 100644 --- a/specification/specs/document/single/term_vectors/TermVectorTerm.ts +++ b/specification/specs/document/single/term_vectors/TermVectorTerm.ts @@ -1,7 +1,7 @@ class TermVectorTerm { - doc_freq: integer; - score: double; - term_freq: integer; - tokens: Token[]; - ttf: integer; + doc_freq: integer + score: double + term_freq: integer + tokens: Token[] + ttf: integer } diff --git a/specification/specs/document/single/term_vectors/TermVectorsRequest.ts b/specification/specs/document/single/term_vectors/TermVectorsRequest.ts index c3bd8b851b..dbef91b070 100644 --- a/specification/specs/document/single/term_vectors/TermVectorsRequest.ts +++ b/specification/specs/document/single/term_vectors/TermVectorsRequest.ts @@ -1,27 +1,27 @@ -@rest_spec_name("termvectors") +@rest_spec_name('termvectors') class TermVectorsRequest extends RequestBase { path_parts?: { - index: IndexName; - id?: Id; - type?: TypeName; + index: IndexName + id?: Id + type?: TypeName } query_parameters?: { - fields?: Field[]; - field_statistics?: boolean; - offsets?: boolean; - payloads?: boolean; - positions?: boolean; - preference?: string; - realtime?: boolean; - routing?: Routing; - term_statistics?: boolean; - version?: long; - version_type?: VersionType; + fields?: Field[] + field_statistics?: boolean + offsets?: boolean + payloads?: boolean + positions?: boolean + preference?: string + realtime?: boolean + routing?: Routing + term_statistics?: boolean + version?: long + version_type?: VersionType } body?: { /** @prop_serializer SourceFormatter`1 */ - doc?: TDocument; - filter?: TermVectorFilter; - per_field_analyzer?: Dictionary; + doc?: TDocument + filter?: TermVectorFilter + per_field_analyzer?: Dictionary } } diff --git a/specification/specs/document/single/term_vectors/TermVectorsResponse.ts b/specification/specs/document/single/term_vectors/TermVectorsResponse.ts index fbab5e6bad..6557402c6b 100644 --- a/specification/specs/document/single/term_vectors/TermVectorsResponse.ts +++ b/specification/specs/document/single/term_vectors/TermVectorsResponse.ts @@ -1,10 +1,10 @@ class TermVectorsResponse extends ResponseBase { - found: boolean; - _id: string; - _index: string; + found: boolean + _id: string + _index: string /** @prop_serializer ResolvableReadOnlyDictionaryFormatter`2 */ - term_vectors: Dictionary; - took: long; - _type: string; - _version: long; + term_vectors: Dictionary + took: long + _type: string + _version: long } diff --git a/specification/specs/document/single/term_vectors/TermVectorsResult.ts b/specification/specs/document/single/term_vectors/TermVectorsResult.ts index c5213b230b..0619bbba5a 100644 --- a/specification/specs/document/single/term_vectors/TermVectorsResult.ts +++ b/specification/specs/document/single/term_vectors/TermVectorsResult.ts @@ -1,8 +1,8 @@ class TermVectorsResult { - found: boolean; - id: string; - index: string; - term_vectors: Dictionary; - took: long; - version: long; + found: boolean + id: string + index: string + term_vectors: Dictionary + took: long + version: long } diff --git a/specification/specs/document/single/term_vectors/Token.ts b/specification/specs/document/single/term_vectors/Token.ts index 1ce7c71b8c..4442b35995 100644 --- a/specification/specs/document/single/term_vectors/Token.ts +++ b/specification/specs/document/single/term_vectors/Token.ts @@ -1,6 +1,6 @@ class Token { - end_offset: integer; - payload: string; - position: integer; - start_offset: integer; + end_offset: integer + payload: string + position: integer + start_offset: integer } diff --git a/specification/specs/document/single/update/UpdateRequest.ts b/specification/specs/document/single/update/UpdateRequest.ts index baf29ab737..74d493da9d 100644 --- a/specification/specs/document/single/update/UpdateRequest.ts +++ b/specification/specs/document/single/update/UpdateRequest.ts @@ -1,37 +1,37 @@ /** * @type_stability stable */ -@rest_spec_name("update") +@rest_spec_name('update') class UpdateRequest extends RequestBase { path_parts?: { - id: Id; - index: IndexName; - type?: TypeName; + id: Id + index: IndexName + type?: TypeName } query_parameters?: { - if_primary_term?: long; - if_seq_no?: long; - lang?: string; - refresh?: Refresh; - require_alias?: boolean; - retry_on_conflict?: long; - routing?: Routing; - source_enabled?: boolean; - timeout?: Time; - wait_for_active_shards?: string; - _source?: Union>; - _source_excludes?: Field[]; - _source_includes?: Field[]; + if_primary_term?: long + if_seq_no?: long + lang?: string + refresh?: Refresh + require_alias?: boolean + retry_on_conflict?: long + routing?: Routing + source_enabled?: boolean + timeout?: Time + wait_for_active_shards?: string + _source?: Union> + _source_excludes?: Field[] + _source_includes?: Field[] } body?: { - detect_noop?: boolean; + detect_noop?: boolean /** @prop_serializer SourceFormatter`1 */ - doc?: TPartialDocument; - doc_as_upsert?: boolean; - script?: Script; - scripted_upsert?: boolean; - _source?: Union; + doc?: TPartialDocument + doc_as_upsert?: boolean + script?: Script + scripted_upsert?: boolean + _source?: Union /** @prop_serializer SourceFormatter`1 */ - upsert?: TDocument; + upsert?: TDocument } } diff --git a/specification/specs/document/single/update/UpdateResponse.ts b/specification/specs/document/single/update/UpdateResponse.ts index 03a69442fd..b5fcd1174a 100644 --- a/specification/specs/document/single/update/UpdateResponse.ts +++ b/specification/specs/document/single/update/UpdateResponse.ts @@ -2,5 +2,5 @@ * @type_stability stable */ class UpdateResponse extends WriteResponseBase { - get?: InlineGet; + get?: InlineGet } diff --git a/specification/specs/index_modules/index_settings/IndexState.ts b/specification/specs/index_modules/index_settings/IndexState.ts index 00db764911..67db786222 100644 --- a/specification/specs/index_modules/index_settings/IndexState.ts +++ b/specification/specs/index_modules/index_settings/IndexState.ts @@ -1,5 +1,5 @@ class IndexState { - aliases?: Dictionary; - mappings?: TypeMapping; - settings: Dictionary; + aliases?: Dictionary + mappings?: TypeMapping + settings: Dictionary } diff --git a/specification/specs/indices/alias_management/Alias.ts b/specification/specs/indices/alias_management/Alias.ts index 472c9900ff..a9f18f94fa 100644 --- a/specification/specs/indices/alias_management/Alias.ts +++ b/specification/specs/indices/alias_management/Alias.ts @@ -1,8 +1,8 @@ class Alias { - filter?: QueryContainer; - index_routing?: Routing; - is_hidden?: boolean; - is_write_index?: boolean; - routing?: Routing; - search_routing?: Routing; + filter?: QueryContainer + index_routing?: Routing + is_hidden?: boolean + is_write_index?: boolean + routing?: Routing + search_routing?: Routing } diff --git a/specification/specs/indices/alias_management/AliasDefinition.ts b/specification/specs/indices/alias_management/AliasDefinition.ts index 5555ae051d..484008788b 100644 --- a/specification/specs/indices/alias_management/AliasDefinition.ts +++ b/specification/specs/indices/alias_management/AliasDefinition.ts @@ -1,7 +1,7 @@ class AliasDefinition { - filter?: QueryContainer; - index_routing?: string; - is_write_index?: boolean; - routing?: string; - search_routing?: string; + filter?: QueryContainer + index_routing?: string + is_write_index?: boolean + routing?: string + search_routing?: string } diff --git a/specification/specs/indices/alias_management/alias/BulkAliasRequest.ts b/specification/specs/indices/alias_management/alias/BulkAliasRequest.ts index c5fe6d00d2..e4ee4787eb 100644 --- a/specification/specs/indices/alias_management/alias/BulkAliasRequest.ts +++ b/specification/specs/indices/alias_management/alias/BulkAliasRequest.ts @@ -1,10 +1,10 @@ -@rest_spec_name("indices.update_aliases") +@rest_spec_name('indices.update_aliases') class BulkAliasRequest extends RequestBase { query_parameters?: { - master_timeout?: Time; - timeout?: Time; + master_timeout?: Time + timeout?: Time } body?: { - actions?: AliasAction[]; + actions?: AliasAction[] } } diff --git a/specification/specs/indices/alias_management/alias/BulkAliasResponse.ts b/specification/specs/indices/alias_management/alias/BulkAliasResponse.ts index 394f3042fc..a6c5b05e19 100644 --- a/specification/specs/indices/alias_management/alias/BulkAliasResponse.ts +++ b/specification/specs/indices/alias_management/alias/BulkAliasResponse.ts @@ -1,2 +1 @@ -class BulkAliasResponse extends AcknowledgedResponseBase { -} +class BulkAliasResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/indices/alias_management/alias/actions/AliasAction.ts b/specification/specs/indices/alias_management/alias/actions/AliasAction.ts index 14c1ab5ac8..3a22447494 100644 --- a/specification/specs/indices/alias_management/alias/actions/AliasAction.ts +++ b/specification/specs/indices/alias_management/alias/actions/AliasAction.ts @@ -1,3 +1,2 @@ -@class_serializer("AliasActionFormatter") -class AliasAction { -} +@class_serializer('AliasActionFormatter') +class AliasAction {} diff --git a/specification/specs/indices/alias_management/alias_exists/AliasExistsRequest.ts b/specification/specs/indices/alias_management/alias_exists/AliasExistsRequest.ts index 83c9c56dff..f19200a755 100644 --- a/specification/specs/indices/alias_management/alias_exists/AliasExistsRequest.ts +++ b/specification/specs/indices/alias_management/alias_exists/AliasExistsRequest.ts @@ -1,15 +1,14 @@ -@rest_spec_name("indices.exists_alias") +@rest_spec_name('indices.exists_alias') class AliasExistsRequest extends RequestBase { path_parts?: { - name: Names; - index?: Indices; + name: Names + index?: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - local?: boolean; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + local?: boolean } + body?: {} } diff --git a/specification/specs/indices/alias_management/delete_alias/DeleteAliasRequest.ts b/specification/specs/indices/alias_management/delete_alias/DeleteAliasRequest.ts index 2ae0838eb5..c40c2cae95 100644 --- a/specification/specs/indices/alias_management/delete_alias/DeleteAliasRequest.ts +++ b/specification/specs/indices/alias_management/delete_alias/DeleteAliasRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("indices.delete_alias") +@rest_spec_name('indices.delete_alias') class DeleteAliasRequest extends RequestBase { path_parts?: { - index: Indices; - name: Names; + index: Indices + name: Names } query_parameters?: { - master_timeout?: Time; - timeout?: Time; - } - body?: { + master_timeout?: Time + timeout?: Time } + body?: {} } diff --git a/specification/specs/indices/alias_management/delete_alias/DeleteAliasResponse.ts b/specification/specs/indices/alias_management/delete_alias/DeleteAliasResponse.ts index f2012ae786..05a4564155 100644 --- a/specification/specs/indices/alias_management/delete_alias/DeleteAliasResponse.ts +++ b/specification/specs/indices/alias_management/delete_alias/DeleteAliasResponse.ts @@ -1,2 +1 @@ -class DeleteAliasResponse extends ResponseBase { -} +class DeleteAliasResponse extends ResponseBase {} diff --git a/specification/specs/indices/alias_management/get_alias/GetAliasRequest.ts b/specification/specs/indices/alias_management/get_alias/GetAliasRequest.ts index cfface02c1..394d086dc0 100644 --- a/specification/specs/indices/alias_management/get_alias/GetAliasRequest.ts +++ b/specification/specs/indices/alias_management/get_alias/GetAliasRequest.ts @@ -1,15 +1,14 @@ -@rest_spec_name("indices.get_alias") +@rest_spec_name('indices.get_alias') class GetAliasRequest extends RequestBase { path_parts?: { - name?: Names; - index?: Indices; + name?: Names + index?: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - local?: boolean; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + local?: boolean } + body?: {} } diff --git a/specification/specs/indices/alias_management/get_alias/GetAliasResponse.ts b/specification/specs/indices/alias_management/get_alias/GetAliasResponse.ts index f16a40f177..d251f1d319 100644 --- a/specification/specs/indices/alias_management/get_alias/GetAliasResponse.ts +++ b/specification/specs/indices/alias_management/get_alias/GetAliasResponse.ts @@ -1 +1,4 @@ -class GetAliasResponse extends DictionaryResponseBase {} +class GetAliasResponse extends DictionaryResponseBase< + IndexName, + IndexAliases +> {} diff --git a/specification/specs/indices/alias_management/get_alias/IndexAliases.ts b/specification/specs/indices/alias_management/get_alias/IndexAliases.ts index 462c8720d1..fc750bae8c 100644 --- a/specification/specs/indices/alias_management/get_alias/IndexAliases.ts +++ b/specification/specs/indices/alias_management/get_alias/IndexAliases.ts @@ -1,3 +1,3 @@ class IndexAliases { - aliases: Dictionary; + aliases: Dictionary } diff --git a/specification/specs/indices/alias_management/put_alias/PutAliasRequest.ts b/specification/specs/indices/alias_management/put_alias/PutAliasRequest.ts index 1eb9887a40..aebe38f1c5 100644 --- a/specification/specs/indices/alias_management/put_alias/PutAliasRequest.ts +++ b/specification/specs/indices/alias_management/put_alias/PutAliasRequest.ts @@ -1,18 +1,18 @@ -@rest_spec_name("indices.put_alias") +@rest_spec_name('indices.put_alias') class PutAliasRequest extends RequestBase { path_parts?: { - index: Indices; - name: Name; + index: Indices + name: Name } query_parameters?: { - master_timeout?: Time; - timeout?: Time; + master_timeout?: Time + timeout?: Time } body?: { - filter?: QueryContainer; - index_routing?: Routing; - is_write_index?: boolean; - routing?: Routing; - search_routing?: Routing; + filter?: QueryContainer + index_routing?: Routing + is_write_index?: boolean + routing?: Routing + search_routing?: Routing } } diff --git a/specification/specs/indices/alias_management/put_alias/PutAliasResponse.ts b/specification/specs/indices/alias_management/put_alias/PutAliasResponse.ts index c58c86b2e3..2b26e6e2c7 100644 --- a/specification/specs/indices/alias_management/put_alias/PutAliasResponse.ts +++ b/specification/specs/indices/alias_management/put_alias/PutAliasResponse.ts @@ -1,2 +1 @@ -class PutAliasResponse extends ResponseBase { -} +class PutAliasResponse extends ResponseBase {} diff --git a/specification/specs/indices/analyze/AnalyzeDetail.ts b/specification/specs/indices/analyze/AnalyzeDetail.ts index 9966432c3d..309b26ca38 100644 --- a/specification/specs/indices/analyze/AnalyzeDetail.ts +++ b/specification/specs/indices/analyze/AnalyzeDetail.ts @@ -1,7 +1,7 @@ class AnalyzeDetail { - analyzer? : AnalyzerDetail; - charfilters?: CharFilterDetail[]; - custom_analyzer: boolean; - tokenfilters?: TokenDetail[]; - tokenizer?: TokenDetail; + analyzer?: AnalyzerDetail + charfilters?: CharFilterDetail[] + custom_analyzer: boolean + tokenfilters?: TokenDetail[] + tokenizer?: TokenDetail } diff --git a/specification/specs/indices/analyze/AnalyzeRequest.ts b/specification/specs/indices/analyze/AnalyzeRequest.ts index 67b8c6acfa..a487baacc0 100644 --- a/specification/specs/indices/analyze/AnalyzeRequest.ts +++ b/specification/specs/indices/analyze/AnalyzeRequest.ts @@ -1,21 +1,20 @@ -@rest_spec_name("indices.analyze") +@rest_spec_name('indices.analyze') class AnalyzeRequest extends RequestBase { path_parts?: { - index?: IndexName; - } - query_parameters?: { + index?: IndexName } + query_parameters?: {} body?: { - analyzer?: string; - attributes?: string[]; - char_filter?: Union[]; - explain?: boolean; - field?: Field; - filter?: Union[]; - normalizer?: string; - text?: TextToAnalyze; - tokenizer?: Union; + analyzer?: string + attributes?: string[] + char_filter?: Union[] + explain?: boolean + field?: Field + filter?: Union[] + normalizer?: string + text?: TextToAnalyze + tokenizer?: Union } } -type TextToAnalyze = string | Array \ No newline at end of file +type TextToAnalyze = string | Array diff --git a/specification/specs/indices/analyze/AnalyzeResponse.ts b/specification/specs/indices/analyze/AnalyzeResponse.ts index 84ee2b0ecb..e9ba59ab51 100644 --- a/specification/specs/indices/analyze/AnalyzeResponse.ts +++ b/specification/specs/indices/analyze/AnalyzeResponse.ts @@ -1,4 +1,4 @@ class AnalyzeResponse extends ResponseBase { - detail?: AnalyzeDetail; - tokens?: AnalyzeToken[]; + detail?: AnalyzeDetail + tokens?: AnalyzeToken[] } diff --git a/specification/specs/indices/analyze/AnalyzeToken.ts b/specification/specs/indices/analyze/AnalyzeToken.ts index 4ae2054597..274d58eab4 100644 --- a/specification/specs/indices/analyze/AnalyzeToken.ts +++ b/specification/specs/indices/analyze/AnalyzeToken.ts @@ -1,8 +1,8 @@ class AnalyzeToken { - end_offset: long; - position: long; - position_length?: long; - start_offset: long; - token: string; - type: string; + end_offset: long + position: long + position_length?: long + start_offset: long + token: string + type: string } diff --git a/specification/specs/indices/analyze/AnalyzerDetail.ts b/specification/specs/indices/analyze/AnalyzerDetail.ts index 635fa0886e..296074e642 100644 --- a/specification/specs/indices/analyze/AnalyzerDetail.ts +++ b/specification/specs/indices/analyze/AnalyzerDetail.ts @@ -1,4 +1,4 @@ class AnalyzerDetail { - name: string; - tokens: Array; -} \ No newline at end of file + name: string + tokens: Array +} diff --git a/specification/specs/indices/analyze/CharFilterDetail.ts b/specification/specs/indices/analyze/CharFilterDetail.ts index 9b0d5b0a26..29b68f3fef 100644 --- a/specification/specs/indices/analyze/CharFilterDetail.ts +++ b/specification/specs/indices/analyze/CharFilterDetail.ts @@ -1,4 +1,4 @@ class CharFilterDetail { - filtered_text: string[]; - name: string; + filtered_text: string[] + name: string } diff --git a/specification/specs/indices/analyze/ExplainAnalyzeToken.ts b/specification/specs/indices/analyze/ExplainAnalyzeToken.ts index 53acf2a055..aa2a871e36 100644 --- a/specification/specs/indices/analyze/ExplainAnalyzeToken.ts +++ b/specification/specs/indices/analyze/ExplainAnalyzeToken.ts @@ -1,11 +1,11 @@ class ExplainAnalyzeToken { - bytes: string; - end_offset: long; - keyword?: boolean; - position: long; - positionLength: long; - start_offset: long; - termFrequency: long; - token: string; - type: string; + bytes: string + end_offset: long + keyword?: boolean + position: long + positionLength: long + start_offset: long + termFrequency: long + token: string + type: string } diff --git a/specification/specs/indices/analyze/TokenDetail.ts b/specification/specs/indices/analyze/TokenDetail.ts index 542200bbd9..87d4f0b474 100644 --- a/specification/specs/indices/analyze/TokenDetail.ts +++ b/specification/specs/indices/analyze/TokenDetail.ts @@ -1,4 +1,4 @@ class TokenDetail { - name: string; - tokens: ExplainAnalyzeToken[]; + name: string + tokens: ExplainAnalyzeToken[] } diff --git a/specification/specs/indices/index_management/clone_index/CloneIndexRequest.ts b/specification/specs/indices/index_management/clone_index/CloneIndexRequest.ts index d39d536ed2..89ec7a7783 100644 --- a/specification/specs/indices/index_management/clone_index/CloneIndexRequest.ts +++ b/specification/specs/indices/index_management/clone_index/CloneIndexRequest.ts @@ -1,19 +1,19 @@ /** * @type_stability stable */ -@rest_spec_name("indices.clone") +@rest_spec_name('indices.clone') class CloneIndexRequest extends RequestBase { path_parts?: { - index: IndexName; - target: Name; + index: IndexName + target: Name } query_parameters?: { - master_timeout?: Time; - timeout?: Time; - wait_for_active_shards?: string | number; + master_timeout?: Time + timeout?: Time + wait_for_active_shards?: string | number } body?: { - aliases?: Dictionary; - settings?: Dictionary; + aliases?: Dictionary + settings?: Dictionary } } diff --git a/specification/specs/indices/index_management/clone_index/CloneIndexResponse.ts b/specification/specs/indices/index_management/clone_index/CloneIndexResponse.ts index 451d25bd93..91f0055dad 100644 --- a/specification/specs/indices/index_management/clone_index/CloneIndexResponse.ts +++ b/specification/specs/indices/index_management/clone_index/CloneIndexResponse.ts @@ -2,6 +2,6 @@ * @type_stability stable */ class CloneIndexResponse extends AcknowledgedResponseBase { - index: string; - shards_acknowledged: boolean; + index: string + shards_acknowledged: boolean } diff --git a/specification/specs/indices/index_management/create_index/CreateIndexRequest.ts b/specification/specs/indices/index_management/create_index/CreateIndexRequest.ts index f989a9d10e..97d3cce655 100644 --- a/specification/specs/indices/index_management/create_index/CreateIndexRequest.ts +++ b/specification/specs/indices/index_management/create_index/CreateIndexRequest.ts @@ -1,17 +1,17 @@ -@rest_spec_name("indices.create") +@rest_spec_name('indices.create') class CreateIndexRequest extends RequestBase { path_parts?: { - index: IndexName; + index: IndexName } query_parameters?: { - include_type_name?: boolean; - master_timeout?: Time; - timeout?: Time; - wait_for_active_shards?: string; + include_type_name?: boolean + master_timeout?: Time + timeout?: Time + wait_for_active_shards?: string } body?: { - aliases?: Dictionary; - mappings?: TypeMapping; - settings?: Dictionary; + aliases?: Dictionary + mappings?: TypeMapping + settings?: Dictionary } } diff --git a/specification/specs/indices/index_management/create_index/CreateIndexResponse.ts b/specification/specs/indices/index_management/create_index/CreateIndexResponse.ts index bb1b1bbce1..b2575e7a20 100644 --- a/specification/specs/indices/index_management/create_index/CreateIndexResponse.ts +++ b/specification/specs/indices/index_management/create_index/CreateIndexResponse.ts @@ -1,4 +1,4 @@ class CreateIndexResponse extends AcknowledgedResponseBase { - index: string; - shards_acknowledged: boolean; + index: string + shards_acknowledged: boolean } diff --git a/specification/specs/indices/index_management/delete_index/DeleteIndexRequest.ts b/specification/specs/indices/index_management/delete_index/DeleteIndexRequest.ts index 485d245932..db8e361342 100644 --- a/specification/specs/indices/index_management/delete_index/DeleteIndexRequest.ts +++ b/specification/specs/indices/index_management/delete_index/DeleteIndexRequest.ts @@ -1,15 +1,14 @@ -@rest_spec_name("indices.delete") +@rest_spec_name('indices.delete') class DeleteIndexRequest extends RequestBase { path_parts?: { - index: Indices; + index: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - master_timeout?: Time; - timeout?: Time; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + master_timeout?: Time + timeout?: Time } + body?: {} } diff --git a/specification/specs/indices/index_management/delete_index/DeleteIndexResponse.ts b/specification/specs/indices/index_management/delete_index/DeleteIndexResponse.ts index cce19dd321..20f88aefe5 100644 --- a/specification/specs/indices/index_management/delete_index/DeleteIndexResponse.ts +++ b/specification/specs/indices/index_management/delete_index/DeleteIndexResponse.ts @@ -1,2 +1 @@ -class DeleteIndexResponse extends IndicesResponseBase { -} +class DeleteIndexResponse extends IndicesResponseBase {} diff --git a/specification/specs/indices/index_management/freeze_index/FreezeIndexRequest.ts b/specification/specs/indices/index_management/freeze_index/FreezeIndexRequest.ts index e033a94492..38db8b395d 100644 --- a/specification/specs/indices/index_management/freeze_index/FreezeIndexRequest.ts +++ b/specification/specs/indices/index_management/freeze_index/FreezeIndexRequest.ts @@ -1,19 +1,18 @@ /** * @type_stability stable */ -@rest_spec_name("indices.freeze") +@rest_spec_name('indices.freeze') class FreezeIndexRequest extends RequestBase { path_parts?: { - index: IndexName; + index: IndexName } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - master_timeout?: Time; - timeout?: Time; - wait_for_active_shards?: string | number; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + master_timeout?: Time + timeout?: Time + wait_for_active_shards?: string | number } + body?: {} } diff --git a/specification/specs/indices/index_management/freeze_index/FreezeIndexResponse.ts b/specification/specs/indices/index_management/freeze_index/FreezeIndexResponse.ts index 344228359a..5e9aa28684 100644 --- a/specification/specs/indices/index_management/freeze_index/FreezeIndexResponse.ts +++ b/specification/specs/indices/index_management/freeze_index/FreezeIndexResponse.ts @@ -2,5 +2,5 @@ * @type_stability stable */ class FreezeIndexResponse extends AcknowledgedResponseBase { - shards_acknowledged: boolean; + shards_acknowledged: boolean } diff --git a/specification/specs/indices/index_management/get_index/GetIndexRequest.ts b/specification/specs/indices/index_management/get_index/GetIndexRequest.ts index dd80c98b8c..9134bbfd43 100644 --- a/specification/specs/indices/index_management/get_index/GetIndexRequest.ts +++ b/specification/specs/indices/index_management/get_index/GetIndexRequest.ts @@ -1,18 +1,17 @@ -@rest_spec_name("indices.get") +@rest_spec_name('indices.get') class GetIndexRequest extends RequestBase { path_parts?: { - index: Indices; + index: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - flat_settings?: boolean; - ignore_unavailable?: boolean; - include_defaults?: boolean; - include_type_name?: boolean; - local?: boolean; - master_timeout?: Time; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + flat_settings?: boolean + ignore_unavailable?: boolean + include_defaults?: boolean + include_type_name?: boolean + local?: boolean + master_timeout?: Time } + body?: {} } diff --git a/specification/specs/indices/index_management/indices_exists/IndexExistsRequest.ts b/specification/specs/indices/index_management/indices_exists/IndexExistsRequest.ts index 12414a2091..f1bee284af 100644 --- a/specification/specs/indices/index_management/indices_exists/IndexExistsRequest.ts +++ b/specification/specs/indices/index_management/indices_exists/IndexExistsRequest.ts @@ -1,16 +1,15 @@ -@rest_spec_name("indices.exists") +@rest_spec_name('indices.exists') class IndexExistsRequest extends RequestBase { path_parts?: { - index: Indices; + index: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - flat_settings?: boolean; - ignore_unavailable?: boolean; - include_defaults?: boolean; - local?: boolean; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + flat_settings?: boolean + ignore_unavailable?: boolean + include_defaults?: boolean + local?: boolean } + body?: {} } diff --git a/specification/specs/indices/index_management/open_close_index/close_index/CloseIndexRequest.ts b/specification/specs/indices/index_management/open_close_index/close_index/CloseIndexRequest.ts index 3c01f531a0..c0c27fcbcd 100644 --- a/specification/specs/indices/index_management/open_close_index/close_index/CloseIndexRequest.ts +++ b/specification/specs/indices/index_management/open_close_index/close_index/CloseIndexRequest.ts @@ -1,16 +1,15 @@ -@rest_spec_name("indices.close") +@rest_spec_name('indices.close') class CloseIndexRequest extends RequestBase { path_parts?: { - index: Indices; + index: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - master_timeout?: Time; - timeout?: Time; - wait_for_active_shards?: string; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + master_timeout?: Time + timeout?: Time + wait_for_active_shards?: string } + body?: {} } diff --git a/specification/specs/indices/index_management/open_close_index/close_index/CloseIndexResponse.ts b/specification/specs/indices/index_management/open_close_index/close_index/CloseIndexResponse.ts index f86301ef4a..e59e5411bd 100644 --- a/specification/specs/indices/index_management/open_close_index/close_index/CloseIndexResponse.ts +++ b/specification/specs/indices/index_management/open_close_index/close_index/CloseIndexResponse.ts @@ -1,4 +1,4 @@ class CloseIndexResponse extends AcknowledgedResponseBase { - indices: Dictionary; - shards_acknowledged: boolean; + indices: Dictionary + shards_acknowledged: boolean } diff --git a/specification/specs/indices/index_management/open_close_index/close_index/CloseIndexResult.ts b/specification/specs/indices/index_management/open_close_index/close_index/CloseIndexResult.ts index 6c61a0eacc..8e23115946 100644 --- a/specification/specs/indices/index_management/open_close_index/close_index/CloseIndexResult.ts +++ b/specification/specs/indices/index_management/open_close_index/close_index/CloseIndexResult.ts @@ -1,4 +1,4 @@ class CloseIndexResult { - closed: boolean; - shards: Dictionary; + closed: boolean + shards: Dictionary } diff --git a/specification/specs/indices/index_management/open_close_index/close_index/CloseShardResult.ts b/specification/specs/indices/index_management/open_close_index/close_index/CloseShardResult.ts index 67fcb049e3..206295dd1a 100644 --- a/specification/specs/indices/index_management/open_close_index/close_index/CloseShardResult.ts +++ b/specification/specs/indices/index_management/open_close_index/close_index/CloseShardResult.ts @@ -1,3 +1,3 @@ class CloseShardResult { - failures: ShardFailure[]; + failures: ShardFailure[] } diff --git a/specification/specs/indices/index_management/open_close_index/open_index/OpenIndexRequest.ts b/specification/specs/indices/index_management/open_close_index/open_index/OpenIndexRequest.ts index 007ea55aa4..2f1f716ea8 100644 --- a/specification/specs/indices/index_management/open_close_index/open_index/OpenIndexRequest.ts +++ b/specification/specs/indices/index_management/open_close_index/open_index/OpenIndexRequest.ts @@ -1,16 +1,15 @@ -@rest_spec_name("indices.open") +@rest_spec_name('indices.open') class OpenIndexRequest extends RequestBase { path_parts?: { - index: Indices; + index: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - master_timeout?: Time; - timeout?: Time; - wait_for_active_shards?: string; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + master_timeout?: Time + timeout?: Time + wait_for_active_shards?: string } + body?: {} } diff --git a/specification/specs/indices/index_management/open_close_index/open_index/OpenIndexResponse.ts b/specification/specs/indices/index_management/open_close_index/open_index/OpenIndexResponse.ts index 7a5607395a..75b6d5efe4 100644 --- a/specification/specs/indices/index_management/open_close_index/open_index/OpenIndexResponse.ts +++ b/specification/specs/indices/index_management/open_close_index/open_index/OpenIndexResponse.ts @@ -1,2 +1 @@ -class OpenIndexResponse extends AcknowledgedResponseBase { -} +class OpenIndexResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/indices/index_management/rollover_index/RolloverConditions.ts b/specification/specs/indices/index_management/rollover_index/RolloverConditions.ts index 890a6ee554..23af537550 100644 --- a/specification/specs/indices/index_management/rollover_index/RolloverConditions.ts +++ b/specification/specs/indices/index_management/rollover_index/RolloverConditions.ts @@ -1,5 +1,5 @@ class RolloverConditions { - max_age: Time; - max_docs: long; - max_size: string; + max_age: Time + max_docs: long + max_size: string } diff --git a/specification/specs/indices/index_management/rollover_index/RolloverIndexRequest.ts b/specification/specs/indices/index_management/rollover_index/RolloverIndexRequest.ts index b1319ce5d3..dc050be3b7 100644 --- a/specification/specs/indices/index_management/rollover_index/RolloverIndexRequest.ts +++ b/specification/specs/indices/index_management/rollover_index/RolloverIndexRequest.ts @@ -1,20 +1,20 @@ -@rest_spec_name("indices.rollover") +@rest_spec_name('indices.rollover') class RolloverIndexRequest extends RequestBase { path_parts?: { - alias: Alias; - new_index?: IndexName; + alias: Alias + new_index?: IndexName } query_parameters?: { - dry_run?: boolean; - include_type_name?: boolean; - master_timeout?: Time; - timeout?: Time; - wait_for_active_shards?: string; + dry_run?: boolean + include_type_name?: boolean + master_timeout?: Time + timeout?: Time + wait_for_active_shards?: string } body?: { - aliases?: Dictionary; - conditions?: RolloverConditions; - mappings?: TypeMapping; - settings?: Dictionary; + aliases?: Dictionary + conditions?: RolloverConditions + mappings?: TypeMapping + settings?: Dictionary } } diff --git a/specification/specs/indices/index_management/rollover_index/RolloverIndexResponse.ts b/specification/specs/indices/index_management/rollover_index/RolloverIndexResponse.ts index 3b78200c4c..4351aeb968 100644 --- a/specification/specs/indices/index_management/rollover_index/RolloverIndexResponse.ts +++ b/specification/specs/indices/index_management/rollover_index/RolloverIndexResponse.ts @@ -1,8 +1,8 @@ class RolloverIndexResponse extends AcknowledgedResponseBase { - conditions: Dictionary; - dry_run: boolean; - new_index: string; - old_index: string; - rolled_over: boolean; - shards_acknowledged: boolean; + conditions: Dictionary + dry_run: boolean + new_index: string + old_index: string + rolled_over: boolean + shards_acknowledged: boolean } diff --git a/specification/specs/indices/index_management/shrink_index/ShrinkIndexRequest.ts b/specification/specs/indices/index_management/shrink_index/ShrinkIndexRequest.ts index 89a944cda2..546ab0b02d 100644 --- a/specification/specs/indices/index_management/shrink_index/ShrinkIndexRequest.ts +++ b/specification/specs/indices/index_management/shrink_index/ShrinkIndexRequest.ts @@ -1,16 +1,16 @@ -@rest_spec_name("indices.shrink") +@rest_spec_name('indices.shrink') class ShrinkIndexRequest extends RequestBase { path_parts?: { - index: IndexName; - target: IndexName; + index: IndexName + target: IndexName } query_parameters?: { - master_timeout?: Time; - timeout?: Time; - wait_for_active_shards?: string; + master_timeout?: Time + timeout?: Time + wait_for_active_shards?: string } body?: { - aliases?: Dictionary; - settings?: Dictionary; + aliases?: Dictionary + settings?: Dictionary } } diff --git a/specification/specs/indices/index_management/shrink_index/ShrinkIndexResponse.ts b/specification/specs/indices/index_management/shrink_index/ShrinkIndexResponse.ts index b33784b701..0e6899beff 100644 --- a/specification/specs/indices/index_management/shrink_index/ShrinkIndexResponse.ts +++ b/specification/specs/indices/index_management/shrink_index/ShrinkIndexResponse.ts @@ -1,3 +1,3 @@ class ShrinkIndexResponse extends AcknowledgedResponseBase { - shards_acknowledged: boolean; + shards_acknowledged: boolean } diff --git a/specification/specs/indices/index_management/split_index/SplitIndexRequest.ts b/specification/specs/indices/index_management/split_index/SplitIndexRequest.ts index e466499c15..7e35dc8e7e 100644 --- a/specification/specs/indices/index_management/split_index/SplitIndexRequest.ts +++ b/specification/specs/indices/index_management/split_index/SplitIndexRequest.ts @@ -1,16 +1,16 @@ -@rest_spec_name("indices.split") +@rest_spec_name('indices.split') class SplitIndexRequest extends RequestBase { path_parts?: { - index: IndexName; - target: IndexName; + index: IndexName + target: IndexName } query_parameters?: { - master_timeout?: Time; - timeout?: Time; - wait_for_active_shards?: string; + master_timeout?: Time + timeout?: Time + wait_for_active_shards?: string } body?: { - aliases?: Dictionary; - settings?: Dictionary; + aliases?: Dictionary + settings?: Dictionary } } diff --git a/specification/specs/indices/index_management/split_index/SplitIndexResponse.ts b/specification/specs/indices/index_management/split_index/SplitIndexResponse.ts index 50d9dcc24e..0437e9a92f 100644 --- a/specification/specs/indices/index_management/split_index/SplitIndexResponse.ts +++ b/specification/specs/indices/index_management/split_index/SplitIndexResponse.ts @@ -1,3 +1,3 @@ class SplitIndexResponse extends AcknowledgedResponseBase { - shards_acknowledged: boolean; + shards_acknowledged: boolean } diff --git a/specification/specs/indices/index_management/types_exists/TypeExistsRequest.ts b/specification/specs/indices/index_management/types_exists/TypeExistsRequest.ts index 8c025ec1fe..f413c09174 100644 --- a/specification/specs/indices/index_management/types_exists/TypeExistsRequest.ts +++ b/specification/specs/indices/index_management/types_exists/TypeExistsRequest.ts @@ -1,15 +1,14 @@ -@rest_spec_name("indices.exists_type") +@rest_spec_name('indices.exists_type') class TypeExistsRequest extends RequestBase { path_parts?: { - index: Indices; - type: TypeNames; + index: Indices + type: TypeNames } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - local?: boolean; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + local?: boolean } + body?: {} } diff --git a/specification/specs/indices/index_management/unfreeze_index/UnfreezeIndexRequest.ts b/specification/specs/indices/index_management/unfreeze_index/UnfreezeIndexRequest.ts index e906ef41da..f29cf9d8cf 100644 --- a/specification/specs/indices/index_management/unfreeze_index/UnfreezeIndexRequest.ts +++ b/specification/specs/indices/index_management/unfreeze_index/UnfreezeIndexRequest.ts @@ -1,16 +1,15 @@ -@rest_spec_name("indices.unfreeze") +@rest_spec_name('indices.unfreeze') class UnfreezeIndexRequest extends RequestBase { path_parts?: { - index: IndexName; + index: IndexName } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - master_timeout?: Time; - timeout?: Time; - wait_for_active_shards?: string; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + master_timeout?: Time + timeout?: Time + wait_for_active_shards?: string } + body?: {} } diff --git a/specification/specs/indices/index_management/unfreeze_index/UnfreezeIndexResponse.ts b/specification/specs/indices/index_management/unfreeze_index/UnfreezeIndexResponse.ts index b13c24754f..8cf2cf7af9 100644 --- a/specification/specs/indices/index_management/unfreeze_index/UnfreezeIndexResponse.ts +++ b/specification/specs/indices/index_management/unfreeze_index/UnfreezeIndexResponse.ts @@ -1,3 +1,3 @@ class UnfreezeIndexResponse extends AcknowledgedResponseBase { - shards_acknowledged: boolean; + shards_acknowledged: boolean } diff --git a/specification/specs/indices/index_settings/get_index_settings/GetIndexSettingsRequest.ts b/specification/specs/indices/index_settings/get_index_settings/GetIndexSettingsRequest.ts index 937ed22633..9ddc1ec3b7 100644 --- a/specification/specs/indices/index_settings/get_index_settings/GetIndexSettingsRequest.ts +++ b/specification/specs/indices/index_settings/get_index_settings/GetIndexSettingsRequest.ts @@ -1,18 +1,17 @@ -@rest_spec_name("indices.get_settings") +@rest_spec_name('indices.get_settings') class GetIndexSettingsRequest extends RequestBase { path_parts?: { - index?: Indices; - name?: Names; + index?: Indices + name?: Names } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - flat_settings?: boolean; - ignore_unavailable?: boolean; - include_defaults?: boolean; - local?: boolean; - master_timeout?: Time; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + flat_settings?: boolean + ignore_unavailable?: boolean + include_defaults?: boolean + local?: boolean + master_timeout?: Time } + body?: {} } diff --git a/specification/specs/indices/index_settings/get_index_settings/GetIndexSettingsResponse.ts b/specification/specs/indices/index_settings/get_index_settings/GetIndexSettingsResponse.ts index 49a31d942b..152c10f85e 100644 --- a/specification/specs/indices/index_settings/get_index_settings/GetIndexSettingsResponse.ts +++ b/specification/specs/indices/index_settings/get_index_settings/GetIndexSettingsResponse.ts @@ -1 +1,4 @@ -class GetIndexSettingsResponse extends DictionaryResponseBase {} +class GetIndexSettingsResponse extends DictionaryResponseBase< + IndexName, + IndexState +> {} diff --git a/specification/specs/indices/index_settings/index_templates/delete_index_template/DeleteIndexTemplateRequest.ts b/specification/specs/indices/index_settings/index_templates/delete_index_template/DeleteIndexTemplateRequest.ts index e4a12056dc..ff6028e775 100644 --- a/specification/specs/indices/index_settings/index_templates/delete_index_template/DeleteIndexTemplateRequest.ts +++ b/specification/specs/indices/index_settings/index_templates/delete_index_template/DeleteIndexTemplateRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("indices.delete_template") +@rest_spec_name('indices.delete_template') class DeleteIndexTemplateRequest extends RequestBase { path_parts?: { - name: Name; + name: Name } query_parameters?: { - master_timeout?: Time; - timeout?: Time; - } - body?: { + master_timeout?: Time + timeout?: Time } + body?: {} } diff --git a/specification/specs/indices/index_settings/index_templates/delete_index_template/DeleteIndexTemplateResponse.ts b/specification/specs/indices/index_settings/index_templates/delete_index_template/DeleteIndexTemplateResponse.ts index 2871220a2e..37c3918a83 100644 --- a/specification/specs/indices/index_settings/index_templates/delete_index_template/DeleteIndexTemplateResponse.ts +++ b/specification/specs/indices/index_settings/index_templates/delete_index_template/DeleteIndexTemplateResponse.ts @@ -1,2 +1 @@ -class DeleteIndexTemplateResponse extends AcknowledgedResponseBase { -} +class DeleteIndexTemplateResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/indices/index_settings/index_templates/get_index_template/GetIndexTemplateRequest.ts b/specification/specs/indices/index_settings/index_templates/get_index_template/GetIndexTemplateRequest.ts index 3bfe406ffe..6a148b97f5 100644 --- a/specification/specs/indices/index_settings/index_templates/get_index_template/GetIndexTemplateRequest.ts +++ b/specification/specs/indices/index_settings/index_templates/get_index_template/GetIndexTemplateRequest.ts @@ -1,14 +1,13 @@ -@rest_spec_name("indices.get_template") +@rest_spec_name('indices.get_template') class GetIndexTemplateRequest extends RequestBase { path_parts?: { - name?: Names; + name?: Names } query_parameters?: { - flat_settings?: boolean; - include_type_name?: boolean; - local?: boolean; - master_timeout?: Time; - } - body?: { + flat_settings?: boolean + include_type_name?: boolean + local?: boolean + master_timeout?: Time } + body?: {} } diff --git a/specification/specs/indices/index_settings/index_templates/get_index_template/GetIndexTemplateResponse.ts b/specification/specs/indices/index_settings/index_templates/get_index_template/GetIndexTemplateResponse.ts index a97d0e0a51..9f0f46cae9 100644 --- a/specification/specs/indices/index_settings/index_templates/get_index_template/GetIndexTemplateResponse.ts +++ b/specification/specs/indices/index_settings/index_templates/get_index_template/GetIndexTemplateResponse.ts @@ -1 +1,4 @@ -class GetIndexTemplateResponse extends DictionaryResponseBase {} +class GetIndexTemplateResponse extends DictionaryResponseBase< + string, + TemplateMapping +> {} diff --git a/specification/specs/indices/index_settings/index_templates/get_index_template/TemplateMapping.ts b/specification/specs/indices/index_settings/index_templates/get_index_template/TemplateMapping.ts index ef8aa27d32..8cecc29f0d 100644 --- a/specification/specs/indices/index_settings/index_templates/get_index_template/TemplateMapping.ts +++ b/specification/specs/indices/index_settings/index_templates/get_index_template/TemplateMapping.ts @@ -1,8 +1,8 @@ class TemplateMapping { - aliases: Dictionary; - index_patterns: string[]; - mappings: TypeMapping; - order: integer; - settings: Dictionary; - version: integer; + aliases: Dictionary + index_patterns: string[] + mappings: TypeMapping + order: integer + settings: Dictionary + version: integer } diff --git a/specification/specs/indices/index_settings/index_templates/index_template_exists/IndexTemplateExistsRequest.ts b/specification/specs/indices/index_settings/index_templates/index_template_exists/IndexTemplateExistsRequest.ts index 9d0972e478..76d30d0606 100644 --- a/specification/specs/indices/index_settings/index_templates/index_template_exists/IndexTemplateExistsRequest.ts +++ b/specification/specs/indices/index_settings/index_templates/index_template_exists/IndexTemplateExistsRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("indices.exists_template") +@rest_spec_name('indices.exists_template') class IndexTemplateExistsRequest extends RequestBase { path_parts?: { - name: Names; + name: Names } query_parameters?: { - flat_settings?: boolean; - local?: boolean; - master_timeout?: Time; - } - body?: { + flat_settings?: boolean + local?: boolean + master_timeout?: Time } + body?: {} } diff --git a/specification/specs/indices/index_settings/index_templates/index_template_exists/IndexTemplateExistsResponse.ts b/specification/specs/indices/index_settings/index_templates/index_template_exists/IndexTemplateExistsResponse.ts index c5a547a298..8ae9ae906d 100644 --- a/specification/specs/indices/index_settings/index_templates/index_template_exists/IndexTemplateExistsResponse.ts +++ b/specification/specs/indices/index_settings/index_templates/index_template_exists/IndexTemplateExistsResponse.ts @@ -1 +1,3 @@ -class IndexTemplateExistsResponse extends ResponseBase implements EmptyResponseBase {} +class IndexTemplateExistsResponse + extends ResponseBase + implements EmptyResponseBase {} diff --git a/specification/specs/indices/index_settings/index_templates/put_index_template/PutIndexTemplateRequest.ts b/specification/specs/indices/index_settings/index_templates/put_index_template/PutIndexTemplateRequest.ts index b8029e1b87..748c566827 100644 --- a/specification/specs/indices/index_settings/index_templates/put_index_template/PutIndexTemplateRequest.ts +++ b/specification/specs/indices/index_settings/index_templates/put_index_template/PutIndexTemplateRequest.ts @@ -1,21 +1,21 @@ -@rest_spec_name("indices.put_template") +@rest_spec_name('indices.put_template') class PutIndexTemplateRequest extends RequestBase { path_parts?: { - name: Name; + name: Name } query_parameters?: { - create?: boolean; - flat_settings?: boolean; - include_type_name?: boolean; - master_timeout?: Time; - timeout?: Time; + create?: boolean + flat_settings?: boolean + include_type_name?: boolean + master_timeout?: Time + timeout?: Time } body?: { - aliases?: Dictionary; - index_patterns?: string[]; - mappings?: TypeMapping; - order?: integer; - settings?: Dictionary; - version?: integer; + aliases?: Dictionary + index_patterns?: string[] + mappings?: TypeMapping + order?: integer + settings?: Dictionary + version?: integer } } diff --git a/specification/specs/indices/index_settings/index_templates/put_index_template/PutIndexTemplateResponse.ts b/specification/specs/indices/index_settings/index_templates/put_index_template/PutIndexTemplateResponse.ts index 00a9793b44..50f1030d2a 100644 --- a/specification/specs/indices/index_settings/index_templates/put_index_template/PutIndexTemplateResponse.ts +++ b/specification/specs/indices/index_settings/index_templates/put_index_template/PutIndexTemplateResponse.ts @@ -1,2 +1 @@ -class PutIndexTemplateResponse extends AcknowledgedResponseBase { -} +class PutIndexTemplateResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/indices/index_settings/update_index_settings/UpdateIndexSettingsRequest.ts b/specification/specs/indices/index_settings/update_index_settings/UpdateIndexSettingsRequest.ts index 047d598fbf..ec740560d2 100644 --- a/specification/specs/indices/index_settings/update_index_settings/UpdateIndexSettingsRequest.ts +++ b/specification/specs/indices/index_settings/update_index_settings/UpdateIndexSettingsRequest.ts @@ -1,19 +1,19 @@ -@rest_spec_name("indices.put_settings") -@class_serializer("UpdateIndexSettingsRequestFormatter") +@rest_spec_name('indices.put_settings') +@class_serializer('UpdateIndexSettingsRequestFormatter') class UpdateIndexSettingsRequest extends RequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - flat_settings?: boolean; - ignore_unavailable?: boolean; - master_timeout?: Time; - preserve_existing?: boolean; - timeout?: Time; + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + flat_settings?: boolean + ignore_unavailable?: boolean + master_timeout?: Time + preserve_existing?: boolean + timeout?: Time } body?: { - index?: Dictionary; + index?: Dictionary } } diff --git a/specification/specs/indices/index_settings/update_index_settings/UpdateIndexSettingsResponse.ts b/specification/specs/indices/index_settings/update_index_settings/UpdateIndexSettingsResponse.ts index 73fb5452f9..731149f3c4 100644 --- a/specification/specs/indices/index_settings/update_index_settings/UpdateIndexSettingsResponse.ts +++ b/specification/specs/indices/index_settings/update_index_settings/UpdateIndexSettingsResponse.ts @@ -1,2 +1 @@ -class UpdateIndexSettingsResponse extends AcknowledgedResponseBase { -} +class UpdateIndexSettingsResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/indices/mapping_management/get_field_mapping/GetFieldMappingRequest.ts b/specification/specs/indices/mapping_management/get_field_mapping/GetFieldMappingRequest.ts index 1103621d04..9dba93fe35 100644 --- a/specification/specs/indices/mapping_management/get_field_mapping/GetFieldMappingRequest.ts +++ b/specification/specs/indices/mapping_management/get_field_mapping/GetFieldMappingRequest.ts @@ -1,18 +1,17 @@ -@rest_spec_name("indices.get_field_mapping") +@rest_spec_name('indices.get_field_mapping') class GetFieldMappingRequest extends RequestBase { path_parts?: { - fields: Fields; - index?: Indices; - type?: TypeNames; + fields: Fields + index?: Indices + type?: TypeNames } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - include_defaults?: boolean; - include_type_name?: boolean; - local?: boolean; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + include_defaults?: boolean + include_type_name?: boolean + local?: boolean } + body?: {} } diff --git a/specification/specs/indices/mapping_management/get_field_mapping/GetFieldMappingResponse.ts b/specification/specs/indices/mapping_management/get_field_mapping/GetFieldMappingResponse.ts index 0260597faf..ce0f2872b7 100644 --- a/specification/specs/indices/mapping_management/get_field_mapping/GetFieldMappingResponse.ts +++ b/specification/specs/indices/mapping_management/get_field_mapping/GetFieldMappingResponse.ts @@ -1 +1,4 @@ -class GetFieldMappingResponse extends DictionaryResponseBase {} +class GetFieldMappingResponse extends DictionaryResponseBase< + IndexName, + TypeFieldMappings +> {} diff --git a/specification/specs/indices/mapping_management/get_field_mapping/TypeFieldMappings.ts b/specification/specs/indices/mapping_management/get_field_mapping/TypeFieldMappings.ts index cffc80b53f..1b6af301e4 100644 --- a/specification/specs/indices/mapping_management/get_field_mapping/TypeFieldMappings.ts +++ b/specification/specs/indices/mapping_management/get_field_mapping/TypeFieldMappings.ts @@ -1,4 +1,4 @@ class TypeFieldMappings { /** @prop_serializer ResolvableReadOnlyDictionaryFormatter`2 */ - mappings: Dictionary; + mappings: Dictionary } diff --git a/specification/specs/indices/mapping_management/get_mapping/GetMappingRequest.ts b/specification/specs/indices/mapping_management/get_mapping/GetMappingRequest.ts index 71138171db..75d2b8e95e 100644 --- a/specification/specs/indices/mapping_management/get_mapping/GetMappingRequest.ts +++ b/specification/specs/indices/mapping_management/get_mapping/GetMappingRequest.ts @@ -1,17 +1,16 @@ -@rest_spec_name("indices.get_mapping") +@rest_spec_name('indices.get_mapping') class GetMappingRequest extends RequestBase { path_parts?: { - index?: Indices; - type?: TypeNames; + index?: Indices + type?: TypeNames } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - include_type_name?: boolean; - local?: boolean; - master_timeout?: Time; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + include_type_name?: boolean + local?: boolean + master_timeout?: Time } + body?: {} } diff --git a/specification/specs/indices/mapping_management/get_mapping/GetMappingResponse.ts b/specification/specs/indices/mapping_management/get_mapping/GetMappingResponse.ts index 78ae518989..e22e870f71 100644 --- a/specification/specs/indices/mapping_management/get_mapping/GetMappingResponse.ts +++ b/specification/specs/indices/mapping_management/get_mapping/GetMappingResponse.ts @@ -1 +1,4 @@ -class GetMappingResponse extends DictionaryResponseBase {} +class GetMappingResponse extends DictionaryResponseBase< + IndexName, + IndexMappings +> {} diff --git a/specification/specs/indices/mapping_management/get_mapping/IndexMappings.ts b/specification/specs/indices/mapping_management/get_mapping/IndexMappings.ts index 96be4e1ff2..3d4d005678 100644 --- a/specification/specs/indices/mapping_management/get_mapping/IndexMappings.ts +++ b/specification/specs/indices/mapping_management/get_mapping/IndexMappings.ts @@ -1,4 +1,4 @@ class IndexMappings { - item: TypeMapping; - mappings: TypeMapping; + item: TypeMapping + mappings: TypeMapping } diff --git a/specification/specs/indices/mapping_management/put_mapping/PutMappingRequest.ts b/specification/specs/indices/mapping_management/put_mapping/PutMappingRequest.ts index 17533f61e3..b126a8a472 100644 --- a/specification/specs/indices/mapping_management/put_mapping/PutMappingRequest.ts +++ b/specification/specs/indices/mapping_management/put_mapping/PutMappingRequest.ts @@ -1,30 +1,30 @@ -@rest_spec_name("indices.put_mapping") +@rest_spec_name('indices.put_mapping') class PutMappingRequest extends RequestBase { path_parts?: { - index?: Indices; - type?: TypeName; + index?: Indices + type?: TypeName } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - include_type_name?: boolean; - master_timeout?: Time; - timeout?: Time; + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + include_type_name?: boolean + master_timeout?: Time + timeout?: Time } body?: { - all_field?: AllField; - date_detection?: boolean; - dynamic?: Union; - dynamic_date_formats?: string[]; - dynamic_templates?: Dictionary; - field_names_field?: FieldNamesField; - index_field?: IndexField; - meta?: Dictionary; - numeric_detection?: boolean; - properties?: Dictionary; - routing_field?: RoutingField; - size_field?: SizeField; - source_field?: SourceField; + all_field?: AllField + date_detection?: boolean + dynamic?: Union + dynamic_date_formats?: string[] + dynamic_templates?: Dictionary + field_names_field?: FieldNamesField + index_field?: IndexField + meta?: Dictionary + numeric_detection?: boolean + properties?: Dictionary + routing_field?: RoutingField + size_field?: SizeField + source_field?: SourceField } } diff --git a/specification/specs/indices/mapping_management/put_mapping/PutMappingResponse.ts b/specification/specs/indices/mapping_management/put_mapping/PutMappingResponse.ts index 22e23cec3a..fb08def5d7 100644 --- a/specification/specs/indices/mapping_management/put_mapping/PutMappingResponse.ts +++ b/specification/specs/indices/mapping_management/put_mapping/PutMappingResponse.ts @@ -1,2 +1 @@ -class PutMappingResponse extends IndicesResponseBase { -} +class PutMappingResponse extends IndicesResponseBase {} diff --git a/specification/specs/indices/monitoring/indices_recovery/RecoveryBytes.ts b/specification/specs/indices/monitoring/indices_recovery/RecoveryBytes.ts index 35de67c174..825f6f35fa 100644 --- a/specification/specs/indices/monitoring/indices_recovery/RecoveryBytes.ts +++ b/specification/specs/indices/monitoring/indices_recovery/RecoveryBytes.ts @@ -1,6 +1,6 @@ class RecoveryBytes { - percent: string; - recovered: long; - reused: long; - total: long; + percent: string + recovered: long + reused: long + total: long } diff --git a/specification/specs/indices/monitoring/indices_recovery/RecoveryFileDetails.ts b/specification/specs/indices/monitoring/indices_recovery/RecoveryFileDetails.ts index 181debf0d3..4d6ae7bad2 100644 --- a/specification/specs/indices/monitoring/indices_recovery/RecoveryFileDetails.ts +++ b/specification/specs/indices/monitoring/indices_recovery/RecoveryFileDetails.ts @@ -1,5 +1,5 @@ class RecoveryFileDetails { - length: long; - name: string; - recovered: long; + length: long + name: string + recovered: long } diff --git a/specification/specs/indices/monitoring/indices_recovery/RecoveryFiles.ts b/specification/specs/indices/monitoring/indices_recovery/RecoveryFiles.ts index a9623a4527..d0d38f4272 100644 --- a/specification/specs/indices/monitoring/indices_recovery/RecoveryFiles.ts +++ b/specification/specs/indices/monitoring/indices_recovery/RecoveryFiles.ts @@ -1,7 +1,7 @@ class RecoveryFiles { - details: RecoveryFileDetails[]; - percent: string; - recovered: long; - reused: long; - total: long; + details: RecoveryFileDetails[] + percent: string + recovered: long + reused: long + total: long } diff --git a/specification/specs/indices/monitoring/indices_recovery/RecoveryIndexStatus.ts b/specification/specs/indices/monitoring/indices_recovery/RecoveryIndexStatus.ts index 5f8482cbac..c3f010b298 100644 --- a/specification/specs/indices/monitoring/indices_recovery/RecoveryIndexStatus.ts +++ b/specification/specs/indices/monitoring/indices_recovery/RecoveryIndexStatus.ts @@ -1,8 +1,8 @@ class RecoveryIndexStatus { - bytes: RecoveryBytes; - files: RecoveryFiles; - size: RecoveryBytes; - source_throttle_time_in_millis: long; - target_throttle_time_in_millis: long; - total_time_in_millis: long; + bytes: RecoveryBytes + files: RecoveryFiles + size: RecoveryBytes + source_throttle_time_in_millis: long + target_throttle_time_in_millis: long + total_time_in_millis: long } diff --git a/specification/specs/indices/monitoring/indices_recovery/RecoveryOrigin.ts b/specification/specs/indices/monitoring/indices_recovery/RecoveryOrigin.ts index 8f05830f10..332620e917 100644 --- a/specification/specs/indices/monitoring/indices_recovery/RecoveryOrigin.ts +++ b/specification/specs/indices/monitoring/indices_recovery/RecoveryOrigin.ts @@ -1,6 +1,6 @@ class RecoveryOrigin { - hostname: string; - id: string; - ip: string; - name: string; + hostname: string + id: string + ip: string + name: string } diff --git a/specification/specs/indices/monitoring/indices_recovery/RecoveryStartStatus.ts b/specification/specs/indices/monitoring/indices_recovery/RecoveryStartStatus.ts index f767a62708..5a2ee146a3 100644 --- a/specification/specs/indices/monitoring/indices_recovery/RecoveryStartStatus.ts +++ b/specification/specs/indices/monitoring/indices_recovery/RecoveryStartStatus.ts @@ -1,4 +1,4 @@ class RecoveryStartStatus { - check_index_time: long; - total_time_in_millis: string; + check_index_time: long + total_time_in_millis: string } diff --git a/specification/specs/indices/monitoring/indices_recovery/RecoveryStatus.ts b/specification/specs/indices/monitoring/indices_recovery/RecoveryStatus.ts index 1b9992af34..1865ccb322 100644 --- a/specification/specs/indices/monitoring/indices_recovery/RecoveryStatus.ts +++ b/specification/specs/indices/monitoring/indices_recovery/RecoveryStatus.ts @@ -1,3 +1,3 @@ class RecoveryStatus { - shards: ShardRecovery[]; + shards: ShardRecovery[] } diff --git a/specification/specs/indices/monitoring/indices_recovery/RecoveryStatusRequest.ts b/specification/specs/indices/monitoring/indices_recovery/RecoveryStatusRequest.ts index 3997ab1b7f..f08aeeb2a6 100644 --- a/specification/specs/indices/monitoring/indices_recovery/RecoveryStatusRequest.ts +++ b/specification/specs/indices/monitoring/indices_recovery/RecoveryStatusRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("indices.recovery") +@rest_spec_name('indices.recovery') class RecoveryStatusRequest extends RequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - active_only?: boolean; - detailed?: boolean; - } - body?: { + active_only?: boolean + detailed?: boolean } + body?: {} } diff --git a/specification/specs/indices/monitoring/indices_recovery/RecoveryStatusResponse.ts b/specification/specs/indices/monitoring/indices_recovery/RecoveryStatusResponse.ts index 139271f096..33784a81b5 100644 --- a/specification/specs/indices/monitoring/indices_recovery/RecoveryStatusResponse.ts +++ b/specification/specs/indices/monitoring/indices_recovery/RecoveryStatusResponse.ts @@ -1 +1,4 @@ -class RecoveryStatusResponse extends DictionaryResponseBase {} +class RecoveryStatusResponse extends DictionaryResponseBase< + IndexName, + RecoveryStatus +> {} diff --git a/specification/specs/indices/monitoring/indices_recovery/RecoveryTranslogStatus.ts b/specification/specs/indices/monitoring/indices_recovery/RecoveryTranslogStatus.ts index 1b6ac1ea86..e0081200f7 100644 --- a/specification/specs/indices/monitoring/indices_recovery/RecoveryTranslogStatus.ts +++ b/specification/specs/indices/monitoring/indices_recovery/RecoveryTranslogStatus.ts @@ -1,8 +1,8 @@ class RecoveryTranslogStatus { - percent: string; - recovered: long; - total: long; - total_on_start: long; - total_time: string; - total_time_in_millis: long; + percent: string + recovered: long + total: long + total_on_start: long + total_time: string + total_time_in_millis: long } diff --git a/specification/specs/indices/monitoring/indices_recovery/RecoveryVerifyIndex.ts b/specification/specs/indices/monitoring/indices_recovery/RecoveryVerifyIndex.ts index 26d2fe5004..ca93f18cff 100644 --- a/specification/specs/indices/monitoring/indices_recovery/RecoveryVerifyIndex.ts +++ b/specification/specs/indices/monitoring/indices_recovery/RecoveryVerifyIndex.ts @@ -1,4 +1,4 @@ class RecoveryVerifyIndex { - check_index_time_in_millis: long; - total_time_in_millis: long; + check_index_time_in_millis: long + total_time_in_millis: long } diff --git a/specification/specs/indices/monitoring/indices_recovery/ShardRecovery.ts b/specification/specs/indices/monitoring/indices_recovery/ShardRecovery.ts index 2a16a12e28..de0411e044 100644 --- a/specification/specs/indices/monitoring/indices_recovery/ShardRecovery.ts +++ b/specification/specs/indices/monitoring/indices_recovery/ShardRecovery.ts @@ -1,17 +1,17 @@ class ShardRecovery { - id: long; - index: RecoveryIndexStatus; - primary: boolean; - source: RecoveryOrigin; - stage: string; - start: RecoveryStartStatus; + id: long + index: RecoveryIndexStatus + primary: boolean + source: RecoveryOrigin + stage: string + start: RecoveryStartStatus /** @prop_serializer NullableDateTimeEpochMillisecondsFormatter */ - start_time_in_millis: Date; + start_time_in_millis: Date /** @prop_serializer NullableDateTimeEpochMillisecondsFormatter */ - stop_time_in_millis: Date; - target: RecoveryOrigin; - total_time_in_millis: long; - translog: RecoveryTranslogStatus; - type: string; - verify_index: RecoveryVerifyIndex; + stop_time_in_millis: Date + target: RecoveryOrigin + total_time_in_millis: long + translog: RecoveryTranslogStatus + type: string + verify_index: RecoveryVerifyIndex } diff --git a/specification/specs/indices/monitoring/indices_segments/IndexSegment.ts b/specification/specs/indices/monitoring/indices_segments/IndexSegment.ts index d588eb8b66..efa241a647 100644 --- a/specification/specs/indices/monitoring/indices_segments/IndexSegment.ts +++ b/specification/specs/indices/monitoring/indices_segments/IndexSegment.ts @@ -1,4 +1,4 @@ class IndexSegment { /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - shards: Dictionary; + shards: Dictionary } diff --git a/specification/specs/indices/monitoring/indices_segments/Segment.ts b/specification/specs/indices/monitoring/indices_segments/Segment.ts index 0300ddc724..f54462d116 100644 --- a/specification/specs/indices/monitoring/indices_segments/Segment.ts +++ b/specification/specs/indices/monitoring/indices_segments/Segment.ts @@ -1,12 +1,12 @@ class Segment { - attributes: Dictionary; - committed: boolean; - compound: boolean; - deleted_docs: long; - generation: integer; - memory_in_bytes: double; - search: boolean; - size_in_bytes: double; - num_docs: long; - version: string; + attributes: Dictionary + committed: boolean + compound: boolean + deleted_docs: long + generation: integer + memory_in_bytes: double + search: boolean + size_in_bytes: double + num_docs: long + version: string } diff --git a/specification/specs/indices/monitoring/indices_segments/SegmentsRequest.ts b/specification/specs/indices/monitoring/indices_segments/SegmentsRequest.ts index 18ab64cd43..5827170e75 100644 --- a/specification/specs/indices/monitoring/indices_segments/SegmentsRequest.ts +++ b/specification/specs/indices/monitoring/indices_segments/SegmentsRequest.ts @@ -1,14 +1,13 @@ -@rest_spec_name("indices.segments") +@rest_spec_name('indices.segments') class SegmentsRequest extends RequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - verbose?: boolean; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + verbose?: boolean } + body?: {} } diff --git a/specification/specs/indices/monitoring/indices_segments/SegmentsResponse.ts b/specification/specs/indices/monitoring/indices_segments/SegmentsResponse.ts index ecf04cf32a..7a398caa71 100644 --- a/specification/specs/indices/monitoring/indices_segments/SegmentsResponse.ts +++ b/specification/specs/indices/monitoring/indices_segments/SegmentsResponse.ts @@ -1,5 +1,5 @@ class SegmentsResponse extends ResponseBase { /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - indices: Dictionary; - _shards: ShardStatistics; + indices: Dictionary + _shards: ShardStatistics } diff --git a/specification/specs/indices/monitoring/indices_segments/ShardSegmentRouting.ts b/specification/specs/indices/monitoring/indices_segments/ShardSegmentRouting.ts index 7de8f74e8b..fce32b0ad9 100644 --- a/specification/specs/indices/monitoring/indices_segments/ShardSegmentRouting.ts +++ b/specification/specs/indices/monitoring/indices_segments/ShardSegmentRouting.ts @@ -1,5 +1,5 @@ class ShardSegmentRouting { - node: string; - primary: boolean; - state: string; + node: string + primary: boolean + state: string } diff --git a/specification/specs/indices/monitoring/indices_segments/ShardsSegment.ts b/specification/specs/indices/monitoring/indices_segments/ShardsSegment.ts index d8b25e4a79..a4eb0990ec 100644 --- a/specification/specs/indices/monitoring/indices_segments/ShardsSegment.ts +++ b/specification/specs/indices/monitoring/indices_segments/ShardsSegment.ts @@ -1,8 +1,8 @@ -@class_serializer("Json") +@class_serializer('Json') class ShardsSegment { - num_committed_segments: integer; - routing: ShardSegmentRouting; - num_search_segments: integer; + num_committed_segments: integer + routing: ShardSegmentRouting + num_search_segments: integer /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - segments: Dictionary; + segments: Dictionary } diff --git a/specification/specs/indices/monitoring/indices_shard_stores/IndicesShardStores.ts b/specification/specs/indices/monitoring/indices_shard_stores/IndicesShardStores.ts index 18887fb059..e80b1511d2 100644 --- a/specification/specs/indices/monitoring/indices_shard_stores/IndicesShardStores.ts +++ b/specification/specs/indices/monitoring/indices_shard_stores/IndicesShardStores.ts @@ -1,4 +1,4 @@ class IndicesShardStores { /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - shards: Dictionary; + shards: Dictionary } diff --git a/specification/specs/indices/monitoring/indices_shard_stores/IndicesShardStoresRequest.ts b/specification/specs/indices/monitoring/indices_shard_stores/IndicesShardStoresRequest.ts index 6ab0548fb1..b6fcce9e36 100644 --- a/specification/specs/indices/monitoring/indices_shard_stores/IndicesShardStoresRequest.ts +++ b/specification/specs/indices/monitoring/indices_shard_stores/IndicesShardStoresRequest.ts @@ -1,14 +1,13 @@ -@rest_spec_name("indices.shard_stores") +@rest_spec_name('indices.shard_stores') class IndicesShardStoresRequest extends RequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - status?: string[]; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + status?: string[] } + body?: {} } diff --git a/specification/specs/indices/monitoring/indices_shard_stores/IndicesShardStoresResponse.ts b/specification/specs/indices/monitoring/indices_shard_stores/IndicesShardStoresResponse.ts index 19512626bd..156d0831bf 100644 --- a/specification/specs/indices/monitoring/indices_shard_stores/IndicesShardStoresResponse.ts +++ b/specification/specs/indices/monitoring/indices_shard_stores/IndicesShardStoresResponse.ts @@ -1,4 +1,4 @@ class IndicesShardStoresResponse extends ResponseBase { /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - indices: Dictionary; + indices: Dictionary } diff --git a/specification/specs/indices/monitoring/indices_shard_stores/ShardStore.ts b/specification/specs/indices/monitoring/indices_shard_stores/ShardStore.ts index b199cbd80e..b7a53c67fe 100644 --- a/specification/specs/indices/monitoring/indices_shard_stores/ShardStore.ts +++ b/specification/specs/indices/monitoring/indices_shard_stores/ShardStore.ts @@ -1,12 +1,12 @@ -@class_serializer("ShardStoreFormatter") +@class_serializer('ShardStoreFormatter') class ShardStore { - allocation: ShardStoreAllocation; - allocation_id: string; + allocation: ShardStoreAllocation + allocation_id: string /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - attributes: Dictionary; - id: string; - legacy_version: long; - name: string; - store_exception: ShardStoreException; - transport_address: string; + attributes: Dictionary + id: string + legacy_version: long + name: string + store_exception: ShardStoreException + transport_address: string } diff --git a/specification/specs/indices/monitoring/indices_shard_stores/ShardStoreException.ts b/specification/specs/indices/monitoring/indices_shard_stores/ShardStoreException.ts index a3cc1335a7..5e1577d58b 100644 --- a/specification/specs/indices/monitoring/indices_shard_stores/ShardStoreException.ts +++ b/specification/specs/indices/monitoring/indices_shard_stores/ShardStoreException.ts @@ -1,4 +1,4 @@ class ShardStoreException { - reason: string; - type: string; + reason: string + type: string } diff --git a/specification/specs/indices/monitoring/indices_shard_stores/ShardStoreWrapper.ts b/specification/specs/indices/monitoring/indices_shard_stores/ShardStoreWrapper.ts index 77be33c0e6..d251bcbc55 100644 --- a/specification/specs/indices/monitoring/indices_shard_stores/ShardStoreWrapper.ts +++ b/specification/specs/indices/monitoring/indices_shard_stores/ShardStoreWrapper.ts @@ -1,3 +1,3 @@ class ShardStoreWrapper { - stores: ShardStore[]; + stores: ShardStore[] } diff --git a/specification/specs/indices/monitoring/indices_stats/IndexStats.ts b/specification/specs/indices/monitoring/indices_stats/IndexStats.ts index dd823dfebc..d76dae6283 100644 --- a/specification/specs/indices/monitoring/indices_stats/IndexStats.ts +++ b/specification/specs/indices/monitoring/indices_stats/IndexStats.ts @@ -1,18 +1,18 @@ class IndexStats { - completion?: CompletionStats; - docs?: DocStats; - fielddata?: FielddataStats; - flush?: FlushStats; - get?: GetStats; - indexing?: IndexingStats; - merges?: MergesStats; - query_cache?: QueryCacheStats; - recovery?: RecoveryStats; - refresh?: RefreshStats; - request_cache?: RequestCacheStats; - search?: SearchStats; - segments?: SegmentsStats; - store?: StoreStats; - translog?: TranslogStats; - warmer?: WarmerStats; + completion?: CompletionStats + docs?: DocStats + fielddata?: FielddataStats + flush?: FlushStats + get?: GetStats + indexing?: IndexingStats + merges?: MergesStats + query_cache?: QueryCacheStats + recovery?: RecoveryStats + refresh?: RefreshStats + request_cache?: RequestCacheStats + search?: SearchStats + segments?: SegmentsStats + store?: StoreStats + translog?: TranslogStats + warmer?: WarmerStats } diff --git a/specification/specs/indices/monitoring/indices_stats/IndicesStats.ts b/specification/specs/indices/monitoring/indices_stats/IndicesStats.ts index 1723596c66..34b74624ad 100644 --- a/specification/specs/indices/monitoring/indices_stats/IndicesStats.ts +++ b/specification/specs/indices/monitoring/indices_stats/IndicesStats.ts @@ -1,7 +1,7 @@ class IndicesStats { - primaries: IndexStats; + primaries: IndexStats /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - shards?: Dictionary; - total: IndexStats; - uuid?: string; + shards?: Dictionary + total: IndexStats + uuid?: string } diff --git a/specification/specs/indices/monitoring/indices_stats/IndicesStatsRequest.ts b/specification/specs/indices/monitoring/indices_stats/IndicesStatsRequest.ts index c3aa11afce..c97c42b147 100644 --- a/specification/specs/indices/monitoring/indices_stats/IndicesStatsRequest.ts +++ b/specification/specs/indices/monitoring/indices_stats/IndicesStatsRequest.ts @@ -1,24 +1,23 @@ /** * @type_stability stable */ -@rest_spec_name("indices.stats") +@rest_spec_name('indices.stats') class IndicesStatsRequest extends RequestBase { path_parts?: { - metric?: Metrics; - index?: Indices; + metric?: Metrics + index?: Indices } query_parameters?: { - completion_fields?: Fields; - expand_wildcards?: ExpandWildcards; - fielddata_fields?: Fields; - fields?: Fields; - forbid_closed_indices?: boolean; - groups?: string | string[]; - include_segment_file_sizes?: boolean; - include_unloaded_segments?: boolean; - level?: Level; - types?: TypeNames; - } - body?: { + completion_fields?: Fields + expand_wildcards?: ExpandWildcards + fielddata_fields?: Fields + fields?: Fields + forbid_closed_indices?: boolean + groups?: string | string[] + include_segment_file_sizes?: boolean + include_unloaded_segments?: boolean + level?: Level + types?: TypeNames } + body?: {} } diff --git a/specification/specs/indices/monitoring/indices_stats/IndicesStatsResponse.ts b/specification/specs/indices/monitoring/indices_stats/IndicesStatsResponse.ts index 8ef9a1f931..266c85d90b 100644 --- a/specification/specs/indices/monitoring/indices_stats/IndicesStatsResponse.ts +++ b/specification/specs/indices/monitoring/indices_stats/IndicesStatsResponse.ts @@ -3,7 +3,7 @@ */ class IndicesStatsResponse extends ResponseBase { /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - indices?: Dictionary; - _shards: ShardStatistics; - _all: IndicesStats; + indices?: Dictionary + _shards: ShardStatistics + _all: IndicesStats } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardCommit.ts b/specification/specs/indices/monitoring/indices_stats/ShardCommit.ts index d5a70f870a..24c8968093 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardCommit.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardCommit.ts @@ -1,6 +1,6 @@ class ShardCommit { - generation: integer; - id: string; - num_docs: long; - user_data: Dictionary; + generation: integer + id: string + num_docs: long + user_data: Dictionary } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardCompletion.ts b/specification/specs/indices/monitoring/indices_stats/ShardCompletion.ts index c0396e4fcd..cd969f5041 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardCompletion.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardCompletion.ts @@ -1,3 +1,3 @@ class ShardCompletion { - size_in_bytes: long; + size_in_bytes: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardDocs.ts b/specification/specs/indices/monitoring/indices_stats/ShardDocs.ts index 9e05c691cb..2f28bf8a39 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardDocs.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardDocs.ts @@ -1,4 +1,4 @@ class ShardDocs { - count: long; - deleted: long; + count: long + deleted: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardFielddata.ts b/specification/specs/indices/monitoring/indices_stats/ShardFielddata.ts index eceb22c617..9ff51060e7 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardFielddata.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardFielddata.ts @@ -1,4 +1,4 @@ class ShardFielddata { - evictions: long; - memory_size_in_bytes: long; + evictions: long + memory_size_in_bytes: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardFileSizeInfo.ts b/specification/specs/indices/monitoring/indices_stats/ShardFileSizeInfo.ts index dc1ccf29fa..2cf0761f8c 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardFileSizeInfo.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardFileSizeInfo.ts @@ -1,4 +1,4 @@ class ShardFileSizeInfo { - description: string; - size_in_bytes: long; + description: string + size_in_bytes: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardFlush.ts b/specification/specs/indices/monitoring/indices_stats/ShardFlush.ts index 6264485238..ce038c4c6a 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardFlush.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardFlush.ts @@ -1,5 +1,5 @@ class ShardFlush { - total: long; - periodic: long; - total_time_in_millis: long; + total: long + periodic: long + total_time_in_millis: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardGet.ts b/specification/specs/indices/monitoring/indices_stats/ShardGet.ts index 130af91567..33b0524385 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardGet.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardGet.ts @@ -1,9 +1,9 @@ class ShardGet { - current: long; - exists_time_in_millis: long; - exists_total: long; - missing_time_in_millis: long; - missing_total: long; - time_in_millis: long; - total: long; + current: long + exists_time_in_millis: long + exists_total: long + missing_time_in_millis: long + missing_total: long + time_in_millis: long + total: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardIndexing.ts b/specification/specs/indices/monitoring/indices_stats/ShardIndexing.ts index 61453e0858..e2818331c5 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardIndexing.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardIndexing.ts @@ -1,12 +1,12 @@ class ShardIndexing { - delete_current: long; - delete_time_in_millis: long; - delete_total: long; - index_current: long; - index_failed: long; - index_time_in_millis: long; - index_total: long; - is_throttled: boolean; - noop_update_total: long; - throttle_time_in_millis: long; + delete_current: long + delete_time_in_millis: long + delete_total: long + index_current: long + index_failed: long + index_time_in_millis: long + index_total: long + is_throttled: boolean + noop_update_total: long + throttle_time_in_millis: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardLease.ts b/specification/specs/indices/monitoring/indices_stats/ShardLease.ts index 6600a0af60..76c6608eb0 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardLease.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardLease.ts @@ -1,6 +1,6 @@ class ShardLease { - id: string; - retaining_seq_no: long; - timestamp: long; - source: string; + id: string + retaining_seq_no: long + timestamp: long + source: string } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardMerges.ts b/specification/specs/indices/monitoring/indices_stats/ShardMerges.ts index 3a3789e657..732b51659a 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardMerges.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardMerges.ts @@ -1,12 +1,12 @@ class ShardMerges { - current: long; - current_docs: long; - current_size_in_bytes: long; - total: long; - total_auto_throttle_in_bytes: long; - total_docs: long; - total_size_in_bytes: long; - total_stopped_time_in_millis: long; - total_throttled_time_in_millis: long; - total_time_in_millis: long; + current: long + current_docs: long + current_size_in_bytes: long + total: long + total_auto_throttle_in_bytes: long + total_docs: long + total_size_in_bytes: long + total_stopped_time_in_millis: long + total_throttled_time_in_millis: long + total_time_in_millis: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardPath.ts b/specification/specs/indices/monitoring/indices_stats/ShardPath.ts index 09b96f271d..a9be77c2d7 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardPath.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardPath.ts @@ -1,5 +1,5 @@ class ShardPath { - data_path: string; - is_custom_data_path: boolean; - state_path: string; + data_path: string + is_custom_data_path: boolean + state_path: string } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardQueryCache.ts b/specification/specs/indices/monitoring/indices_stats/ShardQueryCache.ts index f0875191b9..31c575e933 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardQueryCache.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardQueryCache.ts @@ -1,9 +1,9 @@ class ShardQueryCache { - cache_count: long; - cache_size: long; - evictions: long; - hit_count: long; - memory_size_in_bytes: long; - miss_count: long; - total_count: long; + cache_count: long + cache_size: long + evictions: long + hit_count: long + memory_size_in_bytes: long + miss_count: long + total_count: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardRefresh.ts b/specification/specs/indices/monitoring/indices_stats/ShardRefresh.ts index 6b82fd93b3..72b020b425 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardRefresh.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardRefresh.ts @@ -1,7 +1,7 @@ class ShardRefresh { - listeners: long; - total: long; - total_time_in_millis: long; - external_total: long; - external_total_time_in_millis: long; + listeners: long + total: long + total_time_in_millis: long + external_total: long + external_total_time_in_millis: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardRequestCache.ts b/specification/specs/indices/monitoring/indices_stats/ShardRequestCache.ts index 6ec6414f6e..9a41faf95b 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardRequestCache.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardRequestCache.ts @@ -1,6 +1,6 @@ class ShardRequestCache { - evictions: long; - hit_count: long; - memory_size_in_bytes: long; - miss_count: long; + evictions: long + hit_count: long + memory_size_in_bytes: long + miss_count: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardRetentionLeases.ts b/specification/specs/indices/monitoring/indices_stats/ShardRetentionLeases.ts index e5edd59cd9..22cc899b17 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardRetentionLeases.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardRetentionLeases.ts @@ -1,5 +1,5 @@ class ShardRetentionLeases { - primary_term: long; - version: long; - leases: ShardLease[]; + primary_term: long + version: long + leases: ShardLease[] } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardRouting.ts b/specification/specs/indices/monitoring/indices_stats/ShardRouting.ts index b93af58161..f3a2f3c3ea 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardRouting.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardRouting.ts @@ -1,6 +1,6 @@ class ShardRouting { - node: string; - primary: boolean; - relocating_node?: string; - state: ShardRoutingState; + node: string + primary: boolean + relocating_node?: string + state: ShardRoutingState } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardSearch.ts b/specification/specs/indices/monitoring/indices_stats/ShardSearch.ts index c7eee752e9..541f87a2f2 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardSearch.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardSearch.ts @@ -1,15 +1,15 @@ class ShardSearch { - fetch_current: long; - fetch_time_in_millis: long; - fetch_total: long; - open_contexts: long; - query_current: long; - query_time_in_millis: long; - query_total: long; - scroll_current: long; - scroll_time_in_millis: long; - scroll_total: long; - suggest_current: long; - suggest_time_in_millis: long; - suggest_total: long; + fetch_current: long + fetch_time_in_millis: long + fetch_total: long + open_contexts: long + query_current: long + query_time_in_millis: long + query_total: long + scroll_current: long + scroll_time_in_millis: long + scroll_total: long + suggest_current: long + suggest_time_in_millis: long + suggest_total: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardSegments.ts b/specification/specs/indices/monitoring/indices_stats/ShardSegments.ts index 4f56d4bd7e..b7043d35f8 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardSegments.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardSegments.ts @@ -1,15 +1,15 @@ class ShardSegments { - count: long; - doc_values_memory_in_bytes: long; - file_sizes: Dictionary; - fixed_bit_set_memory_in_bytes: long; - index_writer_memory_in_bytes: long; - max_unsafe_auto_id_timestamp: long; - memory_in_bytes: long; - norms_memory_in_bytes: long; - points_memory_in_bytes: long; - stored_fields_memory_in_bytes: long; - terms_memory_in_bytes: long; - term_vectors_memory_in_bytes: long; - version_map_memory_in_bytes: long; + count: long + doc_values_memory_in_bytes: long + file_sizes: Dictionary + fixed_bit_set_memory_in_bytes: long + index_writer_memory_in_bytes: long + max_unsafe_auto_id_timestamp: long + memory_in_bytes: long + norms_memory_in_bytes: long + points_memory_in_bytes: long + stored_fields_memory_in_bytes: long + terms_memory_in_bytes: long + term_vectors_memory_in_bytes: long + version_map_memory_in_bytes: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardSequenceNumber.ts b/specification/specs/indices/monitoring/indices_stats/ShardSequenceNumber.ts index b8fb162d47..684a14e1a1 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardSequenceNumber.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardSequenceNumber.ts @@ -1,5 +1,5 @@ class ShardSequenceNumber { - global_checkpoint: long; - local_checkpoint: long; - max_seq_no: long; + global_checkpoint: long + local_checkpoint: long + max_seq_no: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardStats.ts b/specification/specs/indices/monitoring/indices_stats/ShardStats.ts index 928ec4ab1b..241649c7fa 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardStats.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardStats.ts @@ -1,23 +1,23 @@ class ShardStats { - commit: ShardCommit; - completion: ShardCompletion; - docs: ShardDocs; - fielddata: ShardFielddata; - flush: ShardFlush; - get: ShardGet; - indexing: ShardIndexing; - merges: ShardMerges; - shard_path: ShardPath; - query_cache: ShardQueryCache; - recovery: ShardStatsRecovery; - refresh: ShardRefresh; - request_cache: ShardRequestCache; - retention_leases: ShardRetentionLeases; - routing: ShardRouting; - search: ShardSearch; - segments: ShardSegments; - seq_no: ShardSequenceNumber; - store: ShardStatsStore; - translog: ShardTransactionLog; - warmer: ShardWarmer; + commit: ShardCommit + completion: ShardCompletion + docs: ShardDocs + fielddata: ShardFielddata + flush: ShardFlush + get: ShardGet + indexing: ShardIndexing + merges: ShardMerges + shard_path: ShardPath + query_cache: ShardQueryCache + recovery: ShardStatsRecovery + refresh: ShardRefresh + request_cache: ShardRequestCache + retention_leases: ShardRetentionLeases + routing: ShardRouting + search: ShardSearch + segments: ShardSegments + seq_no: ShardSequenceNumber + store: ShardStatsStore + translog: ShardTransactionLog + warmer: ShardWarmer } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardStatsRecovery.ts b/specification/specs/indices/monitoring/indices_stats/ShardStatsRecovery.ts index 1739edd53a..fb5bfbf853 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardStatsRecovery.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardStatsRecovery.ts @@ -1,5 +1,5 @@ class ShardStatsRecovery { - current_as_source: long; - current_as_target: long; - throttle_time_in_millis: long; + current_as_source: long + current_as_target: long + throttle_time_in_millis: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardStatsStore.ts b/specification/specs/indices/monitoring/indices_stats/ShardStatsStore.ts index 046b42d378..5aeac6338a 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardStatsStore.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardStatsStore.ts @@ -1,4 +1,4 @@ class ShardStatsStore { - reserved_in_bytes: long; - size_in_bytes: long; + reserved_in_bytes: long + size_in_bytes: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardTransactionLog.ts b/specification/specs/indices/monitoring/indices_stats/ShardTransactionLog.ts index 139f052c85..4acd0dd13a 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardTransactionLog.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardTransactionLog.ts @@ -1,7 +1,7 @@ class ShardTransactionLog { - earliest_last_modified_age: long; - operations: long; - size_in_bytes: long; - uncommitted_operations: long; - uncommitted_size_in_bytes: long; + earliest_last_modified_age: long + operations: long + size_in_bytes: long + uncommitted_operations: long + uncommitted_size_in_bytes: long } diff --git a/specification/specs/indices/monitoring/indices_stats/ShardWarmer.ts b/specification/specs/indices/monitoring/indices_stats/ShardWarmer.ts index ae3baf1b95..0997aec43b 100644 --- a/specification/specs/indices/monitoring/indices_stats/ShardWarmer.ts +++ b/specification/specs/indices/monitoring/indices_stats/ShardWarmer.ts @@ -1,5 +1,5 @@ class ShardWarmer { - current: long; - total: long; - total_time_in_millis: long; + current: long + total: long + total_time_in_millis: long } diff --git a/specification/specs/indices/reload_search_analyzers/ReloadDetails.ts b/specification/specs/indices/reload_search_analyzers/ReloadDetails.ts index 260b5e3a43..3c2a874d54 100644 --- a/specification/specs/indices/reload_search_analyzers/ReloadDetails.ts +++ b/specification/specs/indices/reload_search_analyzers/ReloadDetails.ts @@ -1,5 +1,5 @@ class ReloadDetails { - index: string; - reloaded_analyzers: string[]; - reloaded_node_ids: string[]; + index: string + reloaded_analyzers: string[] + reloaded_node_ids: string[] } diff --git a/specification/specs/indices/reload_search_analyzers/ReloadSearchAnalyzersRequest.ts b/specification/specs/indices/reload_search_analyzers/ReloadSearchAnalyzersRequest.ts index 034eb95f36..a8a56c4ec2 100644 --- a/specification/specs/indices/reload_search_analyzers/ReloadSearchAnalyzersRequest.ts +++ b/specification/specs/indices/reload_search_analyzers/ReloadSearchAnalyzersRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("indices.reload_search_analyzers") +@rest_spec_name('indices.reload_search_analyzers') class ReloadSearchAnalyzersRequest extends RequestBase { path_parts?: { - index: Indices; + index: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean } + body?: {} } diff --git a/specification/specs/indices/reload_search_analyzers/ReloadSearchAnalyzersResponse.ts b/specification/specs/indices/reload_search_analyzers/ReloadSearchAnalyzersResponse.ts index c12bbda09b..fc7a179d7b 100644 --- a/specification/specs/indices/reload_search_analyzers/ReloadSearchAnalyzersResponse.ts +++ b/specification/specs/indices/reload_search_analyzers/ReloadSearchAnalyzersResponse.ts @@ -1,4 +1,4 @@ class ReloadSearchAnalyzersResponse extends ResponseBase { - reload_details: ReloadDetails[]; - _shards: ShardStatistics; + reload_details: ReloadDetails[] + _shards: ShardStatistics } diff --git a/specification/specs/indices/status_management/clear_cache/ClearCacheRequest.ts b/specification/specs/indices/status_management/clear_cache/ClearCacheRequest.ts index 6a647d930d..ad5248be8e 100644 --- a/specification/specs/indices/status_management/clear_cache/ClearCacheRequest.ts +++ b/specification/specs/indices/status_management/clear_cache/ClearCacheRequest.ts @@ -1,17 +1,16 @@ -@rest_spec_name("indices.clear_cache") +@rest_spec_name('indices.clear_cache') class ClearCacheRequest extends RequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - fielddata?: boolean; - fields?: Field[]; - ignore_unavailable?: boolean; - query?: boolean; - request?: boolean; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + fielddata?: boolean + fields?: Field[] + ignore_unavailable?: boolean + query?: boolean + request?: boolean } + body?: {} } diff --git a/specification/specs/indices/status_management/clear_cache/ClearCacheResponse.ts b/specification/specs/indices/status_management/clear_cache/ClearCacheResponse.ts index 28fc700af5..336840ce81 100644 --- a/specification/specs/indices/status_management/clear_cache/ClearCacheResponse.ts +++ b/specification/specs/indices/status_management/clear_cache/ClearCacheResponse.ts @@ -1,2 +1 @@ -class ClearCacheResponse extends ShardsOperationResponseBase { -} +class ClearCacheResponse extends ShardsOperationResponseBase {} diff --git a/specification/specs/indices/status_management/flush/FlushRequest.ts b/specification/specs/indices/status_management/flush/FlushRequest.ts index 1726dae5e4..0dad5966d4 100644 --- a/specification/specs/indices/status_management/flush/FlushRequest.ts +++ b/specification/specs/indices/status_management/flush/FlushRequest.ts @@ -1,15 +1,14 @@ -@rest_spec_name("indices.flush") +@rest_spec_name('indices.flush') class FlushRequest extends RequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - force?: boolean; - ignore_unavailable?: boolean; - wait_if_ongoing?: boolean; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + force?: boolean + ignore_unavailable?: boolean + wait_if_ongoing?: boolean } + body?: {} } diff --git a/specification/specs/indices/status_management/flush/FlushResponse.ts b/specification/specs/indices/status_management/flush/FlushResponse.ts index d0490d348c..fcc0602427 100644 --- a/specification/specs/indices/status_management/flush/FlushResponse.ts +++ b/specification/specs/indices/status_management/flush/FlushResponse.ts @@ -1,2 +1 @@ -class FlushResponse extends ShardsOperationResponseBase { -} +class FlushResponse extends ShardsOperationResponseBase {} diff --git a/specification/specs/indices/status_management/force_merge/ForceMergeRequest.ts b/specification/specs/indices/status_management/force_merge/ForceMergeRequest.ts index 980390d91d..169e450836 100644 --- a/specification/specs/indices/status_management/force_merge/ForceMergeRequest.ts +++ b/specification/specs/indices/status_management/force_merge/ForceMergeRequest.ts @@ -1,16 +1,15 @@ -@rest_spec_name("indices.forcemerge") +@rest_spec_name('indices.forcemerge') class ForceMergeRequest extends RequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - flush?: boolean; - ignore_unavailable?: boolean; - max_num_segments?: long; - only_expunge_deletes?: boolean; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + flush?: boolean + ignore_unavailable?: boolean + max_num_segments?: long + only_expunge_deletes?: boolean } + body?: {} } diff --git a/specification/specs/indices/status_management/force_merge/ForceMergeResponse.ts b/specification/specs/indices/status_management/force_merge/ForceMergeResponse.ts index 4008c99a0c..68b4a30f70 100644 --- a/specification/specs/indices/status_management/force_merge/ForceMergeResponse.ts +++ b/specification/specs/indices/status_management/force_merge/ForceMergeResponse.ts @@ -1,2 +1 @@ -class ForceMergeResponse extends ShardsOperationResponseBase { -} +class ForceMergeResponse extends ShardsOperationResponseBase {} diff --git a/specification/specs/indices/status_management/refresh/RefreshRequest.ts b/specification/specs/indices/status_management/refresh/RefreshRequest.ts index 00888f72a7..69c41a055f 100644 --- a/specification/specs/indices/status_management/refresh/RefreshRequest.ts +++ b/specification/specs/indices/status_management/refresh/RefreshRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("indices.refresh") +@rest_spec_name('indices.refresh') class RefreshRequest extends RequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean } + body?: {} } diff --git a/specification/specs/indices/status_management/refresh/RefreshResponse.ts b/specification/specs/indices/status_management/refresh/RefreshResponse.ts index aba79111f2..2e9cd7f15b 100644 --- a/specification/specs/indices/status_management/refresh/RefreshResponse.ts +++ b/specification/specs/indices/status_management/refresh/RefreshResponse.ts @@ -1,2 +1 @@ -class RefreshResponse extends ShardsOperationResponseBase { -} +class RefreshResponse extends ShardsOperationResponseBase {} diff --git a/specification/specs/indices/status_management/synced_flush/SyncedFlushRequest.ts b/specification/specs/indices/status_management/synced_flush/SyncedFlushRequest.ts index 440b359ae1..e06eb5de69 100644 --- a/specification/specs/indices/status_management/synced_flush/SyncedFlushRequest.ts +++ b/specification/specs/indices/status_management/synced_flush/SyncedFlushRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("indices.flush_synced") +@rest_spec_name('indices.flush_synced') class SyncedFlushRequest extends RequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean } + body?: {} } diff --git a/specification/specs/indices/status_management/synced_flush/SyncedFlushResponse.ts b/specification/specs/indices/status_management/synced_flush/SyncedFlushResponse.ts index ffd14e075f..4e9b326914 100644 --- a/specification/specs/indices/status_management/synced_flush/SyncedFlushResponse.ts +++ b/specification/specs/indices/status_management/synced_flush/SyncedFlushResponse.ts @@ -1,2 +1 @@ -class SyncedFlushResponse extends ShardsOperationResponseBase { -} +class SyncedFlushResponse extends ShardsOperationResponseBase {} diff --git a/specification/specs/ingest/Pipeline.ts b/specification/specs/ingest/Pipeline.ts index b730647ba2..961ef2215a 100644 --- a/specification/specs/ingest/Pipeline.ts +++ b/specification/specs/ingest/Pipeline.ts @@ -1,5 +1,5 @@ class Pipeline { - description: string; - on_failure: ProcessorContainer[]; - processors: ProcessorContainer[]; + description: string + on_failure: ProcessorContainer[] + processors: ProcessorContainer[] } diff --git a/specification/specs/ingest/ProcessorBase.ts b/specification/specs/ingest/ProcessorBase.ts index 68b354212f..566a036552 100644 --- a/specification/specs/ingest/ProcessorBase.ts +++ b/specification/specs/ingest/ProcessorBase.ts @@ -1,6 +1,6 @@ class ProcessorBase { - if: string; - ignore_failure: boolean; - on_failure: ProcessorContainer[]; - tag: string; + if: string + ignore_failure: boolean + on_failure: ProcessorContainer[] + tag: string } diff --git a/specification/specs/ingest/ProcessorContainer.ts b/specification/specs/ingest/ProcessorContainer.ts index 7683f3ab78..56e30401c3 100644 --- a/specification/specs/ingest/ProcessorContainer.ts +++ b/specification/specs/ingest/ProcessorContainer.ts @@ -1,35 +1,35 @@ class ProcessorContainer { - attachment: AttachmentProcessor; - append: AppendProcessor; - csv: CsvProcessor; - convert: ConvertProcessor; - date: DateProcessor; - date_index_name: DateIndexNameProcessor; - dot_expander: DotExpanderProcessor; - enrich: EnrichProcessor; - fail: FailProcessor; - foreach: ForeachProcessor; - json: JsonProcessor; - user_agent: UserAgentProcessor; - kv: KeyValueProcessor; - geoip: GeoIpProcessor; - grok: GrokProcessor; - gsub: GsubProcessor; - join: JoinProcessor; - lowercase: LowercaseProcessor; - remove: RemoveProcessor; - rename: RenameProcessor; - script: ScriptProcessor; - set: SetProcessor; - sort: SortProcessor; - split: SplitProcessor; - trim: TrimProcessor; - uppercase: UppercaseProcessor; - urldecode: UrlDecodeProcessor; - bytes: BytesProcessor; - dissect: DissectProcessor; - set_security_user: SetSecurityUserProcessor; - pipeline: PipelineProcessor; - drop: DropProcessor; - circle: CircleProcessor; + attachment: AttachmentProcessor + append: AppendProcessor + csv: CsvProcessor + convert: ConvertProcessor + date: DateProcessor + date_index_name: DateIndexNameProcessor + dot_expander: DotExpanderProcessor + enrich: EnrichProcessor + fail: FailProcessor + foreach: ForeachProcessor + json: JsonProcessor + user_agent: UserAgentProcessor + kv: KeyValueProcessor + geoip: GeoIpProcessor + grok: GrokProcessor + gsub: GsubProcessor + join: JoinProcessor + lowercase: LowercaseProcessor + remove: RemoveProcessor + rename: RenameProcessor + script: ScriptProcessor + set: SetProcessor + sort: SortProcessor + split: SplitProcessor + trim: TrimProcessor + uppercase: UppercaseProcessor + urldecode: UrlDecodeProcessor + bytes: BytesProcessor + dissect: DissectProcessor + set_security_user: SetSecurityUserProcessor + pipeline: PipelineProcessor + drop: DropProcessor + circle: CircleProcessor } diff --git a/specification/specs/ingest/delete_pipeline/DeletePipelineRequest.ts b/specification/specs/ingest/delete_pipeline/DeletePipelineRequest.ts index 00d26fc6ac..2ab0ee3fff 100644 --- a/specification/specs/ingest/delete_pipeline/DeletePipelineRequest.ts +++ b/specification/specs/ingest/delete_pipeline/DeletePipelineRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("ingest.delete_pipeline") +@rest_spec_name('ingest.delete_pipeline') class DeletePipelineRequest extends RequestBase { path_parts?: { - id: Id; + id: Id } query_parameters?: { - master_timeout?: Time; - timeout?: Time; - } - body?: { + master_timeout?: Time + timeout?: Time } + body?: {} } diff --git a/specification/specs/ingest/delete_pipeline/DeletePipelineResponse.ts b/specification/specs/ingest/delete_pipeline/DeletePipelineResponse.ts index e2f9b6dbd2..270dd56362 100644 --- a/specification/specs/ingest/delete_pipeline/DeletePipelineResponse.ts +++ b/specification/specs/ingest/delete_pipeline/DeletePipelineResponse.ts @@ -1,2 +1 @@ -class DeletePipelineResponse extends AcknowledgedResponseBase { -} +class DeletePipelineResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/ingest/get_pipeline/GetPipelineRequest.ts b/specification/specs/ingest/get_pipeline/GetPipelineRequest.ts index 8b29c47ee9..58527df80f 100644 --- a/specification/specs/ingest/get_pipeline/GetPipelineRequest.ts +++ b/specification/specs/ingest/get_pipeline/GetPipelineRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("ingest.get_pipeline") +@rest_spec_name('ingest.get_pipeline') class GetPipelineRequest extends RequestBase { path_parts?: { - id?: Id; + id?: Id } query_parameters?: { - master_timeout?: Time; - } - body?: { + master_timeout?: Time } + body?: {} } diff --git a/specification/specs/ingest/processor/GrokProcessorPatternsRequest.ts b/specification/specs/ingest/processor/GrokProcessorPatternsRequest.ts index 04fe71b393..70a86e46e2 100644 --- a/specification/specs/ingest/processor/GrokProcessorPatternsRequest.ts +++ b/specification/specs/ingest/processor/GrokProcessorPatternsRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("ingest.processor_grok") +@rest_spec_name('ingest.processor_grok') class GrokProcessorPatternsRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/ingest/processor/GrokProcessorPatternsResponse.ts b/specification/specs/ingest/processor/GrokProcessorPatternsResponse.ts index dff9b0b8f8..063cb5189c 100644 --- a/specification/specs/ingest/processor/GrokProcessorPatternsResponse.ts +++ b/specification/specs/ingest/processor/GrokProcessorPatternsResponse.ts @@ -1,3 +1,3 @@ class GrokProcessorPatternsResponse extends ResponseBase { - patterns: Dictionary; + patterns: Dictionary } diff --git a/specification/specs/ingest/processors/AppendProcessor.ts b/specification/specs/ingest/processors/AppendProcessor.ts index f389353706..3bfd431460 100644 --- a/specification/specs/ingest/processors/AppendProcessor.ts +++ b/specification/specs/ingest/processors/AppendProcessor.ts @@ -1,4 +1,4 @@ class AppendProcessor extends ProcessorBase { - field: Field; - value: UserDefinedValue[]; + field: Field + value: UserDefinedValue[] } diff --git a/specification/specs/ingest/processors/BytesProcessor.ts b/specification/specs/ingest/processors/BytesProcessor.ts index 539f00d077..f3651a89be 100644 --- a/specification/specs/ingest/processors/BytesProcessor.ts +++ b/specification/specs/ingest/processors/BytesProcessor.ts @@ -1,5 +1,5 @@ class BytesProcessor extends ProcessorBase { - field: Field; - ignore_missing: boolean; - target_field: Field; + field: Field + ignore_missing: boolean + target_field: Field } diff --git a/specification/specs/ingest/processors/CircleProcessor.ts b/specification/specs/ingest/processors/CircleProcessor.ts index 5fc68db93e..7316e5a23a 100644 --- a/specification/specs/ingest/processors/CircleProcessor.ts +++ b/specification/specs/ingest/processors/CircleProcessor.ts @@ -1,7 +1,7 @@ class CircleProcessor extends ProcessorBase { - error_distance: double; - field: Field; - ignore_missing: boolean; - shape_type: ShapeType; - target_field: Field; + error_distance: double + field: Field + ignore_missing: boolean + shape_type: ShapeType + target_field: Field } diff --git a/specification/specs/ingest/processors/ConvertProcessor.ts b/specification/specs/ingest/processors/ConvertProcessor.ts index 6b9e795300..7f2260eaa8 100644 --- a/specification/specs/ingest/processors/ConvertProcessor.ts +++ b/specification/specs/ingest/processors/ConvertProcessor.ts @@ -1,6 +1,6 @@ class ConvertProcessor extends ProcessorBase { - field: Field; - ignore_missing: boolean; - target_field: Field; - type: ConvertProcessorType; + field: Field + ignore_missing: boolean + target_field: Field + type: ConvertProcessorType } diff --git a/specification/specs/ingest/processors/CsvProcessor.ts b/specification/specs/ingest/processors/CsvProcessor.ts index b27b79c340..ef8a1b9f17 100644 --- a/specification/specs/ingest/processors/CsvProcessor.ts +++ b/specification/specs/ingest/processors/CsvProcessor.ts @@ -1,9 +1,9 @@ class CsvProcessor extends ProcessorBase { - empty_value: UserDefinedValue; - field: Field; - ignore_missing: boolean; - quote: string; - separator: string; - target_fields: Field[]; - trim: boolean; + empty_value: UserDefinedValue + field: Field + ignore_missing: boolean + quote: string + separator: string + target_fields: Field[] + trim: boolean } diff --git a/specification/specs/ingest/processors/DateIndexNameProcessor.ts b/specification/specs/ingest/processors/DateIndexNameProcessor.ts index e366cf0765..f10a91fda0 100644 --- a/specification/specs/ingest/processors/DateIndexNameProcessor.ts +++ b/specification/specs/ingest/processors/DateIndexNameProcessor.ts @@ -1,9 +1,9 @@ class DateIndexNameProcessor extends ProcessorBase { - date_formats: string[]; - date_rounding: DateRounding; - field: Field; - index_name_format: string; - index_name_prefix: string; - locale: string; - timezone: string; + date_formats: string[] + date_rounding: DateRounding + field: Field + index_name_format: string + index_name_prefix: string + locale: string + timezone: string } diff --git a/specification/specs/ingest/processors/DateProcessor.ts b/specification/specs/ingest/processors/DateProcessor.ts index 2ba1f4065b..e83028d7bc 100644 --- a/specification/specs/ingest/processors/DateProcessor.ts +++ b/specification/specs/ingest/processors/DateProcessor.ts @@ -1,7 +1,7 @@ class DateProcessor extends ProcessorBase { - field: Field; - formats: string[]; - locale: string; - target_field: Field; - timezone: string; + field: Field + formats: string[] + locale: string + target_field: Field + timezone: string } diff --git a/specification/specs/ingest/processors/DissectProcessor.ts b/specification/specs/ingest/processors/DissectProcessor.ts index ff6f463d4e..f63ddcd7e7 100644 --- a/specification/specs/ingest/processors/DissectProcessor.ts +++ b/specification/specs/ingest/processors/DissectProcessor.ts @@ -1,6 +1,6 @@ class DissectProcessor extends ProcessorBase { - append_separator: string; - field: Field; - ignore_missing: boolean; - pattern: string; + append_separator: string + field: Field + ignore_missing: boolean + pattern: string } diff --git a/specification/specs/ingest/processors/DotExpanderProcessor.ts b/specification/specs/ingest/processors/DotExpanderProcessor.ts index e9f0137b0c..e55232eb6e 100644 --- a/specification/specs/ingest/processors/DotExpanderProcessor.ts +++ b/specification/specs/ingest/processors/DotExpanderProcessor.ts @@ -1,4 +1,4 @@ class DotExpanderProcessor extends ProcessorBase { - field: Field; - path: string; + field: Field + path: string } diff --git a/specification/specs/ingest/processors/DropProcessor.ts b/specification/specs/ingest/processors/DropProcessor.ts index a8344ccbc4..43fd6f4111 100644 --- a/specification/specs/ingest/processors/DropProcessor.ts +++ b/specification/specs/ingest/processors/DropProcessor.ts @@ -1,2 +1 @@ -class DropProcessor extends ProcessorBase { -} +class DropProcessor extends ProcessorBase {} diff --git a/specification/specs/ingest/processors/EnrichProcessor.ts b/specification/specs/ingest/processors/EnrichProcessor.ts index 1030f7ec19..4613d4d743 100644 --- a/specification/specs/ingest/processors/EnrichProcessor.ts +++ b/specification/specs/ingest/processors/EnrichProcessor.ts @@ -1,9 +1,9 @@ class EnrichProcessor extends ProcessorBase { - field: Field; - ignore_missing: boolean; - max_matches: integer; - override: boolean; - policy_name: string; - shape_relation: GeoShapeRelation; - target_field: Field; + field: Field + ignore_missing: boolean + max_matches: integer + override: boolean + policy_name: string + shape_relation: GeoShapeRelation + target_field: Field } diff --git a/specification/specs/ingest/processors/FailProcessor.ts b/specification/specs/ingest/processors/FailProcessor.ts index 5e3645a65d..87d7f83b11 100644 --- a/specification/specs/ingest/processors/FailProcessor.ts +++ b/specification/specs/ingest/processors/FailProcessor.ts @@ -1,3 +1,3 @@ class FailProcessor extends ProcessorBase { - message: string; + message: string } diff --git a/specification/specs/ingest/processors/ForeachProcessor.ts b/specification/specs/ingest/processors/ForeachProcessor.ts index d585c8e5ab..2837c7019d 100644 --- a/specification/specs/ingest/processors/ForeachProcessor.ts +++ b/specification/specs/ingest/processors/ForeachProcessor.ts @@ -1,5 +1,5 @@ class ForeachProcessor extends ProcessorBase { - field: Field; - ignore_missing: boolean; - processor: ProcessorContainer; + field: Field + ignore_missing: boolean + processor: ProcessorContainer } diff --git a/specification/specs/ingest/processors/GrokProcessor.ts b/specification/specs/ingest/processors/GrokProcessor.ts index 1251e3007c..33a397a92c 100644 --- a/specification/specs/ingest/processors/GrokProcessor.ts +++ b/specification/specs/ingest/processors/GrokProcessor.ts @@ -1,7 +1,7 @@ class GrokProcessor extends ProcessorBase { - field: Field; - ignore_missing: boolean; - pattern_definitions: Dictionary; - patterns: string[]; - trace_match: boolean; + field: Field + ignore_missing: boolean + pattern_definitions: Dictionary + patterns: string[] + trace_match: boolean } diff --git a/specification/specs/ingest/processors/GsubProcessor.ts b/specification/specs/ingest/processors/GsubProcessor.ts index 03402f4958..2799b79b17 100644 --- a/specification/specs/ingest/processors/GsubProcessor.ts +++ b/specification/specs/ingest/processors/GsubProcessor.ts @@ -1,7 +1,7 @@ class GsubProcessor extends ProcessorBase { - field: Field; - ignore_missing: boolean; - pattern: string; - replacement: string; - target_field: Field; + field: Field + ignore_missing: boolean + pattern: string + replacement: string + target_field: Field } diff --git a/specification/specs/ingest/processors/JoinProcessor.ts b/specification/specs/ingest/processors/JoinProcessor.ts index 4ad1082853..5273af340f 100644 --- a/specification/specs/ingest/processors/JoinProcessor.ts +++ b/specification/specs/ingest/processors/JoinProcessor.ts @@ -1,5 +1,5 @@ class JoinProcessor extends ProcessorBase { - field: Field; - separator: string; - target_field: Field; + field: Field + separator: string + target_field: Field } diff --git a/specification/specs/ingest/processors/JsonProcessor.ts b/specification/specs/ingest/processors/JsonProcessor.ts index 85c5463ab5..c97501abfc 100644 --- a/specification/specs/ingest/processors/JsonProcessor.ts +++ b/specification/specs/ingest/processors/JsonProcessor.ts @@ -1,5 +1,5 @@ class JsonProcessor extends ProcessorBase { - add_to_root: boolean; - field: Field; - target_field: Field; + add_to_root: boolean + field: Field + target_field: Field } diff --git a/specification/specs/ingest/processors/KeyValueProcessor.ts b/specification/specs/ingest/processors/KeyValueProcessor.ts index dc1ad12585..e3e332720a 100644 --- a/specification/specs/ingest/processors/KeyValueProcessor.ts +++ b/specification/specs/ingest/processors/KeyValueProcessor.ts @@ -1,13 +1,13 @@ class KeyValueProcessor extends ProcessorBase { - exclude_keys: string[]; - field: Field; - field_split: string; - ignore_missing: boolean; - include_keys: string[]; - prefix: string; - strip_brackets: boolean; - target_field: Field; - trim_key: string; - trim_value: string; - value_split: string; + exclude_keys: string[] + field: Field + field_split: string + ignore_missing: boolean + include_keys: string[] + prefix: string + strip_brackets: boolean + target_field: Field + trim_key: string + trim_value: string + value_split: string } diff --git a/specification/specs/ingest/processors/LowercaseProcessor.ts b/specification/specs/ingest/processors/LowercaseProcessor.ts index 8f2f9423b9..b538656738 100644 --- a/specification/specs/ingest/processors/LowercaseProcessor.ts +++ b/specification/specs/ingest/processors/LowercaseProcessor.ts @@ -1,5 +1,5 @@ class LowercaseProcessor extends ProcessorBase { - field: Field; - ignore_missing: boolean; - target_field: Field; + field: Field + ignore_missing: boolean + target_field: Field } diff --git a/specification/specs/ingest/processors/PipelineProcessor.ts b/specification/specs/ingest/processors/PipelineProcessor.ts index 923ed80dcb..aff108fd95 100644 --- a/specification/specs/ingest/processors/PipelineProcessor.ts +++ b/specification/specs/ingest/processors/PipelineProcessor.ts @@ -1,3 +1,3 @@ class PipelineProcessor extends ProcessorBase { - name: string; + name: string } diff --git a/specification/specs/ingest/processors/RemoveProcessor.ts b/specification/specs/ingest/processors/RemoveProcessor.ts index f2dae6df42..104b371766 100644 --- a/specification/specs/ingest/processors/RemoveProcessor.ts +++ b/specification/specs/ingest/processors/RemoveProcessor.ts @@ -1,4 +1,4 @@ class RemoveProcessor extends ProcessorBase { - field: Field[]; - ignore_missing: boolean; + field: Field[] + ignore_missing: boolean } diff --git a/specification/specs/ingest/processors/RenameProcessor.ts b/specification/specs/ingest/processors/RenameProcessor.ts index f9a852c26c..5ce4075541 100644 --- a/specification/specs/ingest/processors/RenameProcessor.ts +++ b/specification/specs/ingest/processors/RenameProcessor.ts @@ -1,5 +1,5 @@ class RenameProcessor extends ProcessorBase { - field: Field; - ignore_missing: boolean; - target_field: Field; + field: Field + ignore_missing: boolean + target_field: Field } diff --git a/specification/specs/ingest/processors/ScriptProcessor.ts b/specification/specs/ingest/processors/ScriptProcessor.ts index d3f8b9a303..645d5df31f 100644 --- a/specification/specs/ingest/processors/ScriptProcessor.ts +++ b/specification/specs/ingest/processors/ScriptProcessor.ts @@ -1,6 +1,6 @@ class ScriptProcessor extends ProcessorBase { - id: string; - lang: string; - params: Dictionary; - source: string; + id: string + lang: string + params: Dictionary + source: string } diff --git a/specification/specs/ingest/processors/SetProcessor.ts b/specification/specs/ingest/processors/SetProcessor.ts index f750d97c01..865a5c3e97 100644 --- a/specification/specs/ingest/processors/SetProcessor.ts +++ b/specification/specs/ingest/processors/SetProcessor.ts @@ -1,6 +1,6 @@ class SetProcessor extends ProcessorBase { - field: Field; - override: boolean; + field: Field + override: boolean /** @prop_serializer SourceWriteFormatter`1 */ - value: UserDefinedValue; + value: UserDefinedValue } diff --git a/specification/specs/ingest/processors/SetSecurityUserProcessor.ts b/specification/specs/ingest/processors/SetSecurityUserProcessor.ts index 5ef11f3e8c..78956dbe1e 100644 --- a/specification/specs/ingest/processors/SetSecurityUserProcessor.ts +++ b/specification/specs/ingest/processors/SetSecurityUserProcessor.ts @@ -1,4 +1,4 @@ class SetSecurityUserProcessor extends ProcessorBase { - field: Field; - properties: string[]; + field: Field + properties: string[] } diff --git a/specification/specs/ingest/processors/SortProcessor.ts b/specification/specs/ingest/processors/SortProcessor.ts index e77aa56e67..0399c559a5 100644 --- a/specification/specs/ingest/processors/SortProcessor.ts +++ b/specification/specs/ingest/processors/SortProcessor.ts @@ -1,5 +1,5 @@ class SortProcessor extends ProcessorBase { - field: Field; - order: SortOrder; - target_field: Field; + field: Field + order: SortOrder + target_field: Field } diff --git a/specification/specs/ingest/processors/SplitProcessor.ts b/specification/specs/ingest/processors/SplitProcessor.ts index 4b5a0726f2..096cfc9a46 100644 --- a/specification/specs/ingest/processors/SplitProcessor.ts +++ b/specification/specs/ingest/processors/SplitProcessor.ts @@ -1,7 +1,7 @@ class SplitProcessor extends ProcessorBase { - field: Field; - ignore_missing: boolean; - preserve_trailing: boolean; - separator: string; - target_field: Field; + field: Field + ignore_missing: boolean + preserve_trailing: boolean + separator: string + target_field: Field } diff --git a/specification/specs/ingest/processors/TrimProcessor.ts b/specification/specs/ingest/processors/TrimProcessor.ts index c996d4731a..3545a31038 100644 --- a/specification/specs/ingest/processors/TrimProcessor.ts +++ b/specification/specs/ingest/processors/TrimProcessor.ts @@ -1,5 +1,5 @@ class TrimProcessor extends ProcessorBase { - field: Field; - ignore_missing: boolean; - target_field: Field; + field: Field + ignore_missing: boolean + target_field: Field } diff --git a/specification/specs/ingest/processors/UppercaseProcessor.ts b/specification/specs/ingest/processors/UppercaseProcessor.ts index be388b1acc..a23da73f4e 100644 --- a/specification/specs/ingest/processors/UppercaseProcessor.ts +++ b/specification/specs/ingest/processors/UppercaseProcessor.ts @@ -1,5 +1,5 @@ class UppercaseProcessor extends ProcessorBase { - field: Field; - ignore_missing: boolean; - target_field: Field; + field: Field + ignore_missing: boolean + target_field: Field } diff --git a/specification/specs/ingest/processors/UrlDecodeProcessor.ts b/specification/specs/ingest/processors/UrlDecodeProcessor.ts index 337f1eb34c..f7886ee608 100644 --- a/specification/specs/ingest/processors/UrlDecodeProcessor.ts +++ b/specification/specs/ingest/processors/UrlDecodeProcessor.ts @@ -1,5 +1,5 @@ class UrlDecodeProcessor extends ProcessorBase { - field: Field; - ignore_missing: boolean; - target_field: Field; + field: Field + ignore_missing: boolean + target_field: Field } diff --git a/specification/specs/ingest/processors/plugins/AttachmentProcessor.ts b/specification/specs/ingest/processors/plugins/AttachmentProcessor.ts index 03392cb85d..b8da569455 100644 --- a/specification/specs/ingest/processors/plugins/AttachmentProcessor.ts +++ b/specification/specs/ingest/processors/plugins/AttachmentProcessor.ts @@ -1,8 +1,8 @@ class AttachmentProcessor extends ProcessorBase { - field: Field; - ignore_missing: boolean; - indexed_chars: long; - indexed_chars_field: Field; - properties: string[]; - target_field: Field; + field: Field + ignore_missing: boolean + indexed_chars: long + indexed_chars_field: Field + properties: string[] + target_field: Field } diff --git a/specification/specs/ingest/processors/plugins/GeoIpProcessor.ts b/specification/specs/ingest/processors/plugins/GeoIpProcessor.ts index be868a06b7..f168645963 100644 --- a/specification/specs/ingest/processors/plugins/GeoIpProcessor.ts +++ b/specification/specs/ingest/processors/plugins/GeoIpProcessor.ts @@ -1,8 +1,8 @@ class GeoIpProcessor extends ProcessorBase { - database_file: string; - field: Field; - first_only: boolean; - ignore_missing: boolean; - properties: string[]; - target_field: Field; + database_file: string + field: Field + first_only: boolean + ignore_missing: boolean + properties: string[] + target_field: Field } diff --git a/specification/specs/ingest/processors/plugins/UserAgentProcessor.ts b/specification/specs/ingest/processors/plugins/UserAgentProcessor.ts index 9b890600bd..b4dd431252 100644 --- a/specification/specs/ingest/processors/plugins/UserAgentProcessor.ts +++ b/specification/specs/ingest/processors/plugins/UserAgentProcessor.ts @@ -1,7 +1,7 @@ class UserAgentProcessor extends ProcessorBase { - field: Field; - ignore_missing: boolean; - options: UserAgentProperty[]; - regex_file: string; - target_field: Field; + field: Field + ignore_missing: boolean + options: UserAgentProperty[] + regex_file: string + target_field: Field } diff --git a/specification/specs/ingest/put_pipeline/PutPipelineRequest.ts b/specification/specs/ingest/put_pipeline/PutPipelineRequest.ts index 5b9c66d9a7..2f56488ba9 100644 --- a/specification/specs/ingest/put_pipeline/PutPipelineRequest.ts +++ b/specification/specs/ingest/put_pipeline/PutPipelineRequest.ts @@ -1,15 +1,15 @@ -@rest_spec_name("ingest.put_pipeline") +@rest_spec_name('ingest.put_pipeline') class PutPipelineRequest extends RequestBase { path_parts?: { - id: Id; + id: Id } query_parameters?: { - master_timeout?: Time; - timeout?: Time; + master_timeout?: Time + timeout?: Time } body?: { - description?: string; - on_failure?: ProcessorContainer[]; - processors?: ProcessorContainer[]; + description?: string + on_failure?: ProcessorContainer[] + processors?: ProcessorContainer[] } } diff --git a/specification/specs/ingest/put_pipeline/PutPipelineResponse.ts b/specification/specs/ingest/put_pipeline/PutPipelineResponse.ts index 808e57a905..e2776bd591 100644 --- a/specification/specs/ingest/put_pipeline/PutPipelineResponse.ts +++ b/specification/specs/ingest/put_pipeline/PutPipelineResponse.ts @@ -1,2 +1 @@ -class PutPipelineResponse extends AcknowledgedResponseBase { -} +class PutPipelineResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/ingest/simulate_pipeline/DocumentSimulation.ts b/specification/specs/ingest/simulate_pipeline/DocumentSimulation.ts index 0854d748d5..9236443fed 100644 --- a/specification/specs/ingest/simulate_pipeline/DocumentSimulation.ts +++ b/specification/specs/ingest/simulate_pipeline/DocumentSimulation.ts @@ -1,9 +1,9 @@ class DocumentSimulation { - _id: string; - _index: string; - _ingest: Ingest; - _parent: string; - _routing: string; - _source: LazyDocument; - _type: string; + _id: string + _index: string + _ingest: Ingest + _parent: string + _routing: string + _source: LazyDocument + _type: string } diff --git a/specification/specs/ingest/simulate_pipeline/Ingest.ts b/specification/specs/ingest/simulate_pipeline/Ingest.ts index a7dde598f8..1542e7ec2b 100644 --- a/specification/specs/ingest/simulate_pipeline/Ingest.ts +++ b/specification/specs/ingest/simulate_pipeline/Ingest.ts @@ -1,3 +1,3 @@ class Ingest { - timestamp: Date; + timestamp: Date } diff --git a/specification/specs/ingest/simulate_pipeline/PipelineSimulation.ts b/specification/specs/ingest/simulate_pipeline/PipelineSimulation.ts index dbdabe698f..7ff1daf392 100644 --- a/specification/specs/ingest/simulate_pipeline/PipelineSimulation.ts +++ b/specification/specs/ingest/simulate_pipeline/PipelineSimulation.ts @@ -1,5 +1,5 @@ class PipelineSimulation { - doc: DocumentSimulation; - processor_results: PipelineSimulation[]; - tag: string; + doc: DocumentSimulation + processor_results: PipelineSimulation[] + tag: string } diff --git a/specification/specs/ingest/simulate_pipeline/SimulatePipelineDocument.ts b/specification/specs/ingest/simulate_pipeline/SimulatePipelineDocument.ts index 804639a29f..0cca99f48b 100644 --- a/specification/specs/ingest/simulate_pipeline/SimulatePipelineDocument.ts +++ b/specification/specs/ingest/simulate_pipeline/SimulatePipelineDocument.ts @@ -1,6 +1,6 @@ class SimulatePipelineDocument { - _id: Id; - _index: IndexName; + _id: Id + _index: IndexName /** @prop_serializer SourceFormatter`1 */ - _source: UserDefinedValue; + _source: UserDefinedValue } diff --git a/specification/specs/ingest/simulate_pipeline/SimulatePipelineRequest.ts b/specification/specs/ingest/simulate_pipeline/SimulatePipelineRequest.ts index 9d56313d88..0e7de9f63c 100644 --- a/specification/specs/ingest/simulate_pipeline/SimulatePipelineRequest.ts +++ b/specification/specs/ingest/simulate_pipeline/SimulatePipelineRequest.ts @@ -1,13 +1,13 @@ -@rest_spec_name("ingest.simulate") +@rest_spec_name('ingest.simulate') class SimulatePipelineRequest extends RequestBase { path_parts?: { - id?: Id; + id?: Id } query_parameters?: { - verbose?: boolean; + verbose?: boolean } body?: { - docs?: SimulatePipelineDocument[]; - pipeline?: Pipeline; + docs?: SimulatePipelineDocument[] + pipeline?: Pipeline } } diff --git a/specification/specs/ingest/simulate_pipeline/SimulatePipelineResponse.ts b/specification/specs/ingest/simulate_pipeline/SimulatePipelineResponse.ts index 5a03310650..9777080e41 100644 --- a/specification/specs/ingest/simulate_pipeline/SimulatePipelineResponse.ts +++ b/specification/specs/ingest/simulate_pipeline/SimulatePipelineResponse.ts @@ -1,3 +1,3 @@ class SimulatePipelineResponse extends ResponseBase { - docs: PipelineSimulation[]; + docs: PipelineSimulation[] } diff --git a/specification/specs/mapping/TypeMapping.ts b/specification/specs/mapping/TypeMapping.ts index c06ada3578..d4b2cd7b94 100644 --- a/specification/specs/mapping/TypeMapping.ts +++ b/specification/specs/mapping/TypeMapping.ts @@ -1,16 +1,16 @@ class TypeMapping { - all_field?: AllField; - date_detection?: boolean; + all_field?: AllField + date_detection?: boolean /** @prop_serializer DynamicMappingFormatter */ - dynamic?: Union; - dynamic_date_formats?: string[]; - dynamic_templates?: Dictionary; - _field_names?: FieldNamesField; - index_field?: IndexField; - _meta?: Dictionary; - numeric_detection?: boolean; - properties: Dictionary; - _routing?: RoutingField; - _size?: SizeField; - _source?: SourceField; + dynamic?: Union + dynamic_date_formats?: string[] + dynamic_templates?: Dictionary + _field_names?: FieldNamesField + index_field?: IndexField + _meta?: Dictionary + numeric_detection?: boolean + properties: Dictionary + _routing?: RoutingField + _size?: SizeField + _source?: SourceField } diff --git a/specification/specs/mapping/dynamic_template/DynamicTemplate.ts b/specification/specs/mapping/dynamic_template/DynamicTemplate.ts index b37acd2e77..e0eaf7368e 100644 --- a/specification/specs/mapping/dynamic_template/DynamicTemplate.ts +++ b/specification/specs/mapping/dynamic_template/DynamicTemplate.ts @@ -1,9 +1,9 @@ class DynamicTemplate { - mapping: PropertyBase; - match: string; - match_mapping_type: string; - match_pattern: MatchType; - path_match: string; - path_unmatch: string; - unmatch: string; + mapping: PropertyBase + match: string + match_mapping_type: string + match_pattern: MatchType + path_match: string + path_unmatch: string + unmatch: string } diff --git a/specification/specs/mapping/meta_fields/FieldMapping.ts b/specification/specs/mapping/meta_fields/FieldMapping.ts index 943c27bfb4..9eb0697313 100644 --- a/specification/specs/mapping/meta_fields/FieldMapping.ts +++ b/specification/specs/mapping/meta_fields/FieldMapping.ts @@ -1,2 +1 @@ -class FieldMapping { -} +class FieldMapping {} diff --git a/specification/specs/mapping/meta_fields/all/AllField.ts b/specification/specs/mapping/meta_fields/all/AllField.ts index 36fbe7283a..7194e616a6 100644 --- a/specification/specs/mapping/meta_fields/all/AllField.ts +++ b/specification/specs/mapping/meta_fields/all/AllField.ts @@ -1,12 +1,12 @@ class AllField { - analyzer: string; - enabled: boolean; - omit_norms: boolean; - search_analyzer: string; - similarity: string; - store: boolean; - store_term_vector_offsets: boolean; - store_term_vector_payloads: boolean; - store_term_vector_positions: boolean; - store_term_vectors: boolean; + analyzer: string + enabled: boolean + omit_norms: boolean + search_analyzer: string + similarity: string + store: boolean + store_term_vector_offsets: boolean + store_term_vector_payloads: boolean + store_term_vector_positions: boolean + store_term_vectors: boolean } diff --git a/specification/specs/mapping/meta_fields/field_names/FieldNamesField.ts b/specification/specs/mapping/meta_fields/field_names/FieldNamesField.ts index 3668c3c100..dc0e4c6867 100644 --- a/specification/specs/mapping/meta_fields/field_names/FieldNamesField.ts +++ b/specification/specs/mapping/meta_fields/field_names/FieldNamesField.ts @@ -1,3 +1,3 @@ class FieldNamesField { - enabled: boolean; + enabled: boolean } diff --git a/specification/specs/mapping/meta_fields/index/IndexField.ts b/specification/specs/mapping/meta_fields/index/IndexField.ts index 79adf16728..018c27198c 100644 --- a/specification/specs/mapping/meta_fields/index/IndexField.ts +++ b/specification/specs/mapping/meta_fields/index/IndexField.ts @@ -1,3 +1,3 @@ class IndexField { - enabled: boolean; + enabled: boolean } diff --git a/specification/specs/mapping/meta_fields/routing/RoutingField.ts b/specification/specs/mapping/meta_fields/routing/RoutingField.ts index 17a3a23aca..32967c7146 100644 --- a/specification/specs/mapping/meta_fields/routing/RoutingField.ts +++ b/specification/specs/mapping/meta_fields/routing/RoutingField.ts @@ -1,3 +1,3 @@ class RoutingField { - required: boolean; + required: boolean } diff --git a/specification/specs/mapping/meta_fields/size/SizeField.ts b/specification/specs/mapping/meta_fields/size/SizeField.ts index 839b675e69..abd4952649 100644 --- a/specification/specs/mapping/meta_fields/size/SizeField.ts +++ b/specification/specs/mapping/meta_fields/size/SizeField.ts @@ -1,3 +1,3 @@ class SizeField { - enabled: boolean; + enabled: boolean } diff --git a/specification/specs/mapping/meta_fields/source/SourceField.ts b/specification/specs/mapping/meta_fields/source/SourceField.ts index 7ed803d800..cb1fff4946 100644 --- a/specification/specs/mapping/meta_fields/source/SourceField.ts +++ b/specification/specs/mapping/meta_fields/source/SourceField.ts @@ -1,7 +1,7 @@ class SourceField { - compress: boolean; - compress_threshold: string; - enabled: boolean; - excludes: string[]; - includes: string[]; + compress: boolean + compress_threshold: string + enabled: boolean + excludes: string[] + includes: string[] } diff --git a/specification/specs/mapping/types/CorePropertyBase.ts b/specification/specs/mapping/types/CorePropertyBase.ts index 05f2e9f3dd..b9c53118af 100644 --- a/specification/specs/mapping/types/CorePropertyBase.ts +++ b/specification/specs/mapping/types/CorePropertyBase.ts @@ -1,6 +1,6 @@ class CorePropertyBase extends PropertyBase { - copy_to: Field[]; - fields: Dictionary; - similarity: string; - store: boolean; + copy_to: Field[] + fields: Dictionary + similarity: string + store: boolean } diff --git a/specification/specs/mapping/types/DocValuesPropertyBase.ts b/specification/specs/mapping/types/DocValuesPropertyBase.ts index 0531746f66..6ac124522d 100644 --- a/specification/specs/mapping/types/DocValuesPropertyBase.ts +++ b/specification/specs/mapping/types/DocValuesPropertyBase.ts @@ -1,3 +1,3 @@ class DocValuesPropertyBase extends CorePropertyBase { - doc_values: boolean; + doc_values: boolean } diff --git a/specification/specs/mapping/types/PropertyBase.ts b/specification/specs/mapping/types/PropertyBase.ts index 3f58ffcafb..41e650d085 100644 --- a/specification/specs/mapping/types/PropertyBase.ts +++ b/specification/specs/mapping/types/PropertyBase.ts @@ -1,6 +1,6 @@ class PropertyBase { - local_metadata: Dictionary; - meta: Dictionary; - name: PropertyName; - type: string; + local_metadata: Dictionary + meta: Dictionary + name: PropertyName + type: string } diff --git a/specification/specs/mapping/types/PropertyWithClrOrigin.ts b/specification/specs/mapping/types/PropertyWithClrOrigin.ts index 32bf703051..1d2592befc 100644 --- a/specification/specs/mapping/types/PropertyWithClrOrigin.ts +++ b/specification/specs/mapping/types/PropertyWithClrOrigin.ts @@ -1,2 +1 @@ -class PropertyWithClrOrigin { -} +class PropertyWithClrOrigin {} diff --git a/specification/specs/mapping/types/complex/flattened/FlattenedProperty.ts b/specification/specs/mapping/types/complex/flattened/FlattenedProperty.ts index 46ee7e6611..7dddafd0b5 100644 --- a/specification/specs/mapping/types/complex/flattened/FlattenedProperty.ts +++ b/specification/specs/mapping/types/complex/flattened/FlattenedProperty.ts @@ -1,12 +1,12 @@ class FlattenedProperty extends PropertyBase { - boost: double; - depth_limit: integer; - doc_values: boolean; - eager_global_ordinals: boolean; - ignore_above: integer; - index: boolean; - index_options: IndexOptions; - null_value: string; - similarity: string; - split_queries_on_whitespace: boolean; + boost: double + depth_limit: integer + doc_values: boolean + eager_global_ordinals: boolean + ignore_above: integer + index: boolean + index_options: IndexOptions + null_value: string + similarity: string + split_queries_on_whitespace: boolean } diff --git a/specification/specs/mapping/types/complex/nested/NestedProperty.ts b/specification/specs/mapping/types/complex/nested/NestedProperty.ts index cb9d31a8c2..4e50eb70c5 100644 --- a/specification/specs/mapping/types/complex/nested/NestedProperty.ts +++ b/specification/specs/mapping/types/complex/nested/NestedProperty.ts @@ -1,4 +1,4 @@ class NestedProperty extends ObjectProperty { - include_in_parent: boolean; - include_in_root: boolean; + include_in_parent: boolean + include_in_root: boolean } diff --git a/specification/specs/mapping/types/complex/object/ObjectProperty.ts b/specification/specs/mapping/types/complex/object/ObjectProperty.ts index ad992e1b0d..4aa1bc167d 100644 --- a/specification/specs/mapping/types/complex/object/ObjectProperty.ts +++ b/specification/specs/mapping/types/complex/object/ObjectProperty.ts @@ -1,6 +1,6 @@ class ObjectProperty extends CorePropertyBase { /** @prop_serializer DynamicMappingFormatter */ - dynamic: Union; - enabled: boolean; - properties: Dictionary; + dynamic: Union + enabled: boolean + properties: Dictionary } diff --git a/specification/specs/mapping/types/core/binary/BinaryProperty.ts b/specification/specs/mapping/types/core/binary/BinaryProperty.ts index 8ac00e9580..81adbf4e87 100644 --- a/specification/specs/mapping/types/core/binary/BinaryProperty.ts +++ b/specification/specs/mapping/types/core/binary/BinaryProperty.ts @@ -1,2 +1 @@ -class BinaryProperty extends DocValuesPropertyBase { -} +class BinaryProperty extends DocValuesPropertyBase {} diff --git a/specification/specs/mapping/types/core/boolean/BooleanProperty.ts b/specification/specs/mapping/types/core/boolean/BooleanProperty.ts index e537baecbe..55e92e37d9 100644 --- a/specification/specs/mapping/types/core/boolean/BooleanProperty.ts +++ b/specification/specs/mapping/types/core/boolean/BooleanProperty.ts @@ -1,6 +1,6 @@ class BooleanProperty extends DocValuesPropertyBase { - boost: double; - fielddata: NumericFielddata; - index: boolean; - null_value: boolean; + boost: double + fielddata: NumericFielddata + index: boolean + null_value: boolean } diff --git a/specification/specs/mapping/types/core/date/DateProperty.ts b/specification/specs/mapping/types/core/date/DateProperty.ts index d715540827..3e1c26f665 100644 --- a/specification/specs/mapping/types/core/date/DateProperty.ts +++ b/specification/specs/mapping/types/core/date/DateProperty.ts @@ -1,9 +1,9 @@ class DateProperty extends DocValuesPropertyBase { - boost: double; - fielddata: NumericFielddata; - format: string; - ignore_malformed: boolean; - index: boolean; - null_value: Date; - precision_step: integer; + boost: double + fielddata: NumericFielddata + format: string + ignore_malformed: boolean + index: boolean + null_value: Date + precision_step: integer } diff --git a/specification/specs/mapping/types/core/date_nanos/DateNanosProperty.ts b/specification/specs/mapping/types/core/date_nanos/DateNanosProperty.ts index cb43f69a53..80aa6a54e3 100644 --- a/specification/specs/mapping/types/core/date_nanos/DateNanosProperty.ts +++ b/specification/specs/mapping/types/core/date_nanos/DateNanosProperty.ts @@ -1,8 +1,8 @@ class DateNanosProperty extends DocValuesPropertyBase { - boost: double; - format: string; - ignore_malformed: boolean; - index: boolean; - null_value: Date; - precision_step: integer; + boost: double + format: string + ignore_malformed: boolean + index: boolean + null_value: Date + precision_step: integer } diff --git a/specification/specs/mapping/types/core/join/JoinProperty.ts b/specification/specs/mapping/types/core/join/JoinProperty.ts index 276a9b69b4..0b0d287f75 100644 --- a/specification/specs/mapping/types/core/join/JoinProperty.ts +++ b/specification/specs/mapping/types/core/join/JoinProperty.ts @@ -1,3 +1,3 @@ class JoinProperty extends PropertyBase { - relations: Dictionary; + relations: Dictionary } diff --git a/specification/specs/mapping/types/core/keyword/KeywordProperty.ts b/specification/specs/mapping/types/core/keyword/KeywordProperty.ts index 287cf2178d..0589637de8 100644 --- a/specification/specs/mapping/types/core/keyword/KeywordProperty.ts +++ b/specification/specs/mapping/types/core/keyword/KeywordProperty.ts @@ -1,11 +1,11 @@ class KeywordProperty extends DocValuesPropertyBase { - boost: double; - eager_global_ordinals: boolean; - ignore_above: integer; - index: boolean; - index_options: IndexOptions; - normalizer: string; - norms: boolean; - null_value: string; - split_queries_on_whitespace: boolean; + boost: double + eager_global_ordinals: boolean + ignore_above: integer + index: boolean + index_options: IndexOptions + normalizer: string + norms: boolean + null_value: string + split_queries_on_whitespace: boolean } diff --git a/specification/specs/mapping/types/core/number/NumberProperty.ts b/specification/specs/mapping/types/core/number/NumberProperty.ts index f4ee81654b..5a9e1bc81a 100644 --- a/specification/specs/mapping/types/core/number/NumberProperty.ts +++ b/specification/specs/mapping/types/core/number/NumberProperty.ts @@ -1,9 +1,9 @@ class NumberProperty extends DocValuesPropertyBase { - boost: double; - coerce: boolean; - fielddata: NumericFielddata; - ignore_malformed: boolean; - index: boolean; - null_value: double; - scaling_factor: double; + boost: double + coerce: boolean + fielddata: NumericFielddata + ignore_malformed: boolean + index: boolean + null_value: double + scaling_factor: double } diff --git a/specification/specs/mapping/types/core/percolator/PercolatorProperty.ts b/specification/specs/mapping/types/core/percolator/PercolatorProperty.ts index 055e18cb76..a8f1c1edda 100644 --- a/specification/specs/mapping/types/core/percolator/PercolatorProperty.ts +++ b/specification/specs/mapping/types/core/percolator/PercolatorProperty.ts @@ -1,2 +1 @@ -class PercolatorProperty extends PropertyBase { -} +class PercolatorProperty extends PropertyBase {} diff --git a/specification/specs/mapping/types/core/range/RangePropertyBase.ts b/specification/specs/mapping/types/core/range/RangePropertyBase.ts index 878a73da7d..5e06e9d6aa 100644 --- a/specification/specs/mapping/types/core/range/RangePropertyBase.ts +++ b/specification/specs/mapping/types/core/range/RangePropertyBase.ts @@ -1,5 +1,5 @@ class RangePropertyBase extends DocValuesPropertyBase { - boost: double; - coerce: boolean; - index: boolean; + boost: double + coerce: boolean + index: boolean } diff --git a/specification/specs/mapping/types/core/range/date_range/DateRangeProperty.ts b/specification/specs/mapping/types/core/range/date_range/DateRangeProperty.ts index fe9e05460d..0ae9190aca 100644 --- a/specification/specs/mapping/types/core/range/date_range/DateRangeProperty.ts +++ b/specification/specs/mapping/types/core/range/date_range/DateRangeProperty.ts @@ -1,3 +1,3 @@ class DateRangeProperty extends RangePropertyBase { - format: string; + format: string } diff --git a/specification/specs/mapping/types/core/range/double_range/DoubleRangeProperty.ts b/specification/specs/mapping/types/core/range/double_range/DoubleRangeProperty.ts index 04af4e2e80..e87a1acbab 100644 --- a/specification/specs/mapping/types/core/range/double_range/DoubleRangeProperty.ts +++ b/specification/specs/mapping/types/core/range/double_range/DoubleRangeProperty.ts @@ -1,2 +1 @@ -class DoubleRangeProperty extends RangePropertyBase { -} +class DoubleRangeProperty extends RangePropertyBase {} diff --git a/specification/specs/mapping/types/core/range/float_range/FloatRangeProperty.ts b/specification/specs/mapping/types/core/range/float_range/FloatRangeProperty.ts index b0fa535a16..8760df1966 100644 --- a/specification/specs/mapping/types/core/range/float_range/FloatRangeProperty.ts +++ b/specification/specs/mapping/types/core/range/float_range/FloatRangeProperty.ts @@ -1,2 +1 @@ -class FloatRangeProperty extends RangePropertyBase { -} +class FloatRangeProperty extends RangePropertyBase {} diff --git a/specification/specs/mapping/types/core/range/integer_range/IntegerRangeProperty.ts b/specification/specs/mapping/types/core/range/integer_range/IntegerRangeProperty.ts index b3b30f09f3..46751c6c8f 100644 --- a/specification/specs/mapping/types/core/range/integer_range/IntegerRangeProperty.ts +++ b/specification/specs/mapping/types/core/range/integer_range/IntegerRangeProperty.ts @@ -1,2 +1 @@ -class IntegerRangeProperty extends RangePropertyBase { -} +class IntegerRangeProperty extends RangePropertyBase {} diff --git a/specification/specs/mapping/types/core/range/ip_range/IpRangeProperty.ts b/specification/specs/mapping/types/core/range/ip_range/IpRangeProperty.ts index 25d250b788..5ebf7f564d 100644 --- a/specification/specs/mapping/types/core/range/ip_range/IpRangeProperty.ts +++ b/specification/specs/mapping/types/core/range/ip_range/IpRangeProperty.ts @@ -1,2 +1 @@ -class IpRangeProperty extends RangePropertyBase { -} +class IpRangeProperty extends RangePropertyBase {} diff --git a/specification/specs/mapping/types/core/range/long_range/LongRangeProperty.ts b/specification/specs/mapping/types/core/range/long_range/LongRangeProperty.ts index 5b1ffa0a4a..18a231d9c7 100644 --- a/specification/specs/mapping/types/core/range/long_range/LongRangeProperty.ts +++ b/specification/specs/mapping/types/core/range/long_range/LongRangeProperty.ts @@ -1,2 +1 @@ -class LongRangeProperty extends RangePropertyBase { -} +class LongRangeProperty extends RangePropertyBase {} diff --git a/specification/specs/mapping/types/core/rank_feature/RankFeatureProperty.ts b/specification/specs/mapping/types/core/rank_feature/RankFeatureProperty.ts index 1555a5a8ea..c57f8ed6d7 100644 --- a/specification/specs/mapping/types/core/rank_feature/RankFeatureProperty.ts +++ b/specification/specs/mapping/types/core/rank_feature/RankFeatureProperty.ts @@ -1,3 +1,3 @@ class RankFeatureProperty extends PropertyBase { - positive_score_impact: boolean; + positive_score_impact: boolean } diff --git a/specification/specs/mapping/types/core/rank_features/RankFeaturesProperty.ts b/specification/specs/mapping/types/core/rank_features/RankFeaturesProperty.ts index 97e10afd4f..c674b9160c 100644 --- a/specification/specs/mapping/types/core/rank_features/RankFeaturesProperty.ts +++ b/specification/specs/mapping/types/core/rank_features/RankFeaturesProperty.ts @@ -1,2 +1 @@ -class RankFeaturesProperty extends PropertyBase { -} +class RankFeaturesProperty extends PropertyBase {} diff --git a/specification/specs/mapping/types/core/search_as_you_type/SearchAsYouTypeProperty.ts b/specification/specs/mapping/types/core/search_as_you_type/SearchAsYouTypeProperty.ts index a10e26c86b..ab16f9ac8f 100644 --- a/specification/specs/mapping/types/core/search_as_you_type/SearchAsYouTypeProperty.ts +++ b/specification/specs/mapping/types/core/search_as_you_type/SearchAsYouTypeProperty.ts @@ -1,10 +1,10 @@ class SearchAsYouTypeProperty extends CorePropertyBase { - analyzer: string; - index: boolean; - index_options: IndexOptions; - max_shingle_size: integer; - norms: boolean; - search_analyzer: string; - search_quote_analyzer: string; - term_vector: TermVectorOption; + analyzer: string + index: boolean + index_options: IndexOptions + max_shingle_size: integer + norms: boolean + search_analyzer: string + search_quote_analyzer: string + term_vector: TermVectorOption } diff --git a/specification/specs/mapping/types/core/text/TextIndexPrefixes.ts b/specification/specs/mapping/types/core/text/TextIndexPrefixes.ts index 3c48fba698..5858331764 100644 --- a/specification/specs/mapping/types/core/text/TextIndexPrefixes.ts +++ b/specification/specs/mapping/types/core/text/TextIndexPrefixes.ts @@ -1,4 +1,4 @@ class TextIndexPrefixes { - max_chars: integer; - min_chars: integer; + max_chars: integer + min_chars: integer } diff --git a/specification/specs/mapping/types/core/text/TextProperty.ts b/specification/specs/mapping/types/core/text/TextProperty.ts index 968b6552b1..201792ea83 100644 --- a/specification/specs/mapping/types/core/text/TextProperty.ts +++ b/specification/specs/mapping/types/core/text/TextProperty.ts @@ -1,16 +1,16 @@ class TextProperty extends CorePropertyBase { - analyzer: string; - boost: double; - eager_global_ordinals: boolean; - fielddata: boolean; - fielddata_frequency_filter: FielddataFrequencyFilter; - index: boolean; - index_options: IndexOptions; - index_phrases: boolean; - index_prefixes: TextIndexPrefixes; - norms: boolean; - position_increment_gap: integer; - search_analyzer: string; - search_quote_analyzer: string; - term_vector: TermVectorOption; + analyzer: string + boost: double + eager_global_ordinals: boolean + fielddata: boolean + fielddata_frequency_filter: FielddataFrequencyFilter + index: boolean + index_options: IndexOptions + index_phrases: boolean + index_prefixes: TextIndexPrefixes + norms: boolean + position_increment_gap: integer + search_analyzer: string + search_quote_analyzer: string + term_vector: TermVectorOption } diff --git a/specification/specs/mapping/types/geo/geo_point/GeoPointProperty.ts b/specification/specs/mapping/types/geo/geo_point/GeoPointProperty.ts index e5d9826a2c..b52a0765ca 100644 --- a/specification/specs/mapping/types/geo/geo_point/GeoPointProperty.ts +++ b/specification/specs/mapping/types/geo/geo_point/GeoPointProperty.ts @@ -1,5 +1,5 @@ class GeoPointProperty extends DocValuesPropertyBase { - ignore_malformed: boolean; - ignore_z_value: boolean; - null_value: GeoLocation; + ignore_malformed: boolean + ignore_z_value: boolean + null_value: GeoLocation } diff --git a/specification/specs/mapping/types/geo/geo_shape/GeoShapeProperty.ts b/specification/specs/mapping/types/geo/geo_shape/GeoShapeProperty.ts index 2b1d467a73..aec2fb5839 100644 --- a/specification/specs/mapping/types/geo/geo_shape/GeoShapeProperty.ts +++ b/specification/specs/mapping/types/geo/geo_shape/GeoShapeProperty.ts @@ -1,7 +1,7 @@ class GeoShapeProperty extends DocValuesPropertyBase { - coerce: boolean; - ignore_malformed: boolean; - ignore_z_value: boolean; - orientation: GeoOrientation; - strategy: GeoStrategy; + coerce: boolean + ignore_malformed: boolean + ignore_z_value: boolean + orientation: GeoOrientation + strategy: GeoStrategy } diff --git a/specification/specs/mapping/types/specialized/completion/CompletionProperty.ts b/specification/specs/mapping/types/specialized/completion/CompletionProperty.ts index 13012346c4..ee4aadc650 100644 --- a/specification/specs/mapping/types/specialized/completion/CompletionProperty.ts +++ b/specification/specs/mapping/types/specialized/completion/CompletionProperty.ts @@ -1,8 +1,8 @@ class CompletionProperty extends DocValuesPropertyBase { - analyzer: string; - contexts: SuggestContext[]; - max_input_length: integer; - preserve_position_increments: boolean; - preserve_separators: boolean; - search_analyzer: string; + analyzer: string + contexts: SuggestContext[] + max_input_length: integer + preserve_position_increments: boolean + preserve_separators: boolean + search_analyzer: string } diff --git a/specification/specs/mapping/types/specialized/completion/SuggestContext.ts b/specification/specs/mapping/types/specialized/completion/SuggestContext.ts index 65dc3b3c9f..1cf2e2bc32 100644 --- a/specification/specs/mapping/types/specialized/completion/SuggestContext.ts +++ b/specification/specs/mapping/types/specialized/completion/SuggestContext.ts @@ -1,6 +1,6 @@ -@class_serializer("SuggestContextFormatter") +@class_serializer('SuggestContextFormatter') class SuggestContext { - name: string; - path: Field; - type: string; + name: string + path: Field + type: string } diff --git a/specification/specs/mapping/types/specialized/constant_keyword/ConstantKeywordProperty.ts b/specification/specs/mapping/types/specialized/constant_keyword/ConstantKeywordProperty.ts index 71c4f454cd..6788a4eaa2 100644 --- a/specification/specs/mapping/types/specialized/constant_keyword/ConstantKeywordProperty.ts +++ b/specification/specs/mapping/types/specialized/constant_keyword/ConstantKeywordProperty.ts @@ -1,3 +1,3 @@ class ConstantKeywordProperty extends PropertyBase { - value: any; + value: any } diff --git a/specification/specs/mapping/types/specialized/field_alias/FieldAliasProperty.ts b/specification/specs/mapping/types/specialized/field_alias/FieldAliasProperty.ts index 985dd5e5ff..48418ed948 100644 --- a/specification/specs/mapping/types/specialized/field_alias/FieldAliasProperty.ts +++ b/specification/specs/mapping/types/specialized/field_alias/FieldAliasProperty.ts @@ -1,3 +1,3 @@ class FieldAliasProperty extends PropertyBase { - path: Field; + path: Field } diff --git a/specification/specs/mapping/types/specialized/generic/GenericProperty.ts b/specification/specs/mapping/types/specialized/generic/GenericProperty.ts index 2b44ae7cf6..313a8003cd 100644 --- a/specification/specs/mapping/types/specialized/generic/GenericProperty.ts +++ b/specification/specs/mapping/types/specialized/generic/GenericProperty.ts @@ -1,14 +1,14 @@ class GenericProperty extends DocValuesPropertyBase { - analyzer: string; - boost: double; - fielddata: StringFielddata; - ignore_above: integer; - index: boolean; - index_options: IndexOptions; - norms: boolean; - null_value: string; - position_increment_gap: integer; - search_analyzer: string; - term_vector: TermVectorOption; - type: string; + analyzer: string + boost: double + fielddata: StringFielddata + ignore_above: integer + index: boolean + index_options: IndexOptions + norms: boolean + null_value: string + position_increment_gap: integer + search_analyzer: string + term_vector: TermVectorOption + type: string } diff --git a/specification/specs/mapping/types/specialized/histogram/HistogramProperty.ts b/specification/specs/mapping/types/specialized/histogram/HistogramProperty.ts index ab3b692cf0..ae670b90e1 100644 --- a/specification/specs/mapping/types/specialized/histogram/HistogramProperty.ts +++ b/specification/specs/mapping/types/specialized/histogram/HistogramProperty.ts @@ -1,3 +1,3 @@ class HistogramProperty extends PropertyBase { - ignore_malformed: boolean; + ignore_malformed: boolean } diff --git a/specification/specs/mapping/types/specialized/ip/IpProperty.ts b/specification/specs/mapping/types/specialized/ip/IpProperty.ts index a6d775b212..d80d68849c 100644 --- a/specification/specs/mapping/types/specialized/ip/IpProperty.ts +++ b/specification/specs/mapping/types/specialized/ip/IpProperty.ts @@ -1,5 +1,5 @@ class IpProperty extends DocValuesPropertyBase { - boost: double; - index: boolean; - null_value: string; + boost: double + index: boolean + null_value: string } diff --git a/specification/specs/mapping/types/specialized/murmur3_hash/Murmur3HashProperty.ts b/specification/specs/mapping/types/specialized/murmur3_hash/Murmur3HashProperty.ts index c23cb523e1..89bd7734ab 100644 --- a/specification/specs/mapping/types/specialized/murmur3_hash/Murmur3HashProperty.ts +++ b/specification/specs/mapping/types/specialized/murmur3_hash/Murmur3HashProperty.ts @@ -1,2 +1 @@ -class Murmur3HashProperty extends DocValuesPropertyBase { -} +class Murmur3HashProperty extends DocValuesPropertyBase {} diff --git a/specification/specs/mapping/types/specialized/shape/ShapeProperty.ts b/specification/specs/mapping/types/specialized/shape/ShapeProperty.ts index 962cab6a8d..01fcb25b96 100644 --- a/specification/specs/mapping/types/specialized/shape/ShapeProperty.ts +++ b/specification/specs/mapping/types/specialized/shape/ShapeProperty.ts @@ -1,6 +1,6 @@ class ShapeProperty extends DocValuesPropertyBase { - coerce: boolean; - ignore_malformed: boolean; - ignore_z_value: boolean; - orientation: ShapeOrientation; + coerce: boolean + ignore_malformed: boolean + ignore_z_value: boolean + orientation: ShapeOrientation } diff --git a/specification/specs/mapping/types/specialized/token_count/TokenCountProperty.ts b/specification/specs/mapping/types/specialized/token_count/TokenCountProperty.ts index 90a8f7d8bc..d3538cdbc3 100644 --- a/specification/specs/mapping/types/specialized/token_count/TokenCountProperty.ts +++ b/specification/specs/mapping/types/specialized/token_count/TokenCountProperty.ts @@ -1,6 +1,6 @@ class TokenCountProperty extends DocValuesPropertyBase { - analyzer: string; - boost: double; - index: boolean; - null_value: double; + analyzer: string + boost: double + index: boolean + null_value: double } diff --git a/specification/specs/modules/indices/IndicesModuleSettings.ts b/specification/specs/modules/indices/IndicesModuleSettings.ts index c6933b5f10..f20bafc7d8 100644 --- a/specification/specs/modules/indices/IndicesModuleSettings.ts +++ b/specification/specs/modules/indices/IndicesModuleSettings.ts @@ -1,6 +1,6 @@ class IndicesModuleSettings { - circuit_breaker_settings: CircuitBreakerSettings; - fielddata_settings: FielddataSettings; - qeueries_cache_size: string; - recovery_settings: IndicesRecoverySettings; + circuit_breaker_settings: CircuitBreakerSettings + fielddata_settings: FielddataSettings + qeueries_cache_size: string + recovery_settings: IndicesRecoverySettings } diff --git a/specification/specs/modules/indices/circuit_breaker/CircuitBreakerSettings.ts b/specification/specs/modules/indices/circuit_breaker/CircuitBreakerSettings.ts index cc19802dbf..bf40bb969e 100644 --- a/specification/specs/modules/indices/circuit_breaker/CircuitBreakerSettings.ts +++ b/specification/specs/modules/indices/circuit_breaker/CircuitBreakerSettings.ts @@ -1,7 +1,7 @@ class CircuitBreakerSettings { - fielddata_limit: string; - fielddata_overhead: float; - request_limit: string; - request_overhead: float; - total_limit: string; + fielddata_limit: string + fielddata_overhead: float + request_limit: string + request_overhead: float + total_limit: string } diff --git a/specification/specs/modules/indices/fielddata/Fielddata.ts b/specification/specs/modules/indices/fielddata/Fielddata.ts index d3d2c6a750..ad807014a6 100644 --- a/specification/specs/modules/indices/fielddata/Fielddata.ts +++ b/specification/specs/modules/indices/fielddata/Fielddata.ts @@ -1,4 +1,4 @@ class Fielddata { - filter: FielddataFilter; - loading: FielddataLoading; + filter: FielddataFilter + loading: FielddataLoading } diff --git a/specification/specs/modules/indices/fielddata/FielddataFilter.ts b/specification/specs/modules/indices/fielddata/FielddataFilter.ts index 9a1a6a74ef..bda7219c95 100644 --- a/specification/specs/modules/indices/fielddata/FielddataFilter.ts +++ b/specification/specs/modules/indices/fielddata/FielddataFilter.ts @@ -1,4 +1,4 @@ class FielddataFilter { - frequency: FielddataFrequencyFilter; - regex: FielddataRegexFilter; + frequency: FielddataFrequencyFilter + regex: FielddataRegexFilter } diff --git a/specification/specs/modules/indices/fielddata/FielddataFrequencyFilter.ts b/specification/specs/modules/indices/fielddata/FielddataFrequencyFilter.ts index f166141c2a..ed7e29cb3e 100644 --- a/specification/specs/modules/indices/fielddata/FielddataFrequencyFilter.ts +++ b/specification/specs/modules/indices/fielddata/FielddataFrequencyFilter.ts @@ -1,5 +1,5 @@ class FielddataFrequencyFilter { - max: double; - min: double; - min_segment_size: integer; + max: double + min: double + min_segment_size: integer } diff --git a/specification/specs/modules/indices/fielddata/FielddataRegexFilter.ts b/specification/specs/modules/indices/fielddata/FielddataRegexFilter.ts index bf81954e5f..4f18038cee 100644 --- a/specification/specs/modules/indices/fielddata/FielddataRegexFilter.ts +++ b/specification/specs/modules/indices/fielddata/FielddataRegexFilter.ts @@ -1,3 +1,3 @@ class FielddataRegexFilter { - pattern: string; + pattern: string } diff --git a/specification/specs/modules/indices/fielddata/FielddataSettings.ts b/specification/specs/modules/indices/fielddata/FielddataSettings.ts index 78f29a82a3..74938b0930 100644 --- a/specification/specs/modules/indices/fielddata/FielddataSettings.ts +++ b/specification/specs/modules/indices/fielddata/FielddataSettings.ts @@ -1,4 +1,4 @@ class FielddataSettings { - cache_expire: Time; - cache_size: string; + cache_expire: Time + cache_size: string } diff --git a/specification/specs/modules/indices/fielddata/numeric/NumericFielddata.ts b/specification/specs/modules/indices/fielddata/numeric/NumericFielddata.ts index 966060cf9d..42b30f3c17 100644 --- a/specification/specs/modules/indices/fielddata/numeric/NumericFielddata.ts +++ b/specification/specs/modules/indices/fielddata/numeric/NumericFielddata.ts @@ -1,3 +1,3 @@ class NumericFielddata { - format: NumericFielddataFormat; + format: NumericFielddataFormat } diff --git a/specification/specs/modules/indices/fielddata/string/StringFielddata.ts b/specification/specs/modules/indices/fielddata/string/StringFielddata.ts index 1d0fdd2ab4..49bef0d270 100644 --- a/specification/specs/modules/indices/fielddata/string/StringFielddata.ts +++ b/specification/specs/modules/indices/fielddata/string/StringFielddata.ts @@ -1,3 +1,3 @@ class StringFielddata { - format: StringFielddataFormat; + format: StringFielddataFormat } diff --git a/specification/specs/modules/indices/recovery/IndicesRecoverySettings.ts b/specification/specs/modules/indices/recovery/IndicesRecoverySettings.ts index 192cbd2d8e..0be65ea271 100644 --- a/specification/specs/modules/indices/recovery/IndicesRecoverySettings.ts +++ b/specification/specs/modules/indices/recovery/IndicesRecoverySettings.ts @@ -1,9 +1,9 @@ class IndicesRecoverySettings { - compress: boolean; - concurrent_small_file_streams: integer; - concurrent_streams: integer; - file_chunk_size: string; - max_bytes_per_second: string; - translog_operations: integer; - translog_size: string; + compress: boolean + concurrent_small_file_streams: integer + concurrent_streams: integer + file_chunk_size: string + max_bytes_per_second: string + translog_operations: integer + translog_size: string } diff --git a/specification/specs/modules/scripting/StoredScript.ts b/specification/specs/modules/scripting/StoredScript.ts index 95edbf988f..afd834c4f3 100644 --- a/specification/specs/modules/scripting/StoredScript.ts +++ b/specification/specs/modules/scripting/StoredScript.ts @@ -1,4 +1,4 @@ class StoredScript { - lang: string; - source: string; + lang: string + source: string } diff --git a/specification/specs/modules/scripting/delete_script/DeleteScriptRequest.ts b/specification/specs/modules/scripting/delete_script/DeleteScriptRequest.ts index 74bd3ed597..a4b4902871 100644 --- a/specification/specs/modules/scripting/delete_script/DeleteScriptRequest.ts +++ b/specification/specs/modules/scripting/delete_script/DeleteScriptRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("delete_script") +@rest_spec_name('delete_script') class DeleteScriptRequest extends RequestBase { path_parts?: { - id: Id; + id: Id } query_parameters?: { - master_timeout?: Time; - timeout?: Time; - } - body?: { + master_timeout?: Time + timeout?: Time } + body?: {} } diff --git a/specification/specs/modules/scripting/delete_script/DeleteScriptResponse.ts b/specification/specs/modules/scripting/delete_script/DeleteScriptResponse.ts index 4b969ee96e..2289d00e4a 100644 --- a/specification/specs/modules/scripting/delete_script/DeleteScriptResponse.ts +++ b/specification/specs/modules/scripting/delete_script/DeleteScriptResponse.ts @@ -1,2 +1 @@ -class DeleteScriptResponse extends AcknowledgedResponseBase { -} +class DeleteScriptResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/modules/scripting/execute_painless_script/ExecutePainlessScriptRequest.ts b/specification/specs/modules/scripting/execute_painless_script/ExecutePainlessScriptRequest.ts index 8b12f5d390..1afcbb0575 100644 --- a/specification/specs/modules/scripting/execute_painless_script/ExecutePainlessScriptRequest.ts +++ b/specification/specs/modules/scripting/execute_painless_script/ExecutePainlessScriptRequest.ts @@ -1,10 +1,9 @@ -@rest_spec_name("scripts_painless_execute") +@rest_spec_name('scripts_painless_execute') class ExecutePainlessScriptRequest extends RequestBase { - query_parameters?: { - } + query_parameters?: {} body?: { - context?: string; - context_setup?: PainlessContextSetup; - script?: InlineScript; + context?: string + context_setup?: PainlessContextSetup + script?: InlineScript } } diff --git a/specification/specs/modules/scripting/execute_painless_script/ExecutePainlessScriptResponse.ts b/specification/specs/modules/scripting/execute_painless_script/ExecutePainlessScriptResponse.ts index 7480e86cf9..cc4c5ec2d5 100644 --- a/specification/specs/modules/scripting/execute_painless_script/ExecutePainlessScriptResponse.ts +++ b/specification/specs/modules/scripting/execute_painless_script/ExecutePainlessScriptResponse.ts @@ -1,3 +1,3 @@ class ExecutePainlessScriptResponse extends ResponseBase { - result: TResult; + result: TResult } diff --git a/specification/specs/modules/scripting/execute_painless_script/PainlessContextSetup.ts b/specification/specs/modules/scripting/execute_painless_script/PainlessContextSetup.ts index 7cc61ee28b..2f62586e63 100644 --- a/specification/specs/modules/scripting/execute_painless_script/PainlessContextSetup.ts +++ b/specification/specs/modules/scripting/execute_painless_script/PainlessContextSetup.ts @@ -1,5 +1,5 @@ class PainlessContextSetup { - document: UserDefinedValue; - index: IndexName; - query: QueryContainer; + document: UserDefinedValue + index: IndexName + query: QueryContainer } diff --git a/specification/specs/modules/scripting/get_script/GetScriptRequest.ts b/specification/specs/modules/scripting/get_script/GetScriptRequest.ts index fa6436bddf..c8775fa8c1 100644 --- a/specification/specs/modules/scripting/get_script/GetScriptRequest.ts +++ b/specification/specs/modules/scripting/get_script/GetScriptRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("get_script") +@rest_spec_name('get_script') class GetScriptRequest extends RequestBase { path_parts?: { - id: Id; + id: Id } query_parameters?: { - master_timeout?: Time; - } - body?: { + master_timeout?: Time } + body?: {} } diff --git a/specification/specs/modules/scripting/get_script/GetScriptResponse.ts b/specification/specs/modules/scripting/get_script/GetScriptResponse.ts index 9e7501b47c..4c06aebfd9 100644 --- a/specification/specs/modules/scripting/get_script/GetScriptResponse.ts +++ b/specification/specs/modules/scripting/get_script/GetScriptResponse.ts @@ -1,3 +1,3 @@ class GetScriptResponse extends ResponseBase { - script: StoredScript; + script: StoredScript } diff --git a/specification/specs/modules/scripting/put_script/PutScriptRequest.ts b/specification/specs/modules/scripting/put_script/PutScriptRequest.ts index 71f2ed4248..679a686372 100644 --- a/specification/specs/modules/scripting/put_script/PutScriptRequest.ts +++ b/specification/specs/modules/scripting/put_script/PutScriptRequest.ts @@ -1,14 +1,14 @@ -@rest_spec_name("put_script") +@rest_spec_name('put_script') class PutScriptRequest extends RequestBase { path_parts?: { - id: Id; - context?: Name; + id: Id + context?: Name } query_parameters?: { - master_timeout?: Time; - timeout?: Time; + master_timeout?: Time + timeout?: Time } body?: { - script?: StoredScript; + script?: StoredScript } } diff --git a/specification/specs/modules/scripting/put_script/PutScriptResponse.ts b/specification/specs/modules/scripting/put_script/PutScriptResponse.ts index b86ddd931a..92d872c280 100644 --- a/specification/specs/modules/scripting/put_script/PutScriptResponse.ts +++ b/specification/specs/modules/scripting/put_script/PutScriptResponse.ts @@ -1,2 +1 @@ -class PutScriptResponse extends AcknowledgedResponseBase { -} +class PutScriptResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/modules/snapshot_and_restore/repositories/SnapshotRepository.ts b/specification/specs/modules/snapshot_and_restore/repositories/SnapshotRepository.ts index d089f4688c..ccffad3ef7 100644 --- a/specification/specs/modules/snapshot_and_restore/repositories/SnapshotRepository.ts +++ b/specification/specs/modules/snapshot_and_restore/repositories/SnapshotRepository.ts @@ -1,3 +1,3 @@ class SnapshotRepository { - type: string; + type: string } diff --git a/specification/specs/modules/snapshot_and_restore/repositories/cleanup_repository/CleanupRepositoryRequest.ts b/specification/specs/modules/snapshot_and_restore/repositories/cleanup_repository/CleanupRepositoryRequest.ts index 357bd22553..486d6154e4 100644 --- a/specification/specs/modules/snapshot_and_restore/repositories/cleanup_repository/CleanupRepositoryRequest.ts +++ b/specification/specs/modules/snapshot_and_restore/repositories/cleanup_repository/CleanupRepositoryRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("snapshot.cleanup_repository") +@rest_spec_name('snapshot.cleanup_repository') class CleanupRepositoryRequest extends RequestBase { path_parts?: { - repository: Name; + repository: Name } query_parameters?: { - master_timeout?: Time; - timeout?: Time; - } - body?: { + master_timeout?: Time + timeout?: Time } + body?: {} } diff --git a/specification/specs/modules/snapshot_and_restore/repositories/cleanup_repository/CleanupRepositoryResponse.ts b/specification/specs/modules/snapshot_and_restore/repositories/cleanup_repository/CleanupRepositoryResponse.ts index d91009cb34..1d6ee89359 100644 --- a/specification/specs/modules/snapshot_and_restore/repositories/cleanup_repository/CleanupRepositoryResponse.ts +++ b/specification/specs/modules/snapshot_and_restore/repositories/cleanup_repository/CleanupRepositoryResponse.ts @@ -1,3 +1,3 @@ class CleanupRepositoryResponse extends ResponseBase { - results: CleanupRepositoryResults; + results: CleanupRepositoryResults } diff --git a/specification/specs/modules/snapshot_and_restore/repositories/cleanup_repository/CleanupRepositoryResults.ts b/specification/specs/modules/snapshot_and_restore/repositories/cleanup_repository/CleanupRepositoryResults.ts index fa603b57b4..39a6bdb308 100644 --- a/specification/specs/modules/snapshot_and_restore/repositories/cleanup_repository/CleanupRepositoryResults.ts +++ b/specification/specs/modules/snapshot_and_restore/repositories/cleanup_repository/CleanupRepositoryResults.ts @@ -1,4 +1,4 @@ class CleanupRepositoryResults { - deleted_blobs: long; - deleted_bytes: long; + deleted_blobs: long + deleted_bytes: long } diff --git a/specification/specs/modules/snapshot_and_restore/repositories/create_repository/CreateRepositoryRequest.ts b/specification/specs/modules/snapshot_and_restore/repositories/create_repository/CreateRepositoryRequest.ts index a7e43bab41..0d5164cf40 100644 --- a/specification/specs/modules/snapshot_and_restore/repositories/create_repository/CreateRepositoryRequest.ts +++ b/specification/specs/modules/snapshot_and_restore/repositories/create_repository/CreateRepositoryRequest.ts @@ -1,15 +1,15 @@ -@rest_spec_name("snapshot.create_repository") -@class_serializer("CreateRepositoryFormatter") +@rest_spec_name('snapshot.create_repository') +@class_serializer('CreateRepositoryFormatter') class CreateRepositoryRequest extends RequestBase { path_parts?: { - repository: Name; + repository: Name } query_parameters?: { - master_timeout?: Time; - timeout?: Time; - verify?: boolean; + master_timeout?: Time + timeout?: Time + verify?: boolean } body?: { - repository?: SnapshotRepository; + repository?: SnapshotRepository } } diff --git a/specification/specs/modules/snapshot_and_restore/repositories/create_repository/CreateRepositoryResponse.ts b/specification/specs/modules/snapshot_and_restore/repositories/create_repository/CreateRepositoryResponse.ts index 6dae223f39..57c6f725c9 100644 --- a/specification/specs/modules/snapshot_and_restore/repositories/create_repository/CreateRepositoryResponse.ts +++ b/specification/specs/modules/snapshot_and_restore/repositories/create_repository/CreateRepositoryResponse.ts @@ -1,2 +1 @@ -class CreateRepositoryResponse extends AcknowledgedResponseBase { -} +class CreateRepositoryResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/modules/snapshot_and_restore/repositories/delete_repository/DeleteRepositoryRequest.ts b/specification/specs/modules/snapshot_and_restore/repositories/delete_repository/DeleteRepositoryRequest.ts index 91cef743f6..f7cbe586cb 100644 --- a/specification/specs/modules/snapshot_and_restore/repositories/delete_repository/DeleteRepositoryRequest.ts +++ b/specification/specs/modules/snapshot_and_restore/repositories/delete_repository/DeleteRepositoryRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("snapshot.delete_repository") +@rest_spec_name('snapshot.delete_repository') class DeleteRepositoryRequest extends RequestBase { path_parts?: { - repository: Names; + repository: Names } query_parameters?: { - master_timeout?: Time; - timeout?: Time; - } - body?: { + master_timeout?: Time + timeout?: Time } + body?: {} } diff --git a/specification/specs/modules/snapshot_and_restore/repositories/delete_repository/DeleteRepositoryResponse.ts b/specification/specs/modules/snapshot_and_restore/repositories/delete_repository/DeleteRepositoryResponse.ts index ad7e44f8c2..e4ab4938ca 100644 --- a/specification/specs/modules/snapshot_and_restore/repositories/delete_repository/DeleteRepositoryResponse.ts +++ b/specification/specs/modules/snapshot_and_restore/repositories/delete_repository/DeleteRepositoryResponse.ts @@ -1,2 +1 @@ -class DeleteRepositoryResponse extends AcknowledgedResponseBase { -} +class DeleteRepositoryResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/modules/snapshot_and_restore/repositories/get_repository/GetRepositoryRequest.ts b/specification/specs/modules/snapshot_and_restore/repositories/get_repository/GetRepositoryRequest.ts index 7c12e42f63..7a6a25d533 100644 --- a/specification/specs/modules/snapshot_and_restore/repositories/get_repository/GetRepositoryRequest.ts +++ b/specification/specs/modules/snapshot_and_restore/repositories/get_repository/GetRepositoryRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("snapshot.get_repository") +@rest_spec_name('snapshot.get_repository') class GetRepositoryRequest extends RequestBase { path_parts?: { - repository?: Names; + repository?: Names } query_parameters?: { - local?: boolean; - master_timeout?: Time; - } - body?: { + local?: boolean + master_timeout?: Time } + body?: {} } diff --git a/specification/specs/modules/snapshot_and_restore/repositories/get_repository/GetRepositoryResponse.ts b/specification/specs/modules/snapshot_and_restore/repositories/get_repository/GetRepositoryResponse.ts index 7eadc97c14..f7129c0647 100644 --- a/specification/specs/modules/snapshot_and_restore/repositories/get_repository/GetRepositoryResponse.ts +++ b/specification/specs/modules/snapshot_and_restore/repositories/get_repository/GetRepositoryResponse.ts @@ -1,4 +1,4 @@ -@class_serializer("GetRepositoryResponseFormatter") +@class_serializer('GetRepositoryResponseFormatter') class GetRepositoryResponse extends ResponseBase { - repositories: Dictionary; + repositories: Dictionary } diff --git a/specification/specs/modules/snapshot_and_restore/repositories/verify_repository/CompactNodeInfo.ts b/specification/specs/modules/snapshot_and_restore/repositories/verify_repository/CompactNodeInfo.ts index a25302a272..0e9091601e 100644 --- a/specification/specs/modules/snapshot_and_restore/repositories/verify_repository/CompactNodeInfo.ts +++ b/specification/specs/modules/snapshot_and_restore/repositories/verify_repository/CompactNodeInfo.ts @@ -1,3 +1,3 @@ class CompactNodeInfo { - name: string; + name: string } diff --git a/specification/specs/modules/snapshot_and_restore/repositories/verify_repository/VerifyRepositoryRequest.ts b/specification/specs/modules/snapshot_and_restore/repositories/verify_repository/VerifyRepositoryRequest.ts index 9dd1f3d4c3..67cf97fbcc 100644 --- a/specification/specs/modules/snapshot_and_restore/repositories/verify_repository/VerifyRepositoryRequest.ts +++ b/specification/specs/modules/snapshot_and_restore/repositories/verify_repository/VerifyRepositoryRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("snapshot.verify_repository") +@rest_spec_name('snapshot.verify_repository') class VerifyRepositoryRequest extends RequestBase { path_parts?: { - repository: Name; + repository: Name } query_parameters?: { - master_timeout?: Time; - timeout?: Time; - } - body?: { + master_timeout?: Time + timeout?: Time } + body?: {} } diff --git a/specification/specs/modules/snapshot_and_restore/repositories/verify_repository/VerifyRepositoryResponse.ts b/specification/specs/modules/snapshot_and_restore/repositories/verify_repository/VerifyRepositoryResponse.ts index 1788710536..e276c07118 100644 --- a/specification/specs/modules/snapshot_and_restore/repositories/verify_repository/VerifyRepositoryResponse.ts +++ b/specification/specs/modules/snapshot_and_restore/repositories/verify_repository/VerifyRepositoryResponse.ts @@ -1,4 +1,4 @@ class VerifyRepositoryResponse extends ResponseBase { /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - nodes: Dictionary; + nodes: Dictionary } diff --git a/specification/specs/modules/snapshot_and_restore/restore/RestoreRequest.ts b/specification/specs/modules/snapshot_and_restore/restore/RestoreRequest.ts index 2dcb2ce4eb..e424ccd216 100644 --- a/specification/specs/modules/snapshot_and_restore/restore/RestoreRequest.ts +++ b/specification/specs/modules/snapshot_and_restore/restore/RestoreRequest.ts @@ -1,22 +1,22 @@ -@rest_spec_name("snapshot.restore") +@rest_spec_name('snapshot.restore') class RestoreRequest extends RequestBase { path_parts?: { - repository: Name; - snapshot: Name; + repository: Name + snapshot: Name } query_parameters?: { - master_timeout?: Time; - wait_for_completion?: boolean; + master_timeout?: Time + wait_for_completion?: boolean } body?: { - ignore_index_settings?: string[]; - ignore_unavailable?: boolean; - include_aliases?: boolean; - include_global_state?: boolean; - index_settings?: UpdateIndexSettingsRequest; - indices?: Indices; - partial?: boolean; - rename_pattern?: string; - rename_replacement?: string; + ignore_index_settings?: string[] + ignore_unavailable?: boolean + include_aliases?: boolean + include_global_state?: boolean + index_settings?: UpdateIndexSettingsRequest + indices?: Indices + partial?: boolean + rename_pattern?: string + rename_replacement?: string } } diff --git a/specification/specs/modules/snapshot_and_restore/restore/RestoreResponse.ts b/specification/specs/modules/snapshot_and_restore/restore/RestoreResponse.ts index 7b30ec9445..16e863d9c7 100644 --- a/specification/specs/modules/snapshot_and_restore/restore/RestoreResponse.ts +++ b/specification/specs/modules/snapshot_and_restore/restore/RestoreResponse.ts @@ -1,3 +1,3 @@ class RestoreResponse extends ResponseBase { - snapshot: SnapshotRestore; + snapshot: SnapshotRestore } diff --git a/specification/specs/modules/snapshot_and_restore/restore/SnapshotRestore.ts b/specification/specs/modules/snapshot_and_restore/restore/SnapshotRestore.ts index 9467bdb73c..3d89da1553 100644 --- a/specification/specs/modules/snapshot_and_restore/restore/SnapshotRestore.ts +++ b/specification/specs/modules/snapshot_and_restore/restore/SnapshotRestore.ts @@ -1,5 +1,5 @@ class SnapshotRestore { - indices: IndexName[]; - snapshot: string; - shards: ShardStatistics; + indices: IndexName[] + snapshot: string + shards: ShardStatistics } diff --git a/specification/specs/modules/snapshot_and_restore/snapshot/SnapshotInfo.ts b/specification/specs/modules/snapshot_and_restore/snapshot/SnapshotInfo.ts index 3001e6ceae..432cda41bd 100644 --- a/specification/specs/modules/snapshot_and_restore/snapshot/SnapshotInfo.ts +++ b/specification/specs/modules/snapshot_and_restore/snapshot/SnapshotInfo.ts @@ -1,13 +1,13 @@ class SnapshotInfo { - duration_in_millis: long; - end_time: Date; - end_time_in_millis: long; - failures: SnapshotShardFailure[]; - indices: IndexName[]; - metadata: Dictionary; - snapshot: string; - shards: ShardStatistics; - start_time: Date; - start_time_in_millis: long; - state: string; + duration_in_millis: long + end_time: Date + end_time_in_millis: long + failures: SnapshotShardFailure[] + indices: IndexName[] + metadata: Dictionary + snapshot: string + shards: ShardStatistics + start_time: Date + start_time_in_millis: long + state: string } diff --git a/specification/specs/modules/snapshot_and_restore/snapshot/SnapshotShardFailure.ts b/specification/specs/modules/snapshot_and_restore/snapshot/SnapshotShardFailure.ts index c5f6c0694d..63019e88d6 100644 --- a/specification/specs/modules/snapshot_and_restore/snapshot/SnapshotShardFailure.ts +++ b/specification/specs/modules/snapshot_and_restore/snapshot/SnapshotShardFailure.ts @@ -1,8 +1,8 @@ class SnapshotShardFailure { - index: string; - node_id: string; - reason: string; + index: string + node_id: string + reason: string /** @prop_serializer IntStringFormatter */ - shard_id: string; - status: string; + shard_id: string + status: string } diff --git a/specification/specs/modules/snapshot_and_restore/snapshot/delete_snapshot/DeleteSnapshotRequest.ts b/specification/specs/modules/snapshot_and_restore/snapshot/delete_snapshot/DeleteSnapshotRequest.ts index ab51a9b74a..bda40e62a2 100644 --- a/specification/specs/modules/snapshot_and_restore/snapshot/delete_snapshot/DeleteSnapshotRequest.ts +++ b/specification/specs/modules/snapshot_and_restore/snapshot/delete_snapshot/DeleteSnapshotRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("snapshot.delete") +@rest_spec_name('snapshot.delete') class DeleteSnapshotRequest extends RequestBase { path_parts?: { - repository: Name; - snapshot: Name; + repository: Name + snapshot: Name } query_parameters?: { - master_timeout?: Time; - } - body?: { + master_timeout?: Time } + body?: {} } diff --git a/specification/specs/modules/snapshot_and_restore/snapshot/delete_snapshot/DeleteSnapshotResponse.ts b/specification/specs/modules/snapshot_and_restore/snapshot/delete_snapshot/DeleteSnapshotResponse.ts index 0510ea7480..b5b5688957 100644 --- a/specification/specs/modules/snapshot_and_restore/snapshot/delete_snapshot/DeleteSnapshotResponse.ts +++ b/specification/specs/modules/snapshot_and_restore/snapshot/delete_snapshot/DeleteSnapshotResponse.ts @@ -1,2 +1 @@ -class DeleteSnapshotResponse extends AcknowledgedResponseBase { -} +class DeleteSnapshotResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/modules/snapshot_and_restore/snapshot/get_snapshot/GetSnapshotRequest.ts b/specification/specs/modules/snapshot_and_restore/snapshot/get_snapshot/GetSnapshotRequest.ts index e839873242..5415ac318e 100644 --- a/specification/specs/modules/snapshot_and_restore/snapshot/get_snapshot/GetSnapshotRequest.ts +++ b/specification/specs/modules/snapshot_and_restore/snapshot/get_snapshot/GetSnapshotRequest.ts @@ -1,14 +1,13 @@ -@rest_spec_name("snapshot.get") +@rest_spec_name('snapshot.get') class GetSnapshotRequest extends RequestBase { path_parts?: { - repository: Name; - snapshot: Names; + repository: Name + snapshot: Names } query_parameters?: { - ignore_unavailable?: boolean; - master_timeout?: Time; - verbose?: boolean; - } - body?: { + ignore_unavailable?: boolean + master_timeout?: Time + verbose?: boolean } + body?: {} } diff --git a/specification/specs/modules/snapshot_and_restore/snapshot/get_snapshot/GetSnapshotResponse.ts b/specification/specs/modules/snapshot_and_restore/snapshot/get_snapshot/GetSnapshotResponse.ts index 629ec8fd74..f434ad7c27 100644 --- a/specification/specs/modules/snapshot_and_restore/snapshot/get_snapshot/GetSnapshotResponse.ts +++ b/specification/specs/modules/snapshot_and_restore/snapshot/get_snapshot/GetSnapshotResponse.ts @@ -1,3 +1,3 @@ class GetSnapshotResponse extends ResponseBase { - snapshots: SnapshotInfo[]; + snapshots: SnapshotInfo[] } diff --git a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot/SnapshotRequest.ts b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot/SnapshotRequest.ts index 382271ddb3..4b7681cd0c 100644 --- a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot/SnapshotRequest.ts +++ b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot/SnapshotRequest.ts @@ -1,19 +1,19 @@ -@rest_spec_name("snapshot.create") +@rest_spec_name('snapshot.create') class SnapshotRequest extends RequestBase { path_parts?: { - repository: Name; - snapshot: Name; + repository: Name + snapshot: Name } query_parameters?: { - master_timeout?: Time; - wait_for_completion?: boolean; + master_timeout?: Time + wait_for_completion?: boolean } body?: { - ignore_unavailable?: boolean; - include_global_state?: boolean; + ignore_unavailable?: boolean + include_global_state?: boolean /** @prop_serializer IndicesMultiSyntaxFormatter */ - indices?: Indices; - metadata?: Dictionary; - partial?: boolean; + indices?: Indices + metadata?: Dictionary + partial?: boolean } } diff --git a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot/SnapshotResponse.ts b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot/SnapshotResponse.ts index ef7774e92d..fe82d58ae1 100644 --- a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot/SnapshotResponse.ts +++ b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot/SnapshotResponse.ts @@ -1,4 +1,4 @@ class SnapshotResponse extends ResponseBase { - accepted: boolean; - snapshot: SnapshotInfo; + accepted: boolean + snapshot: SnapshotInfo } diff --git a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/FileCountSnapshotStats.ts b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/FileCountSnapshotStats.ts index aa16bf827d..08e40e115f 100644 --- a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/FileCountSnapshotStats.ts +++ b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/FileCountSnapshotStats.ts @@ -1,4 +1,4 @@ class FileCountSnapshotStats { - file_count: integer; - size_in_bytes: long; + file_count: integer + size_in_bytes: long } diff --git a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotIndexStats.ts b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotIndexStats.ts index 5a12273d80..c37e535765 100644 --- a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotIndexStats.ts +++ b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotIndexStats.ts @@ -1,5 +1,5 @@ class SnapshotIndexStats { - shards: Dictionary; - shards_stats: SnapshotShardsStats; - stats: SnapshotStats; + shards: Dictionary + shards_stats: SnapshotShardsStats + stats: SnapshotStats } diff --git a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotShardsStats.ts b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotShardsStats.ts index d0da98012c..38397d8680 100644 --- a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotShardsStats.ts +++ b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotShardsStats.ts @@ -1,8 +1,8 @@ class SnapshotShardsStats { - done: long; - failed: long; - finalizing: long; - initializing: long; - started: long; - total: long; + done: long + failed: long + finalizing: long + initializing: long + started: long + total: long } diff --git a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStats.ts b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStats.ts index 5a24961830..84c01bc703 100644 --- a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStats.ts +++ b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStats.ts @@ -1,6 +1,6 @@ class SnapshotStats { - incremental: FileCountSnapshotStats; - start_time_in_millis: long; - time_in_millis: long; - total: FileCountSnapshotStats; + incremental: FileCountSnapshotStats + start_time_in_millis: long + time_in_millis: long + total: FileCountSnapshotStats } diff --git a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStatus.ts b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStatus.ts index f1fd3bdf59..7983d525bc 100644 --- a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStatus.ts +++ b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStatus.ts @@ -1,10 +1,10 @@ class SnapshotStatus { - include_global_state: boolean; - indices: Dictionary; - repository: string; - shards_stats: SnapshotShardsStats; - snapshot: string; - state: string; - stats: SnapshotStats; - uuid: string; + include_global_state: boolean + indices: Dictionary + repository: string + shards_stats: SnapshotShardsStats + snapshot: string + state: string + stats: SnapshotStats + uuid: string } diff --git a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStatusRequest.ts b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStatusRequest.ts index ef2821359a..766c1dfcd9 100644 --- a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStatusRequest.ts +++ b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStatusRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("snapshot.status") +@rest_spec_name('snapshot.status') class SnapshotStatusRequest extends RequestBase { path_parts?: { - repository?: Name; - snapshot?: Names; + repository?: Name + snapshot?: Names } query_parameters?: { - ignore_unavailable?: boolean; - master_timeout?: Time; - } - body?: { + ignore_unavailable?: boolean + master_timeout?: Time } + body?: {} } diff --git a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStatusResponse.ts b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStatusResponse.ts index 224d546b42..6b49e49bf2 100644 --- a/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStatusResponse.ts +++ b/specification/specs/modules/snapshot_and_restore/snapshot/snapshot_status/SnapshotStatusResponse.ts @@ -1,3 +1,3 @@ class SnapshotStatusResponse extends ResponseBase { - snapshots: SnapshotStatus[]; + snapshots: SnapshotStatus[] } diff --git a/specification/specs/query_dsl/MatchAllQuery.ts b/specification/specs/query_dsl/MatchAllQuery.ts index 7fab7e92d8..1d340c2d5f 100644 --- a/specification/specs/query_dsl/MatchAllQuery.ts +++ b/specification/specs/query_dsl/MatchAllQuery.ts @@ -1,3 +1,3 @@ class MatchAllQuery extends QueryBase { - norm_field?: string; + norm_field?: string } diff --git a/specification/specs/query_dsl/MatchNoneQuery.ts b/specification/specs/query_dsl/MatchNoneQuery.ts index 56b97a86e2..49a0ddb429 100644 --- a/specification/specs/query_dsl/MatchNoneQuery.ts +++ b/specification/specs/query_dsl/MatchNoneQuery.ts @@ -1,2 +1 @@ -class MatchNoneQuery extends QueryBase { -} +class MatchNoneQuery extends QueryBase {} diff --git a/specification/specs/query_dsl/abstractions/container/QueryContainer.ts b/specification/specs/query_dsl/abstractions/container/QueryContainer.ts index 0a2f75d141..b386a52d7c 100644 --- a/specification/specs/query_dsl/abstractions/container/QueryContainer.ts +++ b/specification/specs/query_dsl/abstractions/container/QueryContainer.ts @@ -1,67 +1,71 @@ -@class_serializer("QueryContainerInterfaceFormatter") +@class_serializer('QueryContainerInterfaceFormatter') class QueryContainer { - bool?: BoolQuery; - boosting?: BoostingQuery; - common?: SingleKeyDictionary>; - constant_score?: ConstantScoreQuery; - dis_max?: DisMaxQuery; + bool?: BoolQuery + boosting?: BoostingQuery + common?: SingleKeyDictionary> + constant_score?: ConstantScoreQuery + dis_max?: DisMaxQuery // TODO?: can be both { __field__ ?: { options } } and { field?: "" ...options } // very lenient parser on the server, never documented as such but used in yamltests as such - distance_feature?: SingleKeyDictionary> | DistanceFeatureQuery; - exists?: ExistsQuery; - function_score?: FunctionScoreQuery; - fuzzy?: SingleKeyDictionary>; - geo_bounding_box?: SingleKeyDictionary>; - geo_distance?: SingleKeyDictionary>; - geo_polygon?: SingleKeyDictionary>; - geo_shape?: SingleKeyDictionary>; - has_child?: HasChildQuery; - has_parent?: HasParentQuery; - ids?: IdsQuery; - intervals?: SingleKeyDictionary>; - is_conditionless?: boolean; - is_strict?: boolean; - is_verbatim?: boolean; - is_writable?: boolean; - match?: SingleKeyDictionary; - match_all?: MatchAllQuery; - match_bool_prefix?: SingleKeyDictionary>; - match_none?: MatchNoneQuery; - match_phrase?: SingleKeyDictionary>; - match_phrase_prefix?: SingleKeyDictionary>; - more_like_this?: MoreLikeThisQuery; - multi_match?: MultiMatchQuery; - nested?: NestedQuery; - parent_id?: ParentIdQuery; - percolate?: PercolateQuery; - pinned?: PinnedQuery; - prefix?: SingleKeyDictionary>; - query_string?: QueryStringQuery; - range?: SingleKeyDictionary; - rank_feature?: SingleKeyDictionary>; - raw_query?: RawQuery; - regexp?: SingleKeyDictionary>; - script?: ScriptQuery; - script_score?: ScriptScoreQuery; - shape?: SingleKeyDictionary>; - simple_query_string?: SimpleQueryStringQuery; - span_containing?: SpanContainingQuery; - field_masking_span?: SpanFieldMaskingQuery; - span_first?: SpanFirstQuery; - span_multi?: SpanMultiTermQuery; - span_near?: SpanNearQuery; - span_not?: SpanNotQuery; - span_or?: SpanOrQuery; - span_term?: SingleKeyDictionary>; - span_within?: SpanWithinQuery; - term?: SingleKeyDictionary; - terms?: SingleKeyDictionary>; - terms_set?: SingleKeyDictionary>; - wildcard?: SingleKeyDictionary>; + distance_feature?: + | SingleKeyDictionary> + | DistanceFeatureQuery + exists?: ExistsQuery + function_score?: FunctionScoreQuery + fuzzy?: SingleKeyDictionary> + geo_bounding_box?: SingleKeyDictionary> + geo_distance?: SingleKeyDictionary> + geo_polygon?: SingleKeyDictionary> + geo_shape?: SingleKeyDictionary> + has_child?: HasChildQuery + has_parent?: HasParentQuery + ids?: IdsQuery + intervals?: SingleKeyDictionary> + is_conditionless?: boolean + is_strict?: boolean + is_verbatim?: boolean + is_writable?: boolean + match?: SingleKeyDictionary + match_all?: MatchAllQuery + match_bool_prefix?: SingleKeyDictionary> + match_none?: MatchNoneQuery + match_phrase?: SingleKeyDictionary> + match_phrase_prefix?: SingleKeyDictionary< + Union + > + more_like_this?: MoreLikeThisQuery + multi_match?: MultiMatchQuery + nested?: NestedQuery + parent_id?: ParentIdQuery + percolate?: PercolateQuery + pinned?: PinnedQuery + prefix?: SingleKeyDictionary> + query_string?: QueryStringQuery + range?: SingleKeyDictionary + rank_feature?: SingleKeyDictionary> + raw_query?: RawQuery + regexp?: SingleKeyDictionary> + script?: ScriptQuery + script_score?: ScriptScoreQuery + shape?: SingleKeyDictionary> + simple_query_string?: SimpleQueryStringQuery + span_containing?: SpanContainingQuery + field_masking_span?: SpanFieldMaskingQuery + span_first?: SpanFirstQuery + span_multi?: SpanMultiTermQuery + span_near?: SpanNearQuery + span_not?: SpanNotQuery + span_or?: SpanOrQuery + span_term?: SingleKeyDictionary> + span_within?: SpanWithinQuery + term?: SingleKeyDictionary + terms?: SingleKeyDictionary> + terms_set?: SingleKeyDictionary> + wildcard?: SingleKeyDictionary> /** - * @obsolete 7.0.0 - * @obsolete_description https://www.elastic.co/guide/en/elasticsearch/reference/7.x/removal-of-types.html - */ - type?: TypeQuery; + * @obsolete 7.0.0 + * @obsolete_description https://www.elastic.co/guide/en/elasticsearch/reference/7.x/removal-of-types.html + */ + type?: TypeQuery } diff --git a/specification/specs/query_dsl/abstractions/field_lookup/FieldLookup.ts b/specification/specs/query_dsl/abstractions/field_lookup/FieldLookup.ts index 191eaaadc8..08496cb89d 100644 --- a/specification/specs/query_dsl/abstractions/field_lookup/FieldLookup.ts +++ b/specification/specs/query_dsl/abstractions/field_lookup/FieldLookup.ts @@ -1,6 +1,6 @@ class FieldLookup { - id?: Id; - index?: IndexName; - path?: Field; - routing?: Routing; + id?: Id + index?: IndexName + path?: Field + routing?: Routing } diff --git a/specification/specs/query_dsl/abstractions/field_name/FieldNameQuery.ts b/specification/specs/query_dsl/abstractions/field_name/FieldNameQuery.ts index 0e252085d1..afe60cc57a 100644 --- a/specification/specs/query_dsl/abstractions/field_name/FieldNameQuery.ts +++ b/specification/specs/query_dsl/abstractions/field_name/FieldNameQuery.ts @@ -1,3 +1,3 @@ class FieldNameQuery { - field?: Field; + field?: Field } diff --git a/specification/specs/query_dsl/abstractions/query/Query.ts b/specification/specs/query_dsl/abstractions/query/Query.ts index 3f65e4ccb6..f327bd03e7 100644 --- a/specification/specs/query_dsl/abstractions/query/Query.ts +++ b/specification/specs/query_dsl/abstractions/query/Query.ts @@ -1,4 +1,4 @@ class QueryBase { - boost?: float; - _name?: string; + boost?: float + _name?: string } diff --git a/specification/specs/query_dsl/compound/bool/BoolQuery.ts b/specification/specs/query_dsl/compound/bool/BoolQuery.ts index b68e42f003..747cc90041 100644 --- a/specification/specs/query_dsl/compound/bool/BoolQuery.ts +++ b/specification/specs/query_dsl/compound/bool/BoolQuery.ts @@ -1,8 +1,8 @@ class BoolQuery { - filter?: QueryContainer | QueryContainer[]; - minimum_should_match?: MinimumShouldMatch; - must?: QueryContainer | QueryContainer[]; - must_not?: QueryContainer | QueryContainer[]; - should?: QueryContainer | QueryContainer[]; - _name?: string; + filter?: QueryContainer | QueryContainer[] + minimum_should_match?: MinimumShouldMatch + must?: QueryContainer | QueryContainer[] + must_not?: QueryContainer | QueryContainer[] + should?: QueryContainer | QueryContainer[] + _name?: string } diff --git a/specification/specs/query_dsl/compound/boosting/BoostingQuery.ts b/specification/specs/query_dsl/compound/boosting/BoostingQuery.ts index b9c10ec5f3..2e143a0460 100644 --- a/specification/specs/query_dsl/compound/boosting/BoostingQuery.ts +++ b/specification/specs/query_dsl/compound/boosting/BoostingQuery.ts @@ -1,5 +1,5 @@ class BoostingQuery { - negative_boost?: double; - negative?: QueryContainer; - positive?: QueryContainer; + negative_boost?: double + negative?: QueryContainer + positive?: QueryContainer } diff --git a/specification/specs/query_dsl/compound/constant_score/ConstantScoreQuery.ts b/specification/specs/query_dsl/compound/constant_score/ConstantScoreQuery.ts index 7f8e91ab05..b692fd6966 100644 --- a/specification/specs/query_dsl/compound/constant_score/ConstantScoreQuery.ts +++ b/specification/specs/query_dsl/compound/constant_score/ConstantScoreQuery.ts @@ -1,4 +1,4 @@ class ConstantScoreQuery { - filter?: QueryContainer; - boost?: float; + filter?: QueryContainer + boost?: float } diff --git a/specification/specs/query_dsl/compound/dismax/DisMaxQuery.ts b/specification/specs/query_dsl/compound/dismax/DisMaxQuery.ts index 9ed89c1d2d..b59c247a62 100644 --- a/specification/specs/query_dsl/compound/dismax/DisMaxQuery.ts +++ b/specification/specs/query_dsl/compound/dismax/DisMaxQuery.ts @@ -1,5 +1,5 @@ class DisMaxQuery { - queries?: QueryContainer[]; - tie_breaker?: double; - boost?: float; + queries?: QueryContainer[] + tie_breaker?: double + boost?: float } diff --git a/specification/specs/query_dsl/compound/function_score/FunctionScoreQuery.ts b/specification/specs/query_dsl/compound/function_score/FunctionScoreQuery.ts index 00bdfe28b1..cdb8595416 100644 --- a/specification/specs/query_dsl/compound/function_score/FunctionScoreQuery.ts +++ b/specification/specs/query_dsl/compound/function_score/FunctionScoreQuery.ts @@ -1,9 +1,9 @@ class FunctionScoreQuery { - boost_mode?: FunctionBoostMode; - functions?: ScoreFunction[]; - max_boost?: double; - min_score?: double; - query?: QueryContainer; - score_mode?: FunctionScoreMode; - boost?: float; + boost_mode?: FunctionBoostMode + functions?: ScoreFunction[] + max_boost?: double + min_score?: double + query?: QueryContainer + score_mode?: FunctionScoreMode + boost?: float } diff --git a/specification/specs/query_dsl/compound/function_score/functions/ScoreFunction.ts b/specification/specs/query_dsl/compound/function_score/functions/ScoreFunction.ts index b4fee899b7..38c5877a66 100644 --- a/specification/specs/query_dsl/compound/function_score/functions/ScoreFunction.ts +++ b/specification/specs/query_dsl/compound/function_score/functions/ScoreFunction.ts @@ -1,5 +1,5 @@ -@class_serializer("ScoreFunctionJsonFormatter") +@class_serializer('ScoreFunctionJsonFormatter') class ScoreFunction { - filter?: QueryContainer; - weight?: double; + filter?: QueryContainer + weight?: double } diff --git a/specification/specs/query_dsl/full_text/common_terms/CommonTermsQuery.ts b/specification/specs/query_dsl/full_text/common_terms/CommonTermsQuery.ts index 6cbf56d5b8..945d25f4cb 100644 --- a/specification/specs/query_dsl/full_text/common_terms/CommonTermsQuery.ts +++ b/specification/specs/query_dsl/full_text/common_terms/CommonTermsQuery.ts @@ -1,9 +1,9 @@ -@class_serializer("FieldNameQueryFormatter`2") +@class_serializer('FieldNameQueryFormatter`2') class CommonTermsQuery extends QueryBase { - analyzer?: string; - cutoff_frequency?: double; - high_freq_operator?: Operator; - low_freq_operator?: Operator; - minimum_should_match?: MinimumShouldMatch; - query?: string; + analyzer?: string + cutoff_frequency?: double + high_freq_operator?: Operator + low_freq_operator?: Operator + minimum_should_match?: MinimumShouldMatch + query?: string } diff --git a/specification/specs/query_dsl/full_text/intervals/Intervals.ts b/specification/specs/query_dsl/full_text/intervals/Intervals.ts index f04efaa55f..39ba435211 100644 --- a/specification/specs/query_dsl/full_text/intervals/Intervals.ts +++ b/specification/specs/query_dsl/full_text/intervals/Intervals.ts @@ -1,3 +1,3 @@ class Intervals { - filter?: IntervalsFilter; + filter?: IntervalsFilter } diff --git a/specification/specs/query_dsl/full_text/intervals/IntervalsAllOf.ts b/specification/specs/query_dsl/full_text/intervals/IntervalsAllOf.ts index 06b7cb73af..3b9824bcf0 100644 --- a/specification/specs/query_dsl/full_text/intervals/IntervalsAllOf.ts +++ b/specification/specs/query_dsl/full_text/intervals/IntervalsAllOf.ts @@ -1,6 +1,6 @@ class IntervalsAllOf { - intervals?: IntervalsContainer[]; - max_gaps?: integer; - ordered?: boolean; - filter?: IntervalsFilter; + intervals?: IntervalsContainer[] + max_gaps?: integer + ordered?: boolean + filter?: IntervalsFilter } diff --git a/specification/specs/query_dsl/full_text/intervals/IntervalsAnyOf.ts b/specification/specs/query_dsl/full_text/intervals/IntervalsAnyOf.ts index b6b553ad3e..ca2159a414 100644 --- a/specification/specs/query_dsl/full_text/intervals/IntervalsAnyOf.ts +++ b/specification/specs/query_dsl/full_text/intervals/IntervalsAnyOf.ts @@ -1,4 +1,4 @@ class IntervalsAnyOf { - intervals?: IntervalsContainer[]; - filter?: IntervalsFilter; + intervals?: IntervalsContainer[] + filter?: IntervalsFilter } diff --git a/specification/specs/query_dsl/full_text/intervals/IntervalsContainer.ts b/specification/specs/query_dsl/full_text/intervals/IntervalsContainer.ts index dc2ac467c8..b71f5a59f4 100644 --- a/specification/specs/query_dsl/full_text/intervals/IntervalsContainer.ts +++ b/specification/specs/query_dsl/full_text/intervals/IntervalsContainer.ts @@ -1,8 +1,8 @@ class IntervalsContainer { - all_of?: IntervalsAllOf; - any_of?: IntervalsAnyOf; - fuzzy?: IntervalsFuzzy; - match?: IntervalsMatch; - prefix?: IntervalsPrefix; - wildcard?: IntervalsWildcard; + all_of?: IntervalsAllOf + any_of?: IntervalsAnyOf + fuzzy?: IntervalsFuzzy + match?: IntervalsMatch + prefix?: IntervalsPrefix + wildcard?: IntervalsWildcard } diff --git a/specification/specs/query_dsl/full_text/intervals/IntervalsFilter.ts b/specification/specs/query_dsl/full_text/intervals/IntervalsFilter.ts index 8cf44498bc..2d64d7f98b 100644 --- a/specification/specs/query_dsl/full_text/intervals/IntervalsFilter.ts +++ b/specification/specs/query_dsl/full_text/intervals/IntervalsFilter.ts @@ -1,11 +1,11 @@ class IntervalsFilter { - after?: IntervalsContainer; - before?: IntervalsContainer; - contained_by?: IntervalsContainer; - containing?: IntervalsContainer; - not_contained_by?: IntervalsContainer; - not_containing?: IntervalsContainer; - not_overlapping?: IntervalsContainer; - overlapping?: IntervalsContainer; - script?: Script; + after?: IntervalsContainer + before?: IntervalsContainer + contained_by?: IntervalsContainer + containing?: IntervalsContainer + not_contained_by?: IntervalsContainer + not_containing?: IntervalsContainer + not_overlapping?: IntervalsContainer + overlapping?: IntervalsContainer + script?: Script } diff --git a/specification/specs/query_dsl/full_text/intervals/IntervalsFuzzy.ts b/specification/specs/query_dsl/full_text/intervals/IntervalsFuzzy.ts index 045a83f137..13aafce0fc 100644 --- a/specification/specs/query_dsl/full_text/intervals/IntervalsFuzzy.ts +++ b/specification/specs/query_dsl/full_text/intervals/IntervalsFuzzy.ts @@ -1,8 +1,8 @@ class IntervalsFuzzy { - analyzer?: string; - fuzziness?: Fuzziness; - prefix_length?: integer; - term?: string; - transpositions?: boolean; - use_field?: Field; + analyzer?: string + fuzziness?: Fuzziness + prefix_length?: integer + term?: string + transpositions?: boolean + use_field?: Field } diff --git a/specification/specs/query_dsl/full_text/intervals/IntervalsMatch.ts b/specification/specs/query_dsl/full_text/intervals/IntervalsMatch.ts index 2f64545664..1c901e408b 100644 --- a/specification/specs/query_dsl/full_text/intervals/IntervalsMatch.ts +++ b/specification/specs/query_dsl/full_text/intervals/IntervalsMatch.ts @@ -1,8 +1,8 @@ class IntervalsMatch { - analyzer?: string; - max_gaps?: integer; - ordered?: boolean; - query?: string; - use_field?: Field; - filter?: IntervalsFilter; + analyzer?: string + max_gaps?: integer + ordered?: boolean + query?: string + use_field?: Field + filter?: IntervalsFilter } diff --git a/specification/specs/query_dsl/full_text/intervals/IntervalsPrefix.ts b/specification/specs/query_dsl/full_text/intervals/IntervalsPrefix.ts index 559f5ec784..71a903c9d7 100644 --- a/specification/specs/query_dsl/full_text/intervals/IntervalsPrefix.ts +++ b/specification/specs/query_dsl/full_text/intervals/IntervalsPrefix.ts @@ -1,5 +1,5 @@ class IntervalsPrefix { - analyzer?: string; - prefix?: string; - use_field?: Field; + analyzer?: string + prefix?: string + use_field?: Field } diff --git a/specification/specs/query_dsl/full_text/intervals/IntervalsQuery.ts b/specification/specs/query_dsl/full_text/intervals/IntervalsQuery.ts index 657a5494f5..fc0acb7b78 100644 --- a/specification/specs/query_dsl/full_text/intervals/IntervalsQuery.ts +++ b/specification/specs/query_dsl/full_text/intervals/IntervalsQuery.ts @@ -1,9 +1,9 @@ -@class_serializer("FieldNameQueryFormatter`2") +@class_serializer('FieldNameQueryFormatter`2') class IntervalsQuery extends QueryBase { - all_of?: IntervalsAllOf; - any_of?: IntervalsAnyOf; - fuzzy?: IntervalsFuzzy; - match?: IntervalsMatch; - prefix?: IntervalsPrefix; - wildcard?: IntervalsWildcard; + all_of?: IntervalsAllOf + any_of?: IntervalsAnyOf + fuzzy?: IntervalsFuzzy + match?: IntervalsMatch + prefix?: IntervalsPrefix + wildcard?: IntervalsWildcard } diff --git a/specification/specs/query_dsl/full_text/intervals/IntervalsWildcard.ts b/specification/specs/query_dsl/full_text/intervals/IntervalsWildcard.ts index 03ceb03489..d3cd045e42 100644 --- a/specification/specs/query_dsl/full_text/intervals/IntervalsWildcard.ts +++ b/specification/specs/query_dsl/full_text/intervals/IntervalsWildcard.ts @@ -1,5 +1,5 @@ class IntervalsWildcard { - analyzer?: string; - pattern?: string; - use_field?: Field; + analyzer?: string + pattern?: string + use_field?: Field } diff --git a/specification/specs/query_dsl/full_text/match/MatchQuery.ts b/specification/specs/query_dsl/full_text/match/MatchQuery.ts index 8d0d75cf72..ff9195c128 100644 --- a/specification/specs/query_dsl/full_text/match/MatchQuery.ts +++ b/specification/specs/query_dsl/full_text/match/MatchQuery.ts @@ -1,16 +1,16 @@ -@class_serializer("FieldNameQueryFormatter`2") +@class_serializer('FieldNameQueryFormatter`2') class MatchQuery extends QueryBase { - analyzer?: string; - auto_generate_synonyms_phrase_query?: boolean; - cutoff_frequency?: double; - fuzziness?: Fuzziness; - fuzzy_rewrite?: MultiTermQueryRewrite; - fuzzy_transpositions?: boolean; - lenient?: boolean; - max_expansions?: integer; - minimum_should_match?: MinimumShouldMatch; - operator?: Operator; - prefix_length?: integer; - query?: string | float | boolean; - zero_terms_query?: ZeroTermsQuery; + analyzer?: string + auto_generate_synonyms_phrase_query?: boolean + cutoff_frequency?: double + fuzziness?: Fuzziness + fuzzy_rewrite?: MultiTermQueryRewrite + fuzzy_transpositions?: boolean + lenient?: boolean + max_expansions?: integer + minimum_should_match?: MinimumShouldMatch + operator?: Operator + prefix_length?: integer + query?: string | float | boolean + zero_terms_query?: ZeroTermsQuery } diff --git a/specification/specs/query_dsl/full_text/match_bool_prefix/MatchBoolPrefixQuery.ts b/specification/specs/query_dsl/full_text/match_bool_prefix/MatchBoolPrefixQuery.ts index 439b0db60b..6755c855ca 100644 --- a/specification/specs/query_dsl/full_text/match_bool_prefix/MatchBoolPrefixQuery.ts +++ b/specification/specs/query_dsl/full_text/match_bool_prefix/MatchBoolPrefixQuery.ts @@ -1,12 +1,12 @@ -@class_serializer("FieldNameQueryFormatter`2") +@class_serializer('FieldNameQueryFormatter`2') class MatchBoolPrefixQuery extends QueryBase { - analyzer?: string; - fuzziness?: Fuzziness; - fuzzy_rewrite?: MultiTermQueryRewrite; - fuzzy_transpositions?: boolean; - max_expansions?: integer; - minimum_should_match?: MinimumShouldMatch; - operator?: Operator; - prefix_length?: integer; - query?: string; + analyzer?: string + fuzziness?: Fuzziness + fuzzy_rewrite?: MultiTermQueryRewrite + fuzzy_transpositions?: boolean + max_expansions?: integer + minimum_should_match?: MinimumShouldMatch + operator?: Operator + prefix_length?: integer + query?: string } diff --git a/specification/specs/query_dsl/full_text/match_phrase/MatchPhraseQuery.ts b/specification/specs/query_dsl/full_text/match_phrase/MatchPhraseQuery.ts index d31ec9382f..d0bbbd8220 100644 --- a/specification/specs/query_dsl/full_text/match_phrase/MatchPhraseQuery.ts +++ b/specification/specs/query_dsl/full_text/match_phrase/MatchPhraseQuery.ts @@ -1,6 +1,6 @@ -@class_serializer("FieldNameQueryFormatter`2") +@class_serializer('FieldNameQueryFormatter`2') class MatchPhraseQuery extends QueryBase { - analyzer?: string; - query?: string; - slop?: integer; + analyzer?: string + query?: string + slop?: integer } diff --git a/specification/specs/query_dsl/full_text/match_phrase_prefix/MatchPhrasePrefixQuery.ts b/specification/specs/query_dsl/full_text/match_phrase_prefix/MatchPhrasePrefixQuery.ts index 822cd93430..6f4ecee330 100644 --- a/specification/specs/query_dsl/full_text/match_phrase_prefix/MatchPhrasePrefixQuery.ts +++ b/specification/specs/query_dsl/full_text/match_phrase_prefix/MatchPhrasePrefixQuery.ts @@ -1,8 +1,8 @@ -@class_serializer("FieldNameQueryFormatter`2") +@class_serializer('FieldNameQueryFormatter`2') class MatchPhrasePrefixQuery extends QueryBase { - analyzer?: string; - max_expansions?: integer; - query?: string; - slop?: integer; - zero_terms_query?: ZeroTermsQuery; + analyzer?: string + max_expansions?: integer + query?: string + slop?: integer + zero_terms_query?: ZeroTermsQuery } diff --git a/specification/specs/query_dsl/full_text/multi_match/MultiMatchQuery.ts b/specification/specs/query_dsl/full_text/multi_match/MultiMatchQuery.ts index cc24e843c2..cf75fc9947 100644 --- a/specification/specs/query_dsl/full_text/multi_match/MultiMatchQuery.ts +++ b/specification/specs/query_dsl/full_text/multi_match/MultiMatchQuery.ts @@ -1,20 +1,20 @@ class MultiMatchQuery extends QueryBase { - analyzer?: string; - auto_generate_synonyms_phrase_query?: boolean; - cutoff_frequency?: double; - fields?: Field[]; - fuzziness?: Fuzziness; - fuzzy_rewrite?: MultiTermQueryRewrite; - fuzzy_transpositions?: boolean; - lenient?: boolean; - max_expansions?: integer; - minimum_should_match?: MinimumShouldMatch; - operator?: Operator; - prefix_length?: integer; - query?: string; - slop?: integer; - tie_breaker?: double; - type?: TextQueryType; - use_dis_max?: boolean; - zero_terms_query?: ZeroTermsQuery; + analyzer?: string + auto_generate_synonyms_phrase_query?: boolean + cutoff_frequency?: double + fields?: Field[] + fuzziness?: Fuzziness + fuzzy_rewrite?: MultiTermQueryRewrite + fuzzy_transpositions?: boolean + lenient?: boolean + max_expansions?: integer + minimum_should_match?: MinimumShouldMatch + operator?: Operator + prefix_length?: integer + query?: string + slop?: integer + tie_breaker?: double + type?: TextQueryType + use_dis_max?: boolean + zero_terms_query?: ZeroTermsQuery } diff --git a/specification/specs/query_dsl/full_text/query_string/QueryStringQuery.ts b/specification/specs/query_dsl/full_text/query_string/QueryStringQuery.ts index c7c6d81a84..583e4f3672 100644 --- a/specification/specs/query_dsl/full_text/query_string/QueryStringQuery.ts +++ b/specification/specs/query_dsl/full_text/query_string/QueryStringQuery.ts @@ -1,27 +1,27 @@ class QueryStringQuery extends QueryBase { - allow_leading_wildcard?: boolean; - analyzer?: string; - analyze_wildcard?: boolean; - auto_generate_synonyms_phrase_query?: boolean; - default_field?: Field; - default_operator?: Operator; - enable_position_increments?: boolean; - escape?: boolean; - fields?: Field[]; - fuzziness?: Fuzziness; - fuzzy_max_expansions?: integer; - fuzzy_prefix_length?: integer; - fuzzy_rewrite?: MultiTermQueryRewrite; - fuzzy_transpositions?: boolean; - lenient?: boolean; - max_determinized_states?: integer; - minimum_should_match?: MinimumShouldMatch; - phrase_slop?: double; - query?: string; - quote_analyzer?: string; - quote_field_suffix?: string; - rewrite?: MultiTermQueryRewrite; - tie_breaker?: double; - time_zone?: string; - type?: TextQueryType; + allow_leading_wildcard?: boolean + analyzer?: string + analyze_wildcard?: boolean + auto_generate_synonyms_phrase_query?: boolean + default_field?: Field + default_operator?: Operator + enable_position_increments?: boolean + escape?: boolean + fields?: Field[] + fuzziness?: Fuzziness + fuzzy_max_expansions?: integer + fuzzy_prefix_length?: integer + fuzzy_rewrite?: MultiTermQueryRewrite + fuzzy_transpositions?: boolean + lenient?: boolean + max_determinized_states?: integer + minimum_should_match?: MinimumShouldMatch + phrase_slop?: double + query?: string + quote_analyzer?: string + quote_field_suffix?: string + rewrite?: MultiTermQueryRewrite + tie_breaker?: double + time_zone?: string + type?: TextQueryType } diff --git a/specification/specs/query_dsl/full_text/simple_query_string/SimpleQueryStringQuery.ts b/specification/specs/query_dsl/full_text/simple_query_string/SimpleQueryStringQuery.ts index 3e528df669..11acff4567 100644 --- a/specification/specs/query_dsl/full_text/simple_query_string/SimpleQueryStringQuery.ts +++ b/specification/specs/query_dsl/full_text/simple_query_string/SimpleQueryStringQuery.ts @@ -1,15 +1,15 @@ class SimpleQueryStringQuery extends QueryBase { - analyzer?: string; - analyze_wildcard?: boolean; - auto_generate_synonyms_phrase_query?: boolean; - default_operator?: Operator; - fields?: Field[]; - flags?: SimpleQueryStringFlags; - fuzzy_max_expansions?: integer; - fuzzy_prefix_length?: integer; - fuzzy_transpositions?: boolean; - lenient?: boolean; - minimum_should_match?: MinimumShouldMatch; - query?: string; - quote_field_suffix?: string; + analyzer?: string + analyze_wildcard?: boolean + auto_generate_synonyms_phrase_query?: boolean + default_operator?: Operator + fields?: Field[] + flags?: SimpleQueryStringFlags + fuzzy_max_expansions?: integer + fuzzy_prefix_length?: integer + fuzzy_transpositions?: boolean + lenient?: boolean + minimum_should_match?: MinimumShouldMatch + query?: string + quote_field_suffix?: string } diff --git a/specification/specs/query_dsl/geo/GeoCoordinate.ts b/specification/specs/query_dsl/geo/GeoCoordinate.ts index 0d4464b922..13e01f75c2 100644 --- a/specification/specs/query_dsl/geo/GeoCoordinate.ts +++ b/specification/specs/query_dsl/geo/GeoCoordinate.ts @@ -1,4 +1,4 @@ -@class_serializer("GeoCoordinateFormatter") +@class_serializer('GeoCoordinateFormatter') class GeoCoordinate extends GeoLocation { - z?: double; + z?: double } diff --git a/specification/specs/query_dsl/geo/GeoLocation.ts b/specification/specs/query_dsl/geo/GeoLocation.ts index 63971938b2..292b34fdd1 100644 --- a/specification/specs/query_dsl/geo/GeoLocation.ts +++ b/specification/specs/query_dsl/geo/GeoLocation.ts @@ -1,5 +1,5 @@ -@class_serializer("GeoLocationFormatter") +@class_serializer('GeoLocationFormatter') class GeoLocation { - lat?: double; - lon?: double; + lat?: double + lon?: double } diff --git a/specification/specs/query_dsl/geo/bounding_box/BoundingBox.ts b/specification/specs/query_dsl/geo/bounding_box/BoundingBox.ts index 7d9704fd9c..aef1cde3b6 100644 --- a/specification/specs/query_dsl/geo/bounding_box/BoundingBox.ts +++ b/specification/specs/query_dsl/geo/bounding_box/BoundingBox.ts @@ -1,5 +1,5 @@ class BoundingBox { - bottom_right?: GeoLocation; - top_left?: GeoLocation; - wkt?: string; + bottom_right?: GeoLocation + top_left?: GeoLocation + wkt?: string } diff --git a/specification/specs/query_dsl/geo/bounding_box/GeoBoundingBoxQuery.ts b/specification/specs/query_dsl/geo/bounding_box/GeoBoundingBoxQuery.ts index 253e4f244b..fb73aa7fba 100644 --- a/specification/specs/query_dsl/geo/bounding_box/GeoBoundingBoxQuery.ts +++ b/specification/specs/query_dsl/geo/bounding_box/GeoBoundingBoxQuery.ts @@ -1,6 +1,6 @@ -@class_serializer("GeoBoundingBoxQueryFormatter") +@class_serializer('GeoBoundingBoxQueryFormatter') class GeoBoundingBoxQuery extends QueryBase { - bounding_box?: BoundingBox; - type?: GeoExecution; - validation_method?: GeoValidationMethod; + bounding_box?: BoundingBox + type?: GeoExecution + validation_method?: GeoValidationMethod } diff --git a/specification/specs/query_dsl/geo/distance/GeoDistanceQuery.ts b/specification/specs/query_dsl/geo/distance/GeoDistanceQuery.ts index be4a9a271c..38ecf21a40 100644 --- a/specification/specs/query_dsl/geo/distance/GeoDistanceQuery.ts +++ b/specification/specs/query_dsl/geo/distance/GeoDistanceQuery.ts @@ -1,7 +1,7 @@ -@class_serializer("GeoDistanceQueryFormatter") +@class_serializer('GeoDistanceQueryFormatter') class GeoDistanceQuery extends QueryBase { - distance?: Distance; - distance_type?: GeoDistanceType; - location?: GeoLocation; - validation_method?: GeoValidationMethod; + distance?: Distance + distance_type?: GeoDistanceType + location?: GeoLocation + validation_method?: GeoValidationMethod } diff --git a/specification/specs/query_dsl/geo/polygon/GeoPolygonQuery.ts b/specification/specs/query_dsl/geo/polygon/GeoPolygonQuery.ts index 628fe61138..4ad482d307 100644 --- a/specification/specs/query_dsl/geo/polygon/GeoPolygonQuery.ts +++ b/specification/specs/query_dsl/geo/polygon/GeoPolygonQuery.ts @@ -1,5 +1,5 @@ -@class_serializer("GeoPolygonQueryFormatter") +@class_serializer('GeoPolygonQueryFormatter') class GeoPolygonQuery extends QueryBase { - points?: GeoLocation[]; - validation_method?: GeoValidationMethod; + points?: GeoLocation[] + validation_method?: GeoValidationMethod } diff --git a/specification/specs/query_dsl/geo/shape/GeoShape.ts b/specification/specs/query_dsl/geo/shape/GeoShape.ts index f26ea6ef16..fd03033512 100644 --- a/specification/specs/query_dsl/geo/shape/GeoShape.ts +++ b/specification/specs/query_dsl/geo/shape/GeoShape.ts @@ -1,4 +1,4 @@ -@class_serializer("GeoShapeFormatter") +@class_serializer('GeoShapeFormatter') class GeoShape { - type?: string; + type?: string } diff --git a/specification/specs/query_dsl/geo/shape/GeoShapeQuery.ts b/specification/specs/query_dsl/geo/shape/GeoShapeQuery.ts index 80a32b597c..557dd6e00c 100644 --- a/specification/specs/query_dsl/geo/shape/GeoShapeQuery.ts +++ b/specification/specs/query_dsl/geo/shape/GeoShapeQuery.ts @@ -1,7 +1,7 @@ -@class_serializer("CompositeFormatter`3") +@class_serializer('CompositeFormatter`3') class GeoShapeQuery extends QueryBase { - ignore_unmapped?: boolean; - indexed_shape?: FieldLookup; - relation?: GeoShapeRelation; - shape?: GeoShape; + ignore_unmapped?: boolean + indexed_shape?: FieldLookup + relation?: GeoShapeRelation + shape?: GeoShape } diff --git a/specification/specs/query_dsl/joining/has_child/HasChildQuery.ts b/specification/specs/query_dsl/joining/has_child/HasChildQuery.ts index 2f35a09f44..2df3b6028b 100644 --- a/specification/specs/query_dsl/joining/has_child/HasChildQuery.ts +++ b/specification/specs/query_dsl/joining/has_child/HasChildQuery.ts @@ -1,9 +1,9 @@ class HasChildQuery extends QueryBase { - ignore_unmapped?: boolean; - inner_hits?: InnerHits; - max_children?: integer; - min_children?: integer; - query?: QueryContainer; - score_mode?: ChildScoreMode; - type?: RelationName; + ignore_unmapped?: boolean + inner_hits?: InnerHits + max_children?: integer + min_children?: integer + query?: QueryContainer + score_mode?: ChildScoreMode + type?: RelationName } diff --git a/specification/specs/query_dsl/joining/has_parent/HasParentQuery.ts b/specification/specs/query_dsl/joining/has_parent/HasParentQuery.ts index 4e6ce963ec..20c4708417 100644 --- a/specification/specs/query_dsl/joining/has_parent/HasParentQuery.ts +++ b/specification/specs/query_dsl/joining/has_parent/HasParentQuery.ts @@ -1,7 +1,7 @@ class HasParentQuery extends QueryBase { - ignore_unmapped?: boolean; - inner_hits?: InnerHits; - parent_type?: RelationName; - query?: QueryContainer; - score?: boolean; + ignore_unmapped?: boolean + inner_hits?: InnerHits + parent_type?: RelationName + query?: QueryContainer + score?: boolean } diff --git a/specification/specs/query_dsl/joining/nested/NestedQuery.ts b/specification/specs/query_dsl/joining/nested/NestedQuery.ts index d6ee7f9ef5..c3c9d1b75b 100644 --- a/specification/specs/query_dsl/joining/nested/NestedQuery.ts +++ b/specification/specs/query_dsl/joining/nested/NestedQuery.ts @@ -1,7 +1,7 @@ class NestedQuery extends QueryBase { - ignore_unmapped?: boolean; - inner_hits?: InnerHits; - path?: Field; - query?: QueryContainer; - score_mode?: NestedScoreMode; + ignore_unmapped?: boolean + inner_hits?: InnerHits + path?: Field + query?: QueryContainer + score_mode?: NestedScoreMode } diff --git a/specification/specs/query_dsl/joining/parent_id/ParentIdQuery.ts b/specification/specs/query_dsl/joining/parent_id/ParentIdQuery.ts index 4fca594d69..54ca3e4f00 100644 --- a/specification/specs/query_dsl/joining/parent_id/ParentIdQuery.ts +++ b/specification/specs/query_dsl/joining/parent_id/ParentIdQuery.ts @@ -1,5 +1,5 @@ class ParentIdQuery extends QueryBase { - id?: Id; - ignore_unmapped?: boolean; - type?: RelationName; + id?: Id + ignore_unmapped?: boolean + type?: RelationName } diff --git a/specification/specs/query_dsl/nest_specific/RawQuery.ts b/specification/specs/query_dsl/nest_specific/RawQuery.ts index 202dc4efe5..feb853fa94 100644 --- a/specification/specs/query_dsl/nest_specific/RawQuery.ts +++ b/specification/specs/query_dsl/nest_specific/RawQuery.ts @@ -1,3 +1,3 @@ class RawQuery { - raw?: string; + raw?: string } diff --git a/specification/specs/query_dsl/span/SpanQuery.ts b/specification/specs/query_dsl/span/SpanQuery.ts index eb38424df6..92b05aaa68 100644 --- a/specification/specs/query_dsl/span/SpanQuery.ts +++ b/specification/specs/query_dsl/span/SpanQuery.ts @@ -1,12 +1,12 @@ class SpanQuery extends QueryBase { - span_containing?: SpanContainingQuery; - field_masking_span?: SpanFieldMaskingQuery; - span_first?: SpanFirstQuery; - span_gap?: SpanGapQuery; - span_multi?: SpanMultiTermQuery; - span_near?: SpanNearQuery; - span_not?: SpanNotQuery; - span_or?: SpanOrQuery; - span_term?: SpanTermQuery; - span_within?: SpanWithinQuery; + span_containing?: SpanContainingQuery + field_masking_span?: SpanFieldMaskingQuery + span_first?: SpanFirstQuery + span_gap?: SpanGapQuery + span_multi?: SpanMultiTermQuery + span_near?: SpanNearQuery + span_not?: SpanNotQuery + span_or?: SpanOrQuery + span_term?: SpanTermQuery + span_within?: SpanWithinQuery } diff --git a/specification/specs/query_dsl/span/SpanSubQuery.ts b/specification/specs/query_dsl/span/SpanSubQuery.ts index 1cec82d357..71bda1d517 100644 --- a/specification/specs/query_dsl/span/SpanSubQuery.ts +++ b/specification/specs/query_dsl/span/SpanSubQuery.ts @@ -1,2 +1 @@ -class SpanSubQuery { -} +class SpanSubQuery {} diff --git a/specification/specs/query_dsl/span/containing/SpanContainingQuery.ts b/specification/specs/query_dsl/span/containing/SpanContainingQuery.ts index 15ea3c5d0c..b1cc62d01b 100644 --- a/specification/specs/query_dsl/span/containing/SpanContainingQuery.ts +++ b/specification/specs/query_dsl/span/containing/SpanContainingQuery.ts @@ -1,4 +1,4 @@ class SpanContainingQuery { - big?: SpanQuery; - little?: SpanQuery; + big?: SpanQuery + little?: SpanQuery } diff --git a/specification/specs/query_dsl/span/field_masking/SpanFieldMaskingQuery.ts b/specification/specs/query_dsl/span/field_masking/SpanFieldMaskingQuery.ts index 522ea45545..c86de1975e 100644 --- a/specification/specs/query_dsl/span/field_masking/SpanFieldMaskingQuery.ts +++ b/specification/specs/query_dsl/span/field_masking/SpanFieldMaskingQuery.ts @@ -1,4 +1,4 @@ class SpanFieldMaskingQuery { - field?: Field; - query?: SpanQuery; + field?: Field + query?: SpanQuery } diff --git a/specification/specs/query_dsl/span/first/SpanFirstQuery.ts b/specification/specs/query_dsl/span/first/SpanFirstQuery.ts index 76dda5a946..f92fa35e36 100644 --- a/specification/specs/query_dsl/span/first/SpanFirstQuery.ts +++ b/specification/specs/query_dsl/span/first/SpanFirstQuery.ts @@ -1,4 +1,4 @@ class SpanFirstQuery { - end?: integer; - match?: SpanQuery; + end?: integer + match?: SpanQuery } diff --git a/specification/specs/query_dsl/span/gap/SpanGapQuery.ts b/specification/specs/query_dsl/span/gap/SpanGapQuery.ts index 66cc5a8a64..2ed8d3e21e 100644 --- a/specification/specs/query_dsl/span/gap/SpanGapQuery.ts +++ b/specification/specs/query_dsl/span/gap/SpanGapQuery.ts @@ -1,5 +1,5 @@ -@class_serializer("SpanGapQueryFormatter") +@class_serializer('SpanGapQueryFormatter') class SpanGapQuery { - field?: Field; - width?: integer; + field?: Field + width?: integer } diff --git a/specification/specs/query_dsl/span/multi_term/SpanMultiTermQuery.ts b/specification/specs/query_dsl/span/multi_term/SpanMultiTermQuery.ts index 335f595085..89af928666 100644 --- a/specification/specs/query_dsl/span/multi_term/SpanMultiTermQuery.ts +++ b/specification/specs/query_dsl/span/multi_term/SpanMultiTermQuery.ts @@ -1,3 +1,3 @@ class SpanMultiTermQuery { - match?: QueryContainer; + match?: QueryContainer } diff --git a/specification/specs/query_dsl/span/near/SpanNearQuery.ts b/specification/specs/query_dsl/span/near/SpanNearQuery.ts index 0c00aeedec..b2a3c25a3d 100644 --- a/specification/specs/query_dsl/span/near/SpanNearQuery.ts +++ b/specification/specs/query_dsl/span/near/SpanNearQuery.ts @@ -1,5 +1,5 @@ class SpanNearQuery { - clauses?: SpanQuery[]; - in_order?: boolean; - slop?: integer; + clauses?: SpanQuery[] + in_order?: boolean + slop?: integer } diff --git a/specification/specs/query_dsl/span/not/SpanNotQuery.ts b/specification/specs/query_dsl/span/not/SpanNotQuery.ts index 7df36c6f75..85bca12c6a 100644 --- a/specification/specs/query_dsl/span/not/SpanNotQuery.ts +++ b/specification/specs/query_dsl/span/not/SpanNotQuery.ts @@ -1,7 +1,7 @@ class SpanNotQuery { - dist?: integer; - exclude?: SpanQuery; - include?: SpanQuery; - post?: integer; - pre?: integer; + dist?: integer + exclude?: SpanQuery + include?: SpanQuery + post?: integer + pre?: integer } diff --git a/specification/specs/query_dsl/span/or/SpanOrQuery.ts b/specification/specs/query_dsl/span/or/SpanOrQuery.ts index 497c2adbb4..8a5bbb980b 100644 --- a/specification/specs/query_dsl/span/or/SpanOrQuery.ts +++ b/specification/specs/query_dsl/span/or/SpanOrQuery.ts @@ -1,3 +1,3 @@ class SpanOrQuery { - clauses?: SpanQuery[]; + clauses?: SpanQuery[] } diff --git a/specification/specs/query_dsl/span/term/SpanTermQuery.ts b/specification/specs/query_dsl/span/term/SpanTermQuery.ts index e702a6686e..b211c0ce95 100644 --- a/specification/specs/query_dsl/span/term/SpanTermQuery.ts +++ b/specification/specs/query_dsl/span/term/SpanTermQuery.ts @@ -1,3 +1,2 @@ -@class_serializer("FieldNameQueryFormatter`2") -class SpanTermQuery { -} +@class_serializer('FieldNameQueryFormatter`2') +class SpanTermQuery {} diff --git a/specification/specs/query_dsl/span/within/SpanWithinQuery.ts b/specification/specs/query_dsl/span/within/SpanWithinQuery.ts index e59f0f5696..5bd57a7544 100644 --- a/specification/specs/query_dsl/span/within/SpanWithinQuery.ts +++ b/specification/specs/query_dsl/span/within/SpanWithinQuery.ts @@ -1,4 +1,4 @@ class SpanWithinQuery { - big?: SpanQuery; - little?: SpanQuery; + big?: SpanQuery + little?: SpanQuery } diff --git a/specification/specs/query_dsl/specialized/distance_feature/DistanceFeatureQuery.ts b/specification/specs/query_dsl/specialized/distance_feature/DistanceFeatureQuery.ts index f0b80a7345..74aa77d575 100644 --- a/specification/specs/query_dsl/specialized/distance_feature/DistanceFeatureQuery.ts +++ b/specification/specs/query_dsl/specialized/distance_feature/DistanceFeatureQuery.ts @@ -1,6 +1,6 @@ -@class_serializer("DistanceFeatureQueryFormatter") +@class_serializer('DistanceFeatureQueryFormatter') class DistanceFeatureQuery extends QueryBase { - origin?: Array | GeoCoordinate | DateMath; - pivot?: Union; - field?: Field; + origin?: Array | GeoCoordinate | DateMath + pivot?: Union + field?: Field } diff --git a/specification/specs/query_dsl/specialized/more_like_this/MoreLikeThisQuery.ts b/specification/specs/query_dsl/specialized/more_like_this/MoreLikeThisQuery.ts index 8638ea9db0..7cc2f305db 100644 --- a/specification/specs/query_dsl/specialized/more_like_this/MoreLikeThisQuery.ts +++ b/specification/specs/query_dsl/specialized/more_like_this/MoreLikeThisQuery.ts @@ -1,20 +1,20 @@ class MoreLikeThisQuery extends QueryBase { - analyzer?: string; - boost_terms?: double; - fields?: Field[]; - include?: boolean; - like?: Like[]; - max_doc_freq?: integer; - max_query_terms?: integer; - max_word_length?: integer; - min_doc_freq?: integer; - minimum_should_match?: MinimumShouldMatch; - min_term_freq?: integer; - min_word_length?: integer; - per_field_analyzer?: Dictionary; - routing?: Routing; - stop_words?: StopWords; - unlike?: Like[]; - version?: long; - version_type?: VersionType; + analyzer?: string + boost_terms?: double + fields?: Field[] + include?: boolean + like?: Like[] + max_doc_freq?: integer + max_query_terms?: integer + max_word_length?: integer + min_doc_freq?: integer + minimum_should_match?: MinimumShouldMatch + min_term_freq?: integer + min_word_length?: integer + per_field_analyzer?: Dictionary + routing?: Routing + stop_words?: StopWords + unlike?: Like[] + version?: long + version_type?: VersionType } diff --git a/specification/specs/query_dsl/specialized/more_like_this/like/LikeDocument.ts b/specification/specs/query_dsl/specialized/more_like_this/like/LikeDocument.ts index 73c46dc720..7754a56154 100644 --- a/specification/specs/query_dsl/specialized/more_like_this/like/LikeDocument.ts +++ b/specification/specs/query_dsl/specialized/more_like_this/like/LikeDocument.ts @@ -1,9 +1,9 @@ class LikeDocument { /** @prop_serializer SourceFormatter`1 */ - doc?: UserDefinedValue; - fields?: Field[]; - _id?: Id; - _index?: IndexName; - per_field_analyzer?: Dictionary; - routing?: Routing; + doc?: UserDefinedValue + fields?: Field[] + _id?: Id + _index?: IndexName + per_field_analyzer?: Dictionary + routing?: Routing } diff --git a/specification/specs/query_dsl/specialized/percolate/PercolateQuery.ts b/specification/specs/query_dsl/specialized/percolate/PercolateQuery.ts index b39f4ba2e7..cd8e4c7ffa 100644 --- a/specification/specs/query_dsl/specialized/percolate/PercolateQuery.ts +++ b/specification/specs/query_dsl/specialized/percolate/PercolateQuery.ts @@ -1,12 +1,12 @@ class PercolateQuery extends QueryBase { /** @prop_serializer SourceFormatter`1 */ - document?: UserDefinedValue; + document?: UserDefinedValue /** @prop_serializer SourceFormatter`1 */ - documents?: UserDefinedValue[]; - field?: Field; - id?: Id; - index?: IndexName; - preference?: string; - routing?: Routing; - version?: long; + documents?: UserDefinedValue[] + field?: Field + id?: Id + index?: IndexName + preference?: string + routing?: Routing + version?: long } diff --git a/specification/specs/query_dsl/specialized/pinned/PinnedQuery.ts b/specification/specs/query_dsl/specialized/pinned/PinnedQuery.ts index 2e3d9ff6e7..82fdef5c39 100644 --- a/specification/specs/query_dsl/specialized/pinned/PinnedQuery.ts +++ b/specification/specs/query_dsl/specialized/pinned/PinnedQuery.ts @@ -1,4 +1,4 @@ class PinnedQuery extends QueryBase { - ids?: Id[]; - organic?: QueryContainer; + ids?: Id[] + organic?: QueryContainer } diff --git a/specification/specs/query_dsl/specialized/rank_feature/RankFeatureFunction.ts b/specification/specs/query_dsl/specialized/rank_feature/RankFeatureFunction.ts index b71e58cd4c..fac3de2b4b 100644 --- a/specification/specs/query_dsl/specialized/rank_feature/RankFeatureFunction.ts +++ b/specification/specs/query_dsl/specialized/rank_feature/RankFeatureFunction.ts @@ -1,2 +1 @@ -class RankFeatureFunction { -} +class RankFeatureFunction {} diff --git a/specification/specs/query_dsl/specialized/rank_feature/RankFeatureQuery.ts b/specification/specs/query_dsl/specialized/rank_feature/RankFeatureQuery.ts index e5747e8318..273a37472c 100644 --- a/specification/specs/query_dsl/specialized/rank_feature/RankFeatureQuery.ts +++ b/specification/specs/query_dsl/specialized/rank_feature/RankFeatureQuery.ts @@ -1,4 +1,4 @@ -@class_serializer("RankFeatureQueryFormatter") +@class_serializer('RankFeatureQueryFormatter') class RankFeatureQuery extends QueryBase { - function?: RankFeatureFunction; + function?: RankFeatureFunction } diff --git a/specification/specs/query_dsl/specialized/script/ScriptQuery.ts b/specification/specs/query_dsl/specialized/script/ScriptQuery.ts index 33edebc6fa..0d268b498d 100644 --- a/specification/specs/query_dsl/specialized/script/ScriptQuery.ts +++ b/specification/specs/query_dsl/specialized/script/ScriptQuery.ts @@ -1,3 +1,3 @@ class ScriptQuery extends QueryBase { - script?: Script; + script?: Script } diff --git a/specification/specs/query_dsl/specialized/script_score/ScriptScoreQuery.ts b/specification/specs/query_dsl/specialized/script_score/ScriptScoreQuery.ts index 3dd5e216a6..fd56ab8308 100644 --- a/specification/specs/query_dsl/specialized/script_score/ScriptScoreQuery.ts +++ b/specification/specs/query_dsl/specialized/script_score/ScriptScoreQuery.ts @@ -1,4 +1,4 @@ class ScriptScoreQuery extends QueryBase { - query?: QueryContainer; - script?: Script; + query?: QueryContainer + script?: Script } diff --git a/specification/specs/query_dsl/specialized/shape/ShapeQuery.ts b/specification/specs/query_dsl/specialized/shape/ShapeQuery.ts index af08f2f052..5269534e5f 100644 --- a/specification/specs/query_dsl/specialized/shape/ShapeQuery.ts +++ b/specification/specs/query_dsl/specialized/shape/ShapeQuery.ts @@ -1,7 +1,7 @@ -@class_serializer("CompositeFormatter`3") +@class_serializer('CompositeFormatter`3') class ShapeQuery extends QueryBase { - ignore_unmapped?: boolean; - indexed_shape?: FieldLookup; - relation?: ShapeRelation; - shape?: GeoShape; + ignore_unmapped?: boolean + indexed_shape?: FieldLookup + relation?: ShapeRelation + shape?: GeoShape } diff --git a/specification/specs/query_dsl/term_level/exists/ExistsQuery.ts b/specification/specs/query_dsl/term_level/exists/ExistsQuery.ts index adab3fd11c..187c332811 100644 --- a/specification/specs/query_dsl/term_level/exists/ExistsQuery.ts +++ b/specification/specs/query_dsl/term_level/exists/ExistsQuery.ts @@ -1,3 +1,3 @@ class ExistsQuery extends QueryBase { - field?: Field; + field?: Field } diff --git a/specification/specs/query_dsl/term_level/fuzzy/FuzzyQuery.ts b/specification/specs/query_dsl/term_level/fuzzy/FuzzyQuery.ts index b9ac097730..7c63ae6fc7 100644 --- a/specification/specs/query_dsl/term_level/fuzzy/FuzzyQuery.ts +++ b/specification/specs/query_dsl/term_level/fuzzy/FuzzyQuery.ts @@ -1,7 +1,7 @@ -@class_serializer("FuzzyQueryFormatter") +@class_serializer('FuzzyQueryFormatter') class FuzzyQuery extends QueryBase { - max_expansions?: integer; - prefix_length?: integer; - rewrite?: MultiTermQueryRewrite; - transpositions?: boolean; + max_expansions?: integer + prefix_length?: integer + rewrite?: MultiTermQueryRewrite + transpositions?: boolean } diff --git a/specification/specs/query_dsl/term_level/ids/IdsQuery.ts b/specification/specs/query_dsl/term_level/ids/IdsQuery.ts index 2cdc9ab31d..fd033d42a6 100644 --- a/specification/specs/query_dsl/term_level/ids/IdsQuery.ts +++ b/specification/specs/query_dsl/term_level/ids/IdsQuery.ts @@ -1,3 +1,3 @@ class IdsQuery extends QueryBase { - values?: Id[]; + values?: Id[] } diff --git a/specification/specs/query_dsl/term_level/prefix/PrefixQuery.ts b/specification/specs/query_dsl/term_level/prefix/PrefixQuery.ts index 9d06a6774c..ed064d05e2 100644 --- a/specification/specs/query_dsl/term_level/prefix/PrefixQuery.ts +++ b/specification/specs/query_dsl/term_level/prefix/PrefixQuery.ts @@ -1,4 +1,4 @@ -@class_serializer("FieldNameQueryFormatter`2") +@class_serializer('FieldNameQueryFormatter`2') class PrefixQuery extends QueryBase { - rewrite?: MultiTermQueryRewrite; + rewrite?: MultiTermQueryRewrite } diff --git a/specification/specs/query_dsl/term_level/range/RangeQuery.ts b/specification/specs/query_dsl/term_level/range/RangeQuery.ts index 256848d056..3d7f91dd79 100644 --- a/specification/specs/query_dsl/term_level/range/RangeQuery.ts +++ b/specification/specs/query_dsl/term_level/range/RangeQuery.ts @@ -1,14 +1,14 @@ -@class_serializer("RangeQueryFormatter") +@class_serializer('RangeQueryFormatter') class RangeQuery extends QueryBase { - gt?: double | DateMath; - gte?: double | DateMath; - lt?: double | DateMath; - lte?: double | DateMath; - relation?: RangeRelation; + gt?: double | DateMath + gte?: double | DateMath + lt?: double | DateMath + lte?: double | DateMath + relation?: RangeRelation - time_zone?: string; + time_zone?: string //TODO obsolete, update yaml tests to no longer use this - from?: double | DateMath; + from?: double | DateMath to?: double | DateMath } diff --git a/specification/specs/query_dsl/term_level/regexp/RegexpQuery.ts b/specification/specs/query_dsl/term_level/regexp/RegexpQuery.ts index 2d7aa3532d..4c0d9da68f 100644 --- a/specification/specs/query_dsl/term_level/regexp/RegexpQuery.ts +++ b/specification/specs/query_dsl/term_level/regexp/RegexpQuery.ts @@ -1,6 +1,6 @@ -@class_serializer("FieldNameQueryFormatter`2") +@class_serializer('FieldNameQueryFormatter`2') class RegexpQuery extends QueryBase { - flags?: string; - max_determinized_states?: integer; - value?: string; + flags?: string + max_determinized_states?: integer + value?: string } diff --git a/specification/specs/query_dsl/term_level/term/TermQuery.ts b/specification/specs/query_dsl/term_level/term/TermQuery.ts index f4ffc08d6a..1a4bea2238 100644 --- a/specification/specs/query_dsl/term_level/term/TermQuery.ts +++ b/specification/specs/query_dsl/term_level/term/TermQuery.ts @@ -1,5 +1,5 @@ -@class_serializer("FieldNameQueryFormatter`2") +@class_serializer('FieldNameQueryFormatter`2') class TermQuery extends QueryBase { /** @prop_serializer SourceWriteFormatter`1 */ - value?: string | float | boolean; + value?: string | float | boolean } diff --git a/specification/specs/query_dsl/term_level/terms/TermsQuery.ts b/specification/specs/query_dsl/term_level/terms/TermsQuery.ts index b89157ac30..d7159d6c12 100644 --- a/specification/specs/query_dsl/term_level/terms/TermsQuery.ts +++ b/specification/specs/query_dsl/term_level/terms/TermsQuery.ts @@ -1,8 +1,8 @@ -@class_serializer("TermsQueryFormatter") +@class_serializer('TermsQueryFormatter') class TermsQuery extends QueryBase { - terms?: string[]; - index?: IndexName; - id?: Id; - path?: string; + terms?: string[] + index?: IndexName + id?: Id + path?: string routing?: Routing } diff --git a/specification/specs/query_dsl/term_level/terms_set/TermsSetQuery.ts b/specification/specs/query_dsl/term_level/terms_set/TermsSetQuery.ts index 4d455ad0ed..2da7b7c16c 100644 --- a/specification/specs/query_dsl/term_level/terms_set/TermsSetQuery.ts +++ b/specification/specs/query_dsl/term_level/terms_set/TermsSetQuery.ts @@ -1,7 +1,7 @@ -@class_serializer("FieldNameQueryFormatter`2") +@class_serializer('FieldNameQueryFormatter`2') class TermsSetQuery extends QueryBase { - minimum_should_match_field?: Field; - minimum_should_match_script?: Script; + minimum_should_match_field?: Field + minimum_should_match_script?: Script /** @prop_serializer SourceWriteFormatter`1 */ - terms?: string[]; + terms?: string[] } diff --git a/specification/specs/query_dsl/term_level/type/TypeQuery.ts b/specification/specs/query_dsl/term_level/type/TypeQuery.ts index b8960238ba..f23319980a 100644 --- a/specification/specs/query_dsl/term_level/type/TypeQuery.ts +++ b/specification/specs/query_dsl/term_level/type/TypeQuery.ts @@ -1,3 +1,3 @@ class TypeQuery extends QueryBase { - value: string; + value: string } diff --git a/specification/specs/query_dsl/term_level/wildcard/WildcardQuery.ts b/specification/specs/query_dsl/term_level/wildcard/WildcardQuery.ts index 56b3d6e1e8..54adf6c742 100644 --- a/specification/specs/query_dsl/term_level/wildcard/WildcardQuery.ts +++ b/specification/specs/query_dsl/term_level/wildcard/WildcardQuery.ts @@ -1,4 +1,4 @@ -@class_serializer("FieldNameQueryFormatter`2") +@class_serializer('FieldNameQueryFormatter`2') class WildcardQuery extends QueryBase { - rewrite?: MultiTermQueryRewrite; + rewrite?: MultiTermQueryRewrite } diff --git a/specification/specs/search/TypedSearchRequest.ts b/specification/specs/search/TypedSearchRequest.ts index ec51473e4f..a17d7f662c 100644 --- a/specification/specs/search/TypedSearchRequest.ts +++ b/specification/specs/search/TypedSearchRequest.ts @@ -1,2 +1 @@ -class TypedSearchRequest { -} +class TypedSearchRequest {} diff --git a/specification/specs/search/count/CountRequest.ts b/specification/specs/search/count/CountRequest.ts index d0964ae27d..91f3ee40dd 100644 --- a/specification/specs/search/count/CountRequest.ts +++ b/specification/specs/search/count/CountRequest.ts @@ -1,26 +1,26 @@ -@rest_spec_name("count") +@rest_spec_name('count') class CountRequest extends RequestBase { path_parts?: { - index?: Indices; - type?: TypeNames; + index?: Indices + type?: TypeNames } query_parameters?: { - allow_no_indices?: boolean; - analyzer?: string; - analyze_wildcard?: boolean; - default_operator?: DefaultOperator; - df?: string; - expand_wildcards?: ExpandWildcards; - ignore_throttled?: boolean; - ignore_unavailable?: boolean; - lenient?: boolean; - min_score?: double; - preference?: string; - query_on_query_string?: string; - routing?: Routing; - terminate_after?: long; + allow_no_indices?: boolean + analyzer?: string + analyze_wildcard?: boolean + default_operator?: DefaultOperator + df?: string + expand_wildcards?: ExpandWildcards + ignore_throttled?: boolean + ignore_unavailable?: boolean + lenient?: boolean + min_score?: double + preference?: string + query_on_query_string?: string + routing?: Routing + terminate_after?: long } body?: { - query?: QueryContainer; + query?: QueryContainer } } diff --git a/specification/specs/search/count/CountResponse.ts b/specification/specs/search/count/CountResponse.ts index db1d1543cb..4348132ae6 100644 --- a/specification/specs/search/count/CountResponse.ts +++ b/specification/specs/search/count/CountResponse.ts @@ -1,4 +1,4 @@ class CountResponse extends ResponseBase { - count: long; - _shards: ShardStatistics; + count: long + _shards: ShardStatistics } diff --git a/specification/specs/search/explain/ExplainRequest.ts b/specification/specs/search/explain/ExplainRequest.ts index 8b0afda0fd..aad16cb334 100644 --- a/specification/specs/search/explain/ExplainRequest.ts +++ b/specification/specs/search/explain/ExplainRequest.ts @@ -1,25 +1,25 @@ -@rest_spec_name("explain") +@rest_spec_name('explain') class ExplainRequest extends RequestBase { path_parts?: { - id: Id; - index: IndexName; - type?: TypeName; + id: Id + index: IndexName + type?: TypeName } query_parameters?: { - analyzer?: string; - analyze_wildcard?: boolean; - default_operator?: DefaultOperator; - df?: string; - lenient?: boolean; - preference?: string; - query_on_query_string?: string; - routing?: Routing; - source_enabled?: boolean; - source_excludes?: Field[]; - source_includes?: Field[]; - stored_fields?: Field[]; + analyzer?: string + analyze_wildcard?: boolean + default_operator?: DefaultOperator + df?: string + lenient?: boolean + preference?: string + query_on_query_string?: string + routing?: Routing + source_enabled?: boolean + source_excludes?: Field[] + source_includes?: Field[] + stored_fields?: Field[] } body?: { - query?: QueryContainer; + query?: QueryContainer } } diff --git a/specification/specs/search/explain/ExplainResponse.ts b/specification/specs/search/explain/ExplainResponse.ts index 2a9645449c..e47875dcb4 100644 --- a/specification/specs/search/explain/ExplainResponse.ts +++ b/specification/specs/search/explain/ExplainResponse.ts @@ -1,5 +1,5 @@ class ExplainResponse extends ResponseBase { - explanation: ExplanationDetail; - get: InlineGet; - matched: boolean; + explanation: ExplanationDetail + get: InlineGet + matched: boolean } diff --git a/specification/specs/search/explain/Explanation.ts b/specification/specs/search/explain/Explanation.ts index 49def821cb..e32d418968 100644 --- a/specification/specs/search/explain/Explanation.ts +++ b/specification/specs/search/explain/Explanation.ts @@ -1,5 +1,5 @@ class Explanation { - description: string; - details: ExplanationDetail[]; - value: float; + description: string + details: ExplanationDetail[] + value: float } diff --git a/specification/specs/search/explain/ExplanationDetail.ts b/specification/specs/search/explain/ExplanationDetail.ts index 96bd983aaf..4e336b9e02 100644 --- a/specification/specs/search/explain/ExplanationDetail.ts +++ b/specification/specs/search/explain/ExplanationDetail.ts @@ -1,5 +1,5 @@ class ExplanationDetail { - description: string; - details: ExplanationDetail[]; - value: float; + description: string + details: ExplanationDetail[] + value: float } diff --git a/specification/specs/search/explain/InlineGet.ts b/specification/specs/search/explain/InlineGet.ts index a1dc69ce1b..a7209c7b32 100644 --- a/specification/specs/search/explain/InlineGet.ts +++ b/specification/specs/search/explain/InlineGet.ts @@ -1,8 +1,8 @@ class InlineGet { - fields?: Dictionary; - found: boolean; - _seq_no: long; - _primary_term: long; + fields?: Dictionary + found: boolean + _seq_no: long + _primary_term: long /** @prop_serializer SourceFormatter`1 */ - _source: TDocument; + _source: TDocument } diff --git a/specification/specs/search/field_capabilities/FieldCapabilities.ts b/specification/specs/search/field_capabilities/FieldCapabilities.ts index 0b0ed2186f..db3c0d2611 100644 --- a/specification/specs/search/field_capabilities/FieldCapabilities.ts +++ b/specification/specs/search/field_capabilities/FieldCapabilities.ts @@ -1,11 +1,11 @@ class FieldCapabilities { - aggregatable: boolean; + aggregatable: boolean /** @prop_serializer IndicesFormatter */ - indices: Indices; - meta: Dictionary; + indices: Indices + meta: Dictionary /** @prop_serializer IndicesFormatter */ - non_aggregatable_indices: Indices; + non_aggregatable_indices: Indices /** @prop_serializer IndicesFormatter */ - non_searchable_indices: Indices; - searchable: boolean; + non_searchable_indices: Indices + searchable: boolean } diff --git a/specification/specs/search/field_capabilities/FieldCapabilitiesRequest.ts b/specification/specs/search/field_capabilities/FieldCapabilitiesRequest.ts index 6279cb236e..c1fc4fd5b8 100644 --- a/specification/specs/search/field_capabilities/FieldCapabilitiesRequest.ts +++ b/specification/specs/search/field_capabilities/FieldCapabilitiesRequest.ts @@ -1,15 +1,14 @@ -@rest_spec_name("field_caps") +@rest_spec_name('field_caps') class FieldCapabilitiesRequest extends RequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - fields?: Field | Field[]; - ignore_unavailable?: boolean; - include_unmapped?: boolean; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + fields?: Field | Field[] + ignore_unavailable?: boolean + include_unmapped?: boolean } + body?: {} } diff --git a/specification/specs/search/field_capabilities/FieldCapabilitiesResponse.ts b/specification/specs/search/field_capabilities/FieldCapabilitiesResponse.ts index 1636bc3a26..c94239cd8c 100644 --- a/specification/specs/search/field_capabilities/FieldCapabilitiesResponse.ts +++ b/specification/specs/search/field_capabilities/FieldCapabilitiesResponse.ts @@ -1,3 +1,3 @@ class FieldCapabilitiesResponse extends ResponseBase { - fields: Dictionary>; + fields: Dictionary> } diff --git a/specification/specs/search/multi_search/MultiSearchRequest.ts b/specification/specs/search/multi_search/MultiSearchRequest.ts index 1d73d6c3ff..66f4fdd53f 100644 --- a/specification/specs/search/multi_search/MultiSearchRequest.ts +++ b/specification/specs/search/multi_search/MultiSearchRequest.ts @@ -1,20 +1,20 @@ -@rest_spec_name("msearch") -@class_serializer("MultiSearchFormatter") +@rest_spec_name('msearch') +@class_serializer('MultiSearchFormatter') class MultiSearchRequest extends RequestBase { path_parts?: { - index?: Indices; - type?: TypeNames; + index?: Indices + type?: TypeNames } query_parameters?: { - ccs_minimize_roundtrips?: boolean; - max_concurrent_searches?: long; - max_concurrent_shard_requests?: long; - pre_filter_shard_size?: long; - search_type?: SearchType; - total_hits_as_integer?: boolean; - typed_keys?: boolean; + ccs_minimize_roundtrips?: boolean + max_concurrent_searches?: long + max_concurrent_shard_requests?: long + pre_filter_shard_size?: long + search_type?: SearchType + total_hits_as_integer?: boolean + typed_keys?: boolean } body?: { - operations?: Dictionary; + operations?: Dictionary } } diff --git a/specification/specs/search/multi_search/MultiSearchResponse.ts b/specification/specs/search/multi_search/MultiSearchResponse.ts index a9d4e3005a..0192293fe3 100644 --- a/specification/specs/search/multi_search/MultiSearchResponse.ts +++ b/specification/specs/search/multi_search/MultiSearchResponse.ts @@ -1,4 +1,4 @@ -@class_serializer("MultiSearchResponseFormatter") +@class_serializer('MultiSearchResponseFormatter') class MultiSearchResponse extends ResponseBase { - responses: SearchResponse[]; + responses: SearchResponse[] } diff --git a/specification/specs/search/multi_search_template/MultiSearchTemplateRequest.ts b/specification/specs/search/multi_search_template/MultiSearchTemplateRequest.ts index a0cc1f9638..227a903387 100644 --- a/specification/specs/search/multi_search_template/MultiSearchTemplateRequest.ts +++ b/specification/specs/search/multi_search_template/MultiSearchTemplateRequest.ts @@ -1,18 +1,18 @@ -@rest_spec_name("msearch_template") -@class_serializer("MultiSearchTemplateFormatter") +@rest_spec_name('msearch_template') +@class_serializer('MultiSearchTemplateFormatter') class MultiSearchTemplateRequest extends RequestBase { path_parts?: { - index?: Indices; - type?: TypeNames; + index?: Indices + type?: TypeNames } query_parameters?: { - ccs_minimize_roundtrips?: boolean; - max_concurrent_searches?: long; - search_type?: SearchType; - total_hits_as_integer?: boolean; - typed_keys?: boolean; + ccs_minimize_roundtrips?: boolean + max_concurrent_searches?: long + search_type?: SearchType + total_hits_as_integer?: boolean + typed_keys?: boolean } body?: { - operations?: Dictionary; + operations?: Dictionary } } diff --git a/specification/specs/search/scroll/clear_scroll/ClearScrollRequest.ts b/specification/specs/search/scroll/clear_scroll/ClearScrollRequest.ts index bf092e5b3f..a300926d3b 100644 --- a/specification/specs/search/scroll/clear_scroll/ClearScrollRequest.ts +++ b/specification/specs/search/scroll/clear_scroll/ClearScrollRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("clear_scroll") +@rest_spec_name('clear_scroll') class ClearScrollRequest extends RequestBase { path_parts?: { - scroll_id?: Ids; - } - query_parameters?: { + scroll_id?: Ids } + query_parameters?: {} body?: { - scroll_id?: string[]; + scroll_id?: string[] } } diff --git a/specification/specs/search/scroll/clear_scroll/ClearScrollResponse.ts b/specification/specs/search/scroll/clear_scroll/ClearScrollResponse.ts index 1d50ae1734..b7a7e84f81 100644 --- a/specification/specs/search/scroll/clear_scroll/ClearScrollResponse.ts +++ b/specification/specs/search/scroll/clear_scroll/ClearScrollResponse.ts @@ -1,2 +1 @@ -class ClearScrollResponse extends ResponseBase { -} +class ClearScrollResponse extends ResponseBase {} diff --git a/specification/specs/search/scroll/scroll/ScrollRequest.ts b/specification/specs/search/scroll/scroll/ScrollRequest.ts index 9711e4118f..0f6d64d4de 100644 --- a/specification/specs/search/scroll/scroll/ScrollRequest.ts +++ b/specification/specs/search/scroll/scroll/ScrollRequest.ts @@ -1,14 +1,14 @@ -@rest_spec_name("scroll") +@rest_spec_name('scroll') class ScrollRequest extends RequestBase { path_parts?: { - scroll_id?: Id; + scroll_id?: Id } query_parameters?: { - total_hits_as_integer?: boolean; - scroll?: Time; + total_hits_as_integer?: boolean + scroll?: Time } body?: { - scroll?: Time; - scroll_id?: string; + scroll?: Time + scroll_id?: string } } diff --git a/specification/specs/search/scroll/scroll/SlicedScroll.ts b/specification/specs/search/scroll/scroll/SlicedScroll.ts index cfe40ae078..9b0efc7bf6 100644 --- a/specification/specs/search/scroll/scroll/SlicedScroll.ts +++ b/specification/specs/search/scroll/scroll/SlicedScroll.ts @@ -1,5 +1,5 @@ class SlicedScroll { - field: Field; - id: integer; - max: integer; + field: Field + id: integer + max: integer } diff --git a/specification/specs/search/search/SearchRequest.ts b/specification/specs/search/search/SearchRequest.ts index 881cdd0df4..82afcd532c 100644 --- a/specification/specs/search/search/SearchRequest.ts +++ b/specification/specs/search/search/SearchRequest.ts @@ -1,83 +1,83 @@ /** * @type_stability stable */ -@rest_spec_name("search") +@rest_spec_name('search') class SearchRequest extends RequestBase { path_parts?: { - index?: Indices; - type?: TypeNames; + index?: Indices + type?: TypeNames } query_parameters?: { - allow_no_indices?: boolean; - allow_partial_search_results?: boolean; - analyzer?: string; - analyze_wildcard?: boolean; - batched_reduce_size?: long; - ccs_minimize_roundtrips?: boolean; - default_operator?: DefaultOperator; - df?: string; - docvalue_fields?: Field[]; - expand_wildcards?: ExpandWildcards; - ignore_throttled?: boolean; - ignore_unavailable?: boolean; - lenient?: boolean; - max_concurrent_shard_requests?: long; - preference?: string; - pre_filter_shard_size?: long; - query_on_query_string?: string; - request_cache?: boolean; - routing?: Routing; - scroll?: Time; - search_type?: SearchType; - sequence_number_primary_term?: boolean; - stats?: string[]; - stored_fields?: Field[]; - suggest_field?: Field; - suggest_mode?: SuggestMode; - suggest_size?: long; - suggest_text?: string; - total_hits_as_integer?: boolean; - track_total_hits?: boolean | integer; - typed_keys?: boolean; - rest_total_hits_as_int?: boolean; - _source_excludes?: Union; - _source_includes?: Union; - seq_no_primary_term?: boolean; - q?: string; - size?: integer; - from?: integer; - sort?: Array>; + allow_no_indices?: boolean + allow_partial_search_results?: boolean + analyzer?: string + analyze_wildcard?: boolean + batched_reduce_size?: long + ccs_minimize_roundtrips?: boolean + default_operator?: DefaultOperator + df?: string + docvalue_fields?: Field[] + expand_wildcards?: ExpandWildcards + ignore_throttled?: boolean + ignore_unavailable?: boolean + lenient?: boolean + max_concurrent_shard_requests?: long + preference?: string + pre_filter_shard_size?: long + query_on_query_string?: string + request_cache?: boolean + routing?: Routing + scroll?: Time + search_type?: SearchType + sequence_number_primary_term?: boolean + stats?: string[] + stored_fields?: Field[] + suggest_field?: Field + suggest_mode?: SuggestMode + suggest_size?: long + suggest_text?: string + total_hits_as_integer?: boolean + track_total_hits?: boolean | integer + typed_keys?: boolean + rest_total_hits_as_int?: boolean + _source_excludes?: Union + _source_includes?: Union + seq_no_primary_term?: boolean + q?: string + size?: integer + from?: integer + sort?: Array> } body?: { - aggs?: Dictionary; - aggregations?: Dictionary; - collapse?: FieldCollapse; - explain?: boolean; - from?: integer; - highlight?: Highlight; - track_total_hits?: boolean | integer; + aggs?: Dictionary + aggregations?: Dictionary + collapse?: FieldCollapse + explain?: boolean + from?: integer + highlight?: Highlight + track_total_hits?: boolean | integer /** @prop_serializer IndicesBoostFormatter */ - indices_boost?: Array>; - docvalue_fields?: DocValueField | Array; - min_score?: double; - post_filter?: QueryContainer; - profile?: boolean; - query?: QueryContainer; - rescore?: Rescore | Rescore[]; - script_fields?: Dictionary; - search_after?: Array; - size?: integer; - slice?: SlicedScroll; - sort?: Array>; - _source?: boolean | Fields | SourceFilter; - fields?: Array; - suggest?: Dictionary; - terminate_after?: long; - timeout?: string; - track_scores?: boolean; - version?: boolean; - seq_no_primary_term?: boolean; - stored_fields?: Field | Field[]; + indices_boost?: Array> + docvalue_fields?: DocValueField | Array + min_score?: double + post_filter?: QueryContainer + profile?: boolean + query?: QueryContainer + rescore?: Rescore | Rescore[] + script_fields?: Dictionary + search_after?: Array + size?: integer + slice?: SlicedScroll + sort?: Array> + _source?: boolean | Fields | SourceFilter + fields?: Array + suggest?: Dictionary + terminate_after?: long + timeout?: string + track_scores?: boolean + version?: boolean + seq_no_primary_term?: boolean + stored_fields?: Field | Field[] pit?: PointInTimeReference } } diff --git a/specification/specs/search/search/SearchResponse.ts b/specification/specs/search/search/SearchResponse.ts index 39d7a31b7a..418c6c3c69 100644 --- a/specification/specs/search/search/SearchResponse.ts +++ b/specification/specs/search/search/SearchResponse.ts @@ -1,18 +1,18 @@ class SearchResponse extends ResponseBase { - took: long; - timed_out: boolean; - _shards: ShardStatistics; - hits: HitsMetadata; + took: long + timed_out: boolean + _shards: ShardStatistics + hits: HitsMetadata - aggregations?: Dictionary; - _clusters?: ClusterStatistics; - documents?: TDocument[]; - fields?: Dictionary; - max_score?: double; - num_reduce_phases?: long; - profile?: Profile; - pit_id?: string; - _scroll_id?: string; - suggest?: SuggestDictionary; - terminated_early?: boolean; + aggregations?: Dictionary + _clusters?: ClusterStatistics + documents?: TDocument[] + fields?: Dictionary + max_score?: double + num_reduce_phases?: long + profile?: Profile + pit_id?: string + _scroll_id?: string + suggest?: SuggestDictionary + terminated_early?: boolean } diff --git a/specification/specs/search/search/collapsing/FieldCollapse.ts b/specification/specs/search/search/collapsing/FieldCollapse.ts index bc380fcde8..4f99aa4754 100644 --- a/specification/specs/search/search/collapsing/FieldCollapse.ts +++ b/specification/specs/search/search/collapsing/FieldCollapse.ts @@ -1,5 +1,5 @@ class FieldCollapse { - field: Field; - inner_hits?: InnerHits | InnerHits[]; - max_concurrent_group_searches?: integer; + field: Field + inner_hits?: InnerHits | InnerHits[] + max_concurrent_group_searches?: integer } diff --git a/specification/specs/search/search/highlighting/Highlight.ts b/specification/specs/search/search/highlighting/Highlight.ts index 2c82a715fc..5d1460df0e 100644 --- a/specification/specs/search/search/highlighting/Highlight.ts +++ b/specification/specs/search/search/highlighting/Highlight.ts @@ -1,21 +1,21 @@ class Highlight { - fields: Dictionary; + fields: Dictionary - type?: HighlighterType; - boundary_chars?: string; - boundary_max_scan?: integer; - boundary_scanner?: BoundaryScanner; - boundary_scanner_locale?: string; - encoder?: HighlighterEncoder; - fragmenter?: HighlighterFragmenter; - fragment_offset?: integer; - fragment_size?: integer; - max_fragment_length?: integer; - no_match_size?: integer; - number_of_fragments?: integer; - order?: HighlighterOrder; - post_tags?: string[]; - pre_tags?: string[]; - require_field_match?: boolean; - tags_schema?: HighlighterTagsSchema; + type?: HighlighterType + boundary_chars?: string + boundary_max_scan?: integer + boundary_scanner?: BoundaryScanner + boundary_scanner_locale?: string + encoder?: HighlighterEncoder + fragmenter?: HighlighterFragmenter + fragment_offset?: integer + fragment_size?: integer + max_fragment_length?: integer + no_match_size?: integer + number_of_fragments?: integer + order?: HighlighterOrder + post_tags?: string[] + pre_tags?: string[] + require_field_match?: boolean + tags_schema?: HighlighterTagsSchema } diff --git a/specification/specs/search/search/highlighting/HighlightField.ts b/specification/specs/search/search/highlighting/HighlightField.ts index 5e5db1428e..3f88481529 100644 --- a/specification/specs/search/search/highlighting/HighlightField.ts +++ b/specification/specs/search/search/highlighting/HighlightField.ts @@ -1,24 +1,24 @@ class HighlightField { - boundary_chars?: string; - boundary_max_scan?: integer; - boundary_scanner?: BoundaryScanner; - boundary_scanner_locale?: string; + boundary_chars?: string + boundary_max_scan?: integer + boundary_scanner?: BoundaryScanner + boundary_scanner_locale?: string //TODO I THINK this field does not exist - field?: Field; - force_source?: boolean; - fragmenter?: HighlighterFragmenter; - fragment_offset?: integer; - fragment_size?: integer; - highlight_query?: QueryContainer; - matched_fields?: Field[]; - max_fragment_length?: integer; - no_match_size?: integer; - number_of_fragments?: integer; - order?: HighlighterOrder; - phrase_limit?: integer; - post_tags?: string[]; - pre_tags?: string[]; - require_field_match?: boolean; - tags_schema?: HighlighterTagsSchema; - type?: Union; + field?: Field + force_source?: boolean + fragmenter?: HighlighterFragmenter + fragment_offset?: integer + fragment_size?: integer + highlight_query?: QueryContainer + matched_fields?: Field[] + max_fragment_length?: integer + no_match_size?: integer + number_of_fragments?: integer + order?: HighlighterOrder + phrase_limit?: integer + post_tags?: string[] + pre_tags?: string[] + require_field_match?: boolean + tags_schema?: HighlighterTagsSchema + type?: Union } diff --git a/specification/specs/search/search/hits/Hit.ts b/specification/specs/search/search/hits/Hit.ts index da56165d83..22b06f366a 100644 --- a/specification/specs/search/search/hits/Hit.ts +++ b/specification/specs/search/search/hits/Hit.ts @@ -1,25 +1,25 @@ class Hit { - _index: IndexName; - _id: Id; + _index: IndexName + _id: Id - _score?: double; - _type?: TypeName; + _score?: double + _type?: TypeName - _explanation?: Explanation; - fields?: Dictionary; - highlight?: Dictionary; + _explanation?: Explanation + fields?: Dictionary + highlight?: Dictionary /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - inner_hits?: Dictionary; - matched_queries?: string[]; - _nested?: NestedIdentity; - _ignored?: string[]; + inner_hits?: Dictionary + matched_queries?: string[] + _nested?: NestedIdentity + _ignored?: string[] - _shard?: string; - _node?: string; - _routing?: string; - _source?: TDocument; - _seq_no?: long; - _primary_term?: long; - _version?: long; - sort?: Array; + _shard?: string + _node?: string + _routing?: string + _source?: TDocument + _seq_no?: long + _primary_term?: long + _version?: long + sort?: Array } diff --git a/specification/specs/search/search/hits/HitMetadata.ts b/specification/specs/search/search/hits/HitMetadata.ts index 200d8c828c..f164c2d7a6 100644 --- a/specification/specs/search/search/hits/HitMetadata.ts +++ b/specification/specs/search/search/hits/HitMetadata.ts @@ -1,11 +1,11 @@ class HitMetadata { - _id: string; - _index: string; - _primary_term: long; - _routing: string; - _seq_no: long; + _id: string + _index: string + _primary_term: long + _routing: string + _seq_no: long /** @prop_serializer SourceFormatter`1 */ - _source: TDocument; - _type: string; - _version: long; + _source: TDocument + _type: string + _version: long } diff --git a/specification/specs/search/search/hits/HitsMetadata.ts b/specification/specs/search/search/hits/HitsMetadata.ts index a1c85072c7..8b5afd19ec 100644 --- a/specification/specs/search/search/hits/HitsMetadata.ts +++ b/specification/specs/search/search/hits/HitsMetadata.ts @@ -1,6 +1,6 @@ class HitsMetadata { - total: TotalHits | long; - hits: Hit[]; + total: TotalHits | long + hits: Hit[] - max_score?: double; + max_score?: double } diff --git a/specification/specs/search/search/hits/InnerHitsMetadata.ts b/specification/specs/search/search/hits/InnerHitsMetadata.ts index a8326b8c3a..ba692696d8 100644 --- a/specification/specs/search/search/hits/InnerHitsMetadata.ts +++ b/specification/specs/search/search/hits/InnerHitsMetadata.ts @@ -1,6 +1,6 @@ class InnerHitsMetadata { - total: TotalHits | long; - hits: Hit[]; + total: TotalHits | long + hits: Hit[] - max_score?: double; + max_score?: double } diff --git a/specification/specs/search/search/hits/InnerHitsResult.ts b/specification/specs/search/search/hits/InnerHitsResult.ts index 4a1821e8ac..7f72d415a5 100644 --- a/specification/specs/search/search/hits/InnerHitsResult.ts +++ b/specification/specs/search/search/hits/InnerHitsResult.ts @@ -1,3 +1,3 @@ class InnerHitsResult { - hits: InnerHitsMetadata; + hits: InnerHitsMetadata } diff --git a/specification/specs/search/search/hits/NestedIdentity.ts b/specification/specs/search/search/hits/NestedIdentity.ts index 0c6c9a75a1..5870eb0ad5 100644 --- a/specification/specs/search/search/hits/NestedIdentity.ts +++ b/specification/specs/search/search/hits/NestedIdentity.ts @@ -1,5 +1,5 @@ class NestedIdentity { - field: Field; - offset: integer; - _nested?: NestedIdentity; + field: Field + offset: integer + _nested?: NestedIdentity } diff --git a/specification/specs/search/search/hits/TotalHits.ts b/specification/specs/search/search/hits/TotalHits.ts index 0c1f5bf1c2..0aa0b023af 100644 --- a/specification/specs/search/search/hits/TotalHits.ts +++ b/specification/specs/search/search/hits/TotalHits.ts @@ -1,5 +1,5 @@ -@class_serializer("TotalHitsFormatter") +@class_serializer('TotalHitsFormatter') class TotalHits { - relation: TotalHitsRelation; - value: long; + relation: TotalHitsRelation + value: long } diff --git a/specification/specs/search/search/inner_hits/InnerHits.ts b/specification/specs/search/search/inner_hits/InnerHits.ts index 5190cd62c6..aeda360d05 100644 --- a/specification/specs/search/search/inner_hits/InnerHits.ts +++ b/specification/specs/search/search/inner_hits/InnerHits.ts @@ -1,16 +1,16 @@ class InnerHits { - name?: string; - size?: integer; - from?: integer; - collapse?: FieldCollapse; - docvalue_fields?: Field[]; - explain?: boolean; - highlight?: Highlight; - ignore_unmapped?: boolean; - script_fields?: Dictionary; - seq_no_primary_term?: boolean; - fields?: Field[]; - sort?: Array>>; - _source?: Union; - version?: boolean; + name?: string + size?: integer + from?: integer + collapse?: FieldCollapse + docvalue_fields?: Field[] + explain?: boolean + highlight?: Highlight + ignore_unmapped?: boolean + script_fields?: Dictionary + seq_no_primary_term?: boolean + fields?: Field[] + sort?: Array>> + _source?: Union + version?: boolean } diff --git a/specification/specs/search/search/point_in_time/PointInTimeReference.ts b/specification/specs/search/search/point_in_time/PointInTimeReference.ts index eddcb7ee09..adbea49b4f 100644 --- a/specification/specs/search/search/point_in_time/PointInTimeReference.ts +++ b/specification/specs/search/search/point_in_time/PointInTimeReference.ts @@ -1,4 +1,4 @@ class PointInTimeReference { - id: string; - keep_alive?: Time; + id: string + keep_alive?: Time } diff --git a/specification/specs/search/search/profile/AggregationBreakdown.ts b/specification/specs/search/search/profile/AggregationBreakdown.ts index 48635e5a0c..7205d46bfd 100644 --- a/specification/specs/search/search/profile/AggregationBreakdown.ts +++ b/specification/specs/search/search/profile/AggregationBreakdown.ts @@ -1,12 +1,12 @@ class AggregationBreakdown { - build_aggregation: long; - build_aggregation_count: long; - build_leaf_collector: long; - build_leaf_collector_count: long; - collect: long; - collect_count: long; - initialize: long; - initialize_count: long; - reduce: long; - reduce_count: long; + build_aggregation: long + build_aggregation_count: long + build_leaf_collector: long + build_leaf_collector_count: long + collect: long + collect_count: long + initialize: long + initialize_count: long + reduce: long + reduce_count: long } diff --git a/specification/specs/search/search/profile/AggregationProfile.ts b/specification/specs/search/search/profile/AggregationProfile.ts index 5190adfd62..5e858287c7 100644 --- a/specification/specs/search/search/profile/AggregationProfile.ts +++ b/specification/specs/search/search/profile/AggregationProfile.ts @@ -1,12 +1,9 @@ -class AggregationProfileDebug { - -} +class AggregationProfileDebug {} class AggregationProfile { - breakdown: AggregationBreakdown; - description: string; - time_in_nanos: long; - type: string; - debug: AggregationProfileDebug; - children?: AggregationProfileDebug[]; + breakdown: AggregationBreakdown + description: string + time_in_nanos: long + type: string + debug: AggregationProfileDebug + children?: AggregationProfileDebug[] } - diff --git a/specification/specs/search/search/profile/Collector.ts b/specification/specs/search/search/profile/Collector.ts index f80c17bef8..640fbec661 100644 --- a/specification/specs/search/search/profile/Collector.ts +++ b/specification/specs/search/search/profile/Collector.ts @@ -1,7 +1,7 @@ class Collector { - name: string; - reason: string; - time_in_nanos: long; + name: string + reason: string + time_in_nanos: long - children?: Collector[]; + children?: Collector[] } diff --git a/specification/specs/search/search/profile/Profile.ts b/specification/specs/search/search/profile/Profile.ts index 99309fb264..25fc03c504 100644 --- a/specification/specs/search/search/profile/Profile.ts +++ b/specification/specs/search/search/profile/Profile.ts @@ -1,3 +1,3 @@ class Profile { - shards: ShardProfile[]; + shards: ShardProfile[] } diff --git a/specification/specs/search/search/profile/QueryBreakdown.ts b/specification/specs/search/search/profile/QueryBreakdown.ts index 2d5f8f4843..b49510cd2b 100644 --- a/specification/specs/search/search/profile/QueryBreakdown.ts +++ b/specification/specs/search/search/profile/QueryBreakdown.ts @@ -1,20 +1,20 @@ class QueryBreakdown { - advance: long; - advance_count: long; - build_scorer: long; - build_scorer_count: long; - create_weight: long; - create_weight_count: long; - match: long; - match_count:long; - shallow_advance:long; - shallow_advance_count:long; - next_doc: long; - next_doc_count: long; - score: long; - score_count: long; - compute_max_score: long; - compute_max_score_count: long; - set_min_competitive_score:long; - set_min_competitive_score_count:long; + advance: long + advance_count: long + build_scorer: long + build_scorer_count: long + create_weight: long + create_weight_count: long + match: long + match_count: long + shallow_advance: long + shallow_advance_count: long + next_doc: long + next_doc_count: long + score: long + score_count: long + compute_max_score: long + compute_max_score_count: long + set_min_competitive_score: long + set_min_competitive_score_count: long } diff --git a/specification/specs/search/search/profile/QueryProfile.ts b/specification/specs/search/search/profile/QueryProfile.ts index 7c64bf173f..e4f4af7cb1 100644 --- a/specification/specs/search/search/profile/QueryProfile.ts +++ b/specification/specs/search/search/profile/QueryProfile.ts @@ -1,8 +1,8 @@ class QueryProfile { - breakdown: QueryBreakdown; - description: string; - time_in_nanos: long; - type: string; + breakdown: QueryBreakdown + description: string + time_in_nanos: long + type: string - children?: QueryProfile[]; + children?: QueryProfile[] } diff --git a/specification/specs/search/search/profile/SearchProfile.ts b/specification/specs/search/search/profile/SearchProfile.ts index 94d55ca768..5e4440aa49 100644 --- a/specification/specs/search/search/profile/SearchProfile.ts +++ b/specification/specs/search/search/profile/SearchProfile.ts @@ -1,5 +1,5 @@ class SearchProfile { - collector: Collector[]; - query: QueryProfile[]; - rewrite_time: long; + collector: Collector[] + query: QueryProfile[] + rewrite_time: long } diff --git a/specification/specs/search/search/profile/ShardProfile.ts b/specification/specs/search/search/profile/ShardProfile.ts index 472766c030..a5457a4ea2 100644 --- a/specification/specs/search/search/profile/ShardProfile.ts +++ b/specification/specs/search/search/profile/ShardProfile.ts @@ -1,5 +1,5 @@ class ShardProfile { - aggregations: AggregationProfile[]; - id: string; - searches: SearchProfile[]; + aggregations: AggregationProfile[] + id: string + searches: SearchProfile[] } diff --git a/specification/specs/search/search/rescoring/Rescore.ts b/specification/specs/search/search/rescoring/Rescore.ts index 7618754689..2c0897134a 100644 --- a/specification/specs/search/search/rescoring/Rescore.ts +++ b/specification/specs/search/search/rescoring/Rescore.ts @@ -1,4 +1,4 @@ class Rescore { - query: RescoreQuery; - window_size: integer; + query: RescoreQuery + window_size: integer } diff --git a/specification/specs/search/search/rescoring/RescoreQuery.ts b/specification/specs/search/search/rescoring/RescoreQuery.ts index 08a429eb7b..996e62c2ed 100644 --- a/specification/specs/search/search/rescoring/RescoreQuery.ts +++ b/specification/specs/search/search/rescoring/RescoreQuery.ts @@ -1,7 +1,7 @@ class RescoreQuery { /** @alternate_name Query */ - rescore_query: QueryContainer; - query_weight: double; - rescore_query_weight: double; - score_mode?: ScoreMode; + rescore_query: QueryContainer + query_weight: double + rescore_query_weight: double + score_mode?: ScoreMode } diff --git a/specification/specs/search/search/sort/NestedSort.ts b/specification/specs/search/search/sort/NestedSort.ts index a7f4cc0911..c21e449f96 100644 --- a/specification/specs/search/search/sort/NestedSort.ts +++ b/specification/specs/search/search/sort/NestedSort.ts @@ -1,7 +1,7 @@ class NestedSortValue { - filter: QueryContainer; - max_children: integer; - path: Field; + filter: QueryContainer + max_children: integer + path: Field } class NestedSort { @@ -9,5 +9,3 @@ class NestedSort { } // type NestedSort = Dictionary - - diff --git a/specification/specs/search/search/sort/Sort.ts b/specification/specs/search/search/sort/Sort.ts index 9539658729..9f36deec3f 100644 --- a/specification/specs/search/search/sort/Sort.ts +++ b/specification/specs/search/search/sort/Sort.ts @@ -1,9 +1,9 @@ -@class_serializer("SortFormatter") +@class_serializer('SortFormatter') class Sort { - missing?: Missing; - mode?: SortMode; - nested?: NestedSort; - numeric_type?: NumericType; - unmapped_type?: string; - order: SortOrder; + missing?: Missing + mode?: SortMode + nested?: NestedSort + numeric_type?: NumericType + unmapped_type?: string + order: SortOrder } diff --git a/specification/specs/search/search/source_filtering/SourceFilter.ts b/specification/specs/search/search/source_filtering/SourceFilter.ts index a3cf447201..9deaa4dfe9 100644 --- a/specification/specs/search/search/source_filtering/SourceFilter.ts +++ b/specification/specs/search/search/source_filtering/SourceFilter.ts @@ -1,10 +1,10 @@ -@class_serializer("SourceFilterFormatter") +@class_serializer('SourceFilterFormatter') class SourceFilter { - excludes?: Fields; - includes?: Fields; + excludes?: Fields + includes?: Fields } class DocValueField { - field: Field; - format?: string; + field: Field + format?: string } diff --git a/specification/specs/search/search_shards/SearchNode.ts b/specification/specs/search/search_shards/SearchNode.ts index f226ce9585..1ee1fa980a 100644 --- a/specification/specs/search/search_shards/SearchNode.ts +++ b/specification/specs/search/search_shards/SearchNode.ts @@ -1,4 +1,4 @@ class SearchNode { - name: string; - transport_address: string; + name: string + transport_address: string } diff --git a/specification/specs/search/search_shards/SearchShard.ts b/specification/specs/search/search_shards/SearchShard.ts index 2f81ae8c17..853867b5ad 100644 --- a/specification/specs/search/search_shards/SearchShard.ts +++ b/specification/specs/search/search_shards/SearchShard.ts @@ -1,8 +1,8 @@ class SearchShard { - index: string; - node: string; - primary: boolean; - relocating_node: string; - shard: integer; - state: string; + index: string + node: string + primary: boolean + relocating_node: string + shard: integer + state: string } diff --git a/specification/specs/search/search_shards/SearchShardsRequest.ts b/specification/specs/search/search_shards/SearchShardsRequest.ts index fdfc8cae2c..9efbdac78b 100644 --- a/specification/specs/search/search_shards/SearchShardsRequest.ts +++ b/specification/specs/search/search_shards/SearchShardsRequest.ts @@ -1,16 +1,15 @@ -@rest_spec_name("search_shards") +@rest_spec_name('search_shards') class SearchShardsRequest extends RequestBase { path_parts?: { - index?: Indices; + index?: Indices } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_unavailable?: boolean; - local?: boolean; - preference?: string; - routing?: Routing; - } - body?: { + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_unavailable?: boolean + local?: boolean + preference?: string + routing?: Routing } + body?: {} } diff --git a/specification/specs/search/search_shards/SearchShardsResponse.ts b/specification/specs/search/search_shards/SearchShardsResponse.ts index 9b952d2727..f583a58c53 100644 --- a/specification/specs/search/search_shards/SearchShardsResponse.ts +++ b/specification/specs/search/search_shards/SearchShardsResponse.ts @@ -1,4 +1,4 @@ class SearchShardsResponse extends ResponseBase { - nodes: Dictionary; - shards: SearchShard[][]; + nodes: Dictionary + shards: SearchShard[][] } diff --git a/specification/specs/search/search_template/SearchTemplateRequest.ts b/specification/specs/search/search_template/SearchTemplateRequest.ts index 835daab8ff..51b28783e9 100644 --- a/specification/specs/search/search_template/SearchTemplateRequest.ts +++ b/specification/specs/search/search_template/SearchTemplateRequest.ts @@ -1,27 +1,27 @@ -@rest_spec_name("search_template") +@rest_spec_name('search_template') class SearchTemplateRequest extends RequestBase { path_parts?: { - index?: Indices; - type?: TypeNames; + index?: Indices + type?: TypeNames } query_parameters?: { - allow_no_indices?: boolean; - ccs_minimize_roundtrips?: boolean; - expand_wildcards?: ExpandWildcards; - explain?: boolean; - ignore_throttled?: boolean; - ignore_unavailable?: boolean; - preference?: string; - profile?: boolean; - routing?: Routing; - scroll?: Time; - search_type?: SearchType; - total_hits_as_integer?: boolean; - typed_keys?: boolean; + allow_no_indices?: boolean + ccs_minimize_roundtrips?: boolean + expand_wildcards?: ExpandWildcards + explain?: boolean + ignore_throttled?: boolean + ignore_unavailable?: boolean + preference?: string + profile?: boolean + routing?: Routing + scroll?: Time + search_type?: SearchType + total_hits_as_integer?: boolean + typed_keys?: boolean } body?: { - id?: string; - params?: Dictionary; - source?: string; + id?: string + params?: Dictionary + source?: string } } diff --git a/specification/specs/search/search_template/render_search_template/RenderSearchTemplateRequest.ts b/specification/specs/search/search_template/render_search_template/RenderSearchTemplateRequest.ts index f3389c1a89..ee71b1cd5d 100644 --- a/specification/specs/search/search_template/render_search_template/RenderSearchTemplateRequest.ts +++ b/specification/specs/search/search_template/render_search_template/RenderSearchTemplateRequest.ts @@ -1,10 +1,9 @@ -@rest_spec_name("render_search_template") +@rest_spec_name('render_search_template') class RenderSearchTemplateRequest extends RequestBase { - query_parameters?: { - } + query_parameters?: {} body?: { - file?: string; - params?: Dictionary; - source?: string; + file?: string + params?: Dictionary + source?: string } } diff --git a/specification/specs/search/search_template/render_search_template/RenderSearchTemplateResponse.ts b/specification/specs/search/search_template/render_search_template/RenderSearchTemplateResponse.ts index 83f4341994..d6c4804e9e 100644 --- a/specification/specs/search/search_template/render_search_template/RenderSearchTemplateResponse.ts +++ b/specification/specs/search/search_template/render_search_template/RenderSearchTemplateResponse.ts @@ -1,3 +1,3 @@ class RenderSearchTemplateResponse extends ResponseBase { - template_output: LazyDocument; + template_output: LazyDocument } diff --git a/specification/specs/search/suggesters/Suggest.ts b/specification/specs/search/suggesters/Suggest.ts index 5ffee2f463..937dbf9bb9 100644 --- a/specification/specs/search/suggesters/Suggest.ts +++ b/specification/specs/search/suggesters/Suggest.ts @@ -1,6 +1,6 @@ class Suggest { - length: integer; - offset: integer; - options: SuggestOption[]; - text: string; + length: integer + offset: integer + options: SuggestOption[] + text: string } diff --git a/specification/specs/search/suggesters/SuggestBucket.ts b/specification/specs/search/suggesters/SuggestBucket.ts index 44a4934e00..1354df4083 100644 --- a/specification/specs/search/suggesters/SuggestBucket.ts +++ b/specification/specs/search/suggesters/SuggestBucket.ts @@ -1,8 +1,8 @@ class SuggestBucket { - completion: CompletionSuggester; - phrase: PhraseSuggester; - prefix: string; - regex: string; - term: TermSuggester; - text: string; + completion: CompletionSuggester + phrase: PhraseSuggester + prefix: string + regex: string + term: TermSuggester + text: string } diff --git a/specification/specs/search/suggesters/SuggestDictionary.ts b/specification/specs/search/suggesters/SuggestDictionary.ts index a95c7f9f27..d80f2db1cb 100644 --- a/specification/specs/search/suggesters/SuggestDictionary.ts +++ b/specification/specs/search/suggesters/SuggestDictionary.ts @@ -1,6 +1,6 @@ -@class_serializer("SuggestDictionaryFormatter`1") +@class_serializer('SuggestDictionaryFormatter`1') class SuggestDictionary { - item: Suggest[]; - keys: string[]; - values: Suggest[][]; + item: Suggest[] + keys: string[] + values: Suggest[][] } diff --git a/specification/specs/search/suggesters/SuggestOption.ts b/specification/specs/search/suggesters/SuggestOption.ts index 4a42076551..c21eaeda17 100644 --- a/specification/specs/search/suggesters/SuggestOption.ts +++ b/specification/specs/search/suggesters/SuggestOption.ts @@ -1,19 +1,19 @@ class SuggestOption { - collate_match: boolean; - contexts: Dictionary; - fields: Dictionary; - freq: long; - highlighted: string; - _id: string; - _index: IndexName; + collate_match: boolean + contexts: Dictionary + fields: Dictionary + freq: long + highlighted: string + _id: string + _index: IndexName /** This is a comment that will be exposed - * @alternate_name SuggestScore - * @prop_x he - * **/ - _score: double; + * @alternate_name SuggestScore + * @prop_x he + * **/ + _score: double /** @alternate_name DocumentScore **/ - score: double; + score: double /** @prop_serializer SourceFormatter`1 */ - _source: TDocument; - text: string; + _source: TDocument + text: string } diff --git a/specification/specs/search/suggesters/Suggester.ts b/specification/specs/search/suggesters/Suggester.ts index 821b0ec83e..aa472a3582 100644 --- a/specification/specs/search/suggesters/Suggester.ts +++ b/specification/specs/search/suggesters/Suggester.ts @@ -1,5 +1,5 @@ class Suggester { - analyzer: string; - field: Field; - size: integer; + analyzer: string + field: Field + size: integer } diff --git a/specification/specs/search/suggesters/completion_suggester/CompletionSuggester.ts b/specification/specs/search/suggesters/completion_suggester/CompletionSuggester.ts index 34180b97ba..0e33e02954 100644 --- a/specification/specs/search/suggesters/completion_suggester/CompletionSuggester.ts +++ b/specification/specs/search/suggesters/completion_suggester/CompletionSuggester.ts @@ -1,7 +1,7 @@ class CompletionSuggester { - contexts: Dictionary; - fuzzy: SuggestFuzziness; - prefix: string; - regex: string; - skip_duplicates: boolean; + contexts: Dictionary + fuzzy: SuggestFuzziness + prefix: string + regex: string + skip_duplicates: boolean } diff --git a/specification/specs/search/suggesters/completion_suggester/SuggestFuzziness.ts b/specification/specs/search/suggesters/completion_suggester/SuggestFuzziness.ts index 646404c7f6..b4bda12de4 100644 --- a/specification/specs/search/suggesters/completion_suggester/SuggestFuzziness.ts +++ b/specification/specs/search/suggesters/completion_suggester/SuggestFuzziness.ts @@ -1,7 +1,7 @@ class SuggestFuzziness { - fuzziness: Fuzziness; - min_length: integer; - prefix_length: integer; - transpositions: boolean; - unicode_aware: boolean; + fuzziness: Fuzziness + min_length: integer + prefix_length: integer + transpositions: boolean + unicode_aware: boolean } diff --git a/specification/specs/search/suggesters/context_suggester/SuggestContextQuery.ts b/specification/specs/search/suggesters/context_suggester/SuggestContextQuery.ts index 8df6a56f35..361ca2c279 100644 --- a/specification/specs/search/suggesters/context_suggester/SuggestContextQuery.ts +++ b/specification/specs/search/suggesters/context_suggester/SuggestContextQuery.ts @@ -1,7 +1,7 @@ class SuggestContextQuery { - boost: double; - context: Context; - neighbours: Union; - precision: Union; - prefix: boolean; + boost: double + context: Context + neighbours: Union + precision: Union + prefix: boolean } diff --git a/specification/specs/search/suggesters/phrase_suggester/DirectGenerator.ts b/specification/specs/search/suggesters/phrase_suggester/DirectGenerator.ts index 1b8fa1df50..ef04bb29a0 100644 --- a/specification/specs/search/suggesters/phrase_suggester/DirectGenerator.ts +++ b/specification/specs/search/suggesters/phrase_suggester/DirectGenerator.ts @@ -1,13 +1,13 @@ class DirectGenerator { - field: Field; - max_edits: integer; - max_inspections: float; - max_term_freq: float; - min_doc_freq: float; - min_word_length: integer; - post_filter: string; - pre_filter: string; - prefix_length: integer; - size: integer; - suggest_mode: SuggestMode; + field: Field + max_edits: integer + max_inspections: float + max_term_freq: float + min_doc_freq: float + min_word_length: integer + post_filter: string + pre_filter: string + prefix_length: integer + size: integer + suggest_mode: SuggestMode } diff --git a/specification/specs/search/suggesters/phrase_suggester/PhraseSuggestCollate.ts b/specification/specs/search/suggesters/phrase_suggester/PhraseSuggestCollate.ts index e200a1197e..a60ffe0ad9 100644 --- a/specification/specs/search/suggesters/phrase_suggester/PhraseSuggestCollate.ts +++ b/specification/specs/search/suggesters/phrase_suggester/PhraseSuggestCollate.ts @@ -1,5 +1,5 @@ class PhraseSuggestCollate { - params: Dictionary; - prune: boolean; - query: PhraseSuggestCollateQuery; + params: Dictionary + prune: boolean + query: PhraseSuggestCollateQuery } diff --git a/specification/specs/search/suggesters/phrase_suggester/PhraseSuggestCollateQuery.ts b/specification/specs/search/suggesters/phrase_suggester/PhraseSuggestCollateQuery.ts index c05c59dd6c..d606aa02fb 100644 --- a/specification/specs/search/suggesters/phrase_suggester/PhraseSuggestCollateQuery.ts +++ b/specification/specs/search/suggesters/phrase_suggester/PhraseSuggestCollateQuery.ts @@ -1,4 +1,4 @@ class PhraseSuggestCollateQuery { - id: Id; - source: string; + id: Id + source: string } diff --git a/specification/specs/search/suggesters/phrase_suggester/PhraseSuggestHighlight.ts b/specification/specs/search/suggesters/phrase_suggester/PhraseSuggestHighlight.ts index a3bced456b..f48ef867f6 100644 --- a/specification/specs/search/suggesters/phrase_suggester/PhraseSuggestHighlight.ts +++ b/specification/specs/search/suggesters/phrase_suggester/PhraseSuggestHighlight.ts @@ -1,4 +1,4 @@ class PhraseSuggestHighlight { - post_tag: string; - pre_tag: string; + post_tag: string + pre_tag: string } diff --git a/specification/specs/search/suggesters/phrase_suggester/PhraseSuggester.ts b/specification/specs/search/suggesters/phrase_suggester/PhraseSuggester.ts index 72b8bd3cda..6b00425828 100644 --- a/specification/specs/search/suggesters/phrase_suggester/PhraseSuggester.ts +++ b/specification/specs/search/suggesters/phrase_suggester/PhraseSuggester.ts @@ -1,15 +1,15 @@ class PhraseSuggester { - collate: PhraseSuggestCollate; - confidence: double; - direct_generator: DirectGenerator[]; - force_unigrams: boolean; - gram_size: integer; - highlight: PhraseSuggestHighlight; - max_errors: double; - real_word_error_likelihood: double; - separator: string; - shard_size: integer; - smoothing: SmoothingModelContainer; - text: string; - token_limit: integer; + collate: PhraseSuggestCollate + confidence: double + direct_generator: DirectGenerator[] + force_unigrams: boolean + gram_size: integer + highlight: PhraseSuggestHighlight + max_errors: double + real_word_error_likelihood: double + separator: string + shard_size: integer + smoothing: SmoothingModelContainer + text: string + token_limit: integer } diff --git a/specification/specs/search/suggesters/phrase_suggester/smoothing_model/LaplaceSmoothingModel.ts b/specification/specs/search/suggesters/phrase_suggester/smoothing_model/LaplaceSmoothingModel.ts index 3c4db80d05..fc614702e9 100644 --- a/specification/specs/search/suggesters/phrase_suggester/smoothing_model/LaplaceSmoothingModel.ts +++ b/specification/specs/search/suggesters/phrase_suggester/smoothing_model/LaplaceSmoothingModel.ts @@ -1,3 +1,3 @@ class LaplaceSmoothingModel { - alpha: double; + alpha: double } diff --git a/specification/specs/search/suggesters/phrase_suggester/smoothing_model/LinearInterpolationSmoothingModel.ts b/specification/specs/search/suggesters/phrase_suggester/smoothing_model/LinearInterpolationSmoothingModel.ts index 3fbfbaafe4..0a45f11cb8 100644 --- a/specification/specs/search/suggesters/phrase_suggester/smoothing_model/LinearInterpolationSmoothingModel.ts +++ b/specification/specs/search/suggesters/phrase_suggester/smoothing_model/LinearInterpolationSmoothingModel.ts @@ -1,5 +1,5 @@ class LinearInterpolationSmoothingModel { - bigram_lambda: double; - trigram_lambda: double; - unigram_lambda: double; + bigram_lambda: double + trigram_lambda: double + unigram_lambda: double } diff --git a/specification/specs/search/suggesters/phrase_suggester/smoothing_model/SmoothingModel.ts b/specification/specs/search/suggesters/phrase_suggester/smoothing_model/SmoothingModel.ts index c5b45d849c..cfc0dc6f63 100644 --- a/specification/specs/search/suggesters/phrase_suggester/smoothing_model/SmoothingModel.ts +++ b/specification/specs/search/suggesters/phrase_suggester/smoothing_model/SmoothingModel.ts @@ -1,2 +1 @@ -class SmoothingModel { -} +class SmoothingModel {} diff --git a/specification/specs/search/suggesters/phrase_suggester/smoothing_model/SmoothingModelContainer.ts b/specification/specs/search/suggesters/phrase_suggester/smoothing_model/SmoothingModelContainer.ts index 20c5f6351a..2db24dc3c8 100644 --- a/specification/specs/search/suggesters/phrase_suggester/smoothing_model/SmoothingModelContainer.ts +++ b/specification/specs/search/suggesters/phrase_suggester/smoothing_model/SmoothingModelContainer.ts @@ -1,5 +1,5 @@ class SmoothingModelContainer { - laplace: LaplaceSmoothingModel; - linear_interpolation: LinearInterpolationSmoothingModel; - stupid_backoff: StupidBackoffSmoothingModel; + laplace: LaplaceSmoothingModel + linear_interpolation: LinearInterpolationSmoothingModel + stupid_backoff: StupidBackoffSmoothingModel } diff --git a/specification/specs/search/suggesters/phrase_suggester/smoothing_model/StupidBackoffSmoothingModel.ts b/specification/specs/search/suggesters/phrase_suggester/smoothing_model/StupidBackoffSmoothingModel.ts index 722ef8a907..703c3530f7 100644 --- a/specification/specs/search/suggesters/phrase_suggester/smoothing_model/StupidBackoffSmoothingModel.ts +++ b/specification/specs/search/suggesters/phrase_suggester/smoothing_model/StupidBackoffSmoothingModel.ts @@ -1,3 +1,3 @@ class StupidBackoffSmoothingModel { - discount: double; + discount: double } diff --git a/specification/specs/search/suggesters/term_suggester/TermSuggester.ts b/specification/specs/search/suggesters/term_suggester/TermSuggester.ts index 307c6fd052..d9a4982373 100644 --- a/specification/specs/search/suggesters/term_suggester/TermSuggester.ts +++ b/specification/specs/search/suggesters/term_suggester/TermSuggester.ts @@ -1,14 +1,14 @@ class TermSuggester { - lowercase_terms: boolean; - max_edits: integer; - max_inspections: integer; - max_term_freq: float; - min_doc_freq: float; - min_word_length: integer; - prefix_length: integer; - shard_size: integer; - sort: SuggestSort; - string_distance: StringDistance; - suggest_mode: SuggestMode; - text: string; + lowercase_terms: boolean + max_edits: integer + max_inspections: integer + max_term_freq: float + min_doc_freq: float + min_word_length: integer + prefix_length: integer + shard_size: integer + sort: SuggestSort + string_distance: StringDistance + suggest_mode: SuggestMode + text: string } diff --git a/specification/specs/search/validate/ValidateQueryRequest.ts b/specification/specs/search/validate/ValidateQueryRequest.ts index f6f153fc6a..55ac4dc472 100644 --- a/specification/specs/search/validate/ValidateQueryRequest.ts +++ b/specification/specs/search/validate/ValidateQueryRequest.ts @@ -1,24 +1,24 @@ -@rest_spec_name("indices.validate_query") +@rest_spec_name('indices.validate_query') class ValidateQueryRequest extends RequestBase { path_parts?: { - index?: Indices; - type?: TypeNames; + index?: Indices + type?: TypeNames } query_parameters?: { - allow_no_indices?: boolean; - all_shards?: boolean; - analyzer?: string; - analyze_wildcard?: boolean; - default_operator?: DefaultOperator; - df?: string; - expand_wildcards?: ExpandWildcards; - explain?: boolean; - ignore_unavailable?: boolean; - lenient?: boolean; - query_on_query_string?: string; - rewrite?: boolean; + allow_no_indices?: boolean + all_shards?: boolean + analyzer?: string + analyze_wildcard?: boolean + default_operator?: DefaultOperator + df?: string + expand_wildcards?: ExpandWildcards + explain?: boolean + ignore_unavailable?: boolean + lenient?: boolean + query_on_query_string?: string + rewrite?: boolean } body?: { - query?: QueryContainer; + query?: QueryContainer } } diff --git a/specification/specs/search/validate/ValidateQueryResponse.ts b/specification/specs/search/validate/ValidateQueryResponse.ts index 2505143ae0..31cb03d92f 100644 --- a/specification/specs/search/validate/ValidateQueryResponse.ts +++ b/specification/specs/search/validate/ValidateQueryResponse.ts @@ -1,5 +1,5 @@ class ValidateQueryResponse extends ResponseBase { - explanations: ValidationExplanation[]; - _shards: ShardStatistics; - valid: boolean; + explanations: ValidationExplanation[] + _shards: ShardStatistics + valid: boolean } diff --git a/specification/specs/search/validate/ValidationExplanation.ts b/specification/specs/search/validate/ValidationExplanation.ts index 800be868ff..ce7309a5f7 100644 --- a/specification/specs/search/validate/ValidationExplanation.ts +++ b/specification/specs/search/validate/ValidationExplanation.ts @@ -1,6 +1,6 @@ class ValidationExplanation { - error: string; - explanation: string; - index: string; - valid: boolean; + error: string + explanation: string + index: string + valid: boolean } diff --git a/specification/specs/tsconfig.json b/specification/specs/tsconfig.json index 52e6be0103..dcaa8d5f4d 100644 --- a/specification/specs/tsconfig.json +++ b/specification/specs/tsconfig.json @@ -1,5 +1,5 @@ { - "compileOnSave" : false, + "compileOnSave": false, "compilerOptions": { "target": "es5", "module": "commonjs", @@ -13,7 +13,7 @@ "noLib": false, "preserveConstEnums": true, "suppressImplicitAnyIndexErrors": true, - "noEmit" : true + "noEmit": true }, - "exclude": [ "node_modules", "build", "src", "typings" ] + "exclude": ["node_modules", "build", "src", "typings"] } diff --git a/specification/specs/x_pack/async_search/AsyncSearch.ts b/specification/specs/x_pack/async_search/AsyncSearch.ts index 794c12afa1..2ab3b9d862 100644 --- a/specification/specs/x_pack/async_search/AsyncSearch.ts +++ b/specification/specs/x_pack/async_search/AsyncSearch.ts @@ -1,16 +1,16 @@ class AsyncSearch { - aggregations: Dictionary; - _clusters: ClusterStatistics; - documents: TDocument[]; - fields: Dictionary; - hits: HitsMetadata; - max_score: double; - num_reduce_phases: long; - profile: Profile; - _scroll_id: string; - _shards: ShardStatistics; - suggest: SuggestDictionary; - terminated_early: boolean; - timed_out: boolean; - took: long; + aggregations: Dictionary + _clusters: ClusterStatistics + documents: TDocument[] + fields: Dictionary + hits: HitsMetadata + max_score: double + num_reduce_phases: long + profile: Profile + _scroll_id: string + _shards: ShardStatistics + suggest: SuggestDictionary + terminated_early: boolean + timed_out: boolean + took: long } diff --git a/specification/specs/x_pack/async_search/AsyncSearchResponseBase.ts b/specification/specs/x_pack/async_search/AsyncSearchResponseBase.ts index 569e487d0e..4df31f362f 100644 --- a/specification/specs/x_pack/async_search/AsyncSearchResponseBase.ts +++ b/specification/specs/x_pack/async_search/AsyncSearchResponseBase.ts @@ -1,10 +1,10 @@ class AsyncSearchResponseBase extends ResponseBase { - expiration_time: Date; - expiration_time_in_millis: long; - id: string; - is_partial: boolean; - is_running: boolean; - response: AsyncSearch; - start_time: Date; - start_time_in_millis: long; + expiration_time: Date + expiration_time_in_millis: long + id: string + is_partial: boolean + is_running: boolean + response: AsyncSearch + start_time: Date + start_time_in_millis: long } diff --git a/specification/specs/x_pack/async_search/delete/AsyncSearchDeleteRequest.ts b/specification/specs/x_pack/async_search/delete/AsyncSearchDeleteRequest.ts index 9238967f74..301941408b 100644 --- a/specification/specs/x_pack/async_search/delete/AsyncSearchDeleteRequest.ts +++ b/specification/specs/x_pack/async_search/delete/AsyncSearchDeleteRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("async_search.delete") +@rest_spec_name('async_search.delete') class AsyncSearchDeleteRequest extends RequestBase { path_parts?: { - id: Id; - } - query_parameters?: { - } - body?: { + id: Id } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/async_search/delete/AsyncSearchDeleteResponse.ts b/specification/specs/x_pack/async_search/delete/AsyncSearchDeleteResponse.ts index 5bb0bc5efb..5ff3bfcccf 100644 --- a/specification/specs/x_pack/async_search/delete/AsyncSearchDeleteResponse.ts +++ b/specification/specs/x_pack/async_search/delete/AsyncSearchDeleteResponse.ts @@ -1,2 +1 @@ -class AsyncSearchDeleteResponse extends AcknowledgedResponseBase { -} +class AsyncSearchDeleteResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/async_search/get/AsyncSearchGetRequest.ts b/specification/specs/x_pack/async_search/get/AsyncSearchGetRequest.ts index 6daa69f712..ba02222c88 100644 --- a/specification/specs/x_pack/async_search/get/AsyncSearchGetRequest.ts +++ b/specification/specs/x_pack/async_search/get/AsyncSearchGetRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("async_search.get") +@rest_spec_name('async_search.get') class AsyncSearchGetRequest extends RequestBase { path_parts?: { - id: Id; - } - query_parameters?: { + id: Id } + query_parameters?: {} body?: { - keep_alive?: Time; - typed_keys?: boolean; - wait_for_completion_timeout?: Time; + keep_alive?: Time + typed_keys?: boolean + wait_for_completion_timeout?: Time } } diff --git a/specification/specs/x_pack/async_search/get/AsyncSearchGetResponse.ts b/specification/specs/x_pack/async_search/get/AsyncSearchGetResponse.ts index 18e486af25..745a0e1eda 100644 --- a/specification/specs/x_pack/async_search/get/AsyncSearchGetResponse.ts +++ b/specification/specs/x_pack/async_search/get/AsyncSearchGetResponse.ts @@ -1,2 +1 @@ -class AsyncSearchGetResponse extends ResponseBase { -} +class AsyncSearchGetResponse extends ResponseBase {} diff --git a/specification/specs/x_pack/async_search/submit/AsyncSearchSubmitRequest.ts b/specification/specs/x_pack/async_search/submit/AsyncSearchSubmitRequest.ts index 2d09db8b61..fd2ceb5286 100644 --- a/specification/specs/x_pack/async_search/submit/AsyncSearchSubmitRequest.ts +++ b/specification/specs/x_pack/async_search/submit/AsyncSearchSubmitRequest.ts @@ -1,62 +1,61 @@ -@rest_spec_name("async_search.submit") +@rest_spec_name('async_search.submit') class AsyncSearchSubmitRequest extends RequestBase { path_parts?: { - index?: Indices; - } - query_parameters?: { + index?: Indices } + query_parameters?: {} body?: { - aggs?: Dictionary; - allow_no_indices?: boolean; - allow_partial_search_results?: boolean; - analyzer?: string; - analyze_wildcard?: boolean; - batched_reduce_size?: long; - collapse?: FieldCollapse; - default_operator?: DefaultOperator; - df?: string; - docvalue_fields?: Field[]; - expand_wildcards?: ExpandWildcards; - explain?: boolean; - from?: integer; - highlight?: Highlight; - ignore_throttled?: boolean; - ignore_unavailable?: boolean; + aggs?: Dictionary + allow_no_indices?: boolean + allow_partial_search_results?: boolean + analyzer?: string + analyze_wildcard?: boolean + batched_reduce_size?: long + collapse?: FieldCollapse + default_operator?: DefaultOperator + df?: string + docvalue_fields?: Field[] + expand_wildcards?: ExpandWildcards + explain?: boolean + from?: integer + highlight?: Highlight + ignore_throttled?: boolean + ignore_unavailable?: boolean /** @prop_serializer IndicesBoostFormatter */ - indices_boost?: Dictionary; - keep_alive?: Time; - keep_on_completion?: boolean; - lenient?: boolean; - max_concurrent_shard_requests?: long; - min_score?: double; - post_filter?: QueryContainer; - preference?: string; - profile?: boolean; - query?: QueryContainer; - query_on_query_string?: string; - request_cache?: boolean; - rescore?: Rescore[]; - routing?: Routing; - script_fields?: Dictionary; - search_after?: UserDefinedValue[]; - search_type?: SearchType; - sequence_number_primary_term?: boolean; - size?: integer; - sort?: Sort[]; - _source?: Union; - stats?: string[]; - stored_fields?: Field[]; - suggest?: Dictionary; - suggest_field?: Field; - suggest_mode?: SuggestMode; - suggest_size?: long; - suggest_text?: string; - terminate_after?: long; - timeout?: string; - track_scores?: boolean; - track_total_hits?: boolean; - typed_keys?: boolean; - version?: boolean; - wait_for_completion_timeout?: Time; + indices_boost?: Dictionary + keep_alive?: Time + keep_on_completion?: boolean + lenient?: boolean + max_concurrent_shard_requests?: long + min_score?: double + post_filter?: QueryContainer + preference?: string + profile?: boolean + query?: QueryContainer + query_on_query_string?: string + request_cache?: boolean + rescore?: Rescore[] + routing?: Routing + script_fields?: Dictionary + search_after?: UserDefinedValue[] + search_type?: SearchType + sequence_number_primary_term?: boolean + size?: integer + sort?: Sort[] + _source?: Union + stats?: string[] + stored_fields?: Field[] + suggest?: Dictionary + suggest_field?: Field + suggest_mode?: SuggestMode + suggest_size?: long + suggest_text?: string + terminate_after?: long + timeout?: string + track_scores?: boolean + track_total_hits?: boolean + typed_keys?: boolean + version?: boolean + wait_for_completion_timeout?: Time } } diff --git a/specification/specs/x_pack/async_search/submit/AsyncSearchSubmitResponse.ts b/specification/specs/x_pack/async_search/submit/AsyncSearchSubmitResponse.ts index 0dd9d1c0cc..3f99fef44c 100644 --- a/specification/specs/x_pack/async_search/submit/AsyncSearchSubmitResponse.ts +++ b/specification/specs/x_pack/async_search/submit/AsyncSearchSubmitResponse.ts @@ -1,2 +1 @@ -class AsyncSearchSubmitResponse extends ResponseBase { -} +class AsyncSearchSubmitResponse extends ResponseBase {} diff --git a/specification/specs/x_pack/cross_cluster_replication/auto_follow/create_auto_follow_pattern/CreateAutoFollowPatternRequest.ts b/specification/specs/x_pack/cross_cluster_replication/auto_follow/create_auto_follow_pattern/CreateAutoFollowPatternRequest.ts index 83d891c2e0..282f1f345a 100644 --- a/specification/specs/x_pack/cross_cluster_replication/auto_follow/create_auto_follow_pattern/CreateAutoFollowPatternRequest.ts +++ b/specification/specs/x_pack/cross_cluster_replication/auto_follow/create_auto_follow_pattern/CreateAutoFollowPatternRequest.ts @@ -1,23 +1,22 @@ -@rest_spec_name("ccr.put_auto_follow_pattern") +@rest_spec_name('ccr.put_auto_follow_pattern') class CreateAutoFollowPatternRequest extends RequestBase { path_parts?: { - name: Name; - } - query_parameters?: { + name: Name } + query_parameters?: {} body?: { - follow_index_pattern?: string; - leader_index_patterns?: string[]; - max_outstanding_read_requests?: long; - max_outstanding_write_requests?: integer; - max_poll_timeout?: Time; - max_read_request_operation_count?: integer; - max_read_request_size?: string; - max_retry_delay?: Time; - max_write_buffer_count?: integer; - max_write_buffer_size?: string; - max_write_request_operation_count?: integer; - max_write_request_size?: string; - remote_cluster?: string; + follow_index_pattern?: string + leader_index_patterns?: string[] + max_outstanding_read_requests?: long + max_outstanding_write_requests?: integer + max_poll_timeout?: Time + max_read_request_operation_count?: integer + max_read_request_size?: string + max_retry_delay?: Time + max_write_buffer_count?: integer + max_write_buffer_size?: string + max_write_request_operation_count?: integer + max_write_request_size?: string + remote_cluster?: string } } diff --git a/specification/specs/x_pack/cross_cluster_replication/auto_follow/create_auto_follow_pattern/CreateAutoFollowPatternResponse.ts b/specification/specs/x_pack/cross_cluster_replication/auto_follow/create_auto_follow_pattern/CreateAutoFollowPatternResponse.ts index 6f2e692698..04eae4cc8f 100644 --- a/specification/specs/x_pack/cross_cluster_replication/auto_follow/create_auto_follow_pattern/CreateAutoFollowPatternResponse.ts +++ b/specification/specs/x_pack/cross_cluster_replication/auto_follow/create_auto_follow_pattern/CreateAutoFollowPatternResponse.ts @@ -1,2 +1 @@ -class CreateAutoFollowPatternResponse extends AcknowledgedResponseBase { -} +class CreateAutoFollowPatternResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/cross_cluster_replication/auto_follow/delete_auto_follow_pattern/DeleteAutoFollowPatternRequest.ts b/specification/specs/x_pack/cross_cluster_replication/auto_follow/delete_auto_follow_pattern/DeleteAutoFollowPatternRequest.ts index e2884e8754..37756f3f62 100644 --- a/specification/specs/x_pack/cross_cluster_replication/auto_follow/delete_auto_follow_pattern/DeleteAutoFollowPatternRequest.ts +++ b/specification/specs/x_pack/cross_cluster_replication/auto_follow/delete_auto_follow_pattern/DeleteAutoFollowPatternRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("ccr.delete_auto_follow_pattern") +@rest_spec_name('ccr.delete_auto_follow_pattern') class DeleteAutoFollowPatternRequest extends RequestBase { path_parts?: { - name: Name; - } - query_parameters?: { - } - body?: { + name: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/cross_cluster_replication/auto_follow/delete_auto_follow_pattern/DeleteAutoFollowPatternResponse.ts b/specification/specs/x_pack/cross_cluster_replication/auto_follow/delete_auto_follow_pattern/DeleteAutoFollowPatternResponse.ts index 0fd3cd5c80..ea9bb5c2e6 100644 --- a/specification/specs/x_pack/cross_cluster_replication/auto_follow/delete_auto_follow_pattern/DeleteAutoFollowPatternResponse.ts +++ b/specification/specs/x_pack/cross_cluster_replication/auto_follow/delete_auto_follow_pattern/DeleteAutoFollowPatternResponse.ts @@ -1,2 +1 @@ -class DeleteAutoFollowPatternResponse extends AcknowledgedResponseBase { -} +class DeleteAutoFollowPatternResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/cross_cluster_replication/auto_follow/get_auto_follow_pattern/AutoFollowPattern.ts b/specification/specs/x_pack/cross_cluster_replication/auto_follow/get_auto_follow_pattern/AutoFollowPattern.ts index 132362f8de..7055fc8bf3 100644 --- a/specification/specs/x_pack/cross_cluster_replication/auto_follow/get_auto_follow_pattern/AutoFollowPattern.ts +++ b/specification/specs/x_pack/cross_cluster_replication/auto_follow/get_auto_follow_pattern/AutoFollowPattern.ts @@ -1,15 +1,15 @@ class AutoFollowPattern { - follow_index_pattern: string; - leader_index_patterns: string[]; - max_outstanding_read_requests: long; - max_outstanding_write_requests: integer; - read_poll_timeout: Time; - max_read_request_operation_count: integer; - max_read_request_size: string; - max_retry_delay: Time; - max_write_buffer_count: integer; - max_write_buffer_size: string; - max_write_request_operation_count: integer; - max_write_request_size: string; - remote_cluster: string; + follow_index_pattern: string + leader_index_patterns: string[] + max_outstanding_read_requests: long + max_outstanding_write_requests: integer + read_poll_timeout: Time + max_read_request_operation_count: integer + max_read_request_size: string + max_retry_delay: Time + max_write_buffer_count: integer + max_write_buffer_size: string + max_write_request_operation_count: integer + max_write_request_size: string + remote_cluster: string } diff --git a/specification/specs/x_pack/cross_cluster_replication/auto_follow/get_auto_follow_pattern/GetAutoFollowPatternRequest.ts b/specification/specs/x_pack/cross_cluster_replication/auto_follow/get_auto_follow_pattern/GetAutoFollowPatternRequest.ts index 8dc491f8b9..d115d11e9c 100644 --- a/specification/specs/x_pack/cross_cluster_replication/auto_follow/get_auto_follow_pattern/GetAutoFollowPatternRequest.ts +++ b/specification/specs/x_pack/cross_cluster_replication/auto_follow/get_auto_follow_pattern/GetAutoFollowPatternRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("ccr.get_auto_follow_pattern") +@rest_spec_name('ccr.get_auto_follow_pattern') class GetAutoFollowPatternRequest extends RequestBase { path_parts?: { - name?: Name; - } - query_parameters?: { - } - body?: { + name?: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/cross_cluster_replication/auto_follow/get_auto_follow_pattern/GetAutoFollowPatternResponse.ts b/specification/specs/x_pack/cross_cluster_replication/auto_follow/get_auto_follow_pattern/GetAutoFollowPatternResponse.ts index 55affa7b21..d68cac1439 100644 --- a/specification/specs/x_pack/cross_cluster_replication/auto_follow/get_auto_follow_pattern/GetAutoFollowPatternResponse.ts +++ b/specification/specs/x_pack/cross_cluster_replication/auto_follow/get_auto_follow_pattern/GetAutoFollowPatternResponse.ts @@ -1,4 +1,4 @@ class GetAutoFollowPatternResponse extends ResponseBase { /** @prop_serializer AutoFollowPatternFormatter */ - patterns: Dictionary; + patterns: Dictionary } diff --git a/specification/specs/x_pack/cross_cluster_replication/auto_follow/pause_auto_follow_pattern/PauseAutoFollowPatternRequest.ts b/specification/specs/x_pack/cross_cluster_replication/auto_follow/pause_auto_follow_pattern/PauseAutoFollowPatternRequest.ts index 9584a28065..f98bec8732 100644 --- a/specification/specs/x_pack/cross_cluster_replication/auto_follow/pause_auto_follow_pattern/PauseAutoFollowPatternRequest.ts +++ b/specification/specs/x_pack/cross_cluster_replication/auto_follow/pause_auto_follow_pattern/PauseAutoFollowPatternRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("ccr.pause_auto_follow_pattern") +@rest_spec_name('ccr.pause_auto_follow_pattern') class PauseAutoFollowPatternRequest extends RequestBase { path_parts?: { - name: Name; - } - query_parameters?: { - } - body?: { + name: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/cross_cluster_replication/auto_follow/pause_auto_follow_pattern/PauseAutoFollowPatternResponse.ts b/specification/specs/x_pack/cross_cluster_replication/auto_follow/pause_auto_follow_pattern/PauseAutoFollowPatternResponse.ts index c237794c48..64674e0f8c 100644 --- a/specification/specs/x_pack/cross_cluster_replication/auto_follow/pause_auto_follow_pattern/PauseAutoFollowPatternResponse.ts +++ b/specification/specs/x_pack/cross_cluster_replication/auto_follow/pause_auto_follow_pattern/PauseAutoFollowPatternResponse.ts @@ -1,2 +1 @@ -class PauseAutoFollowPatternResponse extends AcknowledgedResponseBase { -} +class PauseAutoFollowPatternResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/cross_cluster_replication/auto_follow/resume_auto_follow_pattern/ResumeAutoFollowPatternRequest.ts b/specification/specs/x_pack/cross_cluster_replication/auto_follow/resume_auto_follow_pattern/ResumeAutoFollowPatternRequest.ts index a079622c85..53abc2ea68 100644 --- a/specification/specs/x_pack/cross_cluster_replication/auto_follow/resume_auto_follow_pattern/ResumeAutoFollowPatternRequest.ts +++ b/specification/specs/x_pack/cross_cluster_replication/auto_follow/resume_auto_follow_pattern/ResumeAutoFollowPatternRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("ccr.resume_auto_follow_pattern") +@rest_spec_name('ccr.resume_auto_follow_pattern') class ResumeAutoFollowPatternRequest extends RequestBase { path_parts?: { - name: Name; - } - query_parameters?: { - } - body?: { + name: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/cross_cluster_replication/auto_follow/resume_auto_follow_pattern/ResumeAutoFollowPatternResponse.ts b/specification/specs/x_pack/cross_cluster_replication/auto_follow/resume_auto_follow_pattern/ResumeAutoFollowPatternResponse.ts index 5d2f1c6368..3da93cffb6 100644 --- a/specification/specs/x_pack/cross_cluster_replication/auto_follow/resume_auto_follow_pattern/ResumeAutoFollowPatternResponse.ts +++ b/specification/specs/x_pack/cross_cluster_replication/auto_follow/resume_auto_follow_pattern/ResumeAutoFollowPatternResponse.ts @@ -1,2 +1 @@ -class ResumeAutoFollowPatternResponse extends AcknowledgedResponseBase { -} +class ResumeAutoFollowPatternResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/create_follow_index/CreateFollowIndexRequest.ts b/specification/specs/x_pack/cross_cluster_replication/follow/create_follow_index/CreateFollowIndexRequest.ts index e274a63032..aa3f0df94b 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/create_follow_index/CreateFollowIndexRequest.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/create_follow_index/CreateFollowIndexRequest.ts @@ -1,23 +1,23 @@ -@rest_spec_name("ccr.follow") +@rest_spec_name('ccr.follow') class CreateFollowIndexRequest extends RequestBase { path_parts?: { - index: IndexName; + index: IndexName } query_parameters?: { - wait_for_active_shards?: string; + wait_for_active_shards?: string } body?: { - leader_index?: IndexName; - max_outstanding_read_requests?: long; - max_outstanding_write_requests?: long; - max_read_request_operation_count?: long; - max_read_request_size?: string; - max_retry_delay?: Time; - max_write_buffer_count?: long; - max_write_buffer_size?: string; - max_write_request_operation_count?: long; - max_write_request_size?: string; - read_poll_timeout?: Time; - remote_cluster?: string; + leader_index?: IndexName + max_outstanding_read_requests?: long + max_outstanding_write_requests?: long + max_read_request_operation_count?: long + max_read_request_size?: string + max_retry_delay?: Time + max_write_buffer_count?: long + max_write_buffer_size?: string + max_write_request_operation_count?: long + max_write_request_size?: string + read_poll_timeout?: Time + remote_cluster?: string } } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/create_follow_index/CreateFollowIndexResponse.ts b/specification/specs/x_pack/cross_cluster_replication/follow/create_follow_index/CreateFollowIndexResponse.ts index 5ef80fe273..d3ff756892 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/create_follow_index/CreateFollowIndexResponse.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/create_follow_index/CreateFollowIndexResponse.ts @@ -1,5 +1,5 @@ class CreateFollowIndexResponse extends ResponseBase { - follow_index_created: boolean; - follow_index_shards_acked: boolean; - index_following_started: boolean; + follow_index_created: boolean + follow_index_shards_acked: boolean + index_following_started: boolean } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexReadException.ts b/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexReadException.ts index 9d754e208b..06f59c85d7 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexReadException.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexReadException.ts @@ -1,5 +1,5 @@ class FollowIndexReadException { - exception: ErrorCause; - from_seq_no: long; - retries: integer; + exception: ErrorCause + from_seq_no: long + retries: integer } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexShardStats.ts b/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexShardStats.ts index c04fe6cefc..c66ca51c23 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexShardStats.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexShardStats.ts @@ -1,31 +1,31 @@ class FollowIndexShardStats { - bytes_read: long; - failed_read_requests: long; - failed_write_requests: long; - fatal_exception: ErrorCause; - follower_aliases_version: long; - follower_global_checkpoint: long; - follower_index: string; - follower_mapping_version: long; - follower_max_seq_no: long; - follower_settings_version: long; - last_requested_seq_no: long; - leader_global_checkpoint: long; - leader_index: string; - leader_max_seq_no: long; - operations_read: long; - operations_written: long; - outstanding_read_requests: integer; - outstanding_write_requests: integer; - read_exceptions: FollowIndexReadException[]; - remote_cluster: string; - shard_id: integer; - successful_read_requests: long; - successful_write_requests: long; - time_since_last_read_millis: long; - total_read_remote_exec_time_millis: long; - total_read_time_millis: long; - total_write_time_millis: long; - write_buffer_operation_count: long; - write_buffer_size_in_bytes: long; + bytes_read: long + failed_read_requests: long + failed_write_requests: long + fatal_exception: ErrorCause + follower_aliases_version: long + follower_global_checkpoint: long + follower_index: string + follower_mapping_version: long + follower_max_seq_no: long + follower_settings_version: long + last_requested_seq_no: long + leader_global_checkpoint: long + leader_index: string + leader_max_seq_no: long + operations_read: long + operations_written: long + outstanding_read_requests: integer + outstanding_write_requests: integer + read_exceptions: FollowIndexReadException[] + remote_cluster: string + shard_id: integer + successful_read_requests: long + successful_write_requests: long + time_since_last_read_millis: long + total_read_remote_exec_time_millis: long + total_read_time_millis: long + total_write_time_millis: long + write_buffer_operation_count: long + write_buffer_size_in_bytes: long } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexStats.ts b/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexStats.ts index 2158aaf8b8..21d0f4a032 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexStats.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexStats.ts @@ -1,4 +1,4 @@ class FollowIndexStats { - index: string; - shards: FollowIndexShardStats[]; + index: string + shards: FollowIndexShardStats[] } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexStatsRequest.ts b/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexStatsRequest.ts index 01dc1a5a5d..7881d55f58 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexStatsRequest.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexStatsRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("ccr.follow_stats") +@rest_spec_name('ccr.follow_stats') class FollowIndexStatsRequest extends RequestBase { path_parts?: { - index: Indices; - } - query_parameters?: { - } - body?: { + index: Indices } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexStatsResponse.ts b/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexStatsResponse.ts index 0b2aead75d..3b5ee90370 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexStatsResponse.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/follow_index_stats/FollowIndexStatsResponse.ts @@ -1,3 +1,3 @@ class FollowIndexStatsResponse extends ResponseBase { - indices: FollowIndexStats[]; + indices: FollowIndexStats[] } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowConfig.ts b/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowConfig.ts index eadb1022a0..0362675cde 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowConfig.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowConfig.ts @@ -1,12 +1,12 @@ class FollowConfig { - max_outstanding_read_requests: integer; - max_outstanding_write_requests: integer; - max_read_request_operation_count: integer; - max_read_request_size: string; - max_retry_delay: Time; - max_write_buffer_count: integer; - max_write_buffer_size: string; - max_write_request_operation_count: integer; - max_write_request_size: string; - read_poll_timeout: Time; + max_outstanding_read_requests: integer + max_outstanding_write_requests: integer + max_read_request_operation_count: integer + max_read_request_size: string + max_retry_delay: Time + max_write_buffer_count: integer + max_write_buffer_size: string + max_write_request_operation_count: integer + max_write_request_size: string + read_poll_timeout: Time } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowInfoRequest.ts b/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowInfoRequest.ts index 39f98ebc55..d55f2c654f 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowInfoRequest.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowInfoRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("ccr.follow_info") +@rest_spec_name('ccr.follow_info') class FollowInfoRequest extends RequestBase { path_parts?: { - index: Indices; - } - query_parameters?: { - } - body?: { + index: Indices } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowInfoResponse.ts b/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowInfoResponse.ts index 16d07d0698..01d179fb38 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowInfoResponse.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowInfoResponse.ts @@ -1,3 +1,3 @@ class FollowInfoResponse extends ResponseBase { - follower_indices: FollowerInfo[]; + follower_indices: FollowerInfo[] } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowerInfo.ts b/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowerInfo.ts index 7ec0eed8ea..f687edd69f 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowerInfo.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/follow_info/FollowerInfo.ts @@ -1,7 +1,7 @@ class FollowerInfo { - follower_index: string; - leader_index: string; - parameters: FollowConfig; - remote_cluster: string; - status: FollowerIndexStatus; + follower_index: string + leader_index: string + parameters: FollowConfig + remote_cluster: string + status: FollowerIndexStatus } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/forget_follower_index/ForgetFollowerIndexRequest.ts b/specification/specs/x_pack/cross_cluster_replication/follow/forget_follower_index/ForgetFollowerIndexRequest.ts index 403abe2f76..deb345dabc 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/forget_follower_index/ForgetFollowerIndexRequest.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/forget_follower_index/ForgetFollowerIndexRequest.ts @@ -1,14 +1,13 @@ -@rest_spec_name("ccr.forget_follower") +@rest_spec_name('ccr.forget_follower') class ForgetFollowerIndexRequest extends RequestBase { path_parts?: { - index: IndexName; - } - query_parameters?: { + index: IndexName } + query_parameters?: {} body?: { - follower_cluster?: string; - follower_index?: IndexName; - follower_index_uuid?: string; - leader_remote_cluster?: string; + follower_cluster?: string + follower_index?: IndexName + follower_index_uuid?: string + leader_remote_cluster?: string } } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/forget_follower_index/ForgetFollowerIndexResponse.ts b/specification/specs/x_pack/cross_cluster_replication/follow/forget_follower_index/ForgetFollowerIndexResponse.ts index 3a8ba89e75..ae03e1aaa0 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/forget_follower_index/ForgetFollowerIndexResponse.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/forget_follower_index/ForgetFollowerIndexResponse.ts @@ -1,3 +1,3 @@ class ForgetFollowerIndexResponse extends ResponseBase { - _shards: ShardStatistics; + _shards: ShardStatistics } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/pause_follow_index/PauseFollowIndexRequest.ts b/specification/specs/x_pack/cross_cluster_replication/follow/pause_follow_index/PauseFollowIndexRequest.ts index e3e9118983..b9e530143b 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/pause_follow_index/PauseFollowIndexRequest.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/pause_follow_index/PauseFollowIndexRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("ccr.pause_follow") +@rest_spec_name('ccr.pause_follow') class PauseFollowIndexRequest extends RequestBase { path_parts?: { - index: IndexName; - } - query_parameters?: { - } - body?: { + index: IndexName } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/pause_follow_index/PauseFollowIndexResponse.ts b/specification/specs/x_pack/cross_cluster_replication/follow/pause_follow_index/PauseFollowIndexResponse.ts index 9d10ebe870..5b43350e8a 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/pause_follow_index/PauseFollowIndexResponse.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/pause_follow_index/PauseFollowIndexResponse.ts @@ -1,2 +1 @@ -class PauseFollowIndexResponse extends AcknowledgedResponseBase { -} +class PauseFollowIndexResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/resume_follow_index/ResumeFollowIndexRequest.ts b/specification/specs/x_pack/cross_cluster_replication/follow/resume_follow_index/ResumeFollowIndexRequest.ts index 32ae560634..5afb2dfbb4 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/resume_follow_index/ResumeFollowIndexRequest.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/resume_follow_index/ResumeFollowIndexRequest.ts @@ -1,20 +1,19 @@ -@rest_spec_name("ccr.resume_follow") +@rest_spec_name('ccr.resume_follow') class ResumeFollowIndexRequest extends RequestBase { path_parts?: { - index: IndexName; - } - query_parameters?: { + index: IndexName } + query_parameters?: {} body?: { - max_outstanding_read_requests?: long; - max_outstanding_write_requests?: long; - max_read_request_operation_count?: long; - max_read_request_size?: string; - max_retry_delay?: Time; - max_write_buffer_count?: long; - max_write_buffer_size?: string; - max_write_request_operation_count?: long; - max_write_request_size?: string; - read_poll_timeout?: Time; + max_outstanding_read_requests?: long + max_outstanding_write_requests?: long + max_read_request_operation_count?: long + max_read_request_size?: string + max_retry_delay?: Time + max_write_buffer_count?: long + max_write_buffer_size?: string + max_write_request_operation_count?: long + max_write_request_size?: string + read_poll_timeout?: Time } } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/resume_follow_index/ResumeFollowIndexResponse.ts b/specification/specs/x_pack/cross_cluster_replication/follow/resume_follow_index/ResumeFollowIndexResponse.ts index 2f7c8460d0..0ee556ede6 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/resume_follow_index/ResumeFollowIndexResponse.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/resume_follow_index/ResumeFollowIndexResponse.ts @@ -1,2 +1 @@ -class ResumeFollowIndexResponse extends AcknowledgedResponseBase { -} +class ResumeFollowIndexResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/unfollow_index/UnfollowIndexRequest.ts b/specification/specs/x_pack/cross_cluster_replication/follow/unfollow_index/UnfollowIndexRequest.ts index 67d3cf8ab6..0709c6477a 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/unfollow_index/UnfollowIndexRequest.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/unfollow_index/UnfollowIndexRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("ccr.unfollow") +@rest_spec_name('ccr.unfollow') class UnfollowIndexRequest extends RequestBase { path_parts?: { - index: IndexName; - } - query_parameters?: { - } - body?: { + index: IndexName } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/cross_cluster_replication/follow/unfollow_index/UnfollowIndexResponse.ts b/specification/specs/x_pack/cross_cluster_replication/follow/unfollow_index/UnfollowIndexResponse.ts index ca41113e6f..fa0aa2991e 100644 --- a/specification/specs/x_pack/cross_cluster_replication/follow/unfollow_index/UnfollowIndexResponse.ts +++ b/specification/specs/x_pack/cross_cluster_replication/follow/unfollow_index/UnfollowIndexResponse.ts @@ -1,2 +1 @@ -class UnfollowIndexResponse extends AcknowledgedResponseBase { -} +class UnfollowIndexResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/cross_cluster_replication/stats/AutoFollowedCluster.ts b/specification/specs/x_pack/cross_cluster_replication/stats/AutoFollowedCluster.ts index bfaa762bb0..ceb210dd8c 100644 --- a/specification/specs/x_pack/cross_cluster_replication/stats/AutoFollowedCluster.ts +++ b/specification/specs/x_pack/cross_cluster_replication/stats/AutoFollowedCluster.ts @@ -1,6 +1,6 @@ class AutoFollowedCluster { - cluster_name: string; - last_seen_metadata_version: long; + cluster_name: string + last_seen_metadata_version: long /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - time_since_last_check_millis: Date; + time_since_last_check_millis: Date } diff --git a/specification/specs/x_pack/cross_cluster_replication/stats/CcrAutoFollowStats.ts b/specification/specs/x_pack/cross_cluster_replication/stats/CcrAutoFollowStats.ts index a75037e187..a05aed22eb 100644 --- a/specification/specs/x_pack/cross_cluster_replication/stats/CcrAutoFollowStats.ts +++ b/specification/specs/x_pack/cross_cluster_replication/stats/CcrAutoFollowStats.ts @@ -1,7 +1,7 @@ class CcrAutoFollowStats { - auto_followed_clusters: AutoFollowedCluster[]; - number_of_failed_follow_indices: long; - number_of_failed_remote_cluster_state_requests: long; - number_of_successful_follow_indices: long; - recent_auto_follow_errors: ErrorCause[]; + auto_followed_clusters: AutoFollowedCluster[] + number_of_failed_follow_indices: long + number_of_failed_remote_cluster_state_requests: long + number_of_successful_follow_indices: long + recent_auto_follow_errors: ErrorCause[] } diff --git a/specification/specs/x_pack/cross_cluster_replication/stats/CcrFollowStats.ts b/specification/specs/x_pack/cross_cluster_replication/stats/CcrFollowStats.ts index 8bea5d794c..359f14005d 100644 --- a/specification/specs/x_pack/cross_cluster_replication/stats/CcrFollowStats.ts +++ b/specification/specs/x_pack/cross_cluster_replication/stats/CcrFollowStats.ts @@ -1,3 +1,3 @@ class CcrFollowStats { - indices: FollowIndexStats[]; + indices: FollowIndexStats[] } diff --git a/specification/specs/x_pack/cross_cluster_replication/stats/CcrStatsRequest.ts b/specification/specs/x_pack/cross_cluster_replication/stats/CcrStatsRequest.ts index 0f26d673ec..c40c94a094 100644 --- a/specification/specs/x_pack/cross_cluster_replication/stats/CcrStatsRequest.ts +++ b/specification/specs/x_pack/cross_cluster_replication/stats/CcrStatsRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("ccr.stats") +@rest_spec_name('ccr.stats') class CcrStatsRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/cross_cluster_replication/stats/CcrStatsResponse.ts b/specification/specs/x_pack/cross_cluster_replication/stats/CcrStatsResponse.ts index b3d9713310..14f47844e1 100644 --- a/specification/specs/x_pack/cross_cluster_replication/stats/CcrStatsResponse.ts +++ b/specification/specs/x_pack/cross_cluster_replication/stats/CcrStatsResponse.ts @@ -1,4 +1,4 @@ class CcrStatsResponse extends ResponseBase { - auto_follow_stats: CcrAutoFollowStats; - follow_stats: CcrFollowStats; + auto_follow_stats: CcrAutoFollowStats + follow_stats: CcrFollowStats } diff --git a/specification/specs/x_pack/enrich/EnrichPolicy.ts b/specification/specs/x_pack/enrich/EnrichPolicy.ts index 2cfdf03707..ae86bda14a 100644 --- a/specification/specs/x_pack/enrich/EnrichPolicy.ts +++ b/specification/specs/x_pack/enrich/EnrichPolicy.ts @@ -1,7 +1,7 @@ class EnrichPolicy { - enrich_fields: Field[]; + enrich_fields: Field[] /** @prop_serializer IndicesFormatter */ - indices: Indices; - match_field: Field; - query: string; + indices: Indices + match_field: Field + query: string } diff --git a/specification/specs/x_pack/enrich/NamedPolicy.ts b/specification/specs/x_pack/enrich/NamedPolicy.ts index 04c3989380..8ba91912bc 100644 --- a/specification/specs/x_pack/enrich/NamedPolicy.ts +++ b/specification/specs/x_pack/enrich/NamedPolicy.ts @@ -1,3 +1,3 @@ class NamedPolicy extends EnrichPolicy { - name: string; + name: string } diff --git a/specification/specs/x_pack/enrich/NamedPolicyConfig.ts b/specification/specs/x_pack/enrich/NamedPolicyConfig.ts index 72d06576fe..0f31b94de4 100644 --- a/specification/specs/x_pack/enrich/NamedPolicyConfig.ts +++ b/specification/specs/x_pack/enrich/NamedPolicyConfig.ts @@ -1,4 +1,4 @@ class NamedPolicyConfig { - geo_match: NamedPolicy; - match: NamedPolicy; + geo_match: NamedPolicy + match: NamedPolicy } diff --git a/specification/specs/x_pack/enrich/NamedPolicyMetadata.ts b/specification/specs/x_pack/enrich/NamedPolicyMetadata.ts index 9cb324fd40..03a73219d8 100644 --- a/specification/specs/x_pack/enrich/NamedPolicyMetadata.ts +++ b/specification/specs/x_pack/enrich/NamedPolicyMetadata.ts @@ -1,3 +1,3 @@ class NamedPolicyMetadata { - config: NamedPolicyConfig; + config: NamedPolicyConfig } diff --git a/specification/specs/x_pack/enrich/delete_policy/DeleteEnrichPolicyRequest.ts b/specification/specs/x_pack/enrich/delete_policy/DeleteEnrichPolicyRequest.ts index 728203cbbe..21a1aaeb7a 100644 --- a/specification/specs/x_pack/enrich/delete_policy/DeleteEnrichPolicyRequest.ts +++ b/specification/specs/x_pack/enrich/delete_policy/DeleteEnrichPolicyRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("enrich.delete_policy") +@rest_spec_name('enrich.delete_policy') class DeleteEnrichPolicyRequest extends RequestBase { path_parts?: { - name: Name; - } - query_parameters?: { - } - body?: { + name: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/enrich/delete_policy/DeleteEnrichPolicyResponse.ts b/specification/specs/x_pack/enrich/delete_policy/DeleteEnrichPolicyResponse.ts index 176caab8cb..b285d5190d 100644 --- a/specification/specs/x_pack/enrich/delete_policy/DeleteEnrichPolicyResponse.ts +++ b/specification/specs/x_pack/enrich/delete_policy/DeleteEnrichPolicyResponse.ts @@ -1,2 +1 @@ -class DeleteEnrichPolicyResponse extends AcknowledgedResponseBase { -} +class DeleteEnrichPolicyResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/enrich/execute_policy/ExecuteEnrichPolicyRequest.ts b/specification/specs/x_pack/enrich/execute_policy/ExecuteEnrichPolicyRequest.ts index 79cd6f4277..aa44bcb1a5 100644 --- a/specification/specs/x_pack/enrich/execute_policy/ExecuteEnrichPolicyRequest.ts +++ b/specification/specs/x_pack/enrich/execute_policy/ExecuteEnrichPolicyRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("enrich.execute_policy") +@rest_spec_name('enrich.execute_policy') class ExecuteEnrichPolicyRequest extends RequestBase { path_parts?: { - name: Name; + name: Name } query_parameters?: { - wait_for_completion?: boolean; - } - body?: { + wait_for_completion?: boolean } + body?: {} } diff --git a/specification/specs/x_pack/enrich/execute_policy/ExecuteEnrichPolicyResponse.ts b/specification/specs/x_pack/enrich/execute_policy/ExecuteEnrichPolicyResponse.ts index b20194382d..a2108cb53a 100644 --- a/specification/specs/x_pack/enrich/execute_policy/ExecuteEnrichPolicyResponse.ts +++ b/specification/specs/x_pack/enrich/execute_policy/ExecuteEnrichPolicyResponse.ts @@ -1,4 +1,4 @@ class ExecuteEnrichPolicyResponse extends ResponseBase { - status: ExecuteEnrichPolicyStatus; - task_id: TaskId; + status: ExecuteEnrichPolicyStatus + task_id: TaskId } diff --git a/specification/specs/x_pack/enrich/execute_policy/ExecuteEnrichPolicyStatus.ts b/specification/specs/x_pack/enrich/execute_policy/ExecuteEnrichPolicyStatus.ts index 1e7cff87f5..95e3e3ff9b 100644 --- a/specification/specs/x_pack/enrich/execute_policy/ExecuteEnrichPolicyStatus.ts +++ b/specification/specs/x_pack/enrich/execute_policy/ExecuteEnrichPolicyStatus.ts @@ -1,3 +1,3 @@ class ExecuteEnrichPolicyStatus { - phase: EnrichPolicyPhase; + phase: EnrichPolicyPhase } diff --git a/specification/specs/x_pack/enrich/get_policy/GetEnrichPolicyRequest.ts b/specification/specs/x_pack/enrich/get_policy/GetEnrichPolicyRequest.ts index 174b2b6084..2bee567d9f 100644 --- a/specification/specs/x_pack/enrich/get_policy/GetEnrichPolicyRequest.ts +++ b/specification/specs/x_pack/enrich/get_policy/GetEnrichPolicyRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("enrich.get_policy") +@rest_spec_name('enrich.get_policy') class GetEnrichPolicyRequest extends RequestBase { path_parts?: { - name?: Names; - } - query_parameters?: { - } - body?: { + name?: Names } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/enrich/get_policy/GetEnrichPolicyResponse.ts b/specification/specs/x_pack/enrich/get_policy/GetEnrichPolicyResponse.ts index 4dcb2d8ae6..e7d4ab7df1 100644 --- a/specification/specs/x_pack/enrich/get_policy/GetEnrichPolicyResponse.ts +++ b/specification/specs/x_pack/enrich/get_policy/GetEnrichPolicyResponse.ts @@ -1,3 +1,3 @@ class GetEnrichPolicyResponse extends ResponseBase { - policies: NamedPolicyMetadata[]; + policies: NamedPolicyMetadata[] } diff --git a/specification/specs/x_pack/enrich/put_policy/PutEnrichPolicyRequest.ts b/specification/specs/x_pack/enrich/put_policy/PutEnrichPolicyRequest.ts index aa444d63cb..f4dbf9ccb2 100644 --- a/specification/specs/x_pack/enrich/put_policy/PutEnrichPolicyRequest.ts +++ b/specification/specs/x_pack/enrich/put_policy/PutEnrichPolicyRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("enrich.put_policy") +@rest_spec_name('enrich.put_policy') class PutEnrichPolicyRequest extends RequestBase { path_parts?: { - name: Name; - } - query_parameters?: { + name: Name } + query_parameters?: {} body?: { - geo_match?: EnrichPolicy; - match?: EnrichPolicy; + geo_match?: EnrichPolicy + match?: EnrichPolicy } } diff --git a/specification/specs/x_pack/enrich/put_policy/PutEnrichPolicyResponse.ts b/specification/specs/x_pack/enrich/put_policy/PutEnrichPolicyResponse.ts index 63688eed08..730ca86c97 100644 --- a/specification/specs/x_pack/enrich/put_policy/PutEnrichPolicyResponse.ts +++ b/specification/specs/x_pack/enrich/put_policy/PutEnrichPolicyResponse.ts @@ -1,2 +1 @@ -class PutEnrichPolicyResponse extends AcknowledgedResponseBase { -} +class PutEnrichPolicyResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/enrich/stats/CoordinatorStats.ts b/specification/specs/x_pack/enrich/stats/CoordinatorStats.ts index 7d5c16c62d..6bf47b900c 100644 --- a/specification/specs/x_pack/enrich/stats/CoordinatorStats.ts +++ b/specification/specs/x_pack/enrich/stats/CoordinatorStats.ts @@ -1,7 +1,7 @@ class CoordinatorStats { - executed_searches_total: long; - node_id: string; - queue_size: integer; - remote_requests_current: integer; - remote_requests_total: long; + executed_searches_total: long + node_id: string + queue_size: integer + remote_requests_current: integer + remote_requests_total: long } diff --git a/specification/specs/x_pack/enrich/stats/EnrichStatsRequest.ts b/specification/specs/x_pack/enrich/stats/EnrichStatsRequest.ts index afab4e3585..83c733f038 100644 --- a/specification/specs/x_pack/enrich/stats/EnrichStatsRequest.ts +++ b/specification/specs/x_pack/enrich/stats/EnrichStatsRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("enrich.stats") +@rest_spec_name('enrich.stats') class EnrichStatsRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/enrich/stats/EnrichStatsResponse.ts b/specification/specs/x_pack/enrich/stats/EnrichStatsResponse.ts index 1a9a7b8dde..fcae7d90fd 100644 --- a/specification/specs/x_pack/enrich/stats/EnrichStatsResponse.ts +++ b/specification/specs/x_pack/enrich/stats/EnrichStatsResponse.ts @@ -1,4 +1,4 @@ class EnrichStatsResponse extends ResponseBase { - coordinator_stats: CoordinatorStats[]; - executing_policies: ExecutingPolicy[]; + coordinator_stats: CoordinatorStats[] + executing_policies: ExecutingPolicy[] } diff --git a/specification/specs/x_pack/enrich/stats/ExecutingPolicy.ts b/specification/specs/x_pack/enrich/stats/ExecutingPolicy.ts index 863f41d68b..be943f5f50 100644 --- a/specification/specs/x_pack/enrich/stats/ExecutingPolicy.ts +++ b/specification/specs/x_pack/enrich/stats/ExecutingPolicy.ts @@ -1,4 +1,4 @@ class ExecutingPolicy { - name: string; - task: TaskInfo; + name: string + task: TaskInfo } diff --git a/specification/specs/x_pack/graph/explore/GraphExploreRequest.ts b/specification/specs/x_pack/graph/explore/GraphExploreRequest.ts index 5545914e8b..f7980b2982 100644 --- a/specification/specs/x_pack/graph/explore/GraphExploreRequest.ts +++ b/specification/specs/x_pack/graph/explore/GraphExploreRequest.ts @@ -1,17 +1,17 @@ -@rest_spec_name("graph.explore") +@rest_spec_name('graph.explore') class GraphExploreRequest extends RequestBase { path_parts?: { - index: Indices; - type?: TypeNames; + index: Indices + type?: TypeNames } query_parameters?: { - routing?: Routing; - timeout?: Time; + routing?: Routing + timeout?: Time } body?: { - connections?: Hop; - controls?: GraphExploreControls; - query?: QueryContainer; - vertices?: GraphVertexDefinition[]; + connections?: Hop + controls?: GraphExploreControls + query?: QueryContainer + vertices?: GraphVertexDefinition[] } } diff --git a/specification/specs/x_pack/graph/explore/GraphExploreResponse.ts b/specification/specs/x_pack/graph/explore/GraphExploreResponse.ts index 2566c5dcc1..b2d49e3506 100644 --- a/specification/specs/x_pack/graph/explore/GraphExploreResponse.ts +++ b/specification/specs/x_pack/graph/explore/GraphExploreResponse.ts @@ -1,7 +1,7 @@ class GraphExploreResponse extends ResponseBase { - connections: GraphConnection[]; - failures: ShardFailure[]; - timed_out: boolean; - took: long; - vertices: GraphVertex[]; + connections: GraphConnection[] + failures: ShardFailure[] + timed_out: boolean + took: long + vertices: GraphVertex[] } diff --git a/specification/specs/x_pack/graph/explore/request/GraphExploreControls.ts b/specification/specs/x_pack/graph/explore/request/GraphExploreControls.ts index 86da6a4459..c60ed1e6f7 100644 --- a/specification/specs/x_pack/graph/explore/request/GraphExploreControls.ts +++ b/specification/specs/x_pack/graph/explore/request/GraphExploreControls.ts @@ -1,6 +1,6 @@ class GraphExploreControls { - sample_diversity: SampleDiversity; - sample_size: integer; - timeout: Time; - use_significance: boolean; + sample_diversity: SampleDiversity + sample_size: integer + timeout: Time + use_significance: boolean } diff --git a/specification/specs/x_pack/graph/explore/request/GraphVertexDefinition.ts b/specification/specs/x_pack/graph/explore/request/GraphVertexDefinition.ts index 53917aa36b..d5bd9ab429 100644 --- a/specification/specs/x_pack/graph/explore/request/GraphVertexDefinition.ts +++ b/specification/specs/x_pack/graph/explore/request/GraphVertexDefinition.ts @@ -1,8 +1,8 @@ class GraphVertexDefinition { - exclude: string[]; - field: Field; - include: GraphVertexInclude[]; - min_doc_count: long; - shard_min_doc_count: long; - size: integer; + exclude: string[] + field: Field + include: GraphVertexInclude[] + min_doc_count: long + shard_min_doc_count: long + size: integer } diff --git a/specification/specs/x_pack/graph/explore/request/GraphVertexInclude.ts b/specification/specs/x_pack/graph/explore/request/GraphVertexInclude.ts index d0f2c3017b..419e8ec255 100644 --- a/specification/specs/x_pack/graph/explore/request/GraphVertexInclude.ts +++ b/specification/specs/x_pack/graph/explore/request/GraphVertexInclude.ts @@ -1,4 +1,4 @@ class GraphVertexInclude { - boost: double; - term: string; + boost: double + term: string } diff --git a/specification/specs/x_pack/graph/explore/request/Hop.ts b/specification/specs/x_pack/graph/explore/request/Hop.ts index 9af1abafd7..39c08cdd01 100644 --- a/specification/specs/x_pack/graph/explore/request/Hop.ts +++ b/specification/specs/x_pack/graph/explore/request/Hop.ts @@ -1,5 +1,5 @@ class Hop { - connections: Hop; - query: QueryContainer; - vertices: GraphVertexDefinition[]; + connections: Hop + query: QueryContainer + vertices: GraphVertexDefinition[] } diff --git a/specification/specs/x_pack/graph/explore/request/SampleDiversity.ts b/specification/specs/x_pack/graph/explore/request/SampleDiversity.ts index 39dc4dbb3a..f5b5c9ca41 100644 --- a/specification/specs/x_pack/graph/explore/request/SampleDiversity.ts +++ b/specification/specs/x_pack/graph/explore/request/SampleDiversity.ts @@ -1,4 +1,4 @@ class SampleDiversity { - field: Field; - max_docs_per_value: integer; + field: Field + max_docs_per_value: integer } diff --git a/specification/specs/x_pack/graph/explore/response/GraphConnection.ts b/specification/specs/x_pack/graph/explore/response/GraphConnection.ts index 7f92ec2f58..1d4fa3449e 100644 --- a/specification/specs/x_pack/graph/explore/response/GraphConnection.ts +++ b/specification/specs/x_pack/graph/explore/response/GraphConnection.ts @@ -1,6 +1,6 @@ class GraphConnection { - doc_count: long; - source: long; - target: long; - weight: double; + doc_count: long + source: long + target: long + weight: double } diff --git a/specification/specs/x_pack/graph/explore/response/GraphVertex.ts b/specification/specs/x_pack/graph/explore/response/GraphVertex.ts index 72744c7ed7..c619436a49 100644 --- a/specification/specs/x_pack/graph/explore/response/GraphVertex.ts +++ b/specification/specs/x_pack/graph/explore/response/GraphVertex.ts @@ -1,6 +1,6 @@ class GraphVertex { - depth: long; - field: string; - term: string; - weight: double; + depth: long + field: string + term: string + weight: double } diff --git a/specification/specs/x_pack/ilm/Phase.ts b/specification/specs/x_pack/ilm/Phase.ts index 70d07937e9..ec2d661f9b 100644 --- a/specification/specs/x_pack/ilm/Phase.ts +++ b/specification/specs/x_pack/ilm/Phase.ts @@ -1,4 +1,4 @@ class Phase { - actions: Dictionary; - min_age: Time; + actions: Dictionary + min_age: Time } diff --git a/specification/specs/x_pack/ilm/Phases.ts b/specification/specs/x_pack/ilm/Phases.ts index 4ed218d6b0..cbecea1024 100644 --- a/specification/specs/x_pack/ilm/Phases.ts +++ b/specification/specs/x_pack/ilm/Phases.ts @@ -1,6 +1,6 @@ class Phases { - cold: Phase; - delete: Phase; - hot: Phase; - warm: Phase; + cold: Phase + delete: Phase + hot: Phase + warm: Phase } diff --git a/specification/specs/x_pack/ilm/Policy.ts b/specification/specs/x_pack/ilm/Policy.ts index cf17030c93..0d5f2cdf66 100644 --- a/specification/specs/x_pack/ilm/Policy.ts +++ b/specification/specs/x_pack/ilm/Policy.ts @@ -1,3 +1,3 @@ class Policy { - phases: Phases; + phases: Phases } diff --git a/specification/specs/x_pack/ilm/actions/LifecycleAction.ts b/specification/specs/x_pack/ilm/actions/LifecycleAction.ts index 60e50efd9f..bc3addadd2 100644 --- a/specification/specs/x_pack/ilm/actions/LifecycleAction.ts +++ b/specification/specs/x_pack/ilm/actions/LifecycleAction.ts @@ -1,2 +1 @@ -class LifecycleAction { -} +class LifecycleAction {} diff --git a/specification/specs/x_pack/ilm/delete_lifecycle/DeleteLifecycleRequest.ts b/specification/specs/x_pack/ilm/delete_lifecycle/DeleteLifecycleRequest.ts index 195083f454..71b3160de5 100644 --- a/specification/specs/x_pack/ilm/delete_lifecycle/DeleteLifecycleRequest.ts +++ b/specification/specs/x_pack/ilm/delete_lifecycle/DeleteLifecycleRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("ilm.delete_lifecycle") +@rest_spec_name('ilm.delete_lifecycle') class DeleteLifecycleRequest extends RequestBase { path_parts?: { - policy: Name; - } - query_parameters?: { - } - body?: { + policy: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/ilm/delete_lifecycle/DeleteLifecycleResponse.ts b/specification/specs/x_pack/ilm/delete_lifecycle/DeleteLifecycleResponse.ts index da0e87dd13..fe8f831136 100644 --- a/specification/specs/x_pack/ilm/delete_lifecycle/DeleteLifecycleResponse.ts +++ b/specification/specs/x_pack/ilm/delete_lifecycle/DeleteLifecycleResponse.ts @@ -1,2 +1 @@ -class DeleteLifecycleResponse extends AcknowledgedResponseBase { -} +class DeleteLifecycleResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/ilm/explain_lifecycle/ExplainLifecycleRequest.ts b/specification/specs/x_pack/ilm/explain_lifecycle/ExplainLifecycleRequest.ts index de0eabc75f..b138600fa3 100644 --- a/specification/specs/x_pack/ilm/explain_lifecycle/ExplainLifecycleRequest.ts +++ b/specification/specs/x_pack/ilm/explain_lifecycle/ExplainLifecycleRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("ilm.explain_lifecycle") +@rest_spec_name('ilm.explain_lifecycle') class ExplainLifecycleRequest extends RequestBase { path_parts?: { - index: IndexName; + index: IndexName } query_parameters?: { - only_errors?: boolean; - only_managed?: boolean; - } - body?: { + only_errors?: boolean + only_managed?: boolean } + body?: {} } diff --git a/specification/specs/x_pack/ilm/explain_lifecycle/ExplainLifecycleResponse.ts b/specification/specs/x_pack/ilm/explain_lifecycle/ExplainLifecycleResponse.ts index 030f6e2570..b918f03d06 100644 --- a/specification/specs/x_pack/ilm/explain_lifecycle/ExplainLifecycleResponse.ts +++ b/specification/specs/x_pack/ilm/explain_lifecycle/ExplainLifecycleResponse.ts @@ -1,3 +1,3 @@ class ExplainLifecycleResponse extends ResponseBase { - indices: Dictionary; + indices: Dictionary } diff --git a/specification/specs/x_pack/ilm/explain_lifecycle/LifecycleExplain.ts b/specification/specs/x_pack/ilm/explain_lifecycle/LifecycleExplain.ts index bbee4b0887..3f9711b644 100644 --- a/specification/specs/x_pack/ilm/explain_lifecycle/LifecycleExplain.ts +++ b/specification/specs/x_pack/ilm/explain_lifecycle/LifecycleExplain.ts @@ -1,21 +1,21 @@ class LifecycleExplain { - action: string; + action: string /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - action_time_millis: Date; - age: Time; - failed_step: string; - failed_step_retry_count: integer; - index: IndexName; - is_auto_retryable_error: boolean; + action_time_millis: Date + age: Time + failed_step: string + failed_step_retry_count: integer + index: IndexName + is_auto_retryable_error: boolean /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - lifecycle_date_millis: Date; - managed: boolean; - phase: string; + lifecycle_date_millis: Date + managed: boolean + phase: string /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - phase_time_millis: Date; - policy: string; - step: string; - step_info: Dictionary; + phase_time_millis: Date + policy: string + step: string + step_info: Dictionary /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - step_time_millis: Date; + step_time_millis: Date } diff --git a/specification/specs/x_pack/ilm/get_lifecycle/GetLifecycleRequest.ts b/specification/specs/x_pack/ilm/get_lifecycle/GetLifecycleRequest.ts index b72e4f5093..57153eda6c 100644 --- a/specification/specs/x_pack/ilm/get_lifecycle/GetLifecycleRequest.ts +++ b/specification/specs/x_pack/ilm/get_lifecycle/GetLifecycleRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("ilm.get_lifecycle") +@rest_spec_name('ilm.get_lifecycle') class GetLifecycleRequest extends RequestBase { path_parts?: { - policy?: Name; - } - query_parameters?: { - } - body?: { + policy?: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/ilm/get_lifecycle/GetLifecycleResponse.ts b/specification/specs/x_pack/ilm/get_lifecycle/GetLifecycleResponse.ts index e1fb438a92..d9fe53f0ab 100644 --- a/specification/specs/x_pack/ilm/get_lifecycle/GetLifecycleResponse.ts +++ b/specification/specs/x_pack/ilm/get_lifecycle/GetLifecycleResponse.ts @@ -1 +1,4 @@ -class GetLifecycleResponse extends DictionaryResponseBase {} +class GetLifecycleResponse extends DictionaryResponseBase< + string, + LifecyclePolicy +> {} diff --git a/specification/specs/x_pack/ilm/get_lifecycle/LifecyclePolicy.ts b/specification/specs/x_pack/ilm/get_lifecycle/LifecyclePolicy.ts index 88b257d810..c72c9c1d37 100644 --- a/specification/specs/x_pack/ilm/get_lifecycle/LifecyclePolicy.ts +++ b/specification/specs/x_pack/ilm/get_lifecycle/LifecyclePolicy.ts @@ -1,6 +1,6 @@ class LifecyclePolicy { /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - modified_date: Date; - policy: Policy; - version: integer; + modified_date: Date + policy: Policy + version: integer } diff --git a/specification/specs/x_pack/ilm/get_status/GetIlmStatusRequest.ts b/specification/specs/x_pack/ilm/get_status/GetIlmStatusRequest.ts index 5b943038bc..41d98dab24 100644 --- a/specification/specs/x_pack/ilm/get_status/GetIlmStatusRequest.ts +++ b/specification/specs/x_pack/ilm/get_status/GetIlmStatusRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("ilm.get_status") +@rest_spec_name('ilm.get_status') class GetIlmStatusRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/ilm/get_status/GetIlmStatusResponse.ts b/specification/specs/x_pack/ilm/get_status/GetIlmStatusResponse.ts index 0c796a7ad0..b58207fbcf 100644 --- a/specification/specs/x_pack/ilm/get_status/GetIlmStatusResponse.ts +++ b/specification/specs/x_pack/ilm/get_status/GetIlmStatusResponse.ts @@ -1,3 +1,3 @@ class GetIlmStatusResponse extends ResponseBase { - operation_mode: LifecycleOperationMode; + operation_mode: LifecycleOperationMode } diff --git a/specification/specs/x_pack/ilm/move_to_step/MoveToStepRequest.ts b/specification/specs/x_pack/ilm/move_to_step/MoveToStepRequest.ts index 93faf4c624..79db8ce8c2 100644 --- a/specification/specs/x_pack/ilm/move_to_step/MoveToStepRequest.ts +++ b/specification/specs/x_pack/ilm/move_to_step/MoveToStepRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("ilm.move_to_step") +@rest_spec_name('ilm.move_to_step') class MoveToStepRequest extends RequestBase { path_parts?: { - index: IndexName; - } - query_parameters?: { + index: IndexName } + query_parameters?: {} body?: { - current_step?: StepKey; - next_step?: StepKey; + current_step?: StepKey + next_step?: StepKey } } diff --git a/specification/specs/x_pack/ilm/move_to_step/MoveToStepResponse.ts b/specification/specs/x_pack/ilm/move_to_step/MoveToStepResponse.ts index 30b1f4627c..a8068e7926 100644 --- a/specification/specs/x_pack/ilm/move_to_step/MoveToStepResponse.ts +++ b/specification/specs/x_pack/ilm/move_to_step/MoveToStepResponse.ts @@ -1,2 +1 @@ -class MoveToStepResponse extends AcknowledgedResponseBase { -} +class MoveToStepResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/ilm/move_to_step/StepKey.ts b/specification/specs/x_pack/ilm/move_to_step/StepKey.ts index 51960d90ce..54070ea386 100644 --- a/specification/specs/x_pack/ilm/move_to_step/StepKey.ts +++ b/specification/specs/x_pack/ilm/move_to_step/StepKey.ts @@ -1,5 +1,5 @@ class StepKey { - action: string; - name: string; - phase: string; + action: string + name: string + phase: string } diff --git a/specification/specs/x_pack/ilm/put_lifecycle/PutLifecycleRequest.ts b/specification/specs/x_pack/ilm/put_lifecycle/PutLifecycleRequest.ts index 02d6382508..138fa6cf15 100644 --- a/specification/specs/x_pack/ilm/put_lifecycle/PutLifecycleRequest.ts +++ b/specification/specs/x_pack/ilm/put_lifecycle/PutLifecycleRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("ilm.put_lifecycle") +@rest_spec_name('ilm.put_lifecycle') class PutLifecycleRequest extends RequestBase { path_parts?: { - policy: Name; - } - query_parameters?: { + policy: Name } + query_parameters?: {} body?: { - policy?: Policy; + policy?: Policy } } diff --git a/specification/specs/x_pack/ilm/put_lifecycle/PutLifecycleResponse.ts b/specification/specs/x_pack/ilm/put_lifecycle/PutLifecycleResponse.ts index 2aa4f6759b..5d0ce084c9 100644 --- a/specification/specs/x_pack/ilm/put_lifecycle/PutLifecycleResponse.ts +++ b/specification/specs/x_pack/ilm/put_lifecycle/PutLifecycleResponse.ts @@ -1,2 +1 @@ -class PutLifecycleResponse extends AcknowledgedResponseBase { -} +class PutLifecycleResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/ilm/remove_policy/RemovePolicyRequest.ts b/specification/specs/x_pack/ilm/remove_policy/RemovePolicyRequest.ts index 302fc6bd2a..45fde6201e 100644 --- a/specification/specs/x_pack/ilm/remove_policy/RemovePolicyRequest.ts +++ b/specification/specs/x_pack/ilm/remove_policy/RemovePolicyRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("ilm.remove_policy") +@rest_spec_name('ilm.remove_policy') class RemovePolicyRequest extends RequestBase { path_parts?: { - index: IndexName; - } - query_parameters?: { - } - body?: { + index: IndexName } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/ilm/remove_policy/RemovePolicyResponse.ts b/specification/specs/x_pack/ilm/remove_policy/RemovePolicyResponse.ts index a81c90730f..487a6b9119 100644 --- a/specification/specs/x_pack/ilm/remove_policy/RemovePolicyResponse.ts +++ b/specification/specs/x_pack/ilm/remove_policy/RemovePolicyResponse.ts @@ -1,4 +1,4 @@ class RemovePolicyResponse extends ResponseBase { - failed_indexes: string[]; - has_failures: boolean; + failed_indexes: string[] + has_failures: boolean } diff --git a/specification/specs/x_pack/ilm/retry/RetryIlmRequest.ts b/specification/specs/x_pack/ilm/retry/RetryIlmRequest.ts index ac2269a4a6..57ceab5215 100644 --- a/specification/specs/x_pack/ilm/retry/RetryIlmRequest.ts +++ b/specification/specs/x_pack/ilm/retry/RetryIlmRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("ilm.retry") +@rest_spec_name('ilm.retry') class RetryIlmRequest extends RequestBase { path_parts?: { - index: IndexName; - } - query_parameters?: { - } - body?: { + index: IndexName } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/ilm/retry/RetryIlmResponse.ts b/specification/specs/x_pack/ilm/retry/RetryIlmResponse.ts index d856413fd0..afb384a4ce 100644 --- a/specification/specs/x_pack/ilm/retry/RetryIlmResponse.ts +++ b/specification/specs/x_pack/ilm/retry/RetryIlmResponse.ts @@ -1,2 +1 @@ -class RetryIlmResponse extends AcknowledgedResponseBase { -} +class RetryIlmResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/ilm/start/StartIlmRequest.ts b/specification/specs/x_pack/ilm/start/StartIlmRequest.ts index e332034908..3fe8d2c1a8 100644 --- a/specification/specs/x_pack/ilm/start/StartIlmRequest.ts +++ b/specification/specs/x_pack/ilm/start/StartIlmRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("ilm.start") +@rest_spec_name('ilm.start') class StartIlmRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/ilm/start/StartIlmResponse.ts b/specification/specs/x_pack/ilm/start/StartIlmResponse.ts index 33b87e173f..d9001419c2 100644 --- a/specification/specs/x_pack/ilm/start/StartIlmResponse.ts +++ b/specification/specs/x_pack/ilm/start/StartIlmResponse.ts @@ -1,2 +1 @@ -class StartIlmResponse extends AcknowledgedResponseBase { -} +class StartIlmResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/ilm/stop/StopIlmRequest.ts b/specification/specs/x_pack/ilm/stop/StopIlmRequest.ts index d062010093..21bec8f0a9 100644 --- a/specification/specs/x_pack/ilm/stop/StopIlmRequest.ts +++ b/specification/specs/x_pack/ilm/stop/StopIlmRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("ilm.stop") +@rest_spec_name('ilm.stop') class StopIlmRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/ilm/stop/StopIlmResponse.ts b/specification/specs/x_pack/ilm/stop/StopIlmResponse.ts index 840216d639..7b225bb39f 100644 --- a/specification/specs/x_pack/ilm/stop/StopIlmResponse.ts +++ b/specification/specs/x_pack/ilm/stop/StopIlmResponse.ts @@ -1,2 +1 @@ -class StopIlmResponse extends AcknowledgedResponseBase { -} +class StopIlmResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/info/x_pack_info/MinimalLicenseInformation.ts b/specification/specs/x_pack/info/x_pack_info/MinimalLicenseInformation.ts index f3b380ae90..642ebae7da 100644 --- a/specification/specs/x_pack/info/x_pack_info/MinimalLicenseInformation.ts +++ b/specification/specs/x_pack/info/x_pack_info/MinimalLicenseInformation.ts @@ -1,7 +1,7 @@ class MinimalLicenseInformation { - expiry_date_in_millis: long; - mode: LicenseType; - status: LicenseStatus; - type: LicenseType; - uid: string; + expiry_date_in_millis: long + mode: LicenseType + status: LicenseStatus + type: LicenseType + uid: string } diff --git a/specification/specs/x_pack/info/x_pack_info/NativeCodeInformation.ts b/specification/specs/x_pack/info/x_pack_info/NativeCodeInformation.ts index a49f42d068..9212e9a92f 100644 --- a/specification/specs/x_pack/info/x_pack_info/NativeCodeInformation.ts +++ b/specification/specs/x_pack/info/x_pack_info/NativeCodeInformation.ts @@ -1,4 +1,4 @@ class NativeCodeInformation { - build_hash: string; - version: string; + build_hash: string + version: string } diff --git a/specification/specs/x_pack/info/x_pack_info/XPackBuildInformation.ts b/specification/specs/x_pack/info/x_pack_info/XPackBuildInformation.ts index e6b3ccfd2a..35d71ebd42 100644 --- a/specification/specs/x_pack/info/x_pack_info/XPackBuildInformation.ts +++ b/specification/specs/x_pack/info/x_pack_info/XPackBuildInformation.ts @@ -1,4 +1,4 @@ class XPackBuildInformation { - date: Date; - hash: string; + date: Date + hash: string } diff --git a/specification/specs/x_pack/info/x_pack_info/XPackFeature.ts b/specification/specs/x_pack/info/x_pack_info/XPackFeature.ts index 07c34efcc9..78e389171d 100644 --- a/specification/specs/x_pack/info/x_pack_info/XPackFeature.ts +++ b/specification/specs/x_pack/info/x_pack_info/XPackFeature.ts @@ -1,6 +1,6 @@ class XPackFeature { - available: boolean; - description: string; - enabled: boolean; - native_code_info: NativeCodeInformation; + available: boolean + description: string + enabled: boolean + native_code_info: NativeCodeInformation } diff --git a/specification/specs/x_pack/info/x_pack_info/XPackFeatures.ts b/specification/specs/x_pack/info/x_pack_info/XPackFeatures.ts index 333788aa12..5631998e9c 100644 --- a/specification/specs/x_pack/info/x_pack_info/XPackFeatures.ts +++ b/specification/specs/x_pack/info/x_pack_info/XPackFeatures.ts @@ -1,23 +1,23 @@ class XPackFeatures { - analytics: XPackFeature; - ccr: XPackFeature; - data_frame: XPackFeature; - data_science: XPackFeature; - enrich: XPackFeature; - flattened: XPackFeature; - frozen_indices: XPackFeature; - graph: XPackFeature; - ilm: XPackFeature; - logstash: XPackFeature; - ml: XPackFeature; - monitoring: XPackFeature; - rollup: XPackFeature; - security: XPackFeature; - slm: XPackFeature; - spatial: XPackFeature; - sql: XPackFeature; - transform: XPackFeature; - vectors: XPackFeature; - voting_only: XPackFeature; - watcher: XPackFeature; + analytics: XPackFeature + ccr: XPackFeature + data_frame: XPackFeature + data_science: XPackFeature + enrich: XPackFeature + flattened: XPackFeature + frozen_indices: XPackFeature + graph: XPackFeature + ilm: XPackFeature + logstash: XPackFeature + ml: XPackFeature + monitoring: XPackFeature + rollup: XPackFeature + security: XPackFeature + slm: XPackFeature + spatial: XPackFeature + sql: XPackFeature + transform: XPackFeature + vectors: XPackFeature + voting_only: XPackFeature + watcher: XPackFeature } diff --git a/specification/specs/x_pack/info/x_pack_info/XPackInfoRequest.ts b/specification/specs/x_pack/info/x_pack_info/XPackInfoRequest.ts index 1a3fa27632..d7e8eb3cdd 100644 --- a/specification/specs/x_pack/info/x_pack_info/XPackInfoRequest.ts +++ b/specification/specs/x_pack/info/x_pack_info/XPackInfoRequest.ts @@ -1,8 +1,7 @@ -@rest_spec_name("xpack.info") +@rest_spec_name('xpack.info') class XPackInfoRequest extends RequestBase { query_parameters?: { - categories?: string[]; - } - body?: { + categories?: string[] } + body?: {} } diff --git a/specification/specs/x_pack/info/x_pack_info/XPackInfoResponse.ts b/specification/specs/x_pack/info/x_pack_info/XPackInfoResponse.ts index 2f1dfe10a5..6b10dc8f1f 100644 --- a/specification/specs/x_pack/info/x_pack_info/XPackInfoResponse.ts +++ b/specification/specs/x_pack/info/x_pack_info/XPackInfoResponse.ts @@ -1,6 +1,6 @@ class XPackInfoResponse extends ResponseBase { - build: XPackBuildInformation; - features: XPackFeatures; - license: MinimalLicenseInformation; - tagline: string; + build: XPackBuildInformation + features: XPackFeatures + license: MinimalLicenseInformation + tagline: string } diff --git a/specification/specs/x_pack/info/x_pack_usage/AlertingCount.ts b/specification/specs/x_pack/info/x_pack_usage/AlertingCount.ts index a339f9d79f..32f5e7e088 100644 --- a/specification/specs/x_pack/info/x_pack_usage/AlertingCount.ts +++ b/specification/specs/x_pack/info/x_pack_usage/AlertingCount.ts @@ -1,4 +1,4 @@ class AlertingCount { - active: long; - total: long; + active: long + total: long } diff --git a/specification/specs/x_pack/info/x_pack_usage/AlertingExecution.ts b/specification/specs/x_pack/info/x_pack_usage/AlertingExecution.ts index 332be6297c..80476f280b 100644 --- a/specification/specs/x_pack/info/x_pack_usage/AlertingExecution.ts +++ b/specification/specs/x_pack/info/x_pack_usage/AlertingExecution.ts @@ -1,3 +1,3 @@ class AlertingExecution { - actions: Dictionary; + actions: Dictionary } diff --git a/specification/specs/x_pack/info/x_pack_usage/AlertingInput.ts b/specification/specs/x_pack/info/x_pack_usage/AlertingInput.ts index 7a855e1e46..747865b9f1 100644 --- a/specification/specs/x_pack/info/x_pack_usage/AlertingInput.ts +++ b/specification/specs/x_pack/info/x_pack_usage/AlertingInput.ts @@ -1,4 +1,4 @@ class AlertingInput { - input: Dictionary; - trigger: Dictionary; + input: Dictionary + trigger: Dictionary } diff --git a/specification/specs/x_pack/info/x_pack_usage/AlertingUsage.ts b/specification/specs/x_pack/info/x_pack_usage/AlertingUsage.ts index 4d991fd204..85ca4c9402 100644 --- a/specification/specs/x_pack/info/x_pack_usage/AlertingUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/AlertingUsage.ts @@ -1,5 +1,5 @@ class AlertingUsage extends XPackUsage { - count: AlertingCount; - execution: AlertingExecution; - watch: AlertingInput; + count: AlertingCount + execution: AlertingExecution + watch: AlertingInput } diff --git a/specification/specs/x_pack/info/x_pack_usage/AuditUsage.ts b/specification/specs/x_pack/info/x_pack_usage/AuditUsage.ts index 5131e2e837..7898be64f5 100644 --- a/specification/specs/x_pack/info/x_pack_usage/AuditUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/AuditUsage.ts @@ -1,3 +1,3 @@ class AuditUsage extends SecurityFeatureToggle { - outputs: string[]; + outputs: string[] } diff --git a/specification/specs/x_pack/info/x_pack_usage/CcrUsage.ts b/specification/specs/x_pack/info/x_pack_usage/CcrUsage.ts index ecd099e16c..8b8a41a277 100644 --- a/specification/specs/x_pack/info/x_pack_usage/CcrUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/CcrUsage.ts @@ -1,4 +1,4 @@ class CcrUsage extends XPackUsage { - auto_follow_patterns_count: integer; - follower_indices_count: integer; + auto_follow_patterns_count: integer + follower_indices_count: integer } diff --git a/specification/specs/x_pack/info/x_pack_usage/DataFeed.ts b/specification/specs/x_pack/info/x_pack_usage/DataFeed.ts index 2c2105cea3..a18d5bda00 100644 --- a/specification/specs/x_pack/info/x_pack_usage/DataFeed.ts +++ b/specification/specs/x_pack/info/x_pack_usage/DataFeed.ts @@ -1,3 +1,3 @@ class DataFeed { - count: long; + count: long } diff --git a/specification/specs/x_pack/info/x_pack_usage/ExecutionAction.ts b/specification/specs/x_pack/info/x_pack_usage/ExecutionAction.ts index 990567fc31..7898f1f860 100644 --- a/specification/specs/x_pack/info/x_pack_usage/ExecutionAction.ts +++ b/specification/specs/x_pack/info/x_pack_usage/ExecutionAction.ts @@ -1,4 +1,4 @@ class ExecutionAction { - total: long; - total_in_ms: long; + total: long + total_in_ms: long } diff --git a/specification/specs/x_pack/info/x_pack_usage/FlattenedUsage.ts b/specification/specs/x_pack/info/x_pack_usage/FlattenedUsage.ts index 7df5a1b966..4f3e0668fd 100644 --- a/specification/specs/x_pack/info/x_pack_usage/FlattenedUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/FlattenedUsage.ts @@ -1,3 +1,3 @@ class FlattenedUsage extends XPackUsage { - field_count: integer; + field_count: integer } diff --git a/specification/specs/x_pack/info/x_pack_usage/ForecastStatistics.ts b/specification/specs/x_pack/info/x_pack_usage/ForecastStatistics.ts index 66a1adb705..5d957815f1 100644 --- a/specification/specs/x_pack/info/x_pack_usage/ForecastStatistics.ts +++ b/specification/specs/x_pack/info/x_pack_usage/ForecastStatistics.ts @@ -1,8 +1,8 @@ class ForecastStatistics { - forecasted_jobs: long; - memory_bytes: JobStatistics; - processing_time_ms: JobStatistics; - records: JobStatistics; - status: Dictionary; - total: long; + forecasted_jobs: long + memory_bytes: JobStatistics + processing_time_ms: JobStatistics + records: JobStatistics + status: Dictionary + total: long } diff --git a/specification/specs/x_pack/info/x_pack_usage/IlmPolicyStatistics.ts b/specification/specs/x_pack/info/x_pack_usage/IlmPolicyStatistics.ts index 934e4f5c7f..6ab526b2dc 100644 --- a/specification/specs/x_pack/info/x_pack_usage/IlmPolicyStatistics.ts +++ b/specification/specs/x_pack/info/x_pack_usage/IlmPolicyStatistics.ts @@ -1,4 +1,4 @@ class IlmPolicyStatistics { - indices_managed: integer; - phases: Phases; + indices_managed: integer + phases: Phases } diff --git a/specification/specs/x_pack/info/x_pack_usage/IlmUsage.ts b/specification/specs/x_pack/info/x_pack_usage/IlmUsage.ts index ec77ed9fc1..48e4b14506 100644 --- a/specification/specs/x_pack/info/x_pack_usage/IlmUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/IlmUsage.ts @@ -1,4 +1,4 @@ class IlmUsage { - policy_count: integer; - policy_stats: IlmPolicyStatistics[]; + policy_count: integer + policy_stats: IlmPolicyStatistics[] } diff --git a/specification/specs/x_pack/info/x_pack_usage/IpFilterUsage.ts b/specification/specs/x_pack/info/x_pack_usage/IpFilterUsage.ts index 9db5a35636..2435d2a224 100644 --- a/specification/specs/x_pack/info/x_pack_usage/IpFilterUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/IpFilterUsage.ts @@ -1,4 +1,4 @@ class IpFilterUsage { - http: boolean; - transport: boolean; + http: boolean + transport: boolean } diff --git a/specification/specs/x_pack/info/x_pack_usage/Job.ts b/specification/specs/x_pack/info/x_pack_usage/Job.ts index f3a32cfdf8..e32481f06b 100644 --- a/specification/specs/x_pack/info/x_pack_usage/Job.ts +++ b/specification/specs/x_pack/info/x_pack_usage/Job.ts @@ -1,20 +1,20 @@ class Job { - allow_lazy_open: boolean; - analysis_config: AnalysisConfig; - analysis_limits: AnalysisLimits; - background_persist_interval: Time; + allow_lazy_open: boolean + analysis_config: AnalysisConfig + analysis_limits: AnalysisLimits + background_persist_interval: Time /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - create_time: Date; - data_description: DataDescription; - description: string; + create_time: Date + data_description: DataDescription + description: string /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - finished_time: Date; - job_id: string; - job_type: string; - model_plot: ModelPlotConfig; - model_snapshot_id: string; - model_snapshot_retention_days: long; - renormalization_window_days: long; - results_index_name: string; - results_retention_days: long; + finished_time: Date + job_id: string + job_type: string + model_plot: ModelPlotConfig + model_snapshot_id: string + model_snapshot_retention_days: long + renormalization_window_days: long + results_index_name: string + results_retention_days: long } diff --git a/specification/specs/x_pack/info/x_pack_usage/JobStatistics.ts b/specification/specs/x_pack/info/x_pack_usage/JobStatistics.ts index 082bf5e4f3..8d80ab076b 100644 --- a/specification/specs/x_pack/info/x_pack_usage/JobStatistics.ts +++ b/specification/specs/x_pack/info/x_pack_usage/JobStatistics.ts @@ -1,6 +1,6 @@ class JobStatistics { - avg: double; - max: double; - min: double; - total: double; + avg: double + max: double + min: double + total: double } diff --git a/specification/specs/x_pack/info/x_pack_usage/MachineLearningUsage.ts b/specification/specs/x_pack/info/x_pack_usage/MachineLearningUsage.ts index 0406de90dc..0fa9ec38a7 100644 --- a/specification/specs/x_pack/info/x_pack_usage/MachineLearningUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/MachineLearningUsage.ts @@ -1,5 +1,5 @@ class MachineLearningUsage extends XPackUsage { - datafeeds: Dictionary; - jobs: Dictionary; - node_count: integer; + datafeeds: Dictionary + jobs: Dictionary + node_count: integer } diff --git a/specification/specs/x_pack/info/x_pack_usage/MonitoringUsage.ts b/specification/specs/x_pack/info/x_pack_usage/MonitoringUsage.ts index a5a6279d84..671d0d7b8f 100644 --- a/specification/specs/x_pack/info/x_pack_usage/MonitoringUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/MonitoringUsage.ts @@ -1,4 +1,4 @@ class MonitoringUsage extends XPackUsage { - collection_enabled: boolean; - enabled_exporters: Dictionary; + collection_enabled: boolean + enabled_exporters: Dictionary } diff --git a/specification/specs/x_pack/info/x_pack_usage/QueryUsage.ts b/specification/specs/x_pack/info/x_pack_usage/QueryUsage.ts index 86e4676795..17cbf1fb49 100644 --- a/specification/specs/x_pack/info/x_pack_usage/QueryUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/QueryUsage.ts @@ -1,6 +1,6 @@ class QueryUsage { - count: integer; - failed: integer; - paging: integer; - total: integer; + count: integer + failed: integer + paging: integer + total: integer } diff --git a/specification/specs/x_pack/info/x_pack_usage/RealmUsage.ts b/specification/specs/x_pack/info/x_pack_usage/RealmUsage.ts index 4ea49d152f..905d1a668c 100644 --- a/specification/specs/x_pack/info/x_pack_usage/RealmUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/RealmUsage.ts @@ -1,5 +1,5 @@ class RealmUsage extends XPackUsage { - name: string[]; - order: long[]; - size: long[]; + name: string[] + order: long[] + size: long[] } diff --git a/specification/specs/x_pack/info/x_pack_usage/RoleMappingUsage.ts b/specification/specs/x_pack/info/x_pack_usage/RoleMappingUsage.ts index 06a030d231..8ede08b5a6 100644 --- a/specification/specs/x_pack/info/x_pack_usage/RoleMappingUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/RoleMappingUsage.ts @@ -1,4 +1,4 @@ class RoleMappingUsage { - enabled: integer; - size: integer; + enabled: integer + size: integer } diff --git a/specification/specs/x_pack/info/x_pack_usage/RoleUsage.ts b/specification/specs/x_pack/info/x_pack_usage/RoleUsage.ts index 1dac0c1519..c7d606bcc0 100644 --- a/specification/specs/x_pack/info/x_pack_usage/RoleUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/RoleUsage.ts @@ -1,5 +1,5 @@ class RoleUsage { - dls: boolean; - fls: boolean; - size: long; + dls: boolean + fls: boolean + size: long } diff --git a/specification/specs/x_pack/info/x_pack_usage/SecurityFeatureToggle.ts b/specification/specs/x_pack/info/x_pack_usage/SecurityFeatureToggle.ts index 25d25aa5ef..e98a47a633 100644 --- a/specification/specs/x_pack/info/x_pack_usage/SecurityFeatureToggle.ts +++ b/specification/specs/x_pack/info/x_pack_usage/SecurityFeatureToggle.ts @@ -1,3 +1,3 @@ class SecurityFeatureToggle { - enabled: boolean; + enabled: boolean } diff --git a/specification/specs/x_pack/info/x_pack_usage/SecurityUsage.ts b/specification/specs/x_pack/info/x_pack_usage/SecurityUsage.ts index eff26a4133..ae3acef8f6 100644 --- a/specification/specs/x_pack/info/x_pack_usage/SecurityUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/SecurityUsage.ts @@ -1,10 +1,10 @@ class SecurityUsage extends XPackUsage { - anonymous: SecurityFeatureToggle; - audit: AuditUsage; - ipfilter: IpFilterUsage; - realms: Dictionary; - role_mapping: Dictionary; - roles: Dictionary; - ssl: SslUsage; - system_key: SecurityFeatureToggle; + anonymous: SecurityFeatureToggle + audit: AuditUsage + ipfilter: IpFilterUsage + realms: Dictionary + role_mapping: Dictionary + roles: Dictionary + ssl: SslUsage + system_key: SecurityFeatureToggle } diff --git a/specification/specs/x_pack/info/x_pack_usage/SlmUsage.ts b/specification/specs/x_pack/info/x_pack_usage/SlmUsage.ts index 21740a40b2..bcd03371fa 100644 --- a/specification/specs/x_pack/info/x_pack_usage/SlmUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/SlmUsage.ts @@ -1,4 +1,4 @@ class SlmUsage extends XPackUsage { - policy_count: integer; - policy_stats: SnapshotLifecycleStats; + policy_count: integer + policy_stats: SnapshotLifecycleStats } diff --git a/specification/specs/x_pack/info/x_pack_usage/SnapshotLifecycleStats.ts b/specification/specs/x_pack/info/x_pack_usage/SnapshotLifecycleStats.ts index 5f2154cd75..f51298e0aa 100644 --- a/specification/specs/x_pack/info/x_pack_usage/SnapshotLifecycleStats.ts +++ b/specification/specs/x_pack/info/x_pack_usage/SnapshotLifecycleStats.ts @@ -1,11 +1,11 @@ class SnapshotLifecycleStats { - retention_deletion_time: string; - retention_deletion_time_millis: long; - retention_failed: long; - retention_runs: long; - retention_timed_out: long; - total_snapshots_deleted: long; - total_snapshot_deletion_failures: long; - total_snapshots_failed: long; - total_snapshots_taken: long; + retention_deletion_time: string + retention_deletion_time_millis: long + retention_failed: long + retention_runs: long + retention_timed_out: long + total_snapshots_deleted: long + total_snapshot_deletion_failures: long + total_snapshots_failed: long + total_snapshots_taken: long } diff --git a/specification/specs/x_pack/info/x_pack_usage/SqlUsage.ts b/specification/specs/x_pack/info/x_pack_usage/SqlUsage.ts index a11b7e80a0..2dd649a9d6 100644 --- a/specification/specs/x_pack/info/x_pack_usage/SqlUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/SqlUsage.ts @@ -1,4 +1,4 @@ class SqlUsage extends XPackUsage { - features: Dictionary; - queries: Dictionary; + features: Dictionary + queries: Dictionary } diff --git a/specification/specs/x_pack/info/x_pack_usage/SslUsage.ts b/specification/specs/x_pack/info/x_pack_usage/SslUsage.ts index a9e1001a31..fe36b55163 100644 --- a/specification/specs/x_pack/info/x_pack_usage/SslUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/SslUsage.ts @@ -1,4 +1,4 @@ class SslUsage { - http: SecurityFeatureToggle; - transport: SecurityFeatureToggle; + http: SecurityFeatureToggle + transport: SecurityFeatureToggle } diff --git a/specification/specs/x_pack/info/x_pack_usage/VectorUsage.ts b/specification/specs/x_pack/info/x_pack_usage/VectorUsage.ts index 14bc9f972f..ace95fb787 100644 --- a/specification/specs/x_pack/info/x_pack_usage/VectorUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/VectorUsage.ts @@ -1,5 +1,5 @@ class VectorUsage extends XPackUsage { - dense_vector_dims_avg_count: integer; - dense_vector_fields_count: integer; - sparse_vector_fields_count: integer; + dense_vector_dims_avg_count: integer + dense_vector_fields_count: integer + sparse_vector_fields_count: integer } diff --git a/specification/specs/x_pack/info/x_pack_usage/XPackUsage.ts b/specification/specs/x_pack/info/x_pack_usage/XPackUsage.ts index e85e9746b6..76620bf681 100644 --- a/specification/specs/x_pack/info/x_pack_usage/XPackUsage.ts +++ b/specification/specs/x_pack/info/x_pack_usage/XPackUsage.ts @@ -1,4 +1,4 @@ class XPackUsage { - available: boolean; - enabled: boolean; + available: boolean + enabled: boolean } diff --git a/specification/specs/x_pack/info/x_pack_usage/XPackUsageRequest.ts b/specification/specs/x_pack/info/x_pack_usage/XPackUsageRequest.ts index b405bc6a2e..c5640fe0af 100644 --- a/specification/specs/x_pack/info/x_pack_usage/XPackUsageRequest.ts +++ b/specification/specs/x_pack/info/x_pack_usage/XPackUsageRequest.ts @@ -1,8 +1,7 @@ -@rest_spec_name("xpack.usage") +@rest_spec_name('xpack.usage') class XPackUsageRequest extends RequestBase { query_parameters?: { - master_timeout?: Time; - } - body?: { + master_timeout?: Time } + body?: {} } diff --git a/specification/specs/x_pack/info/x_pack_usage/XPackUsageResponse.ts b/specification/specs/x_pack/info/x_pack_usage/XPackUsageResponse.ts index 59df1879e3..0d870d91d5 100644 --- a/specification/specs/x_pack/info/x_pack_usage/XPackUsageResponse.ts +++ b/specification/specs/x_pack/info/x_pack_usage/XPackUsageResponse.ts @@ -1,20 +1,20 @@ class XPackUsageResponse extends ResponseBase { - watcher: AlertingUsage; - ccr: CcrUsage; - data_frame: XPackUsage; - data_science: XPackUsage; - enrich: XPackUsage; - flattened: FlattenedUsage; - graph: XPackUsage; - ilm: IlmUsage; - logstash: XPackUsage; - ml: MachineLearningUsage; - monitoring: MonitoringUsage; - rollup: XPackUsage; - security: SecurityUsage; - slm: SlmUsage; - sql: SqlUsage; - transform: XPackUsage; - vectors: VectorUsage; - voting_only: XPackUsage; + watcher: AlertingUsage + ccr: CcrUsage + data_frame: XPackUsage + data_science: XPackUsage + enrich: XPackUsage + flattened: FlattenedUsage + graph: XPackUsage + ilm: IlmUsage + logstash: XPackUsage + ml: MachineLearningUsage + monitoring: MonitoringUsage + rollup: XPackUsage + security: SecurityUsage + slm: SlmUsage + sql: SqlUsage + transform: XPackUsage + vectors: VectorUsage + voting_only: XPackUsage } diff --git a/specification/specs/x_pack/license/delete_license/DeleteLicenseRequest.ts b/specification/specs/x_pack/license/delete_license/DeleteLicenseRequest.ts index e1c79e5026..09e67f123e 100644 --- a/specification/specs/x_pack/license/delete_license/DeleteLicenseRequest.ts +++ b/specification/specs/x_pack/license/delete_license/DeleteLicenseRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("license.delete") +@rest_spec_name('license.delete') class DeleteLicenseRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/license/delete_license/DeleteLicenseResponse.ts b/specification/specs/x_pack/license/delete_license/DeleteLicenseResponse.ts index e8f607ae89..4cfe39d7ce 100644 --- a/specification/specs/x_pack/license/delete_license/DeleteLicenseResponse.ts +++ b/specification/specs/x_pack/license/delete_license/DeleteLicenseResponse.ts @@ -1,2 +1 @@ -class DeleteLicenseResponse extends ResponseBase { -} +class DeleteLicenseResponse extends ResponseBase {} diff --git a/specification/specs/x_pack/license/get_basic_license_status/GetBasicLicenseStatusRequest.ts b/specification/specs/x_pack/license/get_basic_license_status/GetBasicLicenseStatusRequest.ts index fbc8a7b92c..4a62d62b62 100644 --- a/specification/specs/x_pack/license/get_basic_license_status/GetBasicLicenseStatusRequest.ts +++ b/specification/specs/x_pack/license/get_basic_license_status/GetBasicLicenseStatusRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("license.get_basic_status") +@rest_spec_name('license.get_basic_status') class GetBasicLicenseStatusRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/license/get_basic_license_status/GetBasicLicenseStatusResponse.ts b/specification/specs/x_pack/license/get_basic_license_status/GetBasicLicenseStatusResponse.ts index 29ad9c0b07..2083d8d7d1 100644 --- a/specification/specs/x_pack/license/get_basic_license_status/GetBasicLicenseStatusResponse.ts +++ b/specification/specs/x_pack/license/get_basic_license_status/GetBasicLicenseStatusResponse.ts @@ -1,3 +1,3 @@ class GetBasicLicenseStatusResponse extends ResponseBase { - eligible_to_start_basic: boolean; + eligible_to_start_basic: boolean } diff --git a/specification/specs/x_pack/license/get_license/GetLicenseRequest.ts b/specification/specs/x_pack/license/get_license/GetLicenseRequest.ts index 59560d4229..3ed35837f3 100644 --- a/specification/specs/x_pack/license/get_license/GetLicenseRequest.ts +++ b/specification/specs/x_pack/license/get_license/GetLicenseRequest.ts @@ -1,9 +1,8 @@ -@rest_spec_name("license.get") +@rest_spec_name('license.get') class GetLicenseRequest extends RequestBase { query_parameters?: { - accept_enterprise?: boolean; - local?: boolean; - } - body?: { + accept_enterprise?: boolean + local?: boolean } + body?: {} } diff --git a/specification/specs/x_pack/license/get_license/GetLicenseResponse.ts b/specification/specs/x_pack/license/get_license/GetLicenseResponse.ts index 31d127557f..19e90e82c0 100644 --- a/specification/specs/x_pack/license/get_license/GetLicenseResponse.ts +++ b/specification/specs/x_pack/license/get_license/GetLicenseResponse.ts @@ -1,3 +1,3 @@ class GetLicenseResponse extends ResponseBase { - license: LicenseInformation; + license: LicenseInformation } diff --git a/specification/specs/x_pack/license/get_license/License.ts b/specification/specs/x_pack/license/get_license/License.ts index ff70e259d9..1b21495554 100644 --- a/specification/specs/x_pack/license/get_license/License.ts +++ b/specification/specs/x_pack/license/get_license/License.ts @@ -1,10 +1,10 @@ class License { - expiry_date_in_millis: long; - issue_date_in_millis: long; - issued_to: string; - issuer: string; - max_nodes: long; - signature: string; - type: LicenseType; - uid: string; + expiry_date_in_millis: long + issue_date_in_millis: long + issued_to: string + issuer: string + max_nodes: long + signature: string + type: LicenseType + uid: string } diff --git a/specification/specs/x_pack/license/get_license/LicenseInformation.ts b/specification/specs/x_pack/license/get_license/LicenseInformation.ts index 88d912cf2d..7d66c3ffb0 100644 --- a/specification/specs/x_pack/license/get_license/LicenseInformation.ts +++ b/specification/specs/x_pack/license/get_license/LicenseInformation.ts @@ -1,15 +1,15 @@ class LicenseInformation { - expiry_date: Date; - expiry_date_in_millis: long; - issue_date: Date; - issue_date_in_millis: long; - issued_to: string; - issuer: string; - max_nodes: long; - max_resource_units: integer; - status: LicenseStatus; - type: LicenseType; - uid: string; - expirty_date_in_millis: long; - start_date_in_millis: long; + expiry_date: Date + expiry_date_in_millis: long + issue_date: Date + issue_date_in_millis: long + issued_to: string + issuer: string + max_nodes: long + max_resource_units: integer + status: LicenseStatus + type: LicenseType + uid: string + expirty_date_in_millis: long + start_date_in_millis: long } diff --git a/specification/specs/x_pack/license/get_trial_license_status/GetTrialLicenseStatusRequest.ts b/specification/specs/x_pack/license/get_trial_license_status/GetTrialLicenseStatusRequest.ts index 3f4d755bd7..ad24192dd2 100644 --- a/specification/specs/x_pack/license/get_trial_license_status/GetTrialLicenseStatusRequest.ts +++ b/specification/specs/x_pack/license/get_trial_license_status/GetTrialLicenseStatusRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("license.get_trial_status") +@rest_spec_name('license.get_trial_status') class GetTrialLicenseStatusRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/license/get_trial_license_status/GetTrialLicenseStatusResponse.ts b/specification/specs/x_pack/license/get_trial_license_status/GetTrialLicenseStatusResponse.ts index f112fa6130..ab519f4ba8 100644 --- a/specification/specs/x_pack/license/get_trial_license_status/GetTrialLicenseStatusResponse.ts +++ b/specification/specs/x_pack/license/get_trial_license_status/GetTrialLicenseStatusResponse.ts @@ -1,3 +1,3 @@ class GetTrialLicenseStatusResponse extends ResponseBase { - eligible_to_start_trial: boolean; + eligible_to_start_trial: boolean } diff --git a/specification/specs/x_pack/license/post_license/LicenseAcknowledgement.ts b/specification/specs/x_pack/license/post_license/LicenseAcknowledgement.ts index 15336079a7..de197b2f00 100644 --- a/specification/specs/x_pack/license/post_license/LicenseAcknowledgement.ts +++ b/specification/specs/x_pack/license/post_license/LicenseAcknowledgement.ts @@ -1,4 +1,4 @@ class LicenseAcknowledgement { - license: string[]; - message: string; + license: string[] + message: string } diff --git a/specification/specs/x_pack/license/post_license/PostLicenseRequest.ts b/specification/specs/x_pack/license/post_license/PostLicenseRequest.ts index ae207689df..14dc2437e8 100644 --- a/specification/specs/x_pack/license/post_license/PostLicenseRequest.ts +++ b/specification/specs/x_pack/license/post_license/PostLicenseRequest.ts @@ -1,9 +1,9 @@ -@rest_spec_name("license.post") +@rest_spec_name('license.post') class PostLicenseRequest extends RequestBase { query_parameters?: { - acknowledge?: boolean; + acknowledge?: boolean } body?: { - license?: License; + license?: License } } diff --git a/specification/specs/x_pack/license/post_license/PostLicenseResponse.ts b/specification/specs/x_pack/license/post_license/PostLicenseResponse.ts index 0823424620..ed05822795 100644 --- a/specification/specs/x_pack/license/post_license/PostLicenseResponse.ts +++ b/specification/specs/x_pack/license/post_license/PostLicenseResponse.ts @@ -1,5 +1,5 @@ class PostLicenseResponse extends ResponseBase { - acknowledge: LicenseAcknowledgement; - acknowledged: boolean; - license_status: LicenseStatus; + acknowledge: LicenseAcknowledgement + acknowledged: boolean + license_status: LicenseStatus } diff --git a/specification/specs/x_pack/license/start_basic_license/StartBasicLicenseRequest.ts b/specification/specs/x_pack/license/start_basic_license/StartBasicLicenseRequest.ts index d380b6e10b..4385eaec05 100644 --- a/specification/specs/x_pack/license/start_basic_license/StartBasicLicenseRequest.ts +++ b/specification/specs/x_pack/license/start_basic_license/StartBasicLicenseRequest.ts @@ -1,8 +1,7 @@ -@rest_spec_name("license.post_start_basic") +@rest_spec_name('license.post_start_basic') class StartBasicLicenseRequest extends RequestBase { query_parameters?: { - acknowledge?: boolean; - } - body?: { + acknowledge?: boolean } + body?: {} } diff --git a/specification/specs/x_pack/license/start_basic_license/StartBasicLicenseResponse.ts b/specification/specs/x_pack/license/start_basic_license/StartBasicLicenseResponse.ts index 571efa06c5..7ffad3772a 100644 --- a/specification/specs/x_pack/license/start_basic_license/StartBasicLicenseResponse.ts +++ b/specification/specs/x_pack/license/start_basic_license/StartBasicLicenseResponse.ts @@ -1,5 +1,5 @@ class StartBasicLicenseResponse extends AcknowledgedResponseBase { - acknowledge: Dictionary; - basic_was_started: boolean; - error_message: string; + acknowledge: Dictionary + basic_was_started: boolean + error_message: string } diff --git a/specification/specs/x_pack/license/start_trial_license/StartTrialLicenseRequest.ts b/specification/specs/x_pack/license/start_trial_license/StartTrialLicenseRequest.ts index 8aeabddd2f..4c5dd7fbb8 100644 --- a/specification/specs/x_pack/license/start_trial_license/StartTrialLicenseRequest.ts +++ b/specification/specs/x_pack/license/start_trial_license/StartTrialLicenseRequest.ts @@ -1,9 +1,8 @@ -@rest_spec_name("license.post_start_trial") +@rest_spec_name('license.post_start_trial') class StartTrialLicenseRequest extends RequestBase { query_parameters?: { - acknowledge?: boolean; - type_query_string?: string; - } - body?: { + acknowledge?: boolean + type_query_string?: string } + body?: {} } diff --git a/specification/specs/x_pack/license/start_trial_license/StartTrialLicenseResponse.ts b/specification/specs/x_pack/license/start_trial_license/StartTrialLicenseResponse.ts index 0a927a53ea..56449ea1cf 100644 --- a/specification/specs/x_pack/license/start_trial_license/StartTrialLicenseResponse.ts +++ b/specification/specs/x_pack/license/start_trial_license/StartTrialLicenseResponse.ts @@ -1,4 +1,4 @@ class StartTrialLicenseResponse extends AcknowledgedResponseBase { - error_message: string; - trial_was_started: boolean; + error_message: string + trial_was_started: boolean } diff --git a/specification/specs/x_pack/machine_learning/close_job/CloseJobRequest.ts b/specification/specs/x_pack/machine_learning/close_job/CloseJobRequest.ts index 25816cbe84..2c0acb895f 100644 --- a/specification/specs/x_pack/machine_learning/close_job/CloseJobRequest.ts +++ b/specification/specs/x_pack/machine_learning/close_job/CloseJobRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("ml.close_job") +@rest_spec_name('ml.close_job') class CloseJobRequest extends RequestBase { path_parts?: { - job_id: Id; + job_id: Id } query_parameters?: { - allow_no_jobs?: boolean; - force?: boolean; - timeout?: Time; - } - body?: { + allow_no_jobs?: boolean + force?: boolean + timeout?: Time } + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/close_job/CloseJobResponse.ts b/specification/specs/x_pack/machine_learning/close_job/CloseJobResponse.ts index 86ee6cee40..6722f7c03a 100644 --- a/specification/specs/x_pack/machine_learning/close_job/CloseJobResponse.ts +++ b/specification/specs/x_pack/machine_learning/close_job/CloseJobResponse.ts @@ -1,3 +1,3 @@ class CloseJobResponse extends ResponseBase { - closed: boolean; + closed: boolean } diff --git a/specification/specs/x_pack/machine_learning/datafeed/ChunkingConfig.ts b/specification/specs/x_pack/machine_learning/datafeed/ChunkingConfig.ts index 9ee06a1ebe..4efc87b95a 100644 --- a/specification/specs/x_pack/machine_learning/datafeed/ChunkingConfig.ts +++ b/specification/specs/x_pack/machine_learning/datafeed/ChunkingConfig.ts @@ -1,4 +1,4 @@ class ChunkingConfig { - mode: ChunkingMode; - time_span: Time; + mode: ChunkingMode + time_span: Time } diff --git a/specification/specs/x_pack/machine_learning/datafeed/DatafeedConfig.ts b/specification/specs/x_pack/machine_learning/datafeed/DatafeedConfig.ts index c183c8e5af..5569a38e54 100644 --- a/specification/specs/x_pack/machine_learning/datafeed/DatafeedConfig.ts +++ b/specification/specs/x_pack/machine_learning/datafeed/DatafeedConfig.ts @@ -1,14 +1,14 @@ class DatafeedConfig { - aggregations: Dictionary; - chunking_config: ChunkingConfig; - datafeed_id: string; - frequency: Time; + aggregations: Dictionary + chunking_config: ChunkingConfig + datafeed_id: string + frequency: Time /** @prop_serializer IndicesFormatter */ - indices: Indices; - job_id: string; - max_empty_searches: integer; - query: QueryContainer; - query_delay: Time; - script_fields: Dictionary; - scroll_size: integer; + indices: Indices + job_id: string + max_empty_searches: integer + query: QueryContainer + query_delay: Time + script_fields: Dictionary + scroll_size: integer } diff --git a/specification/specs/x_pack/machine_learning/datafeed/DatafeedStats.ts b/specification/specs/x_pack/machine_learning/datafeed/DatafeedStats.ts index bcbef041b3..72798fab89 100644 --- a/specification/specs/x_pack/machine_learning/datafeed/DatafeedStats.ts +++ b/specification/specs/x_pack/machine_learning/datafeed/DatafeedStats.ts @@ -1,7 +1,7 @@ class DatafeedStats { - assignment_explanation: string; - datafeed_id: string; - node: DiscoveryNode; - state: DatafeedState; - timing_stats: DatafeedTimingStats; + assignment_explanation: string + datafeed_id: string + node: DiscoveryNode + state: DatafeedState + timing_stats: DatafeedTimingStats } diff --git a/specification/specs/x_pack/machine_learning/datafeed/DatafeedTimingStats.ts b/specification/specs/x_pack/machine_learning/datafeed/DatafeedTimingStats.ts index 36f83c6f40..21add94251 100644 --- a/specification/specs/x_pack/machine_learning/datafeed/DatafeedTimingStats.ts +++ b/specification/specs/x_pack/machine_learning/datafeed/DatafeedTimingStats.ts @@ -1,7 +1,7 @@ class DatafeedTimingStats { - bucket_count: long; - exponential_average_search_time_per_hour_ms: double; - job_id: string; - search_count: long; - total_search_time_ms: double; + bucket_count: long + exponential_average_search_time_per_hour_ms: double + job_id: string + search_count: long + total_search_time_ms: double } diff --git a/specification/specs/x_pack/machine_learning/datafeed/DiscoveryNode.ts b/specification/specs/x_pack/machine_learning/datafeed/DiscoveryNode.ts index 6216c49747..9b022874e5 100644 --- a/specification/specs/x_pack/machine_learning/datafeed/DiscoveryNode.ts +++ b/specification/specs/x_pack/machine_learning/datafeed/DiscoveryNode.ts @@ -1,8 +1,8 @@ class DiscoveryNode { /** @prop_serializer VerbatimInterfaceReadOnlyDictionaryKeysFormatter`2 */ - attributes: Dictionary; - ephemeral_id: string; - id: string; - name: string; - transport_address: string; + attributes: Dictionary + ephemeral_id: string + id: string + name: string + transport_address: string } diff --git a/specification/specs/x_pack/machine_learning/delete_calendar/DeleteCalendarRequest.ts b/specification/specs/x_pack/machine_learning/delete_calendar/DeleteCalendarRequest.ts index 05850e3c30..b45b0368e9 100644 --- a/specification/specs/x_pack/machine_learning/delete_calendar/DeleteCalendarRequest.ts +++ b/specification/specs/x_pack/machine_learning/delete_calendar/DeleteCalendarRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("ml.delete_calendar") +@rest_spec_name('ml.delete_calendar') class DeleteCalendarRequest extends RequestBase { path_parts?: { - calendar_id: Id; - } - query_parameters?: { - } - body?: { + calendar_id: Id } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/delete_calendar/DeleteCalendarResponse.ts b/specification/specs/x_pack/machine_learning/delete_calendar/DeleteCalendarResponse.ts index d226997269..41856dc947 100644 --- a/specification/specs/x_pack/machine_learning/delete_calendar/DeleteCalendarResponse.ts +++ b/specification/specs/x_pack/machine_learning/delete_calendar/DeleteCalendarResponse.ts @@ -1,2 +1 @@ -class DeleteCalendarResponse extends AcknowledgedResponseBase { -} +class DeleteCalendarResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/machine_learning/delete_calendar_event/DeleteCalendarEventRequest.ts b/specification/specs/x_pack/machine_learning/delete_calendar_event/DeleteCalendarEventRequest.ts index 3204b6d666..93ecdc8b32 100644 --- a/specification/specs/x_pack/machine_learning/delete_calendar_event/DeleteCalendarEventRequest.ts +++ b/specification/specs/x_pack/machine_learning/delete_calendar_event/DeleteCalendarEventRequest.ts @@ -1,11 +1,9 @@ -@rest_spec_name("ml.delete_calendar_event") +@rest_spec_name('ml.delete_calendar_event') class DeleteCalendarEventRequest extends RequestBase { path_parts?: { - calendar_id: Id; - event_id: Id; - } - query_parameters?: { - } - body?: { + calendar_id: Id + event_id: Id } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/delete_calendar_event/DeleteCalendarEventResponse.ts b/specification/specs/x_pack/machine_learning/delete_calendar_event/DeleteCalendarEventResponse.ts index 261190fb5d..f49308e04e 100644 --- a/specification/specs/x_pack/machine_learning/delete_calendar_event/DeleteCalendarEventResponse.ts +++ b/specification/specs/x_pack/machine_learning/delete_calendar_event/DeleteCalendarEventResponse.ts @@ -1,2 +1 @@ -class DeleteCalendarEventResponse extends AcknowledgedResponseBase { -} +class DeleteCalendarEventResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/machine_learning/delete_calendar_job/DeleteCalendarJobRequest.ts b/specification/specs/x_pack/machine_learning/delete_calendar_job/DeleteCalendarJobRequest.ts index 7aeb6c2787..91b69f98b6 100644 --- a/specification/specs/x_pack/machine_learning/delete_calendar_job/DeleteCalendarJobRequest.ts +++ b/specification/specs/x_pack/machine_learning/delete_calendar_job/DeleteCalendarJobRequest.ts @@ -1,11 +1,9 @@ -@rest_spec_name("ml.delete_calendar_job") +@rest_spec_name('ml.delete_calendar_job') class DeleteCalendarJobRequest extends RequestBase { path_parts?: { - calendar_id: Id; - job_id: Id; - } - query_parameters?: { - } - body?: { + calendar_id: Id + job_id: Id } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/delete_calendar_job/DeleteCalendarJobResponse.ts b/specification/specs/x_pack/machine_learning/delete_calendar_job/DeleteCalendarJobResponse.ts index ed6714a1fd..4c210a39ba 100644 --- a/specification/specs/x_pack/machine_learning/delete_calendar_job/DeleteCalendarJobResponse.ts +++ b/specification/specs/x_pack/machine_learning/delete_calendar_job/DeleteCalendarJobResponse.ts @@ -1,5 +1,5 @@ class DeleteCalendarJobResponse extends ResponseBase { - calendar_id: string; - description: string; - job_ids: Id[]; + calendar_id: string + description: string + job_ids: Id[] } diff --git a/specification/specs/x_pack/machine_learning/delete_datafeed/DeleteDatafeedRequest.ts b/specification/specs/x_pack/machine_learning/delete_datafeed/DeleteDatafeedRequest.ts index e880bc8c28..8468ecdf4a 100644 --- a/specification/specs/x_pack/machine_learning/delete_datafeed/DeleteDatafeedRequest.ts +++ b/specification/specs/x_pack/machine_learning/delete_datafeed/DeleteDatafeedRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("ml.delete_datafeed") +@rest_spec_name('ml.delete_datafeed') class DeleteDatafeedRequest extends RequestBase { path_parts?: { - datafeed_id: Id; + datafeed_id: Id } query_parameters?: { - force?: boolean; - } - body?: { + force?: boolean } + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/delete_datafeed/DeleteDatafeedResponse.ts b/specification/specs/x_pack/machine_learning/delete_datafeed/DeleteDatafeedResponse.ts index fb30019667..d3b7adce28 100644 --- a/specification/specs/x_pack/machine_learning/delete_datafeed/DeleteDatafeedResponse.ts +++ b/specification/specs/x_pack/machine_learning/delete_datafeed/DeleteDatafeedResponse.ts @@ -1,2 +1 @@ -class DeleteDatafeedResponse extends AcknowledgedResponseBase { -} +class DeleteDatafeedResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/machine_learning/delete_expired_data/DeleteExpiredDataRequest.ts b/specification/specs/x_pack/machine_learning/delete_expired_data/DeleteExpiredDataRequest.ts index f2fe89472b..fc9f81d7c8 100644 --- a/specification/specs/x_pack/machine_learning/delete_expired_data/DeleteExpiredDataRequest.ts +++ b/specification/specs/x_pack/machine_learning/delete_expired_data/DeleteExpiredDataRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("ml.delete_expired_data") +@rest_spec_name('ml.delete_expired_data') class DeleteExpiredDataRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/delete_expired_data/DeleteExpiredDataResponse.ts b/specification/specs/x_pack/machine_learning/delete_expired_data/DeleteExpiredDataResponse.ts index 9f048420d4..c481fbf2b4 100644 --- a/specification/specs/x_pack/machine_learning/delete_expired_data/DeleteExpiredDataResponse.ts +++ b/specification/specs/x_pack/machine_learning/delete_expired_data/DeleteExpiredDataResponse.ts @@ -1,3 +1,3 @@ class DeleteExpiredDataResponse extends ResponseBase { - deleted: boolean; + deleted: boolean } diff --git a/specification/specs/x_pack/machine_learning/delete_filter/DeleteFilterRequest.ts b/specification/specs/x_pack/machine_learning/delete_filter/DeleteFilterRequest.ts index 6b2f78928d..3e90b62140 100644 --- a/specification/specs/x_pack/machine_learning/delete_filter/DeleteFilterRequest.ts +++ b/specification/specs/x_pack/machine_learning/delete_filter/DeleteFilterRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("ml.delete_filter") +@rest_spec_name('ml.delete_filter') class DeleteFilterRequest extends RequestBase { path_parts?: { - filter_id: Id; - } - query_parameters?: { - } - body?: { + filter_id: Id } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/delete_filter/DeleteFilterResponse.ts b/specification/specs/x_pack/machine_learning/delete_filter/DeleteFilterResponse.ts index 405bcb4891..6f98900efc 100644 --- a/specification/specs/x_pack/machine_learning/delete_filter/DeleteFilterResponse.ts +++ b/specification/specs/x_pack/machine_learning/delete_filter/DeleteFilterResponse.ts @@ -1,2 +1 @@ -class DeleteFilterResponse extends AcknowledgedResponseBase { -} +class DeleteFilterResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/machine_learning/delete_forecast/DeleteForecastRequest.ts b/specification/specs/x_pack/machine_learning/delete_forecast/DeleteForecastRequest.ts index 87569b81c2..68f56f3fba 100644 --- a/specification/specs/x_pack/machine_learning/delete_forecast/DeleteForecastRequest.ts +++ b/specification/specs/x_pack/machine_learning/delete_forecast/DeleteForecastRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("ml.delete_forecast") +@rest_spec_name('ml.delete_forecast') class DeleteForecastRequest extends RequestBase { path_parts?: { - job_id: Id; - forecast_id?: Id; + job_id: Id + forecast_id?: Id } query_parameters?: { - allow_no_forecasts?: boolean; - timeout?: Time; - } - body?: { + allow_no_forecasts?: boolean + timeout?: Time } + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/delete_forecast/DeleteForecastResponse.ts b/specification/specs/x_pack/machine_learning/delete_forecast/DeleteForecastResponse.ts index 815d30f25d..75097203d3 100644 --- a/specification/specs/x_pack/machine_learning/delete_forecast/DeleteForecastResponse.ts +++ b/specification/specs/x_pack/machine_learning/delete_forecast/DeleteForecastResponse.ts @@ -1,2 +1 @@ -class DeleteForecastResponse extends AcknowledgedResponseBase { -} +class DeleteForecastResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/machine_learning/delete_job/DeleteJobRequest.ts b/specification/specs/x_pack/machine_learning/delete_job/DeleteJobRequest.ts index 1c1c0723f5..b2947bd9d8 100644 --- a/specification/specs/x_pack/machine_learning/delete_job/DeleteJobRequest.ts +++ b/specification/specs/x_pack/machine_learning/delete_job/DeleteJobRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("ml.delete_job") +@rest_spec_name('ml.delete_job') class DeleteJobRequest extends RequestBase { path_parts?: { - job_id: Id; + job_id: Id } query_parameters?: { - force?: boolean; - wait_for_completion?: boolean; - } - body?: { + force?: boolean + wait_for_completion?: boolean } + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/delete_job/DeleteJobResponse.ts b/specification/specs/x_pack/machine_learning/delete_job/DeleteJobResponse.ts index 689842d73a..fe46503f52 100644 --- a/specification/specs/x_pack/machine_learning/delete_job/DeleteJobResponse.ts +++ b/specification/specs/x_pack/machine_learning/delete_job/DeleteJobResponse.ts @@ -1,2 +1 @@ -class DeleteJobResponse extends AcknowledgedResponseBase { -} +class DeleteJobResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/machine_learning/delete_model_snapshot/DeleteModelSnapshotRequest.ts b/specification/specs/x_pack/machine_learning/delete_model_snapshot/DeleteModelSnapshotRequest.ts index 4e575c4252..e40df08a08 100644 --- a/specification/specs/x_pack/machine_learning/delete_model_snapshot/DeleteModelSnapshotRequest.ts +++ b/specification/specs/x_pack/machine_learning/delete_model_snapshot/DeleteModelSnapshotRequest.ts @@ -1,11 +1,9 @@ -@rest_spec_name("ml.delete_model_snapshot") +@rest_spec_name('ml.delete_model_snapshot') class DeleteModelSnapshotRequest extends RequestBase { path_parts?: { - job_id: Id; - snapshot_id: Id; - } - query_parameters?: { - } - body?: { + job_id: Id + snapshot_id: Id } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/delete_model_snapshot/DeleteModelSnapshotResponse.ts b/specification/specs/x_pack/machine_learning/delete_model_snapshot/DeleteModelSnapshotResponse.ts index 51f9487a20..d76071f79b 100644 --- a/specification/specs/x_pack/machine_learning/delete_model_snapshot/DeleteModelSnapshotResponse.ts +++ b/specification/specs/x_pack/machine_learning/delete_model_snapshot/DeleteModelSnapshotResponse.ts @@ -1,2 +1 @@ -class DeleteModelSnapshotResponse extends AcknowledgedResponseBase { -} +class DeleteModelSnapshotResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/machine_learning/estimate_model_memory/EstimateModelMemoryRequest.ts b/specification/specs/x_pack/machine_learning/estimate_model_memory/EstimateModelMemoryRequest.ts index 90da522716..19fae17f3e 100644 --- a/specification/specs/x_pack/machine_learning/estimate_model_memory/EstimateModelMemoryRequest.ts +++ b/specification/specs/x_pack/machine_learning/estimate_model_memory/EstimateModelMemoryRequest.ts @@ -1,10 +1,9 @@ -@rest_spec_name("ml.estimate_model_memory") +@rest_spec_name('ml.estimate_model_memory') class EstimateModelMemoryRequest extends RequestBase { - query_parameters?: { - } + query_parameters?: {} body?: { - analysis_config?: AnalysisConfig; - max_bucket_cardinality?: Dictionary; - overall_cardinality?: Dictionary; + analysis_config?: AnalysisConfig + max_bucket_cardinality?: Dictionary + overall_cardinality?: Dictionary } } diff --git a/specification/specs/x_pack/machine_learning/estimate_model_memory/EstimateModelMemoryResponse.ts b/specification/specs/x_pack/machine_learning/estimate_model_memory/EstimateModelMemoryResponse.ts index ca4aaba877..cf364a9ea4 100644 --- a/specification/specs/x_pack/machine_learning/estimate_model_memory/EstimateModelMemoryResponse.ts +++ b/specification/specs/x_pack/machine_learning/estimate_model_memory/EstimateModelMemoryResponse.ts @@ -1,3 +1,3 @@ class EstimateModelMemoryResponse extends ResponseBase { - model_memory_estimate: string; + model_memory_estimate: string } diff --git a/specification/specs/x_pack/machine_learning/flush_job/FlushJobRequest.ts b/specification/specs/x_pack/machine_learning/flush_job/FlushJobRequest.ts index 2d17d077b6..2f6e6144bd 100644 --- a/specification/specs/x_pack/machine_learning/flush_job/FlushJobRequest.ts +++ b/specification/specs/x_pack/machine_learning/flush_job/FlushJobRequest.ts @@ -1,15 +1,15 @@ -@rest_spec_name("ml.flush_job") +@rest_spec_name('ml.flush_job') class FlushJobRequest extends RequestBase { path_parts?: { - job_id: Id; + job_id: Id } query_parameters?: { - skip_time?: string; + skip_time?: string } body?: { - advance_time?: Date; - calc_interim?: boolean; - end?: Date; - start?: Date; + advance_time?: Date + calc_interim?: boolean + end?: Date + start?: Date } } diff --git a/specification/specs/x_pack/machine_learning/flush_job/FlushJobResponse.ts b/specification/specs/x_pack/machine_learning/flush_job/FlushJobResponse.ts index 1414d1b579..cc04c39df8 100644 --- a/specification/specs/x_pack/machine_learning/flush_job/FlushJobResponse.ts +++ b/specification/specs/x_pack/machine_learning/flush_job/FlushJobResponse.ts @@ -1,3 +1,3 @@ class FlushJobResponse extends ResponseBase { - flushed: boolean; + flushed: boolean } diff --git a/specification/specs/x_pack/machine_learning/forecast_job/ForecastJobRequest.ts b/specification/specs/x_pack/machine_learning/forecast_job/ForecastJobRequest.ts index 5d3045cd43..9dd735ca67 100644 --- a/specification/specs/x_pack/machine_learning/forecast_job/ForecastJobRequest.ts +++ b/specification/specs/x_pack/machine_learning/forecast_job/ForecastJobRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("ml.forecast") +@rest_spec_name('ml.forecast') class ForecastJobRequest extends RequestBase { path_parts?: { - job_id: Id; - } - query_parameters?: { + job_id: Id } + query_parameters?: {} body?: { - duration?: Time; - expires_in?: Time; + duration?: Time + expires_in?: Time } } diff --git a/specification/specs/x_pack/machine_learning/forecast_job/ForecastJobResponse.ts b/specification/specs/x_pack/machine_learning/forecast_job/ForecastJobResponse.ts index beafb37243..d5cea45cf3 100644 --- a/specification/specs/x_pack/machine_learning/forecast_job/ForecastJobResponse.ts +++ b/specification/specs/x_pack/machine_learning/forecast_job/ForecastJobResponse.ts @@ -1,3 +1,3 @@ class ForecastJobResponse extends AcknowledgedResponseBase { - forecast_id: string; + forecast_id: string } diff --git a/specification/specs/x_pack/machine_learning/get_anomaly_records/GetAnomalyRecordsRequest.ts b/specification/specs/x_pack/machine_learning/get_anomaly_records/GetAnomalyRecordsRequest.ts index 8256160ec7..59b92d87d9 100644 --- a/specification/specs/x_pack/machine_learning/get_anomaly_records/GetAnomalyRecordsRequest.ts +++ b/specification/specs/x_pack/machine_learning/get_anomaly_records/GetAnomalyRecordsRequest.ts @@ -1,19 +1,18 @@ -@rest_spec_name("ml.get_records") +@rest_spec_name('ml.get_records') class GetAnomalyRecordsRequest extends RequestBase { path_parts?: { - job_id: Id; - } - query_parameters?: { + job_id: Id } + query_parameters?: {} body?: { - desc?: boolean; + desc?: boolean /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - end?: Date; - exclude_interim?: boolean; - page?: Page; - record_score?: double; - sort?: Field; + end?: Date + exclude_interim?: boolean + page?: Page + record_score?: double + sort?: Field /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - start?: Date; + start?: Date } } diff --git a/specification/specs/x_pack/machine_learning/get_anomaly_records/GetAnomalyRecordsResponse.ts b/specification/specs/x_pack/machine_learning/get_anomaly_records/GetAnomalyRecordsResponse.ts index 0e5bb9c780..b60c50bc05 100644 --- a/specification/specs/x_pack/machine_learning/get_anomaly_records/GetAnomalyRecordsResponse.ts +++ b/specification/specs/x_pack/machine_learning/get_anomaly_records/GetAnomalyRecordsResponse.ts @@ -1,4 +1,4 @@ class GetAnomalyRecordsResponse extends ResponseBase { - count: long; - records: AnomalyRecord[]; + count: long + records: AnomalyRecord[] } diff --git a/specification/specs/x_pack/machine_learning/get_buckets/GetBucketsRequest.ts b/specification/specs/x_pack/machine_learning/get_buckets/GetBucketsRequest.ts index dec23d52eb..0d6e718870 100644 --- a/specification/specs/x_pack/machine_learning/get_buckets/GetBucketsRequest.ts +++ b/specification/specs/x_pack/machine_learning/get_buckets/GetBucketsRequest.ts @@ -1,19 +1,18 @@ -@rest_spec_name("ml.get_buckets") +@rest_spec_name('ml.get_buckets') class GetBucketsRequest extends RequestBase { path_parts?: { - job_id: Id; - timestamp?: Id; - } - query_parameters?: { + job_id: Id + timestamp?: Id } + query_parameters?: {} body?: { - anomaly_score?: double; - desc?: boolean; - end?: Date; - exclude_interim?: boolean; - expand?: boolean; - page?: Page; - sort?: Field; - start?: Date; + anomaly_score?: double + desc?: boolean + end?: Date + exclude_interim?: boolean + expand?: boolean + page?: Page + sort?: Field + start?: Date } } diff --git a/specification/specs/x_pack/machine_learning/get_buckets/GetBucketsResponse.ts b/specification/specs/x_pack/machine_learning/get_buckets/GetBucketsResponse.ts index b5fae1f582..386af56151 100644 --- a/specification/specs/x_pack/machine_learning/get_buckets/GetBucketsResponse.ts +++ b/specification/specs/x_pack/machine_learning/get_buckets/GetBucketsResponse.ts @@ -1,4 +1,4 @@ class GetBucketsResponse extends ResponseBase { - buckets: ResultBucket[]; - count: long; + buckets: ResultBucket[] + count: long } diff --git a/specification/specs/x_pack/machine_learning/get_calendar_events/GetCalendarEventsRequest.ts b/specification/specs/x_pack/machine_learning/get_calendar_events/GetCalendarEventsRequest.ts index e1f0550e75..6419a242ce 100644 --- a/specification/specs/x_pack/machine_learning/get_calendar_events/GetCalendarEventsRequest.ts +++ b/specification/specs/x_pack/machine_learning/get_calendar_events/GetCalendarEventsRequest.ts @@ -1,15 +1,15 @@ -@rest_spec_name("ml.get_calendar_events") +@rest_spec_name('ml.get_calendar_events') class GetCalendarEventsRequest extends RequestBase { path_parts?: { - calendar_id: Id; + calendar_id: Id } query_parameters?: { - end?: Date; - job_id?: string; - start?: string; + end?: Date + job_id?: string + start?: string } body?: { - from?: integer; - size?: integer; + from?: integer + size?: integer } } diff --git a/specification/specs/x_pack/machine_learning/get_calendar_events/GetCalendarEventsResponse.ts b/specification/specs/x_pack/machine_learning/get_calendar_events/GetCalendarEventsResponse.ts index 5d9861da29..cd74927358 100644 --- a/specification/specs/x_pack/machine_learning/get_calendar_events/GetCalendarEventsResponse.ts +++ b/specification/specs/x_pack/machine_learning/get_calendar_events/GetCalendarEventsResponse.ts @@ -1,4 +1,4 @@ class GetCalendarEventsResponse extends ResponseBase { - count: integer; - events: ScheduledEvent[]; + count: integer + events: ScheduledEvent[] } diff --git a/specification/specs/x_pack/machine_learning/get_calendars/Calendar.ts b/specification/specs/x_pack/machine_learning/get_calendars/Calendar.ts index 8a63761f5b..f34ffaae19 100644 --- a/specification/specs/x_pack/machine_learning/get_calendars/Calendar.ts +++ b/specification/specs/x_pack/machine_learning/get_calendars/Calendar.ts @@ -1,5 +1,5 @@ class Calendar { - calendar_id: string; - description: string; - job_ids: string[]; + calendar_id: string + description: string + job_ids: string[] } diff --git a/specification/specs/x_pack/machine_learning/get_calendars/GetCalendarsRequest.ts b/specification/specs/x_pack/machine_learning/get_calendars/GetCalendarsRequest.ts index 3509906e36..a4854b0c95 100644 --- a/specification/specs/x_pack/machine_learning/get_calendars/GetCalendarsRequest.ts +++ b/specification/specs/x_pack/machine_learning/get_calendars/GetCalendarsRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("ml.get_calendars") +@rest_spec_name('ml.get_calendars') class GetCalendarsRequest extends RequestBase { path_parts?: { - calendar_id?: Id; - } - query_parameters?: { + calendar_id?: Id } + query_parameters?: {} body?: { - page?: Page; + page?: Page } } diff --git a/specification/specs/x_pack/machine_learning/get_calendars/GetCalendarsResponse.ts b/specification/specs/x_pack/machine_learning/get_calendars/GetCalendarsResponse.ts index dc3fae5921..3030818dd5 100644 --- a/specification/specs/x_pack/machine_learning/get_calendars/GetCalendarsResponse.ts +++ b/specification/specs/x_pack/machine_learning/get_calendars/GetCalendarsResponse.ts @@ -1,4 +1,4 @@ class GetCalendarsResponse extends ResponseBase { - calendars: Calendar[]; - count: long; + calendars: Calendar[] + count: long } diff --git a/specification/specs/x_pack/machine_learning/get_categories/GetCategoriesRequest.ts b/specification/specs/x_pack/machine_learning/get_categories/GetCategoriesRequest.ts index f0edca4102..b3868f651f 100644 --- a/specification/specs/x_pack/machine_learning/get_categories/GetCategoriesRequest.ts +++ b/specification/specs/x_pack/machine_learning/get_categories/GetCategoriesRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("ml.get_categories") +@rest_spec_name('ml.get_categories') class GetCategoriesRequest extends RequestBase { path_parts?: { - job_id: Id; - category_id?: CategoryId; - } - query_parameters?: { + job_id: Id + category_id?: CategoryId } + query_parameters?: {} body?: { - page?: Page; + page?: Page } } diff --git a/specification/specs/x_pack/machine_learning/get_categories/GetCategoriesResponse.ts b/specification/specs/x_pack/machine_learning/get_categories/GetCategoriesResponse.ts index 15d5e34876..09318c66b3 100644 --- a/specification/specs/x_pack/machine_learning/get_categories/GetCategoriesResponse.ts +++ b/specification/specs/x_pack/machine_learning/get_categories/GetCategoriesResponse.ts @@ -1,4 +1,4 @@ class GetCategoriesResponse extends ResponseBase { - categories: CategoryDefinition[]; - count: long; + categories: CategoryDefinition[] + count: long } diff --git a/specification/specs/x_pack/machine_learning/get_datafeed_stats/GetDatafeedStatsRequest.ts b/specification/specs/x_pack/machine_learning/get_datafeed_stats/GetDatafeedStatsRequest.ts index 8e1547e11a..f388c142e3 100644 --- a/specification/specs/x_pack/machine_learning/get_datafeed_stats/GetDatafeedStatsRequest.ts +++ b/specification/specs/x_pack/machine_learning/get_datafeed_stats/GetDatafeedStatsRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("ml.get_datafeed_stats") +@rest_spec_name('ml.get_datafeed_stats') class GetDatafeedStatsRequest extends RequestBase { path_parts?: { - datafeed_id?: Id; + datafeed_id?: Id } query_parameters?: { - allow_no_datafeeds?: boolean; - } - body?: { + allow_no_datafeeds?: boolean } + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/get_datafeed_stats/GetDatafeedStatsResponse.ts b/specification/specs/x_pack/machine_learning/get_datafeed_stats/GetDatafeedStatsResponse.ts index cde4d18469..cdfd24fae4 100644 --- a/specification/specs/x_pack/machine_learning/get_datafeed_stats/GetDatafeedStatsResponse.ts +++ b/specification/specs/x_pack/machine_learning/get_datafeed_stats/GetDatafeedStatsResponse.ts @@ -1,4 +1,4 @@ class GetDatafeedStatsResponse extends ResponseBase { - count: long; - datafeeds: DatafeedStats[]; + count: long + datafeeds: DatafeedStats[] } diff --git a/specification/specs/x_pack/machine_learning/get_datafeeds/GetDatafeedsRequest.ts b/specification/specs/x_pack/machine_learning/get_datafeeds/GetDatafeedsRequest.ts index d6774e635e..b79441c43d 100644 --- a/specification/specs/x_pack/machine_learning/get_datafeeds/GetDatafeedsRequest.ts +++ b/specification/specs/x_pack/machine_learning/get_datafeeds/GetDatafeedsRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("ml.get_datafeeds") +@rest_spec_name('ml.get_datafeeds') class GetDatafeedsRequest extends RequestBase { path_parts?: { - datafeed_id?: Id; + datafeed_id?: Id } query_parameters?: { - allow_no_datafeeds?: boolean; - } - body?: { + allow_no_datafeeds?: boolean } + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/get_datafeeds/GetDatafeedsResponse.ts b/specification/specs/x_pack/machine_learning/get_datafeeds/GetDatafeedsResponse.ts index c7295ca3fd..3a7468fbb6 100644 --- a/specification/specs/x_pack/machine_learning/get_datafeeds/GetDatafeedsResponse.ts +++ b/specification/specs/x_pack/machine_learning/get_datafeeds/GetDatafeedsResponse.ts @@ -1,4 +1,4 @@ class GetDatafeedsResponse extends ResponseBase { - count: long; - datafeeds: DatafeedConfig[]; + count: long + datafeeds: DatafeedConfig[] } diff --git a/specification/specs/x_pack/machine_learning/get_filters/Filter.ts b/specification/specs/x_pack/machine_learning/get_filters/Filter.ts index fdb38e3ee6..37ab204b20 100644 --- a/specification/specs/x_pack/machine_learning/get_filters/Filter.ts +++ b/specification/specs/x_pack/machine_learning/get_filters/Filter.ts @@ -1,5 +1,5 @@ class Filter { - description: string; - filter_id: string; - items: string[]; + description: string + filter_id: string + items: string[] } diff --git a/specification/specs/x_pack/machine_learning/get_filters/GetFiltersRequest.ts b/specification/specs/x_pack/machine_learning/get_filters/GetFiltersRequest.ts index a0d39f44f7..64c90d00bb 100644 --- a/specification/specs/x_pack/machine_learning/get_filters/GetFiltersRequest.ts +++ b/specification/specs/x_pack/machine_learning/get_filters/GetFiltersRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("ml.get_filters") +@rest_spec_name('ml.get_filters') class GetFiltersRequest extends RequestBase { path_parts?: { - filter_id?: Id; + filter_id?: Id } query_parameters?: { - from?: integer; - size?: integer; - } - body?: { + from?: integer + size?: integer } + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/get_filters/GetFiltersResponse.ts b/specification/specs/x_pack/machine_learning/get_filters/GetFiltersResponse.ts index c77d7ec802..2c331988a0 100644 --- a/specification/specs/x_pack/machine_learning/get_filters/GetFiltersResponse.ts +++ b/specification/specs/x_pack/machine_learning/get_filters/GetFiltersResponse.ts @@ -1,4 +1,4 @@ class GetFiltersResponse extends ResponseBase { - count: long; - filters: Filter[]; + count: long + filters: Filter[] } diff --git a/specification/specs/x_pack/machine_learning/get_influencers/GetInfluencersRequest.ts b/specification/specs/x_pack/machine_learning/get_influencers/GetInfluencersRequest.ts index 1fda254c8a..a49d85a9a4 100644 --- a/specification/specs/x_pack/machine_learning/get_influencers/GetInfluencersRequest.ts +++ b/specification/specs/x_pack/machine_learning/get_influencers/GetInfluencersRequest.ts @@ -1,19 +1,18 @@ -@rest_spec_name("ml.get_influencers") +@rest_spec_name('ml.get_influencers') class GetInfluencersRequest extends RequestBase { path_parts?: { - job_id: Id; - } - query_parameters?: { + job_id: Id } + query_parameters?: {} body?: { - descending?: boolean; + descending?: boolean /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - end?: Date; - exclude_interim?: boolean; - influencer_score?: double; - page?: Page; - sort?: Field; + end?: Date + exclude_interim?: boolean + influencer_score?: double + page?: Page + sort?: Field /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - start?: Date; + start?: Date } } diff --git a/specification/specs/x_pack/machine_learning/get_influencers/GetInfluencersResponse.ts b/specification/specs/x_pack/machine_learning/get_influencers/GetInfluencersResponse.ts index a9882039b9..ab0840b5fb 100644 --- a/specification/specs/x_pack/machine_learning/get_influencers/GetInfluencersResponse.ts +++ b/specification/specs/x_pack/machine_learning/get_influencers/GetInfluencersResponse.ts @@ -1,4 +1,4 @@ class GetInfluencersResponse extends ResponseBase { - count: long; - influencers: BucketInfluencer[]; + count: long + influencers: BucketInfluencer[] } diff --git a/specification/specs/x_pack/machine_learning/get_job_stats/GetJobStatsRequest.ts b/specification/specs/x_pack/machine_learning/get_job_stats/GetJobStatsRequest.ts index 44eb17b87a..b73d06b8ad 100644 --- a/specification/specs/x_pack/machine_learning/get_job_stats/GetJobStatsRequest.ts +++ b/specification/specs/x_pack/machine_learning/get_job_stats/GetJobStatsRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("ml.get_job_stats") +@rest_spec_name('ml.get_job_stats') class GetJobStatsRequest extends RequestBase { path_parts?: { - job_id?: Id; + job_id?: Id } query_parameters?: { - allow_no_jobs?: boolean; - } - body?: { + allow_no_jobs?: boolean } + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/get_job_stats/GetJobStatsResponse.ts b/specification/specs/x_pack/machine_learning/get_job_stats/GetJobStatsResponse.ts index 41fc175e6e..43f8eae948 100644 --- a/specification/specs/x_pack/machine_learning/get_job_stats/GetJobStatsResponse.ts +++ b/specification/specs/x_pack/machine_learning/get_job_stats/GetJobStatsResponse.ts @@ -1,4 +1,4 @@ class GetJobStatsResponse extends ResponseBase { - count: long; - jobs: JobStats[]; + count: long + jobs: JobStats[] } diff --git a/specification/specs/x_pack/machine_learning/get_jobs/GetJobsRequest.ts b/specification/specs/x_pack/machine_learning/get_jobs/GetJobsRequest.ts index 81c7ab736c..92323606e7 100644 --- a/specification/specs/x_pack/machine_learning/get_jobs/GetJobsRequest.ts +++ b/specification/specs/x_pack/machine_learning/get_jobs/GetJobsRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("ml.get_jobs") +@rest_spec_name('ml.get_jobs') class GetJobsRequest extends RequestBase { path_parts?: { - job_id?: Id; + job_id?: Id } query_parameters?: { - allow_no_jobs?: boolean; - } - body?: { + allow_no_jobs?: boolean } + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/get_jobs/GetJobsResponse.ts b/specification/specs/x_pack/machine_learning/get_jobs/GetJobsResponse.ts index e5291424d5..f2f3c57536 100644 --- a/specification/specs/x_pack/machine_learning/get_jobs/GetJobsResponse.ts +++ b/specification/specs/x_pack/machine_learning/get_jobs/GetJobsResponse.ts @@ -1,4 +1,4 @@ class GetJobsResponse extends ResponseBase { - count: long; - jobs: Job[]; + count: long + jobs: Job[] } diff --git a/specification/specs/x_pack/machine_learning/get_model_snapshots/GetModelSnapshotsRequest.ts b/specification/specs/x_pack/machine_learning/get_model_snapshots/GetModelSnapshotsRequest.ts index 6a8181842e..5cc9fd45fa 100644 --- a/specification/specs/x_pack/machine_learning/get_model_snapshots/GetModelSnapshotsRequest.ts +++ b/specification/specs/x_pack/machine_learning/get_model_snapshots/GetModelSnapshotsRequest.ts @@ -1,18 +1,17 @@ -@rest_spec_name("ml.get_model_snapshots") +@rest_spec_name('ml.get_model_snapshots') class GetModelSnapshotsRequest extends RequestBase { path_parts?: { - job_id: Id; - snapshot_id?: Id; - } - query_parameters?: { + job_id: Id + snapshot_id?: Id } + query_parameters?: {} body?: { - desc?: boolean; + desc?: boolean /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - end?: Date; - page?: Page; - sort?: Field; + end?: Date + page?: Page + sort?: Field /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - start?: Date; + start?: Date } } diff --git a/specification/specs/x_pack/machine_learning/get_model_snapshots/GetModelSnapshotsResponse.ts b/specification/specs/x_pack/machine_learning/get_model_snapshots/GetModelSnapshotsResponse.ts index d04039a309..b5dc8feaab 100644 --- a/specification/specs/x_pack/machine_learning/get_model_snapshots/GetModelSnapshotsResponse.ts +++ b/specification/specs/x_pack/machine_learning/get_model_snapshots/GetModelSnapshotsResponse.ts @@ -1,4 +1,4 @@ class GetModelSnapshotsResponse extends ResponseBase { - count: long; - model_snapshots: ModelSnapshot[]; + count: long + model_snapshots: ModelSnapshot[] } diff --git a/specification/specs/x_pack/machine_learning/get_overall_buckets/GetOverallBucketsRequest.ts b/specification/specs/x_pack/machine_learning/get_overall_buckets/GetOverallBucketsRequest.ts index 38edde3e94..b95dbae175 100644 --- a/specification/specs/x_pack/machine_learning/get_overall_buckets/GetOverallBucketsRequest.ts +++ b/specification/specs/x_pack/machine_learning/get_overall_buckets/GetOverallBucketsRequest.ts @@ -1,17 +1,16 @@ -@rest_spec_name("ml.get_overall_buckets") +@rest_spec_name('ml.get_overall_buckets') class GetOverallBucketsRequest extends RequestBase { path_parts?: { - job_id: Id; - } - query_parameters?: { + job_id: Id } + query_parameters?: {} body?: { - allow_no_jobs?: boolean; - bucket_span?: Time; - end?: Date; - exclude_interim?: boolean; - overall_score?: double; - start?: Date; - top_n?: integer; + allow_no_jobs?: boolean + bucket_span?: Time + end?: Date + exclude_interim?: boolean + overall_score?: double + start?: Date + top_n?: integer } } diff --git a/specification/specs/x_pack/machine_learning/get_overall_buckets/GetOverallBucketsResponse.ts b/specification/specs/x_pack/machine_learning/get_overall_buckets/GetOverallBucketsResponse.ts index 8865dd65de..828ff153cf 100644 --- a/specification/specs/x_pack/machine_learning/get_overall_buckets/GetOverallBucketsResponse.ts +++ b/specification/specs/x_pack/machine_learning/get_overall_buckets/GetOverallBucketsResponse.ts @@ -1,4 +1,4 @@ class GetOverallBucketsResponse extends ResponseBase { - count: long; - overall_buckets: OverallBucket[]; + count: long + overall_buckets: OverallBucket[] } diff --git a/specification/specs/x_pack/machine_learning/job/Page.ts b/specification/specs/x_pack/machine_learning/job/Page.ts index 3274f83f5e..a46e742713 100644 --- a/specification/specs/x_pack/machine_learning/job/Page.ts +++ b/specification/specs/x_pack/machine_learning/job/Page.ts @@ -1,4 +1,4 @@ class Page { - from: integer; - size: integer; + from: integer + size: integer } diff --git a/specification/specs/x_pack/machine_learning/job/config/AnalysisConfig.ts b/specification/specs/x_pack/machine_learning/job/config/AnalysisConfig.ts index 8d5c43c9ec..4ca5b7dba9 100644 --- a/specification/specs/x_pack/machine_learning/job/config/AnalysisConfig.ts +++ b/specification/specs/x_pack/machine_learning/job/config/AnalysisConfig.ts @@ -1,10 +1,10 @@ class AnalysisConfig { - bucket_span: Time; - categorization_field_name: Field; - categorization_filters: string[]; - detectors: Detector[]; - influencers: Field[]; - latency: Time; - multivariate_by_fields: boolean; - summary_count_field_name: Field; + bucket_span: Time + categorization_field_name: Field + categorization_filters: string[] + detectors: Detector[] + influencers: Field[] + latency: Time + multivariate_by_fields: boolean + summary_count_field_name: Field } diff --git a/specification/specs/x_pack/machine_learning/job/config/AnalysisLimits.ts b/specification/specs/x_pack/machine_learning/job/config/AnalysisLimits.ts index ef66ca9820..1088cde526 100644 --- a/specification/specs/x_pack/machine_learning/job/config/AnalysisLimits.ts +++ b/specification/specs/x_pack/machine_learning/job/config/AnalysisLimits.ts @@ -1,4 +1,4 @@ class AnalysisLimits { - categorization_examples_limit: long; - model_memory_limit: string; + categorization_examples_limit: long + model_memory_limit: string } diff --git a/specification/specs/x_pack/machine_learning/job/config/AnalysisMemoryLimit.ts b/specification/specs/x_pack/machine_learning/job/config/AnalysisMemoryLimit.ts index 5864942d4c..d93727952d 100644 --- a/specification/specs/x_pack/machine_learning/job/config/AnalysisMemoryLimit.ts +++ b/specification/specs/x_pack/machine_learning/job/config/AnalysisMemoryLimit.ts @@ -1,3 +1,3 @@ class AnalysisMemoryLimit { - model_memory_limit: string; + model_memory_limit: string } diff --git a/specification/specs/x_pack/machine_learning/job/config/DataDescription.ts b/specification/specs/x_pack/machine_learning/job/config/DataDescription.ts index 696f0843a2..b27f167b50 100644 --- a/specification/specs/x_pack/machine_learning/job/config/DataDescription.ts +++ b/specification/specs/x_pack/machine_learning/job/config/DataDescription.ts @@ -1,5 +1,5 @@ class DataDescription { - format: string; - time_field: Field; - time_format: string; + format: string + time_field: Field + time_format: string } diff --git a/specification/specs/x_pack/machine_learning/job/config/JobForecastStatistics.ts b/specification/specs/x_pack/machine_learning/job/config/JobForecastStatistics.ts index 363fe8570e..9bae7de1c4 100644 --- a/specification/specs/x_pack/machine_learning/job/config/JobForecastStatistics.ts +++ b/specification/specs/x_pack/machine_learning/job/config/JobForecastStatistics.ts @@ -1,7 +1,7 @@ class JobForecastStatistics { - memory_bytes: JobStatistics; - processing_time_ms: JobStatistics; - records: JobStatistics; - status: Dictionary; - total: long; + memory_bytes: JobStatistics + processing_time_ms: JobStatistics + records: JobStatistics + status: Dictionary + total: long } diff --git a/specification/specs/x_pack/machine_learning/job/config/JobStats.ts b/specification/specs/x_pack/machine_learning/job/config/JobStats.ts index 2939cff2d7..5d4a84e7de 100644 --- a/specification/specs/x_pack/machine_learning/job/config/JobStats.ts +++ b/specification/specs/x_pack/machine_learning/job/config/JobStats.ts @@ -1,11 +1,11 @@ class JobStats { - assignment_explanation: string; - data_counts: DataCounts; - forecasts_stats: JobForecastStatistics; - job_id: string; - model_size_stats: ModelSizeStats; - node: DiscoveryNode; - open_time: Time; - state: JobState; - timing_stats: TimingStats; + assignment_explanation: string + data_counts: DataCounts + forecasts_stats: JobForecastStatistics + job_id: string + model_size_stats: ModelSizeStats + node: DiscoveryNode + open_time: Time + state: JobState + timing_stats: TimingStats } diff --git a/specification/specs/x_pack/machine_learning/job/config/ModelPlotConfig.ts b/specification/specs/x_pack/machine_learning/job/config/ModelPlotConfig.ts index 0dc88ba686..0f5055b3ff 100644 --- a/specification/specs/x_pack/machine_learning/job/config/ModelPlotConfig.ts +++ b/specification/specs/x_pack/machine_learning/job/config/ModelPlotConfig.ts @@ -1,3 +1,3 @@ class ModelPlotConfig { - terms: Field[]; + terms: Field[] } diff --git a/specification/specs/x_pack/machine_learning/job/config/ModelPlotConfigEnabled.ts b/specification/specs/x_pack/machine_learning/job/config/ModelPlotConfigEnabled.ts index 5cf98c78b3..8b88fd151d 100644 --- a/specification/specs/x_pack/machine_learning/job/config/ModelPlotConfigEnabled.ts +++ b/specification/specs/x_pack/machine_learning/job/config/ModelPlotConfigEnabled.ts @@ -1,3 +1,3 @@ class ModelPlotConfigEnabled { - enabled: boolean; + enabled: boolean } diff --git a/specification/specs/x_pack/machine_learning/job/config/TimingStats.ts b/specification/specs/x_pack/machine_learning/job/config/TimingStats.ts index 1b2cf575bd..7e86a4febe 100644 --- a/specification/specs/x_pack/machine_learning/job/config/TimingStats.ts +++ b/specification/specs/x_pack/machine_learning/job/config/TimingStats.ts @@ -1,9 +1,9 @@ class TimingStats { - average_bucket_processing_time_ms: double; - bucket_count: long; - exponential_average_bucket_processing_time_ms: double; - exponential_average_bucket_processing_time_per_hour_ms: double; - job_id: string; - maximum_bucket_processing_time_ms: double; - minimum_bucket_processing_time_ms: double; + average_bucket_processing_time_ms: double + bucket_count: long + exponential_average_bucket_processing_time_ms: double + exponential_average_bucket_processing_time_per_hour_ms: double + job_id: string + maximum_bucket_processing_time_ms: double + minimum_bucket_processing_time_ms: double } diff --git a/specification/specs/x_pack/machine_learning/job/detectors/DetectionRule.ts b/specification/specs/x_pack/machine_learning/job/detectors/DetectionRule.ts index 9b8abbb5d6..455f748926 100644 --- a/specification/specs/x_pack/machine_learning/job/detectors/DetectionRule.ts +++ b/specification/specs/x_pack/machine_learning/job/detectors/DetectionRule.ts @@ -1,5 +1,5 @@ class DetectionRule { - actions: RuleAction[]; - conditions: RuleCondition[]; - scope: Dictionary; + actions: RuleAction[] + conditions: RuleCondition[] + scope: Dictionary } diff --git a/specification/specs/x_pack/machine_learning/job/detectors/Detector.ts b/specification/specs/x_pack/machine_learning/job/detectors/Detector.ts index be14d6665d..d3194ad478 100644 --- a/specification/specs/x_pack/machine_learning/job/detectors/Detector.ts +++ b/specification/specs/x_pack/machine_learning/job/detectors/Detector.ts @@ -1,9 +1,9 @@ -@class_serializer("DetectorFormatter") +@class_serializer('DetectorFormatter') class Detector { - custom_rules: DetectionRule[]; - detector_description: string; - detector_index: integer; - exclude_frequent: ExcludeFrequent; - function: string; - use_null: boolean; + custom_rules: DetectionRule[] + detector_description: string + detector_index: integer + exclude_frequent: ExcludeFrequent + function: string + use_null: boolean } diff --git a/specification/specs/x_pack/machine_learning/job/detectors/FilterRef.ts b/specification/specs/x_pack/machine_learning/job/detectors/FilterRef.ts index 850c324985..b40d19d765 100644 --- a/specification/specs/x_pack/machine_learning/job/detectors/FilterRef.ts +++ b/specification/specs/x_pack/machine_learning/job/detectors/FilterRef.ts @@ -1,4 +1,4 @@ class FilterRef { - filter_id: Id; - filter_type: RuleFilterType; + filter_id: Id + filter_type: RuleFilterType } diff --git a/specification/specs/x_pack/machine_learning/job/detectors/RuleCondition.ts b/specification/specs/x_pack/machine_learning/job/detectors/RuleCondition.ts index 8b0318e118..b1ba1ecad6 100644 --- a/specification/specs/x_pack/machine_learning/job/detectors/RuleCondition.ts +++ b/specification/specs/x_pack/machine_learning/job/detectors/RuleCondition.ts @@ -1,5 +1,5 @@ class RuleCondition { - applies_to: AppliesTo; - operator: ConditionOperator; - value: double; + applies_to: AppliesTo + operator: ConditionOperator + value: double } diff --git a/specification/specs/x_pack/machine_learning/job/process/DataCounts.ts b/specification/specs/x_pack/machine_learning/job/process/DataCounts.ts index e08794cb7f..eaece63ce0 100644 --- a/specification/specs/x_pack/machine_learning/job/process/DataCounts.ts +++ b/specification/specs/x_pack/machine_learning/job/process/DataCounts.ts @@ -1,24 +1,24 @@ class DataCounts { - bucket_count: long; + bucket_count: long /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - earliest_record_timestamp: Date; - empty_bucket_count: long; - input_bytes: long; - input_field_count: long; - input_record_count: long; - invalid_date_count: long; - job_id: string; + earliest_record_timestamp: Date + empty_bucket_count: long + input_bytes: long + input_field_count: long + input_record_count: long + invalid_date_count: long + job_id: string /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - last_data_time: Date; + last_data_time: Date /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - latest_empty_bucket_timestamp: Date; + latest_empty_bucket_timestamp: Date /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - latest_record_timestamp: Date; + latest_record_timestamp: Date /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - latest_sparse_bucket_timestamp: Date; - missing_field_count: long; - out_of_order_timestamp_count: long; - processed_field_count: long; - processed_record_count: long; - sparse_bucket_count: long; + latest_sparse_bucket_timestamp: Date + missing_field_count: long + out_of_order_timestamp_count: long + processed_field_count: long + processed_record_count: long + sparse_bucket_count: long } diff --git a/specification/specs/x_pack/machine_learning/job/process/ModelSizeStats.ts b/specification/specs/x_pack/machine_learning/job/process/ModelSizeStats.ts index 965be98bba..a579d9b2c4 100644 --- a/specification/specs/x_pack/machine_learning/job/process/ModelSizeStats.ts +++ b/specification/specs/x_pack/machine_learning/job/process/ModelSizeStats.ts @@ -1,14 +1,14 @@ class ModelSizeStats { - bucket_allocation_failures_count: long; - job_id: string; + bucket_allocation_failures_count: long + job_id: string /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - log_time: Date; - memory_status: MemoryStatus; - model_bytes: long; - result_type: string; + log_time: Date + memory_status: MemoryStatus + model_bytes: long + result_type: string /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - timestamp: Date; - total_by_field_count: long; - total_over_field_count: long; - total_partition_field_count: long; + timestamp: Date + total_by_field_count: long + total_over_field_count: long + total_partition_field_count: long } diff --git a/specification/specs/x_pack/machine_learning/job/process/ModelSnapshot.ts b/specification/specs/x_pack/machine_learning/job/process/ModelSnapshot.ts index 0f40f80569..9d09db309b 100644 --- a/specification/specs/x_pack/machine_learning/job/process/ModelSnapshot.ts +++ b/specification/specs/x_pack/machine_learning/job/process/ModelSnapshot.ts @@ -1,14 +1,14 @@ class ModelSnapshot { - description: string; - job_id: string; + description: string + job_id: string /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - latest_record_time_stamp: Date; + latest_record_time_stamp: Date /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - latest_result_time_stamp: Date; - model_size_stats: ModelSizeStats; - retain: boolean; - snapshot_doc_count: long; - snapshot_id: string; + latest_result_time_stamp: Date + model_size_stats: ModelSizeStats + retain: boolean + snapshot_doc_count: long + snapshot_id: string /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - timestamp: Date; + timestamp: Date } diff --git a/specification/specs/x_pack/machine_learning/job/results/AnomalyCause.ts b/specification/specs/x_pack/machine_learning/job/results/AnomalyCause.ts index 8004da8b41..5642b69148 100644 --- a/specification/specs/x_pack/machine_learning/job/results/AnomalyCause.ts +++ b/specification/specs/x_pack/machine_learning/job/results/AnomalyCause.ts @@ -1,16 +1,16 @@ class AnomalyCause { - actual: double[]; - by_field_name: string; - by_field_value: string; - correlated_by_field_value: string; - field_name: string; - function: string; - function_description: string; - influencers: Influence[]; - over_field_name: string; - over_field_value: string; - partition_field_name: string; - partition_field_value: string; - probability: double; - typical: double[]; + actual: double[] + by_field_name: string + by_field_value: string + correlated_by_field_value: string + field_name: string + function: string + function_description: string + influencers: Influence[] + over_field_name: string + over_field_value: string + partition_field_name: string + partition_field_value: string + probability: double + typical: double[] } diff --git a/specification/specs/x_pack/machine_learning/job/results/AnomalyRecord.ts b/specification/specs/x_pack/machine_learning/job/results/AnomalyRecord.ts index 56d4bec607..aa9fccdd4b 100644 --- a/specification/specs/x_pack/machine_learning/job/results/AnomalyRecord.ts +++ b/specification/specs/x_pack/machine_learning/job/results/AnomalyRecord.ts @@ -1,25 +1,25 @@ class AnomalyRecord { - actual: double[]; - bucket_span: Time; - by_field_name: string; - by_field_value: string; - causes: AnomalyCause[]; - detector_index: integer; - field_name: string; - function: string; - function_description: string; - influencers: Influence[]; - initial_record_score: double; - is_interim: boolean; - job_id: string; - over_field_name: string; - over_field_value: string; - partition_field_name: string; - partition_field_value: string; - probability: double; - record_score: double; - result_type: string; + actual: double[] + bucket_span: Time + by_field_name: string + by_field_value: string + causes: AnomalyCause[] + detector_index: integer + field_name: string + function: string + function_description: string + influencers: Influence[] + initial_record_score: double + is_interim: boolean + job_id: string + over_field_name: string + over_field_value: string + partition_field_name: string + partition_field_value: string + probability: double + record_score: double + result_type: string /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - timestamp: Date; - typical: double[]; + timestamp: Date + typical: double[] } diff --git a/specification/specs/x_pack/machine_learning/job/results/BucketInfluencer.ts b/specification/specs/x_pack/machine_learning/job/results/BucketInfluencer.ts index 8be223b433..364c96a8b4 100644 --- a/specification/specs/x_pack/machine_learning/job/results/BucketInfluencer.ts +++ b/specification/specs/x_pack/machine_learning/job/results/BucketInfluencer.ts @@ -1,13 +1,13 @@ class BucketInfluencer { - bucket_span: long; - influencer_field_name: string; - influencer_field_value: string; - influencer_score: double; - initial_influencer_score: double; - is_interim: boolean; - job_id: string; - probability: double; - result_type: string; + bucket_span: long + influencer_field_name: string + influencer_field_value: string + influencer_score: double + initial_influencer_score: double + is_interim: boolean + job_id: string + probability: double + result_type: string /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - timestamp: Date; + timestamp: Date } diff --git a/specification/specs/x_pack/machine_learning/job/results/CategoryDefinition.ts b/specification/specs/x_pack/machine_learning/job/results/CategoryDefinition.ts index b6d4b24de3..f5d58f4b79 100644 --- a/specification/specs/x_pack/machine_learning/job/results/CategoryDefinition.ts +++ b/specification/specs/x_pack/machine_learning/job/results/CategoryDefinition.ts @@ -1,8 +1,8 @@ class CategoryDefinition { - category_id: long; - examples: string[]; - job_id: string; - max_matching_length: long; - regex: string; - terms: string; + category_id: long + examples: string[] + job_id: string + max_matching_length: long + regex: string + terms: string } diff --git a/specification/specs/x_pack/machine_learning/job/results/Influence.ts b/specification/specs/x_pack/machine_learning/job/results/Influence.ts index a1199835e2..44888dbfab 100644 --- a/specification/specs/x_pack/machine_learning/job/results/Influence.ts +++ b/specification/specs/x_pack/machine_learning/job/results/Influence.ts @@ -1,4 +1,4 @@ class Influence { - influencer_field_name: string; - influencer_field_values: string[]; + influencer_field_name: string + influencer_field_values: string[] } diff --git a/specification/specs/x_pack/machine_learning/job/results/OverallBucket.ts b/specification/specs/x_pack/machine_learning/job/results/OverallBucket.ts index 8c52f1efcb..31c37b0a0d 100644 --- a/specification/specs/x_pack/machine_learning/job/results/OverallBucket.ts +++ b/specification/specs/x_pack/machine_learning/job/results/OverallBucket.ts @@ -1,9 +1,9 @@ class OverallBucket { - bucket_span: long; - is_interim: boolean; - jobs: OverallBucketJobInfo[]; - overall_score: double; - result_type: string; + bucket_span: long + is_interim: boolean + jobs: OverallBucketJobInfo[] + overall_score: double + result_type: string /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - timestamp: Date; + timestamp: Date } diff --git a/specification/specs/x_pack/machine_learning/job/results/OverallBucketJobInfo.ts b/specification/specs/x_pack/machine_learning/job/results/OverallBucketJobInfo.ts index bb223a5735..2e91e365af 100644 --- a/specification/specs/x_pack/machine_learning/job/results/OverallBucketJobInfo.ts +++ b/specification/specs/x_pack/machine_learning/job/results/OverallBucketJobInfo.ts @@ -1,4 +1,4 @@ class OverallBucketJobInfo { - job_id: string; - max_anomaly_score: double; + job_id: string + max_anomaly_score: double } diff --git a/specification/specs/x_pack/machine_learning/job/results/PartitionScore.ts b/specification/specs/x_pack/machine_learning/job/results/PartitionScore.ts index def01cdb54..81eae51a3e 100644 --- a/specification/specs/x_pack/machine_learning/job/results/PartitionScore.ts +++ b/specification/specs/x_pack/machine_learning/job/results/PartitionScore.ts @@ -1,7 +1,7 @@ class PartitionScore { - initial_record_score: double; - partition_field_name: string; - partition_field_value: string; - probability: double; - record_score: double; + initial_record_score: double + partition_field_name: string + partition_field_value: string + probability: double + record_score: double } diff --git a/specification/specs/x_pack/machine_learning/job/results/ResultBucket.ts b/specification/specs/x_pack/machine_learning/job/results/ResultBucket.ts index 1af8641409..17fefdc3c5 100644 --- a/specification/specs/x_pack/machine_learning/job/results/ResultBucket.ts +++ b/specification/specs/x_pack/machine_learning/job/results/ResultBucket.ts @@ -1,14 +1,14 @@ class ResultBucket { - anomaly_score: double; - bucket_influencers: BucketInfluencer[]; - bucket_span: Time; - event_count: long; - initial_anomaly_score: double; - is_interim: boolean; - job_id: string; - partition_scores: PartitionScore[]; - processing_time_ms: double; - result_type: string; + anomaly_score: double + bucket_influencers: BucketInfluencer[] + bucket_span: Time + event_count: long + initial_anomaly_score: double + is_interim: boolean + job_id: string + partition_scores: PartitionScore[] + processing_time_ms: double + result_type: string /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - timestamp: Date; + timestamp: Date } diff --git a/specification/specs/x_pack/machine_learning/machine_learning_info/AnomalyDetectors.ts b/specification/specs/x_pack/machine_learning/machine_learning_info/AnomalyDetectors.ts index c8cd9fc5de..7cf778bc84 100644 --- a/specification/specs/x_pack/machine_learning/machine_learning_info/AnomalyDetectors.ts +++ b/specification/specs/x_pack/machine_learning/machine_learning_info/AnomalyDetectors.ts @@ -1,6 +1,6 @@ class AnomalyDetectors { - categorization_analyzer: CategorizationAnalyzer; - categorization_examples_limit: integer; - model_memory_limit: string; - model_snapshot_retention_days: integer; + categorization_analyzer: CategorizationAnalyzer + categorization_examples_limit: integer + model_memory_limit: string + model_snapshot_retention_days: integer } diff --git a/specification/specs/x_pack/machine_learning/machine_learning_info/CategorizationAnalyzer.ts b/specification/specs/x_pack/machine_learning/machine_learning_info/CategorizationAnalyzer.ts index 71c48de3d5..8343b5204e 100644 --- a/specification/specs/x_pack/machine_learning/machine_learning_info/CategorizationAnalyzer.ts +++ b/specification/specs/x_pack/machine_learning/machine_learning_info/CategorizationAnalyzer.ts @@ -1,4 +1,4 @@ class CategorizationAnalyzer { - filter: TokenFilterBase[]; - tokenizer: string; + filter: TokenFilterBase[] + tokenizer: string } diff --git a/specification/specs/x_pack/machine_learning/machine_learning_info/Datafeeds.ts b/specification/specs/x_pack/machine_learning/machine_learning_info/Datafeeds.ts index 4c7a9cf18f..6bce3f3cb7 100644 --- a/specification/specs/x_pack/machine_learning/machine_learning_info/Datafeeds.ts +++ b/specification/specs/x_pack/machine_learning/machine_learning_info/Datafeeds.ts @@ -1,3 +1,3 @@ class Datafeeds { - scroll_size: integer; + scroll_size: integer } diff --git a/specification/specs/x_pack/machine_learning/machine_learning_info/Defaults.ts b/specification/specs/x_pack/machine_learning/machine_learning_info/Defaults.ts index 149344429e..4dacf4ccb1 100644 --- a/specification/specs/x_pack/machine_learning/machine_learning_info/Defaults.ts +++ b/specification/specs/x_pack/machine_learning/machine_learning_info/Defaults.ts @@ -1,4 +1,4 @@ class Defaults { - anomaly_detectors: AnomalyDetectors; - datafeeds: Datafeeds; + anomaly_detectors: AnomalyDetectors + datafeeds: Datafeeds } diff --git a/specification/specs/x_pack/machine_learning/machine_learning_info/Limits.ts b/specification/specs/x_pack/machine_learning/machine_learning_info/Limits.ts index 2902eeef34..8c51fddbe9 100644 --- a/specification/specs/x_pack/machine_learning/machine_learning_info/Limits.ts +++ b/specification/specs/x_pack/machine_learning/machine_learning_info/Limits.ts @@ -1,3 +1,3 @@ class Limits { - max_model_memory_limit: string; + max_model_memory_limit: string } diff --git a/specification/specs/x_pack/machine_learning/machine_learning_info/MachineLearningInfoRequest.ts b/specification/specs/x_pack/machine_learning/machine_learning_info/MachineLearningInfoRequest.ts index 1ea863e348..17c30f98bc 100644 --- a/specification/specs/x_pack/machine_learning/machine_learning_info/MachineLearningInfoRequest.ts +++ b/specification/specs/x_pack/machine_learning/machine_learning_info/MachineLearningInfoRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("ml.info") +@rest_spec_name('ml.info') class MachineLearningInfoRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/machine_learning_info/MachineLearningInfoResponse.ts b/specification/specs/x_pack/machine_learning/machine_learning_info/MachineLearningInfoResponse.ts index 72bc3b5bfe..95a5f59c12 100644 --- a/specification/specs/x_pack/machine_learning/machine_learning_info/MachineLearningInfoResponse.ts +++ b/specification/specs/x_pack/machine_learning/machine_learning_info/MachineLearningInfoResponse.ts @@ -1,5 +1,5 @@ class MachineLearningInfoResponse extends ResponseBase { - defaults: Defaults; - limits: Limits; - upgrade_mode: boolean; + defaults: Defaults + limits: Limits + upgrade_mode: boolean } diff --git a/specification/specs/x_pack/machine_learning/open_job/OpenJobRequest.ts b/specification/specs/x_pack/machine_learning/open_job/OpenJobRequest.ts index d9264ce837..c035d6691a 100644 --- a/specification/specs/x_pack/machine_learning/open_job/OpenJobRequest.ts +++ b/specification/specs/x_pack/machine_learning/open_job/OpenJobRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("ml.open_job") +@rest_spec_name('ml.open_job') class OpenJobRequest extends RequestBase { path_parts?: { - job_id: Id; - } - query_parameters?: { + job_id: Id } + query_parameters?: {} body?: { - timeout?: Time; + timeout?: Time } } diff --git a/specification/specs/x_pack/machine_learning/open_job/OpenJobResponse.ts b/specification/specs/x_pack/machine_learning/open_job/OpenJobResponse.ts index 5fb9de80ae..4581a9ce0c 100644 --- a/specification/specs/x_pack/machine_learning/open_job/OpenJobResponse.ts +++ b/specification/specs/x_pack/machine_learning/open_job/OpenJobResponse.ts @@ -1,3 +1,3 @@ class OpenJobResponse extends ResponseBase { - opened: boolean; + opened: boolean } diff --git a/specification/specs/x_pack/machine_learning/post_calendar_events/PostCalendarEventsRequest.ts b/specification/specs/x_pack/machine_learning/post_calendar_events/PostCalendarEventsRequest.ts index 49bc034516..c2d364b897 100644 --- a/specification/specs/x_pack/machine_learning/post_calendar_events/PostCalendarEventsRequest.ts +++ b/specification/specs/x_pack/machine_learning/post_calendar_events/PostCalendarEventsRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("ml.post_calendar_events") +@rest_spec_name('ml.post_calendar_events') class PostCalendarEventsRequest extends RequestBase { path_parts?: { - calendar_id: Id; - } - query_parameters?: { + calendar_id: Id } + query_parameters?: {} body?: { - events?: ScheduledEvent[]; + events?: ScheduledEvent[] } } diff --git a/specification/specs/x_pack/machine_learning/post_calendar_events/PostCalendarEventsResponse.ts b/specification/specs/x_pack/machine_learning/post_calendar_events/PostCalendarEventsResponse.ts index 74336b7ef9..9acc480cdd 100644 --- a/specification/specs/x_pack/machine_learning/post_calendar_events/PostCalendarEventsResponse.ts +++ b/specification/specs/x_pack/machine_learning/post_calendar_events/PostCalendarEventsResponse.ts @@ -1,3 +1,3 @@ class PostCalendarEventsResponse extends ResponseBase { - events: ScheduledEvent[]; + events: ScheduledEvent[] } diff --git a/specification/specs/x_pack/machine_learning/post_calendar_events/ScheduledEvent.ts b/specification/specs/x_pack/machine_learning/post_calendar_events/ScheduledEvent.ts index ad2a6fa310..0360e916db 100644 --- a/specification/specs/x_pack/machine_learning/post_calendar_events/ScheduledEvent.ts +++ b/specification/specs/x_pack/machine_learning/post_calendar_events/ScheduledEvent.ts @@ -1,9 +1,9 @@ class ScheduledEvent { - calendar_id: Id; - description: string; + calendar_id: Id + description: string /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - end_time: Date; - event_id: Id; + end_time: Date + event_id: Id /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - start_time: Date; + start_time: Date } diff --git a/specification/specs/x_pack/machine_learning/post_job_data/PostJobDataRequest.ts b/specification/specs/x_pack/machine_learning/post_job_data/PostJobDataRequest.ts index a55568f408..dd09a1d6ef 100644 --- a/specification/specs/x_pack/machine_learning/post_job_data/PostJobDataRequest.ts +++ b/specification/specs/x_pack/machine_learning/post_job_data/PostJobDataRequest.ts @@ -1,14 +1,14 @@ -@rest_spec_name("ml.post_data") -@class_serializer("PostJobDataFormatter") +@rest_spec_name('ml.post_data') +@class_serializer('PostJobDataFormatter') class PostJobDataRequest extends RequestBase { path_parts?: { - job_id: Id; + job_id: Id } query_parameters?: { - reset_end?: Date; - reset_start?: Date; + reset_end?: Date + reset_start?: Date } body?: { - data?: UserDefinedValue[]; + data?: UserDefinedValue[] } } diff --git a/specification/specs/x_pack/machine_learning/post_job_data/PostJobDataResponse.ts b/specification/specs/x_pack/machine_learning/post_job_data/PostJobDataResponse.ts index f9d50b2a82..bbaafc4a49 100644 --- a/specification/specs/x_pack/machine_learning/post_job_data/PostJobDataResponse.ts +++ b/specification/specs/x_pack/machine_learning/post_job_data/PostJobDataResponse.ts @@ -1,20 +1,20 @@ class PostJobDataResponse extends ResponseBase { - bucket_count: long; + bucket_count: long /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - earliest_record_timestamp: Date; - empty_bucket_count: long; - input_bytes: long; - input_field_count: long; - input_record_count: long; - invalid_date_count: long; - job_id: string; + earliest_record_timestamp: Date + empty_bucket_count: long + input_bytes: long + input_field_count: long + input_record_count: long + invalid_date_count: long + job_id: string /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - last_data_time: Date; + last_data_time: Date /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - latest_record_timestamp: Date; - missing_field_count: long; - out_of_order_timestamp_count: long; - processed_field_count: long; - processed_record_count: long; - sparse_bucket_count: long; + latest_record_timestamp: Date + missing_field_count: long + out_of_order_timestamp_count: long + processed_field_count: long + processed_record_count: long + sparse_bucket_count: long } diff --git a/specification/specs/x_pack/machine_learning/preview_datafeed/PreviewDatafeedRequest.ts b/specification/specs/x_pack/machine_learning/preview_datafeed/PreviewDatafeedRequest.ts index 9466e59905..da65340ee9 100644 --- a/specification/specs/x_pack/machine_learning/preview_datafeed/PreviewDatafeedRequest.ts +++ b/specification/specs/x_pack/machine_learning/preview_datafeed/PreviewDatafeedRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("ml.preview_datafeed") +@rest_spec_name('ml.preview_datafeed') class PreviewDatafeedRequest extends RequestBase { path_parts?: { - datafeed_id: Id; - } - query_parameters?: { - } - body?: { + datafeed_id: Id } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/preview_datafeed/PreviewDatafeedResponse.ts b/specification/specs/x_pack/machine_learning/preview_datafeed/PreviewDatafeedResponse.ts index 2b900b573a..b72cc2fe64 100644 --- a/specification/specs/x_pack/machine_learning/preview_datafeed/PreviewDatafeedResponse.ts +++ b/specification/specs/x_pack/machine_learning/preview_datafeed/PreviewDatafeedResponse.ts @@ -1,3 +1,3 @@ class PreviewDatafeedResponse extends ResponseBase { - data: TDocument[]; + data: TDocument[] } diff --git a/specification/specs/x_pack/machine_learning/put_calendar/PutCalendarRequest.ts b/specification/specs/x_pack/machine_learning/put_calendar/PutCalendarRequest.ts index 6771891036..b899782fa6 100644 --- a/specification/specs/x_pack/machine_learning/put_calendar/PutCalendarRequest.ts +++ b/specification/specs/x_pack/machine_learning/put_calendar/PutCalendarRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("ml.put_calendar") +@rest_spec_name('ml.put_calendar') class PutCalendarRequest extends RequestBase { path_parts?: { - calendar_id: Id; - } - query_parameters?: { + calendar_id: Id } + query_parameters?: {} body?: { - description?: string; + description?: string } } diff --git a/specification/specs/x_pack/machine_learning/put_calendar/PutCalendarResponse.ts b/specification/specs/x_pack/machine_learning/put_calendar/PutCalendarResponse.ts index 3b1e21a5b8..6bea118f96 100644 --- a/specification/specs/x_pack/machine_learning/put_calendar/PutCalendarResponse.ts +++ b/specification/specs/x_pack/machine_learning/put_calendar/PutCalendarResponse.ts @@ -1,5 +1,5 @@ class PutCalendarResponse extends ResponseBase { - calendar_id: string; - description: string; - job_ids: string[]; + calendar_id: string + description: string + job_ids: string[] } diff --git a/specification/specs/x_pack/machine_learning/put_calendar_job/PutCalendarJobRequest.ts b/specification/specs/x_pack/machine_learning/put_calendar_job/PutCalendarJobRequest.ts index fded7ecb54..458ff47a02 100644 --- a/specification/specs/x_pack/machine_learning/put_calendar_job/PutCalendarJobRequest.ts +++ b/specification/specs/x_pack/machine_learning/put_calendar_job/PutCalendarJobRequest.ts @@ -1,11 +1,9 @@ -@rest_spec_name("ml.put_calendar_job") +@rest_spec_name('ml.put_calendar_job') class PutCalendarJobRequest extends RequestBase { path_parts?: { - calendar_id: Id; - job_id: Id; - } - query_parameters?: { - } - body?: { + calendar_id: Id + job_id: Id } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/put_calendar_job/PutCalendarJobResponse.ts b/specification/specs/x_pack/machine_learning/put_calendar_job/PutCalendarJobResponse.ts index 545b833445..3ada0a3599 100644 --- a/specification/specs/x_pack/machine_learning/put_calendar_job/PutCalendarJobResponse.ts +++ b/specification/specs/x_pack/machine_learning/put_calendar_job/PutCalendarJobResponse.ts @@ -1,5 +1,5 @@ class PutCalendarJobResponse extends ResponseBase { - calendar_id: string; - description: string; - job_ids: string[]; + calendar_id: string + description: string + job_ids: string[] } diff --git a/specification/specs/x_pack/machine_learning/put_datafeed/PutDatafeedRequest.ts b/specification/specs/x_pack/machine_learning/put_datafeed/PutDatafeedRequest.ts index a7e564758d..93becc4533 100644 --- a/specification/specs/x_pack/machine_learning/put_datafeed/PutDatafeedRequest.ts +++ b/specification/specs/x_pack/machine_learning/put_datafeed/PutDatafeedRequest.ts @@ -1,25 +1,25 @@ -@rest_spec_name("ml.put_datafeed") +@rest_spec_name('ml.put_datafeed') class PutDatafeedRequest extends RequestBase { path_parts?: { - datafeed_id: Id; + datafeed_id: Id } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_throttled?: boolean; - ignore_unavailable?: boolean; + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_throttled?: boolean + ignore_unavailable?: boolean } body?: { - aggregations?: Dictionary; - chunking_config?: ChunkingConfig; - frequency?: Time; + aggregations?: Dictionary + chunking_config?: ChunkingConfig + frequency?: Time /** @prop_serializer IndicesFormatter */ - indices?: Indices; - job_id?: Id; - max_empty_searches?: integer; - query?: QueryContainer; - query_delay?: Time; - script_fields?: Dictionary; - scroll_size?: integer; + indices?: Indices + job_id?: Id + max_empty_searches?: integer + query?: QueryContainer + query_delay?: Time + script_fields?: Dictionary + scroll_size?: integer } } diff --git a/specification/specs/x_pack/machine_learning/put_datafeed/PutDatafeedResponse.ts b/specification/specs/x_pack/machine_learning/put_datafeed/PutDatafeedResponse.ts index 62fb383486..331c61996f 100644 --- a/specification/specs/x_pack/machine_learning/put_datafeed/PutDatafeedResponse.ts +++ b/specification/specs/x_pack/machine_learning/put_datafeed/PutDatafeedResponse.ts @@ -1,14 +1,14 @@ class PutDatafeedResponse extends ResponseBase { - aggregations: Dictionary; - chunking_config: ChunkingConfig; - datafeed_id: string; - frequency: Time; + aggregations: Dictionary + chunking_config: ChunkingConfig + datafeed_id: string + frequency: Time /** @prop_serializer IndicesFormatter */ - indices: Indices; - job_id: string; - max_empty_searches: integer; - query: QueryContainer; - query_delay: Time; - script_fields: Dictionary; - scroll_size: integer; + indices: Indices + job_id: string + max_empty_searches: integer + query: QueryContainer + query_delay: Time + script_fields: Dictionary + scroll_size: integer } diff --git a/specification/specs/x_pack/machine_learning/put_filter/PutFilterRequest.ts b/specification/specs/x_pack/machine_learning/put_filter/PutFilterRequest.ts index 0b1dbb034f..326bb14455 100644 --- a/specification/specs/x_pack/machine_learning/put_filter/PutFilterRequest.ts +++ b/specification/specs/x_pack/machine_learning/put_filter/PutFilterRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("ml.put_filter") +@rest_spec_name('ml.put_filter') class PutFilterRequest extends RequestBase { path_parts?: { - filter_id: Id; - } - query_parameters?: { + filter_id: Id } + query_parameters?: {} body?: { - description?: string; - items?: string[]; + description?: string + items?: string[] } } diff --git a/specification/specs/x_pack/machine_learning/put_filter/PutFilterResponse.ts b/specification/specs/x_pack/machine_learning/put_filter/PutFilterResponse.ts index e0ff812e8a..f2bc5ead0e 100644 --- a/specification/specs/x_pack/machine_learning/put_filter/PutFilterResponse.ts +++ b/specification/specs/x_pack/machine_learning/put_filter/PutFilterResponse.ts @@ -1,5 +1,5 @@ class PutFilterResponse extends ResponseBase { - description: string; - filter_id: string; - items: string[]; + description: string + filter_id: string + items: string[] } diff --git a/specification/specs/x_pack/machine_learning/put_job/PutJobRequest.ts b/specification/specs/x_pack/machine_learning/put_job/PutJobRequest.ts index 3a3bb42b9c..f9b6221c13 100644 --- a/specification/specs/x_pack/machine_learning/put_job/PutJobRequest.ts +++ b/specification/specs/x_pack/machine_learning/put_job/PutJobRequest.ts @@ -1,18 +1,17 @@ -@rest_spec_name("ml.put_job") +@rest_spec_name('ml.put_job') class PutJobRequest extends RequestBase { path_parts?: { - job_id: Id; - } - query_parameters?: { + job_id: Id } + query_parameters?: {} body?: { - allow_lazy_open?: boolean; - analysis_config?: AnalysisConfig; - analysis_limits?: AnalysisLimits; - data_description?: DataDescription; - description?: string; - model_plot?: ModelPlotConfig; - model_snapshot_retention_days?: long; - results_index_name?: IndexName; + allow_lazy_open?: boolean + analysis_config?: AnalysisConfig + analysis_limits?: AnalysisLimits + data_description?: DataDescription + description?: string + model_plot?: ModelPlotConfig + model_snapshot_retention_days?: long + results_index_name?: IndexName } } diff --git a/specification/specs/x_pack/machine_learning/put_job/PutJobResponse.ts b/specification/specs/x_pack/machine_learning/put_job/PutJobResponse.ts index d2754d2128..4b80d5db76 100644 --- a/specification/specs/x_pack/machine_learning/put_job/PutJobResponse.ts +++ b/specification/specs/x_pack/machine_learning/put_job/PutJobResponse.ts @@ -1,18 +1,18 @@ class PutJobResponse extends ResponseBase { - allow_lazy_open: boolean; - analysis_config: AnalysisConfig; - analysis_limits: AnalysisLimits; - background_persist_interval: Time; + allow_lazy_open: boolean + analysis_config: AnalysisConfig + analysis_limits: AnalysisLimits + background_persist_interval: Time /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - create_time: Date; - data_description: DataDescription; - description: string; - job_id: string; - job_type: string; - model_plot: ModelPlotConfig; - model_snapshot_id: string; - model_snapshot_retention_days: long; - renormalization_window_days: long; - results_index_name: string; - results_retention_days: long; + create_time: Date + data_description: DataDescription + description: string + job_id: string + job_type: string + model_plot: ModelPlotConfig + model_snapshot_id: string + model_snapshot_retention_days: long + renormalization_window_days: long + results_index_name: string + results_retention_days: long } diff --git a/specification/specs/x_pack/machine_learning/revert_model_snapshot/RevertModelSnapshotRequest.ts b/specification/specs/x_pack/machine_learning/revert_model_snapshot/RevertModelSnapshotRequest.ts index 766b91c24d..bdd5805710 100644 --- a/specification/specs/x_pack/machine_learning/revert_model_snapshot/RevertModelSnapshotRequest.ts +++ b/specification/specs/x_pack/machine_learning/revert_model_snapshot/RevertModelSnapshotRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("ml.revert_model_snapshot") +@rest_spec_name('ml.revert_model_snapshot') class RevertModelSnapshotRequest extends RequestBase { path_parts?: { - job_id: Id; - snapshot_id: Id; - } - query_parameters?: { + job_id: Id + snapshot_id: Id } + query_parameters?: {} body?: { - delete_intervening_results?: boolean; + delete_intervening_results?: boolean } } diff --git a/specification/specs/x_pack/machine_learning/revert_model_snapshot/RevertModelSnapshotResponse.ts b/specification/specs/x_pack/machine_learning/revert_model_snapshot/RevertModelSnapshotResponse.ts index 32973b932f..9f4e1a46ce 100644 --- a/specification/specs/x_pack/machine_learning/revert_model_snapshot/RevertModelSnapshotResponse.ts +++ b/specification/specs/x_pack/machine_learning/revert_model_snapshot/RevertModelSnapshotResponse.ts @@ -1,3 +1,3 @@ class RevertModelSnapshotResponse extends ResponseBase { - model: ModelSnapshot; + model: ModelSnapshot } diff --git a/specification/specs/x_pack/machine_learning/set_upgrade_mode/SetUpgradeModeRequest.ts b/specification/specs/x_pack/machine_learning/set_upgrade_mode/SetUpgradeModeRequest.ts index 4ec8c21c76..b16b236101 100644 --- a/specification/specs/x_pack/machine_learning/set_upgrade_mode/SetUpgradeModeRequest.ts +++ b/specification/specs/x_pack/machine_learning/set_upgrade_mode/SetUpgradeModeRequest.ts @@ -1,9 +1,8 @@ -@rest_spec_name("ml.set_upgrade_mode") +@rest_spec_name('ml.set_upgrade_mode') class SetUpgradeModeRequest extends RequestBase { query_parameters?: { - enabled?: boolean; - timeout?: Time; - } - body?: { + enabled?: boolean + timeout?: Time } + body?: {} } diff --git a/specification/specs/x_pack/machine_learning/set_upgrade_mode/SetUpgradeModeResponse.ts b/specification/specs/x_pack/machine_learning/set_upgrade_mode/SetUpgradeModeResponse.ts index fdd08de71c..ba1b368da3 100644 --- a/specification/specs/x_pack/machine_learning/set_upgrade_mode/SetUpgradeModeResponse.ts +++ b/specification/specs/x_pack/machine_learning/set_upgrade_mode/SetUpgradeModeResponse.ts @@ -1,2 +1 @@ -class SetUpgradeModeResponse extends AcknowledgedResponseBase { -} +class SetUpgradeModeResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/machine_learning/start_datafeed/StartDatafeedRequest.ts b/specification/specs/x_pack/machine_learning/start_datafeed/StartDatafeedRequest.ts index 07be1e85fe..b9a1814f6c 100644 --- a/specification/specs/x_pack/machine_learning/start_datafeed/StartDatafeedRequest.ts +++ b/specification/specs/x_pack/machine_learning/start_datafeed/StartDatafeedRequest.ts @@ -1,15 +1,14 @@ -@rest_spec_name("ml.start_datafeed") +@rest_spec_name('ml.start_datafeed') class StartDatafeedRequest extends RequestBase { path_parts?: { - datafeed_id: Id; - } - query_parameters?: { + datafeed_id: Id } + query_parameters?: {} body?: { /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - end?: Date; + end?: Date /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - start?: Date; - timeout?: Time; + start?: Date + timeout?: Time } } diff --git a/specification/specs/x_pack/machine_learning/start_datafeed/StartDatafeedResponse.ts b/specification/specs/x_pack/machine_learning/start_datafeed/StartDatafeedResponse.ts index a8d879d026..5b3fca5d69 100644 --- a/specification/specs/x_pack/machine_learning/start_datafeed/StartDatafeedResponse.ts +++ b/specification/specs/x_pack/machine_learning/start_datafeed/StartDatafeedResponse.ts @@ -1,3 +1,3 @@ class StartDatafeedResponse extends ResponseBase { - started: boolean; + started: boolean } diff --git a/specification/specs/x_pack/machine_learning/stop_datafeed/StopDatafeedRequest.ts b/specification/specs/x_pack/machine_learning/stop_datafeed/StopDatafeedRequest.ts index bc428810c2..4cbc24c196 100644 --- a/specification/specs/x_pack/machine_learning/stop_datafeed/StopDatafeedRequest.ts +++ b/specification/specs/x_pack/machine_learning/stop_datafeed/StopDatafeedRequest.ts @@ -1,13 +1,13 @@ -@rest_spec_name("ml.stop_datafeed") +@rest_spec_name('ml.stop_datafeed') class StopDatafeedRequest extends RequestBase { path_parts?: { - datafeed_id: Id; + datafeed_id: Id } query_parameters?: { - allow_no_datafeeds?: boolean; + allow_no_datafeeds?: boolean } body?: { - force?: boolean; - timeout?: Time; + force?: boolean + timeout?: Time } } diff --git a/specification/specs/x_pack/machine_learning/stop_datafeed/StopDatafeedResponse.ts b/specification/specs/x_pack/machine_learning/stop_datafeed/StopDatafeedResponse.ts index 5836ebc7f8..dc39818d86 100644 --- a/specification/specs/x_pack/machine_learning/stop_datafeed/StopDatafeedResponse.ts +++ b/specification/specs/x_pack/machine_learning/stop_datafeed/StopDatafeedResponse.ts @@ -1,3 +1,3 @@ class StopDatafeedResponse extends ResponseBase { - stopped: boolean; + stopped: boolean } diff --git a/specification/specs/x_pack/machine_learning/update_data_feed/UpdateDatafeedRequest.ts b/specification/specs/x_pack/machine_learning/update_data_feed/UpdateDatafeedRequest.ts index 932c4b8f4a..1d6acac00a 100644 --- a/specification/specs/x_pack/machine_learning/update_data_feed/UpdateDatafeedRequest.ts +++ b/specification/specs/x_pack/machine_learning/update_data_feed/UpdateDatafeedRequest.ts @@ -1,25 +1,25 @@ -@rest_spec_name("ml.update_datafeed") +@rest_spec_name('ml.update_datafeed') class UpdateDatafeedRequest extends RequestBase { path_parts?: { - datafeed_id: Id; + datafeed_id: Id } query_parameters?: { - allow_no_indices?: boolean; - expand_wildcards?: ExpandWildcards; - ignore_throttled?: boolean; - ignore_unavailable?: boolean; + allow_no_indices?: boolean + expand_wildcards?: ExpandWildcards + ignore_throttled?: boolean + ignore_unavailable?: boolean } body?: { - aggregations?: Dictionary; - chunking_config?: ChunkingConfig; - frequency?: Time; + aggregations?: Dictionary + chunking_config?: ChunkingConfig + frequency?: Time /** @prop_serializer IndicesFormatter */ - indices?: Indices; - job_id?: Id; - max_empty_searches?: integer; - query?: QueryContainer; - query_delay?: Time; - script_fields?: Dictionary; - scroll_size?: integer; + indices?: Indices + job_id?: Id + max_empty_searches?: integer + query?: QueryContainer + query_delay?: Time + script_fields?: Dictionary + scroll_size?: integer } } diff --git a/specification/specs/x_pack/machine_learning/update_data_feed/UpdateDatafeedResponse.ts b/specification/specs/x_pack/machine_learning/update_data_feed/UpdateDatafeedResponse.ts index e118d3cd65..a3668b289b 100644 --- a/specification/specs/x_pack/machine_learning/update_data_feed/UpdateDatafeedResponse.ts +++ b/specification/specs/x_pack/machine_learning/update_data_feed/UpdateDatafeedResponse.ts @@ -1,14 +1,14 @@ class UpdateDatafeedResponse extends ResponseBase { - aggregations: Dictionary; - chunking_config: ChunkingConfig; - datafeed_id: string; - frequency: Time; + aggregations: Dictionary + chunking_config: ChunkingConfig + datafeed_id: string + frequency: Time /** @prop_serializer IndicesFormatter */ - indices: Indices; - job_id: string; - max_empty_searches: integer; - query: QueryContainer; - query_delay: Time; - script_fields: Dictionary; - scroll_size: integer; + indices: Indices + job_id: string + max_empty_searches: integer + query: QueryContainer + query_delay: Time + script_fields: Dictionary + scroll_size: integer } diff --git a/specification/specs/x_pack/machine_learning/update_filter/UpdateFilterRequest.ts b/specification/specs/x_pack/machine_learning/update_filter/UpdateFilterRequest.ts index c29d4d77f3..8bfc869a5e 100644 --- a/specification/specs/x_pack/machine_learning/update_filter/UpdateFilterRequest.ts +++ b/specification/specs/x_pack/machine_learning/update_filter/UpdateFilterRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("ml.update_filter") +@rest_spec_name('ml.update_filter') class UpdateFilterRequest extends RequestBase { path_parts?: { - filter_id: Id; - } - query_parameters?: { + filter_id: Id } + query_parameters?: {} body?: { - add_items?: string[]; - description?: string; - remove_items?: string[]; + add_items?: string[] + description?: string + remove_items?: string[] } } diff --git a/specification/specs/x_pack/machine_learning/update_filter/UpdateFilterResponse.ts b/specification/specs/x_pack/machine_learning/update_filter/UpdateFilterResponse.ts index 2bc97494b8..8781d85b8f 100644 --- a/specification/specs/x_pack/machine_learning/update_filter/UpdateFilterResponse.ts +++ b/specification/specs/x_pack/machine_learning/update_filter/UpdateFilterResponse.ts @@ -1,5 +1,5 @@ class UpdateFilterResponse extends ResponseBase { - description: string; - filter_id: string; - items: string[]; + description: string + filter_id: string + items: string[] } diff --git a/specification/specs/x_pack/machine_learning/update_job/UpdateJobRequest.ts b/specification/specs/x_pack/machine_learning/update_job/UpdateJobRequest.ts index c60ef62c9e..3b7f25f8ed 100644 --- a/specification/specs/x_pack/machine_learning/update_job/UpdateJobRequest.ts +++ b/specification/specs/x_pack/machine_learning/update_job/UpdateJobRequest.ts @@ -1,19 +1,18 @@ -@rest_spec_name("ml.update_job") +@rest_spec_name('ml.update_job') class UpdateJobRequest extends RequestBase { path_parts?: { - job_id: Id; - } - query_parameters?: { + job_id: Id } + query_parameters?: {} body?: { - allow_lazy_open?: boolean; - analysis_limits?: AnalysisMemoryLimit; - background_persist_interval?: Time; - custom_settings?: Dictionary; - description?: string; - model_plot_config?: ModelPlotConfigEnabled; - model_snapshot_retention_days?: long; - renormalization_window_days?: long; - results_retention_days?: long; + allow_lazy_open?: boolean + analysis_limits?: AnalysisMemoryLimit + background_persist_interval?: Time + custom_settings?: Dictionary + description?: string + model_plot_config?: ModelPlotConfigEnabled + model_snapshot_retention_days?: long + renormalization_window_days?: long + results_retention_days?: long } } diff --git a/specification/specs/x_pack/machine_learning/update_job/UpdateJobResponse.ts b/specification/specs/x_pack/machine_learning/update_job/UpdateJobResponse.ts index 12e2cc9f8c..5524f93396 100644 --- a/specification/specs/x_pack/machine_learning/update_job/UpdateJobResponse.ts +++ b/specification/specs/x_pack/machine_learning/update_job/UpdateJobResponse.ts @@ -1,2 +1 @@ -class UpdateJobResponse extends ResponseBase { -} +class UpdateJobResponse extends ResponseBase {} diff --git a/specification/specs/x_pack/machine_learning/update_model_snapshot/UpdateModelSnapshotRequest.ts b/specification/specs/x_pack/machine_learning/update_model_snapshot/UpdateModelSnapshotRequest.ts index c5009aa985..150b544778 100644 --- a/specification/specs/x_pack/machine_learning/update_model_snapshot/UpdateModelSnapshotRequest.ts +++ b/specification/specs/x_pack/machine_learning/update_model_snapshot/UpdateModelSnapshotRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("ml.update_model_snapshot") +@rest_spec_name('ml.update_model_snapshot') class UpdateModelSnapshotRequest extends RequestBase { path_parts?: { - job_id: Id; - snapshot_id: Id; - } - query_parameters?: { + job_id: Id + snapshot_id: Id } + query_parameters?: {} body?: { - description?: string; - retain?: boolean; + description?: string + retain?: boolean } } diff --git a/specification/specs/x_pack/machine_learning/update_model_snapshot/UpdateModelSnapshotResponse.ts b/specification/specs/x_pack/machine_learning/update_model_snapshot/UpdateModelSnapshotResponse.ts index 4904b036ee..cdb64966f8 100644 --- a/specification/specs/x_pack/machine_learning/update_model_snapshot/UpdateModelSnapshotResponse.ts +++ b/specification/specs/x_pack/machine_learning/update_model_snapshot/UpdateModelSnapshotResponse.ts @@ -1,3 +1,3 @@ class UpdateModelSnapshotResponse extends AcknowledgedResponseBase { - model: ModelSnapshot; + model: ModelSnapshot } diff --git a/specification/specs/x_pack/machine_learning/validate_detector/ValidateDetectorRequest.ts b/specification/specs/x_pack/machine_learning/validate_detector/ValidateDetectorRequest.ts index a2e791e828..eb39a80b9b 100644 --- a/specification/specs/x_pack/machine_learning/validate_detector/ValidateDetectorRequest.ts +++ b/specification/specs/x_pack/machine_learning/validate_detector/ValidateDetectorRequest.ts @@ -1,9 +1,8 @@ -@rest_spec_name("ml.validate_detector") -@class_serializer("ValidateDetectorRequestFormatter") +@rest_spec_name('ml.validate_detector') +@class_serializer('ValidateDetectorRequestFormatter') class ValidateDetectorRequest extends RequestBase { - query_parameters?: { - } + query_parameters?: {} body?: { - detector?: Detector; + detector?: Detector } } diff --git a/specification/specs/x_pack/machine_learning/validate_detector/ValidateDetectorResponse.ts b/specification/specs/x_pack/machine_learning/validate_detector/ValidateDetectorResponse.ts index 4a8e8557c0..adab811de5 100644 --- a/specification/specs/x_pack/machine_learning/validate_detector/ValidateDetectorResponse.ts +++ b/specification/specs/x_pack/machine_learning/validate_detector/ValidateDetectorResponse.ts @@ -1,2 +1 @@ -class ValidateDetectorResponse extends AcknowledgedResponseBase { -} +class ValidateDetectorResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/machine_learning/validate_job/ValidateJobRequest.ts b/specification/specs/x_pack/machine_learning/validate_job/ValidateJobRequest.ts index a45bb0761e..9bc376b9e9 100644 --- a/specification/specs/x_pack/machine_learning/validate_job/ValidateJobRequest.ts +++ b/specification/specs/x_pack/machine_learning/validate_job/ValidateJobRequest.ts @@ -1,14 +1,13 @@ -@rest_spec_name("ml.validate") +@rest_spec_name('ml.validate') class ValidateJobRequest extends RequestBase { - query_parameters?: { - } + query_parameters?: {} body?: { - analysis_config?: AnalysisConfig; - analysis_limits?: AnalysisLimits; - data_description?: DataDescription; - description?: string; - model_plot?: ModelPlotConfig; - model_snapshot_retention_days?: long; - results_index_name?: IndexName; + analysis_config?: AnalysisConfig + analysis_limits?: AnalysisLimits + data_description?: DataDescription + description?: string + model_plot?: ModelPlotConfig + model_snapshot_retention_days?: long + results_index_name?: IndexName } } diff --git a/specification/specs/x_pack/machine_learning/validate_job/ValidateJobResponse.ts b/specification/specs/x_pack/machine_learning/validate_job/ValidateJobResponse.ts index 5e63615191..4f75a5b91a 100644 --- a/specification/specs/x_pack/machine_learning/validate_job/ValidateJobResponse.ts +++ b/specification/specs/x_pack/machine_learning/validate_job/ValidateJobResponse.ts @@ -1,2 +1 @@ -class ValidateJobResponse extends AcknowledgedResponseBase { -} +class ValidateJobResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/migration/deprecation_info/DeprecationInfo.ts b/specification/specs/x_pack/migration/deprecation_info/DeprecationInfo.ts index 7d0d7d5022..64c5f1ff1a 100644 --- a/specification/specs/x_pack/migration/deprecation_info/DeprecationInfo.ts +++ b/specification/specs/x_pack/migration/deprecation_info/DeprecationInfo.ts @@ -1,6 +1,6 @@ class DeprecationInfo { - details: string; - level: DeprecationWarningLevel; - message: string; - url: string; + details: string + level: DeprecationWarningLevel + message: string + url: string } diff --git a/specification/specs/x_pack/migration/deprecation_info/DeprecationInfoRequest.ts b/specification/specs/x_pack/migration/deprecation_info/DeprecationInfoRequest.ts index 8e772eff05..237444e385 100644 --- a/specification/specs/x_pack/migration/deprecation_info/DeprecationInfoRequest.ts +++ b/specification/specs/x_pack/migration/deprecation_info/DeprecationInfoRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("migration.deprecations") +@rest_spec_name('migration.deprecations') class DeprecationInfoRequest extends RequestBase { path_parts?: { - index?: IndexName; - } - query_parameters?: { - } - body?: { + index?: IndexName } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/migration/deprecation_info/DeprecationInfoResponse.ts b/specification/specs/x_pack/migration/deprecation_info/DeprecationInfoResponse.ts index 386cf076e8..6f0872d6e3 100644 --- a/specification/specs/x_pack/migration/deprecation_info/DeprecationInfoResponse.ts +++ b/specification/specs/x_pack/migration/deprecation_info/DeprecationInfoResponse.ts @@ -1,5 +1,5 @@ class DeprecationInfoResponse extends ResponseBase { - cluster_settings: DeprecationInfo[]; - index_settings: Dictionary; - node_settings: DeprecationInfo[]; + cluster_settings: DeprecationInfo[] + index_settings: Dictionary + node_settings: DeprecationInfo[] } diff --git a/specification/specs/x_pack/roll_up/create_rollup_job/CreateRollupJobRequest.ts b/specification/specs/x_pack/roll_up/create_rollup_job/CreateRollupJobRequest.ts index 2d1e42f139..5626d4d53e 100644 --- a/specification/specs/x_pack/roll_up/create_rollup_job/CreateRollupJobRequest.ts +++ b/specification/specs/x_pack/roll_up/create_rollup_job/CreateRollupJobRequest.ts @@ -1,16 +1,15 @@ -@rest_spec_name("rollup.put_job") +@rest_spec_name('rollup.put_job') class CreateRollupJobRequest extends RequestBase { path_parts?: { - id: Id; - } - query_parameters?: { + id: Id } + query_parameters?: {} body?: { - cron?: string; - groups?: RollupGroupings; - index_pattern?: string; - metrics?: RollupFieldMetric[]; - page_size?: long; - rollup_index?: IndexName; + cron?: string + groups?: RollupGroupings + index_pattern?: string + metrics?: RollupFieldMetric[] + page_size?: long + rollup_index?: IndexName } } diff --git a/specification/specs/x_pack/roll_up/create_rollup_job/CreateRollupJobResponse.ts b/specification/specs/x_pack/roll_up/create_rollup_job/CreateRollupJobResponse.ts index 860ffe3b21..8b2e34572b 100644 --- a/specification/specs/x_pack/roll_up/create_rollup_job/CreateRollupJobResponse.ts +++ b/specification/specs/x_pack/roll_up/create_rollup_job/CreateRollupJobResponse.ts @@ -1,2 +1 @@ -class CreateRollupJobResponse extends AcknowledgedResponseBase { -} +class CreateRollupJobResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/roll_up/delete_rollup_job/DeleteRollupJobRequest.ts b/specification/specs/x_pack/roll_up/delete_rollup_job/DeleteRollupJobRequest.ts index 836e5b8916..2161b1ae65 100644 --- a/specification/specs/x_pack/roll_up/delete_rollup_job/DeleteRollupJobRequest.ts +++ b/specification/specs/x_pack/roll_up/delete_rollup_job/DeleteRollupJobRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("rollup.delete_job") +@rest_spec_name('rollup.delete_job') class DeleteRollupJobRequest extends RequestBase { path_parts?: { - id: Id; - } - query_parameters?: { - } - body?: { + id: Id } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/roll_up/delete_rollup_job/DeleteRollupJobResponse.ts b/specification/specs/x_pack/roll_up/delete_rollup_job/DeleteRollupJobResponse.ts index cc78d4254f..b2e0cde5db 100644 --- a/specification/specs/x_pack/roll_up/delete_rollup_job/DeleteRollupJobResponse.ts +++ b/specification/specs/x_pack/roll_up/delete_rollup_job/DeleteRollupJobResponse.ts @@ -1,2 +1 @@ -class DeleteRollupJobResponse extends AcknowledgedResponseBase { -} +class DeleteRollupJobResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/roll_up/get_rollup_capabilities/GetRollupCapabilitiesRequest.ts b/specification/specs/x_pack/roll_up/get_rollup_capabilities/GetRollupCapabilitiesRequest.ts index 7bb615e066..07bf589053 100644 --- a/specification/specs/x_pack/roll_up/get_rollup_capabilities/GetRollupCapabilitiesRequest.ts +++ b/specification/specs/x_pack/roll_up/get_rollup_capabilities/GetRollupCapabilitiesRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("rollup.get_rollup_caps") +@rest_spec_name('rollup.get_rollup_caps') class GetRollupCapabilitiesRequest extends RequestBase { path_parts?: { - id?: Id; - } - query_parameters?: { - } - body?: { + id?: Id } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/roll_up/get_rollup_capabilities/GetRollupCapabilitiesResponse.ts b/specification/specs/x_pack/roll_up/get_rollup_capabilities/GetRollupCapabilitiesResponse.ts index ce764c0993..1eeb1f5f91 100644 --- a/specification/specs/x_pack/roll_up/get_rollup_capabilities/GetRollupCapabilitiesResponse.ts +++ b/specification/specs/x_pack/roll_up/get_rollup_capabilities/GetRollupCapabilitiesResponse.ts @@ -1 +1,4 @@ -class GetRollupCapabilitiesResponse extends DictionaryResponseBase {} +class GetRollupCapabilitiesResponse extends DictionaryResponseBase< + IndexName, + RollupCapabilities +> {} diff --git a/specification/specs/x_pack/roll_up/get_rollup_capabilities/RollupCapabilities.ts b/specification/specs/x_pack/roll_up/get_rollup_capabilities/RollupCapabilities.ts index a604654f93..c854926f4a 100644 --- a/specification/specs/x_pack/roll_up/get_rollup_capabilities/RollupCapabilities.ts +++ b/specification/specs/x_pack/roll_up/get_rollup_capabilities/RollupCapabilities.ts @@ -1,3 +1,3 @@ class RollupCapabilities { - rollup_jobs: RollupCapabilitiesJob[]; + rollup_jobs: RollupCapabilitiesJob[] } diff --git a/specification/specs/x_pack/roll_up/get_rollup_capabilities/RollupCapabilitiesJob.ts b/specification/specs/x_pack/roll_up/get_rollup_capabilities/RollupCapabilitiesJob.ts index fe71aa6ff0..f47977c80c 100644 --- a/specification/specs/x_pack/roll_up/get_rollup_capabilities/RollupCapabilitiesJob.ts +++ b/specification/specs/x_pack/roll_up/get_rollup_capabilities/RollupCapabilitiesJob.ts @@ -1,6 +1,6 @@ class RollupCapabilitiesJob { - fields: Dictionary>; - index_pattern: string; - job_id: string; - rollup_index: string; + fields: Dictionary> + index_pattern: string + job_id: string + rollup_index: string } diff --git a/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/GetRollupIndexCapabilitiesRequest.ts b/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/GetRollupIndexCapabilitiesRequest.ts index b4cacc0e02..276f8a3bdc 100644 --- a/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/GetRollupIndexCapabilitiesRequest.ts +++ b/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/GetRollupIndexCapabilitiesRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("rollup.get_rollup_index_caps") +@rest_spec_name('rollup.get_rollup_index_caps') class GetRollupIndexCapabilitiesRequest extends RequestBase { path_parts?: { - index: Id; - } - query_parameters?: { - } - body?: { + index: Id } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/GetRollupIndexCapabilitiesResponse.ts b/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/GetRollupIndexCapabilitiesResponse.ts index a114d48d7d..f417283e7a 100644 --- a/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/GetRollupIndexCapabilitiesResponse.ts +++ b/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/GetRollupIndexCapabilitiesResponse.ts @@ -1 +1,4 @@ -class GetRollupIndexCapabilitiesResponse extends DictionaryResponseBase {} +class GetRollupIndexCapabilitiesResponse extends DictionaryResponseBase< + IndexName, + RollupIndexCapabilities +> {} diff --git a/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/RollupIndexCapabilities.ts b/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/RollupIndexCapabilities.ts index 27cd922d02..d3db1af7e7 100644 --- a/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/RollupIndexCapabilities.ts +++ b/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/RollupIndexCapabilities.ts @@ -1,3 +1,3 @@ class RollupIndexCapabilities { - rollup_jobs: RollupIndexCapabilitiesJob[]; + rollup_jobs: RollupIndexCapabilitiesJob[] } diff --git a/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/RollupIndexCapabilitiesJob.ts b/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/RollupIndexCapabilitiesJob.ts index 77e96dab5c..0a74a0b94a 100644 --- a/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/RollupIndexCapabilitiesJob.ts +++ b/specification/specs/x_pack/roll_up/get_rollup_index_capabilities/RollupIndexCapabilitiesJob.ts @@ -1,6 +1,6 @@ class RollupIndexCapabilitiesJob { - fields: Dictionary>; - index_pattern: string; - job_id: string; - rollup_index: string; + fields: Dictionary> + index_pattern: string + job_id: string + rollup_index: string } diff --git a/specification/specs/x_pack/roll_up/get_rollup_job/GetRollupJobRequest.ts b/specification/specs/x_pack/roll_up/get_rollup_job/GetRollupJobRequest.ts index 55b2d40503..8e8484da19 100644 --- a/specification/specs/x_pack/roll_up/get_rollup_job/GetRollupJobRequest.ts +++ b/specification/specs/x_pack/roll_up/get_rollup_job/GetRollupJobRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("rollup.get_jobs") +@rest_spec_name('rollup.get_jobs') class GetRollupJobRequest extends RequestBase { path_parts?: { - id?: Id; - } - query_parameters?: { - } - body?: { + id?: Id } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/roll_up/get_rollup_job/GetRollupJobResponse.ts b/specification/specs/x_pack/roll_up/get_rollup_job/GetRollupJobResponse.ts index 8ae64d56f3..29e3b78af4 100644 --- a/specification/specs/x_pack/roll_up/get_rollup_job/GetRollupJobResponse.ts +++ b/specification/specs/x_pack/roll_up/get_rollup_job/GetRollupJobResponse.ts @@ -1,3 +1,3 @@ class GetRollupJobResponse extends ResponseBase { - jobs: RollupJobInformation[]; + jobs: RollupJobInformation[] } diff --git a/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobConfiguration.ts b/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobConfiguration.ts index 756489dd35..5b3fa0c0b5 100644 --- a/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobConfiguration.ts +++ b/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobConfiguration.ts @@ -1,10 +1,10 @@ class RollupJobConfiguration { - cron: string; - groups: RollupGroupings; - id: string; - index_pattern: string; - metrics: RollupFieldMetric[]; - page_size: long; - rollup_index: IndexName; - timeout: Time; + cron: string + groups: RollupGroupings + id: string + index_pattern: string + metrics: RollupFieldMetric[] + page_size: long + rollup_index: IndexName + timeout: Time } diff --git a/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobInformation.ts b/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobInformation.ts index cb23b53c94..b84ab28f94 100644 --- a/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobInformation.ts +++ b/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobInformation.ts @@ -1,5 +1,5 @@ class RollupJobInformation { - config: RollupJobConfiguration; - stats: RollupJobStats; - status: RollupJobStatus; + config: RollupJobConfiguration + stats: RollupJobStats + status: RollupJobStatus } diff --git a/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobStats.ts b/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobStats.ts index 2b131514fe..826263e2f1 100644 --- a/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobStats.ts +++ b/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobStats.ts @@ -1,12 +1,12 @@ class RollupJobStats { - documents_processed: long; - index_failures: long; - index_time_in_ms: long; - index_total: long; - pages_processed: long; - rollups_indexed: long; - search_failures: long; - search_time_in_ms: long; - search_total: long; - trigger_count: long; + documents_processed: long + index_failures: long + index_time_in_ms: long + index_total: long + pages_processed: long + rollups_indexed: long + search_failures: long + search_time_in_ms: long + search_total: long + trigger_count: long } diff --git a/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobStatus.ts b/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobStatus.ts index 9b8d877855..03607bb329 100644 --- a/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobStatus.ts +++ b/specification/specs/x_pack/roll_up/get_rollup_job/RollupJobStatus.ts @@ -1,5 +1,5 @@ class RollupJobStatus { - current_position: Dictionary; - job_state: IndexingJobState; - upgraded_doc_id: boolean; + current_position: Dictionary + job_state: IndexingJobState + upgraded_doc_id: boolean } diff --git a/specification/specs/x_pack/roll_up/rollup_configuration/DateHistogramRollupGrouping.ts b/specification/specs/x_pack/roll_up/rollup_configuration/DateHistogramRollupGrouping.ts index c8f440086b..c62bc0c34c 100644 --- a/specification/specs/x_pack/roll_up/rollup_configuration/DateHistogramRollupGrouping.ts +++ b/specification/specs/x_pack/roll_up/rollup_configuration/DateHistogramRollupGrouping.ts @@ -1,7 +1,7 @@ class DateHistogramRollupGrouping { - delay: Time; - field: Field; - format: string; - interval: Time; - time_zone: string; + delay: Time + field: Field + format: string + interval: Time + time_zone: string } diff --git a/specification/specs/x_pack/roll_up/rollup_configuration/HistogramRollupGrouping.ts b/specification/specs/x_pack/roll_up/rollup_configuration/HistogramRollupGrouping.ts index 2d8e22f31b..adf78e5b7e 100644 --- a/specification/specs/x_pack/roll_up/rollup_configuration/HistogramRollupGrouping.ts +++ b/specification/specs/x_pack/roll_up/rollup_configuration/HistogramRollupGrouping.ts @@ -1,4 +1,4 @@ class HistogramRollupGrouping { - fields: Field[]; - interval: long; + fields: Field[] + interval: long } diff --git a/specification/specs/x_pack/roll_up/rollup_configuration/RollupFieldMetric.ts b/specification/specs/x_pack/roll_up/rollup_configuration/RollupFieldMetric.ts index 94374f382c..878b69182c 100644 --- a/specification/specs/x_pack/roll_up/rollup_configuration/RollupFieldMetric.ts +++ b/specification/specs/x_pack/roll_up/rollup_configuration/RollupFieldMetric.ts @@ -1,4 +1,4 @@ class RollupFieldMetric { - field: Field; - metrics: RollupMetric[]; + field: Field + metrics: RollupMetric[] } diff --git a/specification/specs/x_pack/roll_up/rollup_configuration/RollupGroupings.ts b/specification/specs/x_pack/roll_up/rollup_configuration/RollupGroupings.ts index becbe68e17..995d070f0b 100644 --- a/specification/specs/x_pack/roll_up/rollup_configuration/RollupGroupings.ts +++ b/specification/specs/x_pack/roll_up/rollup_configuration/RollupGroupings.ts @@ -1,5 +1,5 @@ class RollupGroupings { - date_histogram: DateHistogramRollupGrouping; - histogram: HistogramRollupGrouping; - terms: TermsRollupGrouping; + date_histogram: DateHistogramRollupGrouping + histogram: HistogramRollupGrouping + terms: TermsRollupGrouping } diff --git a/specification/specs/x_pack/roll_up/rollup_configuration/TermsRollupGrouping.ts b/specification/specs/x_pack/roll_up/rollup_configuration/TermsRollupGrouping.ts index 99db237c1b..020aa05375 100644 --- a/specification/specs/x_pack/roll_up/rollup_configuration/TermsRollupGrouping.ts +++ b/specification/specs/x_pack/roll_up/rollup_configuration/TermsRollupGrouping.ts @@ -1,3 +1,3 @@ class TermsRollupGrouping { - fields: Field[]; + fields: Field[] } diff --git a/specification/specs/x_pack/roll_up/rollup_search/RollupSearchRequest.ts b/specification/specs/x_pack/roll_up/rollup_search/RollupSearchRequest.ts index 21b3732eb4..7a4735539a 100644 --- a/specification/specs/x_pack/roll_up/rollup_search/RollupSearchRequest.ts +++ b/specification/specs/x_pack/roll_up/rollup_search/RollupSearchRequest.ts @@ -1,16 +1,16 @@ -@rest_spec_name("rollup.rollup_search") +@rest_spec_name('rollup.rollup_search') class RollupSearchRequest extends RequestBase { path_parts?: { - index: Indices; - type?: TypeName; + index: Indices + type?: TypeName } query_parameters?: { - total_hits_as_integer?: boolean; - typed_keys?: boolean; + total_hits_as_integer?: boolean + typed_keys?: boolean } body?: { - aggs?: Dictionary; - query?: QueryContainer; - size?: integer; + aggs?: Dictionary + query?: QueryContainer + size?: integer } } diff --git a/specification/specs/x_pack/roll_up/rollup_search/RollupSearchResponse.ts b/specification/specs/x_pack/roll_up/rollup_search/RollupSearchResponse.ts index 3762e7bb5c..6706e28e18 100644 --- a/specification/specs/x_pack/roll_up/rollup_search/RollupSearchResponse.ts +++ b/specification/specs/x_pack/roll_up/rollup_search/RollupSearchResponse.ts @@ -1,2 +1 @@ -class RollupSearchResponse extends ResponseBase { -} +class RollupSearchResponse extends ResponseBase {} diff --git a/specification/specs/x_pack/roll_up/start_rollup_job/StartRollupJobRequest.ts b/specification/specs/x_pack/roll_up/start_rollup_job/StartRollupJobRequest.ts index 7f1450c366..45a8d43c6b 100644 --- a/specification/specs/x_pack/roll_up/start_rollup_job/StartRollupJobRequest.ts +++ b/specification/specs/x_pack/roll_up/start_rollup_job/StartRollupJobRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("rollup.start_job") +@rest_spec_name('rollup.start_job') class StartRollupJobRequest extends RequestBase { path_parts?: { - id: Id; - } - query_parameters?: { - } - body?: { + id: Id } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/roll_up/start_rollup_job/StartRollupJobResponse.ts b/specification/specs/x_pack/roll_up/start_rollup_job/StartRollupJobResponse.ts index 5938ca3a3e..fdf978aab8 100644 --- a/specification/specs/x_pack/roll_up/start_rollup_job/StartRollupJobResponse.ts +++ b/specification/specs/x_pack/roll_up/start_rollup_job/StartRollupJobResponse.ts @@ -1,3 +1,3 @@ class StartRollupJobResponse extends ResponseBase { - started: boolean; + started: boolean } diff --git a/specification/specs/x_pack/roll_up/stop_rollup_job/StopRollupJobRequest.ts b/specification/specs/x_pack/roll_up/stop_rollup_job/StopRollupJobRequest.ts index 2b09281314..73cf4ac418 100644 --- a/specification/specs/x_pack/roll_up/stop_rollup_job/StopRollupJobRequest.ts +++ b/specification/specs/x_pack/roll_up/stop_rollup_job/StopRollupJobRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("rollup.stop_job") +@rest_spec_name('rollup.stop_job') class StopRollupJobRequest extends RequestBase { path_parts?: { - id: Id; + id: Id } query_parameters?: { - timeout?: Time; - wait_for_completion?: boolean; - } - body?: { + timeout?: Time + wait_for_completion?: boolean } + body?: {} } diff --git a/specification/specs/x_pack/roll_up/stop_rollup_job/StopRollupJobResponse.ts b/specification/specs/x_pack/roll_up/stop_rollup_job/StopRollupJobResponse.ts index 36a53011d8..f610072fac 100644 --- a/specification/specs/x_pack/roll_up/stop_rollup_job/StopRollupJobResponse.ts +++ b/specification/specs/x_pack/roll_up/stop_rollup_job/StopRollupJobResponse.ts @@ -1,3 +1,3 @@ class StopRollupJobResponse extends ResponseBase { - stopped: boolean; + stopped: boolean } diff --git a/specification/specs/x_pack/security/SecurityNode.ts b/specification/specs/x_pack/security/SecurityNode.ts index 27dc3fe586..6aeb019e27 100644 --- a/specification/specs/x_pack/security/SecurityNode.ts +++ b/specification/specs/x_pack/security/SecurityNode.ts @@ -1,3 +1,3 @@ class SecurityNode { - name: string; + name: string } diff --git a/specification/specs/x_pack/security/api_key/create_api_key/ApiKeyPrivileges.ts b/specification/specs/x_pack/security/api_key/create_api_key/ApiKeyPrivileges.ts index eef8dcd07f..d461c4b184 100644 --- a/specification/specs/x_pack/security/api_key/create_api_key/ApiKeyPrivileges.ts +++ b/specification/specs/x_pack/security/api_key/create_api_key/ApiKeyPrivileges.ts @@ -1,4 +1,4 @@ class ApiKeyPrivileges { - names: string[]; - privileges: string[]; + names: string[] + privileges: string[] } diff --git a/specification/specs/x_pack/security/api_key/create_api_key/ApiKeyRole.ts b/specification/specs/x_pack/security/api_key/create_api_key/ApiKeyRole.ts index 2c480fbf57..1ea3419a6b 100644 --- a/specification/specs/x_pack/security/api_key/create_api_key/ApiKeyRole.ts +++ b/specification/specs/x_pack/security/api_key/create_api_key/ApiKeyRole.ts @@ -1,4 +1,4 @@ class ApiKeyRole { - cluster: string[]; - index: ApiKeyPrivileges[]; + cluster: string[] + index: ApiKeyPrivileges[] } diff --git a/specification/specs/x_pack/security/api_key/create_api_key/CreateApiKeyRequest.ts b/specification/specs/x_pack/security/api_key/create_api_key/CreateApiKeyRequest.ts index 6be33b0e5f..926ba069e4 100644 --- a/specification/specs/x_pack/security/api_key/create_api_key/CreateApiKeyRequest.ts +++ b/specification/specs/x_pack/security/api_key/create_api_key/CreateApiKeyRequest.ts @@ -1,11 +1,11 @@ -@rest_spec_name("security.create_api_key") +@rest_spec_name('security.create_api_key') class CreateApiKeyRequest extends RequestBase { query_parameters?: { - refresh?: Refresh; + refresh?: Refresh } body?: { - expiration?: Time; - name?: string; - role_descriptors?: Dictionary; + expiration?: Time + name?: string + role_descriptors?: Dictionary } } diff --git a/specification/specs/x_pack/security/api_key/create_api_key/CreateApiKeyResponse.ts b/specification/specs/x_pack/security/api_key/create_api_key/CreateApiKeyResponse.ts index a02aae9f08..0c0e0579d6 100644 --- a/specification/specs/x_pack/security/api_key/create_api_key/CreateApiKeyResponse.ts +++ b/specification/specs/x_pack/security/api_key/create_api_key/CreateApiKeyResponse.ts @@ -1,7 +1,7 @@ class CreateApiKeyResponse extends ResponseBase { - api_key: string; + api_key: string /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - expiration: Date; - id: string; - name: string; + expiration: Date + id: string + name: string } diff --git a/specification/specs/x_pack/security/api_key/get_api_key/ApiKeys.ts b/specification/specs/x_pack/security/api_key/get_api_key/ApiKeys.ts index 4fa5ecdf7f..ed991fc055 100644 --- a/specification/specs/x_pack/security/api_key/get_api_key/ApiKeys.ts +++ b/specification/specs/x_pack/security/api_key/get_api_key/ApiKeys.ts @@ -1,11 +1,11 @@ class ApiKeys { /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - creation: Date; + creation: Date /** @prop_serializer NullableDateTimeOffsetEpochMillisecondsFormatter */ - expiration: Date; - id: string; - invalidated: boolean; - name: string; - realm: string; - username: string; + expiration: Date + id: string + invalidated: boolean + name: string + realm: string + username: string } diff --git a/specification/specs/x_pack/security/api_key/get_api_key/GetApiKeyRequest.ts b/specification/specs/x_pack/security/api_key/get_api_key/GetApiKeyRequest.ts index 9ffcb4ea22..e7663583a9 100644 --- a/specification/specs/x_pack/security/api_key/get_api_key/GetApiKeyRequest.ts +++ b/specification/specs/x_pack/security/api_key/get_api_key/GetApiKeyRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("security.get_api_key") +@rest_spec_name('security.get_api_key') class GetApiKeyRequest extends RequestBase { query_parameters?: { - id?: string; - name?: string; - owner?: boolean; - realm_name?: string; - username?: string; - } - body?: { + id?: string + name?: string + owner?: boolean + realm_name?: string + username?: string } + body?: {} } diff --git a/specification/specs/x_pack/security/api_key/get_api_key/GetApiKeyResponse.ts b/specification/specs/x_pack/security/api_key/get_api_key/GetApiKeyResponse.ts index 8b7838ec7f..37acd358ff 100644 --- a/specification/specs/x_pack/security/api_key/get_api_key/GetApiKeyResponse.ts +++ b/specification/specs/x_pack/security/api_key/get_api_key/GetApiKeyResponse.ts @@ -1,3 +1,3 @@ class GetApiKeyResponse extends ResponseBase { - api_keys: ApiKeys[]; + api_keys: ApiKeys[] } diff --git a/specification/specs/x_pack/security/api_key/invalidate_api_key/InvalidateApiKeyRequest.ts b/specification/specs/x_pack/security/api_key/invalidate_api_key/InvalidateApiKeyRequest.ts index 9ec141ee6f..3b60f21583 100644 --- a/specification/specs/x_pack/security/api_key/invalidate_api_key/InvalidateApiKeyRequest.ts +++ b/specification/specs/x_pack/security/api_key/invalidate_api_key/InvalidateApiKeyRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("security.invalidate_api_key") +@rest_spec_name('security.invalidate_api_key') class InvalidateApiKeyRequest extends RequestBase { - query_parameters?: { - } + query_parameters?: {} body?: { - id?: string; - name?: string; - owner?: boolean; - realm_name?: string; - username?: string; + id?: string + name?: string + owner?: boolean + realm_name?: string + username?: string } } diff --git a/specification/specs/x_pack/security/api_key/invalidate_api_key/InvalidateApiKeyResponse.ts b/specification/specs/x_pack/security/api_key/invalidate_api_key/InvalidateApiKeyResponse.ts index be1e12ed58..4e8b90051f 100644 --- a/specification/specs/x_pack/security/api_key/invalidate_api_key/InvalidateApiKeyResponse.ts +++ b/specification/specs/x_pack/security/api_key/invalidate_api_key/InvalidateApiKeyResponse.ts @@ -1,6 +1,6 @@ class InvalidateApiKeyResponse extends ResponseBase { - error_count: integer; - error_details: ErrorCause[]; - invalidated_api_keys: string[]; - previously_invalidated_api_keys: string[]; + error_count: integer + error_details: ErrorCause[] + invalidated_api_keys: string[] + previously_invalidated_api_keys: string[] } diff --git a/specification/specs/x_pack/security/authenticate/AuthenticateRequest.ts b/specification/specs/x_pack/security/authenticate/AuthenticateRequest.ts index aa7e81f7c6..a30c1af577 100644 --- a/specification/specs/x_pack/security/authenticate/AuthenticateRequest.ts +++ b/specification/specs/x_pack/security/authenticate/AuthenticateRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("security.authenticate") +@rest_spec_name('security.authenticate') class AuthenticateRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/security/authenticate/AuthenticateResponse.ts b/specification/specs/x_pack/security/authenticate/AuthenticateResponse.ts index 78220b4143..e9aad3fc31 100644 --- a/specification/specs/x_pack/security/authenticate/AuthenticateResponse.ts +++ b/specification/specs/x_pack/security/authenticate/AuthenticateResponse.ts @@ -1,9 +1,9 @@ class AuthenticateResponse extends ResponseBase { - authentication_realm: RealmInfo; - email: string; - full_name: string; - lookup_realm: RealmInfo; - metadata: Dictionary; - roles: string[]; - username: string; + authentication_realm: RealmInfo + email: string + full_name: string + lookup_realm: RealmInfo + metadata: Dictionary + roles: string[] + username: string } diff --git a/specification/specs/x_pack/security/authenticate/RealmInfo.ts b/specification/specs/x_pack/security/authenticate/RealmInfo.ts index 6c97d2881c..e9402b47cc 100644 --- a/specification/specs/x_pack/security/authenticate/RealmInfo.ts +++ b/specification/specs/x_pack/security/authenticate/RealmInfo.ts @@ -1,4 +1,4 @@ class RealmInfo { - name: string; - type: string; + name: string + type: string } diff --git a/specification/specs/x_pack/security/clear_cached_realms/ClearCachedRealmsRequest.ts b/specification/specs/x_pack/security/clear_cached_realms/ClearCachedRealmsRequest.ts index edeeb2bd4f..91f6a103ae 100644 --- a/specification/specs/x_pack/security/clear_cached_realms/ClearCachedRealmsRequest.ts +++ b/specification/specs/x_pack/security/clear_cached_realms/ClearCachedRealmsRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("security.clear_cached_realms") +@rest_spec_name('security.clear_cached_realms') class ClearCachedRealmsRequest extends RequestBase { path_parts?: { - realms: Names; + realms: Names } query_parameters?: { - usernames?: string[]; - } - body?: { + usernames?: string[] } + body?: {} } diff --git a/specification/specs/x_pack/security/clear_cached_realms/ClearCachedRealmsResponse.ts b/specification/specs/x_pack/security/clear_cached_realms/ClearCachedRealmsResponse.ts index 442ac8df99..3be2af1c0c 100644 --- a/specification/specs/x_pack/security/clear_cached_realms/ClearCachedRealmsResponse.ts +++ b/specification/specs/x_pack/security/clear_cached_realms/ClearCachedRealmsResponse.ts @@ -1,4 +1,4 @@ class ClearCachedRealmsResponse extends ResponseBase { - cluster_name: string; - nodes: Dictionary; + cluster_name: string + nodes: Dictionary } diff --git a/specification/specs/x_pack/security/privileges/delete_privileges/DeletePrivilegesRequest.ts b/specification/specs/x_pack/security/privileges/delete_privileges/DeletePrivilegesRequest.ts index 5d65032d15..a06d067090 100644 --- a/specification/specs/x_pack/security/privileges/delete_privileges/DeletePrivilegesRequest.ts +++ b/specification/specs/x_pack/security/privileges/delete_privileges/DeletePrivilegesRequest.ts @@ -1,12 +1,11 @@ -@rest_spec_name("security.delete_privileges") +@rest_spec_name('security.delete_privileges') class DeletePrivilegesRequest extends RequestBase { path_parts?: { - application: Name; - name: Name; + application: Name + name: Name } query_parameters?: { - refresh?: Refresh; - } - body?: { + refresh?: Refresh } + body?: {} } diff --git a/specification/specs/x_pack/security/privileges/delete_privileges/DeletePrivilegesResponse.ts b/specification/specs/x_pack/security/privileges/delete_privileges/DeletePrivilegesResponse.ts index 0e3e03a387..16e55e7bd9 100644 --- a/specification/specs/x_pack/security/privileges/delete_privileges/DeletePrivilegesResponse.ts +++ b/specification/specs/x_pack/security/privileges/delete_privileges/DeletePrivilegesResponse.ts @@ -1 +1,4 @@ -class DeletePrivilegesResponse extends DictionaryResponseBase> {} +class DeletePrivilegesResponse extends DictionaryResponseBase< + string, + Dictionary +> {} diff --git a/specification/specs/x_pack/security/privileges/delete_privileges/FoundUserPrivilege.ts b/specification/specs/x_pack/security/privileges/delete_privileges/FoundUserPrivilege.ts index e7e724e2e5..0f5804bf9e 100644 --- a/specification/specs/x_pack/security/privileges/delete_privileges/FoundUserPrivilege.ts +++ b/specification/specs/x_pack/security/privileges/delete_privileges/FoundUserPrivilege.ts @@ -1,3 +1,3 @@ class FoundUserPrivilege { - found: boolean; + found: boolean } diff --git a/specification/specs/x_pack/security/privileges/get_builtin_privileges/GetBuiltinPrivilegesRequest.ts b/specification/specs/x_pack/security/privileges/get_builtin_privileges/GetBuiltinPrivilegesRequest.ts index db1240f3d3..da794e1e08 100644 --- a/specification/specs/x_pack/security/privileges/get_builtin_privileges/GetBuiltinPrivilegesRequest.ts +++ b/specification/specs/x_pack/security/privileges/get_builtin_privileges/GetBuiltinPrivilegesRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("security.get_builtin_privileges") +@rest_spec_name('security.get_builtin_privileges') class GetBuiltinPrivilegesRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/security/privileges/get_builtin_privileges/GetBuiltinPrivilegesResponse.ts b/specification/specs/x_pack/security/privileges/get_builtin_privileges/GetBuiltinPrivilegesResponse.ts index 9ff31c1040..88827f21e4 100644 --- a/specification/specs/x_pack/security/privileges/get_builtin_privileges/GetBuiltinPrivilegesResponse.ts +++ b/specification/specs/x_pack/security/privileges/get_builtin_privileges/GetBuiltinPrivilegesResponse.ts @@ -1,4 +1,4 @@ class GetBuiltinPrivilegesResponse extends ResponseBase { - cluster: string[]; - index: string[]; + cluster: string[] + index: string[] } diff --git a/specification/specs/x_pack/security/privileges/get_privileges/GetPrivilegesRequest.ts b/specification/specs/x_pack/security/privileges/get_privileges/GetPrivilegesRequest.ts index b2be85c4d4..1f8c08a5c6 100644 --- a/specification/specs/x_pack/security/privileges/get_privileges/GetPrivilegesRequest.ts +++ b/specification/specs/x_pack/security/privileges/get_privileges/GetPrivilegesRequest.ts @@ -1,11 +1,9 @@ -@rest_spec_name("security.get_privileges") +@rest_spec_name('security.get_privileges') class GetPrivilegesRequest extends RequestBase { path_parts?: { - application?: Name; - name?: Name; - } - query_parameters?: { - } - body?: { + application?: Name + name?: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/security/privileges/get_privileges/GetPrivilegesResponse.ts b/specification/specs/x_pack/security/privileges/get_privileges/GetPrivilegesResponse.ts index b1e1aed22a..c4538fadc7 100644 --- a/specification/specs/x_pack/security/privileges/get_privileges/GetPrivilegesResponse.ts +++ b/specification/specs/x_pack/security/privileges/get_privileges/GetPrivilegesResponse.ts @@ -1 +1,4 @@ -class GetPrivilegesResponse extends DictionaryResponseBase> {} +class GetPrivilegesResponse extends DictionaryResponseBase< + string, + Dictionary +> {} diff --git a/specification/specs/x_pack/security/privileges/get_user_privileges/ApplicationGlobalUserPrivileges.ts b/specification/specs/x_pack/security/privileges/get_user_privileges/ApplicationGlobalUserPrivileges.ts index 9d9d5d5d8c..1c49061d29 100644 --- a/specification/specs/x_pack/security/privileges/get_user_privileges/ApplicationGlobalUserPrivileges.ts +++ b/specification/specs/x_pack/security/privileges/get_user_privileges/ApplicationGlobalUserPrivileges.ts @@ -1,3 +1,3 @@ class ApplicationGlobalUserPrivileges { - manage: ManageUserPrivileges; + manage: ManageUserPrivileges } diff --git a/specification/specs/x_pack/security/privileges/get_user_privileges/ApplicationResourcePrivileges.ts b/specification/specs/x_pack/security/privileges/get_user_privileges/ApplicationResourcePrivileges.ts index 4ebf46dd17..f4fb42dbd7 100644 --- a/specification/specs/x_pack/security/privileges/get_user_privileges/ApplicationResourcePrivileges.ts +++ b/specification/specs/x_pack/security/privileges/get_user_privileges/ApplicationResourcePrivileges.ts @@ -1,5 +1,5 @@ class ApplicationResourcePrivileges { - application: string; - privileges: string[]; - resources: string[]; + application: string + privileges: string[] + resources: string[] } diff --git a/specification/specs/x_pack/security/privileges/get_user_privileges/FieldSecuritySettings.ts b/specification/specs/x_pack/security/privileges/get_user_privileges/FieldSecuritySettings.ts index 92abcb899c..7a8939fd5c 100644 --- a/specification/specs/x_pack/security/privileges/get_user_privileges/FieldSecuritySettings.ts +++ b/specification/specs/x_pack/security/privileges/get_user_privileges/FieldSecuritySettings.ts @@ -1,4 +1,4 @@ class FieldSecuritySettings { - except: string[]; - grant: string[]; + except: string[] + grant: string[] } diff --git a/specification/specs/x_pack/security/privileges/get_user_privileges/GetUserPrivilegesRequest.ts b/specification/specs/x_pack/security/privileges/get_user_privileges/GetUserPrivilegesRequest.ts index 4204255b00..ec13547662 100644 --- a/specification/specs/x_pack/security/privileges/get_user_privileges/GetUserPrivilegesRequest.ts +++ b/specification/specs/x_pack/security/privileges/get_user_privileges/GetUserPrivilegesRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("security.get_user_privileges") +@rest_spec_name('security.get_user_privileges') class GetUserPrivilegesRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/security/privileges/get_user_privileges/GetUserPrivilegesResponse.ts b/specification/specs/x_pack/security/privileges/get_user_privileges/GetUserPrivilegesResponse.ts index 09120a13b9..daf817c6f3 100644 --- a/specification/specs/x_pack/security/privileges/get_user_privileges/GetUserPrivilegesResponse.ts +++ b/specification/specs/x_pack/security/privileges/get_user_privileges/GetUserPrivilegesResponse.ts @@ -1,7 +1,7 @@ class GetUserPrivilegesResponse extends ResponseBase { - applications: ApplicationResourcePrivileges[]; - cluster: string[]; - global: GlobalPrivileges[]; - indices: UserIndicesPrivileges[]; - run_as: string[]; + applications: ApplicationResourcePrivileges[] + cluster: string[] + global: GlobalPrivileges[] + indices: UserIndicesPrivileges[] + run_as: string[] } diff --git a/specification/specs/x_pack/security/privileges/get_user_privileges/GlobalPrivileges.ts b/specification/specs/x_pack/security/privileges/get_user_privileges/GlobalPrivileges.ts index 3850ba9fad..6691de633c 100644 --- a/specification/specs/x_pack/security/privileges/get_user_privileges/GlobalPrivileges.ts +++ b/specification/specs/x_pack/security/privileges/get_user_privileges/GlobalPrivileges.ts @@ -1,3 +1,3 @@ class GlobalPrivileges { - application: ApplicationGlobalUserPrivileges; + application: ApplicationGlobalUserPrivileges } diff --git a/specification/specs/x_pack/security/privileges/get_user_privileges/ManageUserPrivileges.ts b/specification/specs/x_pack/security/privileges/get_user_privileges/ManageUserPrivileges.ts index b6c968d4fa..ffc6bb7af2 100644 --- a/specification/specs/x_pack/security/privileges/get_user_privileges/ManageUserPrivileges.ts +++ b/specification/specs/x_pack/security/privileges/get_user_privileges/ManageUserPrivileges.ts @@ -1,3 +1,3 @@ class ManageUserPrivileges { - applications: string[]; + applications: string[] } diff --git a/specification/specs/x_pack/security/privileges/get_user_privileges/QueryUserPrivileges.ts b/specification/specs/x_pack/security/privileges/get_user_privileges/QueryUserPrivileges.ts index cbe78b5c9d..64f4afcbba 100644 --- a/specification/specs/x_pack/security/privileges/get_user_privileges/QueryUserPrivileges.ts +++ b/specification/specs/x_pack/security/privileges/get_user_privileges/QueryUserPrivileges.ts @@ -1,3 +1,3 @@ class QueryUserPrivileges { - term: TermUserPrivileges; + term: TermUserPrivileges } diff --git a/specification/specs/x_pack/security/privileges/get_user_privileges/TermUserPrivileges.ts b/specification/specs/x_pack/security/privileges/get_user_privileges/TermUserPrivileges.ts index 2f59531186..1beecd85f6 100644 --- a/specification/specs/x_pack/security/privileges/get_user_privileges/TermUserPrivileges.ts +++ b/specification/specs/x_pack/security/privileges/get_user_privileges/TermUserPrivileges.ts @@ -1,3 +1,3 @@ class TermUserPrivileges { - apps: boolean; + apps: boolean } diff --git a/specification/specs/x_pack/security/privileges/get_user_privileges/UserIndicesPrivileges.ts b/specification/specs/x_pack/security/privileges/get_user_privileges/UserIndicesPrivileges.ts index 38b5c25ee5..1e8209859f 100644 --- a/specification/specs/x_pack/security/privileges/get_user_privileges/UserIndicesPrivileges.ts +++ b/specification/specs/x_pack/security/privileges/get_user_privileges/UserIndicesPrivileges.ts @@ -1,6 +1,6 @@ class UserIndicesPrivileges { - field_security: FieldSecuritySettings; - names: string[]; - privileges: string[]; - query: QueryUserPrivileges; + field_security: FieldSecuritySettings + names: string[] + privileges: string[] + query: QueryUserPrivileges } diff --git a/specification/specs/x_pack/security/privileges/has_privileges/ApplicationPrivilegesCheck.ts b/specification/specs/x_pack/security/privileges/has_privileges/ApplicationPrivilegesCheck.ts index 9572f3e612..5b5f35dceb 100644 --- a/specification/specs/x_pack/security/privileges/has_privileges/ApplicationPrivilegesCheck.ts +++ b/specification/specs/x_pack/security/privileges/has_privileges/ApplicationPrivilegesCheck.ts @@ -1,5 +1,5 @@ class ApplicationPrivilegesCheck { - application: string; - privileges: string[]; - resources: string[]; + application: string + privileges: string[] + resources: string[] } diff --git a/specification/specs/x_pack/security/privileges/has_privileges/HasPrivilegesRequest.ts b/specification/specs/x_pack/security/privileges/has_privileges/HasPrivilegesRequest.ts index 449813f175..313b8d6d1a 100644 --- a/specification/specs/x_pack/security/privileges/has_privileges/HasPrivilegesRequest.ts +++ b/specification/specs/x_pack/security/privileges/has_privileges/HasPrivilegesRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("security.has_privileges") +@rest_spec_name('security.has_privileges') class HasPrivilegesRequest extends RequestBase { path_parts?: { - user?: Name; - } - query_parameters?: { + user?: Name } + query_parameters?: {} body?: { - application?: ApplicationPrivilegesCheck[]; - cluster?: string[]; - index?: IndexPrivilegesCheck[]; + application?: ApplicationPrivilegesCheck[] + cluster?: string[] + index?: IndexPrivilegesCheck[] } } diff --git a/specification/specs/x_pack/security/privileges/has_privileges/HasPrivilegesResponse.ts b/specification/specs/x_pack/security/privileges/has_privileges/HasPrivilegesResponse.ts index 02fa5a73ab..b482d1d058 100644 --- a/specification/specs/x_pack/security/privileges/has_privileges/HasPrivilegesResponse.ts +++ b/specification/specs/x_pack/security/privileges/has_privileges/HasPrivilegesResponse.ts @@ -1,9 +1,9 @@ class HasPrivilegesResponse extends ResponseBase { /** @prop_serializer ApplicationsPrivilegesFormatter */ - application: Dictionary; - cluster: Dictionary; - has_all_requested: boolean; + application: Dictionary + cluster: Dictionary + has_all_requested: boolean /** @prop_serializer IndicesPrivilegesFormatter */ - index: ResourcePrivileges[]; - username: string; + index: ResourcePrivileges[] + username: string } diff --git a/specification/specs/x_pack/security/privileges/has_privileges/IndexPrivilegesCheck.ts b/specification/specs/x_pack/security/privileges/has_privileges/IndexPrivilegesCheck.ts index 966c7d8691..67dd4d3a70 100644 --- a/specification/specs/x_pack/security/privileges/has_privileges/IndexPrivilegesCheck.ts +++ b/specification/specs/x_pack/security/privileges/has_privileges/IndexPrivilegesCheck.ts @@ -1,4 +1,4 @@ class IndexPrivilegesCheck { - names: string[]; - privileges: string[]; + names: string[] + privileges: string[] } diff --git a/specification/specs/x_pack/security/privileges/has_privileges/ResourcePrivileges.ts b/specification/specs/x_pack/security/privileges/has_privileges/ResourcePrivileges.ts index c8d78744ba..75ca10bdc9 100644 --- a/specification/specs/x_pack/security/privileges/has_privileges/ResourcePrivileges.ts +++ b/specification/specs/x_pack/security/privileges/has_privileges/ResourcePrivileges.ts @@ -1,4 +1,4 @@ class ResourcePrivileges { - privileges: Dictionary; - resource: string; + privileges: Dictionary + resource: string } diff --git a/specification/specs/x_pack/security/privileges/put_privileges/PrivilegesActions.ts b/specification/specs/x_pack/security/privileges/put_privileges/PrivilegesActions.ts index 6dc1a44c66..a452b2ea55 100644 --- a/specification/specs/x_pack/security/privileges/put_privileges/PrivilegesActions.ts +++ b/specification/specs/x_pack/security/privileges/put_privileges/PrivilegesActions.ts @@ -1,4 +1,4 @@ class PrivilegesActions { - actions: string[]; - metadata: Dictionary; + actions: string[] + metadata: Dictionary } diff --git a/specification/specs/x_pack/security/privileges/put_privileges/PutPrivilegesRequest.ts b/specification/specs/x_pack/security/privileges/put_privileges/PutPrivilegesRequest.ts index 0e798911bf..3889dbd8f4 100644 --- a/specification/specs/x_pack/security/privileges/put_privileges/PutPrivilegesRequest.ts +++ b/specification/specs/x_pack/security/privileges/put_privileges/PutPrivilegesRequest.ts @@ -1,10 +1,10 @@ -@rest_spec_name("security.put_privileges") -@class_serializer("PutPrivilegesFormatter") +@rest_spec_name('security.put_privileges') +@class_serializer('PutPrivilegesFormatter') class PutPrivilegesRequest extends RequestBase { query_parameters?: { - refresh?: Refresh; + refresh?: Refresh } body?: { - applications?: Dictionary>; + applications?: Dictionary> } } diff --git a/specification/specs/x_pack/security/privileges/put_privileges/PutPrivilegesResponse.ts b/specification/specs/x_pack/security/privileges/put_privileges/PutPrivilegesResponse.ts index 8e3055672d..ccc29cf1de 100644 --- a/specification/specs/x_pack/security/privileges/put_privileges/PutPrivilegesResponse.ts +++ b/specification/specs/x_pack/security/privileges/put_privileges/PutPrivilegesResponse.ts @@ -1 +1,4 @@ -class PutPrivilegesResponse extends DictionaryResponseBase> {} +class PutPrivilegesResponse extends DictionaryResponseBase< + string, + Dictionary +> {} diff --git a/specification/specs/x_pack/security/privileges/put_privileges/PutPrivilegesStatus.ts b/specification/specs/x_pack/security/privileges/put_privileges/PutPrivilegesStatus.ts index a52802a4eb..ce5932a19f 100644 --- a/specification/specs/x_pack/security/privileges/put_privileges/PutPrivilegesStatus.ts +++ b/specification/specs/x_pack/security/privileges/put_privileges/PutPrivilegesStatus.ts @@ -1,3 +1,3 @@ class PutPrivilegesStatus { - created: boolean; + created: boolean } diff --git a/specification/specs/x_pack/security/role/FieldSecurity.ts b/specification/specs/x_pack/security/role/FieldSecurity.ts index 72d0b290c1..4813a06a70 100644 --- a/specification/specs/x_pack/security/role/FieldSecurity.ts +++ b/specification/specs/x_pack/security/role/FieldSecurity.ts @@ -1,4 +1,4 @@ class FieldSecurity { - except: Field[]; - grant: Field[]; + except: Field[] + grant: Field[] } diff --git a/specification/specs/x_pack/security/role/clear_cached_roles/ClearCachedRolesRequest.ts b/specification/specs/x_pack/security/role/clear_cached_roles/ClearCachedRolesRequest.ts index 8b2e4eae56..9af4f0b375 100644 --- a/specification/specs/x_pack/security/role/clear_cached_roles/ClearCachedRolesRequest.ts +++ b/specification/specs/x_pack/security/role/clear_cached_roles/ClearCachedRolesRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("security.clear_cached_roles") +@rest_spec_name('security.clear_cached_roles') class ClearCachedRolesRequest extends RequestBase { path_parts?: { - name: Names; - } - query_parameters?: { - } - body?: { + name: Names } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/security/role/clear_cached_roles/ClearCachedRolesResponse.ts b/specification/specs/x_pack/security/role/clear_cached_roles/ClearCachedRolesResponse.ts index e14de6001f..43c0c43fcc 100644 --- a/specification/specs/x_pack/security/role/clear_cached_roles/ClearCachedRolesResponse.ts +++ b/specification/specs/x_pack/security/role/clear_cached_roles/ClearCachedRolesResponse.ts @@ -1,4 +1,4 @@ class ClearCachedRolesResponse extends ResponseBase { - cluster_name: string; - nodes: Dictionary; + cluster_name: string + nodes: Dictionary } diff --git a/specification/specs/x_pack/security/role/delete_role/DeleteRoleRequest.ts b/specification/specs/x_pack/security/role/delete_role/DeleteRoleRequest.ts index a5a9f14c9c..3ef89c9797 100644 --- a/specification/specs/x_pack/security/role/delete_role/DeleteRoleRequest.ts +++ b/specification/specs/x_pack/security/role/delete_role/DeleteRoleRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("security.delete_role") +@rest_spec_name('security.delete_role') class DeleteRoleRequest extends RequestBase { path_parts?: { - name: Name; + name: Name } query_parameters?: { - refresh?: Refresh; - } - body?: { + refresh?: Refresh } + body?: {} } diff --git a/specification/specs/x_pack/security/role/delete_role/DeleteRoleResponse.ts b/specification/specs/x_pack/security/role/delete_role/DeleteRoleResponse.ts index 84ba039f6f..c07704e753 100644 --- a/specification/specs/x_pack/security/role/delete_role/DeleteRoleResponse.ts +++ b/specification/specs/x_pack/security/role/delete_role/DeleteRoleResponse.ts @@ -1,3 +1,3 @@ class DeleteRoleResponse extends ResponseBase { - found: boolean; + found: boolean } diff --git a/specification/specs/x_pack/security/role/get_role/GetRoleRequest.ts b/specification/specs/x_pack/security/role/get_role/GetRoleRequest.ts index 7361beba1a..ab4476ebc7 100644 --- a/specification/specs/x_pack/security/role/get_role/GetRoleRequest.ts +++ b/specification/specs/x_pack/security/role/get_role/GetRoleRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("security.get_role") +@rest_spec_name('security.get_role') class GetRoleRequest extends RequestBase { path_parts?: { - name?: Name; - } - query_parameters?: { - } - body?: { + name?: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/security/role/get_role/XPackRole.ts b/specification/specs/x_pack/security/role/get_role/XPackRole.ts index 30bcd2de1d..5cb41c4f64 100644 --- a/specification/specs/x_pack/security/role/get_role/XPackRole.ts +++ b/specification/specs/x_pack/security/role/get_role/XPackRole.ts @@ -1,6 +1,6 @@ class XPackRole { - cluster: string[]; - indices: IndicesPrivileges[]; - metadata: Dictionary; - run_as: string[]; + cluster: string[] + indices: IndicesPrivileges[] + metadata: Dictionary + run_as: string[] } diff --git a/specification/specs/x_pack/security/role/put_role/ApplicationPrivileges.ts b/specification/specs/x_pack/security/role/put_role/ApplicationPrivileges.ts index ec0dbbc5f9..87ecc0960d 100644 --- a/specification/specs/x_pack/security/role/put_role/ApplicationPrivileges.ts +++ b/specification/specs/x_pack/security/role/put_role/ApplicationPrivileges.ts @@ -1,5 +1,5 @@ class ApplicationPrivileges { - application: string; - privileges: string[]; - resources: string[]; + application: string + privileges: string[] + resources: string[] } diff --git a/specification/specs/x_pack/security/role/put_role/IndicesPrivileges.ts b/specification/specs/x_pack/security/role/put_role/IndicesPrivileges.ts index 7acfe6caf3..f600c59e11 100644 --- a/specification/specs/x_pack/security/role/put_role/IndicesPrivileges.ts +++ b/specification/specs/x_pack/security/role/put_role/IndicesPrivileges.ts @@ -1,7 +1,7 @@ class IndicesPrivileges { - field_security: FieldSecurity; + field_security: FieldSecurity /** @prop_serializer IndicesFormatter */ - names: Indices; - privileges: string[]; - query: QueryContainer; + names: Indices + privileges: string[] + query: QueryContainer } diff --git a/specification/specs/x_pack/security/role/put_role/PutRoleRequest.ts b/specification/specs/x_pack/security/role/put_role/PutRoleRequest.ts index 0f19cc1599..1d7374dbfd 100644 --- a/specification/specs/x_pack/security/role/put_role/PutRoleRequest.ts +++ b/specification/specs/x_pack/security/role/put_role/PutRoleRequest.ts @@ -1,17 +1,17 @@ -@rest_spec_name("security.put_role") +@rest_spec_name('security.put_role') class PutRoleRequest extends RequestBase { path_parts?: { - name: Name; + name: Name } query_parameters?: { - refresh?: Refresh; + refresh?: Refresh } body?: { - applications?: ApplicationPrivileges[]; - cluster?: string[]; - global?: Dictionary; - indices?: IndicesPrivileges[]; - metadata?: Dictionary; - run_as?: string[]; + applications?: ApplicationPrivileges[] + cluster?: string[] + global?: Dictionary + indices?: IndicesPrivileges[] + metadata?: Dictionary + run_as?: string[] } } diff --git a/specification/specs/x_pack/security/role/put_role/PutRoleResponse.ts b/specification/specs/x_pack/security/role/put_role/PutRoleResponse.ts index 88957ec2d1..52e90f4cff 100644 --- a/specification/specs/x_pack/security/role/put_role/PutRoleResponse.ts +++ b/specification/specs/x_pack/security/role/put_role/PutRoleResponse.ts @@ -1,3 +1,3 @@ class PutRoleResponse extends ResponseBase { - role: PutRoleStatus; + role: PutRoleStatus } diff --git a/specification/specs/x_pack/security/role/put_role/PutRoleStatus.ts b/specification/specs/x_pack/security/role/put_role/PutRoleStatus.ts index 1319abceb5..b9840cf7ba 100644 --- a/specification/specs/x_pack/security/role/put_role/PutRoleStatus.ts +++ b/specification/specs/x_pack/security/role/put_role/PutRoleStatus.ts @@ -1,3 +1,3 @@ class PutRoleStatus { - created: boolean; + created: boolean } diff --git a/specification/specs/x_pack/security/role_mapping/delete_role_mapping/DeleteRoleMappingRequest.ts b/specification/specs/x_pack/security/role_mapping/delete_role_mapping/DeleteRoleMappingRequest.ts index 0f3da51c87..047a52f227 100644 --- a/specification/specs/x_pack/security/role_mapping/delete_role_mapping/DeleteRoleMappingRequest.ts +++ b/specification/specs/x_pack/security/role_mapping/delete_role_mapping/DeleteRoleMappingRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("security.delete_role_mapping") +@rest_spec_name('security.delete_role_mapping') class DeleteRoleMappingRequest extends RequestBase { path_parts?: { - name: Name; + name: Name } query_parameters?: { - refresh?: Refresh; - } - body?: { + refresh?: Refresh } + body?: {} } diff --git a/specification/specs/x_pack/security/role_mapping/delete_role_mapping/DeleteRoleMappingResponse.ts b/specification/specs/x_pack/security/role_mapping/delete_role_mapping/DeleteRoleMappingResponse.ts index 51b109da94..eb2ccc5cb5 100644 --- a/specification/specs/x_pack/security/role_mapping/delete_role_mapping/DeleteRoleMappingResponse.ts +++ b/specification/specs/x_pack/security/role_mapping/delete_role_mapping/DeleteRoleMappingResponse.ts @@ -1,3 +1,3 @@ class DeleteRoleMappingResponse extends ResponseBase { - found: boolean; + found: boolean } diff --git a/specification/specs/x_pack/security/role_mapping/get_role_mapping/GetRoleMappingRequest.ts b/specification/specs/x_pack/security/role_mapping/get_role_mapping/GetRoleMappingRequest.ts index b0c96a7b18..e754bc6eaa 100644 --- a/specification/specs/x_pack/security/role_mapping/get_role_mapping/GetRoleMappingRequest.ts +++ b/specification/specs/x_pack/security/role_mapping/get_role_mapping/GetRoleMappingRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("security.get_role_mapping") +@rest_spec_name('security.get_role_mapping') class GetRoleMappingRequest extends RequestBase { path_parts?: { - name?: Name; - } - query_parameters?: { - } - body?: { + name?: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/security/role_mapping/get_role_mapping/GetRoleMappingResponse.ts b/specification/specs/x_pack/security/role_mapping/get_role_mapping/GetRoleMappingResponse.ts index 13b0b77d29..79210e6c47 100644 --- a/specification/specs/x_pack/security/role_mapping/get_role_mapping/GetRoleMappingResponse.ts +++ b/specification/specs/x_pack/security/role_mapping/get_role_mapping/GetRoleMappingResponse.ts @@ -1 +1,4 @@ -class GetRoleMappingResponse extends DictionaryResponseBase {} +class GetRoleMappingResponse extends DictionaryResponseBase< + string, + XPackRoleMapping +> {} diff --git a/specification/specs/x_pack/security/role_mapping/get_role_mapping/XPackRoleMapping.ts b/specification/specs/x_pack/security/role_mapping/get_role_mapping/XPackRoleMapping.ts index 768204cd77..35a9ebc14e 100644 --- a/specification/specs/x_pack/security/role_mapping/get_role_mapping/XPackRoleMapping.ts +++ b/specification/specs/x_pack/security/role_mapping/get_role_mapping/XPackRoleMapping.ts @@ -1,6 +1,6 @@ class XPackRoleMapping { - enabled: boolean; - metadata: Dictionary; - roles: string[]; - rules: RoleMappingRuleBase; + enabled: boolean + metadata: Dictionary + roles: string[] + rules: RoleMappingRuleBase } diff --git a/specification/specs/x_pack/security/role_mapping/put_role_mapping/PutRoleMappingRequest.ts b/specification/specs/x_pack/security/role_mapping/put_role_mapping/PutRoleMappingRequest.ts index e20267597f..6b6e7670a6 100644 --- a/specification/specs/x_pack/security/role_mapping/put_role_mapping/PutRoleMappingRequest.ts +++ b/specification/specs/x_pack/security/role_mapping/put_role_mapping/PutRoleMappingRequest.ts @@ -1,16 +1,16 @@ -@rest_spec_name("security.put_role_mapping") +@rest_spec_name('security.put_role_mapping') class PutRoleMappingRequest extends RequestBase { path_parts?: { - name: Name; + name: Name } query_parameters?: { - refresh?: Refresh; + refresh?: Refresh } body?: { - enabled?: boolean; - metadata?: Dictionary; - roles?: string[]; - rules?: RoleMappingRuleBase; - run_as?: string[]; + enabled?: boolean + metadata?: Dictionary + roles?: string[] + rules?: RoleMappingRuleBase + run_as?: string[] } } diff --git a/specification/specs/x_pack/security/role_mapping/put_role_mapping/PutRoleMappingResponse.ts b/specification/specs/x_pack/security/role_mapping/put_role_mapping/PutRoleMappingResponse.ts index 4be00eb788..090a9f4be1 100644 --- a/specification/specs/x_pack/security/role_mapping/put_role_mapping/PutRoleMappingResponse.ts +++ b/specification/specs/x_pack/security/role_mapping/put_role_mapping/PutRoleMappingResponse.ts @@ -1,4 +1,4 @@ class PutRoleMappingResponse extends ResponseBase { - created: boolean; - role_mapping: PutRoleMappingStatus; + created: boolean + role_mapping: PutRoleMappingStatus } diff --git a/specification/specs/x_pack/security/role_mapping/put_role_mapping/PutRoleMappingStatus.ts b/specification/specs/x_pack/security/role_mapping/put_role_mapping/PutRoleMappingStatus.ts index 2ccc941a46..4f9a8f5185 100644 --- a/specification/specs/x_pack/security/role_mapping/put_role_mapping/PutRoleMappingStatus.ts +++ b/specification/specs/x_pack/security/role_mapping/put_role_mapping/PutRoleMappingStatus.ts @@ -1,3 +1,3 @@ class PutRoleMappingStatus { - created: boolean; + created: boolean } diff --git a/specification/specs/x_pack/security/role_mapping/rules/role/RoleMappingRuleBase.ts b/specification/specs/x_pack/security/role_mapping/rules/role/RoleMappingRuleBase.ts index d57fb54800..f9785f2f2d 100644 --- a/specification/specs/x_pack/security/role_mapping/rules/role/RoleMappingRuleBase.ts +++ b/specification/specs/x_pack/security/role_mapping/rules/role/RoleMappingRuleBase.ts @@ -1,3 +1,2 @@ -@class_serializer("RoleMappingRuleBaseFormatter") -class RoleMappingRuleBase { -} +@class_serializer('RoleMappingRuleBaseFormatter') +class RoleMappingRuleBase {} diff --git a/specification/specs/x_pack/security/user/change_password/ChangePasswordRequest.ts b/specification/specs/x_pack/security/user/change_password/ChangePasswordRequest.ts index e8484643f4..3e5153cacd 100644 --- a/specification/specs/x_pack/security/user/change_password/ChangePasswordRequest.ts +++ b/specification/specs/x_pack/security/user/change_password/ChangePasswordRequest.ts @@ -1,12 +1,12 @@ -@rest_spec_name("security.change_password") +@rest_spec_name('security.change_password') class ChangePasswordRequest extends RequestBase { path_parts?: { - username?: Name; + username?: Name } query_parameters?: { - refresh?: Refresh; + refresh?: Refresh } body?: { - password?: string; + password?: string } } diff --git a/specification/specs/x_pack/security/user/change_password/ChangePasswordResponse.ts b/specification/specs/x_pack/security/user/change_password/ChangePasswordResponse.ts index 68e719e880..1eb843178c 100644 --- a/specification/specs/x_pack/security/user/change_password/ChangePasswordResponse.ts +++ b/specification/specs/x_pack/security/user/change_password/ChangePasswordResponse.ts @@ -1,2 +1 @@ -class ChangePasswordResponse extends ResponseBase { -} +class ChangePasswordResponse extends ResponseBase {} diff --git a/specification/specs/x_pack/security/user/delete_user/DeleteUserRequest.ts b/specification/specs/x_pack/security/user/delete_user/DeleteUserRequest.ts index 69ecbd82a9..46b22d1bae 100644 --- a/specification/specs/x_pack/security/user/delete_user/DeleteUserRequest.ts +++ b/specification/specs/x_pack/security/user/delete_user/DeleteUserRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("security.delete_user") +@rest_spec_name('security.delete_user') class DeleteUserRequest extends RequestBase { path_parts?: { - username: Name; + username: Name } query_parameters?: { - refresh?: Refresh; - } - body?: { + refresh?: Refresh } + body?: {} } diff --git a/specification/specs/x_pack/security/user/delete_user/DeleteUserResponse.ts b/specification/specs/x_pack/security/user/delete_user/DeleteUserResponse.ts index b54b6e1d7b..cc77143635 100644 --- a/specification/specs/x_pack/security/user/delete_user/DeleteUserResponse.ts +++ b/specification/specs/x_pack/security/user/delete_user/DeleteUserResponse.ts @@ -1,3 +1,3 @@ class DeleteUserResponse extends ResponseBase { - found: boolean; + found: boolean } diff --git a/specification/specs/x_pack/security/user/disable_user/DisableUserRequest.ts b/specification/specs/x_pack/security/user/disable_user/DisableUserRequest.ts index ac36cd53e9..6d1522cdad 100644 --- a/specification/specs/x_pack/security/user/disable_user/DisableUserRequest.ts +++ b/specification/specs/x_pack/security/user/disable_user/DisableUserRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("security.disable_user") +@rest_spec_name('security.disable_user') class DisableUserRequest extends RequestBase { path_parts?: { - username: Name; + username: Name } query_parameters?: { - refresh?: Refresh; - } - body?: { + refresh?: Refresh } + body?: {} } diff --git a/specification/specs/x_pack/security/user/disable_user/DisableUserResponse.ts b/specification/specs/x_pack/security/user/disable_user/DisableUserResponse.ts index c93c0203ce..2f4912cb2d 100644 --- a/specification/specs/x_pack/security/user/disable_user/DisableUserResponse.ts +++ b/specification/specs/x_pack/security/user/disable_user/DisableUserResponse.ts @@ -1,2 +1 @@ -class DisableUserResponse extends ResponseBase { -} +class DisableUserResponse extends ResponseBase {} diff --git a/specification/specs/x_pack/security/user/enable_user/EnableUserRequest.ts b/specification/specs/x_pack/security/user/enable_user/EnableUserRequest.ts index 254f0def46..e39fc5365c 100644 --- a/specification/specs/x_pack/security/user/enable_user/EnableUserRequest.ts +++ b/specification/specs/x_pack/security/user/enable_user/EnableUserRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("security.enable_user") +@rest_spec_name('security.enable_user') class EnableUserRequest extends RequestBase { path_parts?: { - username: Name; + username: Name } query_parameters?: { - refresh?: Refresh; - } - body?: { + refresh?: Refresh } + body?: {} } diff --git a/specification/specs/x_pack/security/user/enable_user/EnableUserResponse.ts b/specification/specs/x_pack/security/user/enable_user/EnableUserResponse.ts index 213d6d8c0e..85aab81318 100644 --- a/specification/specs/x_pack/security/user/enable_user/EnableUserResponse.ts +++ b/specification/specs/x_pack/security/user/enable_user/EnableUserResponse.ts @@ -1,2 +1 @@ -class EnableUserResponse extends ResponseBase { -} +class EnableUserResponse extends ResponseBase {} diff --git a/specification/specs/x_pack/security/user/get_user/GetUserRequest.ts b/specification/specs/x_pack/security/user/get_user/GetUserRequest.ts index 6af65fb497..11474bbbc9 100644 --- a/specification/specs/x_pack/security/user/get_user/GetUserRequest.ts +++ b/specification/specs/x_pack/security/user/get_user/GetUserRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("security.get_user") +@rest_spec_name('security.get_user') class GetUserRequest extends RequestBase { path_parts?: { - username?: Names; - } - query_parameters?: { - } - body?: { + username?: Names } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/security/user/get_user/XPackUser.ts b/specification/specs/x_pack/security/user/get_user/XPackUser.ts index cc83c4e2f0..7747865a16 100644 --- a/specification/specs/x_pack/security/user/get_user/XPackUser.ts +++ b/specification/specs/x_pack/security/user/get_user/XPackUser.ts @@ -1,7 +1,7 @@ class XPackUser { - email: string; - full_name: string; - metadata: Dictionary; - roles: string[]; - username: string; + email: string + full_name: string + metadata: Dictionary + roles: string[] + username: string } diff --git a/specification/specs/x_pack/security/user/get_user_access_token/GetUserAccessTokenRequest.ts b/specification/specs/x_pack/security/user/get_user_access_token/GetUserAccessTokenRequest.ts index eb25df7784..c41608547b 100644 --- a/specification/specs/x_pack/security/user/get_user_access_token/GetUserAccessTokenRequest.ts +++ b/specification/specs/x_pack/security/user/get_user_access_token/GetUserAccessTokenRequest.ts @@ -1,9 +1,8 @@ -@rest_spec_name("security.get_token") +@rest_spec_name('security.get_token') class GetUserAccessTokenRequest extends RequestBase { - query_parameters?: { - } + query_parameters?: {} body?: { - grant_type?: AccessTokenGrantType; - scope?: string; + grant_type?: AccessTokenGrantType + scope?: string } } diff --git a/specification/specs/x_pack/security/user/get_user_access_token/GetUserAccessTokenResponse.ts b/specification/specs/x_pack/security/user/get_user_access_token/GetUserAccessTokenResponse.ts index 80768ae831..61030817a5 100644 --- a/specification/specs/x_pack/security/user/get_user_access_token/GetUserAccessTokenResponse.ts +++ b/specification/specs/x_pack/security/user/get_user_access_token/GetUserAccessTokenResponse.ts @@ -1,6 +1,6 @@ class GetUserAccessTokenResponse extends ResponseBase { - access_token: string; - expires_in: long; - scope: string; - type: string; + access_token: string + expires_in: long + scope: string + type: string } diff --git a/specification/specs/x_pack/security/user/invalidate_user_access_token/InvalidateUserAccessTokenRequest.ts b/specification/specs/x_pack/security/user/invalidate_user_access_token/InvalidateUserAccessTokenRequest.ts index 3c48b1392b..e52690f2c7 100644 --- a/specification/specs/x_pack/security/user/invalidate_user_access_token/InvalidateUserAccessTokenRequest.ts +++ b/specification/specs/x_pack/security/user/invalidate_user_access_token/InvalidateUserAccessTokenRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("security.invalidate_token") +@rest_spec_name('security.invalidate_token') class InvalidateUserAccessTokenRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/security/user/invalidate_user_access_token/InvalidateUserAccessTokenResponse.ts b/specification/specs/x_pack/security/user/invalidate_user_access_token/InvalidateUserAccessTokenResponse.ts index 852283fb48..7cdc0b5bb2 100644 --- a/specification/specs/x_pack/security/user/invalidate_user_access_token/InvalidateUserAccessTokenResponse.ts +++ b/specification/specs/x_pack/security/user/invalidate_user_access_token/InvalidateUserAccessTokenResponse.ts @@ -1,6 +1,6 @@ class InvalidateUserAccessTokenResponse extends ResponseBase { - error_count: long; - error_details: ErrorCause[]; - invalidated_tokens: long; - previously_invalidated_tokens: long; + error_count: long + error_details: ErrorCause[] + invalidated_tokens: long + previously_invalidated_tokens: long } diff --git a/specification/specs/x_pack/security/user/put_user/PutUserRequest.ts b/specification/specs/x_pack/security/user/put_user/PutUserRequest.ts index df4d37508f..cdec2507de 100644 --- a/specification/specs/x_pack/security/user/put_user/PutUserRequest.ts +++ b/specification/specs/x_pack/security/user/put_user/PutUserRequest.ts @@ -1,17 +1,17 @@ -@rest_spec_name("security.put_user") +@rest_spec_name('security.put_user') class PutUserRequest extends RequestBase { path_parts?: { - username: Name; + username: Name } query_parameters?: { - refresh?: Refresh; + refresh?: Refresh } body?: { - email?: string; - full_name?: string; - metadata?: Dictionary; - password?: string; - password_hash?: string; - roles?: string[]; + email?: string + full_name?: string + metadata?: Dictionary + password?: string + password_hash?: string + roles?: string[] } } diff --git a/specification/specs/x_pack/security/user/put_user/PutUserResponse.ts b/specification/specs/x_pack/security/user/put_user/PutUserResponse.ts index c80ca3c3a9..f72102d364 100644 --- a/specification/specs/x_pack/security/user/put_user/PutUserResponse.ts +++ b/specification/specs/x_pack/security/user/put_user/PutUserResponse.ts @@ -1,3 +1,3 @@ class PutUserResponse extends ResponseBase { - created: boolean; + created: boolean } diff --git a/specification/specs/x_pack/slm/SnapshotLifecycleConfig.ts b/specification/specs/x_pack/slm/SnapshotLifecycleConfig.ts index bd3993001d..2f3c90cb81 100644 --- a/specification/specs/x_pack/slm/SnapshotLifecycleConfig.ts +++ b/specification/specs/x_pack/slm/SnapshotLifecycleConfig.ts @@ -1,6 +1,6 @@ class SnapshotLifecycleConfig { - ignore_unavailable: boolean; - include_global_state: boolean; + ignore_unavailable: boolean + include_global_state: boolean /** @prop_serializer IndicesMultiSyntaxFormatter */ - indices: Indices; + indices: Indices } diff --git a/specification/specs/x_pack/slm/SnapshotLifecycleInProgress.ts b/specification/specs/x_pack/slm/SnapshotLifecycleInProgress.ts index 18e457664a..c4a261f676 100644 --- a/specification/specs/x_pack/slm/SnapshotLifecycleInProgress.ts +++ b/specification/specs/x_pack/slm/SnapshotLifecycleInProgress.ts @@ -1,7 +1,7 @@ class SnapshotLifecycleInProgress { - name: string; + name: string /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - start_time_millis: Date; - state: string; - uuid: string; + start_time_millis: Date + state: string + uuid: string } diff --git a/specification/specs/x_pack/slm/SnapshotLifecycleInvocationRecord.ts b/specification/specs/x_pack/slm/SnapshotLifecycleInvocationRecord.ts index e0a3bdc3ab..b14a9e8ae2 100644 --- a/specification/specs/x_pack/slm/SnapshotLifecycleInvocationRecord.ts +++ b/specification/specs/x_pack/slm/SnapshotLifecycleInvocationRecord.ts @@ -1,5 +1,5 @@ class SnapshotLifecycleInvocationRecord { - snapshot_name: string; + snapshot_name: string /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - time: Date; + time: Date } diff --git a/specification/specs/x_pack/slm/SnapshotLifecyclePolicy.ts b/specification/specs/x_pack/slm/SnapshotLifecyclePolicy.ts index 916093db62..9f3973dcf0 100644 --- a/specification/specs/x_pack/slm/SnapshotLifecyclePolicy.ts +++ b/specification/specs/x_pack/slm/SnapshotLifecyclePolicy.ts @@ -1,7 +1,7 @@ class SnapshotLifecyclePolicy { - config: SnapshotLifecycleConfig; - name: string; - repository: string; - retention: SnapshotRetentionConfiguration; - schedule: CronExpression; + config: SnapshotLifecycleConfig + name: string + repository: string + retention: SnapshotRetentionConfiguration + schedule: CronExpression } diff --git a/specification/specs/x_pack/slm/SnapshotLifecyclePolicyMetadata.ts b/specification/specs/x_pack/slm/SnapshotLifecyclePolicyMetadata.ts index 1509d99e1e..dcef3a38d5 100644 --- a/specification/specs/x_pack/slm/SnapshotLifecyclePolicyMetadata.ts +++ b/specification/specs/x_pack/slm/SnapshotLifecyclePolicyMetadata.ts @@ -1,11 +1,11 @@ class SnapshotLifecyclePolicyMetadata { - in_progress: SnapshotLifecycleInProgress; - last_failure: SnapshotLifecycleInvocationRecord; - last_success: SnapshotLifecycleInvocationRecord; + in_progress: SnapshotLifecycleInProgress + last_failure: SnapshotLifecycleInvocationRecord + last_success: SnapshotLifecycleInvocationRecord /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - modified_date_millis: Date; + modified_date_millis: Date /** @prop_serializer DateTimeOffsetEpochMillisecondsFormatter */ - next_execution_millis: Date; - policy: SnapshotLifecyclePolicy; - version: integer; + next_execution_millis: Date + policy: SnapshotLifecyclePolicy + version: integer } diff --git a/specification/specs/x_pack/slm/SnapshotRetentionConfiguration.ts b/specification/specs/x_pack/slm/SnapshotRetentionConfiguration.ts index fe4bfd41f8..26a9a73b99 100644 --- a/specification/specs/x_pack/slm/SnapshotRetentionConfiguration.ts +++ b/specification/specs/x_pack/slm/SnapshotRetentionConfiguration.ts @@ -1,5 +1,5 @@ class SnapshotRetentionConfiguration { - expire_after: Time; - max_count: integer; - min_count: integer; + expire_after: Time + max_count: integer + min_count: integer } diff --git a/specification/specs/x_pack/slm/delete_lifecycle/DeleteSnapshotLifecycleRequest.ts b/specification/specs/x_pack/slm/delete_lifecycle/DeleteSnapshotLifecycleRequest.ts index cf9b02ce8a..cb703edaaf 100644 --- a/specification/specs/x_pack/slm/delete_lifecycle/DeleteSnapshotLifecycleRequest.ts +++ b/specification/specs/x_pack/slm/delete_lifecycle/DeleteSnapshotLifecycleRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("slm.delete_lifecycle") +@rest_spec_name('slm.delete_lifecycle') class DeleteSnapshotLifecycleRequest extends RequestBase { path_parts?: { - policy_id: Name; - } - query_parameters?: { - } - body?: { + policy_id: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/slm/delete_lifecycle/DeleteSnapshotLifecycleResponse.ts b/specification/specs/x_pack/slm/delete_lifecycle/DeleteSnapshotLifecycleResponse.ts index 7e229c9a75..f1230804b8 100644 --- a/specification/specs/x_pack/slm/delete_lifecycle/DeleteSnapshotLifecycleResponse.ts +++ b/specification/specs/x_pack/slm/delete_lifecycle/DeleteSnapshotLifecycleResponse.ts @@ -1,2 +1 @@ -class DeleteSnapshotLifecycleResponse extends AcknowledgedResponseBase { -} +class DeleteSnapshotLifecycleResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/slm/execute_lifecycle/ExecuteSnapshotLifecycleRequest.ts b/specification/specs/x_pack/slm/execute_lifecycle/ExecuteSnapshotLifecycleRequest.ts index ceceb56500..8014fb7daa 100644 --- a/specification/specs/x_pack/slm/execute_lifecycle/ExecuteSnapshotLifecycleRequest.ts +++ b/specification/specs/x_pack/slm/execute_lifecycle/ExecuteSnapshotLifecycleRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("slm.execute_lifecycle") +@rest_spec_name('slm.execute_lifecycle') class ExecuteSnapshotLifecycleRequest extends RequestBase { path_parts?: { - policy_id: Name; - } - query_parameters?: { - } - body?: { + policy_id: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/slm/execute_lifecycle/ExecuteSnapshotLifecycleResponse.ts b/specification/specs/x_pack/slm/execute_lifecycle/ExecuteSnapshotLifecycleResponse.ts index d5bc151f8a..9631cb42ad 100644 --- a/specification/specs/x_pack/slm/execute_lifecycle/ExecuteSnapshotLifecycleResponse.ts +++ b/specification/specs/x_pack/slm/execute_lifecycle/ExecuteSnapshotLifecycleResponse.ts @@ -1,3 +1,3 @@ class ExecuteSnapshotLifecycleResponse extends ResponseBase { - snapshot_name: string; + snapshot_name: string } diff --git a/specification/specs/x_pack/slm/execute_retention/ExecuteRetentionRequest.ts b/specification/specs/x_pack/slm/execute_retention/ExecuteRetentionRequest.ts index c23fe11f23..45fed83195 100644 --- a/specification/specs/x_pack/slm/execute_retention/ExecuteRetentionRequest.ts +++ b/specification/specs/x_pack/slm/execute_retention/ExecuteRetentionRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("slm.execute_retention") +@rest_spec_name('slm.execute_retention') class ExecuteRetentionRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/slm/execute_retention/ExecuteRetentionResponse.ts b/specification/specs/x_pack/slm/execute_retention/ExecuteRetentionResponse.ts index d2c3ac3682..3bf99bd359 100644 --- a/specification/specs/x_pack/slm/execute_retention/ExecuteRetentionResponse.ts +++ b/specification/specs/x_pack/slm/execute_retention/ExecuteRetentionResponse.ts @@ -1,2 +1 @@ -class ExecuteRetentionResponse extends AcknowledgedResponseBase { -} +class ExecuteRetentionResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/slm/get_lifecycle/GetSnapshotLifecycleRequest.ts b/specification/specs/x_pack/slm/get_lifecycle/GetSnapshotLifecycleRequest.ts index 7e975160f2..dd22400417 100644 --- a/specification/specs/x_pack/slm/get_lifecycle/GetSnapshotLifecycleRequest.ts +++ b/specification/specs/x_pack/slm/get_lifecycle/GetSnapshotLifecycleRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("slm.get_lifecycle") +@rest_spec_name('slm.get_lifecycle') class GetSnapshotLifecycleRequest extends RequestBase { path_parts?: { - policy_id?: Names; - } - query_parameters?: { - } - body?: { + policy_id?: Names } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/slm/get_lifecycle/GetSnapshotLifecycleResponse.ts b/specification/specs/x_pack/slm/get_lifecycle/GetSnapshotLifecycleResponse.ts index 003559b4e2..313fe3b781 100644 --- a/specification/specs/x_pack/slm/get_lifecycle/GetSnapshotLifecycleResponse.ts +++ b/specification/specs/x_pack/slm/get_lifecycle/GetSnapshotLifecycleResponse.ts @@ -1 +1,4 @@ -class GetSnapshotLifecycleResponse extends DictionaryResponseBase {} +class GetSnapshotLifecycleResponse extends DictionaryResponseBase< + string, + SnapshotLifecyclePolicyMetadata +> {} diff --git a/specification/specs/x_pack/slm/get_stats/GetSnapshotLifecycleStatsRequest.ts b/specification/specs/x_pack/slm/get_stats/GetSnapshotLifecycleStatsRequest.ts index f1c9baee12..7f2c670818 100644 --- a/specification/specs/x_pack/slm/get_stats/GetSnapshotLifecycleStatsRequest.ts +++ b/specification/specs/x_pack/slm/get_stats/GetSnapshotLifecycleStatsRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("slm.get_stats") +@rest_spec_name('slm.get_stats') class GetSnapshotLifecycleStatsRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/slm/get_stats/GetSnapshotLifecycleStatsResponse.ts b/specification/specs/x_pack/slm/get_stats/GetSnapshotLifecycleStatsResponse.ts index 8727bed959..39ddaedc2b 100644 --- a/specification/specs/x_pack/slm/get_stats/GetSnapshotLifecycleStatsResponse.ts +++ b/specification/specs/x_pack/slm/get_stats/GetSnapshotLifecycleStatsResponse.ts @@ -1,11 +1,11 @@ class GetSnapshotLifecycleStatsResponse extends ResponseBase { - retention_deletion_time: string; - retention_deletion_time_millis: long; - retention_failed: long; - retention_runs: long; - retention_timed_out: long; - total_snapshots_deleted: long; - total_snapshot_deletion_failures: long; - total_snapshots_failed: long; - total_snapshots_taken: long; + retention_deletion_time: string + retention_deletion_time_millis: long + retention_failed: long + retention_runs: long + retention_timed_out: long + total_snapshots_deleted: long + total_snapshot_deletion_failures: long + total_snapshots_failed: long + total_snapshots_taken: long } diff --git a/specification/specs/x_pack/slm/get_status/GetSnapshotLifecycleManagementStatusRequest.ts b/specification/specs/x_pack/slm/get_status/GetSnapshotLifecycleManagementStatusRequest.ts index d45813de39..4217c4ba68 100644 --- a/specification/specs/x_pack/slm/get_status/GetSnapshotLifecycleManagementStatusRequest.ts +++ b/specification/specs/x_pack/slm/get_status/GetSnapshotLifecycleManagementStatusRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("slm.get_status") +@rest_spec_name('slm.get_status') class GetSnapshotLifecycleManagementStatusRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/slm/get_status/GetSnapshotLifecycleManagementStatusResponse.ts b/specification/specs/x_pack/slm/get_status/GetSnapshotLifecycleManagementStatusResponse.ts index 4a95f99a79..d5ecee9a9e 100644 --- a/specification/specs/x_pack/slm/get_status/GetSnapshotLifecycleManagementStatusResponse.ts +++ b/specification/specs/x_pack/slm/get_status/GetSnapshotLifecycleManagementStatusResponse.ts @@ -1,3 +1,3 @@ class GetSnapshotLifecycleManagementStatusResponse extends ResponseBase { - operation_mode: LifecycleOperationMode; + operation_mode: LifecycleOperationMode } diff --git a/specification/specs/x_pack/slm/put_lifecycle/PutSnapshotLifecycleRequest.ts b/specification/specs/x_pack/slm/put_lifecycle/PutSnapshotLifecycleRequest.ts index 9749f928e3..7414d962a0 100644 --- a/specification/specs/x_pack/slm/put_lifecycle/PutSnapshotLifecycleRequest.ts +++ b/specification/specs/x_pack/slm/put_lifecycle/PutSnapshotLifecycleRequest.ts @@ -1,15 +1,14 @@ -@rest_spec_name("slm.put_lifecycle") +@rest_spec_name('slm.put_lifecycle') class PutSnapshotLifecycleRequest extends RequestBase { path_parts?: { - policy_id: Name; - } - query_parameters?: { + policy_id: Name } + query_parameters?: {} body?: { - config?: SnapshotLifecycleConfig; - name?: string; - repository?: string; - retention?: SnapshotRetentionConfiguration; - schedule?: CronExpression; + config?: SnapshotLifecycleConfig + name?: string + repository?: string + retention?: SnapshotRetentionConfiguration + schedule?: CronExpression } } diff --git a/specification/specs/x_pack/slm/put_lifecycle/PutSnapshotLifecycleResponse.ts b/specification/specs/x_pack/slm/put_lifecycle/PutSnapshotLifecycleResponse.ts index a24db0baf5..6dc12ad748 100644 --- a/specification/specs/x_pack/slm/put_lifecycle/PutSnapshotLifecycleResponse.ts +++ b/specification/specs/x_pack/slm/put_lifecycle/PutSnapshotLifecycleResponse.ts @@ -1,2 +1 @@ -class PutSnapshotLifecycleResponse extends AcknowledgedResponseBase { -} +class PutSnapshotLifecycleResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/slm/start/StartSnapshotLifecycleManagementRequest.ts b/specification/specs/x_pack/slm/start/StartSnapshotLifecycleManagementRequest.ts index aaaed0df7c..60179beba3 100644 --- a/specification/specs/x_pack/slm/start/StartSnapshotLifecycleManagementRequest.ts +++ b/specification/specs/x_pack/slm/start/StartSnapshotLifecycleManagementRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("slm.start") +@rest_spec_name('slm.start') class StartSnapshotLifecycleManagementRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/slm/start/StartSnapshotLifecycleManagementResponse.ts b/specification/specs/x_pack/slm/start/StartSnapshotLifecycleManagementResponse.ts index f10a3a77b0..2239bf84e8 100644 --- a/specification/specs/x_pack/slm/start/StartSnapshotLifecycleManagementResponse.ts +++ b/specification/specs/x_pack/slm/start/StartSnapshotLifecycleManagementResponse.ts @@ -1,2 +1 @@ -class StartSnapshotLifecycleManagementResponse extends AcknowledgedResponseBase { -} +class StartSnapshotLifecycleManagementResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/slm/stop/StopSnapshotLifecycleManagementRequest.ts b/specification/specs/x_pack/slm/stop/StopSnapshotLifecycleManagementRequest.ts index a4c0998a8c..800be863c6 100644 --- a/specification/specs/x_pack/slm/stop/StopSnapshotLifecycleManagementRequest.ts +++ b/specification/specs/x_pack/slm/stop/StopSnapshotLifecycleManagementRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("slm.stop") +@rest_spec_name('slm.stop') class StopSnapshotLifecycleManagementRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/slm/stop/StopSnapshotLifecycleManagementResponse.ts b/specification/specs/x_pack/slm/stop/StopSnapshotLifecycleManagementResponse.ts index 15fe61ee7b..8ec3107316 100644 --- a/specification/specs/x_pack/slm/stop/StopSnapshotLifecycleManagementResponse.ts +++ b/specification/specs/x_pack/slm/stop/StopSnapshotLifecycleManagementResponse.ts @@ -1,2 +1 @@ -class StopSnapshotLifecycleManagementResponse extends AcknowledgedResponseBase { -} +class StopSnapshotLifecycleManagementResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/sql/SqlRequest.ts b/specification/specs/x_pack/sql/SqlRequest.ts index ce105cdfbe..3c4db6b4dd 100644 --- a/specification/specs/x_pack/sql/SqlRequest.ts +++ b/specification/specs/x_pack/sql/SqlRequest.ts @@ -1,6 +1,6 @@ class SqlRequest { - fetch_size?: integer; - filter?: QueryContainer; - query?: string; - time_zone?: string; + fetch_size?: integer + filter?: QueryContainer + query?: string + time_zone?: string } diff --git a/specification/specs/x_pack/sql/clear_sql_cursor/ClearSqlCursorRequest.ts b/specification/specs/x_pack/sql/clear_sql_cursor/ClearSqlCursorRequest.ts index b82941c98c..61f8427edf 100644 --- a/specification/specs/x_pack/sql/clear_sql_cursor/ClearSqlCursorRequest.ts +++ b/specification/specs/x_pack/sql/clear_sql_cursor/ClearSqlCursorRequest.ts @@ -1,8 +1,7 @@ -@rest_spec_name("sql.clear_cursor") +@rest_spec_name('sql.clear_cursor') class ClearSqlCursorRequest extends RequestBase { - query_parameters?: { - } + query_parameters?: {} body?: { - cursor?: string; + cursor?: string } } diff --git a/specification/specs/x_pack/sql/clear_sql_cursor/ClearSqlCursorResponse.ts b/specification/specs/x_pack/sql/clear_sql_cursor/ClearSqlCursorResponse.ts index bc66db1481..d71b7f4fd1 100644 --- a/specification/specs/x_pack/sql/clear_sql_cursor/ClearSqlCursorResponse.ts +++ b/specification/specs/x_pack/sql/clear_sql_cursor/ClearSqlCursorResponse.ts @@ -1,3 +1,3 @@ class ClearSqlCursorResponse extends ResponseBase { - succeeded: boolean; + succeeded: boolean } diff --git a/specification/specs/x_pack/sql/query_sql/QuerySqlRequest.ts b/specification/specs/x_pack/sql/query_sql/QuerySqlRequest.ts index 4d40f329f9..a590159a29 100644 --- a/specification/specs/x_pack/sql/query_sql/QuerySqlRequest.ts +++ b/specification/specs/x_pack/sql/query_sql/QuerySqlRequest.ts @@ -1,14 +1,14 @@ -@rest_spec_name("sql.query") +@rest_spec_name('sql.query') class QuerySqlRequest extends RequestBase { query_parameters?: { - format?: string; + format?: string } body?: { - columnar?: boolean; - cursor?: string; - fetch_size?: integer; - filter?: QueryContainer; - query?: string; - time_zone?: string; + columnar?: boolean + cursor?: string + fetch_size?: integer + filter?: QueryContainer + query?: string + time_zone?: string } } diff --git a/specification/specs/x_pack/sql/query_sql/QuerySqlResponse.ts b/specification/specs/x_pack/sql/query_sql/QuerySqlResponse.ts index 65d88d842c..8910af0186 100644 --- a/specification/specs/x_pack/sql/query_sql/QuerySqlResponse.ts +++ b/specification/specs/x_pack/sql/query_sql/QuerySqlResponse.ts @@ -1,6 +1,6 @@ class QuerySqlResponse extends ResponseBase { - columns: SqlColumn[]; - cursor: string; - rows: SqlValue[][]; - values: SqlValue[][]; + columns: SqlColumn[] + cursor: string + rows: SqlValue[][] + values: SqlValue[][] } diff --git a/specification/specs/x_pack/sql/query_sql/SqlColumn.ts b/specification/specs/x_pack/sql/query_sql/SqlColumn.ts index 8dc2de586e..32679a765b 100644 --- a/specification/specs/x_pack/sql/query_sql/SqlColumn.ts +++ b/specification/specs/x_pack/sql/query_sql/SqlColumn.ts @@ -1,4 +1,4 @@ class SqlColumn { - name: string; - type: string; + name: string + type: string } diff --git a/specification/specs/x_pack/sql/query_sql/SqlValue.ts b/specification/specs/x_pack/sql/query_sql/SqlValue.ts index b05c1a6ba8..cea97b1a3f 100644 --- a/specification/specs/x_pack/sql/query_sql/SqlValue.ts +++ b/specification/specs/x_pack/sql/query_sql/SqlValue.ts @@ -1,3 +1,2 @@ -@class_serializer("SqlValueFormatter") -class SqlValue extends LazyDocument { -} +@class_serializer('SqlValueFormatter') +class SqlValue extends LazyDocument {} diff --git a/specification/specs/x_pack/sql/translate_sql/TranslateSqlRequest.ts b/specification/specs/x_pack/sql/translate_sql/TranslateSqlRequest.ts index 0ff3a9af1a..6e34a896a2 100644 --- a/specification/specs/x_pack/sql/translate_sql/TranslateSqlRequest.ts +++ b/specification/specs/x_pack/sql/translate_sql/TranslateSqlRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("sql.translate") +@rest_spec_name('sql.translate') class TranslateSqlRequest extends RequestBase { - query_parameters?: { - } + query_parameters?: {} body?: { - fetch_size?: integer; - filter?: QueryContainer; - query?: string; - time_zone?: string; + fetch_size?: integer + filter?: QueryContainer + query?: string + time_zone?: string } } diff --git a/specification/specs/x_pack/sql/translate_sql/TranslateSqlResponse.ts b/specification/specs/x_pack/sql/translate_sql/TranslateSqlResponse.ts index 82ecd5a979..c0d602b2e2 100644 --- a/specification/specs/x_pack/sql/translate_sql/TranslateSqlResponse.ts +++ b/specification/specs/x_pack/sql/translate_sql/TranslateSqlResponse.ts @@ -1,3 +1,3 @@ class TranslateSqlResponse extends ResponseBase { - result: SearchRequest; + result: SearchRequest } diff --git a/specification/specs/x_pack/ssl/get_certificates/ClusterCertificateInformation.ts b/specification/specs/x_pack/ssl/get_certificates/ClusterCertificateInformation.ts index 10789f0459..f423720afb 100644 --- a/specification/specs/x_pack/ssl/get_certificates/ClusterCertificateInformation.ts +++ b/specification/specs/x_pack/ssl/get_certificates/ClusterCertificateInformation.ts @@ -1,9 +1,9 @@ class ClusterCertificateInformation { - alias: string; - expiry: Date; - format: string; - has_private_key: boolean; - path: string; - serial_number: string; - subject_dn: string; + alias: string + expiry: Date + format: string + has_private_key: boolean + path: string + serial_number: string + subject_dn: string } diff --git a/specification/specs/x_pack/ssl/get_certificates/GetCertificatesRequest.ts b/specification/specs/x_pack/ssl/get_certificates/GetCertificatesRequest.ts index 72cd9e01b8..e45b794363 100644 --- a/specification/specs/x_pack/ssl/get_certificates/GetCertificatesRequest.ts +++ b/specification/specs/x_pack/ssl/get_certificates/GetCertificatesRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("ssl.certificates") +@rest_spec_name('ssl.certificates') class GetCertificatesRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/ssl/get_certificates/GetCertificatesResponse.ts b/specification/specs/x_pack/ssl/get_certificates/GetCertificatesResponse.ts index c9d879a470..f6f0179ed2 100644 --- a/specification/specs/x_pack/ssl/get_certificates/GetCertificatesResponse.ts +++ b/specification/specs/x_pack/ssl/get_certificates/GetCertificatesResponse.ts @@ -1,4 +1,4 @@ -@class_serializer("GetCertificatesResponseFormatter") +@class_serializer('GetCertificatesResponseFormatter') class GetCertificatesResponse extends ResponseBase { - certificates: ClusterCertificateInformation[]; + certificates: ClusterCertificateInformation[] } diff --git a/specification/specs/x_pack/transform/TransformDestination.ts b/specification/specs/x_pack/transform/TransformDestination.ts index e83c74b0a3..36a17bf3e5 100644 --- a/specification/specs/x_pack/transform/TransformDestination.ts +++ b/specification/specs/x_pack/transform/TransformDestination.ts @@ -1,4 +1,4 @@ class TransformDestination { - index: IndexName; - pipeline: string; + index: IndexName + pipeline: string } diff --git a/specification/specs/x_pack/transform/TransformSource.ts b/specification/specs/x_pack/transform/TransformSource.ts index 5f831b059b..33f1e8724d 100644 --- a/specification/specs/x_pack/transform/TransformSource.ts +++ b/specification/specs/x_pack/transform/TransformSource.ts @@ -1,5 +1,5 @@ class TransformSource { /** @prop_serializer IndicesFormatter */ - index: Indices; - query: QueryContainer; + index: Indices + query: QueryContainer } diff --git a/specification/specs/x_pack/transform/TransformSync.ts b/specification/specs/x_pack/transform/TransformSync.ts index 37783e7dad..5bcaeb869e 100644 --- a/specification/specs/x_pack/transform/TransformSync.ts +++ b/specification/specs/x_pack/transform/TransformSync.ts @@ -1,2 +1 @@ -class TransformSync { -} +class TransformSync {} diff --git a/specification/specs/x_pack/transform/TransformSyncContainer.ts b/specification/specs/x_pack/transform/TransformSyncContainer.ts index 73ad92f00c..fca96359fb 100644 --- a/specification/specs/x_pack/transform/TransformSyncContainer.ts +++ b/specification/specs/x_pack/transform/TransformSyncContainer.ts @@ -1,3 +1,3 @@ class TransformSyncContainer { - time: TransformTimeSync; + time: TransformTimeSync } diff --git a/specification/specs/x_pack/transform/TransformTimeSync.ts b/specification/specs/x_pack/transform/TransformTimeSync.ts index 41f8be6965..3cce331194 100644 --- a/specification/specs/x_pack/transform/TransformTimeSync.ts +++ b/specification/specs/x_pack/transform/TransformTimeSync.ts @@ -1,4 +1,4 @@ class TransformTimeSync { - delay: Time; - field: Field; + delay: Time + field: Field } diff --git a/specification/specs/x_pack/transform/delete_transform/DeleteTransformRequest.ts b/specification/specs/x_pack/transform/delete_transform/DeleteTransformRequest.ts index 24c0d44204..4f9734850b 100644 --- a/specification/specs/x_pack/transform/delete_transform/DeleteTransformRequest.ts +++ b/specification/specs/x_pack/transform/delete_transform/DeleteTransformRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("transform.delete_transform") +@rest_spec_name('transform.delete_transform') class DeleteTransformRequest extends RequestBase { path_parts?: { - transform_id: Name; + transform_id: Name } query_parameters?: { - force?: boolean; - } - body?: { + force?: boolean } + body?: {} } diff --git a/specification/specs/x_pack/transform/delete_transform/DeleteTransformResponse.ts b/specification/specs/x_pack/transform/delete_transform/DeleteTransformResponse.ts index b66e9ec4fc..92afec515a 100644 --- a/specification/specs/x_pack/transform/delete_transform/DeleteTransformResponse.ts +++ b/specification/specs/x_pack/transform/delete_transform/DeleteTransformResponse.ts @@ -1,2 +1 @@ -class DeleteTransformResponse extends AcknowledgedResponseBase { -} +class DeleteTransformResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/transform/get_transform/GetTransformRequest.ts b/specification/specs/x_pack/transform/get_transform/GetTransformRequest.ts index 14cb4a4835..78fe9b15b7 100644 --- a/specification/specs/x_pack/transform/get_transform/GetTransformRequest.ts +++ b/specification/specs/x_pack/transform/get_transform/GetTransformRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("transform.get_transform") +@rest_spec_name('transform.get_transform') class GetTransformRequest extends RequestBase { path_parts?: { - transform_id?: Name; + transform_id?: Name } query_parameters?: { - allow_no_match?: boolean; - from?: integer; - size?: integer; - } - body?: { + allow_no_match?: boolean + from?: integer + size?: integer } + body?: {} } diff --git a/specification/specs/x_pack/transform/get_transform/GetTransformResponse.ts b/specification/specs/x_pack/transform/get_transform/GetTransformResponse.ts index 217bd0364c..ec3cd97f15 100644 --- a/specification/specs/x_pack/transform/get_transform/GetTransformResponse.ts +++ b/specification/specs/x_pack/transform/get_transform/GetTransformResponse.ts @@ -1,4 +1,4 @@ class GetTransformResponse extends ResponseBase { - count: long; - transforms: Transform[]; + count: long + transforms: Transform[] } diff --git a/specification/specs/x_pack/transform/get_transform_stats/GetTransformStatsRequest.ts b/specification/specs/x_pack/transform/get_transform_stats/GetTransformStatsRequest.ts index f2ac85400a..96879f8571 100644 --- a/specification/specs/x_pack/transform/get_transform_stats/GetTransformStatsRequest.ts +++ b/specification/specs/x_pack/transform/get_transform_stats/GetTransformStatsRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("transform.get_transform_stats") +@rest_spec_name('transform.get_transform_stats') class GetTransformStatsRequest extends RequestBase { path_parts?: { - transform_id: Name; + transform_id: Name } query_parameters?: { - allow_no_match?: boolean; - from?: long; - size?: long; - } - body?: { + allow_no_match?: boolean + from?: long + size?: long } + body?: {} } diff --git a/specification/specs/x_pack/transform/get_transform_stats/GetTransformStatsResponse.ts b/specification/specs/x_pack/transform/get_transform_stats/GetTransformStatsResponse.ts index 218409d65e..2d792950ff 100644 --- a/specification/specs/x_pack/transform/get_transform_stats/GetTransformStatsResponse.ts +++ b/specification/specs/x_pack/transform/get_transform_stats/GetTransformStatsResponse.ts @@ -1,4 +1,4 @@ class GetTransformStatsResponse extends ResponseBase { - count: long; - transforms: TransformStats[]; + count: long + transforms: TransformStats[] } diff --git a/specification/specs/x_pack/transform/get_transform_stats/NodeAttributes.ts b/specification/specs/x_pack/transform/get_transform_stats/NodeAttributes.ts index 9ea8b81dff..c27ca5a40a 100644 --- a/specification/specs/x_pack/transform/get_transform_stats/NodeAttributes.ts +++ b/specification/specs/x_pack/transform/get_transform_stats/NodeAttributes.ts @@ -1,7 +1,7 @@ class NodeAttributes { - attributes: Dictionary; - ephemeral_id: string; - id: string; - name: string; - transport_address: string; + attributes: Dictionary + ephemeral_id: string + id: string + name: string + transport_address: string } diff --git a/specification/specs/x_pack/transform/get_transform_stats/TransformCheckpointStats.ts b/specification/specs/x_pack/transform/get_transform_stats/TransformCheckpointStats.ts index 1fa05f887c..c1fedd1225 100644 --- a/specification/specs/x_pack/transform/get_transform_stats/TransformCheckpointStats.ts +++ b/specification/specs/x_pack/transform/get_transform_stats/TransformCheckpointStats.ts @@ -1,8 +1,8 @@ class TransformCheckpointStats { - checkpoint: long; - checkpoint_progress: TransformProgress; - timestamp: Date; - timestamp_millis: long; - time_upper_bound: Date; - time_upper_bound_millis: long; + checkpoint: long + checkpoint_progress: TransformProgress + timestamp: Date + timestamp_millis: long + time_upper_bound: Date + time_upper_bound_millis: long } diff --git a/specification/specs/x_pack/transform/get_transform_stats/TransformCheckpointingInfo.ts b/specification/specs/x_pack/transform/get_transform_stats/TransformCheckpointingInfo.ts index 1db906dea8..9bc66641a9 100644 --- a/specification/specs/x_pack/transform/get_transform_stats/TransformCheckpointingInfo.ts +++ b/specification/specs/x_pack/transform/get_transform_stats/TransformCheckpointingInfo.ts @@ -1,7 +1,7 @@ class TransformCheckpointingInfo { - changes_last_detected_at: long; - changes_last_detected_at_date_time: Date; - last: TransformCheckpointStats; - next: TransformCheckpointStats; - operations_behind: long; + changes_last_detected_at: long + changes_last_detected_at_date_time: Date + last: TransformCheckpointStats + next: TransformCheckpointStats + operations_behind: long } diff --git a/specification/specs/x_pack/transform/get_transform_stats/TransformIndexerStats.ts b/specification/specs/x_pack/transform/get_transform_stats/TransformIndexerStats.ts index 3c9b141d58..45753542cf 100644 --- a/specification/specs/x_pack/transform/get_transform_stats/TransformIndexerStats.ts +++ b/specification/specs/x_pack/transform/get_transform_stats/TransformIndexerStats.ts @@ -1,17 +1,17 @@ class TransformIndexerStats { - documents_indexed: long; - documents_processed: long; - exponential_avg_checkpoint_duration_ms: double; - exponential_avg_documents_indexed: double; - exponential_avg_documents_processed: double; - index_failures: long; - index_time_in_ms: long; - index_total: long; - pages_processed: long; - processing_time_in_ms: long; - processing_total: long; - search_failures: long; - search_time_in_ms: long; - search_total: long; - trigger_count: long; + documents_indexed: long + documents_processed: long + exponential_avg_checkpoint_duration_ms: double + exponential_avg_documents_indexed: double + exponential_avg_documents_processed: double + index_failures: long + index_time_in_ms: long + index_total: long + pages_processed: long + processing_time_in_ms: long + processing_total: long + search_failures: long + search_time_in_ms: long + search_total: long + trigger_count: long } diff --git a/specification/specs/x_pack/transform/get_transform_stats/TransformProgress.ts b/specification/specs/x_pack/transform/get_transform_stats/TransformProgress.ts index 6cebdca1e9..1d76873b12 100644 --- a/specification/specs/x_pack/transform/get_transform_stats/TransformProgress.ts +++ b/specification/specs/x_pack/transform/get_transform_stats/TransformProgress.ts @@ -1,7 +1,7 @@ class TransformProgress { - docs_indexed: long; - docs_processed: long; - docs_remaining: long; - percent_complete: double; - total_docs: long; + docs_indexed: long + docs_processed: long + docs_remaining: long + percent_complete: double + total_docs: long } diff --git a/specification/specs/x_pack/transform/get_transform_stats/TransformStats.ts b/specification/specs/x_pack/transform/get_transform_stats/TransformStats.ts index 148b2be6b4..15c562e810 100644 --- a/specification/specs/x_pack/transform/get_transform_stats/TransformStats.ts +++ b/specification/specs/x_pack/transform/get_transform_stats/TransformStats.ts @@ -1,8 +1,8 @@ class TransformStats { - checkpointing: TransformCheckpointingInfo; - id: string; - node: NodeAttributes; - reason: string; - state: string; - stats: TransformIndexerStats; + checkpointing: TransformCheckpointingInfo + id: string + node: NodeAttributes + reason: string + state: string + stats: TransformIndexerStats } diff --git a/specification/specs/x_pack/transform/pivot/SingleGroupSource.ts b/specification/specs/x_pack/transform/pivot/SingleGroupSource.ts index f75a9fd014..d9b006538f 100644 --- a/specification/specs/x_pack/transform/pivot/SingleGroupSource.ts +++ b/specification/specs/x_pack/transform/pivot/SingleGroupSource.ts @@ -1,5 +1,5 @@ -@class_serializer("SingleGroupSourceFormatter") +@class_serializer('SingleGroupSourceFormatter') class SingleGroupSource { - field: Field; - script: Script; + field: Field + script: Script } diff --git a/specification/specs/x_pack/transform/pivot/TransformPivot.ts b/specification/specs/x_pack/transform/pivot/TransformPivot.ts index 3272b8f6fb..e25972df8e 100644 --- a/specification/specs/x_pack/transform/pivot/TransformPivot.ts +++ b/specification/specs/x_pack/transform/pivot/TransformPivot.ts @@ -1,5 +1,5 @@ class TransformPivot { - aggregations: Dictionary; - group_by: Dictionary; - max_page_search_size: integer; + aggregations: Dictionary + group_by: Dictionary + max_page_search_size: integer } diff --git a/specification/specs/x_pack/transform/preview_transform/PreviewTransformRequest.ts b/specification/specs/x_pack/transform/preview_transform/PreviewTransformRequest.ts index bd3bdb4cfc..2884c1d38b 100644 --- a/specification/specs/x_pack/transform/preview_transform/PreviewTransformRequest.ts +++ b/specification/specs/x_pack/transform/preview_transform/PreviewTransformRequest.ts @@ -1,13 +1,12 @@ -@rest_spec_name("transform.preview_transform") +@rest_spec_name('transform.preview_transform') class PreviewTransformRequest extends RequestBase { - query_parameters?: { - } + query_parameters?: {} body?: { - description?: string; - dest?: TransformDestination; - frequency?: Time; - pivot?: TransformPivot; - source?: TransformSource; - sync?: TransformSyncContainer; + description?: string + dest?: TransformDestination + frequency?: Time + pivot?: TransformPivot + source?: TransformSource + sync?: TransformSyncContainer } } diff --git a/specification/specs/x_pack/transform/preview_transform/PreviewTransformResponse.ts b/specification/specs/x_pack/transform/preview_transform/PreviewTransformResponse.ts index 44986e80a4..b64665c106 100644 --- a/specification/specs/x_pack/transform/preview_transform/PreviewTransformResponse.ts +++ b/specification/specs/x_pack/transform/preview_transform/PreviewTransformResponse.ts @@ -1,5 +1,5 @@ class PreviewTransformResponse extends ResponseBase { - generated_dest_index: IndexState; + generated_dest_index: IndexState /** @prop_serializer SourceFormatter`1 */ - preview: TTransform[]; + preview: TTransform[] } diff --git a/specification/specs/x_pack/transform/put_transform/PutTransformRequest.ts b/specification/specs/x_pack/transform/put_transform/PutTransformRequest.ts index ef9de3999c..de2ebbfc57 100644 --- a/specification/specs/x_pack/transform/put_transform/PutTransformRequest.ts +++ b/specification/specs/x_pack/transform/put_transform/PutTransformRequest.ts @@ -1,17 +1,17 @@ -@rest_spec_name("transform.put_transform") +@rest_spec_name('transform.put_transform') class PutTransformRequest extends RequestBase { path_parts?: { - transform_id: Name; + transform_id: Name } query_parameters?: { - defer_validation?: boolean; + defer_validation?: boolean } body?: { - description?: string; - dest?: TransformDestination; - frequency?: Time; - pivot?: TransformPivot; - source?: TransformSource; - sync?: TransformSyncContainer; + description?: string + dest?: TransformDestination + frequency?: Time + pivot?: TransformPivot + source?: TransformSource + sync?: TransformSyncContainer } } diff --git a/specification/specs/x_pack/transform/put_transform/PutTransformResponse.ts b/specification/specs/x_pack/transform/put_transform/PutTransformResponse.ts index d50acf4bc8..55800ff3ef 100644 --- a/specification/specs/x_pack/transform/put_transform/PutTransformResponse.ts +++ b/specification/specs/x_pack/transform/put_transform/PutTransformResponse.ts @@ -1,2 +1 @@ -class PutTransformResponse extends AcknowledgedResponseBase { -} +class PutTransformResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/transform/start_transform/StartTransformRequest.ts b/specification/specs/x_pack/transform/start_transform/StartTransformRequest.ts index 8c4e2f4096..4db4e07020 100644 --- a/specification/specs/x_pack/transform/start_transform/StartTransformRequest.ts +++ b/specification/specs/x_pack/transform/start_transform/StartTransformRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("transform.start_transform") +@rest_spec_name('transform.start_transform') class StartTransformRequest extends RequestBase { path_parts?: { - transform_id: Name; + transform_id: Name } query_parameters?: { - timeout?: Time; - } - body?: { + timeout?: Time } + body?: {} } diff --git a/specification/specs/x_pack/transform/start_transform/StartTransformResponse.ts b/specification/specs/x_pack/transform/start_transform/StartTransformResponse.ts index 7973f4e508..005117f3cf 100644 --- a/specification/specs/x_pack/transform/start_transform/StartTransformResponse.ts +++ b/specification/specs/x_pack/transform/start_transform/StartTransformResponse.ts @@ -1,2 +1 @@ -class StartTransformResponse extends AcknowledgedResponseBase { -} +class StartTransformResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/transform/stop_transform/StopTransformRequest.ts b/specification/specs/x_pack/transform/stop_transform/StopTransformRequest.ts index e0f2bc85b4..fbf5fec1b0 100644 --- a/specification/specs/x_pack/transform/stop_transform/StopTransformRequest.ts +++ b/specification/specs/x_pack/transform/stop_transform/StopTransformRequest.ts @@ -1,15 +1,14 @@ -@rest_spec_name("transform.stop_transform") +@rest_spec_name('transform.stop_transform') class StopTransformRequest extends RequestBase { path_parts?: { - transform_id: Name; + transform_id: Name } query_parameters?: { - allow_no_match?: boolean; - force?: boolean; - timeout?: Time; - wait_for_checkpoint?: boolean; - wait_for_completion?: boolean; - } - body?: { + allow_no_match?: boolean + force?: boolean + timeout?: Time + wait_for_checkpoint?: boolean + wait_for_completion?: boolean } + body?: {} } diff --git a/specification/specs/x_pack/transform/stop_transform/StopTransformResponse.ts b/specification/specs/x_pack/transform/stop_transform/StopTransformResponse.ts index fa97d66fc2..7c5f58d2cc 100644 --- a/specification/specs/x_pack/transform/stop_transform/StopTransformResponse.ts +++ b/specification/specs/x_pack/transform/stop_transform/StopTransformResponse.ts @@ -1,2 +1 @@ -class StopTransformResponse extends AcknowledgedResponseBase { -} +class StopTransformResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/transform/update_transform/UpdateTransformRequest.ts b/specification/specs/x_pack/transform/update_transform/UpdateTransformRequest.ts index b721f2bb16..d549f90559 100644 --- a/specification/specs/x_pack/transform/update_transform/UpdateTransformRequest.ts +++ b/specification/specs/x_pack/transform/update_transform/UpdateTransformRequest.ts @@ -1,16 +1,16 @@ -@rest_spec_name("transform.update_transform") +@rest_spec_name('transform.update_transform') class UpdateTransformRequest extends RequestBase { path_parts?: { - transform_id: Name; + transform_id: Name } query_parameters?: { - defer_validation?: boolean; + defer_validation?: boolean } body?: { - description?: string; - dest?: TransformDestination; - frequency?: Time; - source?: TransformSource; - sync?: TransformSyncContainer; + description?: string + dest?: TransformDestination + frequency?: Time + source?: TransformSource + sync?: TransformSyncContainer } } diff --git a/specification/specs/x_pack/transform/update_transform/UpdateTransformResponse.ts b/specification/specs/x_pack/transform/update_transform/UpdateTransformResponse.ts index 278f6ed43c..413f682657 100644 --- a/specification/specs/x_pack/transform/update_transform/UpdateTransformResponse.ts +++ b/specification/specs/x_pack/transform/update_transform/UpdateTransformResponse.ts @@ -1,12 +1,12 @@ class UpdateTransformResponse extends ResponseBase { - create_time: long; - create_time_date_time: Date; - description: string; - dest: TransformDestination; - frequency: Time; - id: string; - pivot: TransformPivot; - source: TransformSource; - sync: TransformSyncContainer; - version: string; + create_time: long + create_time_date_time: Date + description: string + dest: TransformDestination + frequency: Time + id: string + pivot: TransformPivot + source: TransformSource + sync: TransformSyncContainer + version: string } diff --git a/specification/specs/x_pack/watcher/Watch.ts b/specification/specs/x_pack/watcher/Watch.ts index 4180cc06e7..ec78eeda13 100644 --- a/specification/specs/x_pack/watcher/Watch.ts +++ b/specification/specs/x_pack/watcher/Watch.ts @@ -1,10 +1,10 @@ class Watch { - actions: Dictionary; - condition: ConditionContainer; - input: InputContainer; - metadata: Dictionary; - status: WatchStatus; - throttle_period: string; - transform: TransformContainer; - trigger: TriggerContainer; + actions: Dictionary + condition: ConditionContainer + input: InputContainer + metadata: Dictionary + status: WatchStatus + throttle_period: string + transform: TransformContainer + trigger: TriggerContainer } diff --git a/specification/specs/x_pack/watcher/acknowledge_watch/AcknowledgeState.ts b/specification/specs/x_pack/watcher/acknowledge_watch/AcknowledgeState.ts index 7420428912..2fcb66e466 100644 --- a/specification/specs/x_pack/watcher/acknowledge_watch/AcknowledgeState.ts +++ b/specification/specs/x_pack/watcher/acknowledge_watch/AcknowledgeState.ts @@ -1,4 +1,4 @@ class AcknowledgeState { - state: AcknowledgementState; - timestamp: Date; + state: AcknowledgementState + timestamp: Date } diff --git a/specification/specs/x_pack/watcher/acknowledge_watch/AcknowledgeWatchRequest.ts b/specification/specs/x_pack/watcher/acknowledge_watch/AcknowledgeWatchRequest.ts index 3a99fb1b3f..cb42639d3c 100644 --- a/specification/specs/x_pack/watcher/acknowledge_watch/AcknowledgeWatchRequest.ts +++ b/specification/specs/x_pack/watcher/acknowledge_watch/AcknowledgeWatchRequest.ts @@ -1,11 +1,9 @@ -@rest_spec_name("watcher.ack_watch") +@rest_spec_name('watcher.ack_watch') class AcknowledgeWatchRequest extends RequestBase { path_parts?: { - watch_id: Name; - action_id?: Names; - } - query_parameters?: { - } - body?: { + watch_id: Name + action_id?: Names } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/watcher/acknowledge_watch/AcknowledgeWatchResponse.ts b/specification/specs/x_pack/watcher/acknowledge_watch/AcknowledgeWatchResponse.ts index 6dc1f98068..b71eb2a652 100644 --- a/specification/specs/x_pack/watcher/acknowledge_watch/AcknowledgeWatchResponse.ts +++ b/specification/specs/x_pack/watcher/acknowledge_watch/AcknowledgeWatchResponse.ts @@ -1,3 +1,3 @@ class AcknowledgeWatchResponse extends ResponseBase { - status: WatchStatus; + status: WatchStatus } diff --git a/specification/specs/x_pack/watcher/acknowledge_watch/ActionStatus.ts b/specification/specs/x_pack/watcher/acknowledge_watch/ActionStatus.ts index 9a524d6502..3a3ee5c0c1 100644 --- a/specification/specs/x_pack/watcher/acknowledge_watch/ActionStatus.ts +++ b/specification/specs/x_pack/watcher/acknowledge_watch/ActionStatus.ts @@ -1,6 +1,6 @@ class ActionStatus { - ack: AcknowledgeState; - last_execution: ExecutionState; - last_successful_execution: ExecutionState; - last_throttle: ThrottleState; + ack: AcknowledgeState + last_execution: ExecutionState + last_successful_execution: ExecutionState + last_throttle: ThrottleState } diff --git a/specification/specs/x_pack/watcher/acknowledge_watch/ActivationState.ts b/specification/specs/x_pack/watcher/acknowledge_watch/ActivationState.ts index 7926646cd2..d8139846bd 100644 --- a/specification/specs/x_pack/watcher/acknowledge_watch/ActivationState.ts +++ b/specification/specs/x_pack/watcher/acknowledge_watch/ActivationState.ts @@ -1,4 +1,4 @@ class ActivationState { - active: boolean; - timestamp: Date; + active: boolean + timestamp: Date } diff --git a/specification/specs/x_pack/watcher/acknowledge_watch/ExecutionState.ts b/specification/specs/x_pack/watcher/acknowledge_watch/ExecutionState.ts index 3e1464cf36..648a474b56 100644 --- a/specification/specs/x_pack/watcher/acknowledge_watch/ExecutionState.ts +++ b/specification/specs/x_pack/watcher/acknowledge_watch/ExecutionState.ts @@ -1,4 +1,4 @@ class ExecutionState { - successful: boolean; - timestamp: Date; + successful: boolean + timestamp: Date } diff --git a/specification/specs/x_pack/watcher/acknowledge_watch/ThrottleState.ts b/specification/specs/x_pack/watcher/acknowledge_watch/ThrottleState.ts index d288f6ed39..4fdea7ff00 100644 --- a/specification/specs/x_pack/watcher/acknowledge_watch/ThrottleState.ts +++ b/specification/specs/x_pack/watcher/acknowledge_watch/ThrottleState.ts @@ -1,4 +1,4 @@ class ThrottleState { - reason: string; - timestamp: Date; + reason: string + timestamp: Date } diff --git a/specification/specs/x_pack/watcher/acknowledge_watch/WatchStatus.ts b/specification/specs/x_pack/watcher/acknowledge_watch/WatchStatus.ts index 6ea08a5463..41218e6c13 100644 --- a/specification/specs/x_pack/watcher/acknowledge_watch/WatchStatus.ts +++ b/specification/specs/x_pack/watcher/acknowledge_watch/WatchStatus.ts @@ -1,7 +1,7 @@ class WatchStatus { - actions: Dictionary; - last_checked: Date; - last_met_condition: Date; - state: ActivationState; - version: integer; + actions: Dictionary + last_checked: Date + last_met_condition: Date + state: ActivationState + version: integer } diff --git a/specification/specs/x_pack/watcher/action/Action.ts b/specification/specs/x_pack/watcher/action/Action.ts index 9006e32110..16215b5869 100644 --- a/specification/specs/x_pack/watcher/action/Action.ts +++ b/specification/specs/x_pack/watcher/action/Action.ts @@ -1,9 +1,9 @@ class Action { - action_type: ActionType; - condition: ConditionContainer; - foreach: string; - max_iterations: integer; - name: string; - throttle_period: Time; - transform: TransformContainer; + action_type: ActionType + condition: ConditionContainer + foreach: string + max_iterations: integer + name: string + throttle_period: Time + transform: TransformContainer } diff --git a/specification/specs/x_pack/watcher/action/email/EmailBody.ts b/specification/specs/x_pack/watcher/action/email/EmailBody.ts index eb9da91625..aa21d0d565 100644 --- a/specification/specs/x_pack/watcher/action/email/EmailBody.ts +++ b/specification/specs/x_pack/watcher/action/email/EmailBody.ts @@ -1,4 +1,4 @@ class EmailBody { - html: string; - text: string; + html: string + text: string } diff --git a/specification/specs/x_pack/watcher/action/pager_duty/PagerDutyContext.ts b/specification/specs/x_pack/watcher/action/pager_duty/PagerDutyContext.ts index 3c4718337d..80a485be81 100644 --- a/specification/specs/x_pack/watcher/action/pager_duty/PagerDutyContext.ts +++ b/specification/specs/x_pack/watcher/action/pager_duty/PagerDutyContext.ts @@ -1,5 +1,5 @@ class PagerDutyContext { - href: string; - src: string; - type: PagerDutyContextType; + href: string + src: string + type: PagerDutyContextType } diff --git a/specification/specs/x_pack/watcher/action/pager_duty/PagerDutyEvent.ts b/specification/specs/x_pack/watcher/action/pager_duty/PagerDutyEvent.ts index 1c042438b2..f36b0f8ee7 100644 --- a/specification/specs/x_pack/watcher/action/pager_duty/PagerDutyEvent.ts +++ b/specification/specs/x_pack/watcher/action/pager_duty/PagerDutyEvent.ts @@ -1,10 +1,10 @@ class PagerDutyEvent { - account: string; - attach_payload: boolean; - client: string; - client_url: string; - context: PagerDutyContext[]; - description: string; - event_type: PagerDutyEventType; - incident_key: string; + account: string + attach_payload: boolean + client: string + client_url: string + context: PagerDutyContext[] + description: string + event_type: PagerDutyEventType + incident_key: string } diff --git a/specification/specs/x_pack/watcher/action/slack/SlackAttachment.ts b/specification/specs/x_pack/watcher/action/slack/SlackAttachment.ts index a149090e6b..9856670d43 100644 --- a/specification/specs/x_pack/watcher/action/slack/SlackAttachment.ts +++ b/specification/specs/x_pack/watcher/action/slack/SlackAttachment.ts @@ -1,18 +1,18 @@ class SlackAttachment { - author_icon: string; - author_link: string; - author_name: string; - color: string; - fallback: string; - fields: SlackAttachmentField[]; - footer: string; - footer_icon: string; - image_url: string; - pretext: string; - text: string; - thumb_url: string; - title: string; - title_link: string; + author_icon: string + author_link: string + author_name: string + color: string + fallback: string + fields: SlackAttachmentField[] + footer: string + footer_icon: string + image_url: string + pretext: string + text: string + thumb_url: string + title: string + title_link: string /** @prop_serializer NullableDateTimeOffsetEpochSecondsFormatter */ - ts: Date; + ts: Date } diff --git a/specification/specs/x_pack/watcher/action/slack/SlackAttachmentField.ts b/specification/specs/x_pack/watcher/action/slack/SlackAttachmentField.ts index 300b13c6f4..26726be55a 100644 --- a/specification/specs/x_pack/watcher/action/slack/SlackAttachmentField.ts +++ b/specification/specs/x_pack/watcher/action/slack/SlackAttachmentField.ts @@ -1,5 +1,5 @@ class SlackAttachmentField { - short: boolean; - title: string; - value: string; + short: boolean + title: string + value: string } diff --git a/specification/specs/x_pack/watcher/action/slack/SlackDynamicAttachment.ts b/specification/specs/x_pack/watcher/action/slack/SlackDynamicAttachment.ts index b914e67e17..b05e54c3d8 100644 --- a/specification/specs/x_pack/watcher/action/slack/SlackDynamicAttachment.ts +++ b/specification/specs/x_pack/watcher/action/slack/SlackDynamicAttachment.ts @@ -1,4 +1,4 @@ class SlackDynamicAttachment { - attachment_template: SlackAttachment; - list_path: string; + attachment_template: SlackAttachment + list_path: string } diff --git a/specification/specs/x_pack/watcher/action/slack/SlackMessage.ts b/specification/specs/x_pack/watcher/action/slack/SlackMessage.ts index 88ce114afa..352cf700aa 100644 --- a/specification/specs/x_pack/watcher/action/slack/SlackMessage.ts +++ b/specification/specs/x_pack/watcher/action/slack/SlackMessage.ts @@ -1,8 +1,8 @@ class SlackMessage { - attachments: SlackAttachment[]; - dynamic_attachments: SlackDynamicAttachment; - from: string; - icon: string; - text: string; - to: string[]; + attachments: SlackAttachment[] + dynamic_attachments: SlackDynamicAttachment + from: string + icon: string + text: string + to: string[] } diff --git a/specification/specs/x_pack/watcher/activate_watch/ActivateWatchRequest.ts b/specification/specs/x_pack/watcher/activate_watch/ActivateWatchRequest.ts index 6f14cb6c3d..0d134fb57e 100644 --- a/specification/specs/x_pack/watcher/activate_watch/ActivateWatchRequest.ts +++ b/specification/specs/x_pack/watcher/activate_watch/ActivateWatchRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("watcher.activate_watch") +@rest_spec_name('watcher.activate_watch') class ActivateWatchRequest extends RequestBase { path_parts?: { - watch_id: Name; - } - query_parameters?: { - } - body?: { + watch_id: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/watcher/activate_watch/ActivateWatchResponse.ts b/specification/specs/x_pack/watcher/activate_watch/ActivateWatchResponse.ts index 104789c956..b8ceb0b18b 100644 --- a/specification/specs/x_pack/watcher/activate_watch/ActivateWatchResponse.ts +++ b/specification/specs/x_pack/watcher/activate_watch/ActivateWatchResponse.ts @@ -1,3 +1,3 @@ class ActivateWatchResponse extends ResponseBase { - status: ActivationStatus; + status: ActivationStatus } diff --git a/specification/specs/x_pack/watcher/activate_watch/ActivationStatus.ts b/specification/specs/x_pack/watcher/activate_watch/ActivationStatus.ts index 591ad8454a..19ea5dd232 100644 --- a/specification/specs/x_pack/watcher/activate_watch/ActivationStatus.ts +++ b/specification/specs/x_pack/watcher/activate_watch/ActivationStatus.ts @@ -1,4 +1,4 @@ class ActivationStatus { - actions: Dictionary; - state: ActivationState; + actions: Dictionary + state: ActivationState } diff --git a/specification/specs/x_pack/watcher/condition/AlwaysCondition.ts b/specification/specs/x_pack/watcher/condition/AlwaysCondition.ts index a88cba4ab5..09fedac2d6 100644 --- a/specification/specs/x_pack/watcher/condition/AlwaysCondition.ts +++ b/specification/specs/x_pack/watcher/condition/AlwaysCondition.ts @@ -1,2 +1 @@ -class AlwaysCondition { -} +class AlwaysCondition {} diff --git a/specification/specs/x_pack/watcher/condition/ArrayCompareCondition.ts b/specification/specs/x_pack/watcher/condition/ArrayCompareCondition.ts index 0448763b7d..700ac7c8af 100644 --- a/specification/specs/x_pack/watcher/condition/ArrayCompareCondition.ts +++ b/specification/specs/x_pack/watcher/condition/ArrayCompareCondition.ts @@ -1,8 +1,8 @@ -@class_serializer("ArrayCompareConditionFormatter") +@class_serializer('ArrayCompareConditionFormatter') class ArrayCompareCondition { - array_path: string; - comparison: string; - path: string; - quantifier: Quantifier; - value: UserDefinedValue; + array_path: string + comparison: string + path: string + quantifier: Quantifier + value: UserDefinedValue } diff --git a/specification/specs/x_pack/watcher/condition/CompareCondition.ts b/specification/specs/x_pack/watcher/condition/CompareCondition.ts index bc9f2d7158..d820997790 100644 --- a/specification/specs/x_pack/watcher/condition/CompareCondition.ts +++ b/specification/specs/x_pack/watcher/condition/CompareCondition.ts @@ -1,6 +1,6 @@ -@class_serializer("CompareConditionFormatter") +@class_serializer('CompareConditionFormatter') class CompareCondition { - comparison: string; - path: string; - value: UserDefinedValue; + comparison: string + path: string + value: UserDefinedValue } diff --git a/specification/specs/x_pack/watcher/condition/Condition.ts b/specification/specs/x_pack/watcher/condition/Condition.ts index edc99ab5bb..90b0ed467d 100644 --- a/specification/specs/x_pack/watcher/condition/Condition.ts +++ b/specification/specs/x_pack/watcher/condition/Condition.ts @@ -1,2 +1 @@ -class Condition { -} +class Condition {} diff --git a/specification/specs/x_pack/watcher/condition/ConditionContainer.ts b/specification/specs/x_pack/watcher/condition/ConditionContainer.ts index 70f8db7cf5..0ccf6c902f 100644 --- a/specification/specs/x_pack/watcher/condition/ConditionContainer.ts +++ b/specification/specs/x_pack/watcher/condition/ConditionContainer.ts @@ -1,7 +1,7 @@ class ConditionContainer { - always: AlwaysCondition; - array_compare: ArrayCompareCondition; - compare: CompareCondition; - never: NeverCondition; - script: ScriptCondition; + always: AlwaysCondition + array_compare: ArrayCompareCondition + compare: CompareCondition + never: NeverCondition + script: ScriptCondition } diff --git a/specification/specs/x_pack/watcher/condition/NeverCondition.ts b/specification/specs/x_pack/watcher/condition/NeverCondition.ts index 917c0ea69e..2013daf441 100644 --- a/specification/specs/x_pack/watcher/condition/NeverCondition.ts +++ b/specification/specs/x_pack/watcher/condition/NeverCondition.ts @@ -1,2 +1 @@ -class NeverCondition { -} +class NeverCondition {} diff --git a/specification/specs/x_pack/watcher/condition/ScriptCondition.ts b/specification/specs/x_pack/watcher/condition/ScriptCondition.ts index 1bb08b998c..62e2b1fac1 100644 --- a/specification/specs/x_pack/watcher/condition/ScriptCondition.ts +++ b/specification/specs/x_pack/watcher/condition/ScriptCondition.ts @@ -1,5 +1,5 @@ -@class_serializer("ScriptConditionFormatter") +@class_serializer('ScriptConditionFormatter') class ScriptCondition { - lang: string; - params: Dictionary; + lang: string + params: Dictionary } diff --git a/specification/specs/x_pack/watcher/deactivate_watch/DeactivateWatchRequest.ts b/specification/specs/x_pack/watcher/deactivate_watch/DeactivateWatchRequest.ts index 2d8282cea8..36d23b8076 100644 --- a/specification/specs/x_pack/watcher/deactivate_watch/DeactivateWatchRequest.ts +++ b/specification/specs/x_pack/watcher/deactivate_watch/DeactivateWatchRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("watcher.deactivate_watch") +@rest_spec_name('watcher.deactivate_watch') class DeactivateWatchRequest extends RequestBase { path_parts?: { - watch_id: Name; - } - query_parameters?: { - } - body?: { + watch_id: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/watcher/deactivate_watch/DeactivateWatchResponse.ts b/specification/specs/x_pack/watcher/deactivate_watch/DeactivateWatchResponse.ts index 0b1acb1a87..819577da52 100644 --- a/specification/specs/x_pack/watcher/deactivate_watch/DeactivateWatchResponse.ts +++ b/specification/specs/x_pack/watcher/deactivate_watch/DeactivateWatchResponse.ts @@ -1,3 +1,3 @@ class DeactivateWatchResponse extends ResponseBase { - status: ActivationStatus; + status: ActivationStatus } diff --git a/specification/specs/x_pack/watcher/delete_watch/DeleteWatchRequest.ts b/specification/specs/x_pack/watcher/delete_watch/DeleteWatchRequest.ts index aede4c7dee..7a92dfcd3c 100644 --- a/specification/specs/x_pack/watcher/delete_watch/DeleteWatchRequest.ts +++ b/specification/specs/x_pack/watcher/delete_watch/DeleteWatchRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("watcher.delete_watch") +@rest_spec_name('watcher.delete_watch') class DeleteWatchRequest extends RequestBase { path_parts?: { - id: Name; - } - query_parameters?: { - } - body?: { + id: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/watcher/delete_watch/DeleteWatchResponse.ts b/specification/specs/x_pack/watcher/delete_watch/DeleteWatchResponse.ts index 806d19d86c..32e2124782 100644 --- a/specification/specs/x_pack/watcher/delete_watch/DeleteWatchResponse.ts +++ b/specification/specs/x_pack/watcher/delete_watch/DeleteWatchResponse.ts @@ -1,5 +1,5 @@ class DeleteWatchResponse extends ResponseBase { - found: boolean; - _id: string; - _version: integer; + found: boolean + _id: string + _version: integer } diff --git a/specification/specs/x_pack/watcher/execute_watch/ExecuteWatchRequest.ts b/specification/specs/x_pack/watcher/execute_watch/ExecuteWatchRequest.ts index a3c9f11bfa..b6b88ed8c9 100644 --- a/specification/specs/x_pack/watcher/execute_watch/ExecuteWatchRequest.ts +++ b/specification/specs/x_pack/watcher/execute_watch/ExecuteWatchRequest.ts @@ -1,18 +1,18 @@ -@rest_spec_name("watcher.execute_watch") +@rest_spec_name('watcher.execute_watch') class ExecuteWatchRequest extends RequestBase { path_parts?: { - id?: Name; + id?: Name } query_parameters?: { - debug?: boolean; + debug?: boolean } body?: { - action_modes?: Dictionary; - alternative_input?: Dictionary; - ignore_condition?: boolean; - record_execution?: boolean; - simulated_actions?: SimulatedActions; - trigger_data?: ScheduleTriggerEvent; - watch?: Watch; + action_modes?: Dictionary + alternative_input?: Dictionary + ignore_condition?: boolean + record_execution?: boolean + simulated_actions?: SimulatedActions + trigger_data?: ScheduleTriggerEvent + watch?: Watch } } diff --git a/specification/specs/x_pack/watcher/execute_watch/ExecuteWatchResponse.ts b/specification/specs/x_pack/watcher/execute_watch/ExecuteWatchResponse.ts index 2eca54495a..7f0a7e3e9e 100644 --- a/specification/specs/x_pack/watcher/execute_watch/ExecuteWatchResponse.ts +++ b/specification/specs/x_pack/watcher/execute_watch/ExecuteWatchResponse.ts @@ -1,4 +1,4 @@ class ExecuteWatchResponse extends ResponseBase { - _id: string; - watch_record: WatchRecord; + _id: string + watch_record: WatchRecord } diff --git a/specification/specs/x_pack/watcher/execute_watch/ExecutionResult.ts b/specification/specs/x_pack/watcher/execute_watch/ExecutionResult.ts index 6d7d0782ba..cf22c9ae9a 100644 --- a/specification/specs/x_pack/watcher/execute_watch/ExecutionResult.ts +++ b/specification/specs/x_pack/watcher/execute_watch/ExecutionResult.ts @@ -1,7 +1,7 @@ class ExecutionResult { - actions: ExecutionResultAction[]; - condition: ExecutionResultCondition; - execution_duration: integer; - execution_time: Date; - input: ExecutionResultInput; + actions: ExecutionResultAction[] + condition: ExecutionResultCondition + execution_duration: integer + execution_time: Date + input: ExecutionResultInput } diff --git a/specification/specs/x_pack/watcher/execute_watch/ExecutionResultAction.ts b/specification/specs/x_pack/watcher/execute_watch/ExecutionResultAction.ts index 33338cd5c6..259f7952c4 100644 --- a/specification/specs/x_pack/watcher/execute_watch/ExecutionResultAction.ts +++ b/specification/specs/x_pack/watcher/execute_watch/ExecutionResultAction.ts @@ -1,12 +1,12 @@ class ExecutionResultAction { - email: EmailActionResult; - id: string; - index: IndexActionResult; - logging: LoggingActionResult; - pagerduty: PagerDutyActionResult; - reason: string; - slack: SlackActionResult; - status: Status; - type: ActionType; - webhook: WebhookActionResult; + email: EmailActionResult + id: string + index: IndexActionResult + logging: LoggingActionResult + pagerduty: PagerDutyActionResult + reason: string + slack: SlackActionResult + status: Status + type: ActionType + webhook: WebhookActionResult } diff --git a/specification/specs/x_pack/watcher/execute_watch/ExecutionResultCondition.ts b/specification/specs/x_pack/watcher/execute_watch/ExecutionResultCondition.ts index 340c98c2c7..15ab291507 100644 --- a/specification/specs/x_pack/watcher/execute_watch/ExecutionResultCondition.ts +++ b/specification/specs/x_pack/watcher/execute_watch/ExecutionResultCondition.ts @@ -1,5 +1,5 @@ class ExecutionResultCondition { - met: boolean; - status: Status; - type: ConditionType; + met: boolean + status: Status + type: ConditionType } diff --git a/specification/specs/x_pack/watcher/execute_watch/ExecutionResultInput.ts b/specification/specs/x_pack/watcher/execute_watch/ExecutionResultInput.ts index afb5c3f747..10c8ecf814 100644 --- a/specification/specs/x_pack/watcher/execute_watch/ExecutionResultInput.ts +++ b/specification/specs/x_pack/watcher/execute_watch/ExecutionResultInput.ts @@ -1,5 +1,5 @@ class ExecutionResultInput { - payload: Dictionary; - status: Status; - type: InputType; + payload: Dictionary + status: Status + type: InputType } diff --git a/specification/specs/x_pack/watcher/execute_watch/TriggerEventResult.ts b/specification/specs/x_pack/watcher/execute_watch/TriggerEventResult.ts index 73e5601334..411d969378 100644 --- a/specification/specs/x_pack/watcher/execute_watch/TriggerEventResult.ts +++ b/specification/specs/x_pack/watcher/execute_watch/TriggerEventResult.ts @@ -1,5 +1,5 @@ class TriggerEventResult { - manual: TriggerEventContainer; - triggered_time: Date; - type: string; + manual: TriggerEventContainer + triggered_time: Date + type: string } diff --git a/specification/specs/x_pack/watcher/execute_watch/WatchRecord.ts b/specification/specs/x_pack/watcher/execute_watch/WatchRecord.ts index 83a0ac728f..665805afcb 100644 --- a/specification/specs/x_pack/watcher/execute_watch/WatchRecord.ts +++ b/specification/specs/x_pack/watcher/execute_watch/WatchRecord.ts @@ -1,12 +1,12 @@ class WatchRecord { - condition: ConditionContainer; - input: InputContainer; - messages: string[]; - metadata: Dictionary; - node: string; - result: ExecutionResult; - state: ActionExecutionState; - trigger_event: TriggerEventResult; - user: string; - watch_id: string; + condition: ConditionContainer + input: InputContainer + messages: string[] + metadata: Dictionary + node: string + result: ExecutionResult + state: ActionExecutionState + trigger_event: TriggerEventResult + user: string + watch_id: string } diff --git a/specification/specs/x_pack/watcher/execution/HttpInputRequestResult.ts b/specification/specs/x_pack/watcher/execution/HttpInputRequestResult.ts index f0ac4f6584..1cf0796167 100644 --- a/specification/specs/x_pack/watcher/execution/HttpInputRequestResult.ts +++ b/specification/specs/x_pack/watcher/execution/HttpInputRequestResult.ts @@ -1,2 +1 @@ -class HttpInputRequestResult extends HttpInputRequest { -} +class HttpInputRequestResult extends HttpInputRequest {} diff --git a/specification/specs/x_pack/watcher/execution/HttpInputResponseResult.ts b/specification/specs/x_pack/watcher/execution/HttpInputResponseResult.ts index 92c4144528..fc180e9a31 100644 --- a/specification/specs/x_pack/watcher/execution/HttpInputResponseResult.ts +++ b/specification/specs/x_pack/watcher/execution/HttpInputResponseResult.ts @@ -1,5 +1,5 @@ class HttpInputResponseResult { - body: string; - headers: Dictionary; - status: integer; + body: string + headers: Dictionary + status: integer } diff --git a/specification/specs/x_pack/watcher/execution/SimulatedActions.ts b/specification/specs/x_pack/watcher/execution/SimulatedActions.ts index 525fa76564..253b69087c 100644 --- a/specification/specs/x_pack/watcher/execution/SimulatedActions.ts +++ b/specification/specs/x_pack/watcher/execution/SimulatedActions.ts @@ -1,6 +1,6 @@ -@class_serializer("SimulatedActionsFormatter") +@class_serializer('SimulatedActionsFormatter') class SimulatedActions { - actions: string[]; - all: SimulatedActions; - use_all: boolean; + actions: string[] + all: SimulatedActions + use_all: boolean } diff --git a/specification/specs/x_pack/watcher/execution/email/EmailActionResult.ts b/specification/specs/x_pack/watcher/execution/email/EmailActionResult.ts index 3ffcad9cf4..a0cd4c4eae 100644 --- a/specification/specs/x_pack/watcher/execution/email/EmailActionResult.ts +++ b/specification/specs/x_pack/watcher/execution/email/EmailActionResult.ts @@ -1,5 +1,5 @@ class EmailActionResult { - account: string; - message: EmailResult; - reason: string; + account: string + message: EmailResult + reason: string } diff --git a/specification/specs/x_pack/watcher/execution/email/EmailResult.ts b/specification/specs/x_pack/watcher/execution/email/EmailResult.ts index e2aa7eefbb..deae79d6df 100644 --- a/specification/specs/x_pack/watcher/execution/email/EmailResult.ts +++ b/specification/specs/x_pack/watcher/execution/email/EmailResult.ts @@ -1,12 +1,12 @@ class EmailResult { - bcc: string[]; - body: EmailBody; - cc: string[]; - from: string; - id: string; - priority: EmailPriority; - reply_to: string[]; - sent_date: Date; - subject: string; - to: string[]; + bcc: string[] + body: EmailBody + cc: string[] + from: string + id: string + priority: EmailPriority + reply_to: string[] + sent_date: Date + subject: string + to: string[] } diff --git a/specification/specs/x_pack/watcher/execution/index/IndexActionResult.ts b/specification/specs/x_pack/watcher/execution/index/IndexActionResult.ts index cd00613487..cf892cd31a 100644 --- a/specification/specs/x_pack/watcher/execution/index/IndexActionResult.ts +++ b/specification/specs/x_pack/watcher/execution/index/IndexActionResult.ts @@ -1,4 +1,4 @@ class IndexActionResult { - id: string; - response: IndexActionResultIndexResponse; + id: string + response: IndexActionResultIndexResponse } diff --git a/specification/specs/x_pack/watcher/execution/index/IndexActionResultIndexResponse.ts b/specification/specs/x_pack/watcher/execution/index/IndexActionResultIndexResponse.ts index 381f659d45..1c6b4a573d 100644 --- a/specification/specs/x_pack/watcher/execution/index/IndexActionResultIndexResponse.ts +++ b/specification/specs/x_pack/watcher/execution/index/IndexActionResultIndexResponse.ts @@ -1,7 +1,7 @@ class IndexActionResultIndexResponse { - created: boolean; - id: string; - index: IndexName; - result: Result; - version: integer; + created: boolean + id: string + index: IndexName + result: Result + version: integer } diff --git a/specification/specs/x_pack/watcher/execution/logging/LoggingActionResult.ts b/specification/specs/x_pack/watcher/execution/logging/LoggingActionResult.ts index 80cacba1c3..233a6af7c4 100644 --- a/specification/specs/x_pack/watcher/execution/logging/LoggingActionResult.ts +++ b/specification/specs/x_pack/watcher/execution/logging/LoggingActionResult.ts @@ -1,3 +1,3 @@ class LoggingActionResult { - logged_text: string; + logged_text: string } diff --git a/specification/specs/x_pack/watcher/execution/pager_duty/PagerDutyActionEventResult.ts b/specification/specs/x_pack/watcher/execution/pager_duty/PagerDutyActionEventResult.ts index de875d6cbe..811d000c7b 100644 --- a/specification/specs/x_pack/watcher/execution/pager_duty/PagerDutyActionEventResult.ts +++ b/specification/specs/x_pack/watcher/execution/pager_duty/PagerDutyActionEventResult.ts @@ -1,6 +1,6 @@ class PagerDutyActionEventResult { - event: PagerDutyEvent; - reason: string; - request: HttpInputRequestResult; - response: HttpInputResponseResult; + event: PagerDutyEvent + reason: string + request: HttpInputRequestResult + response: HttpInputResponseResult } diff --git a/specification/specs/x_pack/watcher/execution/pager_duty/PagerDutyActionResult.ts b/specification/specs/x_pack/watcher/execution/pager_duty/PagerDutyActionResult.ts index a5f21ff888..6426ec61b5 100644 --- a/specification/specs/x_pack/watcher/execution/pager_duty/PagerDutyActionResult.ts +++ b/specification/specs/x_pack/watcher/execution/pager_duty/PagerDutyActionResult.ts @@ -1,3 +1,3 @@ class PagerDutyActionResult { - sent_event: PagerDutyActionEventResult; + sent_event: PagerDutyActionEventResult } diff --git a/specification/specs/x_pack/watcher/execution/slack/SlackActionMessageResult.ts b/specification/specs/x_pack/watcher/execution/slack/SlackActionMessageResult.ts index a4231a0397..2b4ae03b83 100644 --- a/specification/specs/x_pack/watcher/execution/slack/SlackActionMessageResult.ts +++ b/specification/specs/x_pack/watcher/execution/slack/SlackActionMessageResult.ts @@ -1,8 +1,8 @@ class SlackActionMessageResult { - message: SlackMessage; - reason: string; - request: HttpInputRequestResult; - response: HttpInputResponseResult; - status: Status; - to: string; + message: SlackMessage + reason: string + request: HttpInputRequestResult + response: HttpInputResponseResult + status: Status + to: string } diff --git a/specification/specs/x_pack/watcher/execution/slack/SlackActionResult.ts b/specification/specs/x_pack/watcher/execution/slack/SlackActionResult.ts index d8f032b975..9aa6a81c6e 100644 --- a/specification/specs/x_pack/watcher/execution/slack/SlackActionResult.ts +++ b/specification/specs/x_pack/watcher/execution/slack/SlackActionResult.ts @@ -1,4 +1,4 @@ class SlackActionResult { - account: string; - sent_messages: SlackActionMessageResult[]; + account: string + sent_messages: SlackActionMessageResult[] } diff --git a/specification/specs/x_pack/watcher/execution/webhook/WebhookActionResult.ts b/specification/specs/x_pack/watcher/execution/webhook/WebhookActionResult.ts index 431d92dd4f..475bcdcf4a 100644 --- a/specification/specs/x_pack/watcher/execution/webhook/WebhookActionResult.ts +++ b/specification/specs/x_pack/watcher/execution/webhook/WebhookActionResult.ts @@ -1,4 +1,4 @@ class WebhookActionResult { - request: HttpInputRequestResult; - response: HttpInputResponseResult; + request: HttpInputRequestResult + response: HttpInputResponseResult } diff --git a/specification/specs/x_pack/watcher/get_watch/GetWatchRequest.ts b/specification/specs/x_pack/watcher/get_watch/GetWatchRequest.ts index 8bf0984020..f1065f9f52 100644 --- a/specification/specs/x_pack/watcher/get_watch/GetWatchRequest.ts +++ b/specification/specs/x_pack/watcher/get_watch/GetWatchRequest.ts @@ -1,10 +1,8 @@ -@rest_spec_name("watcher.get_watch") +@rest_spec_name('watcher.get_watch') class GetWatchRequest extends RequestBase { path_parts?: { - id: Name; - } - query_parameters?: { - } - body?: { + id: Name } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/watcher/get_watch/GetWatchResponse.ts b/specification/specs/x_pack/watcher/get_watch/GetWatchResponse.ts index a83f553c8a..86f6ac8f5b 100644 --- a/specification/specs/x_pack/watcher/get_watch/GetWatchResponse.ts +++ b/specification/specs/x_pack/watcher/get_watch/GetWatchResponse.ts @@ -1,6 +1,6 @@ class GetWatchResponse extends ResponseBase { - found: boolean; - _id: string; - status: WatchStatus; - watch: Watch; + found: boolean + _id: string + status: WatchStatus + watch: Watch } diff --git a/specification/specs/x_pack/watcher/input/ChainInput.ts b/specification/specs/x_pack/watcher/input/ChainInput.ts index 13fe7f3d84..b710f3e28b 100644 --- a/specification/specs/x_pack/watcher/input/ChainInput.ts +++ b/specification/specs/x_pack/watcher/input/ChainInput.ts @@ -1,4 +1,4 @@ -@class_serializer("ChainInputFormatter") +@class_serializer('ChainInputFormatter') class ChainInput { - inputs: Dictionary; + inputs: Dictionary } diff --git a/specification/specs/x_pack/watcher/input/HttpInput.ts b/specification/specs/x_pack/watcher/input/HttpInput.ts index 97d26b9d63..773da017d4 100644 --- a/specification/specs/x_pack/watcher/input/HttpInput.ts +++ b/specification/specs/x_pack/watcher/input/HttpInput.ts @@ -1,5 +1,5 @@ class HttpInput { - extract: string[]; - request: HttpInputRequest; - response_content_type: ResponseContentType; + extract: string[] + request: HttpInputRequest + response_content_type: ResponseContentType } diff --git a/specification/specs/x_pack/watcher/input/HttpInputAuthentication.ts b/specification/specs/x_pack/watcher/input/HttpInputAuthentication.ts index f7ab76425e..685de4fa04 100644 --- a/specification/specs/x_pack/watcher/input/HttpInputAuthentication.ts +++ b/specification/specs/x_pack/watcher/input/HttpInputAuthentication.ts @@ -1,3 +1,3 @@ class HttpInputAuthentication { - basic: HttpInputBasicAuthentication; + basic: HttpInputBasicAuthentication } diff --git a/specification/specs/x_pack/watcher/input/HttpInputBasicAuthentication.ts b/specification/specs/x_pack/watcher/input/HttpInputBasicAuthentication.ts index c15032c3b3..82eef1708d 100644 --- a/specification/specs/x_pack/watcher/input/HttpInputBasicAuthentication.ts +++ b/specification/specs/x_pack/watcher/input/HttpInputBasicAuthentication.ts @@ -1,4 +1,4 @@ class HttpInputBasicAuthentication { - password: string; - username: string; + password: string + username: string } diff --git a/specification/specs/x_pack/watcher/input/HttpInputProxy.ts b/specification/specs/x_pack/watcher/input/HttpInputProxy.ts index 20d18cb411..ef68720341 100644 --- a/specification/specs/x_pack/watcher/input/HttpInputProxy.ts +++ b/specification/specs/x_pack/watcher/input/HttpInputProxy.ts @@ -1,4 +1,4 @@ class HttpInputProxy { - host: string; - port: integer; + host: string + port: integer } diff --git a/specification/specs/x_pack/watcher/input/HttpInputRequest.ts b/specification/specs/x_pack/watcher/input/HttpInputRequest.ts index 66c1475fc9..7fb31a26fe 100644 --- a/specification/specs/x_pack/watcher/input/HttpInputRequest.ts +++ b/specification/specs/x_pack/watcher/input/HttpInputRequest.ts @@ -1,15 +1,15 @@ class HttpInputRequest { - auth?: HttpInputAuthentication; - body?: string; - connection_timeout?: Time; - headers?: Dictionary; - host?: string; - method?: HttpInputMethod; - params?: Dictionary; - path?: string; - port?: integer; - proxy?: HttpInputProxy; - read_timeout?: Time; - scheme?: ConnectionScheme; - url?: string; + auth?: HttpInputAuthentication + body?: string + connection_timeout?: Time + headers?: Dictionary + host?: string + method?: HttpInputMethod + params?: Dictionary + path?: string + port?: integer + proxy?: HttpInputProxy + read_timeout?: Time + scheme?: ConnectionScheme + url?: string } diff --git a/specification/specs/x_pack/watcher/input/IndicesOptions.ts b/specification/specs/x_pack/watcher/input/IndicesOptions.ts index 2ad5fc8b46..8a6915084c 100644 --- a/specification/specs/x_pack/watcher/input/IndicesOptions.ts +++ b/specification/specs/x_pack/watcher/input/IndicesOptions.ts @@ -1,5 +1,5 @@ class IndicesOptions { - allow_no_indices: boolean; - expand_wildcards: ExpandWildcards; - ignore_unavailable: boolean; + allow_no_indices: boolean + expand_wildcards: ExpandWildcards + ignore_unavailable: boolean } diff --git a/specification/specs/x_pack/watcher/input/Input.ts b/specification/specs/x_pack/watcher/input/Input.ts index b3489f4e3b..10de8a7b65 100644 --- a/specification/specs/x_pack/watcher/input/Input.ts +++ b/specification/specs/x_pack/watcher/input/Input.ts @@ -1,2 +1 @@ -class Input { -} +class Input {} diff --git a/specification/specs/x_pack/watcher/input/InputContainer.ts b/specification/specs/x_pack/watcher/input/InputContainer.ts index e08129dd6b..226c4ada6e 100644 --- a/specification/specs/x_pack/watcher/input/InputContainer.ts +++ b/specification/specs/x_pack/watcher/input/InputContainer.ts @@ -1,6 +1,6 @@ class InputContainer { - chain: ChainInput; - http: HttpInput; - search: SearchInput; - simple: SimpleInput; + chain: ChainInput + http: HttpInput + search: SearchInput + simple: SimpleInput } diff --git a/specification/specs/x_pack/watcher/input/SearchInput.ts b/specification/specs/x_pack/watcher/input/SearchInput.ts index 9e713257d7..530dd782a0 100644 --- a/specification/specs/x_pack/watcher/input/SearchInput.ts +++ b/specification/specs/x_pack/watcher/input/SearchInput.ts @@ -1,5 +1,5 @@ class SearchInput { - extract: string[]; - request: SearchInputRequest; - timeout: Time; + extract: string[] + request: SearchInputRequest + timeout: Time } diff --git a/specification/specs/x_pack/watcher/input/SearchInputRequest.ts b/specification/specs/x_pack/watcher/input/SearchInputRequest.ts index eb1d63e470..cc2fa83483 100644 --- a/specification/specs/x_pack/watcher/input/SearchInputRequest.ts +++ b/specification/specs/x_pack/watcher/input/SearchInputRequest.ts @@ -1,7 +1,7 @@ class SearchInputRequest { - body?: SearchRequest; - indices?: IndexName[]; - indices_options?: IndicesOptions; - search_type?: SearchType; - template?: SearchTemplateRequest; + body?: SearchRequest + indices?: IndexName[] + indices_options?: IndicesOptions + search_type?: SearchType + template?: SearchTemplateRequest } diff --git a/specification/specs/x_pack/watcher/input/SimpleInput.ts b/specification/specs/x_pack/watcher/input/SimpleInput.ts index 291a32d688..6d929799cc 100644 --- a/specification/specs/x_pack/watcher/input/SimpleInput.ts +++ b/specification/specs/x_pack/watcher/input/SimpleInput.ts @@ -1,4 +1,4 @@ -@class_serializer("SimpleInputFormatter") +@class_serializer('SimpleInputFormatter') class SimpleInput { - payload: Dictionary; + payload: Dictionary } diff --git a/specification/specs/x_pack/watcher/put_watch/PutWatchRequest.ts b/specification/specs/x_pack/watcher/put_watch/PutWatchRequest.ts index e2d6d3a799..9f0689174e 100644 --- a/specification/specs/x_pack/watcher/put_watch/PutWatchRequest.ts +++ b/specification/specs/x_pack/watcher/put_watch/PutWatchRequest.ts @@ -1,21 +1,21 @@ -@rest_spec_name("watcher.put_watch") +@rest_spec_name('watcher.put_watch') class PutWatchRequest extends RequestBase { path_parts?: { - id: Name; + id: Name } query_parameters?: { - active?: boolean; - if_primary_term?: long; - if_sequence_number?: long; - version?: long; + active?: boolean + if_primary_term?: long + if_sequence_number?: long + version?: long } body?: { - actions?: Dictionary; - condition?: ConditionContainer; - input?: InputContainer; - metadata?: Dictionary; - throttle_period?: string; - transform?: TransformContainer; - trigger?: TriggerContainer; + actions?: Dictionary + condition?: ConditionContainer + input?: InputContainer + metadata?: Dictionary + throttle_period?: string + transform?: TransformContainer + trigger?: TriggerContainer } } diff --git a/specification/specs/x_pack/watcher/put_watch/PutWatchResponse.ts b/specification/specs/x_pack/watcher/put_watch/PutWatchResponse.ts index 407859f6ec..7c404a9e95 100644 --- a/specification/specs/x_pack/watcher/put_watch/PutWatchResponse.ts +++ b/specification/specs/x_pack/watcher/put_watch/PutWatchResponse.ts @@ -1,7 +1,7 @@ class PutWatchResponse extends ResponseBase { - created: boolean; - _id: string; - _primary_term: long; - _seq_no: long; - _version: integer; + created: boolean + _id: string + _primary_term: long + _seq_no: long + _version: integer } diff --git a/specification/specs/x_pack/watcher/restart_watcher/RestartWatcherResponse.ts b/specification/specs/x_pack/watcher/restart_watcher/RestartWatcherResponse.ts index 96e774cb18..3ed2b6061c 100644 --- a/specification/specs/x_pack/watcher/restart_watcher/RestartWatcherResponse.ts +++ b/specification/specs/x_pack/watcher/restart_watcher/RestartWatcherResponse.ts @@ -1,2 +1 @@ -class RestartWatcherResponse extends AcknowledgedResponseBase { -} +class RestartWatcherResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/watcher/schedule/CronExpression.ts b/specification/specs/x_pack/watcher/schedule/CronExpression.ts index 6396149938..8d73400908 100644 --- a/specification/specs/x_pack/watcher/schedule/CronExpression.ts +++ b/specification/specs/x_pack/watcher/schedule/CronExpression.ts @@ -1,3 +1,2 @@ -@class_serializer("CronExpressionFormatter") -class CronExpression extends ScheduleBase { -} +@class_serializer('CronExpressionFormatter') +class CronExpression extends ScheduleBase {} diff --git a/specification/specs/x_pack/watcher/schedule/DailySchedule.ts b/specification/specs/x_pack/watcher/schedule/DailySchedule.ts index 34a7eccfba..140c304392 100644 --- a/specification/specs/x_pack/watcher/schedule/DailySchedule.ts +++ b/specification/specs/x_pack/watcher/schedule/DailySchedule.ts @@ -1,3 +1,3 @@ class DailySchedule { - at: Union; + at: Union } diff --git a/specification/specs/x_pack/watcher/schedule/HourlySchedule.ts b/specification/specs/x_pack/watcher/schedule/HourlySchedule.ts index 1dea7e35d1..eaad8274ee 100644 --- a/specification/specs/x_pack/watcher/schedule/HourlySchedule.ts +++ b/specification/specs/x_pack/watcher/schedule/HourlySchedule.ts @@ -1,3 +1,3 @@ class HourlySchedule { - minute: integer[]; + minute: integer[] } diff --git a/specification/specs/x_pack/watcher/schedule/Interval.ts b/specification/specs/x_pack/watcher/schedule/Interval.ts index 155726df29..c58a935d5b 100644 --- a/specification/specs/x_pack/watcher/schedule/Interval.ts +++ b/specification/specs/x_pack/watcher/schedule/Interval.ts @@ -1,5 +1,5 @@ -@class_serializer("IntervalFormatter") +@class_serializer('IntervalFormatter') class Interval extends ScheduleBase { - factor: long; - unit: IntervalUnit; + factor: long + unit: IntervalUnit } diff --git a/specification/specs/x_pack/watcher/schedule/Schedule.ts b/specification/specs/x_pack/watcher/schedule/Schedule.ts index 9bdf5da50e..a0ba64cd6e 100644 --- a/specification/specs/x_pack/watcher/schedule/Schedule.ts +++ b/specification/specs/x_pack/watcher/schedule/Schedule.ts @@ -1,2 +1 @@ -class Schedule { -} +class Schedule {} diff --git a/specification/specs/x_pack/watcher/schedule/ScheduleBase.ts b/specification/specs/x_pack/watcher/schedule/ScheduleBase.ts index 2ef3cec5b6..1c27be3f47 100644 --- a/specification/specs/x_pack/watcher/schedule/ScheduleBase.ts +++ b/specification/specs/x_pack/watcher/schedule/ScheduleBase.ts @@ -1,2 +1 @@ -class ScheduleBase { -} +class ScheduleBase {} diff --git a/specification/specs/x_pack/watcher/schedule/ScheduleContainer.ts b/specification/specs/x_pack/watcher/schedule/ScheduleContainer.ts index d34b81b189..3412af3ec6 100644 --- a/specification/specs/x_pack/watcher/schedule/ScheduleContainer.ts +++ b/specification/specs/x_pack/watcher/schedule/ScheduleContainer.ts @@ -1,9 +1,9 @@ class ScheduleContainer { - cron: CronExpression; - daily: DailySchedule; - hourly: HourlySchedule; - interval: Interval; - monthly: TimeOfMonth[]; - weekly: TimeOfWeek[]; - yearly: TimeOfYear[]; + cron: CronExpression + daily: DailySchedule + hourly: HourlySchedule + interval: Interval + monthly: TimeOfMonth[] + weekly: TimeOfWeek[] + yearly: TimeOfYear[] } diff --git a/specification/specs/x_pack/watcher/schedule/ScheduleTriggerEvent.ts b/specification/specs/x_pack/watcher/schedule/ScheduleTriggerEvent.ts index 1f8c840b70..c2b613e2db 100644 --- a/specification/specs/x_pack/watcher/schedule/ScheduleTriggerEvent.ts +++ b/specification/specs/x_pack/watcher/schedule/ScheduleTriggerEvent.ts @@ -1,4 +1,4 @@ class ScheduleTriggerEvent { - scheduled_time: Union; - triggered_time: Union; + scheduled_time: Union + triggered_time: Union } diff --git a/specification/specs/x_pack/watcher/schedule/TimeOfDay.ts b/specification/specs/x_pack/watcher/schedule/TimeOfDay.ts index 4a1d6f6b3b..af0bd28aa4 100644 --- a/specification/specs/x_pack/watcher/schedule/TimeOfDay.ts +++ b/specification/specs/x_pack/watcher/schedule/TimeOfDay.ts @@ -1,4 +1,4 @@ class TimeOfDay { - hour: integer[]; - minute: integer[]; + hour: integer[] + minute: integer[] } diff --git a/specification/specs/x_pack/watcher/schedule/TimeOfMonth.ts b/specification/specs/x_pack/watcher/schedule/TimeOfMonth.ts index 1ca23a5b5d..cac1a2f5a0 100644 --- a/specification/specs/x_pack/watcher/schedule/TimeOfMonth.ts +++ b/specification/specs/x_pack/watcher/schedule/TimeOfMonth.ts @@ -1,6 +1,6 @@ class TimeOfMonth { /** @prop_serializer SingleOrEnumerableFormatter`1 */ - at: string[]; + at: string[] /** @prop_serializer SingleOrEnumerableFormatter`1 */ - on: integer[]; + on: integer[] } diff --git a/specification/specs/x_pack/watcher/schedule/TimeOfWeek.ts b/specification/specs/x_pack/watcher/schedule/TimeOfWeek.ts index 1e83ffa932..e5537f9d45 100644 --- a/specification/specs/x_pack/watcher/schedule/TimeOfWeek.ts +++ b/specification/specs/x_pack/watcher/schedule/TimeOfWeek.ts @@ -1,6 +1,6 @@ class TimeOfWeek { /** @prop_serializer SingleOrEnumerableFormatter`1 */ - at: string[]; + at: string[] /** @prop_serializer SingleOrEnumerableFormatter`1 */ - on: Day[]; + on: Day[] } diff --git a/specification/specs/x_pack/watcher/schedule/TimeOfYear.ts b/specification/specs/x_pack/watcher/schedule/TimeOfYear.ts index 5ae81e8f19..37366133c8 100644 --- a/specification/specs/x_pack/watcher/schedule/TimeOfYear.ts +++ b/specification/specs/x_pack/watcher/schedule/TimeOfYear.ts @@ -1,8 +1,8 @@ class TimeOfYear { /** @prop_serializer SingleOrEnumerableFormatter`1 */ - at: string[]; + at: string[] /** @prop_serializer SingleOrEnumerableFormatter`1 */ - int: Month[]; + int: Month[] /** @prop_serializer SingleOrEnumerableFormatter`1 */ - on: integer[]; + on: integer[] } diff --git a/specification/specs/x_pack/watcher/start_watcher/StartWatcherRequest.ts b/specification/specs/x_pack/watcher/start_watcher/StartWatcherRequest.ts index b1cedb641b..f0d7574be9 100644 --- a/specification/specs/x_pack/watcher/start_watcher/StartWatcherRequest.ts +++ b/specification/specs/x_pack/watcher/start_watcher/StartWatcherRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("watcher.start") +@rest_spec_name('watcher.start') class StartWatcherRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/watcher/start_watcher/StartWatcherResponse.ts b/specification/specs/x_pack/watcher/start_watcher/StartWatcherResponse.ts index 346829f144..2748e12d43 100644 --- a/specification/specs/x_pack/watcher/start_watcher/StartWatcherResponse.ts +++ b/specification/specs/x_pack/watcher/start_watcher/StartWatcherResponse.ts @@ -1,2 +1 @@ -class StartWatcherResponse extends AcknowledgedResponseBase { -} +class StartWatcherResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/watcher/stop_watcher/StopWatcherRequest.ts b/specification/specs/x_pack/watcher/stop_watcher/StopWatcherRequest.ts index 6aa69a3143..ce1ded17b4 100644 --- a/specification/specs/x_pack/watcher/stop_watcher/StopWatcherRequest.ts +++ b/specification/specs/x_pack/watcher/stop_watcher/StopWatcherRequest.ts @@ -1,7 +1,5 @@ -@rest_spec_name("watcher.stop") +@rest_spec_name('watcher.stop') class StopWatcherRequest extends RequestBase { - query_parameters?: { - } - body?: { - } + query_parameters?: {} + body?: {} } diff --git a/specification/specs/x_pack/watcher/stop_watcher/StopWatcherResponse.ts b/specification/specs/x_pack/watcher/stop_watcher/StopWatcherResponse.ts index a5a23e1749..4360ac856e 100644 --- a/specification/specs/x_pack/watcher/stop_watcher/StopWatcherResponse.ts +++ b/specification/specs/x_pack/watcher/stop_watcher/StopWatcherResponse.ts @@ -1,2 +1 @@ -class StopWatcherResponse extends AcknowledgedResponseBase { -} +class StopWatcherResponse extends AcknowledgedResponseBase {} diff --git a/specification/specs/x_pack/watcher/transform/ChainTransform.ts b/specification/specs/x_pack/watcher/transform/ChainTransform.ts index cad21a4e18..8d1716ab60 100644 --- a/specification/specs/x_pack/watcher/transform/ChainTransform.ts +++ b/specification/specs/x_pack/watcher/transform/ChainTransform.ts @@ -1,4 +1,4 @@ -@class_serializer("ChainTransformFormatter") +@class_serializer('ChainTransformFormatter') class ChainTransform { - transforms: TransformContainer[]; + transforms: TransformContainer[] } diff --git a/specification/specs/x_pack/watcher/transform/ScriptTransform.ts b/specification/specs/x_pack/watcher/transform/ScriptTransform.ts index 126ab75481..f8415c3e1c 100644 --- a/specification/specs/x_pack/watcher/transform/ScriptTransform.ts +++ b/specification/specs/x_pack/watcher/transform/ScriptTransform.ts @@ -1,5 +1,5 @@ -@class_serializer("ScriptTransformFormatter") +@class_serializer('ScriptTransformFormatter') class ScriptTransform { - lang: string; - params: Dictionary; + lang: string + params: Dictionary } diff --git a/specification/specs/x_pack/watcher/transform/SearchTransform.ts b/specification/specs/x_pack/watcher/transform/SearchTransform.ts index 7a7b0a3253..9f03178f26 100644 --- a/specification/specs/x_pack/watcher/transform/SearchTransform.ts +++ b/specification/specs/x_pack/watcher/transform/SearchTransform.ts @@ -1,4 +1,4 @@ class SearchTransform { - request: SearchInputRequest; - timeout: Time; + request: SearchInputRequest + timeout: Time } diff --git a/specification/specs/x_pack/watcher/transform/Transform.ts b/specification/specs/x_pack/watcher/transform/Transform.ts index 62b314f0c4..505f0c3650 100644 --- a/specification/specs/x_pack/watcher/transform/Transform.ts +++ b/specification/specs/x_pack/watcher/transform/Transform.ts @@ -1,2 +1 @@ -class Transform { -} +class Transform {} diff --git a/specification/specs/x_pack/watcher/transform/TransformContainer.ts b/specification/specs/x_pack/watcher/transform/TransformContainer.ts index a793f34e95..3a6db2d5db 100644 --- a/specification/specs/x_pack/watcher/transform/TransformContainer.ts +++ b/specification/specs/x_pack/watcher/transform/TransformContainer.ts @@ -1,5 +1,5 @@ class TransformContainer { - chain: ChainTransform; - script: ScriptTransform; - search: SearchTransform; + chain: ChainTransform + script: ScriptTransform + search: SearchTransform } diff --git a/specification/specs/x_pack/watcher/trigger/TriggerContainer.ts b/specification/specs/x_pack/watcher/trigger/TriggerContainer.ts index 886dabadad..fcdfb46e8b 100644 --- a/specification/specs/x_pack/watcher/trigger/TriggerContainer.ts +++ b/specification/specs/x_pack/watcher/trigger/TriggerContainer.ts @@ -1,4 +1,4 @@ -@class_serializer("TriggerContainerInterfaceFormatter") +@class_serializer('TriggerContainerInterfaceFormatter') class TriggerContainer { - schedule: ScheduleContainer; + schedule: ScheduleContainer } diff --git a/specification/specs/x_pack/watcher/trigger/TriggerEvent.ts b/specification/specs/x_pack/watcher/trigger/TriggerEvent.ts index 819481cba3..59f7fcd3d8 100644 --- a/specification/specs/x_pack/watcher/trigger/TriggerEvent.ts +++ b/specification/specs/x_pack/watcher/trigger/TriggerEvent.ts @@ -1,2 +1 @@ -class TriggerEvent { -} +class TriggerEvent {} diff --git a/specification/specs/x_pack/watcher/trigger/TriggerEventContainer.ts b/specification/specs/x_pack/watcher/trigger/TriggerEventContainer.ts index 7d31249521..717d21488a 100644 --- a/specification/specs/x_pack/watcher/trigger/TriggerEventContainer.ts +++ b/specification/specs/x_pack/watcher/trigger/TriggerEventContainer.ts @@ -1,3 +1,3 @@ class TriggerEventContainer { - schedule: ScheduleTriggerEvent; + schedule: ScheduleTriggerEvent } diff --git a/specification/specs/x_pack/watcher/watcher_stats/ExecutionThreadPool.ts b/specification/specs/x_pack/watcher/watcher_stats/ExecutionThreadPool.ts index 7eeb4c02a8..9ecd0f089e 100644 --- a/specification/specs/x_pack/watcher/watcher_stats/ExecutionThreadPool.ts +++ b/specification/specs/x_pack/watcher/watcher_stats/ExecutionThreadPool.ts @@ -1,4 +1,4 @@ class ExecutionThreadPool { - max_size: long; - queue_size: long; + max_size: long + queue_size: long } diff --git a/specification/specs/x_pack/watcher/watcher_stats/WatchRecordQueuedStats.ts b/specification/specs/x_pack/watcher/watcher_stats/WatchRecordQueuedStats.ts index edf5fd32f1..e345abc465 100644 --- a/specification/specs/x_pack/watcher/watcher_stats/WatchRecordQueuedStats.ts +++ b/specification/specs/x_pack/watcher/watcher_stats/WatchRecordQueuedStats.ts @@ -1,6 +1,6 @@ class WatchRecordQueuedStats { - execution_time: Date; - triggered_time: Date; - watch_id: string; - watch_record_id: string; + execution_time: Date + triggered_time: Date + watch_id: string + watch_record_id: string } diff --git a/specification/specs/x_pack/watcher/watcher_stats/WatchRecordStats.ts b/specification/specs/x_pack/watcher/watcher_stats/WatchRecordStats.ts index b4ffb653d6..41a374e579 100644 --- a/specification/specs/x_pack/watcher/watcher_stats/WatchRecordStats.ts +++ b/specification/specs/x_pack/watcher/watcher_stats/WatchRecordStats.ts @@ -1,3 +1,3 @@ class WatchRecordStats extends WatchRecordQueuedStats { - execution_phase: ExecutionPhase; + execution_phase: ExecutionPhase } diff --git a/specification/specs/x_pack/watcher/watcher_stats/WatcherNodeStats.ts b/specification/specs/x_pack/watcher/watcher_stats/WatcherNodeStats.ts index 159c8bbec1..b1a6246e9f 100644 --- a/specification/specs/x_pack/watcher/watcher_stats/WatcherNodeStats.ts +++ b/specification/specs/x_pack/watcher/watcher_stats/WatcherNodeStats.ts @@ -1,7 +1,7 @@ class WatcherNodeStats { - current_watches: WatchRecordStats[]; - execution_thread_pool: ExecutionThreadPool; - queued_watches: WatchRecordQueuedStats[]; - watch_count: long; - watcher_state: WatcherState; + current_watches: WatchRecordStats[] + execution_thread_pool: ExecutionThreadPool + queued_watches: WatchRecordQueuedStats[] + watch_count: long + watcher_state: WatcherState } diff --git a/specification/specs/x_pack/watcher/watcher_stats/WatcherStatsRequest.ts b/specification/specs/x_pack/watcher/watcher_stats/WatcherStatsRequest.ts index dae5579602..07d4b919bc 100644 --- a/specification/specs/x_pack/watcher/watcher_stats/WatcherStatsRequest.ts +++ b/specification/specs/x_pack/watcher/watcher_stats/WatcherStatsRequest.ts @@ -1,11 +1,10 @@ -@rest_spec_name("watcher.stats") +@rest_spec_name('watcher.stats') class WatcherStatsRequest extends RequestBase { path_parts?: { - metric?: Metrics; + metric?: Metrics } query_parameters?: { - emit_stacktraces?: boolean; - } - body?: { + emit_stacktraces?: boolean } + body?: {} } diff --git a/specification/specs/x_pack/watcher/watcher_stats/WatcherStatsResponse.ts b/specification/specs/x_pack/watcher/watcher_stats/WatcherStatsResponse.ts index 5d52b363d4..dc187bd7b2 100644 --- a/specification/specs/x_pack/watcher/watcher_stats/WatcherStatsResponse.ts +++ b/specification/specs/x_pack/watcher/watcher_stats/WatcherStatsResponse.ts @@ -1,5 +1,5 @@ class WatcherStatsResponse extends ResponseBase { - cluster_name: string; - manually_stopped: boolean; - stats: WatcherNodeStats[]; + cluster_name: string + manually_stopped: boolean + stats: WatcherNodeStats[] } diff --git a/specification/src/specification/type-reader.ts b/specification/src/specification/type-reader.ts index eecb34686c..d08f2d5b53 100644 --- a/specification/src/specification/type-reader.ts +++ b/specification/src/specification/type-reader.ts @@ -60,7 +60,7 @@ class InterfaceVisitor extends Visitor { .find(t => t.startsWith('rest_spec_name')) // only exists on requests - const restSpec = decorator ? decorator.split('"')[1] : null + const restSpec = decorator ? decorator.split("'")[1] : null if (restSpec) { let responseName = n.replace('Request', 'Response') this.specMapping = new RestSpecMapping(restSpec, n, responseName)