@algolia/ingestion 1.48.0 → 1.48.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.
- package/README.md +4 -4
- package/dist/browser.d.ts +54 -54
- package/dist/builds/browser.js +12 -12
- 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 +12 -12
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +12 -12
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +12 -12
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +12 -12
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +54 -54
- package/dist/node.d.cts +54 -54
- package/dist/node.d.ts +54 -54
- package/dist/src/ingestionClient.cjs +12 -12
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +12 -12
- package/dist/src/ingestionClient.js.map +1 -1
- package/dist/worker.d.ts +54 -54
- package/package.json +6 -6
package/dist/builds/node.cjs
CHANGED
|
@@ -32,7 +32,7 @@ var import_requester_node_http = require("@algolia/requester-node-http");
|
|
|
32
32
|
|
|
33
33
|
// src/ingestionClient.ts
|
|
34
34
|
var import_client_common = require("@algolia/client-common");
|
|
35
|
-
var apiClientVersion = "1.48.
|
|
35
|
+
var apiClientVersion = "1.48.2";
|
|
36
36
|
var REGIONS = ["eu", "us"];
|
|
37
37
|
function getDefaultHosts(region) {
|
|
38
38
|
const url = "data.{region}.algolia.com".replace("{region}", region);
|
|
@@ -322,7 +322,7 @@ function createIngestionClient({
|
|
|
322
322
|
return transporter.request(request, requestOptions);
|
|
323
323
|
},
|
|
324
324
|
/**
|
|
325
|
-
* Creates a new task using the v1 endpoint
|
|
325
|
+
* Creates a new task using the v1 endpoint. Use `createTask` instead.
|
|
326
326
|
*
|
|
327
327
|
* Required API Key ACLs:
|
|
328
328
|
* - addObject
|
|
@@ -593,7 +593,7 @@ function createIngestionClient({
|
|
|
593
593
|
return transporter.request(request, requestOptions);
|
|
594
594
|
},
|
|
595
595
|
/**
|
|
596
|
-
* Deletes a task by its ID using the v1 endpoint
|
|
596
|
+
* Deletes a task by its ID using the v1 endpoint. Use `deleteTask` instead.
|
|
597
597
|
*
|
|
598
598
|
* Required API Key ACLs:
|
|
599
599
|
* - addObject
|
|
@@ -676,7 +676,7 @@ function createIngestionClient({
|
|
|
676
676
|
return transporter.request(request, requestOptions);
|
|
677
677
|
},
|
|
678
678
|
/**
|
|
679
|
-
* Disables a task using the v1 endpoint
|
|
679
|
+
* Disables a task using the v1 endpoint. Use `disableTask` instead.
|
|
680
680
|
*
|
|
681
681
|
* Required API Key ACLs:
|
|
682
682
|
* - addObject
|
|
@@ -730,7 +730,7 @@ function createIngestionClient({
|
|
|
730
730
|
return transporter.request(request, requestOptions);
|
|
731
731
|
},
|
|
732
732
|
/**
|
|
733
|
-
* Enables a task using the v1 endpoint
|
|
733
|
+
* Enables a task using the v1 endpoint. Use `enableTask` instead.
|
|
734
734
|
*
|
|
735
735
|
* Required API Key ACLs:
|
|
736
736
|
* - addObject
|
|
@@ -924,7 +924,7 @@ function createIngestionClient({
|
|
|
924
924
|
return transporter.request(request, requestOptions);
|
|
925
925
|
},
|
|
926
926
|
/**
|
|
927
|
-
* Retrieves a task by its ID using the v1 endpoint
|
|
927
|
+
* Retrieves a task by its ID using the v1 endpoint. Use `getTask` instead.
|
|
928
928
|
*
|
|
929
929
|
* Required API Key ACLs:
|
|
930
930
|
* - addObject
|
|
@@ -1149,8 +1149,8 @@ function createIngestionClient({
|
|
|
1149
1149
|
* @param listRuns.taskID - Task ID for filtering the list of task runs.
|
|
1150
1150
|
* @param listRuns.sort - Property by which to sort the list of task runs.
|
|
1151
1151
|
* @param listRuns.order - Sort order of the response, ascending or descending.
|
|
1152
|
-
* @param listRuns.startDate - Date
|
|
1153
|
-
* @param listRuns.endDate - Date
|
|
1152
|
+
* @param listRuns.startDate - Date and time for the earliest run to retrieve, in RFC 3339 format. By default, the current day minus seven days is used.
|
|
1153
|
+
* @param listRuns.endDate - Date and time for the latest run to retrieve, in RFC 3339 format. By default, the current day is used.
|
|
1154
1154
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1155
1155
|
*/
|
|
1156
1156
|
listRuns({ itemsPerPage, page, status, type, taskID, sort, order, startDate, endDate } = {}, requestOptions = void 0) {
|
|
@@ -1317,7 +1317,7 @@ function createIngestionClient({
|
|
|
1317
1317
|
return transporter.request(request, requestOptions);
|
|
1318
1318
|
},
|
|
1319
1319
|
/**
|
|
1320
|
-
* Retrieves a list of tasks using the v1 endpoint
|
|
1320
|
+
* Retrieves a list of tasks using the v1 endpoint. Use `getTasks` instead.
|
|
1321
1321
|
*
|
|
1322
1322
|
* Required API Key ACLs:
|
|
1323
1323
|
* - addObject
|
|
@@ -1614,7 +1614,7 @@ function createIngestionClient({
|
|
|
1614
1614
|
return transporter.request(request, requestOptions);
|
|
1615
1615
|
},
|
|
1616
1616
|
/**
|
|
1617
|
-
* Runs a task using the v1 endpoint
|
|
1617
|
+
* Runs a task using the v1 endpoint. Use `runTask` instead. You can check the status of task runs with the observability endpoints.
|
|
1618
1618
|
*
|
|
1619
1619
|
* Required API Key ACLs:
|
|
1620
1620
|
* - addObject
|
|
@@ -1762,7 +1762,7 @@ function createIngestionClient({
|
|
|
1762
1762
|
return transporter.request(request, requestOptions);
|
|
1763
1763
|
},
|
|
1764
1764
|
/**
|
|
1765
|
-
* Searches for tasks using the v1 endpoint
|
|
1765
|
+
* Searches for tasks using the v1 endpoint. Use `searchTasks` instead.
|
|
1766
1766
|
*
|
|
1767
1767
|
* Required API Key ACLs:
|
|
1768
1768
|
* - addObject
|
|
@@ -2056,7 +2056,7 @@ function createIngestionClient({
|
|
|
2056
2056
|
return transporter.request(request, requestOptions);
|
|
2057
2057
|
},
|
|
2058
2058
|
/**
|
|
2059
|
-
* Updates a task by its ID using the v1 endpoint
|
|
2059
|
+
* Updates a task by its ID using the v1 endpoint. Use `updateTask` instead.
|
|
2060
2060
|
*
|
|
2061
2061
|
* Required API Key ACLs:
|
|
2062
2062
|
* - addObject
|