@algolia/ingestion 1.41.0 → 1.43.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 +51 -1
- 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 +51 -1
- package/dist/node.d.cts +51 -1
- package/dist/node.d.ts +51 -1
- 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 +51 -1
- package/package.json +6 -6
package/dist/builds/worker.js
CHANGED
|
@@ -4,7 +4,7 @@ import { createFetchRequester } from "@algolia/requester-fetch";
|
|
|
4
4
|
|
|
5
5
|
// src/ingestionClient.ts
|
|
6
6
|
import { createAuth, createIterablePromise, createTransporter, getAlgoliaAgent } from "@algolia/client-common";
|
|
7
|
-
var apiClientVersion = "1.
|
|
7
|
+
var apiClientVersion = "1.43.0";
|
|
8
8
|
var REGIONS = ["eu", "us"];
|
|
9
9
|
function getDefaultHosts(region) {
|
|
10
10
|
const url = "data.{region}.algolia.com".replace("{region}", region);
|
|
@@ -260,6 +260,11 @@ function createIngestionClient({
|
|
|
260
260
|
},
|
|
261
261
|
/**
|
|
262
262
|
* Creates a new task.
|
|
263
|
+
*
|
|
264
|
+
* Required API Key ACLs:
|
|
265
|
+
* - addObject
|
|
266
|
+
* - deleteIndex
|
|
267
|
+
* - editSettings
|
|
263
268
|
* @param taskCreate - Request body for creating a task.
|
|
264
269
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
265
270
|
*/
|
|
@@ -291,6 +296,11 @@ function createIngestionClient({
|
|
|
291
296
|
/**
|
|
292
297
|
* Creates a new task using the v1 endpoint, please use `createTask` instead.
|
|
293
298
|
*
|
|
299
|
+
* Required API Key ACLs:
|
|
300
|
+
* - addObject
|
|
301
|
+
* - deleteIndex
|
|
302
|
+
* - editSettings
|
|
303
|
+
*
|
|
294
304
|
* @deprecated
|
|
295
305
|
* @param taskCreate - Request body for creating a task.
|
|
296
306
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -325,6 +335,11 @@ function createIngestionClient({
|
|
|
325
335
|
},
|
|
326
336
|
/**
|
|
327
337
|
* Creates a new transformation.
|
|
338
|
+
*
|
|
339
|
+
* Required API Key ACLs:
|
|
340
|
+
* - addObject
|
|
341
|
+
* - deleteIndex
|
|
342
|
+
* - editSettings
|
|
328
343
|
* @param transformationCreate - Request body for creating a transformation.
|
|
329
344
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
330
345
|
*/
|
|
@@ -525,6 +540,11 @@ function createIngestionClient({
|
|
|
525
540
|
},
|
|
526
541
|
/**
|
|
527
542
|
* Deletes a task by its ID.
|
|
543
|
+
*
|
|
544
|
+
* Required API Key ACLs:
|
|
545
|
+
* - addObject
|
|
546
|
+
* - deleteIndex
|
|
547
|
+
* - editSettings
|
|
528
548
|
* @param deleteTask - The deleteTask object.
|
|
529
549
|
* @param deleteTask.taskID - Unique identifier of a task.
|
|
530
550
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -547,6 +567,11 @@ function createIngestionClient({
|
|
|
547
567
|
/**
|
|
548
568
|
* Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
|
|
549
569
|
*
|
|
570
|
+
* Required API Key ACLs:
|
|
571
|
+
* - addObject
|
|
572
|
+
* - deleteIndex
|
|
573
|
+
* - editSettings
|
|
574
|
+
*
|
|
550
575
|
* @deprecated
|
|
551
576
|
* @param deleteTaskV1 - The deleteTaskV1 object.
|
|
552
577
|
* @param deleteTaskV1.taskID - Unique identifier of a task.
|
|
@@ -569,6 +594,11 @@ function createIngestionClient({
|
|
|
569
594
|
},
|
|
570
595
|
/**
|
|
571
596
|
* Deletes a transformation by its ID.
|
|
597
|
+
*
|
|
598
|
+
* Required API Key ACLs:
|
|
599
|
+
* - addObject
|
|
600
|
+
* - deleteIndex
|
|
601
|
+
* - editSettings
|
|
572
602
|
* @param deleteTransformation - The deleteTransformation object.
|
|
573
603
|
* @param deleteTransformation.transformationID - Unique identifier of a transformation.
|
|
574
604
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -1464,6 +1494,11 @@ function createIngestionClient({
|
|
|
1464
1494
|
},
|
|
1465
1495
|
/**
|
|
1466
1496
|
* Fully updates a task by its ID, use partialUpdateTask if you only want to update a subset of fields.
|
|
1497
|
+
*
|
|
1498
|
+
* Required API Key ACLs:
|
|
1499
|
+
* - addObject
|
|
1500
|
+
* - deleteIndex
|
|
1501
|
+
* - editSettings
|
|
1467
1502
|
* @param replaceTask - The replaceTask object.
|
|
1468
1503
|
* @param replaceTask.taskID - Unique identifier of a task.
|
|
1469
1504
|
* @param replaceTask.taskReplace - The taskReplace object.
|
|
@@ -1963,6 +1998,11 @@ function createIngestionClient({
|
|
|
1963
1998
|
},
|
|
1964
1999
|
/**
|
|
1965
2000
|
* Partially updates a task by its ID.
|
|
2001
|
+
*
|
|
2002
|
+
* Required API Key ACLs:
|
|
2003
|
+
* - addObject
|
|
2004
|
+
* - deleteIndex
|
|
2005
|
+
* - editSettings
|
|
1966
2006
|
* @param updateTask - The updateTask object.
|
|
1967
2007
|
* @param updateTask.taskID - Unique identifier of a task.
|
|
1968
2008
|
* @param updateTask.taskUpdate - The taskUpdate object.
|
|
@@ -1990,6 +2030,11 @@ function createIngestionClient({
|
|
|
1990
2030
|
/**
|
|
1991
2031
|
* Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
|
|
1992
2032
|
*
|
|
2033
|
+
* Required API Key ACLs:
|
|
2034
|
+
* - addObject
|
|
2035
|
+
* - deleteIndex
|
|
2036
|
+
* - editSettings
|
|
2037
|
+
*
|
|
1993
2038
|
* @deprecated
|
|
1994
2039
|
* @param updateTaskV1 - The updateTaskV1 object.
|
|
1995
2040
|
* @param updateTaskV1.taskID - Unique identifier of a task.
|
|
@@ -2017,6 +2062,11 @@ function createIngestionClient({
|
|
|
2017
2062
|
},
|
|
2018
2063
|
/**
|
|
2019
2064
|
* Updates a transformation by its ID.
|
|
2065
|
+
*
|
|
2066
|
+
* Required API Key ACLs:
|
|
2067
|
+
* - addObject
|
|
2068
|
+
* - deleteIndex
|
|
2069
|
+
* - editSettings
|
|
2020
2070
|
* @param updateTransformation - The updateTransformation object.
|
|
2021
2071
|
* @param updateTransformation.transformationID - Unique identifier of a transformation.
|
|
2022
2072
|
* @param updateTransformation.transformationCreate - The transformationCreate object.
|