@opensearch-project/opensearch 3.2.0 → 3.4.0

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 (95) hide show
  1. package/api/OpenSearchApi.d.ts +4 -0
  2. package/api/_types/_common.analysis.d.ts +11 -1
  3. package/api/_types/_common.d.ts +2 -1
  4. package/api/_types/_common.query_dsl.d.ts +64 -39
  5. package/api/_types/_core.search.d.ts +134 -7
  6. package/api/_types/ml._common.d.ts +34 -0
  7. package/api/_types/search_pipeline._common.d.ts +2 -60
  8. package/api/asynchronousSearch/search.js +3 -3
  9. package/api/asynchronousSearch/stats.js +1 -1
  10. package/api/cluster/allocationExplain.js +4 -4
  11. package/api/cluster/deleteComponentTemplate.js +3 -3
  12. package/api/cluster/deleteDecommissionAwareness.js +1 -1
  13. package/api/cluster/deleteVotingConfigExclusions.js +2 -2
  14. package/api/cluster/existsComponentTemplate.js +4 -4
  15. package/api/cluster/getComponentTemplate.js +4 -4
  16. package/api/cluster/getDecommissionAwareness.js +2 -2
  17. package/api/cluster/getSettings.js +5 -5
  18. package/api/cluster/getWeightedRouting.js +1 -1
  19. package/api/cluster/health.js +14 -14
  20. package/api/cluster/pendingTasks.js +5 -5
  21. package/api/cluster/postVotingConfigExclusions.js +4 -4
  22. package/api/cluster/putComponentTemplate.js +6 -6
  23. package/api/cluster/putDecommissionAwareness.js +3 -3
  24. package/api/cluster/putSettings.js +5 -5
  25. package/api/cluster/putWeightedRouting.js +1 -1
  26. package/api/cluster/reroute.js +6 -6
  27. package/api/cluster/state.js +10 -10
  28. package/api/cluster/stats.js +5 -5
  29. package/api/index.d.ts +2 -0
  30. package/api/indices/simulateIndexTemplate.d.ts +5 -1
  31. package/api/ml/_api.js +3 -0
  32. package/api/ml/executeAlgorithm.d.ts +45 -0
  33. package/api/ml/executeAlgorithm.js +50 -0
  34. package/api/security/authinfo.js +3 -3
  35. package/api/security/authtoken.js +1 -1
  36. package/api/security/configUpgradeCheck.js +1 -1
  37. package/api/security/configUpgradePerform.js +1 -1
  38. package/api/security/createAllowlist.js +1 -1
  39. package/api/security/createRole.js +1 -1
  40. package/api/security/createRoleMapping.js +1 -1
  41. package/api/security/createTenant.js +1 -1
  42. package/api/security/createUpdateTenancyConfig.js +1 -1
  43. package/api/security/createUser.js +1 -1
  44. package/api/security/createUserLegacy.js +1 -1
  45. package/api/security/deleteActionGroup.js +1 -1
  46. package/api/security/deleteDistinguishedName.js +2 -2
  47. package/api/security/deleteRole.js +1 -1
  48. package/api/security/deleteRoleMapping.js +1 -1
  49. package/api/security/deleteTenant.js +1 -1
  50. package/api/security/deleteUser.js +1 -1
  51. package/api/security/flushCache.js +1 -1
  52. package/api/security/generateOboToken.js +1 -1
  53. package/api/security/generateUserToken.js +2 -2
  54. package/api/security/generateUserTokenLegacy.js +1 -1
  55. package/api/security/getAccountDetails.js +1 -1
  56. package/api/security/getAllCertificates.js +2 -2
  57. package/api/security/getAllowlist.js +1 -1
  58. package/api/security/getConfiguration.js +1 -1
  59. package/api/security/getDashboardsInfo.js +1 -1
  60. package/api/security/getDistinguishedName.js +3 -3
  61. package/api/security/getDistinguishedNames.js +2 -2
  62. package/api/security/getNodeCertificates.js +4 -4
  63. package/api/security/getPermissionsInfo.js +1 -1
  64. package/api/security/getRole.js +1 -1
  65. package/api/security/getRoleMapping.js +2 -2
  66. package/api/security/getSslinfo.js +2 -2
  67. package/api/security/getTenancyConfig.js +1 -1
  68. package/api/security/getTenant.js +1 -1
  69. package/api/security/getUser.js +1 -1
  70. package/api/security/health.js +2 -2
  71. package/api/security/migrate.js +1 -1
  72. package/api/security/patchActionGroup.js +1 -1
  73. package/api/security/patchActionGroups.js +1 -1
  74. package/api/security/patchAllowlist.js +1 -1
  75. package/api/security/patchAuditConfiguration.js +1 -1
  76. package/api/security/patchConfiguration.js +1 -1
  77. package/api/security/patchDistinguishedName.js +2 -2
  78. package/api/security/patchDistinguishedNames.js +1 -1
  79. package/api/security/patchRole.js +1 -1
  80. package/api/security/patchRoleMapping.js +2 -2
  81. package/api/security/patchRoleMappings.js +1 -1
  82. package/api/security/patchTenant.js +1 -1
  83. package/api/security/patchTenants.js +1 -1
  84. package/api/security/patchUser.js +1 -1
  85. package/api/security/patchUsers.js +1 -1
  86. package/api/security/postDashboardsInfo.js +1 -1
  87. package/api/security/reloadHttpCertificates.js +1 -1
  88. package/api/security/reloadTransportCertificates.js +1 -1
  89. package/api/security/tenantInfo.js +1 -1
  90. package/api/security/updateConfiguration.js +1 -1
  91. package/api/security/updateDistinguishedName.js +2 -2
  92. package/api/security/validate.js +1 -1
  93. package/api/security/whoAmI.js +1 -1
  94. package/api/security/whoAmIProtected.js +1 -1
  95. package/package.json +1 -1
