@marketrix.ai/widget 3.8.501 → 3.8.502

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.
@@ -144,63 +144,6 @@ export declare const widgetContract: {
144
144
  workspace_id: import("zod").ZodNumber;
145
145
  username: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
146
146
  allowed_domains: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
147
- widgets: import("zod").ZodArray<import("zod").ZodObject<{
148
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
149
- created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
150
- updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
151
- application_id: import("zod").ZodNumber;
152
- type: import("zod").ZodEnum<{
153
- widget: "widget";
154
- }>;
155
- settings: import("zod").ZodObject<{
156
- widget_enabled: import("zod").ZodBoolean;
157
- widget_appearance: import("zod").ZodEnum<{
158
- default: "default";
159
- hidden: "hidden";
160
- }>;
161
- widget_position: import("zod").ZodEnum<{
162
- bottom_left: "bottom_left";
163
- bottom_right: "bottom_right";
164
- top_left: "top_left";
165
- top_right: "top_right";
166
- }>;
167
- widget_header: import("zod").ZodString;
168
- widget_body: import("zod").ZodString;
169
- widget_greeting: import("zod").ZodString;
170
- widget_greeting_toast: import("zod").ZodBoolean;
171
- widget_recording: import("zod").ZodBoolean;
172
- widget_feature_tell: import("zod").ZodBoolean;
173
- widget_feature_show: import("zod").ZodBoolean;
174
- widget_feature_do: import("zod").ZodBoolean;
175
- widget_background_color: import("zod").ZodString;
176
- widget_text_color: import("zod").ZodString;
177
- widget_border_color: import("zod").ZodString;
178
- widget_accent_color: import("zod").ZodString;
179
- widget_secondary_color: import("zod").ZodString;
180
- widget_border_radius: import("zod").ZodString;
181
- widget_font_size: import("zod").ZodString;
182
- widget_width: import("zod").ZodString;
183
- widget_height: import("zod").ZodString;
184
- widget_animation_duration: import("zod").ZodString;
185
- widget_fade_duration: import("zod").ZodString;
186
- widget_chips: import("zod").ZodArray<import("zod").ZodObject<{
187
- chip_mode: import("zod").ZodEnum<{
188
- tell: "tell";
189
- show: "show";
190
- do: "do";
191
- }>;
192
- chip_text: import("zod").ZodString;
193
- }, import("zod/v4/core").$strip>>;
194
- }, import("zod/v4/core").$strip>;
195
- status: import("zod").ZodEnum<{
196
- created: "created";
197
- active: "active";
198
- suspended: "suspended";
199
- }>;
200
- marketrix_id: import("zod").ZodString;
201
- marketrix_key: import("zod").ZodString;
202
- snippet: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
203
- }, import("zod/v4/core").$strip>>;
204
147
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
205
148
  chatCreate: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodString, Record<never, never>, Record<never, never>>;
206
149
  widgetDefaultGet: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
@@ -67,9 +67,6 @@ export declare const applicationSearch: import("@orpc/contract").ContractProcedu
67
67
  app: "app";
68
68
  website: "website";
69
69
  }>>;
70
- include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
71
- widgets: "widgets";
72
- }>>>;
73
70
  limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
74
71
  offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
