@opensearch-project/opensearch 3.0.0-beta.2 → 3.0.0-beta.3

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 (291) hide show
  1. package/package.json +1 -1
  2. package/types/Client.d.ts +1195 -1195
  3. package/types/components/_common.query_dsl.d.ts +1 -1
  4. package/types/components/search_pipeline._common.d.ts +40 -40
  5. package/types/components/security._common.d.ts +6 -6
  6. package/types/functions/bulk.d.ts +8 -8
  7. package/types/functions/cat.aliases.d.ts +4 -4
  8. package/types/functions/cat.all_pit_segments.d.ts +4 -4
  9. package/types/functions/cat.allocation.d.ts +4 -4
  10. package/types/functions/cat.cluster_manager.d.ts +4 -4
  11. package/types/functions/cat.count.d.ts +4 -4
  12. package/types/functions/cat.fielddata.d.ts +4 -4
  13. package/types/functions/cat.health.d.ts +4 -4
  14. package/types/functions/cat.help.d.ts +4 -4
  15. package/types/functions/cat.indices.d.ts +4 -4
  16. package/types/functions/cat.master.d.ts +4 -4
  17. package/types/functions/cat.nodeattrs.d.ts +4 -4
  18. package/types/functions/cat.nodes.d.ts +4 -4
  19. package/types/functions/cat.pending_tasks.d.ts +4 -4
  20. package/types/functions/cat.pit_segments.d.ts +9 -9
  21. package/types/functions/cat.plugins.d.ts +4 -4
  22. package/types/functions/cat.recovery.d.ts +4 -4
  23. package/types/functions/cat.repositories.d.ts +4 -4
  24. package/types/functions/cat.segment_replication.d.ts +4 -4
  25. package/types/functions/cat.segments.d.ts +4 -4
  26. package/types/functions/cat.shards.d.ts +4 -4
  27. package/types/functions/cat.snapshots.d.ts +4 -4
  28. package/types/functions/cat.tasks.d.ts +4 -4
  29. package/types/functions/cat.templates.d.ts +4 -4
  30. package/types/functions/cat.thread_pool.d.ts +4 -4
  31. package/types/functions/clear_scroll.d.ts +10 -10
  32. package/types/functions/cluster.allocation_explain.d.ts +13 -13
  33. package/types/functions/cluster.delete_component_template.d.ts +4 -4
  34. package/types/functions/cluster.delete_decommission_awareness.d.ts +4 -4
  35. package/types/functions/cluster.delete_voting_config_exclusions.d.ts +4 -4
  36. package/types/functions/cluster.delete_weighted_routing.d.ts +4 -4
  37. package/types/functions/cluster.exists_component_template.d.ts +4 -4
  38. package/types/functions/cluster.get_component_template.d.ts +4 -4
  39. package/types/functions/cluster.get_decommission_awareness.d.ts +4 -4
  40. package/types/functions/cluster.get_settings.d.ts +4 -4
  41. package/types/functions/cluster.get_weighted_routing.d.ts +4 -4
  42. package/types/functions/cluster.health.d.ts +4 -4
  43. package/types/functions/cluster.pending_tasks.d.ts +4 -4
  44. package/types/functions/cluster.post_voting_config_exclusions.d.ts +4 -4
  45. package/types/functions/cluster.put_component_template.d.ts +13 -13
  46. package/types/functions/cluster.put_decommission_awareness.d.ts +4 -4
  47. package/types/functions/cluster.put_settings.d.ts +12 -12
  48. package/types/functions/cluster.put_weighted_routing.d.ts +4 -4
  49. package/types/functions/cluster.remote_info.d.ts +4 -4
  50. package/types/functions/cluster.reroute.d.ts +10 -10
  51. package/types/functions/cluster.state.d.ts +4 -4
  52. package/types/functions/cluster.stats.d.ts +4 -4
  53. package/types/functions/count.d.ts +10 -10
  54. package/types/functions/create.d.ts +7 -7
  55. package/types/functions/create_pit.d.ts +4 -4
  56. package/types/functions/dangling_indices.delete_dangling_index.d.ts +4 -4
  57. package/types/functions/dangling_indices.import_dangling_index.d.ts +4 -4
  58. package/types/functions/dangling_indices.list_dangling_indices.d.ts +4 -4
  59. package/types/functions/delete.d.ts +4 -4
  60. package/types/functions/delete_all_pits.d.ts +4 -4
  61. package/types/functions/delete_by_query.d.ts +13 -13
  62. package/types/functions/delete_by_query_rethrottle.d.ts +4 -4
  63. package/types/functions/delete_pit.d.ts +8 -8
  64. package/types/functions/delete_script.d.ts +4 -4
  65. package/types/functions/exists.d.ts +4 -4
  66. package/types/functions/exists_source.d.ts +4 -4
  67. package/types/functions/explain.d.ts +10 -10
  68. package/types/functions/field_caps.d.ts +13 -13
  69. package/types/functions/get.d.ts +4 -4
  70. package/types/functions/get_all_pits.d.ts +4 -4
  71. package/types/functions/get_script.d.ts +4 -4
  72. package/types/functions/get_script_context.d.ts +4 -4
  73. package/types/functions/get_script_languages.d.ts +4 -4
  74. package/types/functions/get_source.d.ts +4 -4
  75. package/types/functions/index.d.ts +7 -7
  76. package/types/functions/indices.add_block.d.ts +4 -4
  77. package/types/functions/indices.analyze.d.ts +15 -15
  78. package/types/functions/indices.clear_cache.d.ts +4 -4
  79. package/types/functions/indices.clone.d.ts +11 -11
  80. package/types/functions/indices.close.d.ts +4 -4
  81. package/types/functions/indices.create.d.ts +13 -13
  82. package/types/functions/indices.create_data_stream.d.ts +7 -7
  83. package/types/functions/indices.data_streams_stats.d.ts +4 -4
  84. package/types/functions/indices.delete.d.ts +4 -4
  85. package/types/functions/indices.delete_alias.d.ts +4 -4
  86. package/types/functions/indices.delete_data_stream.d.ts +4 -4
  87. package/types/functions/indices.delete_index_template.d.ts +4 -4
  88. package/types/functions/indices.delete_template.d.ts +4 -4
  89. package/types/functions/indices.exists.d.ts +4 -4
  90. package/types/functions/indices.exists_alias.d.ts +4 -4
  91. package/types/functions/indices.exists_index_template.d.ts +4 -4
  92. package/types/functions/indices.exists_template.d.ts +4 -4
  93. package/types/functions/indices.flush.d.ts +4 -4
  94. package/types/functions/indices.forcemerge.d.ts +4 -4
  95. package/types/functions/indices.get.d.ts +4 -4
  96. package/types/functions/indices.get_alias.d.ts +4 -4
  97. package/types/functions/indices.get_data_stream.d.ts +4 -4
  98. package/types/functions/indices.get_field_mapping.d.ts +4 -4
  99. package/types/functions/indices.get_index_template.d.ts +4 -4
  100. package/types/functions/indices.get_mapping.d.ts +4 -4
  101. package/types/functions/indices.get_settings.d.ts +4 -4
  102. package/types/functions/indices.get_template.d.ts +4 -4
  103. package/types/functions/indices.get_upgrade.d.ts +4 -4
  104. package/types/functions/indices.open.d.ts +4 -4
  105. package/types/functions/indices.put_alias.d.ts +16 -16
  106. package/types/functions/indices.put_index_template.d.ts +15 -15
  107. package/types/functions/indices.put_mapping.d.ts +19 -19
  108. package/types/functions/indices.put_settings.d.ts +4 -4
  109. package/types/functions/indices.put_template.d.ts +16 -16
  110. package/types/functions/indices.recovery.d.ts +4 -4
  111. package/types/functions/indices.refresh.d.ts +4 -4
  112. package/types/functions/indices.resolve_index.d.ts +4 -4
  113. package/types/functions/indices.rollover.d.ts +14 -14
  114. package/types/functions/indices.segments.d.ts +4 -4
  115. package/types/functions/indices.shard_stores.d.ts +4 -4
  116. package/types/functions/indices.shrink.d.ts +11 -11
  117. package/types/functions/indices.simulate_index_template.d.ts +15 -15
  118. package/types/functions/indices.simulate_template.d.ts +4 -4
  119. package/types/functions/indices.split.d.ts +12 -12
  120. package/types/functions/indices.stats.d.ts +4 -4
  121. package/types/functions/indices.update_aliases.d.ts +10 -10
  122. package/types/functions/indices.upgrade.d.ts +4 -4
  123. package/types/functions/indices.validate_query.d.ts +10 -10
  124. package/types/functions/info.d.ts +4 -4
  125. package/types/functions/ingest.delete_pipeline.d.ts +4 -4
  126. package/types/functions/ingest.get_pipeline.d.ts +4 -4
  127. package/types/functions/ingest.processor_grok.d.ts +4 -4
  128. package/types/functions/ingest.put_pipeline.d.ts +14 -14
  129. package/types/functions/ingest.simulate.d.ts +12 -12
  130. package/types/functions/knn.delete_model.d.ts +4 -4
  131. package/types/functions/knn.get_model.d.ts +4 -4
  132. package/types/functions/knn.search_models.d.ts +7 -7
  133. package/types/functions/knn.stats.d.ts +4 -4
  134. package/types/functions/knn.train_model.d.ts +11 -11
  135. package/types/functions/knn.warmup.d.ts +4 -4
  136. package/types/functions/mget.d.ts +12 -12
  137. package/types/functions/ml.delete_model.d.ts +4 -4
  138. package/types/functions/ml.delete_model_group.d.ts +4 -4
  139. package/types/functions/ml.get_model_group.d.ts +4 -4
  140. package/types/functions/ml.get_task.d.ts +4 -4
  141. package/types/functions/ml.register_model.d.ts +9 -9
  142. package/types/functions/ml.register_model_group.d.ts +9 -9
  143. package/types/functions/ml.search_models.d.ts +4 -4
  144. package/types/functions/msearch.d.ts +8 -8
  145. package/types/functions/msearch_template.d.ts +8 -8
  146. package/types/functions/mtermvectors.d.ts +12 -12
  147. package/types/functions/nodes.hot_threads.d.ts +4 -4
  148. package/types/functions/nodes.info.d.ts +4 -4
  149. package/types/functions/nodes.reload_secure_settings.d.ts +10 -10
  150. package/types/functions/nodes.stats.d.ts +4 -4
  151. package/types/functions/nodes.usage.d.ts +4 -4
  152. package/types/functions/notifications.create_config.d.ts +4 -4
  153. package/types/functions/notifications.delete_config.d.ts +4 -4
  154. package/types/functions/notifications.delete_configs.d.ts +4 -4
  155. package/types/functions/notifications.get_config.d.ts +4 -4
  156. package/types/functions/notifications.get_configs.d.ts +13 -13
  157. package/types/functions/notifications.list_channels.d.ts +4 -4
  158. package/types/functions/notifications.list_features.d.ts +4 -4
  159. package/types/functions/notifications.send_test.d.ts +4 -4
  160. package/types/functions/notifications.update_config.d.ts +4 -4
  161. package/types/functions/ping.d.ts +4 -4
  162. package/types/functions/ppl.explain.d.ts +4 -4
  163. package/types/functions/ppl.get_stats.d.ts +4 -4
  164. package/types/functions/ppl.post_stats.d.ts +4 -4
  165. package/types/functions/ppl.query.d.ts +4 -4
  166. package/types/functions/put_script.d.ts +10 -10
  167. package/types/functions/rank_eval.d.ts +11 -11
  168. package/types/functions/reindex.d.ts +15 -15
  169. package/types/functions/reindex_rethrottle.d.ts +4 -4
  170. package/types/functions/remote_store.restore.d.ts +9 -9
  171. package/types/functions/render_search_template.d.ts +11 -11
  172. package/types/functions/rollups.delete.d.ts +4 -4
  173. package/types/functions/rollups.explain.d.ts +4 -4
  174. package/types/functions/rollups.get.d.ts +4 -4
  175. package/types/functions/rollups.put.d.ts +4 -4
  176. package/types/functions/rollups.start.d.ts +4 -4
  177. package/types/functions/rollups.stop.d.ts +4 -4
  178. package/types/functions/scripts_painless_execute.d.ts +11 -11
  179. package/types/functions/scroll.d.ts +11 -11
  180. package/types/functions/search.d.ts +44 -44
  181. package/types/functions/search_pipeline.delete.d.ts +4 -4
  182. package/types/functions/search_pipeline.get.d.ts +4 -4
  183. package/types/functions/search_pipeline.put.d.ts +4 -4
  184. package/types/functions/search_shards.d.ts +4 -4
  185. package/types/functions/search_template.d.ts +14 -14
  186. package/types/functions/security.authinfo.d.ts +4 -4
  187. package/types/functions/security.authtoken.d.ts +4 -4
  188. package/types/functions/security.change_password.d.ts +4 -4
  189. package/types/functions/security.config_upgrade_check.d.ts +4 -4
  190. package/types/functions/security.config_upgrade_perform.d.ts +4 -4
  191. package/types/functions/security.create_action_group.d.ts +4 -4
  192. package/types/functions/security.create_allowlist.d.ts +4 -4
  193. package/types/functions/security.create_role.d.ts +4 -4
  194. package/types/functions/security.create_role_mapping.d.ts +4 -4
  195. package/types/functions/security.create_tenant.d.ts +4 -4
  196. package/types/functions/security.create_update_tenancy_config.d.ts +8 -8
  197. package/types/functions/security.create_user.d.ts +4 -4
  198. package/types/functions/security.create_user_legacy.d.ts +4 -4
  199. package/types/functions/security.delete_action_group.d.ts +4 -4
  200. package/types/functions/security.delete_distinguished_name.d.ts +4 -4
  201. package/types/functions/security.delete_role.d.ts +4 -4
  202. package/types/functions/security.delete_role_mapping.d.ts +4 -4
  203. package/types/functions/security.delete_tenant.d.ts +4 -4
  204. package/types/functions/security.delete_user.d.ts +4 -4
  205. package/types/functions/security.delete_user_legacy.d.ts +4 -4
  206. package/types/functions/security.flush_cache.d.ts +4 -4
  207. package/types/functions/security.generate_obo_token.d.ts +4 -4
  208. package/types/functions/security.generate_user_token.d.ts +4 -4
  209. package/types/functions/security.generate_user_token_legacy.d.ts +4 -4
  210. package/types/functions/security.get_account_details.d.ts +4 -4
  211. package/types/functions/security.get_action_group.d.ts +4 -4
  212. package/types/functions/security.get_action_groups.d.ts +4 -4
  213. package/types/functions/security.get_allowlist.d.ts +4 -4
  214. package/types/functions/security.get_audit_configuration.d.ts +4 -4
  215. package/types/functions/security.get_certificates.d.ts +4 -4
  216. package/types/functions/security.get_configuration.d.ts +4 -4
  217. package/types/functions/security.get_dashboards_info.d.ts +4 -4
  218. package/types/functions/security.get_distinguished_name.d.ts +4 -4
  219. package/types/functions/security.get_distinguished_names.d.ts +4 -4
  220. package/types/functions/security.get_permissions_info.d.ts +4 -4
  221. package/types/functions/security.get_role.d.ts +4 -4
  222. package/types/functions/security.get_role_mapping.d.ts +4 -4
  223. package/types/functions/security.get_role_mappings.d.ts +4 -4
  224. package/types/functions/security.get_roles.d.ts +4 -4
  225. package/types/functions/security.get_sslinfo.d.ts +4 -4
  226. package/types/functions/security.get_tenancy_config.d.ts +4 -4
  227. package/types/functions/security.get_tenant.d.ts +4 -4
  228. package/types/functions/security.get_tenants.d.ts +4 -4
  229. package/types/functions/security.get_user.d.ts +4 -4
  230. package/types/functions/security.get_user_legacy.d.ts +4 -4
  231. package/types/functions/security.get_users.d.ts +4 -4
  232. package/types/functions/security.get_users_legacy.d.ts +4 -4
  233. package/types/functions/security.health.d.ts +4 -4
  234. package/types/functions/security.migrate.d.ts +4 -4
  235. package/types/functions/security.patch_action_group.d.ts +8 -8
  236. package/types/functions/security.patch_action_groups.d.ts +8 -8
  237. package/types/functions/security.patch_allowlist.d.ts +8 -8
  238. package/types/functions/security.patch_audit_configuration.d.ts +8 -8
  239. package/types/functions/security.patch_configuration.d.ts +8 -8
  240. package/types/functions/security.patch_distinguished_name.d.ts +4 -4
  241. package/types/functions/security.patch_distinguished_names.d.ts +8 -8
  242. package/types/functions/security.patch_role.d.ts +8 -8
  243. package/types/functions/security.patch_role_mapping.d.ts +8 -8
  244. package/types/functions/security.patch_role_mappings.d.ts +8 -8
  245. package/types/functions/security.patch_roles.d.ts +8 -8
  246. package/types/functions/security.patch_tenant.d.ts +8 -8
  247. package/types/functions/security.patch_tenants.d.ts +8 -8
  248. package/types/functions/security.patch_user.d.ts +8 -8
  249. package/types/functions/security.patch_users.d.ts +8 -8
  250. package/types/functions/security.post_dashboards_info.d.ts +4 -4
  251. package/types/functions/security.reload_http_certificates.d.ts +4 -4
  252. package/types/functions/security.reload_transport_certificates.d.ts +4 -4
  253. package/types/functions/security.tenant_info.d.ts +4 -4
  254. package/types/functions/security.update_audit_configuration.d.ts +4 -4
  255. package/types/functions/security.update_configuration.d.ts +4 -4
  256. package/types/functions/security.update_distinguished_name.d.ts +4 -4
  257. package/types/functions/security.validate.d.ts +4 -4
  258. package/types/functions/security.who_am_i.d.ts +4 -4
  259. package/types/functions/security.who_am_i_protected.d.ts +4 -4
  260. package/types/functions/snapshot.cleanup_repository.d.ts +4 -4
  261. package/types/functions/snapshot.clone.d.ts +9 -9
  262. package/types/functions/snapshot.create.d.ts +15 -15
  263. package/types/functions/snapshot.create_repository.d.ts +12 -12
  264. package/types/functions/snapshot.delete.d.ts +4 -4
  265. package/types/functions/snapshot.delete_repository.d.ts +4 -4
  266. package/types/functions/snapshot.get.d.ts +4 -4
  267. package/types/functions/snapshot.get_repository.d.ts +4 -4
  268. package/types/functions/snapshot.restore.d.ts +18 -18
  269. package/types/functions/snapshot.status.d.ts +4 -4
  270. package/types/functions/snapshot.verify_repository.d.ts +4 -4
  271. package/types/functions/sql.close.d.ts +4 -4
  272. package/types/functions/sql.explain.d.ts +4 -4
  273. package/types/functions/sql.get_stats.d.ts +4 -4
  274. package/types/functions/sql.post_stats.d.ts +4 -4
  275. package/types/functions/sql.query.d.ts +4 -4
  276. package/types/functions/sql.settings.d.ts +8 -8
  277. package/types/functions/tasks.cancel.d.ts +4 -4
  278. package/types/functions/tasks.get.d.ts +4 -4
  279. package/types/functions/tasks.list.d.ts +4 -4
  280. package/types/functions/termvectors.d.ts +12 -12
  281. package/types/functions/transforms.delete.d.ts +4 -4
  282. package/types/functions/transforms.explain.d.ts +4 -4
  283. package/types/functions/transforms.get.d.ts +4 -4
  284. package/types/functions/transforms.preview.d.ts +4 -4
  285. package/types/functions/transforms.put.d.ts +4 -4
  286. package/types/functions/transforms.search.d.ts +4 -4
  287. package/types/functions/transforms.start.d.ts +4 -4
  288. package/types/functions/transforms.stop.d.ts +4 -4
  289. package/types/functions/update.d.ts +16 -16
  290. package/types/functions/update_by_query.d.ts +14 -14
  291. package/types/functions/update_by_query_rethrottle.d.ts +4 -4
