@elastic/schemas 0.4.4 → 0.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (655) hide show
  1. package/lib/cjs/es/json/async_search.submit.request.json +1 -1
  2. package/lib/cjs/es/json/bulk.request.json +1 -1
  3. package/lib/cjs/es/json/cat.circuit_breaker.request.json +1 -1
  4. package/lib/cjs/es/json/ccr.follow.request.json +1 -1
  5. package/lib/cjs/es/json/ccr.forget_follower.request.json +1 -1
  6. package/lib/cjs/es/json/ccr.put_auto_follow_pattern.request.json +1 -1
  7. package/lib/cjs/es/json/ccr.resume_follow.request.json +1 -1
  8. package/lib/cjs/es/json/cluster.allocation_explain.request.json +1 -1
  9. package/lib/cjs/es/json/cluster.get_component_template.request.json +1 -1
  10. package/lib/cjs/es/json/cluster.put_component_template.request.json +1 -1
  11. package/lib/cjs/es/json/cluster.put_settings.request.json +1 -1
  12. package/lib/cjs/es/json/cluster.reroute.request.json +1 -1
  13. package/lib/cjs/es/json/connector.sync_job_list.request.json +1 -1
  14. package/lib/cjs/es/json/count.request.json +1 -1
  15. package/lib/cjs/es/json/create.request.json +1 -1
  16. package/lib/cjs/es/json/delete_by_query.request.json +1 -1
  17. package/lib/cjs/es/json/enrich.put_policy.request.json +1 -1
  18. package/lib/cjs/es/json/eql.search.request.json +1 -1
  19. package/lib/cjs/es/json/esql.async_query.request.json +1 -1
  20. package/lib/cjs/es/json/esql.query.request.json +1 -1
  21. package/lib/cjs/es/json/explain.request.json +1 -1
  22. package/lib/cjs/es/json/field_caps.request.json +1 -1
  23. package/lib/cjs/es/json/fleet.global_checkpoints.request.json +1 -1
  24. package/lib/cjs/es/json/fleet.msearch.request.json +1 -1
  25. package/lib/cjs/es/json/fleet.search.request.json +1 -1
  26. package/lib/cjs/es/json/graph.explore.request.json +1 -1
  27. package/lib/cjs/es/json/health_report.request.json +1 -1
  28. package/lib/cjs/es/json/ilm.migrate_to_data_tiers.request.json +1 -1
  29. package/lib/cjs/es/json/ilm.put_lifecycle.request.json +1 -1
  30. package/lib/cjs/es/json/index.request.json +1 -1
  31. package/lib/cjs/es/json/indices.analyze.request.json +1 -1
  32. package/lib/cjs/es/json/indices.clone.request.json +1 -1
  33. package/lib/cjs/es/json/indices.create.request.json +1 -1
  34. package/lib/cjs/es/json/indices.create_from.request.json +1 -1
  35. package/lib/cjs/es/json/indices.downsample.request.json +1 -1
  36. package/lib/cjs/es/json/indices.forcemerge.request.json +1 -1
  37. package/lib/cjs/es/json/indices.migrate_reindex.request.json +1 -1
  38. package/lib/cjs/es/json/indices.put_alias.request.json +1 -1
  39. package/lib/cjs/es/json/indices.put_data_lifecycle.request.json +1 -1
  40. package/lib/cjs/es/json/indices.put_data_stream_mappings.request.json +1 -1
  41. package/lib/cjs/es/json/indices.put_data_stream_options.request.json +1 -1
  42. package/lib/cjs/es/json/indices.put_data_stream_settings.request.json +1 -1
  43. package/lib/cjs/es/json/indices.put_index_template.request.json +1 -1
  44. package/lib/cjs/es/json/indices.put_mapping.request.json +1 -1
  45. package/lib/cjs/es/json/indices.put_settings.request.json +1 -1
  46. package/lib/cjs/es/json/indices.put_template.request.json +1 -1
  47. package/lib/cjs/es/json/indices.resolve_index.request.json +1 -1
  48. package/lib/cjs/es/json/indices.rollover.request.json +1 -1
  49. package/lib/cjs/es/json/indices.shard_stores.request.json +1 -1
  50. package/lib/cjs/es/json/indices.shrink.request.json +1 -1
  51. package/lib/cjs/es/json/indices.simulate_index_template.request.json +1 -1
  52. package/lib/cjs/es/json/indices.simulate_template.request.json +1 -1
  53. package/lib/cjs/es/json/indices.split.request.json +1 -1
  54. package/lib/cjs/es/json/indices.stats.request.json +1 -1
  55. package/lib/cjs/es/json/indices.update_aliases.request.json +1 -1
  56. package/lib/cjs/es/json/indices.validate_query.request.json +1 -1
  57. package/lib/cjs/es/json/inference.chat_completion_unified.request.json +1 -1
  58. package/lib/cjs/es/json/inference.completion.request.json +1 -1
  59. package/lib/cjs/es/json/inference.embedding.request.json +1 -1
  60. package/lib/cjs/es/json/inference.inference.request.json +1 -1
  61. package/lib/cjs/es/json/inference.put.request.json +1 -1
  62. package/lib/cjs/es/json/inference.put_ai21.request.json +1 -1
  63. package/lib/cjs/es/json/inference.put_alibabacloud.request.json +1 -1
  64. package/lib/cjs/es/json/inference.put_amazonbedrock.request.json +1 -1
  65. package/lib/cjs/es/json/inference.put_amazonsagemaker.request.json +1 -1
  66. package/lib/cjs/es/json/inference.put_anthropic.request.json +1 -1
  67. package/lib/cjs/es/json/inference.put_azureaistudio.request.json +1 -1
  68. package/lib/cjs/es/json/inference.put_azureopenai.request.json +1 -1
  69. package/lib/cjs/es/json/inference.put_cohere.request.json +1 -1
  70. package/lib/cjs/es/json/inference.put_contextualai.request.json +1 -1
  71. package/lib/cjs/es/json/inference.put_deepseek.request.json +1 -1
  72. package/lib/cjs/es/json/inference.put_elasticsearch.request.json +1 -1
  73. package/lib/cjs/es/json/inference.put_elser.request.json +1 -1
  74. package/lib/cjs/es/json/inference.put_fireworksai.request.json +1 -1
  75. package/lib/cjs/es/json/inference.put_googleaistudio.request.json +1 -1
  76. package/lib/cjs/es/json/inference.put_googlevertexai.request.json +1 -1
  77. package/lib/cjs/es/json/inference.put_groq.request.json +1 -1
  78. package/lib/cjs/es/json/inference.put_hugging_face.request.json +1 -1
  79. package/lib/cjs/es/json/inference.put_jinaai.request.json +1 -1
  80. package/lib/cjs/es/json/inference.put_llama.request.json +1 -1
  81. package/lib/cjs/es/json/inference.put_mistral.request.json +1 -1
  82. package/lib/cjs/es/json/inference.put_nvidia.request.json +1 -1
  83. package/lib/cjs/es/json/inference.put_openai.request.json +1 -1
  84. package/lib/cjs/es/json/inference.put_openshift_ai.request.json +1 -1
  85. package/lib/cjs/es/json/inference.put_region_policy.request.json +1 -1
  86. package/lib/cjs/es/json/inference.put_voyageai.request.json +1 -1
  87. package/lib/cjs/es/json/inference.put_watsonx.request.json +1 -1
  88. package/lib/cjs/es/json/inference.rerank.request.json +1 -1
  89. package/lib/cjs/es/json/inference.sparse_embedding.request.json +1 -1
  90. package/lib/cjs/es/json/inference.stream_completion.request.json +1 -1
  91. package/lib/cjs/es/json/inference.text_embedding.request.json +1 -1
  92. package/lib/cjs/es/json/inference.update.request.json +1 -1
  93. package/lib/cjs/es/json/ingest.put_geoip_database.request.json +1 -1
  94. package/lib/cjs/es/json/ingest.put_ip_location_database.request.json +1 -1
  95. package/lib/cjs/es/json/ingest.put_pipeline.request.json +1 -1
  96. package/lib/cjs/es/json/ingest.simulate.request.json +1 -1
  97. package/lib/cjs/es/json/license.post.request.json +1 -1
  98. package/lib/cjs/es/json/logstash.put_pipeline.request.json +1 -1
  99. package/lib/cjs/es/json/mget.request.json +1 -1
  100. package/lib/cjs/es/json/ml.close_job.request.json +1 -1
  101. package/lib/cjs/es/json/ml.delete_expired_data.request.json +1 -1
  102. package/lib/cjs/es/json/ml.flush_job.request.json +1 -1
  103. package/lib/cjs/es/json/ml.forecast.request.json +1 -1
  104. package/lib/cjs/es/json/ml.get_buckets.request.json +1 -1
  105. package/lib/cjs/es/json/ml.get_calendars.request.json +1 -1
  106. package/lib/cjs/es/json/ml.get_categories.request.json +1 -1
  107. package/lib/cjs/es/json/ml.get_influencers.request.json +1 -1
  108. package/lib/cjs/es/json/ml.get_model_snapshots.request.json +1 -1
  109. package/lib/cjs/es/json/ml.get_overall_buckets.request.json +1 -1
  110. package/lib/cjs/es/json/ml.get_records.request.json +1 -1
  111. package/lib/cjs/es/json/ml.get_trained_models.request.json +1 -1
  112. package/lib/cjs/es/json/ml.infer_trained_model.request.json +1 -1
  113. package/lib/cjs/es/json/ml.open_job.request.json +1 -1
  114. package/lib/cjs/es/json/ml.post_data.request.json +1 -1
  115. package/lib/cjs/es/json/ml.preview_datafeed.request.json +1 -1
  116. package/lib/cjs/es/json/ml.put_datafeed.request.json +1 -1
  117. package/lib/cjs/es/json/ml.put_job.request.json +1 -1
  118. package/lib/cjs/es/json/ml.put_trained_model.request.json +1 -1
  119. package/lib/cjs/es/json/ml.revert_model_snapshot.request.json +1 -1
  120. package/lib/cjs/es/json/ml.start_data_frame_analytics.request.json +1 -1
  121. package/lib/cjs/es/json/ml.start_datafeed.request.json +1 -1
  122. package/lib/cjs/es/json/ml.start_trained_model_deployment.request.json +1 -1
  123. package/lib/cjs/es/json/ml.stop_data_frame_analytics.request.json +1 -1
  124. package/lib/cjs/es/json/ml.stop_datafeed.request.json +1 -1
  125. package/lib/cjs/es/json/ml.stop_trained_model_deployment.request.json +1 -1
  126. package/lib/cjs/es/json/ml.update_datafeed.request.json +1 -1
  127. package/lib/cjs/es/json/ml.update_trained_model_deployment.request.json +1 -1
  128. package/lib/cjs/es/json/msearch.request.json +1 -1
  129. package/lib/cjs/es/json/msearch_template.request.json +1 -1
  130. package/lib/cjs/es/json/mtermvectors.request.json +1 -1
  131. package/lib/cjs/es/json/nodes.reload_secure_settings.request.json +1 -1
  132. package/lib/cjs/es/json/open_point_in_time.request.json +1 -1
  133. package/lib/cjs/es/json/project.create_many_routing.request.json +1 -1
  134. package/lib/cjs/es/json/project.create_routing.request.json +1 -1
  135. package/lib/cjs/es/json/put_script.request.json +1 -1
  136. package/lib/cjs/es/json/query_rules.put_rule.request.json +1 -1
  137. package/lib/cjs/es/json/query_rules.put_ruleset.request.json +1 -1
  138. package/lib/cjs/es/json/rank_eval.request.json +1 -1
  139. package/lib/cjs/es/json/reindex.request.json +1 -1
  140. package/lib/cjs/es/json/rollup.rollup_search.request.json +1 -1
  141. package/lib/cjs/es/json/scroll.request.json +1 -1
  142. package/lib/cjs/es/json/search.request.json +1 -1
  143. package/lib/cjs/es/json/search_application.post_behavioral_analytics_event.request.json +1 -1
  144. package/lib/cjs/es/json/search_application.put.request.json +1 -1
  145. package/lib/cjs/es/json/search_application.search.request.json +1 -1
  146. package/lib/cjs/es/json/search_mvt.request.json +1 -1
  147. package/lib/cjs/es/json/search_template.request.json +1 -1
  148. package/lib/cjs/es/json/searchable_snapshots.mount.request.json +1 -1
  149. package/lib/cjs/es/json/security.bulk_delete_role.request.json +1 -1
  150. package/lib/cjs/es/json/security.bulk_put_role.request.json +1 -1
  151. package/lib/cjs/es/json/security.bulk_update_api_keys.request.json +1 -1
  152. package/lib/cjs/es/json/security.change_password.request.json +1 -1
  153. package/lib/cjs/es/json/security.clone_api_key.request.json +1 -1
  154. package/lib/cjs/es/json/security.create_api_key.request.json +1 -1
  155. package/lib/cjs/es/json/security.get_user.request.json +1 -1
  156. package/lib/cjs/es/json/security.get_user_profile.request.json +1 -1
  157. package/lib/cjs/es/json/security.grant_api_key.request.json +1 -1
  158. package/lib/cjs/es/json/security.put_privileges.request.json +1 -1
  159. package/lib/cjs/es/json/security.put_role.request.json +1 -1
  160. package/lib/cjs/es/json/security.put_role_mapping.request.json +1 -1
  161. package/lib/cjs/es/json/security.put_user.request.json +1 -1
  162. package/lib/cjs/es/json/security.query_api_keys.request.json +1 -1
  163. package/lib/cjs/es/json/security.query_user.request.json +1 -1
  164. package/lib/cjs/es/json/security.suggest_user_profiles.request.json +1 -1
  165. package/lib/cjs/es/json/security.update_settings.request.json +1 -1
  166. package/lib/cjs/es/json/security.update_user_profile_data.request.json +1 -1
  167. package/lib/cjs/es/json/simulate.ingest.request.json +1 -1
  168. package/lib/cjs/es/json/slm.put_lifecycle.request.json +1 -1
  169. package/lib/cjs/es/json/snapshot.clone.request.json +1 -1
  170. package/lib/cjs/es/json/snapshot.create.request.json +1 -1
  171. package/lib/cjs/es/json/snapshot.get.request.json +1 -1
  172. package/lib/cjs/es/json/snapshot.restore.request.json +1 -1
  173. package/lib/cjs/es/json/sql.query.request.json +1 -1
  174. package/lib/cjs/es/json/synonyms.put_synonym.request.json +1 -1
  175. package/lib/cjs/es/json/synonyms.put_synonym_rule.request.json +1 -1
  176. package/lib/cjs/es/json/tasks.cancel.request.json +1 -1
  177. package/lib/cjs/es/json/tasks.list.request.json +1 -1
  178. package/lib/cjs/es/json/termvectors.request.json +1 -1
  179. package/lib/cjs/es/json/text_structure.find_field_structure.request.json +1 -1
  180. package/lib/cjs/es/json/text_structure.find_message_structure.request.json +1 -1
  181. package/lib/cjs/es/json/text_structure.find_structure.request.json +1 -1
  182. package/lib/cjs/es/json/text_structure.test_grok_pattern.request.json +1 -1
  183. package/lib/cjs/es/json/transform.preview_transform.request.json +1 -1
  184. package/lib/cjs/es/json/transform.put_transform.request.json +1 -1
  185. package/lib/cjs/es/json/transform.update_transform.request.json +1 -1
  186. package/lib/cjs/es/json/update.request.json +1 -1
  187. package/lib/cjs/es/json/update_by_query.request.json +1 -1
  188. package/lib/cjs/es/json/watcher.execute_watch.request.json +1 -1
  189. package/lib/cjs/es/json/watcher.put_watch.request.json +1 -1
  190. package/lib/cjs/es/json/watcher.stats.request.json +1 -1
  191. package/lib/cjs/es/json/watcher.update_settings.request.json +1 -1
  192. package/lib/cjs/es/schemas/indices.forcemerge.d.ts +3 -4
  193. package/lib/cjs/es/schemas/indices.forcemerge.d.ts.map +1 -1
  194. package/lib/cjs/es/schemas/indices.forcemerge.js +3 -4
  195. package/lib/cjs/es/schemas/indices.forcemerge.js.map +1 -1
  196. package/lib/cjs/serverless/schemas/get_traffic_filter_metadata.d.ts +7 -3
  197. package/lib/cjs/serverless/schemas/get_traffic_filter_metadata.d.ts.map +1 -1
  198. package/lib/cjs/serverless/schemas/get_traffic_filter_metadata.js +3 -3
  199. package/lib/cjs/serverless/schemas/get_traffic_filter_metadata.js.map +1 -1
  200. package/lib/es/json/async_search.submit.request.json +1 -1
  201. package/lib/es/json/bulk.request.json +1 -1
  202. package/lib/es/json/cat.circuit_breaker.request.json +1 -1
  203. package/lib/es/json/ccr.follow.request.json +1 -1
  204. package/lib/es/json/ccr.forget_follower.request.json +1 -1
  205. package/lib/es/json/ccr.put_auto_follow_pattern.request.json +1 -1
  206. package/lib/es/json/ccr.resume_follow.request.json +1 -1
  207. package/lib/es/json/cluster.allocation_explain.request.json +1 -1
  208. package/lib/es/json/cluster.get_component_template.request.json +1 -1
  209. package/lib/es/json/cluster.put_component_template.request.json +1 -1
  210. package/lib/es/json/cluster.put_settings.request.json +1 -1
  211. package/lib/es/json/cluster.reroute.request.json +1 -1
  212. package/lib/es/json/connector.sync_job_list.request.json +1 -1
  213. package/lib/es/json/count.request.json +1 -1
  214. package/lib/es/json/create.request.json +1 -1
  215. package/lib/es/json/delete_by_query.request.json +1 -1
  216. package/lib/es/json/enrich.put_policy.request.json +1 -1
  217. package/lib/es/json/eql.search.request.json +1 -1
  218. package/lib/es/json/esql.async_query.request.json +1 -1
  219. package/lib/es/json/esql.query.request.json +1 -1
  220. package/lib/es/json/explain.request.json +1 -1
  221. package/lib/es/json/field_caps.request.json +1 -1
  222. package/lib/es/json/fleet.global_checkpoints.request.json +1 -1
  223. package/lib/es/json/fleet.msearch.request.json +1 -1
  224. package/lib/es/json/fleet.search.request.json +1 -1
  225. package/lib/es/json/graph.explore.request.json +1 -1
  226. package/lib/es/json/health_report.request.json +1 -1
  227. package/lib/es/json/ilm.migrate_to_data_tiers.request.json +1 -1
  228. package/lib/es/json/ilm.put_lifecycle.request.json +1 -1
  229. package/lib/es/json/index.request.json +1 -1
  230. package/lib/es/json/indices.analyze.request.json +1 -1
  231. package/lib/es/json/indices.clone.request.json +1 -1
  232. package/lib/es/json/indices.create.request.json +1 -1
  233. package/lib/es/json/indices.create_from.request.json +1 -1
  234. package/lib/es/json/indices.downsample.request.json +1 -1
  235. package/lib/es/json/indices.forcemerge.request.json +1 -1
  236. package/lib/es/json/indices.migrate_reindex.request.json +1 -1
  237. package/lib/es/json/indices.put_alias.request.json +1 -1
  238. package/lib/es/json/indices.put_data_lifecycle.request.json +1 -1
  239. package/lib/es/json/indices.put_data_stream_mappings.request.json +1 -1
  240. package/lib/es/json/indices.put_data_stream_options.request.json +1 -1
  241. package/lib/es/json/indices.put_data_stream_settings.request.json +1 -1
  242. package/lib/es/json/indices.put_index_template.request.json +1 -1
  243. package/lib/es/json/indices.put_mapping.request.json +1 -1
  244. package/lib/es/json/indices.put_settings.request.json +1 -1
  245. package/lib/es/json/indices.put_template.request.json +1 -1
  246. package/lib/es/json/indices.resolve_index.request.json +1 -1
  247. package/lib/es/json/indices.rollover.request.json +1 -1
  248. package/lib/es/json/indices.shard_stores.request.json +1 -1
  249. package/lib/es/json/indices.shrink.request.json +1 -1
  250. package/lib/es/json/indices.simulate_index_template.request.json +1 -1
  251. package/lib/es/json/indices.simulate_template.request.json +1 -1
  252. package/lib/es/json/indices.split.request.json +1 -1
  253. package/lib/es/json/indices.stats.request.json +1 -1
  254. package/lib/es/json/indices.update_aliases.request.json +1 -1
  255. package/lib/es/json/indices.validate_query.request.json +1 -1
  256. package/lib/es/json/inference.chat_completion_unified.request.json +1 -1
  257. package/lib/es/json/inference.completion.request.json +1 -1
  258. package/lib/es/json/inference.embedding.request.json +1 -1
  259. package/lib/es/json/inference.inference.request.json +1 -1
  260. package/lib/es/json/inference.put.request.json +1 -1
  261. package/lib/es/json/inference.put_ai21.request.json +1 -1
  262. package/lib/es/json/inference.put_alibabacloud.request.json +1 -1
  263. package/lib/es/json/inference.put_amazonbedrock.request.json +1 -1
  264. package/lib/es/json/inference.put_amazonsagemaker.request.json +1 -1
  265. package/lib/es/json/inference.put_anthropic.request.json +1 -1
  266. package/lib/es/json/inference.put_azureaistudio.request.json +1 -1
  267. package/lib/es/json/inference.put_azureopenai.request.json +1 -1
  268. package/lib/es/json/inference.put_cohere.request.json +1 -1
  269. package/lib/es/json/inference.put_contextualai.request.json +1 -1
  270. package/lib/es/json/inference.put_deepseek.request.json +1 -1
  271. package/lib/es/json/inference.put_elasticsearch.request.json +1 -1
  272. package/lib/es/json/inference.put_elser.request.json +1 -1
  273. package/lib/es/json/inference.put_fireworksai.request.json +1 -1
  274. package/lib/es/json/inference.put_googleaistudio.request.json +1 -1
  275. package/lib/es/json/inference.put_googlevertexai.request.json +1 -1
  276. package/lib/es/json/inference.put_groq.request.json +1 -1
  277. package/lib/es/json/inference.put_hugging_face.request.json +1 -1
  278. package/lib/es/json/inference.put_jinaai.request.json +1 -1
  279. package/lib/es/json/inference.put_llama.request.json +1 -1
  280. package/lib/es/json/inference.put_mistral.request.json +1 -1
  281. package/lib/es/json/inference.put_nvidia.request.json +1 -1
  282. package/lib/es/json/inference.put_openai.request.json +1 -1
  283. package/lib/es/json/inference.put_openshift_ai.request.json +1 -1
  284. package/lib/es/json/inference.put_region_policy.request.json +1 -1
  285. package/lib/es/json/inference.put_voyageai.request.json +1 -1
  286. package/lib/es/json/inference.put_watsonx.request.json +1 -1
  287. package/lib/es/json/inference.rerank.request.json +1 -1
  288. package/lib/es/json/inference.sparse_embedding.request.json +1 -1
  289. package/lib/es/json/inference.stream_completion.request.json +1 -1
  290. package/lib/es/json/inference.text_embedding.request.json +1 -1
  291. package/lib/es/json/inference.update.request.json +1 -1
  292. package/lib/es/json/ingest.put_geoip_database.request.json +1 -1
  293. package/lib/es/json/ingest.put_ip_location_database.request.json +1 -1
  294. package/lib/es/json/ingest.put_pipeline.request.json +1 -1
  295. package/lib/es/json/ingest.simulate.request.json +1 -1
  296. package/lib/es/json/license.post.request.json +1 -1
  297. package/lib/es/json/logstash.put_pipeline.request.json +1 -1
  298. package/lib/es/json/mget.request.json +1 -1
  299. package/lib/es/json/ml.close_job.request.json +1 -1
  300. package/lib/es/json/ml.delete_expired_data.request.json +1 -1
  301. package/lib/es/json/ml.flush_job.request.json +1 -1
  302. package/lib/es/json/ml.forecast.request.json +1 -1
  303. package/lib/es/json/ml.get_buckets.request.json +1 -1
  304. package/lib/es/json/ml.get_calendars.request.json +1 -1
  305. package/lib/es/json/ml.get_categories.request.json +1 -1
  306. package/lib/es/json/ml.get_influencers.request.json +1 -1
  307. package/lib/es/json/ml.get_model_snapshots.request.json +1 -1
  308. package/lib/es/json/ml.get_overall_buckets.request.json +1 -1
  309. package/lib/es/json/ml.get_records.request.json +1 -1
  310. package/lib/es/json/ml.get_trained_models.request.json +1 -1
  311. package/lib/es/json/ml.infer_trained_model.request.json +1 -1
  312. package/lib/es/json/ml.open_job.request.json +1 -1
  313. package/lib/es/json/ml.post_data.request.json +1 -1
  314. package/lib/es/json/ml.preview_datafeed.request.json +1 -1
  315. package/lib/es/json/ml.put_datafeed.request.json +1 -1
  316. package/lib/es/json/ml.put_job.request.json +1 -1
  317. package/lib/es/json/ml.put_trained_model.request.json +1 -1
  318. package/lib/es/json/ml.revert_model_snapshot.request.json +1 -1
  319. package/lib/es/json/ml.start_data_frame_analytics.request.json +1 -1
  320. package/lib/es/json/ml.start_datafeed.request.json +1 -1
  321. package/lib/es/json/ml.start_trained_model_deployment.request.json +1 -1
  322. package/lib/es/json/ml.stop_data_frame_analytics.request.json +1 -1
  323. package/lib/es/json/ml.stop_datafeed.request.json +1 -1
  324. package/lib/es/json/ml.stop_trained_model_deployment.request.json +1 -1
  325. package/lib/es/json/ml.update_datafeed.request.json +1 -1
  326. package/lib/es/json/ml.update_trained_model_deployment.request.json +1 -1
  327. package/lib/es/json/msearch.request.json +1 -1
  328. package/lib/es/json/msearch_template.request.json +1 -1
  329. package/lib/es/json/mtermvectors.request.json +1 -1
  330. package/lib/es/json/nodes.reload_secure_settings.request.json +1 -1
  331. package/lib/es/json/open_point_in_time.request.json +1 -1
  332. package/lib/es/json/project.create_many_routing.request.json +1 -1
  333. package/lib/es/json/project.create_routing.request.json +1 -1
  334. package/lib/es/json/put_script.request.json +1 -1
  335. package/lib/es/json/query_rules.put_rule.request.json +1 -1
  336. package/lib/es/json/query_rules.put_ruleset.request.json +1 -1
  337. package/lib/es/json/rank_eval.request.json +1 -1
  338. package/lib/es/json/reindex.request.json +1 -1
  339. package/lib/es/json/rollup.rollup_search.request.json +1 -1
  340. package/lib/es/json/scroll.request.json +1 -1
  341. package/lib/es/json/search.request.json +1 -1
  342. package/lib/es/json/search_application.post_behavioral_analytics_event.request.json +1 -1
  343. package/lib/es/json/search_application.put.request.json +1 -1
  344. package/lib/es/json/search_application.search.request.json +1 -1
  345. package/lib/es/json/search_mvt.request.json +1 -1
  346. package/lib/es/json/search_template.request.json +1 -1
  347. package/lib/es/json/searchable_snapshots.mount.request.json +1 -1
  348. package/lib/es/json/security.bulk_delete_role.request.json +1 -1
  349. package/lib/es/json/security.bulk_put_role.request.json +1 -1
  350. package/lib/es/json/security.bulk_update_api_keys.request.json +1 -1
  351. package/lib/es/json/security.change_password.request.json +1 -1
  352. package/lib/es/json/security.clone_api_key.request.json +1 -1
  353. package/lib/es/json/security.create_api_key.request.json +1 -1
  354. package/lib/es/json/security.get_user.request.json +1 -1
  355. package/lib/es/json/security.get_user_profile.request.json +1 -1
  356. package/lib/es/json/security.grant_api_key.request.json +1 -1
  357. package/lib/es/json/security.put_privileges.request.json +1 -1
  358. package/lib/es/json/security.put_role.request.json +1 -1
  359. package/lib/es/json/security.put_role_mapping.request.json +1 -1
  360. package/lib/es/json/security.put_user.request.json +1 -1
  361. package/lib/es/json/security.query_api_keys.request.json +1 -1
  362. package/lib/es/json/security.query_user.request.json +1 -1
  363. package/lib/es/json/security.suggest_user_profiles.request.json +1 -1
  364. package/lib/es/json/security.update_settings.request.json +1 -1
  365. package/lib/es/json/security.update_user_profile_data.request.json +1 -1
  366. package/lib/es/json/simulate.ingest.request.json +1 -1
  367. package/lib/es/json/slm.put_lifecycle.request.json +1 -1
  368. package/lib/es/json/snapshot.clone.request.json +1 -1
  369. package/lib/es/json/snapshot.create.request.json +1 -1
  370. package/lib/es/json/snapshot.get.request.json +1 -1
  371. package/lib/es/json/snapshot.restore.request.json +1 -1
  372. package/lib/es/json/sql.query.request.json +1 -1
  373. package/lib/es/json/synonyms.put_synonym.request.json +1 -1
  374. package/lib/es/json/synonyms.put_synonym_rule.request.json +1 -1
  375. package/lib/es/json/tasks.cancel.request.json +1 -1
  376. package/lib/es/json/tasks.list.request.json +1 -1
  377. package/lib/es/json/termvectors.request.json +1 -1
  378. package/lib/es/json/text_structure.find_field_structure.request.json +1 -1
  379. package/lib/es/json/text_structure.find_message_structure.request.json +1 -1
  380. package/lib/es/json/text_structure.find_structure.request.json +1 -1
  381. package/lib/es/json/text_structure.test_grok_pattern.request.json +1 -1
  382. package/lib/es/json/transform.preview_transform.request.json +1 -1
  383. package/lib/es/json/transform.put_transform.request.json +1 -1
  384. package/lib/es/json/transform.update_transform.request.json +1 -1
  385. package/lib/es/json/update.request.json +1 -1
  386. package/lib/es/json/update_by_query.request.json +1 -1
  387. package/lib/es/json/watcher.execute_watch.request.json +1 -1
  388. package/lib/es/json/watcher.put_watch.request.json +1 -1
  389. package/lib/es/json/watcher.stats.request.json +1 -1
  390. package/lib/es/json/watcher.update_settings.request.json +1 -1
  391. package/lib/es/schemas/indices.forcemerge.d.ts +3 -4
  392. package/lib/es/schemas/indices.forcemerge.d.ts.map +1 -1
  393. package/lib/es/schemas/indices.forcemerge.js +3 -4
  394. package/lib/es/schemas/indices.forcemerge.js.map +1 -1
  395. package/lib/serverless/schemas/get_traffic_filter_metadata.d.ts +7 -3
  396. package/lib/serverless/schemas/get_traffic_filter_metadata.d.ts.map +1 -1
  397. package/lib/serverless/schemas/get_traffic_filter_metadata.js +3 -3
  398. package/lib/serverless/schemas/get_traffic_filter_metadata.js.map +1 -1
  399. package/package.json +1 -1
  400. package/src/es/json/_global.bulk.json +1 -1
  401. package/src/es/json/_global.health_report.json +1 -1
  402. package/src/es/json/_global.mget.json +1 -1
  403. package/src/es/json/_global.msearch.json +1 -1
  404. package/src/es/json/_global.msearch_template.json +1 -0
  405. package/src/es/json/_global.rank_eval.json +1 -1
  406. package/src/es/json/_global.reindex_rethrottle.json +1 -1
  407. package/src/es/json/_global.search._types.json +1 -1
  408. package/src/es/json/_spec_utils.json +1 -1
  409. package/src/es/json/_types.aggregations.json +1 -1
  410. package/src/es/json/_types.analysis.json +1 -1
  411. package/src/es/json/_types.json +1 -1
  412. package/src/es/json/_types.mapping.json +1 -1
  413. package/src/es/json/_types.query_dsl.json +1 -1
  414. package/src/es/json/async_search.submit.request.json +1 -1
  415. package/src/es/json/bulk.request.json +1 -1
  416. package/src/es/json/cat._types.json +1 -1
  417. package/src/es/json/cat.allocation.json +1 -1
  418. package/src/es/json/cat.circuit_breaker.request.json +1 -1
  419. package/src/es/json/cat.component_templates.json +1 -1
  420. package/src/es/json/cat.indices.json +1 -1
  421. package/src/es/json/cat.shards.json +1 -1
  422. package/src/es/json/cat.templates.json +1 -1
  423. package/src/es/json/cat.thread_pool.json +1 -1
  424. package/src/es/json/cat.transforms.json +1 -1
  425. package/src/es/json/ccr.follow.request.json +1 -1
  426. package/src/es/json/ccr.forget_follower.request.json +1 -1
  427. package/src/es/json/ccr.put_auto_follow_pattern.request.json +1 -1
  428. package/src/es/json/ccr.resume_follow.request.json +1 -1
  429. package/src/es/json/cluster.allocation_explain.request.json +1 -1
  430. package/src/es/json/cluster.get_component_template.request.json +1 -1
  431. package/src/es/json/cluster.health.json +1 -1
  432. package/src/es/json/cluster.put_component_template.request.json +1 -1
  433. package/src/es/json/cluster.put_settings.request.json +1 -1
  434. package/src/es/json/cluster.remote_info.json +1 -1
  435. package/src/es/json/cluster.reroute.request.json +1 -1
  436. package/src/es/json/cluster.state.json +1 -1
  437. package/src/es/json/connector._types.json +1 -1
  438. package/src/es/json/connector.sync_job_list.request.json +1 -1
  439. package/src/es/json/count.request.json +1 -1
  440. package/src/es/json/create.request.json +1 -1
  441. package/src/es/json/delete_by_query.request.json +1 -1
  442. package/src/es/json/enrich.put_policy.request.json +1 -1
  443. package/src/es/json/eql.search.request.json +1 -1
  444. package/src/es/json/esql._types.json +1 -1
  445. package/src/es/json/esql.async_query.request.json +1 -1
  446. package/src/es/json/esql.query.request.json +1 -1
  447. package/src/es/json/explain.request.json +1 -1
  448. package/src/es/json/field_caps.request.json +1 -1
  449. package/src/es/json/fleet.global_checkpoints.request.json +1 -1
  450. package/src/es/json/fleet.msearch.request.json +1 -1
  451. package/src/es/json/fleet.search.request.json +1 -1
  452. package/src/es/json/graph.explore.request.json +1 -1
  453. package/src/es/json/health_report.request.json +1 -1
  454. package/src/es/json/ilm.explain_lifecycle.json +1 -1
  455. package/src/es/json/ilm.migrate_to_data_tiers.request.json +1 -1
  456. package/src/es/json/ilm.put_lifecycle.request.json +1 -1
  457. package/src/es/json/index.request.json +1 -1
  458. package/src/es/json/indices._types.json +1 -1
  459. package/src/es/json/indices.analyze.json +1 -1
  460. package/src/es/json/indices.analyze.request.json +1 -1
  461. package/src/es/json/indices.clone.request.json +1 -1
  462. package/src/es/json/indices.create.request.json +1 -1
  463. package/src/es/json/indices.create_from.json +1 -0
  464. package/src/es/json/indices.create_from.request.json +1 -1
  465. package/src/es/json/indices.downsample.request.json +1 -1
  466. package/src/es/json/indices.forcemerge.request.json +1 -1
  467. package/src/es/json/indices.get.json +1 -1
  468. package/src/es/json/indices.migrate_reindex.json +1 -0
  469. package/src/es/json/indices.migrate_reindex.request.json +1 -1
  470. package/src/es/json/indices.put_alias.request.json +1 -1
  471. package/src/es/json/indices.put_data_lifecycle.request.json +1 -1
  472. package/src/es/json/indices.put_data_stream_mappings.request.json +1 -1
  473. package/src/es/json/indices.put_data_stream_options.request.json +1 -1
  474. package/src/es/json/indices.put_data_stream_settings.request.json +1 -1
  475. package/src/es/json/indices.put_index_template.json +1 -1
  476. package/src/es/json/indices.put_index_template.request.json +1 -1
  477. package/src/es/json/indices.put_mapping.request.json +1 -1
  478. package/src/es/json/indices.put_settings.request.json +1 -1
  479. package/src/es/json/indices.put_template.request.json +1 -1
  480. package/src/es/json/indices.resolve_index.request.json +1 -1
  481. package/src/es/json/indices.rollover.request.json +1 -1
  482. package/src/es/json/indices.segments.json +1 -1
  483. package/src/es/json/indices.shard_stores.request.json +1 -1
  484. package/src/es/json/indices.shrink.request.json +1 -1
  485. package/src/es/json/indices.simulate_index_template.request.json +1 -1
  486. package/src/es/json/indices.simulate_template.request.json +1 -1
  487. package/src/es/json/indices.split.request.json +1 -1
  488. package/src/es/json/indices.stats.json +1 -1
  489. package/src/es/json/indices.stats.request.json +1 -1
  490. package/src/es/json/indices.update_aliases.json +1 -1
  491. package/src/es/json/indices.update_aliases.request.json +1 -1
  492. package/src/es/json/indices.validate_query.request.json +1 -1
  493. package/src/es/json/inference._types.json +1 -1
  494. package/src/es/json/inference.chat_completion_unified.request.json +1 -1
  495. package/src/es/json/inference.completion.request.json +1 -1
  496. package/src/es/json/inference.embedding.request.json +1 -1
  497. package/src/es/json/inference.inference.request.json +1 -1
  498. package/src/es/json/inference.put.request.json +1 -1
  499. package/src/es/json/inference.put_ai21.request.json +1 -1
  500. package/src/es/json/inference.put_alibabacloud.request.json +1 -1
  501. package/src/es/json/inference.put_amazonbedrock.request.json +1 -1
  502. package/src/es/json/inference.put_amazonsagemaker.request.json +1 -1
  503. package/src/es/json/inference.put_anthropic.request.json +1 -1
  504. package/src/es/json/inference.put_azureaistudio.request.json +1 -1
  505. package/src/es/json/inference.put_azureopenai.request.json +1 -1
  506. package/src/es/json/inference.put_cohere.request.json +1 -1
  507. package/src/es/json/inference.put_contextualai.request.json +1 -1
  508. package/src/es/json/inference.put_deepseek.request.json +1 -1
  509. package/src/es/json/inference.put_elasticsearch.request.json +1 -1
  510. package/src/es/json/inference.put_elser.request.json +1 -1
  511. package/src/es/json/inference.put_fireworksai.request.json +1 -1
  512. package/src/es/json/inference.put_googleaistudio.request.json +1 -1
  513. package/src/es/json/inference.put_googlevertexai.request.json +1 -1
  514. package/src/es/json/inference.put_groq.request.json +1 -1
  515. package/src/es/json/inference.put_hugging_face.request.json +1 -1
  516. package/src/es/json/inference.put_jinaai.request.json +1 -1
  517. package/src/es/json/inference.put_llama.request.json +1 -1
  518. package/src/es/json/inference.put_mistral.request.json +1 -1
  519. package/src/es/json/inference.put_nvidia.request.json +1 -1
  520. package/src/es/json/inference.put_openai.request.json +1 -1
  521. package/src/es/json/inference.put_openshift_ai.request.json +1 -1
  522. package/src/es/json/inference.put_region_policy.request.json +1 -1
  523. package/src/es/json/inference.put_voyageai.request.json +1 -1
  524. package/src/es/json/inference.put_watsonx.request.json +1 -1
  525. package/src/es/json/inference.rerank.json +1 -1
  526. package/src/es/json/inference.rerank.request.json +1 -1
  527. package/src/es/json/inference.sparse_embedding.request.json +1 -1
  528. package/src/es/json/inference.stream_completion.request.json +1 -1
  529. package/src/es/json/inference.text_embedding.request.json +1 -1
  530. package/src/es/json/inference.update.request.json +1 -1
  531. package/src/es/json/ingest._types.json +1 -1
  532. package/src/es/json/ingest.put_geoip_database.request.json +1 -1
  533. package/src/es/json/ingest.put_ip_location_database.request.json +1 -1
  534. package/src/es/json/ingest.put_pipeline.request.json +1 -1
  535. package/src/es/json/ingest.simulate.request.json +1 -1
  536. package/src/es/json/license._types.json +1 -1
  537. package/src/es/json/license.get.json +1 -1
  538. package/src/es/json/license.post.request.json +1 -1
  539. package/src/es/json/license.post_start_basic.response.json +1 -1
  540. package/src/es/json/logstash.put_pipeline.request.json +1 -1
  541. package/src/es/json/mget.request.json +1 -1
  542. package/src/es/json/ml._types.json +1 -1
  543. package/src/es/json/ml.close_job.request.json +1 -1
  544. package/src/es/json/ml.delete_expired_data.request.json +1 -1
  545. package/src/es/json/ml.flush_job.request.json +1 -1
  546. package/src/es/json/ml.forecast.request.json +1 -1
  547. package/src/es/json/ml.get_buckets.request.json +1 -1
  548. package/src/es/json/ml.get_calendars.request.json +1 -1
  549. package/src/es/json/ml.get_categories.request.json +1 -1
  550. package/src/es/json/ml.get_influencers.request.json +1 -1
  551. package/src/es/json/ml.get_model_snapshots.request.json +1 -1
  552. package/src/es/json/ml.get_overall_buckets.request.json +1 -1
  553. package/src/es/json/ml.get_records.request.json +1 -1
  554. package/src/es/json/ml.get_trained_models.request.json +1 -1
  555. package/src/es/json/ml.infer_trained_model.request.json +1 -1
  556. package/src/es/json/ml.open_job.request.json +1 -1
  557. package/src/es/json/ml.post_data.request.json +1 -1
  558. package/src/es/json/ml.preview_datafeed.request.json +1 -1
  559. package/src/es/json/ml.put_datafeed.request.json +1 -1
  560. package/src/es/json/ml.put_job.request.json +1 -1
  561. package/src/es/json/ml.put_trained_model.request.json +1 -1
  562. package/src/es/json/ml.revert_model_snapshot.request.json +1 -1
  563. package/src/es/json/ml.start_data_frame_analytics.request.json +1 -1
  564. package/src/es/json/ml.start_datafeed.request.json +1 -1
  565. package/src/es/json/ml.start_trained_model_deployment.request.json +1 -1
  566. package/src/es/json/ml.stop_data_frame_analytics.request.json +1 -1
  567. package/src/es/json/ml.stop_datafeed.request.json +1 -1
  568. package/src/es/json/ml.stop_trained_model_deployment.request.json +1 -1
  569. package/src/es/json/ml.update_datafeed.request.json +1 -1
  570. package/src/es/json/ml.update_trained_model_deployment.request.json +1 -1
  571. package/src/es/json/msearch.request.json +1 -1
  572. package/src/es/json/msearch_template.request.json +1 -1
  573. package/src/es/json/mtermvectors.request.json +1 -1
  574. package/src/es/json/nodes._types.json +1 -1
  575. package/src/es/json/nodes.info.json +1 -1
  576. package/src/es/json/nodes.reload_secure_settings.request.json +1 -1
  577. package/src/es/json/nodes.stats.json +1 -1
  578. package/src/es/json/nodes.usage.json +1 -1
  579. package/src/es/json/open_point_in_time.request.json +1 -1
  580. package/src/es/json/project.create_many_routing.request.json +1 -1
  581. package/src/es/json/project.create_routing.request.json +1 -1
  582. package/src/es/json/put_script.request.json +1 -1
  583. package/src/es/json/query_rules._types.json +1 -1
  584. package/src/es/json/query_rules.put_rule.request.json +1 -1
  585. package/src/es/json/query_rules.put_ruleset.request.json +1 -1
  586. package/src/es/json/rank_eval.request.json +1 -1
  587. package/src/es/json/reindex.request.json +1 -1
  588. package/src/es/json/rollup.rollup_search.request.json +1 -1
  589. package/src/es/json/scroll.request.json +1 -1
  590. package/src/es/json/search.request.json +1 -1
  591. package/src/es/json/search_application._types.json +1 -1
  592. package/src/es/json/search_application.post_behavioral_analytics_event.request.json +1 -1
  593. package/src/es/json/search_application.put.request.json +1 -1
  594. package/src/es/json/search_application.search.request.json +1 -1
  595. package/src/es/json/search_mvt.request.json +1 -1
  596. package/src/es/json/search_template.request.json +1 -1
  597. package/src/es/json/searchable_snapshots.mount.request.json +1 -1
  598. package/src/es/json/security._types.json +1 -1
  599. package/src/es/json/security.authenticate.response.json +1 -1
  600. package/src/es/json/security.bulk_delete_role.request.json +1 -1
  601. package/src/es/json/security.bulk_put_role.request.json +1 -1
  602. package/src/es/json/security.bulk_update_api_keys.request.json +1 -1
  603. package/src/es/json/security.change_password.request.json +1 -1
  604. package/src/es/json/security.clone_api_key.request.json +1 -1
  605. package/src/es/json/security.create_api_key.request.json +1 -1
  606. package/src/es/json/security.delegate_pki.json +1 -1
  607. package/src/es/json/security.get_role.json +1 -1
  608. package/src/es/json/security.get_token.json +1 -1
  609. package/src/es/json/security.get_user.request.json +1 -1
  610. package/src/es/json/security.get_user_profile.request.json +1 -1
  611. package/src/es/json/security.grant_api_key.json +1 -1
  612. package/src/es/json/security.grant_api_key.request.json +1 -1
  613. package/src/es/json/security.put_privileges.request.json +1 -1
  614. package/src/es/json/security.put_role.request.json +1 -1
  615. package/src/es/json/security.put_role_mapping.request.json +1 -1
  616. package/src/es/json/security.put_user.request.json +1 -1
  617. package/src/es/json/security.query_api_keys.json +1 -1
  618. package/src/es/json/security.query_api_keys.request.json +1 -1
  619. package/src/es/json/security.query_role.json +1 -1
  620. package/src/es/json/security.query_user.json +1 -1
  621. package/src/es/json/security.query_user.request.json +1 -1
  622. package/src/es/json/security.suggest_user_profiles.json +1 -1
  623. package/src/es/json/security.suggest_user_profiles.request.json +1 -1
  624. package/src/es/json/security.update_settings.request.json +1 -1
  625. package/src/es/json/security.update_user_profile_data.request.json +1 -1
  626. package/src/es/json/simulate.ingest.request.json +1 -1
  627. package/src/es/json/slm.put_lifecycle.request.json +1 -1
  628. package/src/es/json/snapshot._types.json +1 -1
  629. package/src/es/json/snapshot.clone.request.json +1 -1
  630. package/src/es/json/snapshot.create.request.json +1 -1
  631. package/src/es/json/snapshot.get.request.json +1 -1
  632. package/src/es/json/snapshot.restore.request.json +1 -1
  633. package/src/es/json/sql.query.request.json +1 -1
  634. package/src/es/json/ssl.certificates.json +1 -1
  635. package/src/es/json/synonyms.put_synonym.request.json +1 -1
  636. package/src/es/json/synonyms.put_synonym_rule.request.json +1 -1
  637. package/src/es/json/tasks._types.json +1 -1
  638. package/src/es/json/tasks.cancel.request.json +1 -1
  639. package/src/es/json/tasks.list.request.json +1 -1
  640. package/src/es/json/termvectors.request.json +1 -1
  641. package/src/es/json/text_structure.find_field_structure.request.json +1 -1
  642. package/src/es/json/text_structure.find_message_structure.request.json +1 -1
  643. package/src/es/json/text_structure.find_structure.request.json +1 -1
  644. package/src/es/json/text_structure.test_grok_pattern.request.json +1 -1
  645. package/src/es/json/transform.preview_transform.request.json +1 -1
  646. package/src/es/json/transform.put_transform.request.json +1 -1
  647. package/src/es/json/transform.update_transform.request.json +1 -1
  648. package/src/es/json/update.request.json +1 -1
  649. package/src/es/json/update_by_query.request.json +1 -1
  650. package/src/es/json/watcher._types.json +1 -1
  651. package/src/es/json/watcher.execute_watch.request.json +1 -1
  652. package/src/es/json/watcher.put_watch.request.json +1 -1
  653. package/src/es/json/watcher.stats.request.json +1 -1
  654. package/src/es/json/watcher.update_settings.request.json +1 -1
  655. package/src/serverless/json/get_traffic_filter_metadata.response.json +7 -2
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"watcher._types__ScheduleTimeOfDay":{"oneOf":[{"type":"string"},{"$ref":"./watcher._types.json#/$defs/watcher._types__HourAndMinute"}],"description":"A time of day, expressed either as `hh:mm`, `noon`, `midnight`, or an hour/minutes structure."},"watcher._types__HourAndMinute":{"type":"object","properties":{"hour":{"type":"array","items":{"type":"number"}},"minute":{"type":"array","items":{"type":"number"}}},"required":["hour","minute"]},"watcher._types__WatchStatus":{"type":"object","properties":{"actions":{"$ref":"./watcher._types.json#/$defs/watcher._types__Actions"},"last_checked":{"$ref":"./_types.json#/$defs/_types__DateTime"},"last_met_condition":{"$ref":"./_types.json#/$defs/_types__DateTime"},"state":{"$ref":"./watcher._types.json#/$defs/watcher._types__ActivationState"},"version":{"type":"number"},"execution_state":{"type":"string"}},"required":["actions","state","version"]},"watcher._types__Actions":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__ActionStatus"}},"watcher._types__ActionStatus":{"type":"object","properties":{"ack":{"$ref":"./watcher._types.json#/$defs/watcher._types__AcknowledgeState"},"last_execution":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionState"},"last_successful_execution":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionState"},"last_throttle":{"$ref":"./watcher._types.json#/$defs/watcher._types__ThrottleState"}},"required":["ack"]},"watcher._types__AcknowledgeState":{"type":"object","properties":{"state":{"$ref":"./watcher._types.json#/$defs/watcher._types__AcknowledgementOptions"},"timestamp":{"$ref":"./_types.json#/$defs/_types__DateTime"}},"required":["state","timestamp"]},"watcher._types__AcknowledgementOptions":{"enum":["awaits_successful_execution","ackable","acked"]},"watcher._types__ExecutionState":{"type":"object","properties":{"successful":{"type":"boolean"},"timestamp":{"$ref":"./_types.json#/$defs/_types__DateTime"},"reason":{"type":"string"}},"required":["successful","timestamp"]},"watcher._types__ThrottleState":{"type":"object","properties":{"reason":{"type":"string"},"timestamp":{"$ref":"./_types.json#/$defs/_types__DateTime"}},"required":["reason","timestamp"]},"watcher._types__ActivationState":{"type":"object","properties":{"active":{"type":"boolean"},"timestamp":{"$ref":"./_types.json#/$defs/_types__DateTime"}},"required":["active","timestamp"]},"watcher._types__ActivationStatus":{"type":"object","properties":{"actions":{"$ref":"./watcher._types.json#/$defs/watcher._types__Actions"},"state":{"$ref":"./watcher._types.json#/$defs/watcher._types__ActivationState"},"version":{"type":"number"}},"required":["actions","state","version"]},"watcher._types__ActionExecutionMode":{"enum":["simulate","force_simulate","execute","force_execute","skip"]},"watcher._types__SimulatedActions":{"type":"object","properties":{"actions":{"type":"array","items":{"type":"string"}},"all":{"$ref":"./watcher._types.json#/$defs/watcher._types__SimulatedActions"},"use_all":{"type":"boolean"}},"required":["actions","all","use_all"]},"watcher._types__ScheduleTriggerEvent":{"type":"object","properties":{"scheduled_time":{"$ref":"./_types.json#/$defs/_types__DateTime"},"triggered_time":{"$ref":"./_types.json#/$defs/_types__DateTime"}},"required":["scheduled_time"]},"watcher._types__Watch":{"type":"object","properties":{"actions":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__Action"}},"condition":{"$ref":"./watcher._types.json#/$defs/watcher._types__ConditionContainer"},"input":{"$ref":"./watcher._types.json#/$defs/watcher._types__InputContainer"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata"},"status":{"$ref":"./watcher._types.json#/$defs/watcher._types__WatchStatus"},"throttle_period":{"$ref":"./_types.json#/$defs/_types__Duration"},"throttle_period_in_millis":{},"transform":{"$ref":"./_types.json#/$defs/_types__TransformContainer"},"trigger":{"$ref":"./watcher._types.json#/$defs/watcher._types__TriggerContainer"}},"required":["actions","input","trigger"]},"watcher._types__Action":{"type":"object","properties":{"action_type":{"$ref":"./watcher._types.json#/$defs/watcher._types__ActionType"},"condition":{"$ref":"./watcher._types.json#/$defs/watcher._types__ConditionContainer"},"foreach":{"type":"string"},"max_iterations":{"type":"number"},"name":{"type":"string"},"throttle_period":{"$ref":"./_types.json#/$defs/_types__Duration"},"throttle_period_in_millis":{},"transform":{"$ref":"./_types.json#/$defs/_types__TransformContainer"},"index":{"$ref":"./watcher._types.json#/$defs/watcher._types__IndexAction"},"logging":{"$ref":"./watcher._types.json#/$defs/watcher._types__LoggingAction"},"email":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailAction"},"pagerduty":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyAction"},"slack":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackAction"},"webhook":{"$ref":"./watcher._types.json#/$defs/watcher._types__WebhookAction"}}},"watcher._types__ActionType":{"enum":["email","webhook","index","logging","slack","pagerduty"]},"watcher._types__ConditionContainer":{"type":"object","properties":{"always":{"$ref":"./watcher._types.json#/$defs/watcher._types__AlwaysCondition"},"array_compare":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__ArrayCompareCondition"}},"compare":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"$ref":"./_types.json#/$defs/_types__FieldValue"}}},"never":{"$ref":"./watcher._types.json#/$defs/watcher._types__NeverCondition"},"script":{"$ref":"./watcher._types.json#/$defs/watcher._types__ScriptCondition"}}},"watcher._types__AlwaysCondition":{"type":"object","properties":{}},"watcher._types__ArrayCompareCondition":{"type":"object","additionalProperties":{}},"watcher._types__NeverCondition":{"type":"object","properties":{}},"watcher._types__ScriptCondition":{"type":"object","properties":{"lang":{"$ref":"./_types.json#/$defs/_types__ScriptLanguage"},"params":{"type":"object","additionalProperties":{}},"source":{"$ref":"./_types.json#/$defs/_types__ScriptSource"},"id":{"type":"string"}}},"watcher._types__SearchInputRequestDefinition":{"type":"object","properties":{"body":{"$ref":"./_global.search._types.json#/$defs/_global.search._types__SearchRequestBody"},"indices":{"$ref":"./_types.json#/$defs/_types__Indices"},"indices_options":{"$ref":"./_types.json#/$defs/_types__IndicesOptions"},"search_type":{"$ref":"./_types.json#/$defs/_types__SearchType"},"template":{"$ref":"./watcher._types.json#/$defs/watcher._types__SearchTemplateRequestBody"},"rest_total_hits_as_int":{"type":"boolean"}}},"watcher._types__SearchTemplateRequestBody":{"type":"object","properties":{"explain":{"type":"boolean"},"id":{"type":"string","description":"ID of the search template to use. If no source is specified,\nthis parameter is required."},"lang":{"$ref":"./_types.json#/$defs/_types__ScriptLanguage","description":"The language the template is written in.\nIt is reported in the resolved search input of a watch record."},"params":{"type":"object","additionalProperties":{}},"profile":{"type":"boolean"},"source":{"type":"string","description":"An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required."}}},"watcher._types__IndexAction":{"type":"object","properties":{"index":{"type":"string"},"doc_id":{"type":"string"},"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh"},"op_type":{"$ref":"./_types.json#/$defs/_types__OpType"},"timeout":{"$ref":"./_types.json#/$defs/_types__Duration"},"execution_time_field":{"type":"string","description":"Path to field or array of paths. Some API's support wildcards in the path to select multiple fields."}}},"watcher._types__LoggingAction":{"type":"object","properties":{"level":{"type":"string"},"text":{"type":"string"},"category":{"type":"string"}},"required":["text"]},"watcher._types__EmailAction":{"type":"object","properties":{"id":{"type":"string"},"bcc":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"body":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailBody"},"cc":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"from":{"type":"string"},"priority":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailPriority"},"reply_to":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"sent_date":{"$ref":"./_types.json#/$defs/_types__DateTime"},"subject":{"type":"string"},"to":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"attachments":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailAttachmentContainer"}}},"required":["subject","to"]},"watcher._types__EmailBody":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}}},"watcher._types__EmailPriority":{"enum":["lowest","low","normal","high","highest"]},"watcher._types__EmailAttachmentContainer":{"type":"object","properties":{"http":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpEmailAttachment"},"reporting":{"$ref":"./watcher._types.json#/$defs/watcher._types__ReportingEmailAttachment"},"data":{"$ref":"./watcher._types.json#/$defs/watcher._types__DataEmailAttachment"}}},"watcher._types__HttpEmailAttachment":{"type":"object","properties":{"content_type":{"type":"string"},"inline":{"type":"boolean"},"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputRequestDefinition"}}},"watcher._types__HttpInputRequestDefinition":{"type":"object","properties":{"auth":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputAuthentication"},"body":{"type":"string"},"connection_timeout":{"$ref":"./_types.json#/$defs/_types__Duration"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"host":{"type":"string"},"method":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputMethod"},"params":{"type":"object","additionalProperties":{"type":"string"}},"path":{"type":"string"},"port":{"type":"number"},"proxy":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputProxy"},"read_timeout":{"$ref":"./_types.json#/$defs/_types__Duration"},"scheme":{"$ref":"./watcher._types.json#/$defs/watcher._types__ConnectionScheme"},"url":{"type":"string"}}},"watcher._types__HttpInputAuthentication":{"type":"object","properties":{"basic":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputBasicAuthentication"}},"required":["basic"]},"watcher._types__HttpInputBasicAuthentication":{"type":"object","properties":{"password":{"type":"string"},"username":{"type":"string"}},"required":["password","username"]},"watcher._types__HttpInputMethod":{"enum":["head","get","post","put","delete"]},"watcher._types__HttpInputProxy":{"type":"object","properties":{"host":{"type":"string"},"port":{"type":"number"}},"required":["host","port"]},"watcher._types__ConnectionScheme":{"enum":["http","https"]},"watcher._types__ReportingEmailAttachment":{"type":"object","properties":{"url":{"type":"string"},"inline":{"type":"boolean"},"retries":{"type":"number"},"interval":{"$ref":"./_types.json#/$defs/_types__Duration"},"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputRequestDefinition"}},"required":["url"]},"watcher._types__DataEmailAttachment":{"type":"object","properties":{"format":{"$ref":"./watcher._types.json#/$defs/watcher._types__DataAttachmentFormat"}}},"watcher._types__DataAttachmentFormat":{"enum":["json","yaml"]},"watcher._types__PagerDutyAction":{"type":"object","properties":{"account":{"type":"string"},"attach_payload":{"type":"boolean"},"client":{"type":"string"},"client_url":{"type":"string"},"contexts":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyContext"}},"description":{"type":"string"},"event_type":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyEventType"},"incident_key":{"type":"string"},"proxy":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyEventProxy"}},"required":["attach_payload","description","incident_key"]},"watcher._types__PagerDutyContext":{"type":"object","properties":{"href":{"type":"string"},"src":{"type":"string"},"type":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyContextType"}},"required":["type"]},"watcher._types__PagerDutyContextType":{"enum":["link","image"]},"watcher._types__PagerDutyEventType":{"enum":["trigger","resolve","acknowledge"]},"watcher._types__PagerDutyEventProxy":{"type":"object","properties":{"host":{"type":"string"},"port":{"type":"number"}}},"watcher._types__SlackAction":{"type":"object","properties":{"account":{"type":"string"},"message":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackMessage"}},"required":["message"]},"watcher._types__SlackMessage":{"type":"object","properties":{"attachments":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackAttachment"}},"dynamic_attachments":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackDynamicAttachment"},"from":{"type":"string"},"icon":{"type":"string"},"text":{"type":"string"},"to":{"type":"array","items":{"type":"string"}}},"required":["attachments","from","text","to"]},"watcher._types__SlackAttachment":{"type":"object","properties":{"author_icon":{"type":"string"},"author_link":{"type":"string"},"author_name":{"type":"string"},"color":{"type":"string"},"fallback":{"type":"string"},"fields":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackAttachmentField"}},"footer":{"type":"string"},"footer_icon":{"type":"string"},"image_url":{"type":"string"},"pretext":{"type":"string"},"text":{"type":"string"},"thumb_url":{"type":"string"},"title":{"type":"string"},"title_link":{"type":"string"},"ts":{}},"required":["author_name","title"]},"watcher._types__SlackAttachmentField":{"type":"object","properties":{"short":{"type":"boolean"},"title":{"type":"string"},"value":{"type":"string"}},"required":["short","title","value"]},"watcher._types__SlackDynamicAttachment":{"type":"object","properties":{"attachment_template":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackAttachment"},"list_path":{"type":"string"}},"required":["attachment_template","list_path"]},"watcher._types__WebhookAction":{"type":"object","properties":{"auth":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputAuthentication"},"body":{"type":"string"},"connection_timeout":{"$ref":"./_types.json#/$defs/_types__Duration"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"host":{"type":"string"},"method":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputMethod"},"params":{"type":"object","additionalProperties":{"type":"string"}},"path":{"type":"string"},"port":{"type":"number"},"proxy":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputProxy"},"read_timeout":{"$ref":"./_types.json#/$defs/_types__Duration"},"scheme":{"$ref":"./watcher._types.json#/$defs/watcher._types__ConnectionScheme"},"url":{"type":"string"}}},"watcher._types__InputContainer":{"type":"object","properties":{"chain":{"$ref":"./watcher._types.json#/$defs/watcher._types__ChainInput"},"http":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInput"},"search":{"$ref":"./watcher._types.json#/$defs/watcher._types__SearchInput"},"simple":{"type":"object","additionalProperties":{}},"transform":{"$ref":"./_types.json#/$defs/_types__TransformContainer"}}},"watcher._types__ChainInput":{"type":"object","properties":{"inputs":{"type":"array","items":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__InputContainer"}}}},"required":["inputs"]},"watcher._types__HttpInput":{"type":"object","properties":{"extract":{"type":"array","items":{"type":"string"}},"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputRequestDefinition"},"response_content_type":{"$ref":"./watcher._types.json#/$defs/watcher._types__ResponseContentType"}}},"watcher._types__ResponseContentType":{"enum":["json","yaml","text"]},"watcher._types__SearchInput":{"type":"object","properties":{"extract":{"type":"array","items":{"type":"string"}},"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__SearchInputRequestDefinition"},"timeout":{"$ref":"./_types.json#/$defs/_types__Duration"}},"required":["request"]},"watcher._types__TriggerContainer":{"type":"object","properties":{"schedule":{"$ref":"./watcher._types.json#/$defs/watcher._types__ScheduleContainer"}}},"watcher._types__ScheduleContainer":{"type":"object","properties":{"timezone":{"type":"string"},"cron":{"type":"string"},"daily":{"$ref":"./watcher._types.json#/$defs/watcher._types__DailySchedule"},"hourly":{"$ref":"./watcher._types.json#/$defs/watcher._types__HourlySchedule"},"interval":{"$ref":"./_types.json#/$defs/_types__Duration"},"monthly":{"oneOf":[{"$ref":"./watcher._types.json#/$defs/watcher._types__TimeOfMonth"},{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__TimeOfMonth"}}]},"weekly":{"oneOf":[{"$ref":"./watcher._types.json#/$defs/watcher._types__TimeOfWeek"},{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__TimeOfWeek"}}]},"yearly":{"oneOf":[{"$ref":"./watcher._types.json#/$defs/watcher._types__TimeOfYear"},{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__TimeOfYear"}}]}}},"watcher._types__DailySchedule":{"type":"object","properties":{"at":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__ScheduleTimeOfDay"}}},"required":["at"]},"watcher._types__HourlySchedule":{"type":"object","properties":{"minute":{"type":"array","items":{"type":"number"}}},"required":["minute"]},"watcher._types__TimeOfMonth":{"type":"object","properties":{"at":{"type":"array","items":{"type":"string"}},"on":{"type":"array","items":{"type":"number"}}},"required":["at","on"]},"watcher._types__TimeOfWeek":{"type":"object","properties":{"at":{"type":"array","items":{"type":"string"}},"on":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__Day"}}},"required":["at","on"]},"watcher._types__Day":{"enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]},"watcher._types__TimeOfYear":{"type":"object","properties":{"at":{"type":"array","items":{"type":"string"}},"int":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__Month"}},"on":{"type":"array","items":{"type":"number"}}},"required":["at","int","on"]},"watcher._types__Month":{"enum":["january","february","march","april","may","june","july","august","september","october","november","december"]},"watcher._types__ExecutionStatus":{"enum":["awaits_execution","checking","execution_not_needed","throttled","executed","failed","deleted_while_queued","not_executed_already_queued"]},"watcher._types__TriggerEventResult":{"type":"object","properties":{"manual":{"$ref":"./watcher._types.json#/$defs/watcher._types__TriggerEventContainer"},"triggered_time":{"$ref":"./_types.json#/$defs/_types__DateTime"},"type":{"type":"string"}},"required":["manual","triggered_time","type"]},"watcher._types__TriggerEventContainer":{"type":"object","properties":{"schedule":{"$ref":"./watcher._types.json#/$defs/watcher._types__ScheduleTriggerEvent"}}},"watcher._types__ExecutionResult":{"type":"object","properties":{"actions":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultAction"}},"condition":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultCondition"},"execution_duration":{},"execution_time":{"$ref":"./_types.json#/$defs/_types__DateTime"},"input":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultInput"},"transform":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultTransform"}},"required":["actions","execution_duration","execution_time"]},"watcher._types__ExecutionResultAction":{"type":"object","properties":{"email":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailResult"},"index":{"$ref":"./watcher._types.json#/$defs/watcher._types__IndexResult"},"logging":{"$ref":"./watcher._types.json#/$defs/watcher._types__LoggingResult"},"pagerduty":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyResult"},"slack":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackResult"},"webhook":{"$ref":"./watcher._types.json#/$defs/watcher._types__WebhookResult"},"error":{"$ref":"./_types.json#/$defs/_types__ErrorCause"},"reason":{"type":"string"},"id":{"type":"string"},"type":{"$ref":"./watcher._types.json#/$defs/watcher._types__ActionType"},"status":{"$ref":"./watcher._types.json#/$defs/watcher._types__ActionStatusOptions"},"condition":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultCondition"},"transform":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultTransform"},"foreach":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultForeachAction"}},"max_iterations":{"type":"number"},"number_of_actions_executed":{"type":"number"}},"required":["id","type","status"]},"watcher._types__EmailResult":{"type":"object","properties":{"account":{"type":"string"},"message":{"$ref":"./watcher._types.json#/$defs/watcher._types__Email"},"reason":{"type":"string"}},"required":["message"]},"watcher._types__Email":{"type":"object","properties":{"id":{"type":"string"},"bcc":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"body":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailBody"},"cc":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"from":{"type":"string"},"priority":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailPriority"},"reply_to":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"sent_date":{"$ref":"./_types.json#/$defs/_types__DateTime"},"subject":{"type":"string"},"to":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"attachments":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailAttachmentContainer"}}},"required":["subject","to"]},"watcher._types__IndexResult":{"type":"object","properties":{"response":{"oneOf":[{"$ref":"./watcher._types.json#/$defs/watcher._types__IndexResultSummary"},{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__IndexResultSummary"}}],"description":"The outcome of the index operation.\nA single summary is returned when a single document is indexed, or an array\nwhen several documents are indexed at once. When a bulk operation ends in\n`failure` or `partial_failure`, the array includes failed items."},"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__IndexResultRequestSummary","description":"The request that would have been executed.\nIt is only present when the action is simulated."}},"description":"The result of an index action.\nIt is a container that holds either the `response` of an executed index\noperation, or the `request` that would have run when the action is simulated."},"watcher._types__IndexResultSummary":{"type":"object","properties":{"id":{"type":"string"},"index":{"type":"string"},"created":{"type":"boolean"},"result":{"$ref":"./_types.json#/$defs/_types__Result"},"version":{"type":"number"},"failed":{"type":"boolean","description":"Only present for failed items"},"message":{"type":"string","description":"Only present for failed items"}},"required":["id","index"],"description":"A single item of an index action result.\nSuccessful items and failed items expose different fields; only `id` and `index`\nare present in both. Failed items appear when a bulk index action ends in\n`failure` or `partial_failure`."},"watcher._types__IndexResultRequestSummary":{"type":"object","properties":{"doc_id":{"type":"string"},"index":{"type":"string"},"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh"},"source":{}},"required":["index","source"]},"watcher._types__LoggingResult":{"type":"object","properties":{"logged_text":{"type":"string"}},"required":["logged_text"]},"watcher._types__PagerDutyResult":{"type":"object","properties":{"event":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyEvent"},"reason":{"type":"string"},"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputRequestResult"},"response":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputResponseResult"}},"required":["event"]},"watcher._types__PagerDutyEvent":{"type":"object","properties":{"account":{"type":"string"},"attach_payload":{"type":"boolean"},"client":{"type":"string"},"client_url":{"type":"string"},"contexts":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyContext"}},"description":{"type":"string"},"event_type":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyEventType"},"incident_key":{"type":"string"},"proxy":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyEventProxy"}},"required":["attach_payload","description","incident_key"]},"watcher._types__HttpInputRequestResult":{"type":"object","properties":{"auth":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputAuthentication"},"body":{"type":"string"},"connection_timeout":{"$ref":"./_types.json#/$defs/_types__Duration"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"host":{"type":"string"},"method":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputMethod"},"params":{"type":"object","additionalProperties":{"type":"string"}},"path":{"type":"string"},"port":{"type":"number"},"proxy":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputProxy"},"read_timeout":{"$ref":"./_types.json#/$defs/_types__Duration"},"scheme":{"$ref":"./watcher._types.json#/$defs/watcher._types__ConnectionScheme"},"url":{"type":"string"}}},"watcher._types__HttpInputResponseResult":{"type":"object","properties":{"body":{"type":"string"},"headers":{"$ref":"./_types.json#/$defs/_types__HttpHeaders"},"status":{"type":"number"}},"required":["body","headers","status"]},"watcher._types__SlackResult":{"type":"object","properties":{"account":{"type":"string"},"message":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackMessage"}},"required":["message"]},"watcher._types__WebhookResult":{"type":"object","properties":{"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputRequestResult"},"response":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputResponseResult"}},"required":["request"]},"watcher._types__ActionStatusOptions":{"enum":["success","failure","partial_failure","acknowledged","throttled","condition_failed","simulated"]},"watcher._types__ExecutionResultCondition":{"type":"object","properties":{"met":{"type":"boolean"},"status":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultStatus"},"type":{"$ref":"./watcher._types.json#/$defs/watcher._types__ConditionType"},"compare":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultConditionResolved"},"array_compare":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultConditionResolved"}},"required":["met","status","type"]},"watcher._types__ExecutionResultStatus":{"enum":["success","failure"]},"watcher._types__ConditionType":{"enum":["always","never","script","compare","array_compare"]},"watcher._types__ExecutionResultConditionResolved":{"type":"object","properties":{"resolved_values":{"type":"object","additionalProperties":{}}}},"watcher._types__ExecutionResultTransform":{"type":"object","properties":{"payload":{"type":"object","additionalProperties":{}},"status":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultStatus"},"type":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultTransformType"},"search":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultSearchInput"},"error":{"$ref":"./_types.json#/$defs/_types__ErrorCause"},"reason":{"type":"string"}},"required":["status","type"]},"watcher._types__ExecutionResultTransformType":{"enum":["script","search","chain"]},"watcher._types__ExecutionResultSearchInput":{"type":"object","properties":{"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__SearchInputRequestDefinition"}},"required":["request"]},"watcher._types__ExecutionResultForeachAction":{"type":"object","properties":{"email":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailResult"},"index":{"$ref":"./watcher._types.json#/$defs/watcher._types__IndexResult"},"logging":{"$ref":"./watcher._types.json#/$defs/watcher._types__LoggingResult"},"pagerduty":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyResult"},"slack":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackResult"},"webhook":{"$ref":"./watcher._types.json#/$defs/watcher._types__WebhookResult"},"error":{"$ref":"./_types.json#/$defs/_types__ErrorCause"},"reason":{"type":"string"}},"description":"The result of a single action execution."},"watcher._types__ExecutionResultInput":{"type":"object","properties":{"payload":{"type":"object","additionalProperties":{}},"status":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultStatus"},"type":{"$ref":"./watcher._types.json#/$defs/watcher._types__InputType"},"search":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultSearchInput","description":"The resolved search request, present when the input is a search input."},"http":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultHttpInput","description":"The resolved HTTP request, present when the input is an HTTP input."},"chain":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultInput"},"description":"The result of each named input, present when the input is a chain input."},"error":{"$ref":"./_types.json#/$defs/_types__ErrorCause"}},"required":["status","type"]},"watcher._types__InputType":{"enum":["chain","http","none","search","simple","transform"]},"watcher._types__ExecutionResultHttpInput":{"type":"object","properties":{"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputRequestResult"},"status_code":{"type":"number","description":"The HTTP status code returned by the request.\nIt is only present when the request was executed."}},"required":["request"]},"watcher._types__QueryWatch":{"type":"object","properties":{"_id":{"type":"string"},"status":{"$ref":"./watcher._types.json#/$defs/watcher._types__WatchStatus"},"watch":{"$ref":"./watcher._types.json#/$defs/watcher._types__Watch"},"_primary_term":{"type":"number"},"_seq_no":{"type":"number"}},"required":["_id"]},"watcher._types__ExecutionPhase":{"enum":["awaits_execution","started","input","condition","actions","watch_transform","aborted","finished"]},"watcher._types__ExecutionThreadPool":{"type":"object","properties":{"max_size":{"type":"number","description":"The largest size of the execution thread pool, which indicates the largest number of concurrent running watches."},"queue_size":{"type":"number","description":"The number of watches that were triggered and are currently queued."}},"required":["max_size","queue_size"]}}}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","$defs":{"watcher._types__ScheduleTimeOfDay":{"anyOf":[{"type":"string"},{"$ref":"./watcher._types.json#/$defs/watcher._types__HourAndMinute"}],"description":"A time of day, expressed either as `hh:mm`, `noon`, `midnight`, or an hour/minutes structure."},"watcher._types__HourAndMinute":{"type":"object","properties":{"hour":{"type":"array","items":{"type":"number"}},"minute":{"type":"array","items":{"type":"number"}}},"required":["hour","minute"]},"watcher._types__WatchStatus":{"type":"object","properties":{"actions":{"$ref":"./watcher._types.json#/$defs/watcher._types__Actions"},"last_checked":{"$ref":"./_types.json#/$defs/_types__DateTime"},"last_met_condition":{"$ref":"./_types.json#/$defs/_types__DateTime"},"state":{"$ref":"./watcher._types.json#/$defs/watcher._types__ActivationState"},"version":{"type":"number"},"execution_state":{"type":"string"}},"required":["actions","state","version"]},"watcher._types__Actions":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__ActionStatus"}},"watcher._types__ActionStatus":{"type":"object","properties":{"ack":{"$ref":"./watcher._types.json#/$defs/watcher._types__AcknowledgeState"},"last_execution":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionState"},"last_successful_execution":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionState"},"last_throttle":{"$ref":"./watcher._types.json#/$defs/watcher._types__ThrottleState"}},"required":["ack"]},"watcher._types__AcknowledgeState":{"type":"object","properties":{"state":{"$ref":"./watcher._types.json#/$defs/watcher._types__AcknowledgementOptions"},"timestamp":{"$ref":"./_types.json#/$defs/_types__DateTime"}},"required":["state","timestamp"]},"watcher._types__AcknowledgementOptions":{"enum":["awaits_successful_execution","ackable","acked"]},"watcher._types__ExecutionState":{"type":"object","properties":{"successful":{"type":"boolean"},"timestamp":{"$ref":"./_types.json#/$defs/_types__DateTime"},"reason":{"type":"string"}},"required":["successful","timestamp"]},"watcher._types__ThrottleState":{"type":"object","properties":{"reason":{"type":"string"},"timestamp":{"$ref":"./_types.json#/$defs/_types__DateTime"}},"required":["reason","timestamp"]},"watcher._types__ActivationState":{"type":"object","properties":{"active":{"type":"boolean"},"timestamp":{"$ref":"./_types.json#/$defs/_types__DateTime"}},"required":["active","timestamp"]},"watcher._types__ActivationStatus":{"type":"object","properties":{"actions":{"$ref":"./watcher._types.json#/$defs/watcher._types__Actions"},"state":{"$ref":"./watcher._types.json#/$defs/watcher._types__ActivationState"},"version":{"type":"number"}},"required":["actions","state","version"]},"watcher._types__ActionExecutionMode":{"enum":["simulate","force_simulate","execute","force_execute","skip"]},"watcher._types__SimulatedActions":{"type":"object","properties":{"actions":{"type":"array","items":{"type":"string"}},"all":{"$ref":"./watcher._types.json#/$defs/watcher._types__SimulatedActions"},"use_all":{"type":"boolean"}},"required":["actions","all","use_all"]},"watcher._types__ScheduleTriggerEvent":{"type":"object","properties":{"scheduled_time":{"$ref":"./_types.json#/$defs/_types__DateTime"},"triggered_time":{"$ref":"./_types.json#/$defs/_types__DateTime"}},"required":["scheduled_time"]},"watcher._types__Watch":{"type":"object","properties":{"actions":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__Action"}},"condition":{"$ref":"./watcher._types.json#/$defs/watcher._types__ConditionContainer"},"input":{"$ref":"./watcher._types.json#/$defs/watcher._types__InputContainer"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata"},"status":{"$ref":"./watcher._types.json#/$defs/watcher._types__WatchStatus"},"throttle_period":{"$ref":"./_types.json#/$defs/_types__Duration"},"throttle_period_in_millis":{},"transform":{"$ref":"./_types.json#/$defs/_types__TransformContainer"},"trigger":{"$ref":"./watcher._types.json#/$defs/watcher._types__TriggerContainer"}},"required":["actions","input","trigger"]},"watcher._types__Action":{"type":"object","properties":{"action_type":{"$ref":"./watcher._types.json#/$defs/watcher._types__ActionType"},"condition":{"$ref":"./watcher._types.json#/$defs/watcher._types__ConditionContainer"},"foreach":{"type":"string"},"max_iterations":{"type":"number"},"name":{"type":"string"},"throttle_period":{"$ref":"./_types.json#/$defs/_types__Duration"},"throttle_period_in_millis":{},"transform":{"$ref":"./_types.json#/$defs/_types__TransformContainer"},"index":{"$ref":"./watcher._types.json#/$defs/watcher._types__IndexAction"},"logging":{"$ref":"./watcher._types.json#/$defs/watcher._types__LoggingAction"},"email":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailAction"},"pagerduty":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyAction"},"slack":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackAction"},"webhook":{"$ref":"./watcher._types.json#/$defs/watcher._types__WebhookAction"}}},"watcher._types__ActionType":{"enum":["email","webhook","index","logging","slack","pagerduty"]},"watcher._types__ConditionContainer":{"type":"object","properties":{"always":{"$ref":"./watcher._types.json#/$defs/watcher._types__AlwaysCondition"},"array_compare":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__ArrayCompareCondition"}},"compare":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"$ref":"./_types.json#/$defs/_types__FieldValue"}}},"never":{"$ref":"./watcher._types.json#/$defs/watcher._types__NeverCondition"},"script":{"$ref":"./watcher._types.json#/$defs/watcher._types__ScriptCondition"}}},"watcher._types__AlwaysCondition":{"type":"object","properties":{}},"watcher._types__ArrayCompareCondition":{"type":"object","additionalProperties":{}},"watcher._types__NeverCondition":{"type":"object","properties":{}},"watcher._types__ScriptCondition":{"type":"object","properties":{"lang":{"$ref":"./_types.json#/$defs/_types__ScriptLanguage"},"params":{"type":"object","additionalProperties":{}},"source":{"$ref":"./_types.json#/$defs/_types__ScriptSource"},"id":{"type":"string"}}},"watcher._types__SearchInputRequestDefinition":{"type":"object","properties":{"body":{"$ref":"./_global.search._types.json#/$defs/_global.search._types__SearchRequestBody"},"indices":{"$ref":"./_types.json#/$defs/_types__Indices"},"indices_options":{"$ref":"./_types.json#/$defs/_types__IndicesOptions"},"search_type":{"$ref":"./_types.json#/$defs/_types__SearchType"},"template":{"$ref":"./watcher._types.json#/$defs/watcher._types__SearchTemplateRequestBody"},"rest_total_hits_as_int":{"type":"boolean"}}},"watcher._types__SearchTemplateRequestBody":{"type":"object","properties":{"explain":{"type":"boolean"},"id":{"type":"string","description":"ID of the search template to use. If no source is specified,\nthis parameter is required."},"lang":{"$ref":"./_types.json#/$defs/_types__ScriptLanguage","description":"The language the template is written in.\nIt is reported in the resolved search input of a watch record."},"params":{"type":"object","additionalProperties":{}},"profile":{"type":"boolean"},"source":{"type":"string","description":"An inline search template. Supports the same parameters as the search API's\nrequest body. Also supports Mustache variables. If no id is specified, this\nparameter is required."}}},"watcher._types__IndexAction":{"type":"object","properties":{"index":{"type":"string"},"doc_id":{"type":"string"},"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh"},"op_type":{"$ref":"./_types.json#/$defs/_types__OpType"},"timeout":{"$ref":"./_types.json#/$defs/_types__Duration"},"execution_time_field":{"type":"string","description":"Path to field or array of paths. Some API's support wildcards in the path to select multiple fields."}}},"watcher._types__LoggingAction":{"type":"object","properties":{"level":{"type":"string"},"text":{"type":"string"},"category":{"type":"string"}},"required":["text"]},"watcher._types__EmailAction":{"type":"object","properties":{"id":{"type":"string"},"bcc":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"body":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailBody"},"cc":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"from":{"type":"string"},"priority":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailPriority"},"reply_to":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"sent_date":{"$ref":"./_types.json#/$defs/_types__DateTime"},"subject":{"type":"string"},"to":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"attachments":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailAttachmentContainer"}}},"required":["subject","to"]},"watcher._types__EmailBody":{"type":"object","properties":{"html":{"type":"string"},"text":{"type":"string"}}},"watcher._types__EmailPriority":{"enum":["lowest","low","normal","high","highest"]},"watcher._types__EmailAttachmentContainer":{"type":"object","properties":{"http":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpEmailAttachment"},"reporting":{"$ref":"./watcher._types.json#/$defs/watcher._types__ReportingEmailAttachment"},"data":{"$ref":"./watcher._types.json#/$defs/watcher._types__DataEmailAttachment"}}},"watcher._types__HttpEmailAttachment":{"type":"object","properties":{"content_type":{"type":"string"},"inline":{"type":"boolean"},"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputRequestDefinition"}}},"watcher._types__HttpInputRequestDefinition":{"type":"object","properties":{"auth":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputAuthentication"},"body":{"type":"string"},"connection_timeout":{"$ref":"./_types.json#/$defs/_types__Duration"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"host":{"type":"string"},"method":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputMethod"},"params":{"type":"object","additionalProperties":{"type":"string"}},"path":{"type":"string"},"port":{"type":"number"},"proxy":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputProxy"},"read_timeout":{"$ref":"./_types.json#/$defs/_types__Duration"},"scheme":{"$ref":"./watcher._types.json#/$defs/watcher._types__ConnectionScheme"},"url":{"type":"string"}}},"watcher._types__HttpInputAuthentication":{"type":"object","properties":{"basic":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputBasicAuthentication"}},"required":["basic"]},"watcher._types__HttpInputBasicAuthentication":{"type":"object","properties":{"password":{"type":"string"},"username":{"type":"string"}},"required":["password","username"]},"watcher._types__HttpInputMethod":{"enum":["head","get","post","put","delete"]},"watcher._types__HttpInputProxy":{"type":"object","properties":{"host":{"type":"string"},"port":{"type":"number"}},"required":["host","port"]},"watcher._types__ConnectionScheme":{"enum":["http","https"]},"watcher._types__ReportingEmailAttachment":{"type":"object","properties":{"url":{"type":"string"},"inline":{"type":"boolean"},"retries":{"type":"number"},"interval":{"$ref":"./_types.json#/$defs/_types__Duration"},"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputRequestDefinition"}},"required":["url"]},"watcher._types__DataEmailAttachment":{"type":"object","properties":{"format":{"$ref":"./watcher._types.json#/$defs/watcher._types__DataAttachmentFormat"}}},"watcher._types__DataAttachmentFormat":{"enum":["json","yaml"]},"watcher._types__PagerDutyAction":{"type":"object","properties":{"account":{"type":"string"},"attach_payload":{"type":"boolean"},"client":{"type":"string"},"client_url":{"type":"string"},"contexts":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyContext"}},"description":{"type":"string"},"event_type":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyEventType"},"incident_key":{"type":"string"},"proxy":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyEventProxy"}},"required":["attach_payload","description","incident_key"]},"watcher._types__PagerDutyContext":{"type":"object","properties":{"href":{"type":"string"},"src":{"type":"string"},"type":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyContextType"}},"required":["type"]},"watcher._types__PagerDutyContextType":{"enum":["link","image"]},"watcher._types__PagerDutyEventType":{"enum":["trigger","resolve","acknowledge"]},"watcher._types__PagerDutyEventProxy":{"type":"object","properties":{"host":{"type":"string"},"port":{"type":"number"}}},"watcher._types__SlackAction":{"type":"object","properties":{"account":{"type":"string"},"message":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackMessage"}},"required":["message"]},"watcher._types__SlackMessage":{"type":"object","properties":{"attachments":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackAttachment"}},"dynamic_attachments":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackDynamicAttachment"},"from":{"type":"string"},"icon":{"type":"string"},"text":{"type":"string"},"to":{"type":"array","items":{"type":"string"}}},"required":["attachments","from","text","to"]},"watcher._types__SlackAttachment":{"type":"object","properties":{"author_icon":{"type":"string"},"author_link":{"type":"string"},"author_name":{"type":"string"},"color":{"type":"string"},"fallback":{"type":"string"},"fields":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackAttachmentField"}},"footer":{"type":"string"},"footer_icon":{"type":"string"},"image_url":{"type":"string"},"pretext":{"type":"string"},"text":{"type":"string"},"thumb_url":{"type":"string"},"title":{"type":"string"},"title_link":{"type":"string"},"ts":{}},"required":["author_name","title"]},"watcher._types__SlackAttachmentField":{"type":"object","properties":{"short":{"type":"boolean"},"title":{"type":"string"},"value":{"type":"string"}},"required":["short","title","value"]},"watcher._types__SlackDynamicAttachment":{"type":"object","properties":{"attachment_template":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackAttachment"},"list_path":{"type":"string"}},"required":["attachment_template","list_path"]},"watcher._types__WebhookAction":{"type":"object","properties":{"auth":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputAuthentication"},"body":{"type":"string"},"connection_timeout":{"$ref":"./_types.json#/$defs/_types__Duration"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"host":{"type":"string"},"method":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputMethod"},"params":{"type":"object","additionalProperties":{"type":"string"}},"path":{"type":"string"},"port":{"type":"number"},"proxy":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputProxy"},"read_timeout":{"$ref":"./_types.json#/$defs/_types__Duration"},"scheme":{"$ref":"./watcher._types.json#/$defs/watcher._types__ConnectionScheme"},"url":{"type":"string"}}},"watcher._types__InputContainer":{"type":"object","properties":{"chain":{"$ref":"./watcher._types.json#/$defs/watcher._types__ChainInput"},"http":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInput"},"search":{"$ref":"./watcher._types.json#/$defs/watcher._types__SearchInput"},"simple":{"type":"object","additionalProperties":{}},"transform":{"$ref":"./_types.json#/$defs/_types__TransformContainer"}}},"watcher._types__ChainInput":{"type":"object","properties":{"inputs":{"type":"array","items":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__InputContainer"}}}},"required":["inputs"]},"watcher._types__HttpInput":{"type":"object","properties":{"extract":{"type":"array","items":{"type":"string"}},"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputRequestDefinition"},"response_content_type":{"$ref":"./watcher._types.json#/$defs/watcher._types__ResponseContentType"}}},"watcher._types__ResponseContentType":{"enum":["json","yaml","text"]},"watcher._types__SearchInput":{"type":"object","properties":{"extract":{"type":"array","items":{"type":"string"}},"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__SearchInputRequestDefinition"},"timeout":{"$ref":"./_types.json#/$defs/_types__Duration"}},"required":["request"]},"watcher._types__TriggerContainer":{"type":"object","properties":{"schedule":{"$ref":"./watcher._types.json#/$defs/watcher._types__ScheduleContainer"}}},"watcher._types__ScheduleContainer":{"type":"object","properties":{"timezone":{"type":"string"},"cron":{"type":"string"},"daily":{"$ref":"./watcher._types.json#/$defs/watcher._types__DailySchedule"},"hourly":{"$ref":"./watcher._types.json#/$defs/watcher._types__HourlySchedule"},"interval":{"$ref":"./_types.json#/$defs/_types__Duration"},"monthly":{"anyOf":[{"$ref":"./watcher._types.json#/$defs/watcher._types__TimeOfMonth"},{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__TimeOfMonth"}}]},"weekly":{"anyOf":[{"$ref":"./watcher._types.json#/$defs/watcher._types__TimeOfWeek"},{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__TimeOfWeek"}}]},"yearly":{"anyOf":[{"$ref":"./watcher._types.json#/$defs/watcher._types__TimeOfYear"},{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__TimeOfYear"}}]}}},"watcher._types__DailySchedule":{"type":"object","properties":{"at":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__ScheduleTimeOfDay"}}},"required":["at"]},"watcher._types__HourlySchedule":{"type":"object","properties":{"minute":{"type":"array","items":{"type":"number"}}},"required":["minute"]},"watcher._types__TimeOfMonth":{"type":"object","properties":{"at":{"type":"array","items":{"type":"string"}},"on":{"type":"array","items":{"type":"number"}}},"required":["at","on"]},"watcher._types__TimeOfWeek":{"type":"object","properties":{"at":{"type":"array","items":{"type":"string"}},"on":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__Day"}}},"required":["at","on"]},"watcher._types__Day":{"enum":["sunday","monday","tuesday","wednesday","thursday","friday","saturday"]},"watcher._types__TimeOfYear":{"type":"object","properties":{"at":{"type":"array","items":{"type":"string"}},"int":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__Month"}},"on":{"type":"array","items":{"type":"number"}}},"required":["at","int","on"]},"watcher._types__Month":{"enum":["january","february","march","april","may","june","july","august","september","october","november","december"]},"watcher._types__ExecutionStatus":{"enum":["awaits_execution","checking","execution_not_needed","throttled","executed","failed","deleted_while_queued","not_executed_already_queued"]},"watcher._types__TriggerEventResult":{"type":"object","properties":{"manual":{"$ref":"./watcher._types.json#/$defs/watcher._types__TriggerEventContainer"},"triggered_time":{"$ref":"./_types.json#/$defs/_types__DateTime"},"type":{"type":"string"}},"required":["manual","triggered_time","type"]},"watcher._types__TriggerEventContainer":{"type":"object","properties":{"schedule":{"$ref":"./watcher._types.json#/$defs/watcher._types__ScheduleTriggerEvent"}}},"watcher._types__ExecutionResult":{"type":"object","properties":{"actions":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultAction"}},"condition":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultCondition"},"execution_duration":{},"execution_time":{"$ref":"./_types.json#/$defs/_types__DateTime"},"input":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultInput"},"transform":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultTransform"}},"required":["actions","execution_duration","execution_time"]},"watcher._types__ExecutionResultAction":{"type":"object","properties":{"email":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailResult"},"index":{"$ref":"./watcher._types.json#/$defs/watcher._types__IndexResult"},"logging":{"$ref":"./watcher._types.json#/$defs/watcher._types__LoggingResult"},"pagerduty":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyResult"},"slack":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackResult"},"webhook":{"$ref":"./watcher._types.json#/$defs/watcher._types__WebhookResult"},"error":{"$ref":"./_types.json#/$defs/_types__ErrorCause"},"reason":{"type":"string"},"id":{"type":"string"},"type":{"$ref":"./watcher._types.json#/$defs/watcher._types__ActionType"},"status":{"$ref":"./watcher._types.json#/$defs/watcher._types__ActionStatusOptions"},"condition":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultCondition"},"transform":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultTransform"},"foreach":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultForeachAction"}},"max_iterations":{"type":"number"},"number_of_actions_executed":{"type":"number"}},"required":["id","type","status"]},"watcher._types__EmailResult":{"type":"object","properties":{"account":{"type":"string"},"message":{"$ref":"./watcher._types.json#/$defs/watcher._types__Email"},"reason":{"type":"string"}},"required":["message"]},"watcher._types__Email":{"type":"object","properties":{"id":{"type":"string"},"bcc":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"body":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailBody"},"cc":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"from":{"type":"string"},"priority":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailPriority"},"reply_to":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"sent_date":{"$ref":"./_types.json#/$defs/_types__DateTime"},"subject":{"type":"string"},"to":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"attachments":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailAttachmentContainer"}}},"required":["subject","to"]},"watcher._types__IndexResult":{"type":"object","properties":{"response":{"anyOf":[{"$ref":"./watcher._types.json#/$defs/watcher._types__IndexResultSummary"},{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__IndexResultSummary"}}],"description":"The outcome of the index operation.\nA single summary is returned when a single document is indexed, or an array\nwhen several documents are indexed at once. When a bulk operation ends in\n`failure` or `partial_failure`, the array includes failed items."},"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__IndexResultRequestSummary","description":"The request that would have been executed.\nIt is only present when the action is simulated."}},"description":"The result of an index action.\nIt is a container that holds either the `response` of an executed index\noperation, or the `request` that would have run when the action is simulated."},"watcher._types__IndexResultSummary":{"type":"object","properties":{"id":{"type":"string"},"index":{"type":"string"},"created":{"type":"boolean"},"result":{"$ref":"./_types.json#/$defs/_types__Result"},"version":{"type":"number"},"failed":{"type":"boolean","description":"Only present for failed items"},"message":{"type":"string","description":"Only present for failed items"}},"required":["id","index"],"description":"A single item of an index action result.\nSuccessful items and failed items expose different fields; only `id` and `index`\nare present in both. Failed items appear when a bulk index action ends in\n`failure` or `partial_failure`."},"watcher._types__IndexResultRequestSummary":{"type":"object","properties":{"doc_id":{"type":"string"},"index":{"type":"string"},"refresh":{"$ref":"./_types.json#/$defs/_types__Refresh"},"source":{}},"required":["index","source"]},"watcher._types__LoggingResult":{"type":"object","properties":{"logged_text":{"type":"string"}},"required":["logged_text"]},"watcher._types__PagerDutyResult":{"type":"object","properties":{"event":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyEvent"},"reason":{"type":"string"},"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputRequestResult"},"response":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputResponseResult"}},"required":["event"]},"watcher._types__PagerDutyEvent":{"type":"object","properties":{"account":{"type":"string"},"attach_payload":{"type":"boolean"},"client":{"type":"string"},"client_url":{"type":"string"},"contexts":{"type":"array","items":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyContext"}},"description":{"type":"string"},"event_type":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyEventType"},"incident_key":{"type":"string"},"proxy":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyEventProxy"}},"required":["attach_payload","description","incident_key"]},"watcher._types__HttpInputRequestResult":{"type":"object","properties":{"auth":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputAuthentication"},"body":{"type":"string"},"connection_timeout":{"$ref":"./_types.json#/$defs/_types__Duration"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"host":{"type":"string"},"method":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputMethod"},"params":{"type":"object","additionalProperties":{"type":"string"}},"path":{"type":"string"},"port":{"type":"number"},"proxy":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputProxy"},"read_timeout":{"$ref":"./_types.json#/$defs/_types__Duration"},"scheme":{"$ref":"./watcher._types.json#/$defs/watcher._types__ConnectionScheme"},"url":{"type":"string"}}},"watcher._types__HttpInputResponseResult":{"type":"object","properties":{"body":{"type":"string"},"headers":{"$ref":"./_types.json#/$defs/_types__HttpHeaders"},"status":{"type":"number"}},"required":["body","headers","status"]},"watcher._types__SlackResult":{"type":"object","properties":{"account":{"type":"string"},"message":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackMessage"}},"required":["message"]},"watcher._types__WebhookResult":{"type":"object","properties":{"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputRequestResult"},"response":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputResponseResult"}},"required":["request"]},"watcher._types__ActionStatusOptions":{"enum":["success","failure","partial_failure","acknowledged","throttled","condition_failed","simulated"]},"watcher._types__ExecutionResultCondition":{"type":"object","properties":{"met":{"type":"boolean"},"status":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultStatus"},"type":{"$ref":"./watcher._types.json#/$defs/watcher._types__ConditionType"},"compare":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultConditionResolved"},"array_compare":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultConditionResolved"}},"required":["met","status","type"]},"watcher._types__ExecutionResultStatus":{"enum":["success","failure"]},"watcher._types__ConditionType":{"enum":["always","never","script","compare","array_compare"]},"watcher._types__ExecutionResultConditionResolved":{"type":"object","properties":{"resolved_values":{"type":"object","additionalProperties":{}}}},"watcher._types__ExecutionResultTransform":{"type":"object","properties":{"payload":{"type":"object","additionalProperties":{}},"status":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultStatus"},"type":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultTransformType"},"search":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultSearchInput"},"error":{"$ref":"./_types.json#/$defs/_types__ErrorCause"},"reason":{"type":"string"}},"required":["status","type"]},"watcher._types__ExecutionResultTransformType":{"enum":["script","search","chain"]},"watcher._types__ExecutionResultSearchInput":{"type":"object","properties":{"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__SearchInputRequestDefinition"}},"required":["request"]},"watcher._types__ExecutionResultForeachAction":{"type":"object","properties":{"email":{"$ref":"./watcher._types.json#/$defs/watcher._types__EmailResult"},"index":{"$ref":"./watcher._types.json#/$defs/watcher._types__IndexResult"},"logging":{"$ref":"./watcher._types.json#/$defs/watcher._types__LoggingResult"},"pagerduty":{"$ref":"./watcher._types.json#/$defs/watcher._types__PagerDutyResult"},"slack":{"$ref":"./watcher._types.json#/$defs/watcher._types__SlackResult"},"webhook":{"$ref":"./watcher._types.json#/$defs/watcher._types__WebhookResult"},"error":{"$ref":"./_types.json#/$defs/_types__ErrorCause"},"reason":{"type":"string"}},"description":"The result of a single action execution."},"watcher._types__ExecutionResultInput":{"type":"object","properties":{"payload":{"type":"object","additionalProperties":{}},"status":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultStatus"},"type":{"$ref":"./watcher._types.json#/$defs/watcher._types__InputType"},"search":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultSearchInput","description":"The resolved search request, present when the input is a search input."},"http":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultHttpInput","description":"The resolved HTTP request, present when the input is an HTTP input."},"chain":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__ExecutionResultInput"},"description":"The result of each named input, present when the input is a chain input."},"error":{"$ref":"./_types.json#/$defs/_types__ErrorCause"}},"required":["status","type"]},"watcher._types__InputType":{"enum":["chain","http","none","search","simple","transform"]},"watcher._types__ExecutionResultHttpInput":{"type":"object","properties":{"request":{"$ref":"./watcher._types.json#/$defs/watcher._types__HttpInputRequestResult"},"status_code":{"type":"number","description":"The HTTP status code returned by the request.\nIt is only present when the request was executed."}},"required":["request"]},"watcher._types__QueryWatch":{"type":"object","properties":{"_id":{"type":"string"},"status":{"$ref":"./watcher._types.json#/$defs/watcher._types__WatchStatus"},"watch":{"$ref":"./watcher._types.json#/$defs/watcher._types__Watch"},"_primary_term":{"type":"number"},"_seq_no":{"type":"number"}},"required":["_id"]},"watcher._types__ExecutionPhase":{"enum":["awaits_execution","started","input","condition","actions","watch_transform","aborted","finished"]},"watcher._types__ExecutionThreadPool":{"type":"object","properties":{"max_size":{"type":"number","description":"The largest size of the execution thread pool, which indicates the largest number of concurrent running watches."},"queue_size":{"type":"number","description":"The number of watches that were triggered and are currently queued."}},"required":["max_size","queue_size"]}}}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"watcher.execute_watch","type":"object","properties":{"action_modes":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__ActionExecutionMode"},"description":"Determines how to handle the watch actions as part of the watch execution.","x-found-in":"body"},"alternative_input":{"type":"object","additionalProperties":{},"description":"When present, the watch uses this object as a payload instead of executing its own input.","x-found-in":"body"},"ignore_condition":{"type":"boolean","description":"When set to `true`, the watch execution uses the always condition. This can also be specified as an HTTP parameter.","x-found-in":"body"},"record_execution":{"type":"boolean","description":"When set to `true`, the watch record representing the watch execution result is persisted to the `.watcher-history` index for the current time.\nIn addition, the status of the watch is updated, possibly throttling subsequent runs.\nThis can also be specified as an HTTP parameter.","x-found-in":"body"},"simulated_actions":{"$ref":"./watcher._types.json#/$defs/watcher._types__SimulatedActions","x-found-in":"body"},"trigger_data":{"$ref":"./watcher._types.json#/$defs/watcher._types__ScheduleTriggerEvent","description":"This structure is parsed as the data of the trigger event that will be used during the watch execution.","x-found-in":"body"},"watch":{"$ref":"./watcher._types.json#/$defs/watcher._types__Watch","description":"When present, this watch is used instead of the one specified in the request.\nThis watch is not persisted to the index and `record_execution` cannot be set.","x-found-in":"body"},"debug":{"type":"boolean","description":"Defines whether the watch runs in debug mode.","x-found-in":"query"},"id":{"type":"string","description":"The watch identifier.","x-found-in":"path"}},"description":"Run a watch.\n\nThis API can be used to force execution of the watch outside of its triggering logic or to simulate the watch execution for debugging purposes.\n\nFor testing and debugging purposes, you also have fine-grained control on how the watch runs.\nYou can run the watch without running all of its actions or alternatively by simulating them.\nYou can also force execution by ignoring the watch condition and control whether a watch record would be written to the watch history after it runs.\n\nYou can use the run watch API to run watches that are not yet registered by specifying the watch definition inline.\nThis serves as great tool for testing and debugging your watches prior to adding them to Watcher.\n\nWhen Elasticsearch security features are enabled on your cluster, watches are run with the privileges of the user that stored the watches.\nIf your user is allowed to read index `a`, but not index `b`, then the exact same set of rules will apply during execution of a watch.\n\nWhen using the run watch API, the authorization data of the user that called the API will be used as a base, instead of the information who stored the watch.\nRefer to the external documentation for examples of watch execution requests, including existing, customized, and inline watches."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"watcher.execute_watch","type":"object","properties":{"debug":{"type":"boolean","description":"Defines whether the watch runs in debug mode.","x-found-in":"query"},"action_modes":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__ActionExecutionMode"},"description":"Determines how to handle the watch actions as part of the watch execution.","x-found-in":"body"},"alternative_input":{"type":"object","additionalProperties":{},"description":"When present, the watch uses this object as a payload instead of executing its own input.","x-found-in":"body"},"ignore_condition":{"type":"boolean","description":"When set to `true`, the watch execution uses the always condition. This can also be specified as an HTTP parameter.","x-found-in":"body"},"record_execution":{"type":"boolean","description":"When set to `true`, the watch record representing the watch execution result is persisted to the `.watcher-history` index for the current time.\nIn addition, the status of the watch is updated, possibly throttling subsequent runs.\nThis can also be specified as an HTTP parameter.","x-found-in":"body"},"simulated_actions":{"$ref":"./watcher._types.json#/$defs/watcher._types__SimulatedActions","x-found-in":"body"},"trigger_data":{"$ref":"./watcher._types.json#/$defs/watcher._types__ScheduleTriggerEvent","description":"This structure is parsed as the data of the trigger event that will be used during the watch execution.","x-found-in":"body"},"watch":{"$ref":"./watcher._types.json#/$defs/watcher._types__Watch","description":"When present, this watch is used instead of the one specified in the request.\nThis watch is not persisted to the index and `record_execution` cannot be set.","x-found-in":"body"},"id":{"type":"string","description":"The watch identifier.","x-found-in":"path"}},"description":"Run a watch.\n\nThis API can be used to force execution of the watch outside of its triggering logic or to simulate the watch execution for debugging purposes.\n\nFor testing and debugging purposes, you also have fine-grained control on how the watch runs.\nYou can run the watch without running all of its actions or alternatively by simulating them.\nYou can also force execution by ignoring the watch condition and control whether a watch record would be written to the watch history after it runs.\n\nYou can use the run watch API to run watches that are not yet registered by specifying the watch definition inline.\nThis serves as great tool for testing and debugging your watches prior to adding them to Watcher.\n\nWhen Elasticsearch security features are enabled on your cluster, watches are run with the privileges of the user that stored the watches.\nIf your user is allowed to read index `a`, but not index `b`, then the exact same set of rules will apply during execution of a watch.\n\nWhen using the run watch API, the authorization data of the user that called the API will be used as a base, instead of the information who stored the watch.\nRefer to the external documentation for examples of watch execution requests, including existing, customized, and inline watches."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"watcher.put_watch","type":"object","properties":{"actions":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__Action"},"description":"The list of actions that will be run if the condition matches.","x-found-in":"body"},"condition":{"$ref":"./watcher._types.json#/$defs/watcher._types__ConditionContainer","description":"The condition that defines if the actions should be run.","x-found-in":"body"},"input":{"$ref":"./watcher._types.json#/$defs/watcher._types__InputContainer","description":"The input that defines the input that loads the data for the watch.","x-found-in":"body"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Metadata JSON that will be copied into the history entries.","x-found-in":"body"},"throttle_period":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The minimum time between actions being run.\nThe default is 5 seconds.\nThis default can be changed in the config file with the setting `xpack.watcher.throttle.period.default_period`.\nIf both this value and the `throttle_period_in_millis` parameter are specified, Watcher uses the last parameter included in the request.","x-found-in":"body"},"throttle_period_in_millis":{"description":"Minimum time in milliseconds between actions being run. Defaults to 5000. If both this value and the throttle_period parameter are specified, Watcher uses the last parameter included in the request.","x-found-in":"body"},"transform":{"$ref":"./_types.json#/$defs/_types__TransformContainer","description":"The transform that processes the watch payload to prepare it for the watch actions.","x-found-in":"body"},"trigger":{"$ref":"./watcher._types.json#/$defs/watcher._types__TriggerContainer","description":"The trigger that defines when the watch should run.","x-found-in":"body"},"active":{"type":"boolean","description":"The initial state of the watch.\nThe default value is `true`, which means the watch is active by default.","x-found-in":"query"},"if_primary_term":{"type":"number","description":"Only update the watch if the last operation that has changed the watch has the specified primary term","x-found-in":"query"},"if_seq_no":{"type":"number","description":"Only update the watch if the last operation that has changed the watch has the specified sequence number","x-found-in":"query"},"version":{"type":"number","description":"Explicit version number for concurrency control","x-found-in":"query"},"id":{"type":"string","description":"The identifier for the watch.","x-found-in":"path"}},"required":["id"],"description":"Create or update a watch.\n\nWhen a watch is registered, a new document that represents the watch is added to the `.watches` index and its trigger is immediately registered with the relevant trigger engine.\nTypically for the `schedule` trigger, the scheduler is the trigger engine.\n\nIMPORTANT: You must use Kibana or this API to create a watch.\nDo not add a watch directly to the `.watches` index by using the Elasticsearch index API.\nIf Elasticsearch security features are enabled, do not give users write privileges on the `.watches` index.\n\nWhen you add a watch you can also define its initial active state by setting the *active* parameter.\n\nWhen Elasticsearch security features are enabled, your watch can index or search only on indices for which the user that stored the watch has privileges.\nIf the user is able to read index `a`, but not index `b`, the same will apply when the watch runs."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"watcher.put_watch","type":"object","properties":{"active":{"type":"boolean","description":"The initial state of the watch.\nThe default value is `true`, which means the watch is active by default.","x-found-in":"query"},"if_primary_term":{"type":"number","description":"Only update the watch if the last operation that has changed the watch has the specified primary term","x-found-in":"query"},"if_seq_no":{"type":"number","description":"Only update the watch if the last operation that has changed the watch has the specified sequence number","x-found-in":"query"},"version":{"type":"number","description":"Explicit version number for concurrency control","x-found-in":"query"},"actions":{"type":"object","additionalProperties":{"$ref":"./watcher._types.json#/$defs/watcher._types__Action"},"description":"The list of actions that will be run if the condition matches.","x-found-in":"body"},"condition":{"$ref":"./watcher._types.json#/$defs/watcher._types__ConditionContainer","description":"The condition that defines if the actions should be run.","x-found-in":"body"},"input":{"$ref":"./watcher._types.json#/$defs/watcher._types__InputContainer","description":"The input that defines the input that loads the data for the watch.","x-found-in":"body"},"metadata":{"$ref":"./_types.json#/$defs/_types__Metadata","description":"Metadata JSON that will be copied into the history entries.","x-found-in":"body"},"throttle_period":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The minimum time between actions being run.\nThe default is 5 seconds.\nThis default can be changed in the config file with the setting `xpack.watcher.throttle.period.default_period`.\nIf both this value and the `throttle_period_in_millis` parameter are specified, Watcher uses the last parameter included in the request.","x-found-in":"body"},"throttle_period_in_millis":{"description":"Minimum time in milliseconds between actions being run. Defaults to 5000. If both this value and the throttle_period parameter are specified, Watcher uses the last parameter included in the request.","x-found-in":"body"},"transform":{"$ref":"./_types.json#/$defs/_types__TransformContainer","description":"The transform that processes the watch payload to prepare it for the watch actions.","x-found-in":"body"},"trigger":{"$ref":"./watcher._types.json#/$defs/watcher._types__TriggerContainer","description":"The trigger that defines when the watch should run.","x-found-in":"body"},"id":{"type":"string","description":"The identifier for the watch.","x-found-in":"path"}},"required":["id"],"description":"Create or update a watch.\n\nWhen a watch is registered, a new document that represents the watch is added to the `.watches` index and its trigger is immediately registered with the relevant trigger engine.\nTypically for the `schedule` trigger, the scheduler is the trigger engine.\n\nIMPORTANT: You must use Kibana or this API to create a watch.\nDo not add a watch directly to the `.watches` index by using the Elasticsearch index API.\nIf Elasticsearch security features are enabled, do not give users write privileges on the `.watches` index.\n\nWhen you add a watch you can also define its initial active state by setting the *active* parameter.\n\nWhen Elasticsearch security features are enabled, your watch can index or search only on indices for which the user that stored the watch has privileges.\nIf the user is able to read index `a`, but not index `b`, the same will apply when the watch runs."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"watcher.stats","type":"object","properties":{"emit_stacktraces":{"type":"boolean","description":"Defines whether stack traces are generated for each watch that is running.","x-found-in":"query"},"metric":{"oneOf":[{"$ref":"./watcher.stats.json#/$defs/watcher.stats__WatcherMetric"},{"type":"array","items":{"$ref":"./watcher.stats.json#/$defs/watcher.stats__WatcherMetric"}}],"description":"Defines which additional metrics are included in the response.","x-found-in":"path"}},"description":"Get Watcher statistics.\n\nThis API always returns basic metrics.\nYou retrieve more metrics by using the metric parameter."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"watcher.stats","type":"object","properties":{"emit_stacktraces":{"type":"boolean","description":"Defines whether stack traces are generated for each watch that is running.","x-found-in":"query"},"metric":{"anyOf":[{"$ref":"./watcher.stats.json#/$defs/watcher.stats__WatcherMetric"},{"type":"array","items":{"$ref":"./watcher.stats.json#/$defs/watcher.stats__WatcherMetric"}}],"description":"Defines which additional metrics are included in the response.","x-found-in":"path"}},"description":"Get Watcher statistics.\n\nThis API always returns basic metrics.\nYou retrieve more metrics by using the metric parameter."}
@@ -1 +1 @@
1
- {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"watcher.update_settings","type":"object","properties":{"index.auto_expand_replicas":{"type":"string","x-found-in":"body"},"index.number_of_replicas":{"type":"number","x-found-in":"body"},"master_timeout":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.","x-found-in":"query"},"timeout":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.","x-found-in":"query"}},"description":"Update Watcher index settings.\n\nUpdate settings for the Watcher internal index (`.watches`).\nOnly a subset of settings can be modified.\nThis includes `index.auto_expand_replicas`, `index.number_of_replicas`, `index.routing.allocation.exclude.*`,\n`index.routing.allocation.include.*` and `index.routing.allocation.require.*`.\nModification of `index.routing.allocation.include._tier_preference` is an exception and is not allowed as the\nWatcher shards must always be in the `data_content` tier."}
1
+ {"$schema":"https://json-schema.org/draft/2020-12/schema","title":"watcher.update_settings","type":"object","properties":{"master_timeout":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The period to wait for a connection to the master node.\nIf no response is received before the timeout expires, the request fails and returns an error.","x-found-in":"query"},"timeout":{"$ref":"./_types.json#/$defs/_types__Duration","description":"The period to wait for a response.\nIf no response is received before the timeout expires, the request fails and returns an error.","x-found-in":"query"},"index.auto_expand_replicas":{"type":"string","x-found-in":"body"},"index.number_of_replicas":{"type":"number","x-found-in":"body"}},"description":"Update Watcher index settings.\n\nUpdate settings for the Watcher internal index (`.watches`).\nOnly a subset of settings can be modified.\nThis includes `index.auto_expand_replicas`, `index.number_of_replicas`, `index.routing.allocation.exclude.*`,\n`index.routing.allocation.include.*` and `index.routing.allocation.require.*`.\nModification of `index.routing.allocation.include._tier_preference` is an exception and is not allowed as the\nWatcher shards must always be in the `data_content` tier."}
@@ -12,7 +12,11 @@
12
12
  "type": "string"
13
13
  },
14
14
  "csp": {
15
- "type": "string"
15
+ "enum": [
16
+ "aws",
17
+ "azure",
18
+ "gcp"
19
+ ]
16
20
  },
17
21
  "vpc_service_name": {
18
22
  "type": "string"
@@ -44,7 +48,8 @@
44
48
  },
45
49
  "required": [
46
50
  "region",
47
- "vpc_service_name",
51
+ "csp",
52
+ "private_service_name",
48
53
  "private_hosted_zone_domain_name",
49
54
  "availability_zones"
50
55
  ]