@marketrix.ai/widget 3.8.460 → 3.8.462
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/dist/src/components/base/Button.d.ts +2 -3
- package/dist/src/components/base/IconButton.d.ts +1 -5
- package/dist/src/components/base/Spinner.d.ts +1 -4
- package/dist/src/components/base/Text.d.ts +3 -4
- package/dist/src/components/base/layoutProps.d.ts +1 -0
- package/dist/src/components/blocks/ChatInput.d.ts +1 -2
- package/dist/src/context/ChatContext.d.ts +1 -4
- package/dist/src/context/WidgetProviders.d.ts +3 -2
- package/dist/src/context/sseReducer.d.ts +0 -1
- package/dist/src/design-system/semantic-tokens.d.ts +1 -1
- package/dist/src/hooks/useWidget.d.ts +1 -4
- package/dist/src/sdk/contract.d.ts +0 -34
- package/dist/src/sdk/contracts/application.d.ts +0 -40
- package/dist/src/sdk/contracts/entities.d.ts +38 -31
- package/dist/src/sdk/contracts/widget.d.ts +24 -210
- package/dist/src/sdk/index.d.ts +0 -34
- package/dist/src/services/StorageService.d.ts +0 -1
- package/dist/src/services/StreamClient.d.ts +7 -0
- package/dist/src/types/index.d.ts +0 -1
- package/dist/src/utils/bootstrap.d.ts +4 -1
- package/dist/src/utils/chat.d.ts +1 -1
- package/dist/src/utils/color.d.ts +0 -6
- package/dist/widget.mjs +51 -53
- package/dist/widget.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { WidgetSettingsDataSchema } from './entities';
|
|
3
2
|
export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
|
|
4
3
|
id: z.ZodOptional<z.ZodNumber>;
|
|
5
4
|
created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
@@ -26,8 +25,6 @@ export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
|
|
|
26
25
|
widget_enabled: z.ZodBoolean;
|
|
27
26
|
widget_appearance: z.ZodEnum<{
|
|
28
27
|
default: "default";
|
|
29
|
-
compact: "compact";
|
|
30
|
-
full: "full";
|
|
31
28
|
hidden: "hidden";
|
|
32
29
|
}>;
|
|
33
30
|
widget_position: z.ZodEnum<{
|
|
@@ -36,11 +33,6 @@ export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
|
|
|
36
33
|
top_left: "top_left";
|
|
37
34
|
top_right: "top_right";
|
|
38
35
|
}>;
|
|
39
|
-
widget_device: z.ZodEnum<{
|
|
40
|
-
desktop: "desktop";
|
|
41
|
-
mobile: "mobile";
|
|
42
|
-
desktop_mobile: "desktop_mobile";
|
|
43
|
-
}>;
|
|
44
36
|
widget_header: z.ZodString;
|
|
45
37
|
widget_body: z.ZodString;
|
|
46
38
|
widget_greeting: z.ZodString;
|
|
@@ -49,7 +41,6 @@ export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
|
|
|
49
41
|
widget_feature_tell: z.ZodBoolean;
|
|
50
42
|
widget_feature_show: z.ZodBoolean;
|
|
51
43
|
widget_feature_do: z.ZodBoolean;
|
|
52
|
-
widget_feature_human: z.ZodBoolean;
|
|
53
44
|
widget_background_color: z.ZodString;
|
|
54
45
|
widget_text_color: z.ZodString;
|
|
55
46
|
widget_border_color: z.ZodString;
|
|
@@ -59,10 +50,8 @@ export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
|
|
|
59
50
|
widget_font_size: z.ZodString;
|
|
60
51
|
widget_width: z.ZodString;
|
|
61
52
|
widget_height: z.ZodString;
|
|
62
|
-
widget_shadow: z.ZodString;
|
|
63
53
|
widget_animation_duration: z.ZodString;
|
|
64
54
|
widget_fade_duration: z.ZodString;
|
|
65
|
-
widget_bounce_effect: z.ZodBoolean;
|
|
66
55
|
widget_chips: z.ZodArray<z.ZodObject<{
|
|
67
56
|
chip_mode: z.ZodEnum<{
|
|
68
57
|
tell: "tell";
|
|
@@ -103,8 +92,6 @@ export declare const WidgetCreateSchema: z.ZodObject<{
|
|
|
103
92
|
widget_enabled: z.ZodBoolean;
|
|
104
93
|
widget_appearance: z.ZodEnum<{
|
|
105
94
|
default: "default";
|
|
106
|
-
compact: "compact";
|
|
107
|
-
full: "full";
|
|
108
95
|
hidden: "hidden";
|
|
109
96
|
}>;
|
|
110
97
|
widget_position: z.ZodEnum<{
|
|
@@ -113,11 +100,6 @@ export declare const WidgetCreateSchema: z.ZodObject<{
|
|
|
113
100
|
top_left: "top_left";
|
|
114
101
|
top_right: "top_right";
|
|
115
102
|
}>;
|
|
116
|
-
widget_device: z.ZodEnum<{
|
|
117
|
-
desktop: "desktop";
|
|
118
|
-
mobile: "mobile";
|
|
119
|
-
desktop_mobile: "desktop_mobile";
|
|
120
|
-
}>;
|
|
121
103
|
widget_header: z.ZodString;
|
|
122
104
|
widget_body: z.ZodString;
|
|
123
105
|
widget_greeting: z.ZodString;
|
|
@@ -126,20 +108,13 @@ export declare const WidgetCreateSchema: z.ZodObject<{
|
|
|
126
108
|
widget_feature_tell: z.ZodBoolean;
|
|
127
109
|
widget_feature_show: z.ZodBoolean;
|
|
128
110
|
widget_feature_do: z.ZodBoolean;
|
|
129
|
-
widget_feature_human: z.ZodBoolean;
|
|
130
111
|
widget_background_color: z.ZodString;
|
|
131
112
|
widget_text_color: z.ZodString;
|
|
132
113
|
widget_border_color: z.ZodString;
|
|
133
114
|
widget_accent_color: z.ZodString;
|
|
134
115
|
widget_secondary_color: z.ZodString;
|
|
135
|
-
widget_border_radius: z.ZodString;
|
|
136
|
-
widget_font_size: z.ZodString;
|
|
137
116
|
widget_width: z.ZodString;
|
|
138
117
|
widget_height: z.ZodString;
|
|
139
|
-
widget_shadow: z.ZodString;
|
|
140
|
-
widget_animation_duration: z.ZodString;
|
|
141
|
-
widget_fade_duration: z.ZodString;
|
|
142
|
-
widget_bounce_effect: z.ZodBoolean;
|
|
143
118
|
widget_chips: z.ZodArray<z.ZodObject<{
|
|
144
119
|
chip_mode: z.ZodEnum<{
|
|
145
120
|
tell: "tell";
|
|
@@ -159,12 +134,18 @@ export declare const WidgetUpdateSchema: z.ZodObject<{
|
|
|
159
134
|
type: z.ZodOptional<z.ZodEnum<{
|
|
160
135
|
widget: "widget";
|
|
161
136
|
}>>;
|
|
137
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
138
|
+
created: "created";
|
|
139
|
+
active: "active";
|
|
140
|
+
suspended: "suspended";
|
|
141
|
+
}>>;
|
|
142
|
+
marketrix_id: z.ZodOptional<z.ZodString>;
|
|
143
|
+
marketrix_key: z.ZodOptional<z.ZodString>;
|
|
144
|
+
snippet: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
162
145
|
settings: z.ZodOptional<z.ZodObject<{
|
|
163
146
|
widget_enabled: z.ZodBoolean;
|
|
164
147
|
widget_appearance: z.ZodEnum<{
|
|
165
148
|
default: "default";
|
|
166
|
-
compact: "compact";
|
|
167
|
-
full: "full";
|
|
168
149
|
hidden: "hidden";
|
|
169
150
|
}>;
|
|
170
151
|
widget_position: z.ZodEnum<{
|
|
@@ -173,11 +154,6 @@ export declare const WidgetUpdateSchema: z.ZodObject<{
|
|
|
173
154
|
top_left: "top_left";
|
|
174
155
|
top_right: "top_right";
|
|
175
156
|
}>;
|
|
176
|
-
widget_device: z.ZodEnum<{
|
|
177
|
-
desktop: "desktop";
|
|
178
|
-
mobile: "mobile";
|
|
179
|
-
desktop_mobile: "desktop_mobile";
|
|
180
|
-
}>;
|
|
181
157
|
widget_header: z.ZodString;
|
|
182
158
|
widget_body: z.ZodString;
|
|
183
159
|
widget_greeting: z.ZodString;
|
|
@@ -186,20 +162,13 @@ export declare const WidgetUpdateSchema: z.ZodObject<{
|
|
|
186
162
|
widget_feature_tell: z.ZodBoolean;
|
|
187
163
|
widget_feature_show: z.ZodBoolean;
|
|
188
164
|
widget_feature_do: z.ZodBoolean;
|
|
189
|
-
widget_feature_human: z.ZodBoolean;
|
|
190
165
|
widget_background_color: z.ZodString;
|
|
191
166
|
widget_text_color: z.ZodString;
|
|
192
167
|
widget_border_color: z.ZodString;
|
|
193
168
|
widget_accent_color: z.ZodString;
|
|
194
169
|
widget_secondary_color: z.ZodString;
|
|
195
|
-
widget_border_radius: z.ZodString;
|
|
196
|
-
widget_font_size: z.ZodString;
|
|
197
170
|
widget_width: z.ZodString;
|
|
198
171
|
widget_height: z.ZodString;
|
|
199
|
-
widget_shadow: z.ZodString;
|
|
200
|
-
widget_animation_duration: z.ZodString;
|
|
201
|
-
widget_fade_duration: z.ZodString;
|
|
202
|
-
widget_bounce_effect: z.ZodBoolean;
|
|
203
172
|
widget_chips: z.ZodArray<z.ZodObject<{
|
|
204
173
|
chip_mode: z.ZodEnum<{
|
|
205
174
|
tell: "tell";
|
|
@@ -209,17 +178,8 @@ export declare const WidgetUpdateSchema: z.ZodObject<{
|
|
|
209
178
|
chip_text: z.ZodString;
|
|
210
179
|
}, z.core.$strip>>;
|
|
211
180
|
}, z.core.$strip>>;
|
|
212
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
213
|
-
created: "created";
|
|
214
|
-
active: "active";
|
|
215
|
-
suspended: "suspended";
|
|
216
|
-
}>>;
|
|
217
|
-
marketrix_id: z.ZodOptional<z.ZodString>;
|
|
218
|
-
marketrix_key: z.ZodOptional<z.ZodString>;
|
|
219
|
-
snippet: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
220
181
|
}, z.core.$strip>;
|
|
221
182
|
export type WidgetUpdateData = z.infer<typeof WidgetUpdateSchema>;
|
|
222
|
-
export type WidgetSettingsKey = keyof z.infer<typeof WidgetSettingsDataSchema>;
|
|
223
183
|
/** Server → Widget events. */
|
|
224
184
|
export declare const WidgetEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
225
185
|
type: z.ZodLiteral<"registered">;
|
|
@@ -249,8 +209,6 @@ export declare const WidgetEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
249
209
|
has_question: "has_question";
|
|
250
210
|
}>;
|
|
251
211
|
message: z.ZodOptional<z.ZodString>;
|
|
252
|
-
task_id: z.ZodOptional<z.ZodString>;
|
|
253
|
-
timestamp: z.ZodOptional<z.ZodNumber>;
|
|
254
212
|
}, z.core.$strip>, z.ZodObject<{
|
|
255
213
|
type: z.ZodLiteral<"tool/call">;
|
|
256
214
|
tool_call_id: z.ZodString;
|
|
@@ -323,8 +281,6 @@ export declare const widgetCreate: import("@orpc/contract").ContractProcedureBui
|
|
|
323
281
|
widget_enabled: z.ZodBoolean;
|
|
324
282
|
widget_appearance: z.ZodEnum<{
|
|
325
283
|
default: "default";
|
|
326
|
-
compact: "compact";
|
|
327
|
-
full: "full";
|
|
328
284
|
hidden: "hidden";
|
|
329
285
|
}>;
|
|
330
286
|
widget_position: z.ZodEnum<{
|
|
@@ -333,11 +289,6 @@ export declare const widgetCreate: import("@orpc/contract").ContractProcedureBui
|
|
|
333
289
|
top_left: "top_left";
|
|
334
290
|
top_right: "top_right";
|
|
335
291
|
}>;
|
|
336
|
-
widget_device: z.ZodEnum<{
|
|
337
|
-
desktop: "desktop";
|
|
338
|
-
mobile: "mobile";
|
|
339
|
-
desktop_mobile: "desktop_mobile";
|
|
340
|
-
}>;
|
|
341
292
|
widget_header: z.ZodString;
|
|
342
293
|
widget_body: z.ZodString;
|
|
343
294
|
widget_greeting: z.ZodString;
|
|
@@ -346,20 +297,13 @@ export declare const widgetCreate: import("@orpc/contract").ContractProcedureBui
|
|
|
346
297
|
widget_feature_tell: z.ZodBoolean;
|
|
347
298
|
widget_feature_show: z.ZodBoolean;
|
|
348
299
|
widget_feature_do: z.ZodBoolean;
|
|
349
|
-
widget_feature_human: z.ZodBoolean;
|
|
350
300
|
widget_background_color: z.ZodString;
|
|
351
301
|
widget_text_color: z.ZodString;
|
|
352
302
|
widget_border_color: z.ZodString;
|
|
353
303
|
widget_accent_color: z.ZodString;
|
|
354
304
|
widget_secondary_color: z.ZodString;
|
|
355
|
-
widget_border_radius: z.ZodString;
|
|
356
|
-
widget_font_size: z.ZodString;
|
|
357
305
|
widget_width: z.ZodString;
|
|
358
306
|
widget_height: z.ZodString;
|
|
359
|
-
widget_shadow: z.ZodString;
|
|
360
|
-
widget_animation_duration: z.ZodString;
|
|
361
|
-
widget_fade_duration: z.ZodString;
|
|
362
|
-
widget_bounce_effect: z.ZodBoolean;
|
|
363
307
|
widget_chips: z.ZodArray<z.ZodObject<{
|
|
364
308
|
chip_mode: z.ZodEnum<{
|
|
365
309
|
tell: "tell";
|
|
@@ -381,8 +325,6 @@ export declare const widgetCreate: import("@orpc/contract").ContractProcedureBui
|
|
|
381
325
|
widget_enabled: z.ZodBoolean;
|
|
382
326
|
widget_appearance: z.ZodEnum<{
|
|
383
327
|
default: "default";
|
|
384
|
-
compact: "compact";
|
|
385
|
-
full: "full";
|
|
386
328
|
hidden: "hidden";
|
|
387
329
|
}>;
|
|
388
330
|
widget_position: z.ZodEnum<{
|
|
@@ -391,11 +333,6 @@ export declare const widgetCreate: import("@orpc/contract").ContractProcedureBui
|
|
|
391
333
|
top_left: "top_left";
|
|
392
334
|
top_right: "top_right";
|
|
393
335
|
}>;
|
|
394
|
-
widget_device: z.ZodEnum<{
|
|
395
|
-
desktop: "desktop";
|
|
396
|
-
mobile: "mobile";
|
|
397
|
-
desktop_mobile: "desktop_mobile";
|
|
398
|
-
}>;
|
|
399
336
|
widget_header: z.ZodString;
|
|
400
337
|
widget_body: z.ZodString;
|
|
401
338
|
widget_greeting: z.ZodString;
|
|
@@ -404,7 +341,6 @@ export declare const widgetCreate: import("@orpc/contract").ContractProcedureBui
|
|
|
404
341
|
widget_feature_tell: z.ZodBoolean;
|
|
405
342
|
widget_feature_show: z.ZodBoolean;
|
|
406
343
|
widget_feature_do: z.ZodBoolean;
|
|
407
|
-
widget_feature_human: z.ZodBoolean;
|
|
408
344
|
widget_background_color: z.ZodString;
|
|
409
345
|
widget_text_color: z.ZodString;
|
|
410
346
|
widget_border_color: z.ZodString;
|
|
@@ -414,10 +350,8 @@ export declare const widgetCreate: import("@orpc/contract").ContractProcedureBui
|
|
|
414
350
|
widget_font_size: z.ZodString;
|
|
415
351
|
widget_width: z.ZodString;
|
|
416
352
|
widget_height: z.ZodString;
|
|
417
|
-
widget_shadow: z.ZodString;
|
|
418
353
|
widget_animation_duration: z.ZodString;
|
|
419
354
|
widget_fade_duration: z.ZodString;
|
|
420
|
-
widget_bounce_effect: z.ZodBoolean;
|
|
421
355
|
widget_chips: z.ZodArray<z.ZodObject<{
|
|
422
356
|
chip_mode: z.ZodEnum<{
|
|
423
357
|
tell: "tell";
|
|
@@ -458,8 +392,6 @@ export declare const widgetSearch: import("@orpc/contract").ContractProcedureBui
|
|
|
458
392
|
widget_enabled: z.ZodBoolean;
|
|
459
393
|
widget_appearance: z.ZodEnum<{
|
|
460
394
|
default: "default";
|
|
461
|
-
compact: "compact";
|
|
462
|
-
full: "full";
|
|
463
395
|
hidden: "hidden";
|
|
464
396
|
}>;
|
|
465
397
|
widget_position: z.ZodEnum<{
|
|
@@ -468,11 +400,6 @@ export declare const widgetSearch: import("@orpc/contract").ContractProcedureBui
|
|
|
468
400
|
top_left: "top_left";
|
|
469
401
|
top_right: "top_right";
|
|
470
402
|
}>;
|
|
471
|
-
widget_device: z.ZodEnum<{
|
|
472
|
-
desktop: "desktop";
|
|
473
|
-
mobile: "mobile";
|
|
474
|
-
desktop_mobile: "desktop_mobile";
|
|
475
|
-
}>;
|
|
476
403
|
widget_header: z.ZodString;
|
|
477
404
|
widget_body: z.ZodString;
|
|
478
405
|
widget_greeting: z.ZodString;
|
|
@@ -481,7 +408,6 @@ export declare const widgetSearch: import("@orpc/contract").ContractProcedureBui
|
|
|
481
408
|
widget_feature_tell: z.ZodBoolean;
|
|
482
409
|
widget_feature_show: z.ZodBoolean;
|
|
483
410
|
widget_feature_do: z.ZodBoolean;
|
|
484
|
-
widget_feature_human: z.ZodBoolean;
|
|
485
411
|
widget_background_color: z.ZodString;
|
|
486
412
|
widget_text_color: z.ZodString;
|
|
487
413
|
widget_border_color: z.ZodString;
|
|
@@ -491,10 +417,8 @@ export declare const widgetSearch: import("@orpc/contract").ContractProcedureBui
|
|
|
491
417
|
widget_font_size: z.ZodString;
|
|
492
418
|
widget_width: z.ZodString;
|
|
493
419
|
widget_height: z.ZodString;
|
|
494
|
-
widget_shadow: z.ZodString;
|
|
495
420
|
widget_animation_duration: z.ZodString;
|
|
496
421
|
widget_fade_duration: z.ZodString;
|
|
497
|
-
widget_bounce_effect: z.ZodBoolean;
|
|
498
422
|
widget_chips: z.ZodArray<z.ZodObject<{
|
|
499
423
|
chip_mode: z.ZodEnum<{
|
|
500
424
|
tell: "tell";
|
|
@@ -525,8 +449,6 @@ export declare const widgetDefaultGet: import("@orpc/contract").ContractProcedur
|
|
|
525
449
|
widget_enabled: z.ZodBoolean;
|
|
526
450
|
widget_appearance: z.ZodEnum<{
|
|
527
451
|
default: "default";
|
|
528
|
-
compact: "compact";
|
|
529
|
-
full: "full";
|
|
530
452
|
hidden: "hidden";
|
|
531
453
|
}>;
|
|
532
454
|
widget_position: z.ZodEnum<{
|
|
@@ -535,11 +457,6 @@ export declare const widgetDefaultGet: import("@orpc/contract").ContractProcedur
|
|
|
535
457
|
top_left: "top_left";
|
|
536
458
|
top_right: "top_right";
|
|
537
459
|
}>;
|
|
538
|
-
widget_device: z.ZodEnum<{
|
|
539
|
-
desktop: "desktop";
|
|
540
|
-
mobile: "mobile";
|
|
541
|
-
desktop_mobile: "desktop_mobile";
|
|
542
|
-
}>;
|
|
543
460
|
widget_header: z.ZodString;
|
|
544
461
|
widget_body: z.ZodString;
|
|
545
462
|
widget_greeting: z.ZodString;
|
|
@@ -548,7 +465,6 @@ export declare const widgetDefaultGet: import("@orpc/contract").ContractProcedur
|
|
|
548
465
|
widget_feature_tell: z.ZodBoolean;
|
|
549
466
|
widget_feature_show: z.ZodBoolean;
|
|
550
467
|
widget_feature_do: z.ZodBoolean;
|
|
551
|
-
widget_feature_human: z.ZodBoolean;
|
|
552
468
|
widget_background_color: z.ZodString;
|
|
553
469
|
widget_text_color: z.ZodString;
|
|
554
470
|
widget_border_color: z.ZodString;
|
|
@@ -558,10 +474,8 @@ export declare const widgetDefaultGet: import("@orpc/contract").ContractProcedur
|
|
|
558
474
|
widget_font_size: z.ZodString;
|
|
559
475
|
widget_width: z.ZodString;
|
|
560
476
|
widget_height: z.ZodString;
|
|
561
|
-
widget_shadow: z.ZodString;
|
|
562
477
|
widget_animation_duration: z.ZodString;
|
|
563
478
|
widget_fade_duration: z.ZodString;
|
|
564
|
-
widget_bounce_effect: z.ZodBoolean;
|
|
565
479
|
widget_chips: z.ZodArray<z.ZodObject<{
|
|
566
480
|
chip_mode: z.ZodEnum<{
|
|
567
481
|
tell: "tell";
|
|
@@ -579,12 +493,18 @@ export declare const widgetUpdate: import("@orpc/contract").ContractProcedureBui
|
|
|
579
493
|
type: z.ZodOptional<z.ZodEnum<{
|
|
580
494
|
widget: "widget";
|
|
581
495
|
}>>;
|
|
496
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
497
|
+
created: "created";
|
|
498
|
+
active: "active";
|
|
499
|
+
suspended: "suspended";
|
|
500
|
+
}>>;
|
|
501
|
+
marketrix_id: z.ZodOptional<z.ZodString>;
|
|
502
|
+
marketrix_key: z.ZodOptional<z.ZodString>;
|
|
503
|
+
snippet: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
582
504
|
settings: z.ZodOptional<z.ZodObject<{
|
|
583
505
|
widget_enabled: z.ZodBoolean;
|
|
584
506
|
widget_appearance: z.ZodEnum<{
|
|
585
507
|
default: "default";
|
|
586
|
-
compact: "compact";
|
|
587
|
-
full: "full";
|
|
588
508
|
hidden: "hidden";
|
|
589
509
|
}>;
|
|
590
510
|
widget_position: z.ZodEnum<{
|
|
@@ -593,11 +513,6 @@ export declare const widgetUpdate: import("@orpc/contract").ContractProcedureBui
|
|
|
593
513
|
top_left: "top_left";
|
|
594
514
|
top_right: "top_right";
|
|
595
515
|
}>;
|
|
596
|
-
widget_device: z.ZodEnum<{
|
|
597
|
-
desktop: "desktop";
|
|
598
|
-
mobile: "mobile";
|
|
599
|
-
desktop_mobile: "desktop_mobile";
|
|
600
|
-
}>;
|
|
601
516
|
widget_header: z.ZodString;
|
|
602
517
|
widget_body: z.ZodString;
|
|
603
518
|
widget_greeting: z.ZodString;
|
|
@@ -606,20 +521,13 @@ export declare const widgetUpdate: import("@orpc/contract").ContractProcedureBui
|
|
|
606
521
|
widget_feature_tell: z.ZodBoolean;
|
|
607
522
|
widget_feature_show: z.ZodBoolean;
|
|
608
523
|
widget_feature_do: z.ZodBoolean;
|
|
609
|
-
widget_feature_human: z.ZodBoolean;
|
|
610
524
|
widget_background_color: z.ZodString;
|
|
611
525
|
widget_text_color: z.ZodString;
|
|
612
526
|
widget_border_color: z.ZodString;
|
|
613
527
|
widget_accent_color: z.ZodString;
|
|
614
528
|
widget_secondary_color: z.ZodString;
|
|
615
|
-
widget_border_radius: z.ZodString;
|
|
616
|
-
widget_font_size: z.ZodString;
|
|
617
529
|
widget_width: z.ZodString;
|
|
618
530
|
widget_height: z.ZodString;
|
|
619
|
-
widget_shadow: z.ZodString;
|
|
620
|
-
widget_animation_duration: z.ZodString;
|
|
621
|
-
widget_fade_duration: z.ZodString;
|
|
622
|
-
widget_bounce_effect: z.ZodBoolean;
|
|
623
531
|
widget_chips: z.ZodArray<z.ZodObject<{
|
|
624
532
|
chip_mode: z.ZodEnum<{
|
|
625
533
|
tell: "tell";
|
|
@@ -629,14 +537,6 @@ export declare const widgetUpdate: import("@orpc/contract").ContractProcedureBui
|
|
|
629
537
|
chip_text: z.ZodString;
|
|
630
538
|
}, z.core.$strip>>;
|
|
631
539
|
}, z.core.$strip>>;
|
|
632
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
633
|
-
created: "created";
|
|
634
|
-
active: "active";
|
|
635
|
-
suspended: "suspended";
|
|
636
|
-
}>>;
|
|
637
|
-
marketrix_id: z.ZodOptional<z.ZodString>;
|
|
638
|
-
marketrix_key: z.ZodOptional<z.ZodString>;
|
|
639
|
-
snippet: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
640
540
|
widget_id: z.ZodCoercedNumber<unknown>;
|
|
641
541
|
}, z.core.$strip>, z.ZodObject<{
|
|
642
542
|
id: z.ZodOptional<z.ZodNumber>;
|
|
@@ -650,8 +550,6 @@ export declare const widgetUpdate: import("@orpc/contract").ContractProcedureBui
|
|
|
650
550
|
widget_enabled: z.ZodBoolean;
|
|
651
551
|
widget_appearance: z.ZodEnum<{
|
|
652
552
|
default: "default";
|
|
653
|
-
compact: "compact";
|
|
654
|
-
full: "full";
|
|
655
553
|
hidden: "hidden";
|
|
656
554
|
}>;
|
|
657
555
|
widget_position: z.ZodEnum<{
|
|
@@ -660,11 +558,6 @@ export declare const widgetUpdate: import("@orpc/contract").ContractProcedureBui
|
|
|
660
558
|
top_left: "top_left";
|
|
661
559
|
top_right: "top_right";
|
|
662
560
|
}>;
|
|
663
|
-
widget_device: z.ZodEnum<{
|
|
664
|
-
desktop: "desktop";
|
|
665
|
-
mobile: "mobile";
|
|
666
|
-
desktop_mobile: "desktop_mobile";
|
|
667
|
-
}>;
|
|
668
561
|
widget_header: z.ZodString;
|
|
669
562
|
widget_body: z.ZodString;
|
|
670
563
|
widget_greeting: z.ZodString;
|
|
@@ -673,7 +566,6 @@ export declare const widgetUpdate: import("@orpc/contract").ContractProcedureBui
|
|
|
673
566
|
widget_feature_tell: z.ZodBoolean;
|
|
674
567
|
widget_feature_show: z.ZodBoolean;
|
|
675
568
|
widget_feature_do: z.ZodBoolean;
|
|
676
|
-
widget_feature_human: z.ZodBoolean;
|
|
677
569
|
widget_background_color: z.ZodString;
|
|
678
570
|
widget_text_color: z.ZodString;
|
|
679
571
|
widget_border_color: z.ZodString;
|
|
@@ -683,10 +575,8 @@ export declare const widgetUpdate: import("@orpc/contract").ContractProcedureBui
|
|
|
683
575
|
widget_font_size: z.ZodString;
|
|
684
576
|
widget_width: z.ZodString;
|
|
685
577
|
widget_height: z.ZodString;
|
|
686
|
-
widget_shadow: z.ZodString;
|
|
687
578
|
widget_animation_duration: z.ZodString;
|
|
688
579
|
widget_fade_duration: z.ZodString;
|
|
689
|
-
widget_bounce_effect: z.ZodBoolean;
|
|
690
580
|
widget_chips: z.ZodArray<z.ZodObject<{
|
|
691
581
|
chip_mode: z.ZodEnum<{
|
|
692
582
|
tell: "tell";
|
|
@@ -737,8 +627,6 @@ export declare const widgetStream: import("@orpc/contract").ContractProcedureBui
|
|
|
737
627
|
type: "task/status";
|
|
738
628
|
status: "running" | "completed" | "failed" | "stopped" | "has_question";
|
|
739
629
|
message?: string | undefined;
|
|
740
|
-
task_id?: string | undefined;
|
|
741
|
-
timestamp?: number | undefined;
|
|
742
630
|
} | {
|
|
743
631
|
type: "tool/call";
|
|
744
632
|
tool_call_id: string;
|
|
@@ -768,8 +656,6 @@ export declare const widgetStream: import("@orpc/contract").ContractProcedureBui
|
|
|
768
656
|
type: "task/status";
|
|
769
657
|
status: "running" | "completed" | "failed" | "stopped" | "has_question";
|
|
770
658
|
message?: string | undefined;
|
|
771
|
-
task_id?: string | undefined;
|
|
772
|
-
timestamp?: number | undefined;
|
|
773
659
|
} | {
|
|
774
660
|
type: "tool/call";
|
|
775
661
|
tool_call_id: string;
|
|
@@ -843,8 +729,6 @@ export declare const widgetRoutes: {
|
|
|
843
729
|
widget_enabled: z.ZodBoolean;
|
|
844
730
|
widget_appearance: z.ZodEnum<{
|
|
845
731
|
default: "default";
|
|
846
|
-
compact: "compact";
|
|
847
|
-
full: "full";
|
|
848
732
|
hidden: "hidden";
|
|
849
733
|
}>;
|
|
850
734
|
widget_position: z.ZodEnum<{
|
|
@@ -853,11 +737,6 @@ export declare const widgetRoutes: {
|
|
|
853
737
|
top_left: "top_left";
|
|
854
738
|
top_right: "top_right";
|
|
855
739
|
}>;
|
|
856
|
-
widget_device: z.ZodEnum<{
|
|
857
|
-
desktop: "desktop";
|
|
858
|
-
mobile: "mobile";
|
|
859
|
-
desktop_mobile: "desktop_mobile";
|
|
860
|
-
}>;
|
|
861
740
|
widget_header: z.ZodString;
|
|
862
741
|
widget_body: z.ZodString;
|
|
863
742
|
widget_greeting: z.ZodString;
|
|
@@ -866,20 +745,13 @@ export declare const widgetRoutes: {
|
|
|
866
745
|
widget_feature_tell: z.ZodBoolean;
|
|
867
746
|
widget_feature_show: z.ZodBoolean;
|
|
868
747
|
widget_feature_do: z.ZodBoolean;
|
|
869
|
-
widget_feature_human: z.ZodBoolean;
|
|
870
748
|
widget_background_color: z.ZodString;
|
|
871
749
|
widget_text_color: z.ZodString;
|
|
872
750
|
widget_border_color: z.ZodString;
|
|
873
751
|
widget_accent_color: z.ZodString;
|
|
874
752
|
widget_secondary_color: z.ZodString;
|
|
875
|
-
widget_border_radius: z.ZodString;
|
|
876
|
-
widget_font_size: z.ZodString;
|
|
877
753
|
widget_width: z.ZodString;
|
|
878
754
|
widget_height: z.ZodString;
|
|
879
|
-
widget_shadow: z.ZodString;
|
|
880
|
-
widget_animation_duration: z.ZodString;
|
|
881
|
-
widget_fade_duration: z.ZodString;
|
|
882
|
-
widget_bounce_effect: z.ZodBoolean;
|
|
883
755
|
widget_chips: z.ZodArray<z.ZodObject<{
|
|
884
756
|
chip_mode: z.ZodEnum<{
|
|
885
757
|
tell: "tell";
|
|
@@ -901,8 +773,6 @@ export declare const widgetRoutes: {
|
|
|
901
773
|
widget_enabled: z.ZodBoolean;
|
|
902
774
|
widget_appearance: z.ZodEnum<{
|
|
903
775
|
default: "default";
|
|
904
|
-
compact: "compact";
|
|
905
|
-
full: "full";
|
|
906
776
|
hidden: "hidden";
|
|
907
777
|
}>;
|
|
908
778
|
widget_position: z.ZodEnum<{
|
|
@@ -911,11 +781,6 @@ export declare const widgetRoutes: {
|
|
|
911
781
|
top_left: "top_left";
|
|
912
782
|
top_right: "top_right";
|
|
913
783
|
}>;
|
|
914
|
-
widget_device: z.ZodEnum<{
|
|
915
|
-
desktop: "desktop";
|
|
916
|
-
mobile: "mobile";
|
|
917
|
-
desktop_mobile: "desktop_mobile";
|
|
918
|
-
}>;
|
|
919
784
|
widget_header: z.ZodString;
|
|
920
785
|
widget_body: z.ZodString;
|
|
921
786
|
widget_greeting: z.ZodString;
|
|
@@ -924,7 +789,6 @@ export declare const widgetRoutes: {
|
|
|
924
789
|
widget_feature_tell: z.ZodBoolean;
|
|
925
790
|
widget_feature_show: z.ZodBoolean;
|
|
926
791
|
widget_feature_do: z.ZodBoolean;
|
|
927
|
-
widget_feature_human: z.ZodBoolean;
|
|
928
792
|
widget_background_color: z.ZodString;
|
|
929
793
|
widget_text_color: z.ZodString;
|
|
930
794
|
widget_border_color: z.ZodString;
|
|
@@ -934,10 +798,8 @@ export declare const widgetRoutes: {
|
|
|
934
798
|
widget_font_size: z.ZodString;
|
|
935
799
|
widget_width: z.ZodString;
|
|
936
800
|
widget_height: z.ZodString;
|
|
937
|
-
widget_shadow: z.ZodString;
|
|
938
801
|
widget_animation_duration: z.ZodString;
|
|
939
802
|
widget_fade_duration: z.ZodString;
|
|
940
|
-
widget_bounce_effect: z.ZodBoolean;
|
|
941
803
|
widget_chips: z.ZodArray<z.ZodObject<{
|
|
942
804
|
chip_mode: z.ZodEnum<{
|
|
943
805
|
tell: "tell";
|
|
@@ -978,8 +840,6 @@ export declare const widgetRoutes: {
|
|
|
978
840
|
widget_enabled: z.ZodBoolean;
|
|
979
841
|
widget_appearance: z.ZodEnum<{
|
|
980
842
|
default: "default";
|
|
981
|
-
compact: "compact";
|
|
982
|
-
full: "full";
|
|
983
843
|
hidden: "hidden";
|
|
984
844
|
}>;
|
|
985
845
|
widget_position: z.ZodEnum<{
|
|
@@ -988,11 +848,6 @@ export declare const widgetRoutes: {
|
|
|
988
848
|
top_left: "top_left";
|
|
989
849
|
top_right: "top_right";
|
|
990
850
|
}>;
|
|
991
|
-
widget_device: z.ZodEnum<{
|
|
992
|
-
desktop: "desktop";
|
|
993
|
-
mobile: "mobile";
|
|
994
|
-
desktop_mobile: "desktop_mobile";
|
|
995
|
-
}>;
|
|
996
851
|
widget_header: z.ZodString;
|
|
997
852
|
widget_body: z.ZodString;
|
|
998
853
|
widget_greeting: z.ZodString;
|
|
@@ -1001,7 +856,6 @@ export declare const widgetRoutes: {
|
|
|
1001
856
|
widget_feature_tell: z.ZodBoolean;
|
|
1002
857
|
widget_feature_show: z.ZodBoolean;
|
|
1003
858
|
widget_feature_do: z.ZodBoolean;
|
|
1004
|
-
widget_feature_human: z.ZodBoolean;
|
|
1005
859
|
widget_background_color: z.ZodString;
|
|
1006
860
|
widget_text_color: z.ZodString;
|
|
1007
861
|
widget_border_color: z.ZodString;
|
|
@@ -1011,10 +865,8 @@ export declare const widgetRoutes: {
|
|
|
1011
865
|
widget_font_size: z.ZodString;
|
|
1012
866
|
widget_width: z.ZodString;
|
|
1013
867
|
widget_height: z.ZodString;
|
|
1014
|
-
widget_shadow: z.ZodString;
|
|
1015
868
|
widget_animation_duration: z.ZodString;
|
|
1016
869
|
widget_fade_duration: z.ZodString;
|
|
1017
|
-
widget_bounce_effect: z.ZodBoolean;
|
|
1018
870
|
widget_chips: z.ZodArray<z.ZodObject<{
|
|
1019
871
|
chip_mode: z.ZodEnum<{
|
|
1020
872
|
tell: "tell";
|
|
@@ -1045,8 +897,6 @@ export declare const widgetRoutes: {
|
|
|
1045
897
|
widget_enabled: z.ZodBoolean;
|
|
1046
898
|
widget_appearance: z.ZodEnum<{
|
|
1047
899
|
default: "default";
|
|
1048
|
-
compact: "compact";
|
|
1049
|
-
full: "full";
|
|
1050
900
|
hidden: "hidden";
|
|
1051
901
|
}>;
|
|
1052
902
|
widget_position: z.ZodEnum<{
|
|
@@ -1055,11 +905,6 @@ export declare const widgetRoutes: {
|
|
|
1055
905
|
top_left: "top_left";
|
|
1056
906
|
top_right: "top_right";
|
|
1057
907
|
}>;
|
|
1058
|
-
widget_device: z.ZodEnum<{
|
|
1059
|
-
desktop: "desktop";
|
|
1060
|
-
mobile: "mobile";
|
|
1061
|
-
desktop_mobile: "desktop_mobile";
|
|
1062
|
-
}>;
|
|
1063
908
|
widget_header: z.ZodString;
|
|
1064
909
|
widget_body: z.ZodString;
|
|
1065
910
|
widget_greeting: z.ZodString;
|
|
@@ -1068,7 +913,6 @@ export declare const widgetRoutes: {
|
|
|
1068
913
|
widget_feature_tell: z.ZodBoolean;
|
|
1069
914
|
widget_feature_show: z.ZodBoolean;
|
|
1070
915
|
widget_feature_do: z.ZodBoolean;
|
|
1071
|
-
widget_feature_human: z.ZodBoolean;
|
|
1072
916
|
widget_background_color: z.ZodString;
|
|
1073
917
|
widget_text_color: z.ZodString;
|
|
1074
918
|
widget_border_color: z.ZodString;
|
|
@@ -1078,10 +922,8 @@ export declare const widgetRoutes: {
|
|
|
1078
922
|
widget_font_size: z.ZodString;
|
|
1079
923
|
widget_width: z.ZodString;
|
|
1080
924
|
widget_height: z.ZodString;
|
|
1081
|
-
widget_shadow: z.ZodString;
|
|
1082
925
|
widget_animation_duration: z.ZodString;
|
|
1083
926
|
widget_fade_duration: z.ZodString;
|
|
1084
|
-
widget_bounce_effect: z.ZodBoolean;
|
|
1085
927
|
widget_chips: z.ZodArray<z.ZodObject<{
|
|
1086
928
|
chip_mode: z.ZodEnum<{
|
|
1087
929
|
tell: "tell";
|
|
@@ -1099,12 +941,18 @@ export declare const widgetRoutes: {
|
|
|
1099
941
|
type: z.ZodOptional<z.ZodEnum<{
|
|
1100
942
|
widget: "widget";
|
|
1101
943
|
}>>;
|
|
944
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
945
|
+
created: "created";
|
|
946
|
+
active: "active";
|
|
947
|
+
suspended: "suspended";
|
|
948
|
+
}>>;
|
|
949
|
+
marketrix_id: z.ZodOptional<z.ZodString>;
|
|
950
|
+
marketrix_key: z.ZodOptional<z.ZodString>;
|
|
951
|
+
snippet: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1102
952
|
settings: z.ZodOptional<z.ZodObject<{
|
|
1103
953
|
widget_enabled: z.ZodBoolean;
|
|
1104
954
|
widget_appearance: z.ZodEnum<{
|
|
1105
955
|
default: "default";
|
|
1106
|
-
compact: "compact";
|
|
1107
|
-
full: "full";
|
|
1108
956
|
hidden: "hidden";
|
|
1109
957
|
}>;
|
|
1110
958
|
widget_position: z.ZodEnum<{
|
|
@@ -1113,11 +961,6 @@ export declare const widgetRoutes: {
|
|
|
1113
961
|
top_left: "top_left";
|
|
1114
962
|
top_right: "top_right";
|
|
1115
963
|
}>;
|
|
1116
|
-
widget_device: z.ZodEnum<{
|
|
1117
|
-
desktop: "desktop";
|
|
1118
|
-
mobile: "mobile";
|
|
1119
|
-
desktop_mobile: "desktop_mobile";
|
|
1120
|
-
}>;
|
|
1121
964
|
widget_header: z.ZodString;
|
|
1122
965
|
widget_body: z.ZodString;
|
|
1123
966
|
widget_greeting: z.ZodString;
|
|
@@ -1126,20 +969,13 @@ export declare const widgetRoutes: {
|
|
|
1126
969
|
widget_feature_tell: z.ZodBoolean;
|
|
1127
970
|
widget_feature_show: z.ZodBoolean;
|
|
1128
971
|
widget_feature_do: z.ZodBoolean;
|
|
1129
|
-
widget_feature_human: z.ZodBoolean;
|
|
1130
972
|
widget_background_color: z.ZodString;
|
|
1131
973
|
widget_text_color: z.ZodString;
|
|
1132
974
|
widget_border_color: z.ZodString;
|
|
1133
975
|
widget_accent_color: z.ZodString;
|
|
1134
976
|
widget_secondary_color: z.ZodString;
|
|
1135
|
-
widget_border_radius: z.ZodString;
|
|
1136
|
-
widget_font_size: z.ZodString;
|
|
1137
977
|
widget_width: z.ZodString;
|
|
1138
978
|
widget_height: z.ZodString;
|
|
1139
|
-
widget_shadow: z.ZodString;
|
|
1140
|
-
widget_animation_duration: z.ZodString;
|
|
1141
|
-
widget_fade_duration: z.ZodString;
|
|
1142
|
-
widget_bounce_effect: z.ZodBoolean;
|
|
1143
979
|
widget_chips: z.ZodArray<z.ZodObject<{
|
|
1144
980
|
chip_mode: z.ZodEnum<{
|
|
1145
981
|
tell: "tell";
|
|
@@ -1149,14 +985,6 @@ export declare const widgetRoutes: {
|
|
|
1149
985
|
chip_text: z.ZodString;
|
|
1150
986
|
}, z.core.$strip>>;
|
|
1151
987
|
}, z.core.$strip>>;
|
|
1152
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
1153
|
-
created: "created";
|
|
1154
|
-
active: "active";
|
|
1155
|
-
suspended: "suspended";
|
|
1156
|
-
}>>;
|
|
1157
|
-
marketrix_id: z.ZodOptional<z.ZodString>;
|
|
1158
|
-
marketrix_key: z.ZodOptional<z.ZodString>;
|
|
1159
|
-
snippet: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
1160
988
|
widget_id: z.ZodCoercedNumber<unknown>;
|
|
1161
989
|
}, z.core.$strip>, z.ZodObject<{
|
|
1162
990
|
id: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1170,8 +998,6 @@ export declare const widgetRoutes: {
|
|
|
1170
998
|
widget_enabled: z.ZodBoolean;
|
|
1171
999
|
widget_appearance: z.ZodEnum<{
|
|
1172
1000
|
default: "default";
|
|
1173
|
-
compact: "compact";
|
|
1174
|
-
full: "full";
|
|
1175
1001
|
hidden: "hidden";
|
|
1176
1002
|
}>;
|
|
1177
1003
|
widget_position: z.ZodEnum<{
|
|
@@ -1180,11 +1006,6 @@ export declare const widgetRoutes: {
|
|
|
1180
1006
|
top_left: "top_left";
|
|
1181
1007
|
top_right: "top_right";
|
|
1182
1008
|
}>;
|
|
1183
|
-
widget_device: z.ZodEnum<{
|
|
1184
|
-
desktop: "desktop";
|
|
1185
|
-
mobile: "mobile";
|
|
1186
|
-
desktop_mobile: "desktop_mobile";
|
|
1187
|
-
}>;
|
|
1188
1009
|
widget_header: z.ZodString;
|
|
1189
1010
|
widget_body: z.ZodString;
|
|
1190
1011
|
widget_greeting: z.ZodString;
|
|
@@ -1193,7 +1014,6 @@ export declare const widgetRoutes: {
|
|
|
1193
1014
|
widget_feature_tell: z.ZodBoolean;
|
|
1194
1015
|
widget_feature_show: z.ZodBoolean;
|
|
1195
1016
|
widget_feature_do: z.ZodBoolean;
|
|
1196
|
-
widget_feature_human: z.ZodBoolean;
|
|
1197
1017
|
widget_background_color: z.ZodString;
|
|
1198
1018
|
widget_text_color: z.ZodString;
|
|
1199
1019
|
widget_border_color: z.ZodString;
|
|
@@ -1203,10 +1023,8 @@ export declare const widgetRoutes: {
|
|
|
1203
1023
|
widget_font_size: z.ZodString;
|
|
1204
1024
|
widget_width: z.ZodString;
|
|
1205
1025
|
widget_height: z.ZodString;
|
|
1206
|
-
widget_shadow: z.ZodString;
|
|
1207
1026
|
widget_animation_duration: z.ZodString;
|
|
1208
1027
|
widget_fade_duration: z.ZodString;
|
|
1209
|
-
widget_bounce_effect: z.ZodBoolean;
|
|
1210
1028
|
widget_chips: z.ZodArray<z.ZodObject<{
|
|
1211
1029
|
chip_mode: z.ZodEnum<{
|
|
1212
1030
|
tell: "tell";
|
|
@@ -1257,8 +1075,6 @@ export declare const widgetRoutes: {
|
|
|
1257
1075
|
type: "task/status";
|
|
1258
1076
|
status: "running" | "completed" | "failed" | "stopped" | "has_question";
|
|
1259
1077
|
message?: string | undefined;
|
|
1260
|
-
task_id?: string | undefined;
|
|
1261
|
-
timestamp?: number | undefined;
|
|
1262
1078
|
} | {
|
|
1263
1079
|
type: "tool/call";
|
|
1264
1080
|
tool_call_id: string;
|
|
@@ -1288,8 +1104,6 @@ export declare const widgetRoutes: {
|
|
|
1288
1104
|
type: "task/status";
|
|
1289
1105
|
status: "running" | "completed" | "failed" | "stopped" | "has_question";
|
|
1290
1106
|
message?: string | undefined;
|
|
1291
|
-
task_id?: string | undefined;
|
|
1292
|
-
timestamp?: number | undefined;
|
|
1293
1107
|
} | {
|
|
1294
1108
|
type: "tool/call";
|
|
1295
1109
|
tool_call_id: string;
|