@pushwoosh/rpc-gateway-ai-assistant 0.1.224 → 0.1.226
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 +11 -0
- package/package.json +1 -1
- package/pushwoosh_aibuilder_v1.d.ts +6 -0
- package/pushwoosh_aigen_v1.d.ts +6 -0
- package/pushwoosh_vibeml_v1.d.ts +2 -2
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
|
@@ -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;
|
package/pushwoosh_aigen_v1.d.ts
CHANGED
|
@@ -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
|
/**
|
package/pushwoosh_vibeml_v1.d.ts
CHANGED
|
@@ -166,7 +166,7 @@ export type VibeMeta = {
|
|
|
166
166
|
export type VibeTheme = {
|
|
167
167
|
/**
|
|
168
168
|
* Design-token palette keyed by semantic role (background, surface, text,
|
|
169
|
-
* text-secondary, accent, text-on-accent, border, link). Free-form
|
|
169
|
+
* heading, text-secondary, accent, text-on-accent, border, link). Free-form
|
|
170
170
|
* string keys — no key is guaranteed present. Any color-typed prop value
|
|
171
171
|
* (block props, attributes, block_variants, settings.background) may
|
|
172
172
|
* reference an entry by token: "$accent" means colors["accent"], resolved
|
|
@@ -420,7 +420,7 @@ export interface VibeMlService {
|
|
|
420
420
|
* Generate request. Pure extractor — materials in, theme out, no document.
|
|
421
421
|
*
|
|
422
422
|
* The model MUST return every palette role (background, surface, text,
|
|
423
|
-
* text-secondary, accent, text-on-accent, border, link) and both font
|
|
423
|
+
* heading, text-secondary, accent, text-on-accent, border, link) and both font
|
|
424
424
|
* families — even when the materials give no clear typographic signal it
|
|
425
425
|
* picks reasonable stacks rather than leaving them empty.
|
|
426
426
|
*
|