@algolia/ingestion 1.22.0 → 1.23.1
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 +27 -1
- package/dist/builds/browser.js +19 -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 +19 -1
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +19 -1
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +19 -1
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +19 -1
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +27 -1
- package/dist/node.d.cts +27 -1
- package/dist/node.d.ts +27 -1
- package/dist/src/ingestionClient.cjs +19 -1
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +19 -1
- package/dist/src/ingestionClient.js.map +1 -1
- package/dist/worker.d.ts +27 -1
- package/package.json +7 -7
package/dist/builds/node.cjs
CHANGED
|
@@ -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.
|
|
35
|
+
var apiClientVersion = "1.23.1";
|
|
36
36
|
var REGIONS = ["eu", "us"];
|
|
37
37
|
function getDefaultHosts(region) {
|
|
38
38
|
const url = "data.{region}.algolia.com".replace("{region}", region);
|
|
@@ -252,6 +252,8 @@ function createIngestionClient({
|
|
|
252
252
|
},
|
|
253
253
|
/**
|
|
254
254
|
* Creates a new task using the v1 endpoint, please use `createTask` instead.
|
|
255
|
+
*
|
|
256
|
+
* @deprecated
|
|
255
257
|
* @param taskCreate - Request body for creating a task.
|
|
256
258
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
257
259
|
*/
|
|
@@ -509,6 +511,8 @@ function createIngestionClient({
|
|
|
509
511
|
},
|
|
510
512
|
/**
|
|
511
513
|
* Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
|
|
514
|
+
*
|
|
515
|
+
* @deprecated
|
|
512
516
|
* @param deleteTaskV1 - The deleteTaskV1 object.
|
|
513
517
|
* @param deleteTaskV1.taskID - Unique identifier of a task.
|
|
514
518
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -585,6 +589,8 @@ function createIngestionClient({
|
|
|
585
589
|
* - addObject
|
|
586
590
|
* - deleteIndex
|
|
587
591
|
* - editSettings
|
|
592
|
+
*
|
|
593
|
+
* @deprecated
|
|
588
594
|
* @param disableTaskV1 - The disableTaskV1 object.
|
|
589
595
|
* @param disableTaskV1.taskID - Unique identifier of a task.
|
|
590
596
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -637,6 +643,8 @@ function createIngestionClient({
|
|
|
637
643
|
* - addObject
|
|
638
644
|
* - deleteIndex
|
|
639
645
|
* - editSettings
|
|
646
|
+
*
|
|
647
|
+
* @deprecated
|
|
640
648
|
* @param enableTaskV1 - The enableTaskV1 object.
|
|
641
649
|
* @param enableTaskV1.taskID - Unique identifier of a task.
|
|
642
650
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -829,6 +837,8 @@ function createIngestionClient({
|
|
|
829
837
|
* - addObject
|
|
830
838
|
* - deleteIndex
|
|
831
839
|
* - editSettings
|
|
840
|
+
*
|
|
841
|
+
* @deprecated
|
|
832
842
|
* @param getTaskV1 - The getTaskV1 object.
|
|
833
843
|
* @param getTaskV1.taskID - Unique identifier of a task.
|
|
834
844
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -1220,6 +1230,8 @@ function createIngestionClient({
|
|
|
1220
1230
|
* - addObject
|
|
1221
1231
|
* - deleteIndex
|
|
1222
1232
|
* - editSettings
|
|
1233
|
+
*
|
|
1234
|
+
* @deprecated
|
|
1223
1235
|
* @param listTasksV1 - The listTasksV1 object.
|
|
1224
1236
|
* @param listTasksV1.itemsPerPage - Number of items per page.
|
|
1225
1237
|
* @param listTasksV1.page - Page number of the paginated API response.
|
|
@@ -1419,6 +1431,8 @@ function createIngestionClient({
|
|
|
1419
1431
|
* - addObject
|
|
1420
1432
|
* - deleteIndex
|
|
1421
1433
|
* - editSettings
|
|
1434
|
+
*
|
|
1435
|
+
* @deprecated
|
|
1422
1436
|
* @param runTaskV1 - The runTaskV1 object.
|
|
1423
1437
|
* @param runTaskV1.taskID - Unique identifier of a task.
|
|
1424
1438
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -1563,6 +1577,8 @@ function createIngestionClient({
|
|
|
1563
1577
|
* - addObject
|
|
1564
1578
|
* - deleteIndex
|
|
1565
1579
|
* - editSettings
|
|
1580
|
+
*
|
|
1581
|
+
* @deprecated
|
|
1566
1582
|
* @param taskSearch - The taskSearch object.
|
|
1567
1583
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1568
1584
|
*/
|
|
@@ -1851,6 +1867,8 @@ function createIngestionClient({
|
|
|
1851
1867
|
},
|
|
1852
1868
|
/**
|
|
1853
1869
|
* Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
|
|
1870
|
+
*
|
|
1871
|
+
* @deprecated
|
|
1854
1872
|
* @param updateTaskV1 - The updateTaskV1 object.
|
|
1855
1873
|
* @param updateTaskV1.taskID - Unique identifier of a task.
|
|
1856
1874
|
* @param updateTaskV1.taskUpdate - The taskUpdate object.
|