@pushwoosh/rpc-gateway-ai-assistant 0.1.219 → 0.1.220

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
@@ -169,6 +169,10 @@ export const data = {
169
169
  "borderRadiusCss": {
170
170
  "type": "string",
171
171
  "optional": true
172
+ },
173
+ "backgroundImage": {
174
+ "type": "string",
175
+ "optional": true
172
176
  }
173
177
  }
174
178
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.219",
3
+ "version": "0.1.220",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -43,7 +43,12 @@ export type DocumentBlockType = 'DOCUMENT_BLOCK_TYPE_UNSPECIFIED' | 'DOCUMENT_BL
43
43
  * shared between the document model and the AiGen wire types.
44
44
  */
45
45
  export type GroupDirection = 'GROUP_DIRECTION_UNSPECIFIED' | 'GROUP_DIRECTION_VERTICAL' | 'GROUP_DIRECTION_HORIZONTAL';
46
- export type CardLayout = 'CARD_LAYOUT_UNSPECIFIED' | 'CARD_LAYOUT_RIGHT' | 'CARD_LAYOUT_LEFT' | 'CARD_LAYOUT_TOP' | 'CARD_LAYOUT_NO' | 'CARD_LAYOUT_BACKGROUND';
46
+ export type CardLayout = 'CARD_LAYOUT_UNSPECIFIED' | 'CARD_LAYOUT_RIGHT' | 'CARD_LAYOUT_LEFT' | 'CARD_LAYOUT_TOP' | 'CARD_LAYOUT_NO'
47
+ /**
48
+ * The card image renders as the card backdrop (dark overlay + light text).
49
+ * Takes precedence over BlockStyles.background_image on the same block.
50
+ */
51
+ | 'CARD_LAYOUT_BACKGROUND';
47
52
  export type ButtonGroupAlign = 'BUTTON_GROUP_ALIGN_UNSPECIFIED' | 'BUTTON_GROUP_ALIGN_LEFT' | 'BUTTON_GROUP_ALIGN_CENTER' | 'BUTTON_GROUP_ALIGN_RIGHT';
48
53
  /**
49
54
  * TextAlign is the horizontal alignment of a single TextBlock's copy.
@@ -199,8 +204,9 @@ export type EdgeInsets = {
199
204
  * LLM-managed: background_color, border_color, border_radius — the
200
205
  * block generator may emit these via AiGenBlockStyles and the
201
206
  * pipeline lifts them into BlockStyles.
202
- * Client-managed: border_width and border_radius_css the LLM never sees
203
- * them, the backend preserves them verbatim across edits.
207
+ * Client-managed: border_width, border_radius_css and background_image
208
+ * the LLM never emits them (absent from its schema), the backend
209
+ * preserves them verbatim across edits.
204
210
  */
205
211
  export type BlockStyles = {
206
212
  /**
@@ -223,6 +229,13 @@ export type BlockStyles = {
223
229
  * when set (user-edited uniform value wins), else this.
224
230
  */
225
231
  borderRadiusCss?: string;
232
+ /**
233
+ * Block backdrop image URL over background_color (CSS cover/center/no-repeat).
234
+ * Reintroduces a block backdrop the old field (tag 5) removed, now client-managed
235
+ * (user-set, LLM never touches it). "" ≡ unset. Ignored on a CARD_LAYOUT_BACKGROUND
236
+ * card — that layout's own image is the backdrop.
237
+ */
238
+ backgroundImage?: string;
226
239
  };
227
240
  /** Two-stop CSS linear gradient: `linear-gradient(<angle>deg, from, to)`. */
228
241
  export type BackgroundGradient = {