@algolia/ingestion 1.59.0 → 1.60.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/README.md CHANGED
@@ -40,11 +40,11 @@ All of our clients comes with type definition, and are available for both browse
40
40
  ### With a package manager
41
41
 
42
42
  ```bash
43
- yarn add @algolia/ingestion@1.59.0
43
+ yarn add @algolia/ingestion@1.60.0
44
44
  # or
45
- npm install @algolia/ingestion@1.59.0
45
+ npm install @algolia/ingestion@1.60.0
46
46
  # or
47
- pnpm add @algolia/ingestion@1.59.0
47
+ pnpm add @algolia/ingestion@1.60.0
48
48
  ```
49
49
 
50
50
  ### Without a package manager
@@ -52,7 +52,7 @@ pnpm add @algolia/ingestion@1.59.0
52
52
  Add the following JavaScript snippet to the <head> of your website:
53
53
 
54
54
  ```html
55
- <script src="https://cdn.jsdelivr.net/npm/@algolia/ingestion@1.59.0/dist/builds/browser.umd.js"></script>
55
+ <script src="https://cdn.jsdelivr.net/npm/@algolia/ingestion@1.60.0/dist/builds/browser.umd.js"></script>
56
56
  ```
57
57
 
58
58
  ### Usage
package/dist/browser.d.ts CHANGED
@@ -1528,7 +1528,7 @@ type WatchResponse = {
1528
1528
  };
1529
1529
 
1530
1530
  /**
1531
- * 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\".
1531
+ * 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 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\".
1532
1532
  */
1533
1533
  type Action = 'addObject' | 'updateObject' | 'partialUpdateObject' | 'partialUpdateObjectNoCreate' | 'deleteObject' | 'delete' | 'clear';
1534
1534
 
@@ -1692,6 +1692,10 @@ type SourceUpdateCommercetools = {
1692
1692
  * When set to true, the connector indexes objects with all images attributes instead of only the URLs.
1693
1693
  */
1694
1694
  useImagesObjects?: boolean | undefined;
1695
+ /**
1696
+ * When set to true, the connector uses the complete category path (e.g. \"Root > Level 1 > Category name\") in `categoriesCustomFields`.
1697
+ */
1698
+ categoriesCustomFieldsFullPath?: boolean | undefined;
1695
1699
  customFields?: CommercetoolsCustomFields | undefined;
1696
1700
  };
1697
1701
 
@@ -2540,7 +2544,7 @@ type ChunkedPushOptions = ChunkedHelperOptions & {
2540
2544
  objects: Array<Record<string, unknown>>;
2541
2545
  };
2542
2546
 
2543
- declare const apiClientVersion = "1.59.0";
2547
+ declare const apiClientVersion = "1.60.0";
2544
2548
  declare const REGIONS: readonly ["eu", "us"];
2545
2549
  type Region = (typeof REGIONS)[number];
2546
2550
  type RegionOptions = {
@@ -15,7 +15,7 @@ import {
15
15
  getAlgoliaAgent,
16
16
  validateRequired
17
17
  } from "@algolia/client-common";
18
- var apiClientVersion = "1.59.0";
18
+ var apiClientVersion = "1.60.0";
19
19
  var REGIONS = ["eu", "us"];
20
20
  function getDefaultHosts(region) {
21
21
  const url = "data.{region}.algolia.com".replace("{region}", region);