@marketrix.ai/widget 3.8.3 → 3.8.10

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.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"agent.d.ts","sourceRoot":"","sources":["../../../../src/sdk/contracts/agent.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAqBxB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAW5B,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAElE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAI5B,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,4BAA4B;;;iBAGvC,CAAC;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAEtF;;;GAGG;AACH,eAAO,MAAM,2BAA2B;;;iBAGtC,CAAC;AACH,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEpF;;;GAGG;AACH,eA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAQvB,CAAC"}
@@ -0,0 +1,525 @@
1
+ import { z } from 'zod';
2
+ export declare const ApplicationFilterSchema: z.ZodObject<{
3
+ application_id: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
4
+ }, z.core.$strip>;
5
+ export declare const ApplicationCreateSchema: z.ZodObject<{
6
+ id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
7
+ created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
8
+ updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
9
+ workspace_id: z.ZodOptional<z.ZodNumber>;
10
+ slug: z.ZodOptional<z.ZodString>;
11
+ username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
12
+ password: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
13
+ type: z.ZodEnum<{
14
+ app: "app";
15
+ website: "website";
16
+ }>;
17
+ name: z.ZodString;
18
+ url: z.ZodString;
19
+ allowed_domains: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
20
+ }, z.core.$strip>;
21
+ export type ApplicationCreateData = z.infer<typeof ApplicationCreateSchema>;
22
+ export declare const ApplicationUpdateSchema: z.ZodObject<{
23
+ id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
24
+ created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
25
+ updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
26
+ type: z.ZodOptional<z.ZodEnum<{
27
+ app: "app";
28
+ website: "website";
29
+ }>>;
30
+ name: z.ZodOptional<z.ZodString>;
31
+ url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
32
+ password: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
33
+ username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
34
+ allowed_domains: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
35
+ }, z.core.$strip>;
36
+ export type ApplicationUpdateData = z.infer<typeof ApplicationUpdateSchema>;
37
+ export declare const applicationCreate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
38
+ id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
39
+ created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
40
+ updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
41
+ workspace_id: z.ZodOptional<z.ZodNumber>;
42
+ slug: z.ZodOptional<z.ZodString>;
43
+ username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
44
+ password: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
45
+ type: z.ZodEnum<{
46
+ app: "app";
47
+ website: "website";
48
+ }>;
49
+ name: z.ZodString;
50
+ url: z.ZodString;
51
+ allowed_domains: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
52
+ }, z.core.$strip>, z.ZodObject<{
53
+ id: z.ZodOptional<z.ZodNumber>;
54
+ created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
55
+ updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
56
+ slug: z.ZodString;
57
+ type: z.ZodEnum<{
58
+ app: "app";
59
+ website: "website";
60
+ }>;
61
+ name: z.ZodString;
62
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
+ workspace_id: z.ZodNumber;
64
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ allowed_domains: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
66
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
67
+ export declare const applicationSearch: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
68
+ type: z.ZodOptional<z.ZodEnum<{
69
+ app: "app";
70
+ website: "website";
71
+ }>>;
72
+ include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
73
+ widgets: "widgets";
74
+ }>>>;
75
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
76
+ offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
77
+ }, z.core.$strip>, z.ZodObject<{
78
+ items: z.ZodArray<z.ZodObject<{
79
+ id: z.ZodOptional<z.ZodNumber>;
80
+ created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
81
+ updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
82
+ slug: z.ZodString;
83
+ type: z.ZodEnum<{
84
+ app: "app";
85
+ website: "website";
86
+ }>;
87
+ name: z.ZodString;
88
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
89
+ workspace_id: z.ZodNumber;
90
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
+ allowed_domains: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
92
+ widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
93
+ id: z.ZodOptional<z.ZodNumber>;
94
+ created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
95
+ updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
96
+ application_id: z.ZodNumber;
97
+ agent_id: z.ZodNumber;
98
+ type: z.ZodEnum<{
99
+ widget: "widget";
100
+ }>;
101
+ settings: z.ZodObject<{
102
+ widget_enabled: z.ZodBoolean;
103
+ widget_appearance: z.ZodEnum<{
104
+ default: "default";
105
+ compact: "compact";
106
+ full: "full";
107
+ }>;
108
+ widget_position: z.ZodEnum<{
109
+ bottom_left: "bottom_left";
110
+ bottom_right: "bottom_right";
111
+ top_left: "top_left";
112
+ top_right: "top_right";
113
+ }>;
114
+ widget_device: z.ZodEnum<{
115
+ desktop: "desktop";
116
+ mobile: "mobile";
117
+ desktop_mobile: "desktop_mobile";
118
+ }>;
119
+ widget_header: z.ZodString;
120
+ widget_body: z.ZodString;
121
+ widget_greeting: z.ZodString;
122
+ widget_feature_tell: z.ZodBoolean;
123
+ widget_feature_show: z.ZodBoolean;
124
+ widget_feature_do: z.ZodBoolean;
125
+ widget_feature_human: z.ZodBoolean;
126
+ widget_background_color: z.ZodString;
127
+ widget_text_color: z.ZodString;
128
+ widget_border_color: z.ZodString;
129
+ widget_accent_color: z.ZodString;
130
+ widget_secondary_color: z.ZodString;
131
+ widget_border_radius: z.ZodString;
132
+ widget_font_size: z.ZodString;
133
+ widget_width: z.ZodString;
134
+ widget_height: z.ZodString;
135
+ widget_shadow: z.ZodString;
136
+ widget_animation_duration: z.ZodString;
137
+ widget_fade_duration: z.ZodString;
138
+ widget_bounce_effect: z.ZodBoolean;
139
+ widget_chips: z.ZodArray<z.ZodObject<{
140
+ chip_mode: z.ZodEnum<{
141
+ tell: "tell";
142
+ show: "show";
143
+ do: "do";
144
+ }>;
145
+ chip_text: z.ZodString;
146
+ }, z.core.$strip>>;
147
+ }, z.core.$strip>;
148
+ status: z.ZodEnum<{
149
+ created: "created";
150
+ active: "active";
151
+ suspended: "suspended";
152
+ pending_approval: "pending_approval";
153
+ }>;
154
+ marketrix_id: z.ZodString;
155
+ marketrix_key: z.ZodString;
156
+ snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
157
+ }, z.core.$strip>>>;
158
+ }, z.core.$strip>>;
159
+ total: z.ZodNumber;
160
+ limit: z.ZodNumber;
161
+ offset: z.ZodNumber;
162
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
163
+ export declare const applicationGet: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
164
+ application_id: z.ZodCoercedNumber<unknown>;
165
+ }, z.core.$strip>, z.ZodObject<{
166
+ id: z.ZodOptional<z.ZodNumber>;
167
+ created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
168
+ updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
169
+ slug: z.ZodString;
170
+ type: z.ZodEnum<{
171
+ app: "app";
172
+ website: "website";
173
+ }>;
174
+ name: z.ZodString;
175
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
176
+ workspace_id: z.ZodNumber;
177
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
178
+ allowed_domains: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
179
+ widgets: z.ZodArray<z.ZodObject<{
180
+ id: z.ZodOptional<z.ZodNumber>;
181
+ created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
182
+ updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
183
+ application_id: z.ZodNumber;
184
+ agent_id: z.ZodNumber;
185
+ type: z.ZodEnum<{
186
+ widget: "widget";
187
+ }>;
188
+ settings: z.ZodObject<{
189
+ widget_enabled: z.ZodBoolean;
190
+ widget_appearance: z.ZodEnum<{
191
+ default: "default";
192
+ compact: "compact";
193
+ full: "full";
194
+ }>;
195
+ widget_position: z.ZodEnum<{
196
+ bottom_left: "bottom_left";
197
+ bottom_right: "bottom_right";
198
+ top_left: "top_left";
199
+ top_right: "top_right";
200
+ }>;
201
+ widget_device: z.ZodEnum<{
202
+ desktop: "desktop";
203
+ mobile: "mobile";
204
+ desktop_mobile: "desktop_mobile";
205
+ }>;
206
+ widget_header: z.ZodString;
207
+ widget_body: z.ZodString;
208
+ widget_greeting: z.ZodString;
209
+ widget_feature_tell: z.ZodBoolean;
210
+ widget_feature_show: z.ZodBoolean;
211
+ widget_feature_do: z.ZodBoolean;
212
+ widget_feature_human: z.ZodBoolean;
213
+ widget_background_color: z.ZodString;
214
+ widget_text_color: z.ZodString;
215
+ widget_border_color: z.ZodString;
216
+ widget_accent_color: z.ZodString;
217
+ widget_secondary_color: z.ZodString;
218
+ widget_border_radius: z.ZodString;
219
+ widget_font_size: z.ZodString;
220
+ widget_width: z.ZodString;
221
+ widget_height: z.ZodString;
222
+ widget_shadow: z.ZodString;
223
+ widget_animation_duration: z.ZodString;
224
+ widget_fade_duration: z.ZodString;
225
+ widget_bounce_effect: z.ZodBoolean;
226
+ widget_chips: z.ZodArray<z.ZodObject<{
227
+ chip_mode: z.ZodEnum<{
228
+ tell: "tell";
229
+ show: "show";
230
+ do: "do";
231
+ }>;
232
+ chip_text: z.ZodString;
233
+ }, z.core.$strip>>;
234
+ }, z.core.$strip>;
235
+ status: z.ZodEnum<{
236
+ created: "created";
237
+ active: "active";
238
+ suspended: "suspended";
239
+ pending_approval: "pending_approval";
240
+ }>;
241
+ marketrix_id: z.ZodString;
242
+ marketrix_key: z.ZodString;
243
+ snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
244
+ }, z.core.$strip>>;
245
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
246
+ export declare const applicationUpdate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
247
+ id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
248
+ created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
249
+ updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
250
+ type: z.ZodOptional<z.ZodEnum<{
251
+ app: "app";
252
+ website: "website";
253
+ }>>;
254
+ name: z.ZodOptional<z.ZodString>;
255
+ url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
256
+ password: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
257
+ username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
258
+ allowed_domains: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
259
+ application_id: z.ZodCoercedNumber<unknown>;
260
+ }, z.core.$strip>, z.ZodObject<{
261
+ id: z.ZodOptional<z.ZodNumber>;
262
+ created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
263
+ updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
264
+ slug: z.ZodString;
265
+ type: z.ZodEnum<{
266
+ app: "app";
267
+ website: "website";
268
+ }>;
269
+ name: z.ZodString;
270
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
271
+ workspace_id: z.ZodNumber;
272
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
273
+ allowed_domains: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
274
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
275
+ export declare const applicationDelete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
276
+ application_id: z.ZodCoercedNumber<unknown>;
277
+ }, z.core.$strip>, z.ZodObject<{
278
+ success: z.ZodLiteral<true>;
279
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
280
+ export declare const applicationRoutes: {
281
+ applicationCreate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
282
+ id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
283
+ created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
284
+ updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
285
+ workspace_id: z.ZodOptional<z.ZodNumber>;
286
+ slug: z.ZodOptional<z.ZodString>;
287
+ username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
288
+ password: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
289
+ type: z.ZodEnum<{
290
+ app: "app";
291
+ website: "website";
292
+ }>;
293
+ name: z.ZodString;
294
+ url: z.ZodString;
295
+ allowed_domains: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
296
+ }, z.core.$strip>, z.ZodObject<{
297
+ id: z.ZodOptional<z.ZodNumber>;
298
+ created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
299
+ updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
300
+ slug: z.ZodString;
301
+ type: z.ZodEnum<{
302
+ app: "app";
303
+ website: "website";
304
+ }>;
305
+ name: z.ZodString;
306
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
307
+ workspace_id: z.ZodNumber;
308
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
309
+ allowed_domains: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
310
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
311
+ applicationSearch: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
312
+ type: z.ZodOptional<z.ZodEnum<{
313
+ app: "app";
314
+ website: "website";
315
+ }>>;
316
+ include: z.ZodOptional<z.ZodArray<z.ZodEnum<{
317
+ widgets: "widgets";
318
+ }>>>;
319
+ limit: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
320
+ offset: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
321
+ }, z.core.$strip>, z.ZodObject<{
322
+ items: z.ZodArray<z.ZodObject<{
323
+ id: z.ZodOptional<z.ZodNumber>;
324
+ created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
325
+ updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
326
+ slug: z.ZodString;
327
+ type: z.ZodEnum<{
328
+ app: "app";
329
+ website: "website";
330
+ }>;
331
+ name: z.ZodString;
332
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
333
+ workspace_id: z.ZodNumber;
334
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
335
+ allowed_domains: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
336
+ widgets: z.ZodOptional<z.ZodArray<z.ZodObject<{
337
+ id: z.ZodOptional<z.ZodNumber>;
338
+ created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
339
+ updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
340
+ application_id: z.ZodNumber;
341
+ agent_id: z.ZodNumber;
342
+ type: z.ZodEnum<{
343
+ widget: "widget";
344
+ }>;
345
+ settings: z.ZodObject<{
346
+ widget_enabled: z.ZodBoolean;
347
+ widget_appearance: z.ZodEnum<{
348
+ default: "default";
349
+ compact: "compact";
350
+ full: "full";
351
+ }>;
352
+ widget_position: z.ZodEnum<{
353
+ bottom_left: "bottom_left";
354
+ bottom_right: "bottom_right";
355
+ top_left: "top_left";
356
+ top_right: "top_right";
357
+ }>;
358
+ widget_device: z.ZodEnum<{
359
+ desktop: "desktop";
360
+ mobile: "mobile";
361
+ desktop_mobile: "desktop_mobile";
362
+ }>;
363
+ widget_header: z.ZodString;
364
+ widget_body: z.ZodString;
365
+ widget_greeting: z.ZodString;
366
+ widget_feature_tell: z.ZodBoolean;
367
+ widget_feature_show: z.ZodBoolean;
368
+ widget_feature_do: z.ZodBoolean;
369
+ widget_feature_human: z.ZodBoolean;
370
+ widget_background_color: z.ZodString;
371
+ widget_text_color: z.ZodString;
372
+ widget_border_color: z.ZodString;
373
+ widget_accent_color: z.ZodString;
374
+ widget_secondary_color: z.ZodString;
375
+ widget_border_radius: z.ZodString;
376
+ widget_font_size: z.ZodString;
377
+ widget_width: z.ZodString;
378
+ widget_height: z.ZodString;
379
+ widget_shadow: z.ZodString;
380
+ widget_animation_duration: z.ZodString;
381
+ widget_fade_duration: z.ZodString;
382
+ widget_bounce_effect: z.ZodBoolean;
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
+ pending_approval: "pending_approval";
397
+ }>;
398
+ marketrix_id: z.ZodString;
399
+ marketrix_key: z.ZodString;
400
+ snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
401
+ }, z.core.$strip>>>;
402
+ }, z.core.$strip>>;
403
+ total: z.ZodNumber;
404
+ limit: z.ZodNumber;
405
+ offset: z.ZodNumber;
406
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
407
+ applicationGet: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
408
+ application_id: z.ZodCoercedNumber<unknown>;
409
+ }, z.core.$strip>, z.ZodObject<{
410
+ id: z.ZodOptional<z.ZodNumber>;
411
+ created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
412
+ updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
413
+ slug: z.ZodString;
414
+ type: z.ZodEnum<{
415
+ app: "app";
416
+ website: "website";
417
+ }>;
418
+ name: z.ZodString;
419
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
420
+ workspace_id: z.ZodNumber;
421
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
+ allowed_domains: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
423
+ widgets: z.ZodArray<z.ZodObject<{
424
+ id: z.ZodOptional<z.ZodNumber>;
425
+ created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
426
+ updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
427
+ application_id: z.ZodNumber;
428
+ agent_id: z.ZodNumber;
429
+ type: z.ZodEnum<{
430
+ widget: "widget";
431
+ }>;
432
+ settings: z.ZodObject<{
433
+ widget_enabled: z.ZodBoolean;
434
+ widget_appearance: z.ZodEnum<{
435
+ default: "default";
436
+ compact: "compact";
437
+ full: "full";
438
+ }>;
439
+ widget_position: z.ZodEnum<{
440
+ bottom_left: "bottom_left";
441
+ bottom_right: "bottom_right";
442
+ top_left: "top_left";
443
+ top_right: "top_right";
444
+ }>;
445
+ widget_device: z.ZodEnum<{
446
+ desktop: "desktop";
447
+ mobile: "mobile";
448
+ desktop_mobile: "desktop_mobile";
449
+ }>;
450
+ widget_header: z.ZodString;
451
+ widget_body: z.ZodString;
452
+ widget_greeting: z.ZodString;
453
+ widget_feature_tell: z.ZodBoolean;
454
+ widget_feature_show: z.ZodBoolean;
455
+ widget_feature_do: z.ZodBoolean;
456
+ widget_feature_human: z.ZodBoolean;
457
+ widget_background_color: z.ZodString;
458
+ widget_text_color: z.ZodString;
459
+ widget_border_color: z.ZodString;
460
+ widget_accent_color: z.ZodString;
461
+ widget_secondary_color: z.ZodString;
462
+ widget_border_radius: z.ZodString;
463
+ widget_font_size: z.ZodString;
464
+ widget_width: z.ZodString;
465
+ widget_height: z.ZodString;
466
+ widget_shadow: z.ZodString;
467
+ widget_animation_duration: z.ZodString;
468
+ widget_fade_duration: z.ZodString;
469
+ widget_bounce_effect: z.ZodBoolean;
470
+ widget_chips: z.ZodArray<z.ZodObject<{
471
+ chip_mode: z.ZodEnum<{
472
+ tell: "tell";
473
+ show: "show";
474
+ do: "do";
475
+ }>;
476
+ chip_text: z.ZodString;
477
+ }, z.core.$strip>>;
478
+ }, z.core.$strip>;
479
+ status: z.ZodEnum<{
480
+ created: "created";
481
+ active: "active";
482
+ suspended: "suspended";
483
+ pending_approval: "pending_approval";
484
+ }>;
485
+ marketrix_id: z.ZodString;
486
+ marketrix_key: z.ZodString;
487
+ snippet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
488
+ }, z.core.$strip>>;
489
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
490
+ applicationUpdate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
491
+ id: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
492
+ created_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
493
+ updated_at: z.ZodOptional<z.ZodOptional<z.ZodCoercedDate<unknown>>>;
494
+ type: z.ZodOptional<z.ZodEnum<{
495
+ app: "app";
496
+ website: "website";
497
+ }>>;
498
+ name: z.ZodOptional<z.ZodString>;
499
+ url: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
500
+ password: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
501
+ username: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
502
+ allowed_domains: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>>;
503
+ application_id: z.ZodCoercedNumber<unknown>;
504
+ }, z.core.$strip>, z.ZodObject<{
505
+ id: z.ZodOptional<z.ZodNumber>;
506
+ created_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
507
+ updated_at: z.ZodOptional<z.ZodCoercedDate<unknown>>;
508
+ slug: z.ZodString;
509
+ type: z.ZodEnum<{
510
+ app: "app";
511
+ website: "website";
512
+ }>;
513
+ name: z.ZodString;
514
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
515
+ workspace_id: z.ZodNumber;
516
+ username: z.ZodOptional<z.ZodNullable<z.ZodString>>;
517
+ allowed_domains: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>>;
518
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
519
+ applicationDelete: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
520
+ application_id: z.ZodCoercedNumber<unknown>;
521
+ }, z.core.$strip>, z.ZodObject<{
522
+ success: z.ZodLiteral<true>;
523
+ }, z.core.$strip>, Record<never, never>, Record<never, never>>;
524
+ };
525
+ //# sourceMappingURL=application.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../../../../src/sdk/contracts/application.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAOxB,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;iBAKlC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE5E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;iBAA6E,CAAC;AAClH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAI5E,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8DASE,CAAC;AAEjC,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8DAuB3B,CAAC;AAEJ,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8DAaxB,CAAC;AAEJ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;8DASE,CAAC;AAEjC,eAAO,MAAM,iBAAiB;;;;8DASN,CAAC;AAIzB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM7B,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { z } from 'zod';
2
+ export declare const chatCreate: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodString, Record<never, never>, Record<never, never>>;
3
+ export declare const chatRoutes: {
4
+ chatCreate: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodString, Record<never, never>, Record<never, never>>;
5
+ };
6
+ //# sourceMappingURL=chat.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../../src/sdk/contracts/chat.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,UAAU,yKAQF,CAAC;AAItB,eAAO,MAAM,UAAU;;CAEtB,CAAC"}