@algolia/ingestion 1.40.1 → 1.42.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 +4 -4
- package/dist/browser.d.ts +81 -2
- package/dist/builds/browser.js +51 -1
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +1 -1
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +1 -1
- package/dist/builds/fetch.js +51 -1
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +51 -1
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +51 -1
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +51 -1
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +81 -2
- package/dist/node.d.cts +81 -2
- package/dist/node.d.ts +81 -2
- package/dist/src/ingestionClient.cjs +51 -1
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +51 -1
- package/dist/src/ingestionClient.js.map +1 -1
- package/dist/worker.d.ts +81 -2
- package/package.json +8 -8
|
@@ -29,7 +29,7 @@ __export(ingestionClient_exports, {
|
|
|
29
29
|
});
|
|
30
30
|
module.exports = __toCommonJS(ingestionClient_exports);
|
|
31
31
|
var import_client_common = require("@algolia/client-common");
|
|
32
|
-
var apiClientVersion = "1.
|
|
32
|
+
var apiClientVersion = "1.42.0";
|
|
33
33
|
var REGIONS = ["eu", "us"];
|
|
34
34
|
function getDefaultHosts(region) {
|
|
35
35
|
const url = "data.{region}.algolia.com".replace("{region}", region);
|
|
@@ -285,6 +285,11 @@ function createIngestionClient({
|
|
|
285
285
|
},
|
|
286
286
|
/**
|
|
287
287
|
* Creates a new task.
|
|
288
|
+
*
|
|
289
|
+
* Required API Key ACLs:
|
|
290
|
+
* - addObject
|
|
291
|
+
* - deleteIndex
|
|
292
|
+
* - editSettings
|
|
288
293
|
* @param taskCreate - Request body for creating a task.
|
|
289
294
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
290
295
|
*/
|
|
@@ -316,6 +321,11 @@ function createIngestionClient({
|
|
|
316
321
|
/**
|
|
317
322
|
* Creates a new task using the v1 endpoint, please use `createTask` instead.
|
|
318
323
|
*
|
|
324
|
+
* Required API Key ACLs:
|
|
325
|
+
* - addObject
|
|
326
|
+
* - deleteIndex
|
|
327
|
+
* - editSettings
|
|
328
|
+
*
|
|
319
329
|
* @deprecated
|
|
320
330
|
* @param taskCreate - Request body for creating a task.
|
|
321
331
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -350,6 +360,11 @@ function createIngestionClient({
|
|
|
350
360
|
},
|
|
351
361
|
/**
|
|
352
362
|
* Creates a new transformation.
|
|
363
|
+
*
|
|
364
|
+
* Required API Key ACLs:
|
|
365
|
+
* - addObject
|
|
366
|
+
* - deleteIndex
|
|
367
|
+
* - editSettings
|
|
353
368
|
* @param transformationCreate - Request body for creating a transformation.
|
|
354
369
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
355
370
|
*/
|
|
@@ -550,6 +565,11 @@ function createIngestionClient({
|
|
|
550
565
|
},
|
|
551
566
|
/**
|
|
552
567
|
* Deletes a task by its ID.
|
|
568
|
+
*
|
|
569
|
+
* Required API Key ACLs:
|
|
570
|
+
* - addObject
|
|
571
|
+
* - deleteIndex
|
|
572
|
+
* - editSettings
|
|
553
573
|
* @param deleteTask - The deleteTask object.
|
|
554
574
|
* @param deleteTask.taskID - Unique identifier of a task.
|
|
555
575
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -572,6 +592,11 @@ function createIngestionClient({
|
|
|
572
592
|
/**
|
|
573
593
|
* Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
|
|
574
594
|
*
|
|
595
|
+
* Required API Key ACLs:
|
|
596
|
+
* - addObject
|
|
597
|
+
* - deleteIndex
|
|
598
|
+
* - editSettings
|
|
599
|
+
*
|
|
575
600
|
* @deprecated
|
|
576
601
|
* @param deleteTaskV1 - The deleteTaskV1 object.
|
|
577
602
|
* @param deleteTaskV1.taskID - Unique identifier of a task.
|
|
@@ -594,6 +619,11 @@ function createIngestionClient({
|
|
|
594
619
|
},
|
|
595
620
|
/**
|
|
596
621
|
* Deletes a transformation by its ID.
|
|
622
|
+
*
|
|
623
|
+
* Required API Key ACLs:
|
|
624
|
+
* - addObject
|
|
625
|
+
* - deleteIndex
|
|
626
|
+
* - editSettings
|
|
597
627
|
* @param deleteTransformation - The deleteTransformation object.
|
|
598
628
|
* @param deleteTransformation.transformationID - Unique identifier of a transformation.
|
|
599
629
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -1489,6 +1519,11 @@ function createIngestionClient({
|
|
|
1489
1519
|
},
|
|
1490
1520
|
/**
|
|
1491
1521
|
* Fully updates a task by its ID, use partialUpdateTask if you only want to update a subset of fields.
|
|
1522
|
+
*
|
|
1523
|
+
* Required API Key ACLs:
|
|
1524
|
+
* - addObject
|
|
1525
|
+
* - deleteIndex
|
|
1526
|
+
* - editSettings
|
|
1492
1527
|
* @param replaceTask - The replaceTask object.
|
|
1493
1528
|
* @param replaceTask.taskID - Unique identifier of a task.
|
|
1494
1529
|
* @param replaceTask.taskReplace - The taskReplace object.
|
|
@@ -1988,6 +2023,11 @@ function createIngestionClient({
|
|
|
1988
2023
|
},
|
|
1989
2024
|
/**
|
|
1990
2025
|
* Partially updates a task by its ID.
|
|
2026
|
+
*
|
|
2027
|
+
* Required API Key ACLs:
|
|
2028
|
+
* - addObject
|
|
2029
|
+
* - deleteIndex
|
|
2030
|
+
* - editSettings
|
|
1991
2031
|
* @param updateTask - The updateTask object.
|
|
1992
2032
|
* @param updateTask.taskID - Unique identifier of a task.
|
|
1993
2033
|
* @param updateTask.taskUpdate - The taskUpdate object.
|
|
@@ -2015,6 +2055,11 @@ function createIngestionClient({
|
|
|
2015
2055
|
/**
|
|
2016
2056
|
* Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
|
|
2017
2057
|
*
|
|
2058
|
+
* Required API Key ACLs:
|
|
2059
|
+
* - addObject
|
|
2060
|
+
* - deleteIndex
|
|
2061
|
+
* - editSettings
|
|
2062
|
+
*
|
|
2018
2063
|
* @deprecated
|
|
2019
2064
|
* @param updateTaskV1 - The updateTaskV1 object.
|
|
2020
2065
|
* @param updateTaskV1.taskID - Unique identifier of a task.
|
|
@@ -2042,6 +2087,11 @@ function createIngestionClient({
|
|
|
2042
2087
|
},
|
|
2043
2088
|
/**
|
|
2044
2089
|
* Updates a transformation by its ID.
|
|
2090
|
+
*
|
|
2091
|
+
* Required API Key ACLs:
|
|
2092
|
+
* - addObject
|
|
2093
|
+
* - deleteIndex
|
|
2094
|
+
* - editSettings
|
|
2045
2095
|
* @param updateTransformation - The updateTransformation object.
|
|
2046
2096
|
* @param updateTransformation.transformationID - Unique identifier of a transformation.
|
|
2047
2097
|
* @param updateTransformation.transformationCreate - The transformationCreate object.
|