@algolia/ingestion 1.23.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 +19 -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 +19 -1
- package/dist/node.d.cts +19 -1
- package/dist/node.d.ts +19 -1
- package/dist/src/ingestionClient.cjs +19 -1
- package/dist/src/ingestionClient.cjs.map +1 -1
- package/dist/src/ingestionClient.js +23 -5
- package/dist/src/ingestionClient.js.map +1 -1
- package/dist/worker.d.ts +19 -1
- package/package.json +7 -7
package/dist/worker.d.ts
CHANGED
|
@@ -2309,7 +2309,7 @@ type ValidateSourceBeforeUpdateProps = {
|
|
|
2309
2309
|
sourceUpdate: SourceUpdate;
|
|
2310
2310
|
};
|
|
2311
2311
|
|
|
2312
|
-
declare const apiClientVersion = "1.23.
|
|
2312
|
+
declare const apiClientVersion = "1.23.1";
|
|
2313
2313
|
declare const REGIONS: readonly ["eu", "us"];
|
|
2314
2314
|
type Region = (typeof REGIONS)[number];
|
|
2315
2315
|
type RegionOptions = {
|
|
@@ -2411,6 +2411,8 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2411
2411
|
createTask(taskCreate: TaskCreate, requestOptions?: RequestOptions): Promise<TaskCreateResponse>;
|
|
2412
2412
|
/**
|
|
2413
2413
|
* Creates a new task using the v1 endpoint, please use `createTask` instead.
|
|
2414
|
+
*
|
|
2415
|
+
* @deprecated
|
|
2414
2416
|
* @param taskCreate - Request body for creating a task.
|
|
2415
2417
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2416
2418
|
*/
|
|
@@ -2500,6 +2502,8 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2500
2502
|
deleteTask({ taskID }: DeleteTaskProps, requestOptions?: RequestOptions): Promise<DeleteResponse>;
|
|
2501
2503
|
/**
|
|
2502
2504
|
* Deletes a task by its ID using the v1 endpoint, please use `deleteTask` instead.
|
|
2505
|
+
*
|
|
2506
|
+
* @deprecated
|
|
2503
2507
|
* @param deleteTaskV1 - The deleteTaskV1 object.
|
|
2504
2508
|
* @param deleteTaskV1.taskID - Unique identifier of a task.
|
|
2505
2509
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -2531,6 +2535,8 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2531
2535
|
* - addObject
|
|
2532
2536
|
* - deleteIndex
|
|
2533
2537
|
* - editSettings
|
|
2538
|
+
*
|
|
2539
|
+
* @deprecated
|
|
2534
2540
|
* @param disableTaskV1 - The disableTaskV1 object.
|
|
2535
2541
|
* @param disableTaskV1.taskID - Unique identifier of a task.
|
|
2536
2542
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -2555,6 +2561,8 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2555
2561
|
* - addObject
|
|
2556
2562
|
* - deleteIndex
|
|
2557
2563
|
* - editSettings
|
|
2564
|
+
*
|
|
2565
|
+
* @deprecated
|
|
2558
2566
|
* @param enableTaskV1 - The enableTaskV1 object.
|
|
2559
2567
|
* @param enableTaskV1.taskID - Unique identifier of a task.
|
|
2560
2568
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -2640,6 +2648,8 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2640
2648
|
* - addObject
|
|
2641
2649
|
* - deleteIndex
|
|
2642
2650
|
* - editSettings
|
|
2651
|
+
*
|
|
2652
|
+
* @deprecated
|
|
2643
2653
|
* @param getTaskV1 - The getTaskV1 object.
|
|
2644
2654
|
* @param getTaskV1.taskID - Unique identifier of a task.
|
|
2645
2655
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -2778,6 +2788,8 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2778
2788
|
* - addObject
|
|
2779
2789
|
* - deleteIndex
|
|
2780
2790
|
* - editSettings
|
|
2791
|
+
*
|
|
2792
|
+
* @deprecated
|
|
2781
2793
|
* @param listTasksV1 - The listTasksV1 object.
|
|
2782
2794
|
* @param listTasksV1.itemsPerPage - Number of items per page.
|
|
2783
2795
|
* @param listTasksV1.page - Page number of the paginated API response.
|
|
@@ -2852,6 +2864,8 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2852
2864
|
* - addObject
|
|
2853
2865
|
* - deleteIndex
|
|
2854
2866
|
* - editSettings
|
|
2867
|
+
*
|
|
2868
|
+
* @deprecated
|
|
2855
2869
|
* @param runTaskV1 - The runTaskV1 object.
|
|
2856
2870
|
* @param runTaskV1.taskID - Unique identifier of a task.
|
|
2857
2871
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
@@ -2908,6 +2922,8 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
2908
2922
|
* - addObject
|
|
2909
2923
|
* - deleteIndex
|
|
2910
2924
|
* - editSettings
|
|
2925
|
+
*
|
|
2926
|
+
* @deprecated
|
|
2911
2927
|
* @param taskSearch - The taskSearch object.
|
|
2912
2928
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
2913
2929
|
*/
|
|
@@ -3008,6 +3024,8 @@ declare function createIngestionClient({ appId: appIdOption, apiKey: apiKeyOptio
|
|
|
3008
3024
|
updateTask({ taskID, taskUpdate }: UpdateTaskProps, requestOptions?: RequestOptions): Promise<TaskUpdateResponse>;
|
|
3009
3025
|
/**
|
|
3010
3026
|
* Updates a task by its ID using the v1 endpoint, please use `updateTask` instead.
|
|
3027
|
+
*
|
|
3028
|
+
* @deprecated
|
|
3011
3029
|
* @param updateTaskV1 - The updateTaskV1 object.
|
|
3012
3030
|
* @param updateTaskV1.taskID - Unique identifier of a task.
|
|
3013
3031
|
* @param updateTaskV1.taskUpdate - The taskUpdate object.
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.23.
|
|
2
|
+
"version": "1.23.1",
|
|
3
3
|
"repository": {
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
|
|
@@ -49,18 +49,18 @@
|
|
|
49
49
|
"index.d.ts"
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@algolia/client-common": "5.23.
|
|
53
|
-
"@algolia/requester-browser-xhr": "5.23.
|
|
54
|
-
"@algolia/requester-fetch": "5.23.
|
|
55
|
-
"@algolia/requester-node-http": "5.23.
|
|
52
|
+
"@algolia/client-common": "5.23.1",
|
|
53
|
+
"@algolia/requester-browser-xhr": "5.23.1",
|
|
54
|
+
"@algolia/requester-fetch": "5.23.1",
|
|
55
|
+
"@algolia/requester-node-http": "5.23.1"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@arethetypeswrong/cli": "0.17.4",
|
|
59
|
-
"@types/node": "22.13.
|
|
59
|
+
"@types/node": "22.13.14",
|
|
60
60
|
"publint": "0.3.9",
|
|
61
61
|
"rollup": "4.36.0",
|
|
62
62
|
"tsup": "8.4.0",
|
|
63
|
-
"typescript": "5.
|
|
63
|
+
"typescript": "5.8.2"
|
|
64
64
|
},
|
|
65
65
|
"engines": {
|
|
66
66
|
"node": ">= 14.0.0"
|