@pushwoosh/rpc-gateway-ai-assistant 0.1.319 → 0.1.321

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/data.js CHANGED
@@ -1513,6 +1513,12 @@ export const data = {
1513
1513
  },
1514
1514
  "limit": {
1515
1515
  "type": "number"
1516
+ },
1517
+ "strategy": {
1518
+ "type": "string"
1519
+ },
1520
+ "anchorTag": {
1521
+ "type": "string"
1516
1522
  }
1517
1523
  }
1518
1524
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.319",
3
+ "version": "0.1.321",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -1099,6 +1099,16 @@ export type ProductsRule = {
1099
1099
  sort: ProductsRuleSort;
1100
1100
  /** Grid cells emitted, and the feed limit. <= 0 → degrades to MANUAL. */
1101
1101
  limit: number;
1102
+ /**
1103
+ * How the feed RANKS the products, in the feed's own vocabulary (hence not an
1104
+ * enum); `sort` stays the fallback order, and an unknown value degrades to it.
1105
+ */
1106
+ strategy: string;
1107
+ /**
1108
+ * Device tag holding the anchor product id of "also_bought". "" = unset, and a
1109
+ * name unreachable in Liquid is dropped — the block falls back to the rule.
1110
+ */
1111
+ anchorTag: string;
1102
1112
  };
1103
1113
  /** Abandoned cart of the recipient. Same degradation contract as ProductsRule. */
1104
1114
  export type ProductsCart = {