@pushwoosh/rpc-gateway-ai-assistant 0.1.347 → 0.1.348

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
@@ -1218,6 +1218,18 @@ export const data = {
1218
1218
  "imageRatio": {
1219
1219
  "type": "number",
1220
1220
  "optional": true
1221
+ },
1222
+ "mobileHeight": {
1223
+ "type": "string",
1224
+ "optional": true
1225
+ },
1226
+ "mobileImageFit": {
1227
+ "type": "pushwoosh.aibuilder.v1.CardImageFit",
1228
+ "optional": true
1229
+ },
1230
+ "mobileImageRatio": {
1231
+ "type": "number",
1232
+ "optional": true
1221
1233
  }
1222
1234
  }
1223
1235
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.347",
3
+ "version": "0.1.348",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -860,6 +860,17 @@ export type Image = {
860
860
  imagePosition?: CardImagePosition;
861
861
  /** Crop box: image height as a percentage of the rendered width. Unset = natural. */
862
862
  imageRatio?: number;
863
+ /**
864
+ * Phone-side overrides of the geometry above; unset = inherit the desktop
865
+ * value. Client-managed, same contract as mobile_width.
866
+ */
867
+ mobileHeight?: string;
868
+ mobileImageFit?: CardImageFit;
869
+ /**
870
+ * Honoured only where image_ratio already crops: switching a crop on or off
871
+ * swaps markup, which a media query cannot do.
872
+ */
873
+ mobileImageRatio?: number;
863
874
  };
864
875
  export type AiBuilderCard = {
865
876
  layout: CardLayout;