@elastic/elasticsearch 8.0.0-beta.1 → 8.0.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/README.md +13 -62
- package/free-report-junit.xml +13 -0
- package/lib/api/api/async_search.js +1 -1
- package/lib/api/api/async_search.js.map +1 -1
- package/lib/api/api/bulk.d.ts +3 -3
- package/lib/api/api/bulk.js +2 -6
- package/lib/api/api/bulk.js.map +1 -1
- package/lib/api/api/create.js +1 -1
- package/lib/api/api/create.js.map +1 -1
- package/lib/api/api/delete.js +1 -1
- package/lib/api/api/delete.js.map +1 -1
- package/lib/api/api/eql.js +1 -1
- package/lib/api/api/eql.js.map +1 -1
- package/lib/api/api/exists_source.js +1 -1
- package/lib/api/api/exists_source.js.map +1 -1
- package/lib/api/api/fleet.d.ts +9 -9
- package/lib/api/api/fleet.js +28 -7
- package/lib/api/api/fleet.js.map +1 -1
- package/lib/api/api/ilm.d.ts +3 -3
- package/lib/api/api/ilm.js +17 -2
- package/lib/api/api/ilm.js.map +1 -1
- package/lib/api/api/indices.d.ts +3 -6
- package/lib/api/api/indices.js +3 -20
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/license.d.ts +3 -3
- package/lib/api/api/license.js +0 -1
- package/lib/api/api/license.js.map +1 -1
- package/lib/api/api/migration.d.ts +6 -6
- package/lib/api/api/migration.js +2 -0
- package/lib/api/api/migration.js.map +1 -1
- package/lib/api/api/ml.d.ts +24 -24
- package/lib/api/api/ml.js +130 -45
- package/lib/api/api/ml.js.map +1 -1
- package/lib/api/api/monitoring.d.ts +3 -3
- package/lib/api/api/monitoring.js.map +1 -1
- package/lib/api/api/msearch.d.ts +3 -3
- package/lib/api/api/msearch.js.map +1 -1
- package/lib/api/api/msearch_template.d.ts +3 -3
- package/lib/api/api/msearch_template.js.map +1 -1
- package/lib/api/api/nodes.d.ts +6 -6
- package/lib/api/api/nodes.js +2 -2
- package/lib/api/api/nodes.js.map +1 -1
- package/lib/api/api/rollup.d.ts +3 -3
- package/lib/api/api/rollup.js +3 -3
- package/lib/api/api/rollup.js.map +1 -1
- package/lib/api/api/scroll.d.ts +3 -3
- package/lib/api/api/scroll.js.map +1 -1
- package/lib/api/api/search.d.ts +3 -3
- package/lib/api/api/search.js +1 -1
- package/lib/api/api/search.js.map +1 -1
- package/lib/api/api/search_mvt.js +1 -1
- package/lib/api/api/search_mvt.js.map +1 -1
- package/lib/api/api/searchable_snapshots.d.ts +3 -3
- package/lib/api/api/searchable_snapshots.js +1 -0
- package/lib/api/api/searchable_snapshots.js.map +1 -1
- package/lib/api/api/security.d.ts +27 -27
- package/lib/api/api/security.js +106 -18
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/sql.d.ts +9 -9
- package/lib/api/api/sql.js +4 -4
- package/lib/api/api/sql.js.map +1 -1
- package/lib/api/api/transform.d.ts +3 -3
- package/lib/api/api/transform.js +3 -2
- package/lib/api/api/transform.js.map +1 -1
- package/lib/api/api/update.js +1 -1
- package/lib/api/api/update.js.map +1 -1
- package/lib/api/types.d.ts +2427 -1185
- package/lib/api/typesWithBodyKey.d.ts +2525 -1194
- package/lib/client.js +6 -1
- package/lib/client.js.map +1 -1
- package/lib/helpers.d.ts +1 -1
- package/lib/helpers.js.map +1 -1
- package/package.json +3 -3
- package/platinum-report-junit.xml +13 -0
package/lib/api/api/ml.js
CHANGED
|
@@ -30,10 +30,24 @@ class Ml {
|
|
|
30
30
|
}
|
|
31
31
|
async closeJob(params, options) {
|
|
32
32
|
const acceptedPath = ['job_id'];
|
|
33
|
+
const acceptedBody = ['allow_no_match', 'force', 'timeout'];
|
|
33
34
|
const querystring = {};
|
|
34
|
-
|
|
35
|
+
// @ts-expect-error
|
|
36
|
+
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
37
|
+
let body;
|
|
38
|
+
if (typeof userBody === 'string') {
|
|
39
|
+
body = userBody;
|
|
40
|
+
}
|
|
41
|
+
else {
|
|
42
|
+
body = userBody != null ? { ...userBody } : undefined;
|
|
43
|
+
}
|
|
35
44
|
for (const key in params) {
|
|
36
|
-
if (
|
|
45
|
+
if (acceptedBody.includes(key)) {
|
|
46
|
+
body = body !== null && body !== void 0 ? body : {};
|
|
47
|
+
// @ts-expect-error
|
|
48
|
+
body[key] = params[key];
|
|
49
|
+
}
|
|
50
|
+
else if (acceptedPath.includes(key)) {
|
|
37
51
|
continue;
|
|
38
52
|
}
|
|
39
53
|
else if (key !== 'body') {
|
|
@@ -356,6 +370,7 @@ class Ml {
|
|
|
356
370
|
else {
|
|
357
371
|
body = userBody != null ? { ...userBody } : undefined;
|
|
358
372
|
}
|
|
373
|
+
params = params !== null && params !== void 0 ? params : {};
|
|
359
374
|
for (const key in params) {
|
|
360
375
|
if (acceptedBody.includes(key)) {
|
|
361
376
|
body = body !== null && body !== void 0 ? body : {};
|
|
@@ -384,7 +399,7 @@ class Ml {
|
|
|
384
399
|
}
|
|
385
400
|
async flushJob(params, options) {
|
|
386
401
|
const acceptedPath = ['job_id'];
|
|
387
|
-
const acceptedBody = ['advance_time', 'calc_interim', 'end', 'start'];
|
|
402
|
+
const acceptedBody = ['advance_time', 'calc_interim', 'end', 'skip_time', 'start'];
|
|
388
403
|
const querystring = {};
|
|
389
404
|
// @ts-expect-error
|
|
390
405
|
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
@@ -446,7 +461,7 @@ class Ml {
|
|
|
446
461
|
}
|
|
447
462
|
async getBuckets(params, options) {
|
|
448
463
|
const acceptedPath = ['job_id', 'timestamp'];
|
|
449
|
-
const acceptedBody = ['anomaly_score', 'desc', 'exclude_interim', 'expand', '
|
|
464
|
+
const acceptedBody = ['anomaly_score', 'desc', 'end', 'exclude_interim', 'expand', 'page', 'sort', 'start'];
|
|
450
465
|
const querystring = {};
|
|
451
466
|
// @ts-expect-error
|
|
452
467
|
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
@@ -792,9 +807,26 @@ class Ml {
|
|
|
792
807
|
}
|
|
793
808
|
return await this.transport.request({ path, method, querystring, body }, options);
|
|
794
809
|
}
|
|
810
|
+
async getModelSnapshotUpgradeStats(params, options) {
|
|
811
|
+
const acceptedPath = ['job_id', 'snapshot_id'];
|
|
812
|
+
const querystring = {};
|
|
813
|
+
const body = undefined;
|
|
814
|
+
params = params !== null && params !== void 0 ? params : {};
|
|
815
|
+
for (const key in params) {
|
|
816
|
+
if (acceptedPath.includes(key)) {
|
|
817
|
+
continue;
|
|
818
|
+
}
|
|
819
|
+
else if (key !== 'body') {
|
|
820
|
+
querystring[key] = params[key];
|
|
821
|
+
}
|
|
822
|
+
}
|
|
823
|
+
const method = 'GET';
|
|
824
|
+
const path = `/_ml/anomaly_detectors/${encodeURIComponent(params.job_id.toString())}/model_snapshots/${encodeURIComponent(params.snapshot_id.toString())}/_upgrade/_stats`;
|
|
825
|
+
return await this.transport.request({ path, method, querystring, body }, options);
|
|
826
|
+
}
|
|
795
827
|
async getModelSnapshots(params, options) {
|
|
796
828
|
const acceptedPath = ['job_id', 'snapshot_id'];
|
|
797
|
-
const acceptedBody = ['
|
|
829
|
+
const acceptedBody = ['desc', 'end', 'page', 'sort', 'start'];
|
|
798
830
|
const querystring = {};
|
|
799
831
|
// @ts-expect-error
|
|
800
832
|
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
@@ -833,10 +865,24 @@ class Ml {
|
|
|
833
865
|
}
|
|
834
866
|
async getOverallBuckets(params, options) {
|
|
835
867
|
const acceptedPath = ['job_id'];
|
|
868
|
+
const acceptedBody = ['allow_no_match', 'bucket_span', 'end', 'exclude_interim', 'overall_score', 'start', 'top_n'];
|
|
836
869
|
const querystring = {};
|
|
837
|
-
|
|
870
|
+
// @ts-expect-error
|
|
871
|
+
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
872
|
+
let body;
|
|
873
|
+
if (typeof userBody === 'string') {
|
|
874
|
+
body = userBody;
|
|
875
|
+
}
|
|
876
|
+
else {
|
|
877
|
+
body = userBody != null ? { ...userBody } : undefined;
|
|
878
|
+
}
|
|
838
879
|
for (const key in params) {
|
|
839
|
-
if (
|
|
880
|
+
if (acceptedBody.includes(key)) {
|
|
881
|
+
body = body !== null && body !== void 0 ? body : {};
|
|
882
|
+
// @ts-expect-error
|
|
883
|
+
body[key] = params[key];
|
|
884
|
+
}
|
|
885
|
+
else if (acceptedPath.includes(key)) {
|
|
840
886
|
continue;
|
|
841
887
|
}
|
|
842
888
|
else if (key !== 'body') {
|
|
@@ -850,7 +896,7 @@ class Ml {
|
|
|
850
896
|
}
|
|
851
897
|
async getRecords(params, options) {
|
|
852
898
|
const acceptedPath = ['job_id'];
|
|
853
|
-
const acceptedBody = ['desc', 'exclude_interim', 'page', 'record_score', 'sort', 'start'
|
|
899
|
+
const acceptedBody = ['desc', 'end', 'exclude_interim', 'page', 'record_score', 'sort', 'start'];
|
|
854
900
|
const querystring = {};
|
|
855
901
|
// @ts-expect-error
|
|
856
902
|
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
@@ -879,23 +925,6 @@ class Ml {
|
|
|
879
925
|
const path = `/_ml/anomaly_detectors/${encodeURIComponent(params.job_id.toString())}/results/records`;
|
|
880
926
|
return await this.transport.request({ path, method, querystring, body }, options);
|
|
881
927
|
}
|
|
882
|
-
async getTrainedModelDeploymentStats(params, options) {
|
|
883
|
-
const acceptedPath = ['model_id'];
|
|
884
|
-
const querystring = {};
|
|
885
|
-
const body = undefined;
|
|
886
|
-
params = params !== null && params !== void 0 ? params : {};
|
|
887
|
-
for (const key in params) {
|
|
888
|
-
if (acceptedPath.includes(key)) {
|
|
889
|
-
continue;
|
|
890
|
-
}
|
|
891
|
-
else if (key !== 'body') {
|
|
892
|
-
querystring[key] = params[key];
|
|
893
|
-
}
|
|
894
|
-
}
|
|
895
|
-
const method = 'GET';
|
|
896
|
-
const path = `/_ml/trained_models/${encodeURIComponent(params.model_id.toString())}/deployment/_stats`;
|
|
897
|
-
return await this.transport.request({ path, method, querystring, body }, options);
|
|
898
|
-
}
|
|
899
928
|
async getTrainedModels(params, options) {
|
|
900
929
|
const acceptedPath = ['model_id'];
|
|
901
930
|
const querystring = {};
|
|
@@ -950,14 +979,28 @@ class Ml {
|
|
|
950
979
|
}
|
|
951
980
|
async inferTrainedModelDeployment(params, options) {
|
|
952
981
|
const acceptedPath = ['model_id'];
|
|
982
|
+
const acceptedBody = ['docs'];
|
|
953
983
|
const querystring = {};
|
|
954
|
-
|
|
955
|
-
|
|
984
|
+
// @ts-expect-error
|
|
985
|
+
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
986
|
+
let body;
|
|
987
|
+
if (typeof userBody === 'string') {
|
|
988
|
+
body = userBody;
|
|
989
|
+
}
|
|
990
|
+
else {
|
|
991
|
+
body = userBody != null ? { ...userBody } : undefined;
|
|
992
|
+
}
|
|
956
993
|
for (const key in params) {
|
|
957
|
-
if (
|
|
994
|
+
if (acceptedBody.includes(key)) {
|
|
995
|
+
body = body !== null && body !== void 0 ? body : {};
|
|
996
|
+
// @ts-expect-error
|
|
997
|
+
body[key] = params[key];
|
|
998
|
+
}
|
|
999
|
+
else if (acceptedPath.includes(key)) {
|
|
958
1000
|
continue;
|
|
959
1001
|
}
|
|
960
1002
|
else if (key !== 'body') {
|
|
1003
|
+
// @ts-expect-error
|
|
961
1004
|
querystring[key] = params[key];
|
|
962
1005
|
}
|
|
963
1006
|
}
|
|
@@ -1151,7 +1194,7 @@ class Ml {
|
|
|
1151
1194
|
}
|
|
1152
1195
|
async putCalendar(params, options) {
|
|
1153
1196
|
const acceptedPath = ['calendar_id'];
|
|
1154
|
-
const acceptedBody = ['description'];
|
|
1197
|
+
const acceptedBody = ['job_ids', 'description'];
|
|
1155
1198
|
const querystring = {};
|
|
1156
1199
|
// @ts-expect-error
|
|
1157
1200
|
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
@@ -1199,7 +1242,7 @@ class Ml {
|
|
|
1199
1242
|
}
|
|
1200
1243
|
async putDataFrameAnalytics(params, options) {
|
|
1201
1244
|
const acceptedPath = ['id'];
|
|
1202
|
-
const acceptedBody = ['allow_lazy_start', 'analysis', 'analyzed_fields', 'description', 'dest', 'max_num_threads', 'model_memory_limit', 'source'];
|
|
1245
|
+
const acceptedBody = ['allow_lazy_start', 'analysis', 'analyzed_fields', 'description', 'dest', 'max_num_threads', 'model_memory_limit', 'source', 'headers', 'version'];
|
|
1203
1246
|
const querystring = {};
|
|
1204
1247
|
// @ts-expect-error
|
|
1205
1248
|
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
@@ -1230,7 +1273,7 @@ class Ml {
|
|
|
1230
1273
|
}
|
|
1231
1274
|
async putDatafeed(params, options) {
|
|
1232
1275
|
const acceptedPath = ['datafeed_id'];
|
|
1233
|
-
const acceptedBody = ['aggregations', 'chunking_config', 'delayed_data_check_config', 'frequency', 'indices', 'indices_options', 'job_id', 'max_empty_searches', 'query', 'query_delay', 'runtime_mappings', 'script_fields', 'scroll_size'];
|
|
1276
|
+
const acceptedBody = ['aggregations', 'chunking_config', 'delayed_data_check_config', 'frequency', 'indices', 'indexes', 'indices_options', 'job_id', 'max_empty_searches', 'query', 'query_delay', 'runtime_mappings', 'script_fields', 'scroll_size', 'headers'];
|
|
1234
1277
|
const querystring = {};
|
|
1235
1278
|
// @ts-expect-error
|
|
1236
1279
|
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
@@ -1323,7 +1366,7 @@ class Ml {
|
|
|
1323
1366
|
}
|
|
1324
1367
|
async putTrainedModel(params, options) {
|
|
1325
1368
|
const acceptedPath = ['model_id'];
|
|
1326
|
-
const acceptedBody = ['compressed_definition', 'definition', 'description', 'inference_config', 'input', 'metadata', 'tags'];
|
|
1369
|
+
const acceptedBody = ['compressed_definition', 'definition', 'description', 'inference_config', 'input', 'metadata', 'model_type', 'model_size_bytes', 'tags'];
|
|
1327
1370
|
const querystring = {};
|
|
1328
1371
|
// @ts-expect-error
|
|
1329
1372
|
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
@@ -1371,14 +1414,28 @@ class Ml {
|
|
|
1371
1414
|
}
|
|
1372
1415
|
async putTrainedModelDefinitionPart(params, options) {
|
|
1373
1416
|
const acceptedPath = ['model_id', 'part'];
|
|
1417
|
+
const acceptedBody = ['definition', 'total_definition_length', 'total_parts'];
|
|
1374
1418
|
const querystring = {};
|
|
1375
|
-
|
|
1376
|
-
|
|
1419
|
+
// @ts-expect-error
|
|
1420
|
+
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
1421
|
+
let body;
|
|
1422
|
+
if (typeof userBody === 'string') {
|
|
1423
|
+
body = userBody;
|
|
1424
|
+
}
|
|
1425
|
+
else {
|
|
1426
|
+
body = userBody != null ? { ...userBody } : undefined;
|
|
1427
|
+
}
|
|
1377
1428
|
for (const key in params) {
|
|
1378
|
-
if (
|
|
1429
|
+
if (acceptedBody.includes(key)) {
|
|
1430
|
+
body = body !== null && body !== void 0 ? body : {};
|
|
1431
|
+
// @ts-expect-error
|
|
1432
|
+
body[key] = params[key];
|
|
1433
|
+
}
|
|
1434
|
+
else if (acceptedPath.includes(key)) {
|
|
1379
1435
|
continue;
|
|
1380
1436
|
}
|
|
1381
1437
|
else if (key !== 'body') {
|
|
1438
|
+
// @ts-expect-error
|
|
1382
1439
|
querystring[key] = params[key];
|
|
1383
1440
|
}
|
|
1384
1441
|
}
|
|
@@ -1388,14 +1445,28 @@ class Ml {
|
|
|
1388
1445
|
}
|
|
1389
1446
|
async putTrainedModelVocabulary(params, options) {
|
|
1390
1447
|
const acceptedPath = ['model_id'];
|
|
1448
|
+
const acceptedBody = ['vocabulary'];
|
|
1391
1449
|
const querystring = {};
|
|
1392
|
-
|
|
1393
|
-
|
|
1450
|
+
// @ts-expect-error
|
|
1451
|
+
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
1452
|
+
let body;
|
|
1453
|
+
if (typeof userBody === 'string') {
|
|
1454
|
+
body = userBody;
|
|
1455
|
+
}
|
|
1456
|
+
else {
|
|
1457
|
+
body = userBody != null ? { ...userBody } : undefined;
|
|
1458
|
+
}
|
|
1394
1459
|
for (const key in params) {
|
|
1395
|
-
if (
|
|
1460
|
+
if (acceptedBody.includes(key)) {
|
|
1461
|
+
body = body !== null && body !== void 0 ? body : {};
|
|
1462
|
+
// @ts-expect-error
|
|
1463
|
+
body[key] = params[key];
|
|
1464
|
+
}
|
|
1465
|
+
else if (acceptedPath.includes(key)) {
|
|
1396
1466
|
continue;
|
|
1397
1467
|
}
|
|
1398
1468
|
else if (key !== 'body') {
|
|
1469
|
+
// @ts-expect-error
|
|
1399
1470
|
querystring[key] = params[key];
|
|
1400
1471
|
}
|
|
1401
1472
|
}
|
|
@@ -1521,12 +1592,12 @@ class Ml {
|
|
|
1521
1592
|
const acceptedPath = ['model_id'];
|
|
1522
1593
|
const querystring = {};
|
|
1523
1594
|
const body = undefined;
|
|
1524
|
-
params = params !== null && params !== void 0 ? params : {};
|
|
1525
1595
|
for (const key in params) {
|
|
1526
1596
|
if (acceptedPath.includes(key)) {
|
|
1527
1597
|
continue;
|
|
1528
1598
|
}
|
|
1529
1599
|
else if (key !== 'body') {
|
|
1600
|
+
// @ts-expect-error
|
|
1530
1601
|
querystring[key] = params[key];
|
|
1531
1602
|
}
|
|
1532
1603
|
}
|
|
@@ -1553,7 +1624,7 @@ class Ml {
|
|
|
1553
1624
|
}
|
|
1554
1625
|
async stopDatafeed(params, options) {
|
|
1555
1626
|
const acceptedPath = ['datafeed_id'];
|
|
1556
|
-
const acceptedBody = ['force', 'timeout'];
|
|
1627
|
+
const acceptedBody = ['allow_no_match', 'force', 'timeout'];
|
|
1557
1628
|
const querystring = {};
|
|
1558
1629
|
// @ts-expect-error
|
|
1559
1630
|
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
@@ -1586,12 +1657,12 @@ class Ml {
|
|
|
1586
1657
|
const acceptedPath = ['model_id'];
|
|
1587
1658
|
const querystring = {};
|
|
1588
1659
|
const body = undefined;
|
|
1589
|
-
params = params !== null && params !== void 0 ? params : {};
|
|
1590
1660
|
for (const key in params) {
|
|
1591
1661
|
if (acceptedPath.includes(key)) {
|
|
1592
1662
|
continue;
|
|
1593
1663
|
}
|
|
1594
1664
|
else if (key !== 'body') {
|
|
1665
|
+
// @ts-expect-error
|
|
1595
1666
|
querystring[key] = params[key];
|
|
1596
1667
|
}
|
|
1597
1668
|
}
|
|
@@ -1632,14 +1703,28 @@ class Ml {
|
|
|
1632
1703
|
}
|
|
1633
1704
|
async updateDatafeed(params, options) {
|
|
1634
1705
|
const acceptedPath = ['datafeed_id'];
|
|
1706
|
+
const acceptedBody = ['aggregations', 'chunking_config', 'delayed_data_check_config', 'frequency', 'indices', 'indexes', 'indices_options', 'max_empty_searches', 'query', 'query_delay', 'runtime_mappings', 'script_fields', 'scroll_size'];
|
|
1635
1707
|
const querystring = {};
|
|
1636
|
-
|
|
1637
|
-
|
|
1708
|
+
// @ts-expect-error
|
|
1709
|
+
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
|
1710
|
+
let body;
|
|
1711
|
+
if (typeof userBody === 'string') {
|
|
1712
|
+
body = userBody;
|
|
1713
|
+
}
|
|
1714
|
+
else {
|
|
1715
|
+
body = userBody != null ? { ...userBody } : undefined;
|
|
1716
|
+
}
|
|
1638
1717
|
for (const key in params) {
|
|
1639
|
-
if (
|
|
1718
|
+
if (acceptedBody.includes(key)) {
|
|
1719
|
+
body = body !== null && body !== void 0 ? body : {};
|
|
1720
|
+
// @ts-expect-error
|
|
1721
|
+
body[key] = params[key];
|
|
1722
|
+
}
|
|
1723
|
+
else if (acceptedPath.includes(key)) {
|
|
1640
1724
|
continue;
|
|
1641
1725
|
}
|
|
1642
1726
|
else if (key !== 'body') {
|
|
1727
|
+
// @ts-expect-error
|
|
1643
1728
|
querystring[key] = params[key];
|
|
1644
1729
|
}
|
|
1645
1730
|
}
|
|
@@ -1759,7 +1844,7 @@ class Ml {
|
|
|
1759
1844
|
}
|
|
1760
1845
|
async validate(params, options) {
|
|
1761
1846
|
const acceptedPath = [];
|
|
1762
|
-
const acceptedBody = ['job_id', 'analysis_config', 'analysis_limits', 'data_description', 'description', 'model_plot', 'model_snapshot_retention_days', 'results_index_name'];
|
|
1847
|
+
const acceptedBody = ['job_id', 'analysis_config', 'analysis_limits', 'data_description', 'description', 'model_plot', 'model_snapshot_id', 'model_snapshot_retention_days', 'results_index_name'];
|
|
1763
1848
|
const querystring = {};
|
|
1764
1849
|
// @ts-expect-error
|
|
1765
1850
|
const userBody = params === null || params === void 0 ? void 0 : params.body;
|