@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.
@@ -32,7 +32,7 @@ var import_client_common2 = require("@algolia/client-common");
32
32
 
33
33
  // src/ingestionClient.ts
34
34
  var import_client_common = require("@algolia/client-common");
35
- var apiClientVersion = "1.41.0";
35
+ var apiClientVersion = "1.43.0";
36
36
  var REGIONS = ["eu", "us"];
37
37
  function getDefaultHosts(region) {
38
38
  const url = "data.{region}.algolia.com".replace("{region}", region);
@@ -288,6 +288,11 @@ function createIngestionClient({
288
288
  },
289
289
  /**
290
290
  * Creates a new task.
291
+ *
292
+ * Required API Key ACLs:
293
+ * - addObject
294
+ * - deleteIndex
295
+ * - editSettings
291
296
  * @param taskCreate - Request body for creating a task.
292
297
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
293
298
  */
@@ -319,6 +324,11 @@ function createIngestionClient({
319
324
  /**
320
325
  * Creates a new task using the v1 endpoint, please use `createTask` instead.
321
326
  *
327
+ * Required API Key ACLs:
328
+ * - addObject
329
+ * - deleteIndex
330
+ * - editSettings
331
+ *
322
332
  * @deprecated
323
333
  * @param taskCreate - Request body for creating a task.
324
334
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -353,6 +363,11 @@ function createIngestionClient({
353
363
  },
354
364
  /**
355
365
  * Creates a new transformation.
366
+ *
367
+ * Required API Key ACLs:
368
+ * - addObject
369
+ * - deleteIndex
370
+ * - editSettings
356
371
  * @param transformationCreate - Request body for creating a transformation.
357
372
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
358
373
  */
@@ -553,6 +568,11 @@ function createIngestionClient({
553
568
  },
554
569
  /**
555
570
  * Deletes a task by its ID.
571
+ *
572
+ * Required API Key ACLs:
573
+ * - addObject
574
+ * - deleteIndex
575
+ * - editSettings
556
576
  * @param deleteTask - The deleteTask object.
557
577
  * @param deleteTask.taskID - Unique identifier of a task.
558
578
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -575,6 +595,11 @@ function createIngestionClient({
575
595
  /**
576
596
  * Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
577
597
  *
598
+ * Required API Key ACLs:
599
+ * - addObject
600
+ * - deleteIndex
601
+ * - editSettings
602
+ *
578
603
  * @deprecated
579
604
  * @param deleteTaskV1 - The deleteTaskV1 object.
580
605
  * @param deleteTaskV1.taskID - Unique identifier of a task.
@@ -597,6 +622,11 @@ function createIngestionClient({
597
622
  },
598
623
  /**
599
624
  * Deletes a transformation by its ID.
625
+ *
626
+ * Required API Key ACLs:
627
+ * - addObject
628
+ * - deleteIndex
629
+ * - editSettings
600
630
  * @param deleteTransformation - The deleteTransformation object.
601
631
  * @param deleteTransformation.transformationID - Unique identifier of a transformation.
602
632
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -1492,6 +1522,11 @@ function createIngestionClient({
1492
1522
  },
1493
1523
  /**
1494
1524
  * Fully updates a task by its ID, use partialUpdateTask if you only want to update a subset of fields.
1525
+ *
1526
+ * Required API Key ACLs:
1527
+ * - addObject
1528
+ * - deleteIndex
1529
+ * - editSettings
1495
1530
  * @param replaceTask - The replaceTask object.
1496
1531
  * @param replaceTask.taskID - Unique identifier of a task.
1497
1532
  * @param replaceTask.taskReplace - The taskReplace object.
@@ -1991,6 +2026,11 @@ function createIngestionClient({
1991
2026
  },
1992
2027
  /**
1993
2028
  * Partially updates a task by its ID.
2029
+ *
2030
+ * Required API Key ACLs:
2031
+ * - addObject
2032
+ * - deleteIndex
2033
+ * - editSettings
1994
2034
  * @param updateTask - The updateTask object.
1995
2035
  * @param updateTask.taskID - Unique identifier of a task.
1996
2036
  * @param updateTask.taskUpdate - The taskUpdate object.
@@ -2018,6 +2058,11 @@ function createIngestionClient({
2018
2058
  /**
2019
2059
  * Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
2020
2060
  *
2061
+ * Required API Key ACLs:
2062
+ * - addObject
2063
+ * - deleteIndex
2064
+ * - editSettings
2065
+ *
2021
2066
  * @deprecated
2022
2067
  * @param updateTaskV1 - The updateTaskV1 object.
2023
2068
  * @param updateTaskV1.taskID - Unique identifier of a task.
@@ -2045,6 +2090,11 @@ function createIngestionClient({
2045
2090
  },
2046
2091
  /**
2047
2092
  * Updates a transformation by its ID.
2093
+ *
2094
+ * Required API Key ACLs:
2095
+ * - addObject
2096
+ * - deleteIndex
2097
+ * - editSettings
2048
2098
  * @param updateTransformation - The updateTransformation object.
2049
2099
  * @param updateTransformation.transformationID - Unique identifier of a transformation.
2050
2100
  * @param updateTransformation.transformationCreate - The transformationCreate object.