@pushwoosh/rpc-gateway-ai-assistant 0.1.236 → 0.1.237
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 +34 -0
- package/package.json +1 -1
- package/pushwoosh_aibuilder_v1.d.ts +23 -0
package/data.js
CHANGED
|
@@ -248,6 +248,15 @@ export const data = {
|
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
},
|
|
251
|
+
"pushwoosh.aibuilder.v1.ImageStyles": {
|
|
252
|
+
"type": "I",
|
|
253
|
+
"fields": {
|
|
254
|
+
"borderRadius": {
|
|
255
|
+
"type": "number",
|
|
256
|
+
"optional": true
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
},
|
|
251
260
|
"pushwoosh.aibuilder.v1.DefaultStyles": {
|
|
252
261
|
"type": "I",
|
|
253
262
|
"fields": {
|
|
@@ -268,6 +277,9 @@ export const data = {
|
|
|
268
277
|
},
|
|
269
278
|
"divider": {
|
|
270
279
|
"type": "pushwoosh.aibuilder.v1.Divider"
|
|
280
|
+
},
|
|
281
|
+
"image": {
|
|
282
|
+
"type": "pushwoosh.aibuilder.v1.ImageStyles"
|
|
271
283
|
}
|
|
272
284
|
}
|
|
273
285
|
},
|
|
@@ -349,6 +361,9 @@ export const data = {
|
|
|
349
361
|
"mobileFontSize": {
|
|
350
362
|
"type": "number",
|
|
351
363
|
"optional": true
|
|
364
|
+
},
|
|
365
|
+
"mobileAlign": {
|
|
366
|
+
"type": "pushwoosh.aibuilder.v1.TextAlign"
|
|
352
367
|
}
|
|
353
368
|
}
|
|
354
369
|
},
|
|
@@ -692,6 +707,12 @@ export const data = {
|
|
|
692
707
|
"itemPadding": {
|
|
693
708
|
"type": "pushwoosh.aibuilder.v1.EdgeInsets",
|
|
694
709
|
"optional": true
|
|
710
|
+
},
|
|
711
|
+
"mobileAlign": {
|
|
712
|
+
"type": "pushwoosh.aibuilder.v1.TextAlign"
|
|
713
|
+
},
|
|
714
|
+
"mobileLayout": {
|
|
715
|
+
"type": "pushwoosh.aibuilder.v1.MenuLayout"
|
|
695
716
|
}
|
|
696
717
|
}
|
|
697
718
|
},
|
|
@@ -710,6 +731,9 @@ export const data = {
|
|
|
710
731
|
},
|
|
711
732
|
"gap": {
|
|
712
733
|
"type": "number"
|
|
734
|
+
},
|
|
735
|
+
"mobileAlign": {
|
|
736
|
+
"type": "pushwoosh.aibuilder.v1.TextAlign"
|
|
713
737
|
}
|
|
714
738
|
}
|
|
715
739
|
},
|
|
@@ -836,6 +860,13 @@ export const data = {
|
|
|
836
860
|
"altTranslations": {
|
|
837
861
|
"type": "string",
|
|
838
862
|
"mapKeyType": "string"
|
|
863
|
+
},
|
|
864
|
+
"borderRadius": {
|
|
865
|
+
"type": "number",
|
|
866
|
+
"optional": true
|
|
867
|
+
},
|
|
868
|
+
"mobileAlign": {
|
|
869
|
+
"type": "pushwoosh.aibuilder.v1.TextAlign"
|
|
839
870
|
}
|
|
840
871
|
}
|
|
841
872
|
},
|
|
@@ -925,6 +956,9 @@ export const data = {
|
|
|
925
956
|
},
|
|
926
957
|
"align": {
|
|
927
958
|
"type": "pushwoosh.aibuilder.v1.GroupAlign"
|
|
959
|
+
},
|
|
960
|
+
"mobileDirection": {
|
|
961
|
+
"type": "pushwoosh.aibuilder.v1.GroupDirection"
|
|
928
962
|
}
|
|
929
963
|
}
|
|
930
964
|
},
|
package/package.json
CHANGED
|
@@ -288,6 +288,11 @@ export type CardStyles = {
|
|
|
288
288
|
*/
|
|
289
289
|
mobileContentPadding?: EdgeInsets;
|
|
290
290
|
};
|
|
291
|
+
/** Document-level image defaults; per-image fields override these. Client-managed. */
|
|
292
|
+
export type ImageStyles = {
|
|
293
|
+
/** Corner rounding, px. Unset (or 0) = square. */
|
|
294
|
+
borderRadius?: number;
|
|
295
|
+
};
|
|
291
296
|
export type DefaultStyles = {
|
|
292
297
|
common: BlockStyles;
|
|
293
298
|
columns: ColumnsStyles;
|
|
@@ -300,6 +305,7 @@ export type DefaultStyles = {
|
|
|
300
305
|
* border, solid, 100%).
|
|
301
306
|
*/
|
|
302
307
|
divider: Divider;
|
|
308
|
+
image: ImageStyles;
|
|
303
309
|
};
|
|
304
310
|
export type DocumentSettings = {
|
|
305
311
|
width: number;
|
|
@@ -400,6 +406,8 @@ export type TextBlock = {
|
|
|
400
406
|
* like font_size, lost when the LLM regenerates the block.
|
|
401
407
|
*/
|
|
402
408
|
mobileFontSize?: number;
|
|
409
|
+
/** Mobile alignment override. UNSPECIFIED = inherit `align` (explicit LEFT survives). Client-managed. */
|
|
410
|
+
mobileAlign: TextAlign;
|
|
403
411
|
};
|
|
404
412
|
export type ButtonActionHref = {
|
|
405
413
|
url: string;
|
|
@@ -624,6 +632,9 @@ export type Menu = {
|
|
|
624
632
|
align: TextAlign;
|
|
625
633
|
separator: string;
|
|
626
634
|
itemPadding?: EdgeInsets;
|
|
635
|
+
/** Mobile overrides; UNSPECIFIED = inherit the desktop value. Client-managed. */
|
|
636
|
+
mobileAlign: TextAlign;
|
|
637
|
+
mobileLayout: MenuLayout;
|
|
627
638
|
};
|
|
628
639
|
/**
|
|
629
640
|
* Row of social-network icon links in the content flow (Unlayer's "social"
|
|
@@ -638,6 +649,8 @@ export type SocialRow = {
|
|
|
638
649
|
iconSize: number;
|
|
639
650
|
/** px between icons; 0 = client default (12) */
|
|
640
651
|
gap: number;
|
|
652
|
+
/** Mobile alignment override. UNSPECIFIED = inherit `align`. Client-managed. */
|
|
653
|
+
mobileAlign: TextAlign;
|
|
641
654
|
};
|
|
642
655
|
export type ContentItem_item_text = {
|
|
643
656
|
type: 'text';
|
|
@@ -733,6 +746,10 @@ export type Image = {
|
|
|
733
746
|
*/
|
|
734
747
|
srcTranslations: Record<string, string>;
|
|
735
748
|
altTranslations: Record<string, string>;
|
|
749
|
+
/** Corner rounding, px. Unset = inherit DefaultStyles.image; explicit 0 = square. Client-managed. */
|
|
750
|
+
borderRadius?: number;
|
|
751
|
+
/** Mobile alignment override (content items only). UNSPECIFIED = inherit `align`. Client-managed. */
|
|
752
|
+
mobileAlign: TextAlign;
|
|
736
753
|
};
|
|
737
754
|
export type AiBuilderCard = {
|
|
738
755
|
layout: CardLayout;
|
|
@@ -822,6 +839,12 @@ export type AiBuilderGroup = {
|
|
|
822
839
|
* UNSPECIFIED → render as START.
|
|
823
840
|
*/
|
|
824
841
|
align: GroupAlign;
|
|
842
|
+
/**
|
|
843
|
+
* Mobile direction override. UNSPECIFIED = inherit `direction`. Only
|
|
844
|
+
* HORIZONTAL→VERTICAL is honored: a vertical group is table rows in the
|
|
845
|
+
* email, which CSS cannot re-flow into a row. Client-managed.
|
|
846
|
+
*/
|
|
847
|
+
mobileDirection: GroupDirection;
|
|
825
848
|
};
|
|
826
849
|
/**
|
|
827
850
|
* Placeholder is a client-created empty slot meant to be replaced by
|