@marketrix.ai/widget 3.8.460 → 3.8.461

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.
@@ -1,6 +1,6 @@
1
1
  import type { ComponentPropsWithRef } from 'react';
2
2
  import type { ShadowToken } from '../../design-system/shadows';
3
- type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'bare' | 'chip' | 'tab' | 'inline' | 'toolbar';
3
+ type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'bare' | 'chip' | 'tab';
4
4
  type ButtonSize = 'sm' | 'md';
5
5
  type ButtonShape = 'default' | 'theme' | 'pill';
6
6
  export interface ButtonProps extends ComponentPropsWithRef<'button'> {
@@ -1,18 +1,14 @@
1
1
  import type { ComponentPropsWithRef } from 'react';
2
2
  import { type TextTone } from '../../design-system/component-tokens';
3
- import type { ShadowToken } from '../../design-system/shadows';
4
3
  type IconButtonVariant = 'primary' | 'secondary' | 'ghost';
5
4
  type IconButtonSize = 'xs' | 'sm';
6
- type IconButtonShape = 'circle' | 'theme';
7
5
  export interface IconButtonProps extends ComponentPropsWithRef<'button'> {
8
- elevation?: ShadowToken;
9
6
  variant?: IconButtonVariant;
10
7
  size?: IconButtonSize;
11
- shape?: IconButtonShape;
12
8
  tone?: TextTone;
13
9
  label: string;
14
10
  /** @internal blocks/ only */
15
11
  className?: string;
16
12
  }
17
- export declare function IconButton({ variant, size, shape, tone, label, disabled, elevation, className: userClassName, children, style, ref, ...props }: IconButtonProps): import("react").JSX.Element;
13
+ export declare function IconButton({ variant, size, tone, label, disabled, className: userClassName, children, style, ref, ...props }: IconButtonProps): import("react").JSX.Element;
18
14
  export {};
@@ -1,7 +1,7 @@
1
1
  import type { ElementType, Ref } from 'react';
2
- import { type TextLeading, type TextTone } from '../../design-system/component-tokens';
2
+ import { type TextLeading } from '../../design-system/component-tokens';
3
3
  type TextVariant = 'default' | 'muted' | 'faint';
4
- type TextSize = 'xxs' | 'xs' | 'sm' | 'base' | 'lg';
4
+ type TextSize = 'xxs' | 'xs' | 'sm' | 'lg';
5
5
  type TextWeight = 'normal' | 'medium' | 'semibold';
6
6
  type TextAlign = 'center' | 'right';
7
7
  export interface TextProps extends React.HTMLAttributes<HTMLElement> {
@@ -10,7 +10,6 @@ export interface TextProps extends React.HTMLAttributes<HTMLElement> {
10
10
  inheritColor?: boolean;
11
11
  italic?: boolean;
12
12
  leading?: TextLeading;
13
- tone?: TextTone;
14
13
  variant?: TextVariant;
15
14
  size?: TextSize;
16
15
  weight?: TextWeight;
@@ -20,5 +19,5 @@ export interface TextProps extends React.HTMLAttributes<HTMLElement> {
20
19
  className?: string;
21
20
  ref?: Ref<HTMLElement>;
22
21
  }
23
- export declare function Text({ as: Component, block, inheritColor, italic, leading, tone, variant, size, weight, truncate, align, className, ref, style, ...props }: TextProps): import("react").JSX.Element;
22
+ export declare function Text({ as: Component, block, inheritColor, italic, leading, variant, size, weight, truncate, align, className, ref, style, ...props }: TextProps): import("react").JSX.Element;
24
23
  export {};
@@ -1,5 +1,6 @@
1
1
  import type { CSSProperties, ElementType } from 'react';
2
2
  export type SpacingToken = 'none' | '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl';
3
+ export declare const SPACING_SCALE: Record<SpacingToken, string>;
3
4
  export interface LayoutProps {
4
5
  padding?: SpacingToken;
5
6
  paddingX?: SpacingToken;
@@ -15,7 +15,6 @@ export interface ChatInputProps {
15
15
  disabled?: boolean;
16
16
  taskRunning?: boolean;
17
17
  onStop?: () => void;
18
- placeholder?: string;
19
18
  ref?: React.Ref<HTMLTextAreaElement>;
20
19
  }
21
- export declare function ChatInput({ value, onChange, onSubmit, modes, activeMode, onModeChange, disabled, taskRunning, onStop, placeholder, ref, }: ChatInputProps): React.JSX.Element;
20
+ export declare function ChatInput({ value, onChange, onSubmit, modes, activeMode, onModeChange, disabled, taskRunning, onStop, ref, }: ChatInputProps): React.JSX.Element;
@@ -10,10 +10,7 @@ export interface ChatActions {
10
10
  messageDispatch: (content: string, mode?: InstructionType, skipUserMessage?: boolean) => Promise<void>;
11
11
  }
12
12
  export interface TaskActions {
13
- setTaskState: (payload: {
14
- activeTaskId: string | null;
15
- isTaskRunning: boolean;
16
- }) => void;
13
+ setTaskState: (isTaskRunning: boolean) => void;
17
14
  stopTask: () => Promise<void>;
18
15
  }
19
16
  interface ChatContextType {
@@ -1,9 +1,10 @@
1
1
  import React from 'react';
2
- export declare const usePortalContainer: () => HTMLElement | ShadowRoot;
2
+ /** MarketrixWidget publishes its own root here: a portal outside it escapes the element carrying the tenant tokens. */
3
+ export declare const PortalContainerContext: React.Context<HTMLElement | null>;
4
+ export declare const usePortalContainer: () => HTMLElement;
3
5
  interface WidgetProvidersProps {
4
6
  children: React.ReactNode;
5
7
  previewMode?: boolean;
6
- portalContainer?: HTMLElement | ShadowRoot;
7
8
  }
8
9
  export declare const WidgetProviders: React.FC<WidgetProvidersProps>;
9
10
  export {};
@@ -1,7 +1,6 @@
1
1
  import type { WidgetEvent } from '../sdk';
2
2
  import type { ChatMessage, InstructionType } from '../types';
3
3
  export interface TaskState {
4
- activeTaskId: string | null;
5
4
  isTaskRunning: boolean;
6
5
  }
7
6
  export interface SseState {
@@ -15,7 +15,6 @@ type SemanticTokens = {
15
15
  secondaryHover: string;
16
16
  };
17
17
  radius: string;
18
- shadow: string;
19
18
  motion: {
20
19
  durationAnimation: string;
21
20
  durationFade: string;
@@ -13,10 +13,7 @@ export declare const useWidget: () => {
13
13
  setMessages: (messages: import("..").ChatMessage[]) => void;
14
14
  clearMessages: () => void;
15
15
  messageDispatch: (content: string, mode?: import("..").InstructionType, skipUserMessage?: boolean) => Promise<void>;
16
- setTaskState: (payload: {
17
- activeTaskId: string | null;
18
- isTaskRunning: boolean;
19
- }) => void;
16
+ setTaskState: (isTaskRunning: boolean) => void;
20
17
  stopTask: () => Promise<void>;
21
18
  setActiveView: (view: import("../types").WidgetView) => void;
22
19
  toggleWidget: () => void;
@@ -156,8 +156,6 @@ export declare const widgetContract: {
156
156
  widget_enabled: import("zod").ZodBoolean;
157
157
  widget_appearance: import("zod").ZodEnum<{
158
158
  default: "default";
159
- compact: "compact";
160
- full: "full";
161
159
  hidden: "hidden";
162
160
  }>;
163
161
  widget_position: import("zod").ZodEnum<{
@@ -166,11 +164,6 @@ export declare const widgetContract: {
166
164
  top_left: "top_left";
167
165
  top_right: "top_right";
168
166
  }>;
169
- widget_device: import("zod").ZodEnum<{
170
- desktop: "desktop";
171
- mobile: "mobile";
172
- desktop_mobile: "desktop_mobile";
173
- }>;
174
167
  widget_header: import("zod").ZodString;
175
168
  widget_body: import("zod").ZodString;
176
169
  widget_greeting: import("zod").ZodString;
@@ -179,7 +172,6 @@ export declare const widgetContract: {
179
172
  widget_feature_tell: import("zod").ZodBoolean;
180
173
  widget_feature_show: import("zod").ZodBoolean;
181
174
  widget_feature_do: import("zod").ZodBoolean;
182
- widget_feature_human: import("zod").ZodBoolean;
183
175
  widget_background_color: import("zod").ZodString;
184
176
  widget_text_color: import("zod").ZodString;
185
177
  widget_border_color: import("zod").ZodString;
@@ -189,10 +181,8 @@ export declare const widgetContract: {
189
181
  widget_font_size: import("zod").ZodString;
190
182
  widget_width: import("zod").ZodString;
191
183
  widget_height: import("zod").ZodString;
192
- widget_shadow: import("zod").ZodString;
193
184
  widget_animation_duration: import("zod").ZodString;
194
185
  widget_fade_duration: import("zod").ZodString;
195
- widget_bounce_effect: import("zod").ZodBoolean;
196
186
  widget_chips: import("zod").ZodArray<import("zod").ZodObject<{
197
187
  chip_mode: import("zod").ZodEnum<{
198
188
  tell: "tell";
@@ -221,8 +211,6 @@ export declare const widgetContract: {
221
211
  widget_enabled: import("zod").ZodBoolean;
222
212
  widget_appearance: import("zod").ZodEnum<{
223
213
  default: "default";
224
- compact: "compact";
225
- full: "full";
226
214
  hidden: "hidden";
227
215
  }>;
228
216
  widget_position: import("zod").ZodEnum<{
@@ -231,11 +219,6 @@ export declare const widgetContract: {
231
219
  top_left: "top_left";
232
220
  top_right: "top_right";
233
221
  }>;
234
- widget_device: import("zod").ZodEnum<{
235
- desktop: "desktop";
236
- mobile: "mobile";
237
- desktop_mobile: "desktop_mobile";
238
- }>;
239
222
  widget_header: import("zod").ZodString;
240
223
  widget_body: import("zod").ZodString;
241
224
  widget_greeting: import("zod").ZodString;
@@ -244,7 +227,6 @@ export declare const widgetContract: {
244
227
  widget_feature_tell: import("zod").ZodBoolean;
245
228
  widget_feature_show: import("zod").ZodBoolean;
246
229
  widget_feature_do: import("zod").ZodBoolean;
247
- widget_feature_human: import("zod").ZodBoolean;
248
230
  widget_background_color: import("zod").ZodString;
249
231
  widget_text_color: import("zod").ZodString;
250
232
  widget_border_color: import("zod").ZodString;
@@ -254,10 +236,8 @@ export declare const widgetContract: {
254
236
  widget_font_size: import("zod").ZodString;
255
237
  widget_width: import("zod").ZodString;
256
238
  widget_height: import("zod").ZodString;
257
- widget_shadow: import("zod").ZodString;
258
239
  widget_animation_duration: import("zod").ZodString;
259
240
  widget_fade_duration: import("zod").ZodString;
260
- widget_bounce_effect: import("zod").ZodBoolean;
261
241
  widget_chips: import("zod").ZodArray<import("zod").ZodObject<{
262
242
  chip_mode: import("zod").ZodEnum<{
263
243
  tell: "tell";
@@ -289,8 +269,6 @@ export declare const widgetContract: {
289
269
  widget_enabled: import("zod").ZodBoolean;
290
270
  widget_appearance: import("zod").ZodEnum<{
291
271
  default: "default";
292
- compact: "compact";
293
- full: "full";
294
272
  hidden: "hidden";
295
273
  }>;
296
274
  widget_position: import("zod").ZodEnum<{
@@ -299,11 +277,6 @@ export declare const widgetContract: {
299
277
  top_left: "top_left";
300
278
  top_right: "top_right";
301
279
  }>;
302
- widget_device: import("zod").ZodEnum<{
303
- desktop: "desktop";
304
- mobile: "mobile";
305
- desktop_mobile: "desktop_mobile";
306
- }>;
307
280
  widget_header: import("zod").ZodString;
308
281
  widget_body: import("zod").ZodString;
309
282
  widget_greeting: import("zod").ZodString;
@@ -312,7 +285,6 @@ export declare const widgetContract: {
312
285
  widget_feature_tell: import("zod").ZodBoolean;
313
286
  widget_feature_show: import("zod").ZodBoolean;
314
287
  widget_feature_do: import("zod").ZodBoolean;
315
- widget_feature_human: import("zod").ZodBoolean;
316
288
  widget_background_color: import("zod").ZodString;
317
289
  widget_text_color: import("zod").ZodString;
318
290
  widget_border_color: import("zod").ZodString;
@@ -322,10 +294,8 @@ export declare const widgetContract: {
322
294
  widget_font_size: import("zod").ZodString;
323
295
  widget_width: import("zod").ZodString;
324
296
  widget_height: import("zod").ZodString;
325
- widget_shadow: import("zod").ZodString;
326
297
  widget_animation_duration: import("zod").ZodString;
327
298
  widget_fade_duration: import("zod").ZodString;
328
- widget_bounce_effect: import("zod").ZodBoolean;
329
299
  widget_chips: import("zod").ZodArray<import("zod").ZodObject<{
330
300
  chip_mode: import("zod").ZodEnum<{
331
301
  tell: "tell";
@@ -99,8 +99,6 @@ export declare const applicationSearch: import("@orpc/contract").ContractProcedu
99
99
  widget_enabled: z.ZodBoolean;
100
100
  widget_appearance: z.ZodEnum<{
101
101
  default: "default";
102
- compact: "compact";
103
- full: "full";
104
102
  hidden: "hidden";
105
103
  }>;
106
104
  widget_position: z.ZodEnum<{
@@ -109,11 +107,6 @@ export declare const applicationSearch: import("@orpc/contract").ContractProcedu
109
107
  top_left: "top_left";
110
108
  top_right: "top_right";
111
109
  }>;
112
- widget_device: z.ZodEnum<{
113
- desktop: "desktop";
114
- mobile: "mobile";
115
- desktop_mobile: "desktop_mobile";
116
- }>;
117
110
  widget_header: z.ZodString;
118
111
  widget_body: z.ZodString;
119
112
  widget_greeting: z.ZodString;
@@ -122,7 +115,6 @@ export declare const applicationSearch: import("@orpc/contract").ContractProcedu
122
115
  widget_feature_tell: z.ZodBoolean;
123
116
  widget_feature_show: z.ZodBoolean;
124
117
  widget_feature_do: z.ZodBoolean;
125
- widget_feature_human: z.ZodBoolean;
126
118
  widget_background_color: z.ZodString;
127
119
  widget_text_color: z.ZodString;
128
120
  widget_border_color: z.ZodString;
@@ -132,10 +124,8 @@ export declare const applicationSearch: import("@orpc/contract").ContractProcedu
132
124
  widget_font_size: z.ZodString;
133
125
  widget_width: z.ZodString;
134
126
  widget_height: z.ZodString;
135
- widget_shadow: z.ZodString;
136
127
  widget_animation_duration: z.ZodString;
137
128
  widget_fade_duration: z.ZodString;
138
- widget_bounce_effect: z.ZodBoolean;
139
129
  widget_chips: z.ZodArray<z.ZodObject<{
140
130
  chip_mode: z.ZodEnum<{
141
131
  tell: "tell";
@@ -187,8 +177,6 @@ export declare const applicationGet: import("@orpc/contract").ContractProcedureB
187
177
  widget_enabled: z.ZodBoolean;
188
178
  widget_appearance: z.ZodEnum<{
189
179
  default: "default";
190
- compact: "compact";
191
- full: "full";
192
180
  hidden: "hidden";
193
181
  }>;
194
182
  widget_position: z.ZodEnum<{
@@ -197,11 +185,6 @@ export declare const applicationGet: import("@orpc/contract").ContractProcedureB
197
185
  top_left: "top_left";
198
186
  top_right: "top_right";
199
187
  }>;
200
- widget_device: z.ZodEnum<{
201
- desktop: "desktop";
202
- mobile: "mobile";
203
- desktop_mobile: "desktop_mobile";
204
- }>;
205
188
  widget_header: z.ZodString;
206
189
  widget_body: z.ZodString;
207
190
  widget_greeting: z.ZodString;
@@ -210,7 +193,6 @@ export declare const applicationGet: import("@orpc/contract").ContractProcedureB
210
193
  widget_feature_tell: z.ZodBoolean;
211
194
  widget_feature_show: z.ZodBoolean;
212
195
  widget_feature_do: z.ZodBoolean;
213
- widget_feature_human: z.ZodBoolean;
214
196
  widget_background_color: z.ZodString;
215
197
  widget_text_color: z.ZodString;
216
198
  widget_border_color: z.ZodString;
@@ -220,10 +202,8 @@ export declare const applicationGet: import("@orpc/contract").ContractProcedureB
220
202
  widget_font_size: z.ZodString;
221
203
  widget_width: z.ZodString;
222
204
  widget_height: z.ZodString;
223
- widget_shadow: z.ZodString;
224
205
  widget_animation_duration: z.ZodString;
225
206
  widget_fade_duration: z.ZodString;
226
- widget_bounce_effect: z.ZodBoolean;
227
207
  widget_chips: z.ZodArray<z.ZodObject<{
228
208
  chip_mode: z.ZodEnum<{
229
209
  tell: "tell";
@@ -373,8 +353,6 @@ export declare const applicationRoutes: {
373
353
  widget_enabled: z.ZodBoolean;
374
354
  widget_appearance: z.ZodEnum<{
375
355
  default: "default";
376
- compact: "compact";
377
- full: "full";
378
356
  hidden: "hidden";
379
357
  }>;
380
358
  widget_position: z.ZodEnum<{
@@ -383,11 +361,6 @@ export declare const applicationRoutes: {
383
361
  top_left: "top_left";
384
362
  top_right: "top_right";
385
363
  }>;
386
- widget_device: z.ZodEnum<{
387
- desktop: "desktop";
388
- mobile: "mobile";
389
- desktop_mobile: "desktop_mobile";
390
- }>;
391
364
  widget_header: z.ZodString;
392
365
  widget_body: z.ZodString;
393
366
  widget_greeting: z.ZodString;
@@ -396,7 +369,6 @@ export declare const applicationRoutes: {
396
369
  widget_feature_tell: z.ZodBoolean;
397
370
  widget_feature_show: z.ZodBoolean;
398
371
  widget_feature_do: z.ZodBoolean;
399
- widget_feature_human: z.ZodBoolean;
400
372
  widget_background_color: z.ZodString;
401
373
  widget_text_color: z.ZodString;
402
374
  widget_border_color: z.ZodString;
@@ -406,10 +378,8 @@ export declare const applicationRoutes: {
406
378
  widget_font_size: z.ZodString;
407
379
  widget_width: z.ZodString;
408
380
  widget_height: z.ZodString;
409
- widget_shadow: z.ZodString;
410
381
  widget_animation_duration: z.ZodString;
411
382
  widget_fade_duration: z.ZodString;
412
- widget_bounce_effect: z.ZodBoolean;
413
383
  widget_chips: z.ZodArray<z.ZodObject<{
414
384
  chip_mode: z.ZodEnum<{
415
385
  tell: "tell";
@@ -461,8 +431,6 @@ export declare const applicationRoutes: {
461
431
  widget_enabled: z.ZodBoolean;
462
432
  widget_appearance: z.ZodEnum<{
463
433
  default: "default";
464
- compact: "compact";
465
- full: "full";
466
434
  hidden: "hidden";
467
435
  }>;
468
436
  widget_position: z.ZodEnum<{
@@ -471,11 +439,6 @@ export declare const applicationRoutes: {
471
439
  top_left: "top_left";
472
440
  top_right: "top_right";
473
441
  }>;
474
- widget_device: z.ZodEnum<{
475
- desktop: "desktop";
476
- mobile: "mobile";
477
- desktop_mobile: "desktop_mobile";
478
- }>;
479
442
  widget_header: z.ZodString;
480
443
  widget_body: z.ZodString;
481
444
  widget_greeting: z.ZodString;
@@ -484,7 +447,6 @@ export declare const applicationRoutes: {
484
447
  widget_feature_tell: z.ZodBoolean;
485
448
  widget_feature_show: z.ZodBoolean;
486
449
  widget_feature_do: z.ZodBoolean;
487
- widget_feature_human: z.ZodBoolean;
488
450
  widget_background_color: z.ZodString;
489
451
  widget_text_color: z.ZodString;
490
452
  widget_border_color: z.ZodString;
@@ -494,10 +456,8 @@ export declare const applicationRoutes: {
494
456
  widget_font_size: z.ZodString;
495
457
  widget_width: z.ZodString;
496
458
  widget_height: z.ZodString;
497
- widget_shadow: z.ZodString;
498
459
  widget_animation_duration: z.ZodString;
499
460
  widget_fade_duration: z.ZodString;
500
- widget_bounce_effect: z.ZodBoolean;
501
461
  widget_chips: z.ZodArray<z.ZodObject<{
502
462
  chip_mode: z.ZodEnum<{
503
463
  tell: "tell";
@@ -126,8 +126,6 @@ export declare const WidgetSettingsDataSchema: z.ZodObject<{
126
126
  widget_enabled: z.ZodBoolean;
127
127
  widget_appearance: z.ZodEnum<{
128
128
  default: "default";
129
- compact: "compact";
130
- full: "full";
131
129
  hidden: "hidden";
132
130
  }>;
133
131
  widget_position: z.ZodEnum<{
@@ -136,11 +134,6 @@ export declare const WidgetSettingsDataSchema: z.ZodObject<{
136
134
  top_left: "top_left";
137
135
  top_right: "top_right";
138
136
  }>;
139
- widget_device: z.ZodEnum<{
140
- desktop: "desktop";
141
- mobile: "mobile";
142
- desktop_mobile: "desktop_mobile";
143
- }>;
144
137
  widget_header: z.ZodString;
145
138
  widget_body: z.ZodString;
146
139
  widget_greeting: z.ZodString;
@@ -149,7 +142,6 @@ export declare const WidgetSettingsDataSchema: z.ZodObject<{
149
142
  widget_feature_tell: z.ZodBoolean;
150
143
  widget_feature_show: z.ZodBoolean;
151
144
  widget_feature_do: z.ZodBoolean;
152
- widget_feature_human: z.ZodBoolean;
153
145
  widget_background_color: z.ZodString;
154
146
  widget_text_color: z.ZodString;
155
147
  widget_border_color: z.ZodString;
@@ -159,10 +151,8 @@ export declare const WidgetSettingsDataSchema: z.ZodObject<{
159
151
  widget_font_size: z.ZodString;
160
152
  widget_width: z.ZodString;
161
153
  widget_height: z.ZodString;
162
- widget_shadow: z.ZodString;
163
154
  widget_animation_duration: z.ZodString;
164
155
  widget_fade_duration: z.ZodString;
165
- widget_bounce_effect: z.ZodBoolean;
166
156
  widget_chips: z.ZodArray<z.ZodObject<{
167
157
  chip_mode: z.ZodEnum<{
168
158
  tell: "tell";
@@ -185,8 +175,6 @@ export declare const WidgetEntitySchema: z.ZodObject<{
185
175
  widget_enabled: z.ZodBoolean;
186
176
  widget_appearance: z.ZodEnum<{
187
177
  default: "default";
188
- compact: "compact";
189
- full: "full";
190
178
  hidden: "hidden";
191
179
  }>;
192
180
  widget_position: z.ZodEnum<{
@@ -195,11 +183,6 @@ export declare const WidgetEntitySchema: z.ZodObject<{
195
183
  top_left: "top_left";
196
184
  top_right: "top_right";
197
185
  }>;
198
- widget_device: z.ZodEnum<{
199
- desktop: "desktop";
200
- mobile: "mobile";
201
- desktop_mobile: "desktop_mobile";
202
- }>;
203
186
  widget_header: z.ZodString;
204
187
  widget_body: z.ZodString;
205
188
  widget_greeting: z.ZodString;
@@ -208,7 +191,6 @@ export declare const WidgetEntitySchema: z.ZodObject<{
208
191
  widget_feature_tell: z.ZodBoolean;
209
192
  widget_feature_show: z.ZodBoolean;
210
193
  widget_feature_do: z.ZodBoolean;
211
- widget_feature_human: z.ZodBoolean;
212
194
  widget_background_color: z.ZodString;
213
195
  widget_text_color: z.ZodString;
214
196
  widget_border_color: z.ZodString;
@@ -218,10 +200,8 @@ export declare const WidgetEntitySchema: z.ZodObject<{
218
200
  widget_font_size: z.ZodString;
219
201
  widget_width: z.ZodString;
220
202
  widget_height: z.ZodString;
221
- widget_shadow: z.ZodString;
222
203
  widget_animation_duration: z.ZodString;
223
204
  widget_fade_duration: z.ZodString;
224
- widget_bounce_effect: z.ZodBoolean;
225
205
  widget_chips: z.ZodArray<z.ZodObject<{
226
206
  chip_mode: z.ZodEnum<{
227
207
  tell: "tell";
@@ -241,17 +221,6 @@ export declare const WidgetEntitySchema: z.ZodObject<{
241
221
  snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
242
222
  }, z.core.$strip>;
243
223
  export type WidgetData = z.infer<typeof WidgetEntitySchema>;
244
- /** `message` is one or more chip texts shown by the widget when the URL pattern matches. */
245
- export declare const StateTriggerEntitySchema: z.ZodObject<{
246
- id: z.ZodOptional<z.ZodNumber>;
247
- created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
248
- updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
249
- widget_id: z.ZodNumber;
250
- url_pattern: z.ZodString;
251
- message: z.ZodArray<z.ZodString>;
252
- description: z.ZodOptional<z.ZodString>;
253
- }, z.core.$strip>;
254
- export type StateTriggerData = z.infer<typeof StateTriggerEntitySchema>;
255
224
  export declare const ActivityLogTypeSchema: z.ZodEnum<{
256
225
  user_login: "user_login";
257
226
  url_visit: "url_visit";