@elastic/elasticsearch 8.11.0 → 8.11.1
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.
- package/.dockerignore +2 -0
- package/.projections.json +7 -0
- package/.tool-versions +1 -0
- package/catalog-info.yaml +4 -4
- package/free-report-junit.xml +0 -0
- package/junit-output/junit-foobar.xml +13947 -0
- package/lib/api/types.d.ts +2 -7
- package/lib/api/typesWithBodyKey.d.ts +2 -7
- package/lib/helpers/esql.d.ts +3 -0
- package/lib/helpers/esql.js +31 -0
- package/lib/helpers/esql.js.map +1 -0
- package/package.json +3 -3
package/lib/api/types.d.ts
CHANGED
|
@@ -13429,11 +13429,9 @@ export interface SecurityCreatedStatus {
|
|
|
13429
13429
|
created: boolean;
|
|
13430
13430
|
}
|
|
13431
13431
|
export interface SecurityFieldRule {
|
|
13432
|
-
username?:
|
|
13432
|
+
username?: Names;
|
|
13433
13433
|
dn?: Names;
|
|
13434
13434
|
groups?: Names;
|
|
13435
|
-
metadata?: any;
|
|
13436
|
-
realm?: SecurityRealm;
|
|
13437
13435
|
}
|
|
13438
13436
|
export interface SecurityFieldSecurity {
|
|
13439
13437
|
except?: Fields;
|
|
@@ -13455,9 +13453,6 @@ export type SecurityIndicesPrivilegesQuery = string | QueryDslQueryContainer | S
|
|
|
13455
13453
|
export interface SecurityManageUserPrivileges {
|
|
13456
13454
|
applications: string[];
|
|
13457
13455
|
}
|
|
13458
|
-
export interface SecurityRealm {
|
|
13459
|
-
name: Name;
|
|
13460
|
-
}
|
|
13461
13456
|
export interface SecurityRealmInfo {
|
|
13462
13457
|
name: Name;
|
|
13463
13458
|
type: string;
|
|
@@ -14662,7 +14657,7 @@ export interface SynonymsPutSynonymResponse {
|
|
|
14662
14657
|
export interface SynonymsPutSynonymRuleRequest extends RequestBase {
|
|
14663
14658
|
set_id: Id;
|
|
14664
14659
|
rule_id: Id;
|
|
14665
|
-
synonyms: SynonymsSynonymString
|
|
14660
|
+
synonyms: SynonymsSynonymString;
|
|
14666
14661
|
}
|
|
14667
14662
|
export type SynonymsPutSynonymRuleResponse = SynonymsSynonymsUpdateResult;
|
|
14668
14663
|
export type TasksGroupBy = 'nodes' | 'parents' | 'none';
|
|
@@ -13740,11 +13740,9 @@ export interface SecurityCreatedStatus {
|
|
|
13740
13740
|
created: boolean;
|
|
13741
13741
|
}
|
|
13742
13742
|
export interface SecurityFieldRule {
|
|
13743
|
-
username?:
|
|
13743
|
+
username?: Names;
|
|
13744
13744
|
dn?: Names;
|
|
13745
13745
|
groups?: Names;
|
|
13746
|
-
metadata?: any;
|
|
13747
|
-
realm?: SecurityRealm;
|
|
13748
13746
|
}
|
|
13749
13747
|
export interface SecurityFieldSecurity {
|
|
13750
13748
|
except?: Fields;
|
|
@@ -13766,9 +13764,6 @@ export type SecurityIndicesPrivilegesQuery = string | QueryDslQueryContainer | S
|
|
|
13766
13764
|
export interface SecurityManageUserPrivileges {
|
|
13767
13765
|
applications: string[];
|
|
13768
13766
|
}
|
|
13769
|
-
export interface SecurityRealm {
|
|
13770
|
-
name: Name;
|
|
13771
|
-
}
|
|
13772
13767
|
export interface SecurityRealmInfo {
|
|
13773
13768
|
name: Name;
|
|
13774
13769
|
type: string;
|
|
@@ -15070,7 +15065,7 @@ export interface SynonymsPutSynonymRuleRequest extends RequestBase {
|
|
|
15070
15065
|
rule_id: Id;
|
|
15071
15066
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
15072
15067
|
body?: {
|
|
15073
|
-
synonyms: SynonymsSynonymString
|
|
15068
|
+
synonyms: SynonymsSynonymString;
|
|
15074
15069
|
};
|
|
15075
15070
|
}
|
|
15076
15071
|
export type SynonymsPutSynonymRuleResponse = SynonymsSynonymsUpdateResult;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Licensed to Elasticsearch B.V. under one or more contributor
|
|
4
|
+
* license agreements. See the NOTICE file distributed with
|
|
5
|
+
* this work for additional information regarding copyright
|
|
6
|
+
* ownership. Elasticsearch B.V. licenses this file to you under
|
|
7
|
+
* the Apache License, Version 2.0 (the "License"); you may
|
|
8
|
+
* not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing,
|
|
14
|
+
* software distributed under the License is distributed on an
|
|
15
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
16
|
+
* KIND, either express or implied. See the License for the
|
|
17
|
+
* specific language governing permissions and limitations
|
|
18
|
+
* under the License.
|
|
19
|
+
*/
|
|
20
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
21
|
+
// async query (this: That, params: T.EsqlQueryRequest | TB.EsqlQueryRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EsqlQueryResponse>
|
|
22
|
+
// async query (this: That, params: T.EsqlQueryRequest | TB.EsqlQueryRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.EsqlQueryResponse, unknown>>
|
|
23
|
+
// async query (this: That, params: T.EsqlQueryRequest | TB.EsqlQueryRequest, options?: TransportRequestOptions): Promise<T.EsqlQueryResponse>
|
|
24
|
+
// async query (this: That, params: T.EsqlQueryRequest | TB.EsqlQueryRequest, options?: TransportRequestOptions): Promise<any> {
|
|
25
|
+
class EsqlHelper {
|
|
26
|
+
async toMap() {
|
|
27
|
+
return [{ foo: 'bar' }];
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.default = EsqlHelper;
|
|
31
|
+
//# sourceMappingURL=esql.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esql.js","sourceRoot":"","sources":["../../src/helpers/esql.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AAEH,yJAAyJ;AACzJ,gLAAgL;AAChL,8IAA8I;AAC9I,gIAAgI;AAEhI,MAAqB,UAAU;IAC7B,KAAK,CAAC,KAAK;QACT,OAAO,CAAC,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,CAAA;IACzB,CAAC;CACF;AAJD,6BAIC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elastic/elasticsearch",
|
|
3
|
-
"version": "8.11.
|
|
4
|
-
"versionCanary": "8.11.
|
|
3
|
+
"version": "8.11.1",
|
|
4
|
+
"versionCanary": "8.11.1-canary.0",
|
|
5
5
|
"description": "The official Elasticsearch client for Node.js",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"types": "index.d.ts",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"zx": "^7.2.2"
|
|
83
83
|
},
|
|
84
84
|
"dependencies": {
|
|
85
|
-
"@elastic/transport": "
|
|
85
|
+
"@elastic/transport": "~8.4.0",
|
|
86
86
|
"tslib": "^2.4.0"
|
|
87
87
|
},
|
|
88
88
|
"tap": {
|