@pushwoosh/rpc-gateway-ai-assistant 0.1.224 → 0.1.225

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
@@ -764,6 +764,14 @@ export const data = {
764
764
  },
765
765
  "target": {
766
766
  "type": "string"
767
+ },
768
+ "srcTranslations": {
769
+ "type": "string",
770
+ "mapKeyType": "string"
771
+ },
772
+ "altTranslations": {
773
+ "type": "string",
774
+ "mapKeyType": "string"
767
775
  }
768
776
  }
769
777
  },
@@ -1715,6 +1723,9 @@ export const data = {
1715
1723
  },
1716
1724
  "mode": {
1717
1725
  "type": "pushwoosh.aigen.v1.AiGenMode"
1726
+ },
1727
+ "exportedHtml": {
1728
+ "type": "string"
1718
1729
  }
1719
1730
  }
1720
1731
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.224",
3
+ "version": "0.1.225",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -651,6 +651,12 @@ export type Image = {
651
651
  */
652
652
  href: string;
653
653
  target: string;
654
+ /**
655
+ * Per-language overrides of src / alt (localized banners); same
656
+ * client-managed contract as TextBlock.translations.
657
+ */
658
+ srcTranslations: Record<string, string>;
659
+ altTranslations: Record<string, string>;
654
660
  };
655
661
  export type AiBuilderCard = {
656
662
  layout: CardLayout;
@@ -599,6 +599,12 @@ export type AiGenConvertUnlayerRequest = {
599
599
  * EmailSettings are produced. Other modes are rejected.
600
600
  */
601
601
  mode: AiGenMode;
602
+ /**
603
+ * The template's own Unlayer export (EmailContent.Unlayer.html). Only
604
+ * sniffed for the p{margin:0} reset: exports without it render paragraphs
605
+ * with the client-default gap, which conversion must reproduce. Optional.
606
+ */
607
+ exportedHtml: string;
602
608
  };
603
609
  export type AiGenConvertUnlayerResponse = {
604
610
  /**