@pushwoosh/rpc-gateway-ai-assistant 0.1.153 → 0.1.154

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
@@ -40,6 +40,15 @@ export const data = {
40
40
  "BUTTON_GROUP_ALIGN_RIGHT"
41
41
  ]
42
42
  },
43
+ "pushwoosh.aibuilder.v1.TextAlign": {
44
+ "type": "E",
45
+ "values": [
46
+ "TEXT_ALIGN_UNSPECIFIED",
47
+ "TEXT_ALIGN_LEFT",
48
+ "TEXT_ALIGN_CENTER",
49
+ "TEXT_ALIGN_RIGHT"
50
+ ]
51
+ },
43
52
  "pushwoosh.aibuilder.v1.GroupAlign": {
44
53
  "type": "E",
45
54
  "values": [
@@ -243,6 +252,9 @@ export const data = {
243
252
  "color": {
244
253
  "type": "string",
245
254
  "optional": true
255
+ },
256
+ "align": {
257
+ "type": "pushwoosh.aibuilder.v1.TextAlign"
246
258
  }
247
259
  }
248
260
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.153",
3
+ "version": "0.1.154",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -45,6 +45,12 @@ export type DocumentBlockType = 'DOCUMENT_BLOCK_TYPE_UNSPECIFIED' | 'DOCUMENT_BL
45
45
  export type GroupDirection = 'GROUP_DIRECTION_UNSPECIFIED' | 'GROUP_DIRECTION_VERTICAL' | 'GROUP_DIRECTION_HORIZONTAL';
46
46
  export type CardLayout = 'CARD_LAYOUT_UNSPECIFIED' | 'CARD_LAYOUT_RIGHT' | 'CARD_LAYOUT_LEFT' | 'CARD_LAYOUT_TOP' | 'CARD_LAYOUT_NO' | 'CARD_LAYOUT_BACKGROUND';
47
47
  export type ButtonGroupAlign = 'BUTTON_GROUP_ALIGN_UNSPECIFIED' | 'BUTTON_GROUP_ALIGN_LEFT' | 'BUTTON_GROUP_ALIGN_CENTER' | 'BUTTON_GROUP_ALIGN_RIGHT';
48
+ /**
49
+ * TextAlign is the horizontal alignment of a single TextBlock's copy.
50
+ * UNSPECIFIED = inherit (renders left). LLM-managed: the content generator
51
+ * sets it for headline/caption centring; preserved verbatim on edit.
52
+ */
53
+ export type TextAlign = 'TEXT_ALIGN_UNSPECIFIED' | 'TEXT_ALIGN_LEFT' | 'TEXT_ALIGN_CENTER' | 'TEXT_ALIGN_RIGHT';
48
54
  /**
49
55
  * GroupAlign controls alignment of an AiBuilderGroup's children along
50
56
  * the perpendicular axis (for direction=VERTICAL → horizontal
@@ -269,6 +275,12 @@ export type TextBlock = {
269
275
  * it empty for body text so the document default applies.
270
276
  */
271
277
  color?: string;
278
+ /**
279
+ * Horizontal alignment of this text item. UNSPECIFIED = inherit (left).
280
+ * LLM-managed: the content generator centres headlines/captions where it
281
+ * fits the design; preserved verbatim on edit.
282
+ */
283
+ align: TextAlign;
272
284
  };
273
285
  export type ButtonActionHref = {
274
286
  url: string;