75
72
  }, z.core.$strip>, z.ZodObject<{
@@ -87,63 +84,6 @@ export declare const applicationSearch: import("@orpc/contract").ContractProcedu
87
84
  workspace_id: z.ZodNumber;
88
85
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
86
  allowed_domains: z.ZodDefault<z.ZodArray<z.ZodString>>;
90
- widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
91
- id: z.ZodOptional<z.ZodNumber>;
92
- created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
93
- updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
94
- application_id: z.ZodNumber;
95
- type: z.ZodEnum<{
96
- widget: "widget";
97
- }>;
98
- settings: z.ZodObject<{
99
- widget_enabled: z.ZodBoolean;
100
- widget_appearance: z.ZodEnum<{
101
- default: "default";
102
- hidden: "hidden";
103
- }>;
104
- widget_position: z.ZodEnum<{
105
- bottom_left: "bottom_left";
106
- bottom_right: "bottom_right";
107
- top_left: "top_left";
108
- top_right: "top_right";
109
- }>;
110
- widget_header: z.ZodString;
111
- widget_body: z.ZodString;
112
- widget_greeting: z.ZodString;
113
- widget_greeting_toast: z.ZodBoolean;
114
- widget_recording: z.ZodBoolean;
115
- widget_feature_tell: z.ZodBoolean;
116
- widget_feature_show: z.ZodBoolean;
117
- widget_feature_do: z.ZodBoolean;
118
- widget_background_color: z.ZodString;
119
- widget_text_color: z.ZodString;
120
- widget_border_color: z.ZodString;
121
- widget_accent_color: z.ZodString;
122
- widget_secondary_color: z.ZodString;
123
- widget_border_radius: z.ZodString;
124
- widget_font_size: z.ZodString;
125
- widget_width: z.ZodString;
126
- widget_height: z.ZodString;
127
- widget_animation_duration: z.ZodString;
128
- widget_fade_duration: z.ZodString;
129
- widget_chips: z.ZodArray<z.ZodObject<{
130
- chip_mode: z.ZodEnum<{
131
- tell: "tell";
132
- show: "show";
133
- do: "do";
134
- }>;
135
- chip_text: z.ZodString;
136
- }, z.core.$strip>>;
137
- }, z.core.$strip>;
138
- status: z.ZodEnum<{
139
- created: "created";
140
- active: "active";
141
- suspended: "suspended";
142
- }>;
143
- marketrix_id: z.ZodString;
144
- marketrix_key: z.ZodString;
145
- snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
146
- }, z.core.$strip>>>;
147
87
  }, z.core.$strip>>;
148
88
  total: z.ZodNumber;
149
89
  limit: z.ZodNumber;
@@ -165,63 +105,6 @@ export declare const applicationGet: import("@orpc/contract").ContractProcedureB
165
105
  workspace_id: z.ZodNumber;
166
106
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
167
107
  allowed_domains: z.ZodDefault<z.ZodArray<z.ZodString>>;
168
- widgets: z.ZodArray<z.ZodObject<{
169
- id: z.ZodOptional<z.ZodNumber>;
170
- created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
171
- updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
172
- application_id: z.ZodNumber;
173
- type: z.ZodEnum<{
174
- widget: "widget";
175
- }>;
176
- settings: z.ZodObject<{
177
- widget_enabled: z.ZodBoolean;
178
- widget_appearance: z.ZodEnum<{
179
- default: "default";
180
- hidden: "hidden";
181
- }>;
182
- widget_position: z.ZodEnum<{
183
- bottom_left: "bottom_left";
184
- bottom_right: "bottom_right";
185
- top_left: "top_left";
186
- top_right: "top_right";
187
- }>;
188
- widget_header: z.ZodString;
189
- widget_body: z.ZodString;
190
- widget_greeting: z.ZodString;
191
- widget_greeting_toast: z.ZodBoolean;
192
- widget_recording: z.ZodBoolean;
193
- widget_feature_tell: z.ZodBoolean;
194
- widget_feature_show: z.ZodBoolean;
195
- widget_feature_do: z.ZodBoolean;
196
- widget_background_color: z.ZodString;
197
- widget_text_color: z.ZodString;
198
- widget_border_color: z.ZodString;
199
- widget_accent_color: z.ZodString;
200
- widget_secondary_color: z.ZodString;
201
- widget_border_radius: z.ZodString;
202
- widget_font_size: z.ZodString;
203
- widget_width: z.ZodString;
204
- widget_height: z.ZodString;
205
- widget_animation_duration: z.ZodString;
206
- widget_fade_duration: z.ZodString;
207
- widget_chips: z.ZodArray<z.ZodObject<{
208
- chip_mode: z.ZodEnum<{
209
- tell: "tell";
210
- show: "show";
211
- do: "do";
212
- }>;
213
- chip_text: z.ZodString;
214
- }, z.core.$strip>>;
215
- }, z.core.$strip>;
216
- status: z.ZodEnum<{
217
- created: "created";
218
- active: "active";
219
- suspended: "suspended";
220
- }>;
221
- marketrix_id: z.ZodString;
222
- marketrix_key: z.ZodString;
223
- snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
224
- }, z.core.$strip>>;
225
108
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
226
109
  export declare const applicationGraphGet: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
