@pushwoosh/rpc-v2-http-api-data 0.2.128 → 0.2.130

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
@@ -2634,6 +2634,10 @@ export const data = {
2634
2634
  "mobilePadding": {
2635
2635
  "type": "pushwoosh.aibuilder.v1.EdgeInsets",
2636
2636
  "optional": true
2637
+ },
2638
+ "backgroundGradient": {
2639
+ "type": "pushwoosh.aibuilder.v1.BackgroundGradient",
2640
+ "optional": true
2637
2641
  }
2638
2642
  }
2639
2643
  },
@@ -3411,6 +3415,12 @@ export const data = {
3411
3415
  },
3412
3416
  "limit": {
3413
3417
  "type": "number"
3418
+ },
3419
+ "strategy": {
3420
+ "type": "string"
3421
+ },
3422
+ "anchorTag": {
3423
+ "type": "string"
3414
3424
  }
3415
3425
  }
3416
3426
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.128",
3
+ "version": "0.2.130",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -500,6 +500,11 @@ export type ButtonStyles = {
500
500
  mobileWidthPercent?: number;
501
501
  /** Mobile (media-query) override of padding. Client-managed; unset = desktop value. */
502
502
  mobilePadding?: EdgeInsets;
503
+ /**
504
+ * Gradient fill over background_color, the flat fallback for clients without
505
+ * gradient support (Outlook's Word engine). Client-managed.
506
+ */
507
+ backgroundGradient?: BackgroundGradient;
503
508
  };
504
509
  export type ButtonGroup = {
505
510
  buttons: Button[];
@@ -1094,6 +1099,16 @@ export type ProductsRule = {
1094
1099
  sort: ProductsRuleSort;
1095
1100
  /** Grid cells emitted, and the feed limit. <= 0 → degrades to MANUAL. */
1096
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;
1097
1112
  };
1098
1113
  /** Abandoned cart of the recipient. Same degradation contract as ProductsRule. */
1099
1114
  export type ProductsCart = {