@@ -457,7 +457,7 @@ export interface QueryContainer {
457
457
  has_parent?: HasParentQuery;
458
458
  ids?: IdsQuery;
459
459
  intervals?: Record<string, IntervalsQuery>;
460
- match?: Record<string, MatchQuery | Record<string, any>>;
460
+ match?: Record<string, MatchQuery | any>;
461
461
  match_all?: MatchAllQuery;
462
462
  match_bool_prefix?: Record<string, MatchBoolPrefixQuery>;
463
463
  match_none?: MatchNoneQuery;
@@ -91,59 +91,59 @@ export interface SearchScriptRequestProcessor {
91
91
  }
92
92
 
93
93
  export interface UserDefinedObjectStructure {
94
- bool?: Record<string, any>;
95
- boosting?: Record<string, any>;
96
- combined_fields?: Record<string, any>;
97
- constant_score?: Record<string, any>;
98
- dis_max?: Record<string, any>;
99
- distance_feature?: Record<string, any>;
100
- exists?: Record<string, any>;
101
- field_masking_span?: Record<string, any>;
102
- function_score?: Record<string, any>;
94
+ bool?: any;
95
+ boosting?: any;
96
+ combined_fields?: any;
97
+ constant_score?: any;
98
+ dis_max?: any;
99
+ distance_feature?: any;
100
+ exists?: any;
101
+ field_masking_span?: any;
102
+ function_score?: any;
103
103
  fuzzy?: UserDefinedValueMap;
104
- geo_bounding_box?: Record<string, any>;
105
- geo_distance?: Record<string, any>;
106
- geo_polygon?: Record<string, any>;
107
- geo_shape?: Record<string, any>;
108
- has_child?: Record<string, any>;
109
- has_parent?: Record<string, any>;
110
- ids?: Record<string, any>;
104
+ geo_bounding_box?: any;
105
+ geo_distance?: any;
106
+ geo_polygon?: any;
107
+ geo_shape?: any;
108
+ has_child?: any;
109
+ has_parent?: any;
110
+ ids?: any;
111
111
  intervals?: UserDefinedValueMap;
112
- knn?: Record<string, any>;
112
+ knn?: any;
113
113
  match?: UserDefinedValueMap;
114
- match_all?: Record<string, any>;
114
+ match_all?: any;
115
115
  match_bool_prefix?: UserDefinedValueMap;
116
- match_none?: Record<string, any>;
116
+ match_none?: any;
117
117
  match_phrase?: UserDefinedValueMap;
118
118
  match_phrase_prefix?: UserDefinedValueMap;
119
- more_like_this?: Record<string, any>;
120
- multi_match?: Record<string, any>;
121
- nested?: Record<string, any>;
122
- parent_id?: Record<string, any>;
123
- percolate?: Record<string, any>;
124
- pinned?: Record<string, any>;
119
+ more_like_this?: any;
120
+ multi_match?: any;
121
+ nested?: any;
122
+ parent_id?: any;
123
+ percolate?: any;
124
+ pinned?: any;
125
125
  prefix?: UserDefinedValueMap;
126
- query_string?: Record<string, any>;
126
+ query_string?: any;
127
127
  range?: UserDefinedValueMap;
128
- rank_feature?: Record<string, any>;
128
+ rank_feature?: any;
129
129
  regexp?: UserDefinedValueMap;
130
- script?: Record<string, any>;
131
- script_score?: Record<string, any>;
132
- shape?: Record<string, any>;
133
- simple_query_string?: Record<string, any>;
134
- span_containing?: Record<string, any>;
135
- span_first?: Record<string, any>;
136
- span_multi?: Record<string, any>;
137
- span_near?: Record<string, any>;
138
- span_not?: Record<string, any>;
139
- span_or?: Record<string, any>;
130
+ script?: any;
131
+ script_score?: any;
132
+ shape?: any;
133
+ simple_query_string?: any;
134
+ span_containing?: any;
135
+ span_first?: any;
136
+ span_multi?: any;
137
+ span_near?: any;
138
+ span_not?: any;
139
+ span_or?: any;
140
140
  span_term?: UserDefinedValueMap;
141
- span_within?: Record<string, any>;
141
+ span_within?: any;
142
142
  term?: UserDefinedValueMap;
143
- terms?: Record<string, any>;
143
+ terms?: any;
144
144
  terms_set?: UserDefinedValueMap;
145
145
  wildcard?: UserDefinedValueMap;
146
- wrapper?: Record<string, any>;
146
+ wrapper?: any;
147
147
  }
148
148
 
149
149
  export interface UserDefinedValueMap {
@@ -111,7 +111,7 @@ export interface ComplianceConfig {
111
111
  internal_config?: boolean;
112
112
  read_ignore_users?: string[];
113
113
  read_metadata_only?: boolean;
114
- read_watched_fields?: Record<string, any>;
114
+ read_watched_fields?: any;
115
115
  write_ignore_users?: string[];
116
116
  write_log_diffs?: boolean;
117
117
  write_metadata_only?: boolean;
@@ -151,17 +151,17 @@ export interface DynamicConfig {
151
151
  }
152
152
 
153
153
  export interface DynamicOptions {
154
- authc?: Record<string, any>;
155
- authFailureListeners?: Record<string, any>;
156
- authz?: Record<string, any>;
154
+ authc?: any;
155
+ authFailureListeners?: any;
156
+ authz?: any;
157
157
  disableIntertransportAuth?: boolean;
158
158
  disableRestAuth?: boolean;
159
159
  doNotFailOnForbidden?: boolean;
160
160
  doNotFailOnForbiddenEmpty?: boolean;
161
161
  filteredAliasMode?: string;
162
162
  hostsResolverMode?: string;
163
- http?: Record<string, any>;
164
- kibana?: Record<string, any>;
163
+ http?: any;
164
+ kibana?: any;
165
165
  multiRolespanEnabled?: boolean;
166
166
  respectRequestIndicesOptions?: boolean;
167
167
  }
@@ -14,16 +14,18 @@
14
14
  */
15
15
 
16
16
  import { ApiResponse } from '../../lib/Transport'
17
+ import * as Core_Bulk from '../components/_core.bulk'
17
18
  import * as Global from '../components/_global'
18
19
  import * as Core_Search from '../components/_core.search'
19
20
  import * as Common from '../components/_common'
20
- import * as Core_Bulk from '../components/_core.bulk'
21
21
 
22
- export interface Request extends Global.Params {
22
+ export type Bulk_RequestBody = Core_Bulk.OperationContainer | Core_Bulk.UpdateAction | Record<string, any>[]
23
+
24
+ export interface Bulk_Request extends Global.Params {
23
25
  _source?: Core_Search.SourceConfigParam;
24
26
  _source_excludes?: Common.Fields;
25
27
  _source_includes?: Common.Fields;
26
- body: RequestBody;
28
+ body: Bulk_RequestBody;
27
29
  index?: Common.IndexName;
28
30
  pipeline?: string;
29
31
  refresh?: Common.Refresh;
@@ -34,15 +36,13 @@ export interface Request extends Global.Params {
34
36
  wait_for_active_shards?: Common.WaitForActiveShards;
35
37
  }
36
38
 
37
- export interface ResponseBody {
39
+ export interface Bulk_ResponseBody {
38
40
  errors: boolean;
39
41
  ingest_took?: number;
40
42
  items: Record<string, Core_Bulk.ResponseItem>[];
41
43
  took: number;
42
44
  }
43
45
 
44
- export type RequestBody = Core_Bulk.OperationContainer | Core_Bulk.UpdateAction | Record<string, any>[]
45
-
46
- export interface Response extends ApiResponse {
47
- body: ResponseBody
46
+ export interface Bulk_Response extends ApiResponse {
47
+ body: Bulk_ResponseBody
48
48
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Aliases from '../components/cat.aliases'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_Aliases_Request extends Global.Params {
22
22
  expand_wildcards?: Common.ExpandWildcards;
23
23
  format?: string;
24
24
  h?: string[];
@@ -29,8 +29,8 @@ export interface Request extends Global.Params {
29
29
  v?: boolean;
30
30
  }
31
31
 
32
- export type ResponseBody = Cat_Aliases.AliasesRecord[]
32
+ export type Cat_Aliases_ResponseBody = Cat_Aliases.AliasesRecord[]
33
33
 
34
- export interface Response extends ApiResponse {
35
- body: ResponseBody
34
+ export interface Cat_Aliases_Response extends ApiResponse {
35
+ body: Cat_Aliases_ResponseBody
36
36
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Common from '../components/cat._common'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_AllPitSegments_Request extends Global.Params {
22
22
  bytes?: Common.Bytes;
23
23
  format?: string;
24
24
  h?: string[];
@@ -27,8 +27,8 @@ export interface Request extends Global.Params {
27
27
  v?: boolean;
28
28
  }
29
29
 
30
- export type ResponseBody = Cat_Common.CatPitSegmentsRecord[]
30
+ export type Cat_AllPitSegments_ResponseBody = Cat_Common.CatPitSegmentsRecord[]
31
31
 
32
- export interface Response extends ApiResponse {
33
- body: ResponseBody
32
+ export interface Cat_AllPitSegments_Response extends ApiResponse {
33
+ body: Cat_AllPitSegments_ResponseBody
34
34
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Allocation from '../components/cat.allocation'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_Allocation_Request extends Global.Params {
22
22
  bytes?: Common.Bytes;
23
23
  cluster_manager_timeout?: Common.Duration;
24
24
  format?: string;
@@ -31,8 +31,8 @@ export interface Request extends Global.Params {
31
31
  v?: boolean;
32
32
  }
33
33
 
34
- export type ResponseBody = Cat_Allocation.AllocationRecord[]
34
+ export type Cat_Allocation_ResponseBody = Cat_Allocation.AllocationRecord[]
35
35
 
36
- export interface Response extends ApiResponse {
37
- body: ResponseBody
36
+ export interface Cat_Allocation_Response extends ApiResponse {
37
+ body: Cat_Allocation_ResponseBody
38
38
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_ClusterManager from '../components/cat.cluster_manager'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_ClusterManager_Request extends Global.Params {
22
22
  cluster_manager_timeout?: Common.Duration;
23
23
  format?: string;
24
24
  h?: string[];
@@ -29,8 +29,8 @@ export interface Request extends Global.Params {
29
29
  v?: boolean;
30
30
  }
31
31
 
32
- export type ResponseBody = Cat_ClusterManager.ClusterManagerRecord[]
32
+ export type Cat_ClusterManager_ResponseBody = Cat_ClusterManager.ClusterManagerRecord[]
33
33
 
34
- export interface Response extends ApiResponse {
35
- body: ResponseBody
34
+ export interface Cat_ClusterManager_Response extends ApiResponse {
35
+ body: Cat_ClusterManager_ResponseBody
36
36
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Count from '../components/cat.count'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_Count_Request extends Global.Params {
22
22
  format?: string;
23
23
  h?: string[];
24
24
  help?: boolean;
@@ -27,8 +27,8 @@ export interface Request extends Global.Params {
27
27
  v?: boolean;
28
28
  }
29
29
 
30
- export type ResponseBody = Cat_Count.CountRecord[]
30
+ export type Cat_Count_ResponseBody = Cat_Count.CountRecord[]
31
31
 
32
- export interface Response extends ApiResponse {
33
- body: ResponseBody
32
+ export interface Cat_Count_Response extends ApiResponse {
33
+ body: Cat_Count_ResponseBody
34
34
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Fielddata from '../components/cat.fielddata'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_Fielddata_Request extends Global.Params {
22
22
  bytes?: Common.Bytes;
23
23
  fields?: Common.Fields;
24
24
  format?: string;
@@ -28,8 +28,8 @@ export interface Request extends Global.Params {
28
28
  v?: boolean;
29
29
  }
30
30
 
31
- export type ResponseBody = Cat_Fielddata.FielddataRecord[]
31
+ export type Cat_Fielddata_ResponseBody = Cat_Fielddata.FielddataRecord[]
32
32
 
33
- export interface Response extends ApiResponse {
34
- body: ResponseBody
33
+ export interface Cat_Fielddata_Response extends ApiResponse {
34
+ body: Cat_Fielddata_ResponseBody
35
35
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Health from '../components/cat.health'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_Health_Request extends Global.Params {
22
22
  format?: string;
23
23
  h?: string[];
24
24
  help?: boolean;
@@ -28,8 +28,8 @@ export interface Request extends Global.Params {
28
28
  v?: boolean;
29
29
  }
30
30
 
31
- export type ResponseBody = Cat_Health.HealthRecord[]
31
+ export type Cat_Health_ResponseBody = Cat_Health.HealthRecord[]
32
32
 
33
- export interface Response extends ApiResponse {
34
- body: ResponseBody
33
+ export interface Cat_Health_Response extends ApiResponse {
34
+ body: Cat_Health_ResponseBody
35
35
  }
@@ -16,10 +16,10 @@
16
16
  import { ApiResponse } from '../../lib/Transport'
17
17
  import * as Global from '../components/_global'
18
18
 
19
- export type Request = Global.Params & Record<string, any>
19
+ export type Cat_Help_Request = Global.Params & Record<string, any>
20
20
 
21
- export type ResponseBody = Record<string, any>
21
+ export type Cat_Help_ResponseBody = Record<string, any>
22
22
 
23
- export interface Response extends ApiResponse {
24
- body: ResponseBody
23
+ export interface Cat_Help_Response extends ApiResponse {
24
+ body: Cat_Help_ResponseBody
25
25
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Indices from '../components/cat.indices'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_Indices_Request extends Global.Params {
22
22
  bytes?: Common.Bytes;
23
23
  cluster_manager_timeout?: Common.Duration;
24
24
  expand_wildcards?: Common.ExpandWildcards;
@@ -36,8 +36,8 @@ export interface Request extends Global.Params {
36
36
  v?: boolean;
37
37
  }
38
38
 
39
- export type ResponseBody = Cat_Indices.IndicesRecord[]
39
+ export type Cat_Indices_ResponseBody = Cat_Indices.IndicesRecord[]
40
40
 
41
- export interface Response extends ApiResponse {
42
- body: ResponseBody
41
+ export interface Cat_Indices_Response extends ApiResponse {
42
+ body: Cat_Indices_ResponseBody
43
43
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Master from '../components/cat.master'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_Master_Request extends Global.Params {
22
22
  cluster_manager_timeout?: Common.Duration;
23
23
  format?: string;
24
24
  h?: string[];
@@ -29,8 +29,8 @@ export interface Request extends Global.Params {
29
29
  v?: boolean;
30
30
  }
31
31
 
32
- export type ResponseBody = Cat_Master.MasterRecord[]
32
+ export type Cat_Master_ResponseBody = Cat_Master.MasterRecord[]
33
33
 
34
- export interface Response extends ApiResponse {
35
- body: ResponseBody
34
+ export interface Cat_Master_Response extends ApiResponse {
35
+ body: Cat_Master_ResponseBody
36
36
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Nodeattrs from '../components/cat.nodeattrs'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_Nodeattrs_Request extends Global.Params {
22
22
  cluster_manager_timeout?: Common.Duration;
23
23
  format?: string;
24
24
  h?: string[];
@@ -29,8 +29,8 @@ export interface Request extends Global.Params {
29
29
  v?: boolean;
30
30
  }
31
31
 
32
- export type ResponseBody = Cat_Nodeattrs.NodeAttributesRecord[]
32
+ export type Cat_Nodeattrs_ResponseBody = Cat_Nodeattrs.NodeAttributesRecord[]
33
33
 
34
- export interface Response extends ApiResponse {
35
- body: ResponseBody
34
+ export interface Cat_Nodeattrs_Response extends ApiResponse {
35
+ body: Cat_Nodeattrs_ResponseBody
36
36
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Nodes from '../components/cat.nodes'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_Nodes_Request extends Global.Params {
22
22
  bytes?: Common.Bytes;
23
23
  cluster_manager_timeout?: Common.Duration;
24
24
  format?: string;
@@ -32,8 +32,8 @@ export interface Request extends Global.Params {
32
32
  v?: boolean;
33
33
  }
34
34
 
35
- export type ResponseBody = Cat_Nodes.NodesRecord[]
35
+ export type Cat_Nodes_ResponseBody = Cat_Nodes.NodesRecord[]
36
36
 
37
- export interface Response extends ApiResponse {
38
- body: ResponseBody
37
+ export interface Cat_Nodes_Response extends ApiResponse {
38
+ body: Cat_Nodes_ResponseBody
39
39
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_PendingTasks from '../components/cat.pending_tasks'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_PendingTasks_Request extends Global.Params {
22
22
  cluster_manager_timeout?: Common.Duration;
23
23
  format?: string;
24
24
  h?: string[];
@@ -30,8 +30,8 @@ export interface Request extends Global.Params {
30
30
  v?: boolean;
31
31
  }
32
32
 
33
- export type ResponseBody = Cat_PendingTasks.PendingTasksRecord[]
33
+ export type Cat_PendingTasks_ResponseBody = Cat_PendingTasks.PendingTasksRecord[]
34
34
 
35
- export interface Response extends ApiResponse {
36
- body: ResponseBody
35
+ export interface Cat_PendingTasks_Response extends ApiResponse {
36
+ body: Cat_PendingTasks_ResponseBody
37
37
  }
@@ -18,8 +18,12 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Common from '../components/cat._common'
20
20
 
21
- export interface Request extends Global.Params {
22
- body?: RequestBody;
21
+ export interface Cat_PitSegments_RequestBody {
22
+ pit_id: string[];
23
+ }
24
+
25
+ export interface Cat_PitSegments_Request extends Global.Params {
26
+ body?: Cat_PitSegments_RequestBody;
23
27
  bytes?: Common.Bytes;
24
28
  format?: string;
25
29
  h?: string[];
@@ -28,12 +32,8 @@ export interface Request extends Global.Params {
28
32
  v?: boolean;
29
33
  }
30
34
 
31
- export type ResponseBody = Cat_Common.CatPitSegmentsRecord[]
32
-
33
- export interface RequestBody {
34
- pit_id: string[];
35
- }
35
+ export type Cat_PitSegments_ResponseBody = Cat_Common.CatPitSegmentsRecord[]
36
36
 
37
- export interface Response extends ApiResponse {
38
- body: ResponseBody
37
+ export interface Cat_PitSegments_Response extends ApiResponse {
38
+ body: Cat_PitSegments_ResponseBody
39
39
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Plugins from '../components/cat.plugins'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_Plugins_Request extends Global.Params {
22
22
  cluster_manager_timeout?: Common.Duration;
23
23
  format?: string;
24
24
  h?: string[];
@@ -29,8 +29,8 @@ export interface Request extends Global.Params {
29
29
  v?: boolean;
30
30
  }
31
31
 
32
- export type ResponseBody = Cat_Plugins.PluginsRecord[]
32
+ export type Cat_Plugins_ResponseBody = Cat_Plugins.PluginsRecord[]
33
33
 
34
- export interface Response extends ApiResponse {
35
- body: ResponseBody
34
+ export interface Cat_Plugins_Response extends ApiResponse {
35
+ body: Cat_Plugins_ResponseBody
36
36
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Recovery from '../components/cat.recovery'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_Recovery_Request extends Global.Params {
22
22
  active_only?: boolean;
23
23
  bytes?: Common.Bytes;
24
24
  detailed?: boolean;
@@ -31,8 +31,8 @@ export interface Request extends Global.Params {
31
31
  v?: boolean;
32
32
  }
33
33
 
34
- export type ResponseBody = Cat_Recovery.RecoveryRecord[]
34
+ export type Cat_Recovery_ResponseBody = Cat_Recovery.RecoveryRecord[]
35
35
 
36
- export interface Response extends ApiResponse {
37
- body: ResponseBody
36
+ export interface Cat_Recovery_Response extends ApiResponse {
37
+ body: Cat_Recovery_ResponseBody
38
38
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Repositories from '../components/cat.repositories'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_Repositories_Request extends Global.Params {
22
22
  cluster_manager_timeout?: Common.Duration;
23
23
  format?: string;
24
24
  h?: string[];
@@ -29,8 +29,8 @@ export interface Request extends Global.Params {
29
29
  v?: boolean;
30
30
  }
31
31
 
32
- export type ResponseBody = Cat_Repositories.RepositoriesRecord[]
32
+ export type Cat_Repositories_ResponseBody = Cat_Repositories.RepositoriesRecord[]
33
33
 
34
- export interface Response extends ApiResponse {
35
- body: ResponseBody
34
+ export interface Cat_Repositories_Response extends ApiResponse {
35
+ body: Cat_Repositories_ResponseBody
36
36
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Common from '../components/cat._common'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_SegmentReplication_Request extends Global.Params {
22
22
  active_only?: boolean;
23
23
  allow_no_indices?: boolean;
24
24
  bytes?: Common.Bytes;
@@ -38,8 +38,8 @@ export interface Request extends Global.Params {
38
38
  v?: boolean;
39
39
  }
40
40
 
41
- export type ResponseBody = Cat_Common.CatSegmentReplicationRecord[]
41
+ export type Cat_SegmentReplication_ResponseBody = Cat_Common.CatSegmentReplicationRecord[]
42
42
 
43
- export interface Response extends ApiResponse {
44
- body: ResponseBody
43
+ export interface Cat_SegmentReplication_Response extends ApiResponse {
44
+ body: Cat_SegmentReplication_ResponseBody
45
45
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Segments from '../components/cat.segments'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_Segments_Request extends Global.Params {
22
22
  bytes?: Common.Bytes;
23
23
  cluster_manager_timeout?: Common.Duration;
24
24
  format?: string;
@@ -30,8 +30,8 @@ export interface Request extends Global.Params {
30
30
  v?: boolean;
31
31
  }
32
32
 
33
- export type ResponseBody = Cat_Segments.SegmentsRecord[]
33
+ export type Cat_Segments_ResponseBody = Cat_Segments.SegmentsRecord[]
34
34
 
35
- export interface Response extends ApiResponse {
36
- body: ResponseBody
35
+ export interface Cat_Segments_Response extends ApiResponse {
36
+ body: Cat_Segments_ResponseBody
37
37
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Shards from '../components/cat.shards'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_Shards_Request extends Global.Params {
22
22
  bytes?: Common.Bytes;
23
23
  cluster_manager_timeout?: Common.Duration;
24
24
  format?: string;
@@ -32,8 +32,8 @@ export interface Request extends Global.Params {
32
32
  v?: boolean;
33
33
  }
34
34
 
35
- export type ResponseBody = Cat_Shards.ShardsRecord[]
35
+ export type Cat_Shards_ResponseBody = Cat_Shards.ShardsRecord[]
36
36
 
37
- export interface Response extends ApiResponse {
38
- body: ResponseBody
37
+ export interface Cat_Shards_Response extends ApiResponse {
38
+ body: Cat_Shards_ResponseBody
39
39
  }
@@ -18,7 +18,7 @@ import * as Global from '../components/_global'
18
18
  import * as Common from '../components/_common'
19
19
  import * as Cat_Snapshots from '../components/cat.snapshots'
20
20
 
21
- export interface Request extends Global.Params {
21
+ export interface Cat_Snapshots_Request extends Global.Params {
22
22
  cluster_manager_timeout?: Common.Duration;
23
23
  format?: string;
24
24
  h?: string[];
@@ -31,8 +31,8 @@ export interface Request extends Global.Params {
31
31
  v?: boolean;
32
32
  }
33
33
 
34
- export type ResponseBody = Cat_Snapshots.SnapshotsRecord[]
34
+ export type Cat_Snapshots_ResponseBody = Cat_Snapshots.SnapshotsRecord[]
35
35
 
36
- export interface Response extends ApiResponse {
37
- body: ResponseBody
36
+ export interface Cat_Snapshots_Response extends ApiResponse {
37
+ body: Cat_Snapshots_ResponseBody
38
38
  }