elasticsearch-store 0.63.2 → 0.64.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.
- package/dist/src/elasticsearch-client/client.d.ts +233 -0
- package/dist/src/elasticsearch-client/client.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/client.js +446 -0
- package/dist/src/elasticsearch-client/client.js.map +1 -0
- package/dist/src/elasticsearch-client/create-client.d.ts +5 -119
- package/dist/src/elasticsearch-client/create-client.d.ts.map +1 -1
- package/dist/src/elasticsearch-client/create-client.js +35 -45
- package/dist/src/elasticsearch-client/create-client.js.map +1 -1
- package/dist/src/elasticsearch-client/index.d.ts +1 -0
- package/dist/src/elasticsearch-client/index.d.ts.map +1 -1
- package/dist/src/elasticsearch-client/index.js +1 -0
- package/dist/src/elasticsearch-client/index.js.map +1 -1
- package/dist/src/elasticsearch-client/interfaces.d.ts +7 -0
- package/dist/src/elasticsearch-client/interfaces.d.ts.map +1 -1
- package/dist/src/elasticsearch-client/log-wrapper.d.ts +1 -28
- package/dist/src/elasticsearch-client/log-wrapper.d.ts.map +1 -1
- package/dist/src/elasticsearch-client/log-wrapper.js.map +1 -1
- package/dist/src/elasticsearch-client/method-helpers/bulk.d.ts +14 -0
- package/dist/src/elasticsearch-client/method-helpers/bulk.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/bulk.js +30 -0
- package/dist/src/elasticsearch-client/method-helpers/bulk.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/catIndices.d.ts +16 -0
- package/dist/src/elasticsearch-client/method-helpers/catIndices.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/catIndices.js +29 -0
- package/dist/src/elasticsearch-client/method-helpers/catIndices.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/clusterGetSettings.d.ts +3 -0
- package/dist/src/elasticsearch-client/method-helpers/clusterGetSettings.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/clusterGetSettings.js +20 -0
- package/dist/src/elasticsearch-client/method-helpers/clusterGetSettings.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/clusterHealth.d.ts +14 -0
- package/dist/src/elasticsearch-client/method-helpers/clusterHealth.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/clusterHealth.js +35 -0
- package/dist/src/elasticsearch-client/method-helpers/clusterHealth.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/count.d.ts +17 -0
- package/dist/src/elasticsearch-client/method-helpers/count.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/count.js +30 -0
- package/dist/src/elasticsearch-client/method-helpers/count.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/create.d.ts +34 -0
- package/dist/src/elasticsearch-client/method-helpers/create.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/create.js +36 -0
- package/dist/src/elasticsearch-client/method-helpers/create.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/delete.d.ts +26 -0
- package/dist/src/elasticsearch-client/method-helpers/delete.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/delete.js +27 -0
- package/dist/src/elasticsearch-client/method-helpers/delete.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/deleteByQuery.d.ts +66 -0
- package/dist/src/elasticsearch-client/method-helpers/deleteByQuery.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/deleteByQuery.js +36 -0
- package/dist/src/elasticsearch-client/method-helpers/deleteByQuery.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/exists.d.ts +18 -0
- package/dist/src/elasticsearch-client/method-helpers/exists.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/exists.js +25 -0
- package/dist/src/elasticsearch-client/method-helpers/exists.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/get.d.ts +18 -0
- package/dist/src/elasticsearch-client/method-helpers/get.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/get.js +26 -0
- package/dist/src/elasticsearch-client/method-helpers/get.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/helper-utils.d.ts +7 -0
- package/dist/src/elasticsearch-client/method-helpers/helper-utils.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/helper-utils.js +38 -0
- package/dist/src/elasticsearch-client/method-helpers/helper-utils.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/index-method.d.ts +43 -0
- package/dist/src/elasticsearch-client/method-helpers/index-method.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/index-method.js +38 -0
- package/dist/src/elasticsearch-client/method-helpers/index-method.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/index.d.ts +41 -0
- package/dist/src/elasticsearch-client/method-helpers/index.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/index.js +57 -0
- package/dist/src/elasticsearch-client/method-helpers/index.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesCreate.d.ts +15 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesCreate.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesCreate.js +39 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesCreate.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesDelete.d.ts +3 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesDelete.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesDelete.js +19 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesDelete.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesDeleteTemplate.d.ts +3 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesDeleteTemplate.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesDeleteTemplate.js +19 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesDeleteTemplate.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesExists.d.ts +3 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesExists.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesExists.js +19 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesExists.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesExistsTemplate.d.ts +3 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesExistsTemplate.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesExistsTemplate.js +19 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesExistsTemplate.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGet.d.ts +12 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGet.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGet.js +22 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGet.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetFieldMapping.d.ts +20 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetFieldMapping.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetFieldMapping.js +27 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetFieldMapping.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetIndexTemplate.d.ts +3 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetIndexTemplate.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetIndexTemplate.js +19 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetIndexTemplate.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetMapping.d.ts +9 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetMapping.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetMapping.js +33 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetMapping.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetSettings.d.ts +12 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetSettings.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetSettings.js +24 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetSettings.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetTemplate.d.ts +3 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetTemplate.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetTemplate.js +19 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesGetTemplate.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesPutMapping.d.ts +51 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesPutMapping.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesPutMapping.js +32 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesPutMapping.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesPutSettings.d.ts +24 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesPutSettings.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesPutSettings.js +32 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesPutSettings.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesPutTemplate.d.ts +23 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesPutTemplate.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesPutTemplate.js +39 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesPutTemplate.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesRecovery.d.ts +3 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesRecovery.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesRecovery.js +19 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesRecovery.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesRefresh.d.ts +3 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesRefresh.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesRefresh.js +19 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesRefresh.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesStats.d.ts +15 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesStats.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesStats.js +22 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesStats.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesValidateQuery.d.ts +36 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesValidateQuery.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesValidateQuery.js +25 -0
- package/dist/src/elasticsearch-client/method-helpers/indicesValidateQuery.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/mget.d.ts +3 -0
- package/dist/src/elasticsearch-client/method-helpers/mget.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/mget.js +45 -0
- package/dist/src/elasticsearch-client/method-helpers/mget.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/msearch.d.ts +3 -0
- package/dist/src/elasticsearch-client/method-helpers/msearch.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/msearch.js +43 -0
- package/dist/src/elasticsearch-client/method-helpers/msearch.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/nodesInfo.d.ts +8 -0
- package/dist/src/elasticsearch-client/method-helpers/nodesInfo.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/nodesInfo.js +33 -0
- package/dist/src/elasticsearch-client/method-helpers/nodesInfo.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/nodesStats.d.ts +15 -0
- package/dist/src/elasticsearch-client/method-helpers/nodesStats.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/nodesStats.js +33 -0
- package/dist/src/elasticsearch-client/method-helpers/nodesStats.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/reindex.d.ts +37 -0
- package/dist/src/elasticsearch-client/method-helpers/reindex.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/reindex.js +36 -0
- package/dist/src/elasticsearch-client/method-helpers/reindex.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/search.d.ts +50 -0
- package/dist/src/elasticsearch-client/method-helpers/search.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/search.js +42 -0
- package/dist/src/elasticsearch-client/method-helpers/search.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/tasksCancel.d.ts +3 -0
- package/dist/src/elasticsearch-client/method-helpers/tasksCancel.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/tasksCancel.js +19 -0
- package/dist/src/elasticsearch-client/method-helpers/tasksCancel.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/tasksGet.d.ts +3 -0
- package/dist/src/elasticsearch-client/method-helpers/tasksGet.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/tasksGet.js +19 -0
- package/dist/src/elasticsearch-client/method-helpers/tasksGet.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/tasksList.d.ts +3 -0
- package/dist/src/elasticsearch-client/method-helpers/tasksList.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/tasksList.js +19 -0
- package/dist/src/elasticsearch-client/method-helpers/tasksList.js.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/update.d.ts +79 -0
- package/dist/src/elasticsearch-client/method-helpers/update.d.ts.map +1 -0
- package/dist/src/elasticsearch-client/method-helpers/update.js +36 -0
- package/dist/src/elasticsearch-client/method-helpers/update.js.map +1 -0
- package/dist/src/index-manager.d.ts +10 -12
- package/dist/src/index-manager.d.ts.map +1 -1
- package/dist/src/index-manager.js +24 -34
- package/dist/src/index-manager.js.map +1 -1
- package/dist/src/index-model.d.ts +2 -2
- package/dist/src/index-model.d.ts.map +1 -1
- package/dist/src/index-model.js.map +1 -1
- package/dist/src/index-store.d.ts +20 -38
- package/dist/src/index-store.d.ts.map +1 -1
- package/dist/src/index-store.js +23 -55
- package/dist/src/index-store.js.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +2 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/test-helpers/config.d.ts +3 -0
- package/dist/src/test-helpers/config.d.ts.map +1 -0
- package/dist/src/test-helpers/config.js +12 -0
- package/dist/src/test-helpers/config.js.map +1 -0
- package/dist/src/test-helpers/elasticsearch.d.ts +20 -0
- package/dist/src/test-helpers/elasticsearch.d.ts.map +1 -0
- package/dist/src/test-helpers/elasticsearch.js +177 -0
- package/dist/src/test-helpers/elasticsearch.js.map +1 -0
- package/dist/src/test-helpers/fixtures/even-date-data.d.ts +9 -0
- package/dist/src/test-helpers/fixtures/even-date-data.d.ts.map +1 -0
- package/dist/src/test-helpers/fixtures/even-date-data.js +10021 -0
- package/dist/src/test-helpers/fixtures/even-date-data.js.map +1 -0
- package/dist/src/test-helpers/fixtures/index.d.ts +3 -0
- package/dist/src/test-helpers/fixtures/index.d.ts.map +1 -0
- package/dist/src/test-helpers/fixtures/index.js +29 -0
- package/dist/src/test-helpers/fixtures/index.js.map +1 -0
- package/dist/src/test-helpers/fixtures/interfaces.d.ts +11 -0
- package/dist/src/test-helpers/fixtures/interfaces.d.ts.map +1 -0
- package/dist/src/test-helpers/fixtures/interfaces.js +3 -0
- package/dist/src/test-helpers/fixtures/interfaces.js.map +1 -0
- package/dist/src/test-helpers/fixtures/uneven-date-data.d.ts +9 -0
- package/dist/src/test-helpers/fixtures/uneven-date-data.d.ts.map +1 -0
- package/dist/src/test-helpers/fixtures/uneven-date-data.js +3035 -0
- package/dist/src/test-helpers/fixtures/uneven-date-data.js.map +1 -0
- package/dist/src/test-helpers/index.d.ts +4 -0
- package/dist/src/test-helpers/index.d.ts.map +1 -0
- package/dist/src/test-helpers/index.js +20 -0
- package/dist/src/test-helpers/index.js.map +1 -0
- package/dist/src/utils/elasticsearch.d.ts +1 -1
- package/dist/src/utils/elasticsearch.d.ts.map +1 -1
- package/dist/src/utils/elasticsearch.js +8 -4
- package/dist/src/utils/elasticsearch.js.map +1 -1
- package/dist/src/utils/validation.d.ts +2 -2
- package/dist/src/utils/validation.d.ts.map +1 -1
- package/dist/src/utils/validation.js.map +1 -1
- package/package.json +3 -3
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./bulk"), exports);
|
|
18
|
+
__exportStar(require("./count"), exports);
|
|
19
|
+
__exportStar(require("./create"), exports);
|
|
20
|
+
__exportStar(require("./delete"), exports);
|
|
21
|
+
__exportStar(require("./deleteByQuery"), exports);
|
|
22
|
+
__exportStar(require("./get"), exports);
|
|
23
|
+
__exportStar(require("./exists"), exports);
|
|
24
|
+
__exportStar(require("./helper-utils"), exports);
|
|
25
|
+
__exportStar(require("./search"), exports);
|
|
26
|
+
__exportStar(require("./msearch"), exports);
|
|
27
|
+
__exportStar(require("./mget"), exports);
|
|
28
|
+
__exportStar(require("./reindex"), exports);
|
|
29
|
+
__exportStar(require("./index-method"), exports);
|
|
30
|
+
__exportStar(require("./update"), exports);
|
|
31
|
+
__exportStar(require("./clusterGetSettings"), exports);
|
|
32
|
+
__exportStar(require("./clusterHealth"), exports);
|
|
33
|
+
__exportStar(require("./catIndices"), exports);
|
|
34
|
+
__exportStar(require("./nodesInfo"), exports);
|
|
35
|
+
__exportStar(require("./nodesStats"), exports);
|
|
36
|
+
__exportStar(require("./indicesCreate"), exports);
|
|
37
|
+
__exportStar(require("./indicesGet"), exports);
|
|
38
|
+
__exportStar(require("./indicesDelete"), exports);
|
|
39
|
+
__exportStar(require("./indicesExists"), exports);
|
|
40
|
+
__exportStar(require("./indicesDeleteTemplate"), exports);
|
|
41
|
+
__exportStar(require("./indicesPutTemplate"), exports);
|
|
42
|
+
__exportStar(require("./indicesExistsTemplate"), exports);
|
|
43
|
+
__exportStar(require("./indicesGetTemplate"), exports);
|
|
44
|
+
__exportStar(require("./indicesGetIndexTemplate"), exports);
|
|
45
|
+
__exportStar(require("./tasksList"), exports);
|
|
46
|
+
__exportStar(require("./tasksGet"), exports);
|
|
47
|
+
__exportStar(require("./tasksCancel"), exports);
|
|
48
|
+
__exportStar(require("./indicesValidateQuery"), exports);
|
|
49
|
+
__exportStar(require("./indicesRecovery"), exports);
|
|
50
|
+
__exportStar(require("./indicesRefresh"), exports);
|
|
51
|
+
__exportStar(require("./indicesPutSettings"), exports);
|
|
52
|
+
__exportStar(require("./indicesGetSettings"), exports);
|
|
53
|
+
__exportStar(require("./indicesGetFieldMapping"), exports);
|
|
54
|
+
__exportStar(require("./indicesPutMapping"), exports);
|
|
55
|
+
__exportStar(require("./indicesGetMapping"), exports);
|
|
56
|
+
__exportStar(require("./indicesStats"), exports);
|
|
57
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,0CAAwB;AACxB,2CAAyB;AACzB,2CAAyB;AACzB,kDAAgC;AAChC,wCAAsB;AACtB,2CAAyB;AACzB,iDAA+B;AAC/B,2CAAyB;AACzB,4CAA0B;AAC1B,yCAAuB;AACvB,4CAA0B;AAC1B,iDAA+B;AAC/B,2CAAyB;AACzB,uDAAqC;AACrC,kDAAgC;AAChC,+CAA6B;AAC7B,8CAA4B;AAC5B,+CAA6B;AAC7B,kDAAgC;AAChC,+CAA6B;AAC7B,kDAAgC;AAChC,kDAAgC;AAChC,0DAAwC;AACxC,uDAAqC;AACrC,0DAAwC;AACxC,uDAAqC;AACrC,4DAA0C;AAC1C,8CAA4B;AAC5B,6CAA2B;AAC3B,gDAA8B;AAC9B,yDAAuC;AACvC,oDAAkC;AAClC,mDAAiC;AACjC,uDAAqC;AACrC,uDAAqC;AACrC,2DAAyC;AACzC,sDAAoC;AACpC,sDAAoC;AACpC,iDAA+B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ClientParams, ClientMetadata } from '@terascope/types';
|
|
2
|
+
export declare function convertIndicesCreateParams(params: ClientParams.IndicesCreateParams, distributionMeta: ClientMetadata): ClientParams.IndicesCreateParams | {
|
|
3
|
+
index: string;
|
|
4
|
+
wait_for_active_shards?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").WaitForActiveShards | undefined;
|
|
5
|
+
timeout?: `${number}d` | `${number}h` | `${number}m` | `${number}s` | `${number}ms` | `${number}micros` | `${number}nanos` | undefined;
|
|
6
|
+
master_timeout?: `${number}d` | `${number}h` | `${number}m` | `${number}s` | `${number}ms` | `${number}micros` | `${number}nanos` | undefined;
|
|
7
|
+
aliases: {
|
|
8
|
+
[alias: string]: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").Alias;
|
|
9
|
+
} | undefined;
|
|
10
|
+
mappings: {
|
|
11
|
+
properties: any;
|
|
12
|
+
} | undefined;
|
|
13
|
+
settings: Record<string, any> | undefined;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=indicesCreate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesCreate.d.ts","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesCreate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAO3F,wBAAgB,0BAA0B,CACtC,MAAM,EAAE,YAAY,CAAC,mBAAmB,EACxC,gBAAgB,EAAE,cAAc;;;;;;;;;;;;EAmDnC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.convertIndicesCreateParams = void 0;
|
|
4
|
+
const types_1 = require("@terascope/types");
|
|
5
|
+
const helper_utils_1 = require("./helper-utils");
|
|
6
|
+
function convertIndicesCreateParams(params, distributionMeta) {
|
|
7
|
+
const { majorVersion, distribution, version } = distributionMeta;
|
|
8
|
+
if (distribution === types_1.ElasticsearchDistribution.elasticsearch) {
|
|
9
|
+
if (majorVersion === 8) {
|
|
10
|
+
const { include_type_name, body, ...parsedParams } = params;
|
|
11
|
+
return {
|
|
12
|
+
aliases: body === null || body === void 0 ? void 0 : body.aliases,
|
|
13
|
+
// ensure no type in mapping
|
|
14
|
+
mappings: (0, helper_utils_1.ensureNoTypeInMapping)(body === null || body === void 0 ? void 0 : body.mappings),
|
|
15
|
+
settings: body === null || body === void 0 ? void 0 : body.settings,
|
|
16
|
+
...parsedParams
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
if (majorVersion === 7) {
|
|
20
|
+
return params;
|
|
21
|
+
}
|
|
22
|
+
if (majorVersion === 6) {
|
|
23
|
+
const { body, include_type_name, ...parsedParams } = params;
|
|
24
|
+
return {
|
|
25
|
+
include_type_name: true,
|
|
26
|
+
body: (0, helper_utils_1.ensureTypeInMapping)(body),
|
|
27
|
+
...parsedParams
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
if (distribution === types_1.ElasticsearchDistribution.opensearch) {
|
|
32
|
+
if (majorVersion === 1) {
|
|
33
|
+
return params;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
throw new Error(`unsupported ${distribution} version: ${version}`);
|
|
37
|
+
}
|
|
38
|
+
exports.convertIndicesCreateParams = convertIndicesCreateParams;
|
|
39
|
+
//# sourceMappingURL=indicesCreate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesCreate.js","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesCreate.ts"],"names":[],"mappings":";;;AAAA,4CAA2F;AAE3F,iDAGwB;AAExB,SAAgB,0BAA0B,CACtC,MAAwC,EACxC,gBAAgC;IAEhC,MAAM,EACF,YAAY,EACZ,YAAY,EACZ,OAAO,EACV,GAAG,gBAAgB,CAAC;IAErB,IAAI,YAAY,KAAK,iCAAyB,CAAC,aAAa,EAAE;QAC1D,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,MAAM,EACF,iBAAiB,EACjB,IAAI,EACJ,GAAG,YAAY,EAClB,GAAG,MAAM,CAAC;YAEX,OAAO;gBACH,OAAO,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,OAAO;gBACtB,4BAA4B;gBAC5B,QAAQ,EAAE,IAAA,oCAAqB,EAAC,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ,CAAC;gBAC/C,QAAQ,EAAE,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,QAAQ;gBACxB,GAAG,YAAY;aAClB,CAAC;SACL;QAED,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,OAAO,MAAM,CAAC;SACjB;QAED,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,MAAM,EACF,IAAI,EACJ,iBAAiB,EACjB,GAAG,YAAY,EAClB,GAAG,MAAM,CAAC;YAEX,OAAO;gBACH,iBAAiB,EAAE,IAAI;gBACvB,IAAI,EAAE,IAAA,kCAAmB,EAAC,IAAI,CAAC;gBAC/B,GAAG,YAAY;aAClB,CAAC;SACL;KACJ;IAED,IAAI,YAAY,KAAK,iCAAyB,CAAC,UAAU,EAAE;QACvD,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,OAAO,MAAM,CAAC;SACjB;KACJ;IAED,MAAM,IAAI,KAAK,CAAC,eAAe,YAAY,aAAa,OAAO,EAAE,CAAC,CAAC;AACvE,CAAC;AArDD,gEAqDC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesDelete.d.ts","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesDelete.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE3F,wBAAgB,0BAA0B,CACtC,MAAM,EAAE,YAAY,CAAC,mBAAmB,EACxC,gBAAgB,EAAE,cAAc,oCAmBnC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.convertIndicesDeleteParams = void 0;
|
|
4
|
+
const types_1 = require("@terascope/types");
|
|
5
|
+
function convertIndicesDeleteParams(params, distributionMeta) {
|
|
6
|
+
const { majorVersion, distribution, version } = distributionMeta;
|
|
7
|
+
if (distribution === types_1.ElasticsearchDistribution.elasticsearch) {
|
|
8
|
+
if ([6, 7, 8].includes(majorVersion))
|
|
9
|
+
return params;
|
|
10
|
+
}
|
|
11
|
+
if (distribution === types_1.ElasticsearchDistribution.opensearch) {
|
|
12
|
+
if (majorVersion === 1) {
|
|
13
|
+
return params;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
throw new Error(`unsupported ${distribution} version: ${version}`);
|
|
17
|
+
}
|
|
18
|
+
exports.convertIndicesDeleteParams = convertIndicesDeleteParams;
|
|
19
|
+
//# sourceMappingURL=indicesDelete.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesDelete.js","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesDelete.ts"],"names":[],"mappings":";;;AAAA,4CAA2F;AAE3F,SAAgB,0BAA0B,CACtC,MAAwC,EACxC,gBAAgC;IAEhC,MAAM,EACF,YAAY,EACZ,YAAY,EACZ,OAAO,EACV,GAAG,gBAAgB,CAAC;IAErB,IAAI,YAAY,KAAK,iCAAyB,CAAC,aAAa,EAAE;QAC1D,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC;YAAE,OAAO,MAAM,CAAC;KACvD;IAED,IAAI,YAAY,KAAK,iCAAyB,CAAC,UAAU,EAAE;QACvD,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,OAAO,MAAM,CAAC;SACjB;KACJ;IAED,MAAM,IAAI,KAAK,CAAC,eAAe,YAAY,aAAa,OAAO,EAAE,CAAC,CAAC;AACvE,CAAC;AArBD,gEAqBC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ClientParams, ClientMetadata } from '@terascope/types';
|
|
2
|
+
export declare function convertIndicesDeleteTemplateParams(params: ClientParams.IndicesDeleteTemplateParams, distributionMeta: ClientMetadata): ClientParams.IndicesDeleteTemplateParams;
|
|
3
|
+
//# sourceMappingURL=indicesDeleteTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesDeleteTemplate.d.ts","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesDeleteTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE3F,wBAAgB,kCAAkC,CAC9C,MAAM,EAAE,YAAY,CAAC,2BAA2B,EAChD,gBAAgB,EAAE,cAAc,4CAmBnC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.convertIndicesDeleteTemplateParams = void 0;
|
|
4
|
+
const types_1 = require("@terascope/types");
|
|
5
|
+
function convertIndicesDeleteTemplateParams(params, distributionMeta) {
|
|
6
|
+
const { majorVersion, distribution, version } = distributionMeta;
|
|
7
|
+
if (distribution === types_1.ElasticsearchDistribution.elasticsearch) {
|
|
8
|
+
if ([6, 7, 8].includes(majorVersion))
|
|
9
|
+
return params;
|
|
10
|
+
}
|
|
11
|
+
if (distribution === types_1.ElasticsearchDistribution.opensearch) {
|
|
12
|
+
if (majorVersion === 1) {
|
|
13
|
+
return params;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
throw new Error(`unsupported ${distribution} version: ${version}`);
|
|
17
|
+
}
|
|
18
|
+
exports.convertIndicesDeleteTemplateParams = convertIndicesDeleteTemplateParams;
|
|
19
|
+
//# sourceMappingURL=indicesDeleteTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesDeleteTemplate.js","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesDeleteTemplate.ts"],"names":[],"mappings":";;;AAAA,4CAA2F;AAE3F,SAAgB,kCAAkC,CAC9C,MAAgD,EAChD,gBAAgC;IAEhC,MAAM,EACF,YAAY,EACZ,YAAY,EACZ,OAAO,EACV,GAAG,gBAAgB,CAAC;IAErB,IAAI,YAAY,KAAK,iCAAyB,CAAC,aAAa,EAAE;QAC1D,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC;YAAE,OAAO,MAAM,CAAC;KACvD;IAED,IAAI,YAAY,KAAK,iCAAyB,CAAC,UAAU,EAAE;QACvD,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,OAAO,MAAM,CAAC;SACjB;KACJ;IAED,MAAM,IAAI,KAAK,CAAC,eAAe,YAAY,aAAa,OAAO,EAAE,CAAC,CAAC;AACvE,CAAC;AArBD,gFAqBC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesExists.d.ts","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesExists.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE3F,wBAAgB,0BAA0B,CACtC,MAAM,EAAE,YAAY,CAAC,mBAAmB,EACxC,gBAAgB,EAAE,cAAc,oCAmBnC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.convertIndicesExistsParams = void 0;
|
|
4
|
+
const types_1 = require("@terascope/types");
|
|
5
|
+
function convertIndicesExistsParams(params, distributionMeta) {
|
|
6
|
+
const { majorVersion, distribution, version } = distributionMeta;
|
|
7
|
+
if (distribution === types_1.ElasticsearchDistribution.elasticsearch) {
|
|
8
|
+
if ([6, 7, 8].includes(majorVersion))
|
|
9
|
+
return params;
|
|
10
|
+
}
|
|
11
|
+
if (distribution === types_1.ElasticsearchDistribution.opensearch) {
|
|
12
|
+
if (majorVersion === 1) {
|
|
13
|
+
return params;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
throw new Error(`unsupported ${distribution} version: ${version}`);
|
|
17
|
+
}
|
|
18
|
+
exports.convertIndicesExistsParams = convertIndicesExistsParams;
|
|
19
|
+
//# sourceMappingURL=indicesExists.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesExists.js","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesExists.ts"],"names":[],"mappings":";;;AAAA,4CAA2F;AAE3F,SAAgB,0BAA0B,CACtC,MAAwC,EACxC,gBAAgC;IAEhC,MAAM,EACF,YAAY,EACZ,YAAY,EACZ,OAAO,EACV,GAAG,gBAAgB,CAAC;IAErB,IAAI,YAAY,KAAK,iCAAyB,CAAC,aAAa,EAAE;QAC1D,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC;YAAE,OAAO,MAAM,CAAC;KACvD;IAED,IAAI,YAAY,KAAK,iCAAyB,CAAC,UAAU,EAAE;QACvD,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,OAAO,MAAM,CAAC;SACjB;KACJ;IAED,MAAM,IAAI,KAAK,CAAC,eAAe,YAAY,aAAa,OAAO,EAAE,CAAC,CAAC;AACvE,CAAC;AArBD,gEAqBC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ClientParams, ClientMetadata } from '@terascope/types';
|
|
2
|
+
export declare function convertIndicesExistsTemplateParams(params: ClientParams.IndicesExistsTemplateParams, distributionMeta: ClientMetadata): ClientParams.IndicesExistsTemplateParams;
|
|
3
|
+
//# sourceMappingURL=indicesExistsTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesExistsTemplate.d.ts","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesExistsTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE3F,wBAAgB,kCAAkC,CAC9C,MAAM,EAAE,YAAY,CAAC,2BAA2B,EAChD,gBAAgB,EAAE,cAAc,4CAmBnC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.convertIndicesExistsTemplateParams = void 0;
|
|
4
|
+
const types_1 = require("@terascope/types");
|
|
5
|
+
function convertIndicesExistsTemplateParams(params, distributionMeta) {
|
|
6
|
+
const { majorVersion, distribution, version } = distributionMeta;
|
|
7
|
+
if (distribution === types_1.ElasticsearchDistribution.elasticsearch) {
|
|
8
|
+
if ([6, 7, 8].includes(majorVersion))
|
|
9
|
+
return params;
|
|
10
|
+
}
|
|
11
|
+
if (distribution === types_1.ElasticsearchDistribution.opensearch) {
|
|
12
|
+
if (majorVersion === 1) {
|
|
13
|
+
return params;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
throw new Error(`unsupported ${distribution} version: ${version}`);
|
|
17
|
+
}
|
|
18
|
+
exports.convertIndicesExistsTemplateParams = convertIndicesExistsTemplateParams;
|
|
19
|
+
//# sourceMappingURL=indicesExistsTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesExistsTemplate.js","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesExistsTemplate.ts"],"names":[],"mappings":";;;AAAA,4CAA2F;AAE3F,SAAgB,kCAAkC,CAC9C,MAAgD,EAChD,gBAAgC;IAEhC,MAAM,EACF,YAAY,EACZ,YAAY,EACZ,OAAO,EACV,GAAG,gBAAgB,CAAC;IAErB,IAAI,YAAY,KAAK,iCAAyB,CAAC,aAAa,EAAE;QAC1D,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC;YAAE,OAAO,MAAM,CAAC;KACvD;IAED,IAAI,YAAY,KAAK,iCAAyB,CAAC,UAAU,EAAE;QACvD,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,OAAO,MAAM,CAAC;SACjB;KACJ;IAED,MAAM,IAAI,KAAK,CAAC,eAAe,YAAY,aAAa,OAAO,EAAE,CAAC,CAAC;AACvE,CAAC;AArBD,gFAqBC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ClientParams, ClientMetadata } from '@terascope/types';
|
|
2
|
+
export declare function convertIndicesGetParams(params: ClientParams.IndicesGetParams, distributionMeta: ClientMetadata): {
|
|
3
|
+
index: string | string[];
|
|
4
|
+
local?: boolean | undefined;
|
|
5
|
+
ignore_unavailable?: boolean | undefined;
|
|
6
|
+
allow_no_indices?: boolean | undefined;
|
|
7
|
+
expand_wildcards?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").ExpandWildcards | undefined;
|
|
8
|
+
flat_settings?: boolean | undefined;
|
|
9
|
+
include_defaults?: boolean | undefined;
|
|
10
|
+
master_timeout?: `${number}d` | `${number}h` | `${number}m` | `${number}s` | `${number}ms` | `${number}micros` | `${number}nanos` | undefined;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=indicesGet.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesGet.d.ts","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesGet.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE3F,wBAAgB,uBAAuB,CACnC,MAAM,EAAE,YAAY,CAAC,gBAAgB,EACrC,gBAAgB,EAAE,cAAc;;;;;;;;;EA0BnC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.convertIndicesGetParams = void 0;
|
|
4
|
+
const types_1 = require("@terascope/types");
|
|
5
|
+
function convertIndicesGetParams(params, distributionMeta) {
|
|
6
|
+
const { majorVersion, distribution, version } = distributionMeta;
|
|
7
|
+
if (distribution === types_1.ElasticsearchDistribution.elasticsearch) {
|
|
8
|
+
if (majorVersion === 8) {
|
|
9
|
+
const { include_type_name, ...parsedParams } = params;
|
|
10
|
+
return parsedParams;
|
|
11
|
+
}
|
|
12
|
+
if ([6, 7].includes(majorVersion))
|
|
13
|
+
return params;
|
|
14
|
+
}
|
|
15
|
+
if (distribution === types_1.ElasticsearchDistribution.opensearch) {
|
|
16
|
+
if (majorVersion === 1)
|
|
17
|
+
return params;
|
|
18
|
+
}
|
|
19
|
+
throw new Error(`unsupported ${distribution} version: ${version}`);
|
|
20
|
+
}
|
|
21
|
+
exports.convertIndicesGetParams = convertIndicesGetParams;
|
|
22
|
+
//# sourceMappingURL=indicesGet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesGet.js","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesGet.ts"],"names":[],"mappings":";;;AAAA,4CAA2F;AAE3F,SAAgB,uBAAuB,CACnC,MAAqC,EACrC,gBAAgC;IAEhC,MAAM,EACF,YAAY,EACZ,YAAY,EACZ,OAAO,EACV,GAAG,gBAAgB,CAAC;IAErB,IAAI,YAAY,KAAK,iCAAyB,CAAC,aAAa,EAAE;QAC1D,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,MAAM,EACF,iBAAiB,EACjB,GAAG,YAAY,EAClB,GAAG,MAAM,CAAC;YAEX,OAAO,YAAY,CAAC;SACvB;QAED,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC;YAAE,OAAO,MAAM,CAAC;KACpD;IAED,IAAI,YAAY,KAAK,iCAAyB,CAAC,UAAU,EAAE;QACvD,IAAI,YAAY,KAAK,CAAC;YAAE,OAAO,MAAM,CAAC;KACzC;IAED,MAAM,IAAI,KAAK,CAAC,eAAe,YAAY,aAAa,OAAO,EAAE,CAAC,CAAC;AACvE,CAAC;AA5BD,0DA4BC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ClientParams, ClientMetadata } from '@terascope/types';
|
|
2
|
+
export declare function convertIndicesGetFieldMappingParams(params: ClientParams.IndicesGetFieldMappingParams, distributionMeta: ClientMetadata): {
|
|
3
|
+
fields: string | string[];
|
|
4
|
+
index?: string | string[] | undefined;
|
|
5
|
+
allow_no_indices?: boolean | undefined;
|
|
6
|
+
expand_wildcards?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").ExpandWildcards | undefined;
|
|
7
|
+
ignore_unavailable?: boolean | undefined;
|
|
8
|
+
include_defaults?: boolean | undefined;
|
|
9
|
+
local?: boolean | undefined;
|
|
10
|
+
} | {
|
|
11
|
+
fields: string | string[];
|
|
12
|
+
index?: string | string[] | undefined;
|
|
13
|
+
allow_no_indices?: boolean | undefined;
|
|
14
|
+
expand_wildcards?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").ExpandWildcards | undefined;
|
|
15
|
+
ignore_unavailable?: boolean | undefined;
|
|
16
|
+
include_defaults?: boolean | undefined;
|
|
17
|
+
local?: boolean | undefined;
|
|
18
|
+
type: string | string[];
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=indicesGetFieldMapping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesGetFieldMapping.d.ts","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesGetFieldMapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE3F,wBAAgB,mCAAmC,CAC/C,MAAM,EAAE,YAAY,CAAC,4BAA4B,EACjD,gBAAgB,EAAE,cAAc;;;;;;;;;;;;;;;;;EAkCnC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.convertIndicesGetFieldMappingParams = void 0;
|
|
4
|
+
const types_1 = require("@terascope/types");
|
|
5
|
+
function convertIndicesGetFieldMappingParams(params, distributionMeta) {
|
|
6
|
+
const { majorVersion, distribution, version } = distributionMeta;
|
|
7
|
+
const { include_type_name, type = '_doc', ...parsedParams } = params;
|
|
8
|
+
if (distribution === types_1.ElasticsearchDistribution.elasticsearch) {
|
|
9
|
+
if (majorVersion === 8 || majorVersion === 7) {
|
|
10
|
+
return parsedParams;
|
|
11
|
+
}
|
|
12
|
+
if (majorVersion === 6) {
|
|
13
|
+
return {
|
|
14
|
+
type,
|
|
15
|
+
...parsedParams
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
if (distribution === types_1.ElasticsearchDistribution.opensearch) {
|
|
20
|
+
if (majorVersion === 1) {
|
|
21
|
+
return parsedParams;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
throw new Error(`Unsupported ${distribution} version ${version}`);
|
|
25
|
+
}
|
|
26
|
+
exports.convertIndicesGetFieldMappingParams = convertIndicesGetFieldMappingParams;
|
|
27
|
+
//# sourceMappingURL=indicesGetFieldMapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesGetFieldMapping.js","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesGetFieldMapping.ts"],"names":[],"mappings":";;;AAAA,4CAA2F;AAE3F,SAAgB,mCAAmC,CAC/C,MAAiD,EACjD,gBAAgC;IAEhC,MAAM,EACF,YAAY,EACZ,YAAY,EACZ,OAAO,EACV,GAAG,gBAAgB,CAAC;IAErB,MAAM,EACF,iBAAiB,EACjB,IAAI,GAAG,MAAM,EACb,GAAG,YAAY,EAClB,GAAG,MAAM,CAAC;IAEX,IAAI,YAAY,KAAK,iCAAyB,CAAC,aAAa,EAAE;QAC1D,IAAI,YAAY,KAAK,CAAC,IAAI,YAAY,KAAK,CAAC,EAAE;YAC1C,OAAO,YAAY,CAAC;SACvB;QAED,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,OAAO;gBACH,IAAI;gBACJ,GAAG,YAAY;aAClB,CAAC;SACL;KACJ;IAED,IAAI,YAAY,KAAK,iCAAyB,CAAC,UAAU,EAAE;QACvD,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,OAAO,YAAY,CAAC;SACvB;KACJ;IAED,MAAM,IAAI,KAAK,CAAC,eAAe,YAAY,YAAY,OAAO,EAAE,CAAC,CAAC;AACtE,CAAC;AApCD,kFAoCC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ClientParams, ClientMetadata } from '@terascope/types';
|
|
2
|
+
export declare function convertIndicesGetIndexTemplateParams(params: ClientParams.IndicesGetIndexTemplateParams, distributionMeta: ClientMetadata): ClientParams.IndicesGetIndexTemplateParams;
|
|
3
|
+
//# sourceMappingURL=indicesGetIndexTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesGetIndexTemplate.d.ts","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesGetIndexTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE3F,wBAAgB,oCAAoC,CAChD,MAAM,EAAE,YAAY,CAAC,6BAA6B,EAClD,gBAAgB,EAAE,cAAc,8CAmBnC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.convertIndicesGetIndexTemplateParams = void 0;
|
|
4
|
+
const types_1 = require("@terascope/types");
|
|
5
|
+
function convertIndicesGetIndexTemplateParams(params, distributionMeta) {
|
|
6
|
+
const { majorVersion, distribution, version } = distributionMeta;
|
|
7
|
+
if (distribution === types_1.ElasticsearchDistribution.elasticsearch) {
|
|
8
|
+
if ([7, 8].includes(majorVersion))
|
|
9
|
+
return params;
|
|
10
|
+
}
|
|
11
|
+
if (distribution === types_1.ElasticsearchDistribution.opensearch) {
|
|
12
|
+
if (majorVersion === 1) {
|
|
13
|
+
return params;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
throw new Error(`unsupported ${distribution} version: ${version}`);
|
|
17
|
+
}
|
|
18
|
+
exports.convertIndicesGetIndexTemplateParams = convertIndicesGetIndexTemplateParams;
|
|
19
|
+
//# sourceMappingURL=indicesGetIndexTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesGetIndexTemplate.js","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesGetIndexTemplate.ts"],"names":[],"mappings":";;;AAAA,4CAA2F;AAE3F,SAAgB,oCAAoC,CAChD,MAAkD,EAClD,gBAAgC;IAEhC,MAAM,EACF,YAAY,EACZ,YAAY,EACZ,OAAO,EACV,GAAG,gBAAgB,CAAC;IAErB,IAAI,YAAY,KAAK,iCAAyB,CAAC,aAAa,EAAE;QAC1D,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC;YAAE,OAAO,MAAM,CAAC;KACpD;IAED,IAAI,YAAY,KAAK,iCAAyB,CAAC,UAAU,EAAE;QACvD,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,OAAO,MAAM,CAAC;SACjB;KACJ;IAED,MAAM,IAAI,KAAK,CAAC,eAAe,YAAY,aAAa,OAAO,EAAE,CAAC,CAAC;AACvE,CAAC;AArBD,oFAqBC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ClientParams, ClientMetadata } from '@terascope/types';
|
|
2
|
+
export declare function convertIndicesGetMappingParams(params: ClientParams.IndicesGetMappingParams, distributionMeta: ClientMetadata): {
|
|
3
|
+
index?: string | string[] | undefined;
|
|
4
|
+
allow_no_indices?: boolean | undefined;
|
|
5
|
+
expand_wildcards?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").ExpandWildcards | undefined;
|
|
6
|
+
ignore_unavailable?: boolean | undefined;
|
|
7
|
+
local?: boolean | undefined;
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=indicesGetMapping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesGetMapping.d.ts","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesGetMapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE3F,wBAAgB,8BAA8B,CAC1C,MAAM,EAAE,YAAY,CAAC,uBAAuB,EAC5C,gBAAgB,EAAE,cAAc;;;;;;EAiDnC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.convertIndicesGetMappingParams = void 0;
|
|
4
|
+
const types_1 = require("@terascope/types");
|
|
5
|
+
function convertIndicesGetMappingParams(params, distributionMeta) {
|
|
6
|
+
const { majorVersion, distribution, version } = distributionMeta;
|
|
7
|
+
if (distribution === types_1.ElasticsearchDistribution.elasticsearch) {
|
|
8
|
+
if (majorVersion === 8) {
|
|
9
|
+
const { include_type_name, type, ...parsedParams } = params;
|
|
10
|
+
return parsedParams;
|
|
11
|
+
}
|
|
12
|
+
if (majorVersion === 7) {
|
|
13
|
+
const { include_type_name, type, ...parsedParams } = params;
|
|
14
|
+
return parsedParams;
|
|
15
|
+
}
|
|
16
|
+
if (majorVersion === 6) {
|
|
17
|
+
return params;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
if (distribution === types_1.ElasticsearchDistribution.opensearch) {
|
|
21
|
+
if (majorVersion === 1) {
|
|
22
|
+
const { master_timeout, type, include_type_name, ...parsedParams } = params;
|
|
23
|
+
if (master_timeout) {
|
|
24
|
+
// @ts-expect-error
|
|
25
|
+
parsedParams.cluster_manager_timeout = master_timeout;
|
|
26
|
+
}
|
|
27
|
+
return parsedParams;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
throw new Error(`Unsupported ${distribution} version ${version}`);
|
|
31
|
+
}
|
|
32
|
+
exports.convertIndicesGetMappingParams = convertIndicesGetMappingParams;
|
|
33
|
+
//# sourceMappingURL=indicesGetMapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesGetMapping.js","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesGetMapping.ts"],"names":[],"mappings":";;;AAAA,4CAA2F;AAE3F,SAAgB,8BAA8B,CAC1C,MAA4C,EAC5C,gBAAgC;IAEhC,MAAM,EACF,YAAY,EACZ,YAAY,EACZ,OAAO,EACV,GAAG,gBAAgB,CAAC;IAErB,IAAI,YAAY,KAAK,iCAAyB,CAAC,aAAa,EAAE;QAC1D,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,MAAM,EACF,iBAAiB,EAAE,IAAI,EACvB,GAAG,YAAY,EAClB,GAAG,MAAM,CAAC;YAEX,OAAO,YAAY,CAAC;SACvB;QAED,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,MAAM,EACF,iBAAiB,EAAE,IAAI,EACvB,GAAG,YAAY,EAClB,GAAG,MAAM,CAAC;YAEX,OAAO,YAAY,CAAC;SACvB;QAED,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,OAAO,MAAM,CAAC;SACjB;KACJ;IAED,IAAI,YAAY,KAAK,iCAAyB,CAAC,UAAU,EAAE;QACvD,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,MAAM,EACF,cAAc,EAAE,IAAI,EAAE,iBAAiB,EACvC,GAAG,YAAY,EAClB,GAAG,MAAM,CAAC;YAEX,IAAI,cAAc,EAAE;gBAChB,mBAAmB;gBACnB,YAAY,CAAC,uBAAuB,GAAG,cAAc,CAAC;aACzD;YAED,OAAO,YAAY,CAAC;SACvB;KACJ;IAED,MAAM,IAAI,KAAK,CAAC,eAAe,YAAY,YAAY,OAAO,EAAE,CAAC,CAAC;AACtE,CAAC;AAnDD,wEAmDC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ClientParams, ClientMetadata } from '@terascope/types';
|
|
2
|
+
export declare function convertIndicesGetSettingsParams(params: ClientParams.IndicesGetSettingsParams, distributionMeta: ClientMetadata): {
|
|
3
|
+
index?: string | string[] | undefined;
|
|
4
|
+
name?: string | string[] | undefined;
|
|
5
|
+
allow_no_indices?: boolean | undefined;
|
|
6
|
+
expand_wildcards?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").ExpandWildcards | undefined;
|
|
7
|
+
flat_settings?: boolean | undefined;
|
|
8
|
+
ignore_unavailable?: boolean | undefined;
|
|
9
|
+
include_defaults?: boolean | undefined;
|
|
10
|
+
local?: boolean | undefined;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=indicesGetSettings.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesGetSettings.d.ts","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesGetSettings.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE3F,wBAAgB,+BAA+B,CAC3C,MAAM,EAAE,YAAY,CAAC,wBAAwB,EAC7C,gBAAgB,EAAE,cAAc;;;;;;;;;EA4BnC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.convertIndicesGetSettingsParams = void 0;
|
|
4
|
+
const types_1 = require("@terascope/types");
|
|
5
|
+
function convertIndicesGetSettingsParams(params, distributionMeta) {
|
|
6
|
+
const { majorVersion, distribution, version } = distributionMeta;
|
|
7
|
+
if (distribution === types_1.ElasticsearchDistribution.elasticsearch) {
|
|
8
|
+
if ([6, 7, 8].includes(majorVersion))
|
|
9
|
+
return params;
|
|
10
|
+
}
|
|
11
|
+
if (distribution === types_1.ElasticsearchDistribution.opensearch) {
|
|
12
|
+
if (majorVersion === 1) {
|
|
13
|
+
const { master_timeout, ...parsedParams } = params;
|
|
14
|
+
if (master_timeout) {
|
|
15
|
+
// @ts-expect-error
|
|
16
|
+
parsedParams.cluster_manager_timeout = master_timeout;
|
|
17
|
+
}
|
|
18
|
+
return parsedParams;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
throw new Error(`Unsupported ${distribution} version ${version}`);
|
|
22
|
+
}
|
|
23
|
+
exports.convertIndicesGetSettingsParams = convertIndicesGetSettingsParams;
|
|
24
|
+
//# sourceMappingURL=indicesGetSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesGetSettings.js","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesGetSettings.ts"],"names":[],"mappings":";;;AAAA,4CAA2F;AAE3F,SAAgB,+BAA+B,CAC3C,MAA6C,EAC7C,gBAAgC;IAEhC,MAAM,EACF,YAAY,EACZ,YAAY,EACZ,OAAO,EACV,GAAG,gBAAgB,CAAC;IAErB,IAAI,YAAY,KAAK,iCAAyB,CAAC,aAAa,EAAE;QAC1D,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC;YAAE,OAAO,MAAM,CAAC;KACvD;IAED,IAAI,YAAY,KAAK,iCAAyB,CAAC,UAAU,EAAE;QACvD,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,MAAM,EACF,cAAc,EAAE,GAAG,YAAY,EAClC,GAAG,MAAM,CAAC;YAEX,IAAI,cAAc,EAAE;gBAChB,mBAAmB;gBACnB,YAAY,CAAC,uBAAuB,GAAG,cAAc,CAAC;aACzD;YAED,OAAO,YAAY,CAAC;SACvB;KACJ;IAED,MAAM,IAAI,KAAK,CAAC,eAAe,YAAY,YAAY,OAAO,EAAE,CAAC,CAAC;AACtE,CAAC;AA9BD,0EA8BC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ClientParams, ClientMetadata } from '@terascope/types';
|
|
2
|
+
export declare function convertIndicesGetTemplateParams(params: ClientParams.IndicesGetTemplateParams, distributionMeta: ClientMetadata): ClientParams.IndicesGetTemplateParams;
|
|
3
|
+
//# sourceMappingURL=indicesGetTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesGetTemplate.d.ts","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesGetTemplate.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE3F,wBAAgB,+BAA+B,CAC3C,MAAM,EAAE,YAAY,CAAC,wBAAwB,EAC7C,gBAAgB,EAAE,cAAc,yCAmBnC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.convertIndicesGetTemplateParams = void 0;
|
|
4
|
+
const types_1 = require("@terascope/types");
|
|
5
|
+
function convertIndicesGetTemplateParams(params, distributionMeta) {
|
|
6
|
+
const { majorVersion, distribution, version } = distributionMeta;
|
|
7
|
+
if (distribution === types_1.ElasticsearchDistribution.elasticsearch) {
|
|
8
|
+
if ([6, 7, 8].includes(majorVersion))
|
|
9
|
+
return params;
|
|
10
|
+
}
|
|
11
|
+
if (distribution === types_1.ElasticsearchDistribution.opensearch) {
|
|
12
|
+
if (majorVersion === 1) {
|
|
13
|
+
return params;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
throw new Error(`unsupported ${distribution} version: ${version}`);
|
|
17
|
+
}
|
|
18
|
+
exports.convertIndicesGetTemplateParams = convertIndicesGetTemplateParams;
|
|
19
|
+
//# sourceMappingURL=indicesGetTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesGetTemplate.js","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesGetTemplate.ts"],"names":[],"mappings":";;;AAAA,4CAA2F;AAE3F,SAAgB,+BAA+B,CAC3C,MAA6C,EAC7C,gBAAgC;IAEhC,MAAM,EACF,YAAY,EACZ,YAAY,EACZ,OAAO,EACV,GAAG,gBAAgB,CAAC;IAErB,IAAI,YAAY,KAAK,iCAAyB,CAAC,aAAa,EAAE;QAC1D,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,CAAC;YAAE,OAAO,MAAM,CAAC;KACvD;IAED,IAAI,YAAY,KAAK,iCAAyB,CAAC,UAAU,EAAE;QACvD,IAAI,YAAY,KAAK,CAAC,EAAE;YACpB,OAAO,MAAM,CAAC;SACjB;KACJ;IAED,MAAM,IAAI,KAAK,CAAC,eAAe,YAAY,aAAa,OAAO,EAAE,CAAC,CAAC;AACvE,CAAC;AArBD,0EAqBC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ClientParams, ClientMetadata } from '@terascope/types';
|
|
2
|
+
export declare function convertIndicesPutMappingParams(params: ClientParams.IndicesPutMappingParams, distributionMeta: ClientMetadata): {
|
|
3
|
+
index?: string | string[] | undefined;
|
|
4
|
+
allow_no_indices?: boolean | undefined;
|
|
5
|
+
expand_wildcards?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").ExpandWildcards | undefined;
|
|
6
|
+
ignore_unavailable?: boolean | undefined;
|
|
7
|
+
timeout?: string | number | undefined;
|
|
8
|
+
write_index_only?: boolean | undefined;
|
|
9
|
+
body?: {
|
|
10
|
+
all_field?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingAllField | undefined;
|
|
11
|
+
date_detection?: boolean | undefined;
|
|
12
|
+
dynamic?: boolean | import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingDynamicMapping | undefined;
|
|
13
|
+
dynamic_date_formats?: string[] | undefined;
|
|
14
|
+
dynamic_templates?: Record<string, import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingDynamicTemplate> | Record<string, import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingDynamicTemplate>[] | undefined;
|
|
15
|
+
field_names_field?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingFieldNamesField | undefined;
|
|
16
|
+
index_field?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingIndexField | undefined;
|
|
17
|
+
meta?: Record<string, any> | undefined;
|
|
18
|
+
numeric_detection?: boolean | undefined;
|
|
19
|
+
properties?: Record<string, import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingProperty> | undefined;
|
|
20
|
+
routing_field?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingRoutingField | undefined;
|
|
21
|
+
size_field?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingSizeField | undefined;
|
|
22
|
+
source_field?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingSourceField | undefined;
|
|
23
|
+
runtime?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingRuntimeFields | undefined;
|
|
24
|
+
} | undefined;
|
|
25
|
+
} | {
|
|
26
|
+
index?: string | string[] | undefined;
|
|
27
|
+
allow_no_indices?: boolean | undefined;
|
|
28
|
+
expand_wildcards?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").ExpandWildcards | undefined;
|
|
29
|
+
ignore_unavailable?: boolean | undefined;
|
|
30
|
+
master_timeout?: string | number | undefined;
|
|
31
|
+
timeout?: string | number | undefined;
|
|
32
|
+
write_index_only?: boolean | undefined;
|
|
33
|
+
body?: {
|
|
34
|
+
all_field?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingAllField | undefined;
|
|
35
|
+
date_detection?: boolean | undefined;
|
|
36
|
+
dynamic?: boolean | import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingDynamicMapping | undefined;
|
|
37
|
+
dynamic_date_formats?: string[] | undefined;
|
|
38
|
+
dynamic_templates?: Record<string, import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingDynamicTemplate> | Record<string, import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingDynamicTemplate>[] | undefined;
|
|
39
|
+
field_names_field?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingFieldNamesField | undefined;
|
|
40
|
+
index_field?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingIndexField | undefined;
|
|
41
|
+
meta?: Record<string, any> | undefined;
|
|
42
|
+
numeric_detection?: boolean | undefined;
|
|
43
|
+
properties?: Record<string, import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingProperty> | undefined;
|
|
44
|
+
routing_field?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingRoutingField | undefined;
|
|
45
|
+
size_field?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingSizeField | undefined;
|
|
46
|
+
source_field?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingSourceField | undefined;
|
|
47
|
+
runtime?: import("packages/types/dist/src/elasticsearch-client/elasticsearch-types").MappingRuntimeFields | undefined;
|
|
48
|
+
} | undefined;
|
|
49
|
+
type: string;
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=indicesPutMapping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"indicesPutMapping.d.ts","sourceRoot":"","sources":["../../../../src/elasticsearch-client/method-helpers/indicesPutMapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,YAAY,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAE3F,wBAAgB,8BAA8B,CAC1C,MAAM,EAAE,YAAY,CAAC,uBAAuB,EAC5C,gBAAgB,EAAE,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8CnC"}
|