@algolia/ingestion 1.34.1 → 1.36.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.
package/dist/worker.d.ts CHANGED
@@ -1478,7 +1478,7 @@ type WatchResponse = {
1478
1478
  };
1479
1479
 
1480
1480
  /**
1481
- * Type of indexing operation.
1481
+ * Which indexing operation to perform: - `addObject`: adds records to an index. Equivalent to the \"Add a new record (with auto-generated object ID)\" operation. - `updateObject`: adds or replaces records in an index. Equivalent to the \"Add or replace a record\" operation. - `partialUpdateObject`: adds or updates attributes within records. Equivalent to the \"Add or update attributes\" operation with the `createIfNoExists` parameter set to true. (If a record with the specified `objectID` doesn\'t exist in the specified index, this action creates adds the record to the index) - `partialUpdateObjectNoCreate`: same as `partialUpdateObject`, but with `createIfNoExists` set to false. (A record isn\'t added to the index if its `objectID` doesn\'t exist) - `deleteObject`: delete records from an index. Equivalent to the \"Delete a record\" operation. - `delete`. Delete an index. Equivalent to the \"Delete an index\" operation. - `clear`: delete all records from an index. Equivalent to the \"Delete all records from an index operation\".
1482
1482
  */
1483
1483
  type Action = 'addObject' | 'updateObject' | 'partialUpdateObject' | 'partialUpdateObjectNoCreate' | 'deleteObject' | 'delete' | 'clear';
1484
1484
 
@@ -2412,7 +2412,7 @@ type ChunkedPushOptions = {
2412
2412
  objects: Array<Record<string, unknown>>;
2413
2413
  };
2414
2414
 
2415
- declare const apiClientVersion = "1.34.1";
2415
+ declare const apiClientVersion = "1.36.0";
2416
2416
  declare const REGIONS: readonly ["eu", "us"];
2417
2417
  type Region = (typeof REGIONS)[number];
2418
2418
  type RegionOptions = {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.34.1",
2
+ "version": "1.36.0",
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.34.1",
53
- "@algolia/requester-browser-xhr": "5.34.1",
54
- "@algolia/requester-fetch": "5.34.1",
55
- "@algolia/requester-node-http": "5.34.1"
52
+ "@algolia/client-common": "5.36.0",
53
+ "@algolia/requester-browser-xhr": "5.36.0",
54
+ "@algolia/requester-fetch": "5.36.0",
55
+ "@algolia/requester-node-http": "5.36.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@arethetypeswrong/cli": "0.18.2",
59
- "@types/node": "22.16.5",
59
+ "@types/node": "22.18.0",
60
60
  "publint": "0.3.12",
61
61
  "rollup": "4.41.0",
62
62
  "tsup": "8.5.0",
63
- "typescript": "5.8.3"
63
+ "typescript": "5.9.2"
64
64
  },
65
65
  "engines": {
66
66
  "node": ">= 14.0.0"