227
110
  application_id: z.ZodCoercedNumber<unknown>;
@@ -321,9 +204,6 @@ export declare const applicationRoutes: {
321
204
  app: "app";
322
205
  website: "website";
323
206
  }>>;
324
- include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
325
- widgets: "widgets";
326
- }>>>;
327
207
  limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
328
208
  offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
329
209
  }, z.core.$strip>, z.ZodObject<{
@@ -341,63 +221,6 @@ export declare const applicationRoutes: {
341
221
  workspace_id: z.ZodNumber;
342
222
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
343
223
  allowed_domains: z.ZodDefault<z.ZodArray<z.ZodString>>;
344
- widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
345
- id: z.ZodOptional<z.ZodNumber>;
346
- created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
347
- updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
348
- application_id: z.ZodNumber;
349
- type: z.ZodEnum<{
350
- widget: "widget";
351
- }>;
352
- settings: z.ZodObject<{
353
- widget_enabled: z.ZodBoolean;
354
- widget_appearance: z.ZodEnum<{
355
- default: "default";
356
- hidden: "hidden";
357
- }>;
358
- widget_position: z.ZodEnum<{
359
- bottom_left: "bottom_left";
360
- bottom_right: "bottom_right";
361
- top_left: "top_left";
362
- top_right: "top_right";
363
- }>;
364
- widget_header: z.ZodString;
365
- widget_body: z.ZodString;
366
- widget_greeting: z.ZodString;
367
- widget_greeting_toast: z.ZodBoolean;
368
- widget_recording: z.ZodBoolean;
369
- widget_feature_tell: z.ZodBoolean;
370
- widget_feature_show: z.ZodBoolean;
371
- widget_feature_do: z.ZodBoolean;
372
- widget_background_color: z.ZodString;
373
- widget_text_color: z.ZodString;
374
- widget_border_color: z.ZodString;
375
- widget_accent_color: z.ZodString;
376
- widget_secondary_color: z.ZodString;
377
- widget_border_radius: z.ZodString;
378
- widget_font_size: z.ZodString;
379
- widget_width: z.ZodString;
380
- widget_height: z.ZodString;
381
- widget_animation_duration: z.ZodString;
382
- widget_fade_duration: z.ZodString;
383
- widget_chips: z.ZodArray<z.ZodObject<{
384
- chip_mode: z.ZodEnum<{
385
- tell: "tell";
386
- show: "show";
387
- do: "do";
388
- }>;
389
- chip_text: z.ZodString;
390
- }, z.core.$strip>>;
391
- }, z.core.$strip>;
392
- status: z.ZodEnum<{
393
- created: "created";
394
- active: "active";
395
- suspended: "suspended";
396
- }>;
397
- marketrix_id: z.ZodString;
398
- marketrix_key: z.ZodString;
399
- snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
400
- }, z.core.$strip>>>;
401
224
  }, z.core.$strip>>;
402
225
  total: z.ZodNumber;
403
226
  limit: z.ZodNumber;