@@ -19,13 +19,13 @@
19
19
  const { normalizeArguments, parsePathParam, handleMissingParam } = require('../utils');
20
20
 
21
21
  /**
22
- * Adds or updates the specified distinguished names in the cluster or node allow list. Only accessible to super-admins and with rest-api permissions when enabled.
22
+ * Adds or updates the specified distinguished names in the cluster or node allowlist. Requires super admin or REST API permissions.
23
23
  * <br/> See Also: {@link https://opensearch.org/docs/latest/security/access-control/api/#update-distinguished-names - security.update_distinguished_name}
24
24
  *
25
25
  * @memberOf API-Security
26
26
  *
27
27
  * @param {object} params
28
- * @param {string} params.cluster_name - The cluster-name to create/update `nodesDn` value for.
28
+ * @param {string} params.cluster_name - The name of the cluster containing the `nodesDn` value to create or update.
29
29
  * @param {object} [params.body]
30
30
  *
31
31
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
@@ -25,7 +25,7 @@ const { normalizeArguments } = require('../utils');
25
25
  * @memberOf API-Security
26
26
  *
27
27
  * @param {object} [params]
28
- * @param {boolean} [params.accept_invalid] - A Boolean flag to indicate whether invalid v6 configuration should be allowed.
28
+ * @param {boolean} [params.accept_invalid] - Whether an invalid v6 configuration should be allowed.
29
29
  *
30
30
  * @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
31
31
  * @param {function} [callback] - Callback that handles errors and response
@@ -19,7 +19,7 @@
19
19
  const { normalizeArguments } = require('../utils');
20
20
 
21
21
  /**
22
- * Gets the user identity related information for currently logged in user.
22
+ * Gets the identity information for the user currently logged in.
23
23
  * <br/> See Also: {@link undefined - security.who_am_i}
24
24
  *
25
25
  * @memberOf API-Security
@@ -19,7 +19,7 @@
19
19
  const { normalizeArguments } = require('../utils');
20
20
 
21
21
  /**
22
- * Gets the user identity related information for currently logged in user. User needs to have access to this endpoint when authorization at REST layer is enabled.
22
+ * Gets the identity information for the user currently logged in. To use this operation, you must have access to this endpoint when authorization at REST layer is enabled.
23
23
  * <br/> See Also: {@link undefined - security.who_am_i_protected}
24
24
  *
25
25
  * @memberOf API-Security
package/package.json CHANGED
@@ -36,7 +36,7 @@
36
36
  "LICENSE.txt"
37
37
  ],
38
38
  "homepage": "https://www.opensearch.org/",
39
- "version": "3.2.0",
39
+ "version": "3.4.0",
40
40
  "versionCanary": "7.10.0-canary.6",
41
41
  "keywords": [
42
42
  "opensearch",