@pushwoosh/rpc-gateway-ai-assistant 0.1.267 → 0.1.269

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
@@ -950,6 +950,22 @@ export const data = {
950
950
  "mobileWidth": {
951
951
  "type": "string",
952
952
  "optional": true
953
+ },
954
+ "imageSize": {
955
+ "type": "pushwoosh.aibuilder.v1.CardImageSize",
956
+ "optional": true
957
+ },
958
+ "imageFit": {
959
+ "type": "pushwoosh.aibuilder.v1.CardImageFit",
960
+ "optional": true
961
+ },
962
+ "imagePosition": {
963
+ "type": "pushwoosh.aibuilder.v1.CardImagePosition",
964
+ "optional": true
965
+ },
966
+ "imageRatio": {
967
+ "type": "number",
968
+ "optional": true
953
969
  }
954
970
  }
955
971
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.267",
3
+ "version": "0.1.269",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -846,6 +846,15 @@ export type Image = {
846
846
  * anything else is ignored rather than written into a rule. Client-managed.
847
847
  */
848
848
  mobileWidth?: string;
849
+ /**
850
+ * Content-item geometry, same contract as AiBuilderColumn's slot; unset size
851
+ * = the item's own width. Ignored in a slot, whose container owns it.
852
+ */
853
+ imageSize?: CardImageSize;
854
+ imageFit?: CardImageFit;
855
+ imagePosition?: CardImagePosition;
856
+ /** Crop box: image height as a percentage of the rendered width. Unset = natural. */
857
+ imageRatio?: number;
849
858
  };
850
859
  export type AiBuilderCard = {
851
860
  layout: CardLayout;