@pushwoosh/rpc-gateway-ai-assistant 0.1.196 → 0.1.197

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
@@ -700,6 +700,12 @@ export const data = {
700
700
  },
701
701
  "align": {
702
702
  "type": "pushwoosh.aibuilder.v1.TextAlign"
703
+ },
704
+ "href": {
705
+ "type": "string"
706
+ },
707
+ "target": {
708
+ "type": "string"
703
709
  }
704
710
  }
705
711
  },
@@ -1007,6 +1013,10 @@ export const data = {
1007
1013
  "preheaderTranslations": {
1008
1014
  "type": "string",
1009
1015
  "mapKeyType": "string"
1016
+ },
1017
+ "showUnsubscribe": {
1018
+ "type": "boolean",
1019
+ "optional": true
1010
1020
  }
1011
1021
  }
1012
1022
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.196",
3
+ "version": "0.1.197",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -571,6 +571,12 @@ export type Image = {
571
571
  * UNSPECIFIED renders as center (Unlayer's image default).
572
572
  */
573
573
  align: TextAlign;
574
+ /**
575
+ * Optional click-through carried by Unlayer image widgets. Empty href =
576
+ * not clickable. Target is normalised to "_self" or "_blank".
577
+ */
578
+ href: string;
579
+ target: string;
574
580
  };
575
581
  export type AiBuilderCard = {
576
582
  layout: CardLayout;
@@ -812,6 +818,11 @@ export type EmailSettings = {
812
818
  */
813
819
  subjectTranslations: Record<string, string>;
814
820
  preheaderTranslations: Record<string, string>;
821
+ /**
822
+ * Managed unsubscribe link in the document footer. It is rendered only for
823
+ * marketing email. Optional so absent keeps the client default (on).
824
+ */
825
+ showUnsubscribe?: boolean;
815
826
  };
816
827
  /**
817
828
  * PopupAnimation chooses how a web-popup enters / exits the