@pushwoosh/rpc-gateway-ai-assistant 0.1.184 → 0.1.186

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
@@ -1703,6 +1703,9 @@ export const data = {
1703
1703
  "fields": {
1704
1704
  "chatId": {
1705
1705
  "type": "number"
1706
+ },
1707
+ "application": {
1708
+ "type": "string"
1706
1709
  }
1707
1710
  }
1708
1711
  },
@@ -1816,7 +1819,7 @@ export const data = {
1816
1819
  "request": "pushwoosh.accounts.assistant.v1.CompleteOnboardingHandoffRequest",
1817
1820
  "response": "pushwoosh.accounts.assistant.v1.CompleteOnboardingHandoffResponse",
1818
1821
  "method": "post",
1819
- "path": "/api/v1/chats/{chat_id}/onboarding/handoff"
1822
+ "path": "/api/v1/applications/{application}/chats/{chat_id}/onboarding/handoff"
1820
1823
  }
1821
1824
  }
1822
1825
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-gateway-ai-assistant",
3
- "version": "0.1.184",
3
+ "version": "0.1.186",
4
4
  "description": "AI Assistant api gateway HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -241,6 +241,7 @@ export type GetOnboardingStatusResponse = {
241
241
  */
242
242
  export type CompleteOnboardingHandoffRequest = {
243
243
  chatId: number;
244
+ application: string;
244
245
  };
245
246
  /**
246
247
  * CompleteOnboardingHandoffResponse returns the regular chat that should
@@ -61,8 +61,9 @@ export type VibeDocumentSettings = {
61
61
  contentWidth: string;
62
62
  /**
63
63
  * Email canvas / body background color — the MJML mj-body background
64
- * analog: the area behind the content column. Hex ("#f4f4f4") or
65
- * "transparent". Empty = the renderer's default.
64
+ * analog: the area behind the content column. Hex ("#f4f4f4"),
65
+ * "transparent", or a theme color token ("$background"). Empty = the
66
+ * renderer's default.
66
67
  */
67
68
  background: string;
68
69
  };
@@ -164,12 +165,15 @@ export type VibeMeta = {
164
165
  */
165
166
  export type VibeTheme = {
166
167
  /**
167
- * Reference palette keyed by semantic role (background, surface, text,
168
+ * Design-token palette keyed by semantic role (background, surface, text,
168
169
  * text-secondary, accent, text-on-accent, border, link). Free-form
169
- * string keys — no key is guaranteed present so this is a set of brand
170
- * colors blocks/attributes can reference. Values are hex colors
171
- * ("#155F50"). The canvas background is NOT here it is a guaranteed
172
- * field on VibeDocumentSettings.
170
+ * string keys — no key is guaranteed present. Any color-typed prop value
171
+ * (block props, attributes, block_variants, settings.background) may
172
+ * reference an entry by token: "$accent" means colors["accent"], resolved
173
+ * by the renderer at render time — so re-theming a document is just
174
+ * swapping this palette. Values here are strictly hex colors ("#155F50");
175
+ * a token cannot reference another token. The canvas background is NOT
176
+ * here — it is a guaranteed field on VibeDocumentSettings.
173
177
  */
174
178
  colors: Record<string, string>;
175
179
  /** CSS font-family chain for body text. */