@@ -419,63 +242,6 @@ export declare const applicationRoutes: {
419
242
  workspace_id: z.ZodNumber;
420
243
  username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
421
244
  allowed_domains: z.ZodDefault<z.ZodArray<z.ZodString>>;
422
- widgets: z.ZodArray<z.ZodObject<{
423
- id: z.ZodOptional<z.ZodNumber>;
424
- created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
425
- updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
426
- application_id: z.ZodNumber;
427
- type: z.ZodEnum<{
428
- widget: "widget";
429
- }>;
430
- settings: z.ZodObject<{
431
- widget_enabled: z.ZodBoolean;
432
- widget_appearance: z.ZodEnum<{
433
- default: "default";
434
- hidden: "hidden";
435
- }>;
436
- widget_position: z.ZodEnum<{
437
- bottom_left: "bottom_left";
438
- bottom_right: "bottom_right";
439
- top_left: "top_left";
440
- top_right: "top_right";
441
- }>;
442
- widget_header: z.ZodString;
443
- widget_body: z.ZodString;
444
- widget_greeting: z.ZodString;
445
- widget_greeting_toast: z.ZodBoolean;
446
- widget_recording: z.ZodBoolean;
447
- widget_feature_tell: z.ZodBoolean;
448
- widget_feature_show: z.ZodBoolean;
449
- widget_feature_do: z.ZodBoolean;
450
- widget_background_color: z.ZodString;
451
- widget_text_color: z.ZodString;
452
- widget_border_color: z.ZodString;
453
- widget_accent_color: z.ZodString;
454
- widget_secondary_color: z.ZodString;
455
- widget_border_radius: z.ZodString;
456
- widget_font_size: z.ZodString;
457
- widget_width: z.ZodString;
458
- widget_height: z.ZodString;
459
- widget_animation_duration: z.ZodString;
460
- widget_fade_duration: z.ZodString;
461
- widget_chips: z.ZodArray<z.ZodObject<{
462
- chip_mode: z.ZodEnum<{
463
- tell: "tell";
464
- show: "show";
465
- do: "do";
466
- }>;
467
- chip_text: z.ZodString;
468
- }, z.core.$strip>>;
469
- }, z.core.$strip>;
470
- status: z.ZodEnum<{
471
- created: "created";
472
- active: "active";
473
- suspended: "suspended";
474
- }>;
475
- marketrix_id: z.ZodString;
476
- marketrix_key: z.ZodString;
477
- snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
478
- }, z.core.$strip>>;
479
245
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
480
246
  applicationGraphGet: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
481
247
  application_id: z.ZodCoercedNumber<unknown>;
@@ -1,77 +1,4 @@
1
1
  import { z } from 'zod';
2
- export declare const ApplicationWithWidgetsSchema: z.ZodObject<{
3
- id: z.ZodOptional<z.ZodNumber>;
4
- created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
5
- updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
6
- slug: z.ZodString;
7
- type: z.ZodEnum<{
8
- app: "app";
9
- website: "website";
10
- }>;
11
- name: z.ZodString;
12
- url: z.ZodString;
13
- workspace_id: z.ZodNumber;
14
- username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
- allowed_domains: z.ZodDefault<z.ZodArray<z.ZodString>>;
16
- widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
- id: z.ZodOptional<z.ZodNumber>;
18
- created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
19
- updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
20
- application_id: z.ZodNumber;
21
- type: z.ZodEnum<{
22
- widget: "widget";
23
- }>;
24
- settings: z.ZodObject<{
25
- widget_enabled: z.ZodBoolean;
26
- widget_appearance: z.ZodEnum<{
27
- default: "default";
28
- hidden: "hidden";
29
- }>;
30
- widget_position: z.ZodEnum<{
31
- bottom_left: "bottom_left";
32
- bottom_right: "bottom_right";
33
- top_left: "top_left";
34
- top_right: "top_right";
35
- }>;
36
- widget_header: z.ZodString;
37
- widget_body: z.ZodString;
38
- widget_greeting: z.ZodString;
39
- widget_greeting_toast: z.ZodBoolean;
40
- widget_recording: z.ZodBoolean;
41
- widget_feature_tell: z.ZodBoolean;
42
- widget_feature_show: z.ZodBoolean;
43
- widget_feature_do: z.ZodBoolean;
44
- widget_background_color: z.ZodString;
45
- widget_text_color: z.ZodString;
46
- widget_border_color: z.ZodString;
47
- widget_accent_color: z.ZodString;
48
- widget_secondary_color: z.ZodString;
49
- widget_border_radius: z.ZodString;
50
- widget_font_size: z.ZodString;
51
- widget_width: z.ZodString;
52
- widget_height: z.ZodString;
53
- widget_animation_duration: z.ZodString;
54
- widget_fade_duration: z.ZodString;
55
- widget_chips: z.ZodArray<z.ZodObject<{
56
- chip_mode: z.ZodEnum<{
57
- tell: "tell";
58
- show: "show";
59
- do: "do";
60
- }>;
61
- chip_text: z.ZodString;
62
- }, z.core.$strip>>;
63
- }, z.core.$strip>;
64
- status: z.ZodEnum<{
65
- created: "created";
66
- active: "active";
67
- suspended: "suspended";
68
- }>;
69
- marketrix_id: z.ZodString;
70
- marketrix_key: z.ZodString;
71
- snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
- }, z.core.$strip>>>;
73
- }, z.core.$strip>;
74
- export type ApplicationWithWidgetsData = z.infer<typeof ApplicationWithWidgetsSchema>;
75
2
  export declare const WidgetCreateSchema: z.ZodObject<{
76
3
  id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
77
4
  created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
@@ -145,63 +145,6 @@ export declare const sdk: {
145
145
  workspace_id: import("zod").ZodNumber;
146
146
  username: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
147
147
  allowed_domains: import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodString>>;
148
- widgets: import("zod").ZodArray<import("zod").ZodObject<{
149
- id: import("zod").ZodOptional<import("zod").ZodNumber>;
150
- created_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
151
- updated_at: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
152
- application_id: import("zod").ZodNumber;
153
- type: import("zod").ZodEnum<{
154
- widget: "widget";
155
- }>;
156
- settings: import("zod").ZodObject<{
157
- widget_enabled: import("zod").ZodBoolean;
158
- widget_appearance: import("zod").ZodEnum<{
159
- default: "default";
160
- hidden: "hidden";
161
- }>;
162
- widget_position: import("zod").ZodEnum<{
163
- bottom_left: "bottom_left";
164
- bottom_right: "bottom_right";
165
- top_left: "top_left";
166
- top_right: "top_right";
167
- }>;
168
- widget_header: import("zod").ZodString;
169
- widget_body: import("zod").ZodString;
170
- widget_greeting: import("zod").ZodString;
171
- widget_greeting_toast: import("zod").ZodBoolean;
172
- widget_recording: import("zod").ZodBoolean;
173
- widget_feature_tell: import("zod").ZodBoolean;
174
- widget_feature_show: import("zod").ZodBoolean;
175
- widget_feature_do: import("zod").ZodBoolean;
176
- widget_background_color: import("zod").ZodString;
177
- widget_text_color: import("zod").ZodString;
178
- widget_border_color: import("zod").ZodString;
179
- widget_accent_color: import("zod").ZodString;
180
- widget_secondary_color: import("zod").ZodString;
181
- widget_border_radius: import("zod").ZodString;
182
- widget_font_size: import("zod").ZodString;
183
- widget_width: import("zod").ZodString;
184
- widget_height: import("zod").ZodString;
185
- widget_animation_duration: import("zod").ZodString;
186
- widget_fade_duration: import("zod").ZodString;
187
- widget_chips: import("zod").ZodArray<import("zod").ZodObject<{
188
- chip_mode: import("zod").ZodEnum<{
189
- tell: "tell";
190
- show: "show";
191
- do: "do";
192
- }>;
193
- chip_text: import("zod").ZodString;
194
- }, import("zod/v4/core").$strip>>;
195
- }, import("zod/v4/core").$strip>;
196
- status: import("zod").ZodEnum<{
197
- created: "created";
198
- active: "active";
199
- suspended: "suspended";
200
- }>;
201
- marketrix_id: import("zod").ZodString;
202
- marketrix_key: import("zod").ZodString;
203
- snippet: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
204
- }, import("zod/v4/core").$strip>>;
205
148
  }, import("zod/v4/core").$strip>, Record<never, never>>;
206
149
  chatCreate: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("@orpc/contract").Schema<unknown, unknown>, import("zod").ZodString, Record<never, never>>;
207
150
  widgetDefaultGet: import("@orpc/contract").ContractProcedureClient<Record<never, never>, import("zod").ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marketrix.ai/widget",
3
- "version": "3.8.501",
3
+ "version": "3.8.502",
4
4
  "type": "module",
5
5
  "packageManager": "bun@1.3.14",
6
6
  "sideEffects": false,