@ezpaarse-project/ezreeport-sdk-js 1.0.0 → 1.1.0-beta.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.
@@ -20,3 +20,14 @@ export declare const getAllIndices: (namespace?: Namespace['id']) => Promise<imp
20
20
  * @returns The list of available indices
21
21
  */
22
22
  export declare const getIndexMapping: (index: string, namespace?: Namespace['id']) => Promise<import("../lib/axios").ApiResponse<Record<string, string>>>;
23
+ /**
24
+ * Resolve index to get list of matched indices
25
+ *
26
+ * Needs `namespaces[namespaceId].elastic-get-indices-_resolve-index` permission
27
+ *
28
+ * @param index The index (can be a wildcard)
29
+ * @param namespace The concerned namespace. **Needed if not admin**
30
+ *
31
+ * @returns The list of available indices
32
+ */
33
+ export declare const resolveIndex: (index: string, namespace?: Namespace['id']) => Promise<import("../lib/axios").ApiResponse<string[]>>;
@@ -1 +1 @@
1
- export { getAllIndices, getIndexMapping, } from './elastic';
1
+ export { getAllIndices, getIndexMapping, resolveIndex, } from './elastic';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ezpaarse-project/ezreeport-sdk-js",
3
- "version": "1.0.0",
3
+ "version": "1.1.0-beta.1",
4
4
  "description": "JS SDK to communicate with ezReeport API",
5
5
  "homepage": "https://github.com/ezpaarse-project/ezreeport#readme",
6
6
  "bugs": {