@algolia/ingestion 1.23.0 → 1.23.2

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.
@@ -4,7 +4,7 @@ import { createMemoryCache, createNullCache, createNullLogger } from "@algolia/c
4
4
 
5
5
  // src/ingestionClient.ts
6
6
  import { createAuth, createTransporter, getAlgoliaAgent } from "@algolia/client-common";
7
- var apiClientVersion = "1.23.0";
7
+ var apiClientVersion = "1.23.2";
8
8
  var REGIONS = ["eu", "us"];
9
9
  function getDefaultHosts(region) {
10
10
  const url = "data.{region}.algolia.com".replace("{region}", region);
@@ -224,6 +224,8 @@ function createIngestionClient({
224
224
  },
225
225
  /**
226
226
  * Creates a new task using the v1 endpoint, please use `createTask` instead.
227
+ *
228
+ * @deprecated
227
229
  * @param taskCreate - Request body for creating a task.
228
230
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
229
231
  */
@@ -481,6 +483,8 @@ function createIngestionClient({
481
483
  },
482
484
  /**
483
485
  * Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
486
+ *
487
+ * @deprecated
484
488
  * @param deleteTaskV1 - The deleteTaskV1 object.
485
489
  * @param deleteTaskV1.taskID - Unique identifier of a task.
486
490
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -557,6 +561,8 @@ function createIngestionClient({
557
561
  * - addObject
558
562
  * - deleteIndex
559
563
  * - editSettings
564
+ *
565
+ * @deprecated
560
566
  * @param disableTaskV1 - The disableTaskV1 object.
561
567
  * @param disableTaskV1.taskID - Unique identifier of a task.
562
568
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -609,6 +615,8 @@ function createIngestionClient({
609
615
  * - addObject
610
616
  * - deleteIndex
611
617
  * - editSettings
618
+ *
619
+ * @deprecated
612
620
  * @param enableTaskV1 - The enableTaskV1 object.
613
621
  * @param enableTaskV1.taskID - Unique identifier of a task.
614
622
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -801,6 +809,8 @@ function createIngestionClient({
801
809
  * - addObject
802
810
  * - deleteIndex
803
811
  * - editSettings
812
+ *
813
+ * @deprecated
804
814
  * @param getTaskV1 - The getTaskV1 object.
805
815
  * @param getTaskV1.taskID - Unique identifier of a task.
806
816
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -1192,6 +1202,8 @@ function createIngestionClient({
1192
1202
  * - addObject
1193
1203
  * - deleteIndex
1194
1204
  * - editSettings
1205
+ *
1206
+ * @deprecated
1195
1207
  * @param listTasksV1 - The listTasksV1 object.
1196
1208
  * @param listTasksV1.itemsPerPage - Number of items per page.
1197
1209
  * @param listTasksV1.page - Page number of the paginated API response.
@@ -1391,6 +1403,8 @@ function createIngestionClient({
1391
1403
  * - addObject
1392
1404
  * - deleteIndex
1393
1405
  * - editSettings
1406
+ *
1407
+ * @deprecated
1394
1408
  * @param runTaskV1 - The runTaskV1 object.
1395
1409
  * @param runTaskV1.taskID - Unique identifier of a task.
1396
1410
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
@@ -1535,6 +1549,8 @@ function createIngestionClient({
1535
1549
  * - addObject
1536
1550
  * - deleteIndex
1537
1551
  * - editSettings
1552
+ *
1553
+ * @deprecated
1538
1554
  * @param taskSearch - The taskSearch object.
1539
1555
  * @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
1540
1556
  */
@@ -1823,6 +1839,8 @@ function createIngestionClient({
1823
1839
  },
1824
1840
  /**
1825
1841
  * Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
1842
+ *
1843
+ * @deprecated
1826
1844
  * @param updateTaskV1 - The updateTaskV1 object.
1827
1845
  * @param updateTaskV1.taskID - Unique identifier of a task.
1828
1846
  * @param updateTaskV1.taskUpdate - The taskUpdate object.