veryfront 0.1.364 → 0.1.366

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,1656 @@
1
+ import { z } from "zod";
2
+ import type { ToolExecutionDataEvent } from "../tool/types.js";
3
+ export declare const formInputToolInputSchema: z.ZodObject<{
4
+ title: z.ZodString;
5
+ description: z.ZodOptional<z.ZodString>;
6
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
7
+ name: z.ZodString;
8
+ label: z.ZodString;
9
+ description: z.ZodOptional<z.ZodString>;
10
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
11
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
12
+ type: z.ZodEnum<{
13
+ number: "number";
14
+ password: "password";
15
+ url: "url";
16
+ text: "text";
17
+ email: "email";
18
+ }>;
19
+ placeholder: z.ZodOptional<z.ZodString>;
20
+ defaultValue: z.ZodOptional<z.ZodString>;
21
+ pattern: z.ZodOptional<z.ZodString>;
22
+ minLength: z.ZodOptional<z.ZodNumber>;
23
+ maxLength: z.ZodOptional<z.ZodNumber>;
24
+ min: z.ZodOptional<z.ZodNumber>;
25
+ max: z.ZodOptional<z.ZodNumber>;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ name: z.ZodString;
28
+ label: z.ZodString;
29
+ description: z.ZodOptional<z.ZodString>;
30
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
31
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
32
+ type: z.ZodLiteral<"textarea">;
33
+ placeholder: z.ZodOptional<z.ZodString>;
34
+ defaultValue: z.ZodOptional<z.ZodString>;
35
+ minLength: z.ZodOptional<z.ZodNumber>;
36
+ maxLength: z.ZodOptional<z.ZodNumber>;
37
+ rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ name: z.ZodString;
40
+ label: z.ZodString;
41
+ description: z.ZodOptional<z.ZodString>;
42
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
43
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
44
+ type: z.ZodLiteral<"select">;
45
+ options: z.ZodArray<z.ZodObject<{
46
+ value: z.ZodString;
47
+ label: z.ZodString;
48
+ description: z.ZodOptional<z.ZodString>;
49
+ recommended: z.ZodOptional<z.ZodBoolean>;
50
+ }, z.core.$strip>>;
51
+ defaultValue: z.ZodOptional<z.ZodString>;
52
+ placeholder: z.ZodOptional<z.ZodString>;
53
+ }, z.core.$strip>, z.ZodObject<{
54
+ name: z.ZodString;
55
+ label: z.ZodString;
56
+ description: z.ZodOptional<z.ZodString>;
57
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
58
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
59
+ type: z.ZodLiteral<"checkbox">;
60
+ defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ name: z.ZodString;
63
+ label: z.ZodString;
64
+ description: z.ZodOptional<z.ZodString>;
65
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
66
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
67
+ type: z.ZodLiteral<"radio">;
68
+ options: z.ZodArray<z.ZodObject<{
69
+ value: z.ZodString;
70
+ label: z.ZodString;
71
+ description: z.ZodOptional<z.ZodString>;
72
+ recommended: z.ZodOptional<z.ZodBoolean>;
73
+ }, z.core.$strip>>;
74
+ defaultValue: z.ZodOptional<z.ZodString>;
75
+ }, z.core.$strip>, z.ZodObject<{
76
+ name: z.ZodString;
77
+ label: z.ZodString;
78
+ description: z.ZodOptional<z.ZodString>;
79
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
80
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
81
+ type: z.ZodLiteral<"confirm">;
82
+ confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
83
+ denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
84
+ }, z.core.$strip>], "type">>;
85
+ submitLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
86
+ }, z.core.$strip>;
87
+ export declare const inputResponseValuesSchema: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
88
+ export declare const createInputRequestRequestSchema: z.ZodObject<{
89
+ run_id: z.ZodString;
90
+ tool_call_id: z.ZodString;
91
+ kind: z.ZodLiteral<"form">;
92
+ requested_responder_type: z.ZodLiteral<"human">;
93
+ title: z.ZodString;
94
+ description: z.ZodOptional<z.ZodString>;
95
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
96
+ name: z.ZodString;
97
+ label: z.ZodString;
98
+ description: z.ZodOptional<z.ZodString>;
99
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
100
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
101
+ type: z.ZodEnum<{
102
+ number: "number";
103
+ password: "password";
104
+ url: "url";
105
+ text: "text";
106
+ email: "email";
107
+ }>;
108
+ placeholder: z.ZodOptional<z.ZodString>;
109
+ defaultValue: z.ZodOptional<z.ZodString>;
110
+ pattern: z.ZodOptional<z.ZodString>;
111
+ minLength: z.ZodOptional<z.ZodNumber>;
112
+ maxLength: z.ZodOptional<z.ZodNumber>;
113
+ min: z.ZodOptional<z.ZodNumber>;
114
+ max: z.ZodOptional<z.ZodNumber>;
115
+ }, z.core.$strip>, z.ZodObject<{
116
+ name: z.ZodString;
117
+ label: z.ZodString;
118
+ description: z.ZodOptional<z.ZodString>;
119
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
120
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
121
+ type: z.ZodLiteral<"textarea">;
122
+ placeholder: z.ZodOptional<z.ZodString>;
123
+ defaultValue: z.ZodOptional<z.ZodString>;
124
+ minLength: z.ZodOptional<z.ZodNumber>;
125
+ maxLength: z.ZodOptional<z.ZodNumber>;
126
+ rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
127
+ }, z.core.$strip>, z.ZodObject<{
128
+ name: z.ZodString;
129
+ label: z.ZodString;
130
+ description: z.ZodOptional<z.ZodString>;
131
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
132
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
133
+ type: z.ZodLiteral<"select">;
134
+ options: z.ZodArray<z.ZodObject<{
135
+ value: z.ZodString;
136
+ label: z.ZodString;
137
+ description: z.ZodOptional<z.ZodString>;
138
+ recommended: z.ZodOptional<z.ZodBoolean>;
139
+ }, z.core.$strip>>;
140
+ defaultValue: z.ZodOptional<z.ZodString>;
141
+ placeholder: z.ZodOptional<z.ZodString>;
142
+ }, z.core.$strip>, z.ZodObject<{
143
+ name: z.ZodString;
144
+ label: z.ZodString;
145
+ description: z.ZodOptional<z.ZodString>;
146
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
147
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
148
+ type: z.ZodLiteral<"checkbox">;
149
+ defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
150
+ }, z.core.$strip>, z.ZodObject<{
151
+ name: z.ZodString;
152
+ label: z.ZodString;
153
+ description: z.ZodOptional<z.ZodString>;
154
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
155
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
156
+ type: z.ZodLiteral<"radio">;
157
+ options: z.ZodArray<z.ZodObject<{
158
+ value: z.ZodString;
159
+ label: z.ZodString;
160
+ description: z.ZodOptional<z.ZodString>;
161
+ recommended: z.ZodOptional<z.ZodBoolean>;
162
+ }, z.core.$strip>>;
163
+ defaultValue: z.ZodOptional<z.ZodString>;
164
+ }, z.core.$strip>, z.ZodObject<{
165
+ name: z.ZodString;
166
+ label: z.ZodString;
167
+ description: z.ZodOptional<z.ZodString>;
168
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
169
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
170
+ type: z.ZodLiteral<"confirm">;
171
+ confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
172
+ denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
173
+ }, z.core.$strip>], "type">>;
174
+ expires_at: z.ZodString;
175
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
176
+ }, z.core.$strip>;
177
+ export declare const inputResponseRestSchema: z.ZodPipe<z.ZodObject<{
178
+ id: z.ZodString;
179
+ input_request_id: z.ZodString;
180
+ conversation_id: z.ZodString;
181
+ run_id: z.ZodString;
182
+ actor_type: z.ZodString;
183
+ actor_id: z.ZodString;
184
+ values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
185
+ created_at: z.ZodString;
186
+ }, z.core.$loose>, z.ZodTransform<{
187
+ id: string;
188
+ inputRequestId: string;
189
+ conversationId: string;
190
+ runId: string;
191
+ actorType: string;
192
+ actorId: string;
193
+ values: Record<string, string | number | boolean | null>;
194
+ createdAt: string;
195
+ }, {
196
+ [x: string]: unknown;
197
+ id: string;
198
+ input_request_id: string;
199
+ conversation_id: string;
200
+ run_id: string;
201
+ actor_type: string;
202
+ actor_id: string;
203
+ values: Record<string, string | number | boolean | null>;
204
+ created_at: string;
205
+ }>>;
206
+ export declare const inputRequestRestSchema: z.ZodPipe<z.ZodObject<{
207
+ id: z.ZodString;
208
+ conversation_id: z.ZodString;
209
+ run_id: z.ZodString;
210
+ tool_call_id: z.ZodString;
211
+ kind: z.ZodLiteral<"form">;
212
+ status: z.ZodEnum<{
213
+ open: "open";
214
+ expired: "expired";
215
+ cancelled: "cancelled";
216
+ submitted: "submitted";
217
+ }>;
218
+ requested_responder_type: z.ZodEnum<{
219
+ agent: "agent";
220
+ system: "system";
221
+ human: "human";
222
+ }>;
223
+ title: z.ZodString;
224
+ description: z.ZodNullable<z.ZodString>;
225
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
226
+ name: z.ZodString;
227
+ label: z.ZodString;
228
+ description: z.ZodOptional<z.ZodString>;
229
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
230
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
231
+ type: z.ZodEnum<{
232
+ number: "number";
233
+ password: "password";
234
+ url: "url";
235
+ text: "text";
236
+ email: "email";
237
+ }>;
238
+ placeholder: z.ZodOptional<z.ZodString>;
239
+ defaultValue: z.ZodOptional<z.ZodString>;
240
+ pattern: z.ZodOptional<z.ZodString>;
241
+ minLength: z.ZodOptional<z.ZodNumber>;
242
+ maxLength: z.ZodOptional<z.ZodNumber>;
243
+ min: z.ZodOptional<z.ZodNumber>;
244
+ max: z.ZodOptional<z.ZodNumber>;
245
+ }, z.core.$strip>, z.ZodObject<{
246
+ name: z.ZodString;
247
+ label: z.ZodString;
248
+ description: z.ZodOptional<z.ZodString>;
249
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
250
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
251
+ type: z.ZodLiteral<"textarea">;
252
+ placeholder: z.ZodOptional<z.ZodString>;
253
+ defaultValue: z.ZodOptional<z.ZodString>;
254
+ minLength: z.ZodOptional<z.ZodNumber>;
255
+ maxLength: z.ZodOptional<z.ZodNumber>;
256
+ rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
257
+ }, z.core.$strip>, z.ZodObject<{
258
+ name: z.ZodString;
259
+ label: z.ZodString;
260
+ description: z.ZodOptional<z.ZodString>;
261
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
262
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
263
+ type: z.ZodLiteral<"select">;
264
+ options: z.ZodArray<z.ZodObject<{
265
+ value: z.ZodString;
266
+ label: z.ZodString;
267
+ description: z.ZodOptional<z.ZodString>;
268
+ recommended: z.ZodOptional<z.ZodBoolean>;
269
+ }, z.core.$strip>>;
270
+ defaultValue: z.ZodOptional<z.ZodString>;
271
+ placeholder: z.ZodOptional<z.ZodString>;
272
+ }, z.core.$strip>, z.ZodObject<{
273
+ name: z.ZodString;
274
+ label: z.ZodString;
275
+ description: z.ZodOptional<z.ZodString>;
276
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
277
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
278
+ type: z.ZodLiteral<"checkbox">;
279
+ defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
280
+ }, z.core.$strip>, z.ZodObject<{
281
+ name: z.ZodString;
282
+ label: z.ZodString;
283
+ description: z.ZodOptional<z.ZodString>;
284
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
285
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
286
+ type: z.ZodLiteral<"radio">;
287
+ options: z.ZodArray<z.ZodObject<{
288
+ value: z.ZodString;
289
+ label: z.ZodString;
290
+ description: z.ZodOptional<z.ZodString>;
291
+ recommended: z.ZodOptional<z.ZodBoolean>;
292
+ }, z.core.$strip>>;
293
+ defaultValue: z.ZodOptional<z.ZodString>;
294
+ }, z.core.$strip>, z.ZodObject<{
295
+ name: z.ZodString;
296
+ label: z.ZodString;
297
+ description: z.ZodOptional<z.ZodString>;
298
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
299
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
300
+ type: z.ZodLiteral<"confirm">;
301
+ confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
302
+ denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
303
+ }, z.core.$strip>], "type">>;
304
+ recommendations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
305
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
306
+ created_at: z.ZodString;
307
+ expires_at: z.ZodNullable<z.ZodString>;
308
+ submitted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
309
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
310
+ expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
311
+ latest_response: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
312
+ id: z.ZodString;
313
+ input_request_id: z.ZodString;
314
+ conversation_id: z.ZodString;
315
+ run_id: z.ZodString;
316
+ actor_type: z.ZodString;
317
+ actor_id: z.ZodString;
318
+ values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
319
+ created_at: z.ZodString;
320
+ }, z.core.$loose>, z.ZodTransform<{
321
+ id: string;
322
+ inputRequestId: string;
323
+ conversationId: string;
324
+ runId: string;
325
+ actorType: string;
326
+ actorId: string;
327
+ values: Record<string, string | number | boolean | null>;
328
+ createdAt: string;
329
+ }, {
330
+ [x: string]: unknown;
331
+ id: string;
332
+ input_request_id: string;
333
+ conversation_id: string;
334
+ run_id: string;
335
+ actor_type: string;
336
+ actor_id: string;
337
+ values: Record<string, string | number | boolean | null>;
338
+ created_at: string;
339
+ }>>>>;
340
+ }, z.core.$loose>, z.ZodTransform<{
341
+ id: string;
342
+ conversationId: string;
343
+ runId: string;
344
+ toolCallId: string;
345
+ kind: "form";
346
+ status: "open" | "expired" | "cancelled" | "submitted";
347
+ requestedResponderType: "agent" | "system" | "human";
348
+ title: string;
349
+ description: string | null;
350
+ fields: ({
351
+ name: string;
352
+ label: string;
353
+ required: boolean;
354
+ secret: boolean;
355
+ type: "number" | "password" | "url" | "text" | "email";
356
+ description?: string | undefined;
357
+ placeholder?: string | undefined;
358
+ defaultValue?: string | undefined;
359
+ pattern?: string | undefined;
360
+ minLength?: number | undefined;
361
+ maxLength?: number | undefined;
362
+ min?: number | undefined;
363
+ max?: number | undefined;
364
+ } | {
365
+ name: string;
366
+ label: string;
367
+ required: boolean;
368
+ secret: boolean;
369
+ type: "textarea";
370
+ rows: number;
371
+ description?: string | undefined;
372
+ placeholder?: string | undefined;
373
+ defaultValue?: string | undefined;
374
+ minLength?: number | undefined;
375
+ maxLength?: number | undefined;
376
+ } | {
377
+ name: string;
378
+ label: string;
379
+ required: boolean;
380
+ secret: boolean;
381
+ type: "select";
382
+ options: {
383
+ value: string;
384
+ label: string;
385
+ description?: string | undefined;
386
+ recommended?: boolean | undefined;
387
+ }[];
388
+ description?: string | undefined;
389
+ defaultValue?: string | undefined;
390
+ placeholder?: string | undefined;
391
+ } | {
392
+ name: string;
393
+ label: string;
394
+ required: boolean;
395
+ secret: boolean;
396
+ type: "checkbox";
397
+ defaultValue: boolean;
398
+ description?: string | undefined;
399
+ } | {
400
+ name: string;
401
+ label: string;
402
+ required: boolean;
403
+ secret: boolean;
404
+ type: "radio";
405
+ options: {
406
+ value: string;
407
+ label: string;
408
+ description?: string | undefined;
409
+ recommended?: boolean | undefined;
410
+ }[];
411
+ description?: string | undefined;
412
+ defaultValue?: string | undefined;
413
+ } | {
414
+ name: string;
415
+ label: string;
416
+ required: boolean;
417
+ secret: boolean;
418
+ type: "confirm";
419
+ confirmLabel: string;
420
+ denyLabel: string;
421
+ description?: string | undefined;
422
+ })[];
423
+ recommendations: Record<string, unknown> | null;
424
+ metadata: Record<string, unknown> | null;
425
+ createdAt: string;
426
+ expiresAt: string | null;
427
+ submittedAt: string | null;
428
+ cancelledAt: string | null;
429
+ expiredAt: string | null;
430
+ latestResponse: {
431
+ id: string;
432
+ inputRequestId: string;
433
+ conversationId: string;
434
+ runId: string;
435
+ actorType: string;
436
+ actorId: string;
437
+ values: Record<string, string | number | boolean | null>;
438
+ createdAt: string;
439
+ } | null;
440
+ }, {
441
+ [x: string]: unknown;
442
+ id: string;
443
+ conversation_id: string;
444
+ run_id: string;
445
+ tool_call_id: string;
446
+ kind: "form";
447
+ status: "open" | "expired" | "cancelled" | "submitted";
448
+ requested_responder_type: "agent" | "system" | "human";
449
+ title: string;
450
+ description: string | null;
451
+ fields: ({
452
+ name: string;
453
+ label: string;
454
+ required: boolean;
455
+ secret: boolean;
456
+ type: "number" | "password" | "url" | "text" | "email";
457
+ description?: string | undefined;
458
+ placeholder?: string | undefined;
459
+ defaultValue?: string | undefined;
460
+ pattern?: string | undefined;
461
+ minLength?: number | undefined;
462
+ maxLength?: number | undefined;
463
+ min?: number | undefined;
464
+ max?: number | undefined;
465
+ } | {
466
+ name: string;
467
+ label: string;
468
+ required: boolean;
469
+ secret: boolean;
470
+ type: "textarea";
471
+ rows: number;
472
+ description?: string | undefined;
473
+ placeholder?: string | undefined;
474
+ defaultValue?: string | undefined;
475
+ minLength?: number | undefined;
476
+ maxLength?: number | undefined;
477
+ } | {
478
+ name: string;
479
+ label: string;
480
+ required: boolean;
481
+ secret: boolean;
482
+ type: "select";
483
+ options: {
484
+ value: string;
485
+ label: string;
486
+ description?: string | undefined;
487
+ recommended?: boolean | undefined;
488
+ }[];
489
+ description?: string | undefined;
490
+ defaultValue?: string | undefined;
491
+ placeholder?: string | undefined;
492
+ } | {
493
+ name: string;
494
+ label: string;
495
+ required: boolean;
496
+ secret: boolean;
497
+ type: "checkbox";
498
+ defaultValue: boolean;
499
+ description?: string | undefined;
500
+ } | {
501
+ name: string;
502
+ label: string;
503
+ required: boolean;
504
+ secret: boolean;
505
+ type: "radio";
506
+ options: {
507
+ value: string;
508
+ label: string;
509
+ description?: string | undefined;
510
+ recommended?: boolean | undefined;
511
+ }[];
512
+ description?: string | undefined;
513
+ defaultValue?: string | undefined;
514
+ } | {
515
+ name: string;
516
+ label: string;
517
+ required: boolean;
518
+ secret: boolean;
519
+ type: "confirm";
520
+ confirmLabel: string;
521
+ denyLabel: string;
522
+ description?: string | undefined;
523
+ })[];
524
+ created_at: string;
525
+ expires_at: string | null;
526
+ recommendations?: Record<string, unknown> | null | undefined;
527
+ metadata?: Record<string, unknown> | null | undefined;
528
+ submitted_at?: string | null | undefined;
529
+ cancelled_at?: string | null | undefined;
530
+ expired_at?: string | null | undefined;
531
+ latest_response?: {
532
+ id: string;
533
+ inputRequestId: string;
534
+ conversationId: string;
535
+ runId: string;
536
+ actorType: string;
537
+ actorId: string;
538
+ values: Record<string, string | number | boolean | null>;
539
+ createdAt: string;
540
+ } | null | undefined;
541
+ }>>;
542
+ export declare const createInputRequestResponseSchema: z.ZodPipe<z.ZodObject<{
543
+ id: z.ZodString;
544
+ conversation_id: z.ZodString;
545
+ run_id: z.ZodString;
546
+ tool_call_id: z.ZodString;
547
+ kind: z.ZodLiteral<"form">;
548
+ status: z.ZodEnum<{
549
+ open: "open";
550
+ expired: "expired";
551
+ cancelled: "cancelled";
552
+ submitted: "submitted";
553
+ }>;
554
+ requested_responder_type: z.ZodEnum<{
555
+ agent: "agent";
556
+ system: "system";
557
+ human: "human";
558
+ }>;
559
+ title: z.ZodString;
560
+ description: z.ZodNullable<z.ZodString>;
561
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
562
+ name: z.ZodString;
563
+ label: z.ZodString;
564
+ description: z.ZodOptional<z.ZodString>;
565
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
566
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
567
+ type: z.ZodEnum<{
568
+ number: "number";
569
+ password: "password";
570
+ url: "url";
571
+ text: "text";
572
+ email: "email";
573
+ }>;
574
+ placeholder: z.ZodOptional<z.ZodString>;
575
+ defaultValue: z.ZodOptional<z.ZodString>;
576
+ pattern: z.ZodOptional<z.ZodString>;
577
+ minLength: z.ZodOptional<z.ZodNumber>;
578
+ maxLength: z.ZodOptional<z.ZodNumber>;
579
+ min: z.ZodOptional<z.ZodNumber>;
580
+ max: z.ZodOptional<z.ZodNumber>;
581
+ }, z.core.$strip>, z.ZodObject<{
582
+ name: z.ZodString;
583
+ label: z.ZodString;
584
+ description: z.ZodOptional<z.ZodString>;
585
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
586
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
587
+ type: z.ZodLiteral<"textarea">;
588
+ placeholder: z.ZodOptional<z.ZodString>;
589
+ defaultValue: z.ZodOptional<z.ZodString>;
590
+ minLength: z.ZodOptional<z.ZodNumber>;
591
+ maxLength: z.ZodOptional<z.ZodNumber>;
592
+ rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
593
+ }, z.core.$strip>, z.ZodObject<{
594
+ name: z.ZodString;
595
+ label: z.ZodString;
596
+ description: z.ZodOptional<z.ZodString>;
597
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
598
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
599
+ type: z.ZodLiteral<"select">;
600
+ options: z.ZodArray<z.ZodObject<{
601
+ value: z.ZodString;
602
+ label: z.ZodString;
603
+ description: z.ZodOptional<z.ZodString>;
604
+ recommended: z.ZodOptional<z.ZodBoolean>;
605
+ }, z.core.$strip>>;
606
+ defaultValue: z.ZodOptional<z.ZodString>;
607
+ placeholder: z.ZodOptional<z.ZodString>;
608
+ }, z.core.$strip>, z.ZodObject<{
609
+ name: z.ZodString;
610
+ label: z.ZodString;
611
+ description: z.ZodOptional<z.ZodString>;
612
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
613
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
614
+ type: z.ZodLiteral<"checkbox">;
615
+ defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
616
+ }, z.core.$strip>, z.ZodObject<{
617
+ name: z.ZodString;
618
+ label: z.ZodString;
619
+ description: z.ZodOptional<z.ZodString>;
620
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
621
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
622
+ type: z.ZodLiteral<"radio">;
623
+ options: z.ZodArray<z.ZodObject<{
624
+ value: z.ZodString;
625
+ label: z.ZodString;
626
+ description: z.ZodOptional<z.ZodString>;
627
+ recommended: z.ZodOptional<z.ZodBoolean>;
628
+ }, z.core.$strip>>;
629
+ defaultValue: z.ZodOptional<z.ZodString>;
630
+ }, z.core.$strip>, z.ZodObject<{
631
+ name: z.ZodString;
632
+ label: z.ZodString;
633
+ description: z.ZodOptional<z.ZodString>;
634
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
635
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
636
+ type: z.ZodLiteral<"confirm">;
637
+ confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
638
+ denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
639
+ }, z.core.$strip>], "type">>;
640
+ recommendations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
641
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
642
+ created_at: z.ZodString;
643
+ expires_at: z.ZodNullable<z.ZodString>;
644
+ submitted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
645
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
646
+ expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
647
+ latest_response: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
648
+ id: z.ZodString;
649
+ input_request_id: z.ZodString;
650
+ conversation_id: z.ZodString;
651
+ run_id: z.ZodString;
652
+ actor_type: z.ZodString;
653
+ actor_id: z.ZodString;
654
+ values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
655
+ created_at: z.ZodString;
656
+ }, z.core.$loose>, z.ZodTransform<{
657
+ id: string;
658
+ inputRequestId: string;
659
+ conversationId: string;
660
+ runId: string;
661
+ actorType: string;
662
+ actorId: string;
663
+ values: Record<string, string | number | boolean | null>;
664
+ createdAt: string;
665
+ }, {
666
+ [x: string]: unknown;
667
+ id: string;
668
+ input_request_id: string;
669
+ conversation_id: string;
670
+ run_id: string;
671
+ actor_type: string;
672
+ actor_id: string;
673
+ values: Record<string, string | number | boolean | null>;
674
+ created_at: string;
675
+ }>>>>;
676
+ }, z.core.$loose>, z.ZodTransform<{
677
+ id: string;
678
+ conversationId: string;
679
+ runId: string;
680
+ toolCallId: string;
681
+ kind: "form";
682
+ status: "open" | "expired" | "cancelled" | "submitted";
683
+ requestedResponderType: "agent" | "system" | "human";
684
+ title: string;
685
+ description: string | null;
686
+ fields: ({
687
+ name: string;
688
+ label: string;
689
+ required: boolean;
690
+ secret: boolean;
691
+ type: "number" | "password" | "url" | "text" | "email";
692
+ description?: string | undefined;
693
+ placeholder?: string | undefined;
694
+ defaultValue?: string | undefined;
695
+ pattern?: string | undefined;
696
+ minLength?: number | undefined;
697
+ maxLength?: number | undefined;
698
+ min?: number | undefined;
699
+ max?: number | undefined;
700
+ } | {
701
+ name: string;
702
+ label: string;
703
+ required: boolean;
704
+ secret: boolean;
705
+ type: "textarea";
706
+ rows: number;
707
+ description?: string | undefined;
708
+ placeholder?: string | undefined;
709
+ defaultValue?: string | undefined;
710
+ minLength?: number | undefined;
711
+ maxLength?: number | undefined;
712
+ } | {
713
+ name: string;
714
+ label: string;
715
+ required: boolean;
716
+ secret: boolean;
717
+ type: "select";
718
+ options: {
719
+ value: string;
720
+ label: string;
721
+ description?: string | undefined;
722
+ recommended?: boolean | undefined;
723
+ }[];
724
+ description?: string | undefined;
725
+ defaultValue?: string | undefined;
726
+ placeholder?: string | undefined;
727
+ } | {
728
+ name: string;
729
+ label: string;
730
+ required: boolean;
731
+ secret: boolean;
732
+ type: "checkbox";
733
+ defaultValue: boolean;
734
+ description?: string | undefined;
735
+ } | {
736
+ name: string;
737
+ label: string;
738
+ required: boolean;
739
+ secret: boolean;
740
+ type: "radio";
741
+ options: {
742
+ value: string;
743
+ label: string;
744
+ description?: string | undefined;
745
+ recommended?: boolean | undefined;
746
+ }[];
747
+ description?: string | undefined;
748
+ defaultValue?: string | undefined;
749
+ } | {
750
+ name: string;
751
+ label: string;
752
+ required: boolean;
753
+ secret: boolean;
754
+ type: "confirm";
755
+ confirmLabel: string;
756
+ denyLabel: string;
757
+ description?: string | undefined;
758
+ })[];
759
+ recommendations: Record<string, unknown> | null;
760
+ metadata: Record<string, unknown> | null;
761
+ createdAt: string;
762
+ expiresAt: string | null;
763
+ submittedAt: string | null;
764
+ cancelledAt: string | null;
765
+ expiredAt: string | null;
766
+ latestResponse: {
767
+ id: string;
768
+ inputRequestId: string;
769
+ conversationId: string;
770
+ runId: string;
771
+ actorType: string;
772
+ actorId: string;
773
+ values: Record<string, string | number | boolean | null>;
774
+ createdAt: string;
775
+ } | null;
776
+ }, {
777
+ [x: string]: unknown;
778
+ id: string;
779
+ conversation_id: string;
780
+ run_id: string;
781
+ tool_call_id: string;
782
+ kind: "form";
783
+ status: "open" | "expired" | "cancelled" | "submitted";
784
+ requested_responder_type: "agent" | "system" | "human";
785
+ title: string;
786
+ description: string | null;
787
+ fields: ({
788
+ name: string;
789
+ label: string;
790
+ required: boolean;
791
+ secret: boolean;
792
+ type: "number" | "password" | "url" | "text" | "email";
793
+ description?: string | undefined;
794
+ placeholder?: string | undefined;
795
+ defaultValue?: string | undefined;
796
+ pattern?: string | undefined;
797
+ minLength?: number | undefined;
798
+ maxLength?: number | undefined;
799
+ min?: number | undefined;
800
+ max?: number | undefined;
801
+ } | {
802
+ name: string;
803
+ label: string;
804
+ required: boolean;
805
+ secret: boolean;
806
+ type: "textarea";
807
+ rows: number;
808
+ description?: string | undefined;
809
+ placeholder?: string | undefined;
810
+ defaultValue?: string | undefined;
811
+ minLength?: number | undefined;
812
+ maxLength?: number | undefined;
813
+ } | {
814
+ name: string;
815
+ label: string;
816
+ required: boolean;
817
+ secret: boolean;
818
+ type: "select";
819
+ options: {
820
+ value: string;
821
+ label: string;
822
+ description?: string | undefined;
823
+ recommended?: boolean | undefined;
824
+ }[];
825
+ description?: string | undefined;
826
+ defaultValue?: string | undefined;
827
+ placeholder?: string | undefined;
828
+ } | {
829
+ name: string;
830
+ label: string;
831
+ required: boolean;
832
+ secret: boolean;
833
+ type: "checkbox";
834
+ defaultValue: boolean;
835
+ description?: string | undefined;
836
+ } | {
837
+ name: string;
838
+ label: string;
839
+ required: boolean;
840
+ secret: boolean;
841
+ type: "radio";
842
+ options: {
843
+ value: string;
844
+ label: string;
845
+ description?: string | undefined;
846
+ recommended?: boolean | undefined;
847
+ }[];
848
+ description?: string | undefined;
849
+ defaultValue?: string | undefined;
850
+ } | {
851
+ name: string;
852
+ label: string;
853
+ required: boolean;
854
+ secret: boolean;
855
+ type: "confirm";
856
+ confirmLabel: string;
857
+ denyLabel: string;
858
+ description?: string | undefined;
859
+ })[];
860
+ created_at: string;
861
+ expires_at: string | null;
862
+ recommendations?: Record<string, unknown> | null | undefined;
863
+ metadata?: Record<string, unknown> | null | undefined;
864
+ submitted_at?: string | null | undefined;
865
+ cancelled_at?: string | null | undefined;
866
+ expired_at?: string | null | undefined;
867
+ latest_response?: {
868
+ id: string;
869
+ inputRequestId: string;
870
+ conversationId: string;
871
+ runId: string;
872
+ actorType: string;
873
+ actorId: string;
874
+ values: Record<string, string | number | boolean | null>;
875
+ createdAt: string;
876
+ } | null | undefined;
877
+ }>>;
878
+ export declare const getInputRequestResponseSchema: z.ZodPipe<z.ZodObject<{
879
+ id: z.ZodString;
880
+ conversation_id: z.ZodString;
881
+ run_id: z.ZodString;
882
+ tool_call_id: z.ZodString;
883
+ kind: z.ZodLiteral<"form">;
884
+ status: z.ZodEnum<{
885
+ open: "open";
886
+ expired: "expired";
887
+ cancelled: "cancelled";
888
+ submitted: "submitted";
889
+ }>;
890
+ requested_responder_type: z.ZodEnum<{
891
+ agent: "agent";
892
+ system: "system";
893
+ human: "human";
894
+ }>;
895
+ title: z.ZodString;
896
+ description: z.ZodNullable<z.ZodString>;
897
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
898
+ name: z.ZodString;
899
+ label: z.ZodString;
900
+ description: z.ZodOptional<z.ZodString>;
901
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
902
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
903
+ type: z.ZodEnum<{
904
+ number: "number";
905
+ password: "password";
906
+ url: "url";
907
+ text: "text";
908
+ email: "email";
909
+ }>;
910
+ placeholder: z.ZodOptional<z.ZodString>;
911
+ defaultValue: z.ZodOptional<z.ZodString>;
912
+ pattern: z.ZodOptional<z.ZodString>;
913
+ minLength: z.ZodOptional<z.ZodNumber>;
914
+ maxLength: z.ZodOptional<z.ZodNumber>;
915
+ min: z.ZodOptional<z.ZodNumber>;
916
+ max: z.ZodOptional<z.ZodNumber>;
917
+ }, z.core.$strip>, z.ZodObject<{
918
+ name: z.ZodString;
919
+ label: z.ZodString;
920
+ description: z.ZodOptional<z.ZodString>;
921
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
922
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
923
+ type: z.ZodLiteral<"textarea">;
924
+ placeholder: z.ZodOptional<z.ZodString>;
925
+ defaultValue: z.ZodOptional<z.ZodString>;
926
+ minLength: z.ZodOptional<z.ZodNumber>;
927
+ maxLength: z.ZodOptional<z.ZodNumber>;
928
+ rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
929
+ }, z.core.$strip>, z.ZodObject<{
930
+ name: z.ZodString;
931
+ label: z.ZodString;
932
+ description: z.ZodOptional<z.ZodString>;
933
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
934
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
935
+ type: z.ZodLiteral<"select">;
936
+ options: z.ZodArray<z.ZodObject<{
937
+ value: z.ZodString;
938
+ label: z.ZodString;
939
+ description: z.ZodOptional<z.ZodString>;
940
+ recommended: z.ZodOptional<z.ZodBoolean>;
941
+ }, z.core.$strip>>;
942
+ defaultValue: z.ZodOptional<z.ZodString>;
943
+ placeholder: z.ZodOptional<z.ZodString>;
944
+ }, z.core.$strip>, z.ZodObject<{
945
+ name: z.ZodString;
946
+ label: z.ZodString;
947
+ description: z.ZodOptional<z.ZodString>;
948
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
949
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
950
+ type: z.ZodLiteral<"checkbox">;
951
+ defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
952
+ }, z.core.$strip>, z.ZodObject<{
953
+ name: z.ZodString;
954
+ label: z.ZodString;
955
+ description: z.ZodOptional<z.ZodString>;
956
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
957
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
958
+ type: z.ZodLiteral<"radio">;
959
+ options: z.ZodArray<z.ZodObject<{
960
+ value: z.ZodString;
961
+ label: z.ZodString;
962
+ description: z.ZodOptional<z.ZodString>;
963
+ recommended: z.ZodOptional<z.ZodBoolean>;
964
+ }, z.core.$strip>>;
965
+ defaultValue: z.ZodOptional<z.ZodString>;
966
+ }, z.core.$strip>, z.ZodObject<{
967
+ name: z.ZodString;
968
+ label: z.ZodString;
969
+ description: z.ZodOptional<z.ZodString>;
970
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
971
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
972
+ type: z.ZodLiteral<"confirm">;
973
+ confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
974
+ denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
975
+ }, z.core.$strip>], "type">>;
976
+ recommendations: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
977
+ metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
978
+ created_at: z.ZodString;
979
+ expires_at: z.ZodNullable<z.ZodString>;
980
+ submitted_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
981
+ cancelled_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
982
+ expired_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
983
+ latest_response: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodObject<{
984
+ id: z.ZodString;
985
+ input_request_id: z.ZodString;
986
+ conversation_id: z.ZodString;
987
+ run_id: z.ZodString;
988
+ actor_type: z.ZodString;
989
+ actor_id: z.ZodString;
990
+ values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
991
+ created_at: z.ZodString;
992
+ }, z.core.$loose>, z.ZodTransform<{
993
+ id: string;
994
+ inputRequestId: string;
995
+ conversationId: string;
996
+ runId: string;
997
+ actorType: string;
998
+ actorId: string;
999
+ values: Record<string, string | number | boolean | null>;
1000
+ createdAt: string;
1001
+ }, {
1002
+ [x: string]: unknown;
1003
+ id: string;
1004
+ input_request_id: string;
1005
+ conversation_id: string;
1006
+ run_id: string;
1007
+ actor_type: string;
1008
+ actor_id: string;
1009
+ values: Record<string, string | number | boolean | null>;
1010
+ created_at: string;
1011
+ }>>>>;
1012
+ }, z.core.$loose>, z.ZodTransform<{
1013
+ id: string;
1014
+ conversationId: string;
1015
+ runId: string;
1016
+ toolCallId: string;
1017
+ kind: "form";
1018
+ status: "open" | "expired" | "cancelled" | "submitted";
1019
+ requestedResponderType: "agent" | "system" | "human";
1020
+ title: string;
1021
+ description: string | null;
1022
+ fields: ({
1023
+ name: string;
1024
+ label: string;
1025
+ required: boolean;
1026
+ secret: boolean;
1027
+ type: "number" | "password" | "url" | "text" | "email";
1028
+ description?: string | undefined;
1029
+ placeholder?: string | undefined;
1030
+ defaultValue?: string | undefined;
1031
+ pattern?: string | undefined;
1032
+ minLength?: number | undefined;
1033
+ maxLength?: number | undefined;
1034
+ min?: number | undefined;
1035
+ max?: number | undefined;
1036
+ } | {
1037
+ name: string;
1038
+ label: string;
1039
+ required: boolean;
1040
+ secret: boolean;
1041
+ type: "textarea";
1042
+ rows: number;
1043
+ description?: string | undefined;
1044
+ placeholder?: string | undefined;
1045
+ defaultValue?: string | undefined;
1046
+ minLength?: number | undefined;
1047
+ maxLength?: number | undefined;
1048
+ } | {
1049
+ name: string;
1050
+ label: string;
1051
+ required: boolean;
1052
+ secret: boolean;
1053
+ type: "select";
1054
+ options: {
1055
+ value: string;
1056
+ label: string;
1057
+ description?: string | undefined;
1058
+ recommended?: boolean | undefined;
1059
+ }[];
1060
+ description?: string | undefined;
1061
+ defaultValue?: string | undefined;
1062
+ placeholder?: string | undefined;
1063
+ } | {
1064
+ name: string;
1065
+ label: string;
1066
+ required: boolean;
1067
+ secret: boolean;
1068
+ type: "checkbox";
1069
+ defaultValue: boolean;
1070
+ description?: string | undefined;
1071
+ } | {
1072
+ name: string;
1073
+ label: string;
1074
+ required: boolean;
1075
+ secret: boolean;
1076
+ type: "radio";
1077
+ options: {
1078
+ value: string;
1079
+ label: string;
1080
+ description?: string | undefined;
1081
+ recommended?: boolean | undefined;
1082
+ }[];
1083
+ description?: string | undefined;
1084
+ defaultValue?: string | undefined;
1085
+ } | {
1086
+ name: string;
1087
+ label: string;
1088
+ required: boolean;
1089
+ secret: boolean;
1090
+ type: "confirm";
1091
+ confirmLabel: string;
1092
+ denyLabel: string;
1093
+ description?: string | undefined;
1094
+ })[];
1095
+ recommendations: Record<string, unknown> | null;
1096
+ metadata: Record<string, unknown> | null;
1097
+ createdAt: string;
1098
+ expiresAt: string | null;
1099
+ submittedAt: string | null;
1100
+ cancelledAt: string | null;
1101
+ expiredAt: string | null;
1102
+ latestResponse: {
1103
+ id: string;
1104
+ inputRequestId: string;
1105
+ conversationId: string;
1106
+ runId: string;
1107
+ actorType: string;
1108
+ actorId: string;
1109
+ values: Record<string, string | number | boolean | null>;
1110
+ createdAt: string;
1111
+ } | null;
1112
+ }, {
1113
+ [x: string]: unknown;
1114
+ id: string;
1115
+ conversation_id: string;
1116
+ run_id: string;
1117
+ tool_call_id: string;
1118
+ kind: "form";
1119
+ status: "open" | "expired" | "cancelled" | "submitted";
1120
+ requested_responder_type: "agent" | "system" | "human";
1121
+ title: string;
1122
+ description: string | null;
1123
+ fields: ({
1124
+ name: string;
1125
+ label: string;
1126
+ required: boolean;
1127
+ secret: boolean;
1128
+ type: "number" | "password" | "url" | "text" | "email";
1129
+ description?: string | undefined;
1130
+ placeholder?: string | undefined;
1131
+ defaultValue?: string | undefined;
1132
+ pattern?: string | undefined;
1133
+ minLength?: number | undefined;
1134
+ maxLength?: number | undefined;
1135
+ min?: number | undefined;
1136
+ max?: number | undefined;
1137
+ } | {
1138
+ name: string;
1139
+ label: string;
1140
+ required: boolean;
1141
+ secret: boolean;
1142
+ type: "textarea";
1143
+ rows: number;
1144
+ description?: string | undefined;
1145
+ placeholder?: string | undefined;
1146
+ defaultValue?: string | undefined;
1147
+ minLength?: number | undefined;
1148
+ maxLength?: number | undefined;
1149
+ } | {
1150
+ name: string;
1151
+ label: string;
1152
+ required: boolean;
1153
+ secret: boolean;
1154
+ type: "select";
1155
+ options: {
1156
+ value: string;
1157
+ label: string;
1158
+ description?: string | undefined;
1159
+ recommended?: boolean | undefined;
1160
+ }[];
1161
+ description?: string | undefined;
1162
+ defaultValue?: string | undefined;
1163
+ placeholder?: string | undefined;
1164
+ } | {
1165
+ name: string;
1166
+ label: string;
1167
+ required: boolean;
1168
+ secret: boolean;
1169
+ type: "checkbox";
1170
+ defaultValue: boolean;
1171
+ description?: string | undefined;
1172
+ } | {
1173
+ name: string;
1174
+ label: string;
1175
+ required: boolean;
1176
+ secret: boolean;
1177
+ type: "radio";
1178
+ options: {
1179
+ value: string;
1180
+ label: string;
1181
+ description?: string | undefined;
1182
+ recommended?: boolean | undefined;
1183
+ }[];
1184
+ description?: string | undefined;
1185
+ defaultValue?: string | undefined;
1186
+ } | {
1187
+ name: string;
1188
+ label: string;
1189
+ required: boolean;
1190
+ secret: boolean;
1191
+ type: "confirm";
1192
+ confirmLabel: string;
1193
+ denyLabel: string;
1194
+ description?: string | undefined;
1195
+ })[];
1196
+ created_at: string;
1197
+ expires_at: string | null;
1198
+ recommendations?: Record<string, unknown> | null | undefined;
1199
+ metadata?: Record<string, unknown> | null | undefined;
1200
+ submitted_at?: string | null | undefined;
1201
+ cancelled_at?: string | null | undefined;
1202
+ expired_at?: string | null | undefined;
1203
+ latest_response?: {
1204
+ id: string;
1205
+ inputRequestId: string;
1206
+ conversationId: string;
1207
+ runId: string;
1208
+ actorType: string;
1209
+ actorId: string;
1210
+ values: Record<string, string | number | boolean | null>;
1211
+ createdAt: string;
1212
+ } | null | undefined;
1213
+ }>>;
1214
+ export declare const inputRequestOutputSchema: z.ZodObject<{
1215
+ id: z.ZodString;
1216
+ conversationId: z.ZodString;
1217
+ runId: z.ZodString;
1218
+ toolCallId: z.ZodString;
1219
+ kind: z.ZodLiteral<"form">;
1220
+ status: z.ZodEnum<{
1221
+ open: "open";
1222
+ expired: "expired";
1223
+ cancelled: "cancelled";
1224
+ submitted: "submitted";
1225
+ }>;
1226
+ requestedResponderType: z.ZodEnum<{
1227
+ agent: "agent";
1228
+ system: "system";
1229
+ human: "human";
1230
+ }>;
1231
+ title: z.ZodString;
1232
+ description: z.ZodNullable<z.ZodString>;
1233
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1234
+ name: z.ZodString;
1235
+ label: z.ZodString;
1236
+ description: z.ZodOptional<z.ZodString>;
1237
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1238
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1239
+ type: z.ZodEnum<{
1240
+ number: "number";
1241
+ password: "password";
1242
+ url: "url";
1243
+ text: "text";
1244
+ email: "email";
1245
+ }>;
1246
+ placeholder: z.ZodOptional<z.ZodString>;
1247
+ defaultValue: z.ZodOptional<z.ZodString>;
1248
+ pattern: z.ZodOptional<z.ZodString>;
1249
+ minLength: z.ZodOptional<z.ZodNumber>;
1250
+ maxLength: z.ZodOptional<z.ZodNumber>;
1251
+ min: z.ZodOptional<z.ZodNumber>;
1252
+ max: z.ZodOptional<z.ZodNumber>;
1253
+ }, z.core.$strip>, z.ZodObject<{
1254
+ name: z.ZodString;
1255
+ label: z.ZodString;
1256
+ description: z.ZodOptional<z.ZodString>;
1257
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1258
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1259
+ type: z.ZodLiteral<"textarea">;
1260
+ placeholder: z.ZodOptional<z.ZodString>;
1261
+ defaultValue: z.ZodOptional<z.ZodString>;
1262
+ minLength: z.ZodOptional<z.ZodNumber>;
1263
+ maxLength: z.ZodOptional<z.ZodNumber>;
1264
+ rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1265
+ }, z.core.$strip>, z.ZodObject<{
1266
+ name: z.ZodString;
1267
+ label: z.ZodString;
1268
+ description: z.ZodOptional<z.ZodString>;
1269
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1270
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1271
+ type: z.ZodLiteral<"select">;
1272
+ options: z.ZodArray<z.ZodObject<{
1273
+ value: z.ZodString;
1274
+ label: z.ZodString;
1275
+ description: z.ZodOptional<z.ZodString>;
1276
+ recommended: z.ZodOptional<z.ZodBoolean>;
1277
+ }, z.core.$strip>>;
1278
+ defaultValue: z.ZodOptional<z.ZodString>;
1279
+ placeholder: z.ZodOptional<z.ZodString>;
1280
+ }, z.core.$strip>, z.ZodObject<{
1281
+ name: z.ZodString;
1282
+ label: z.ZodString;
1283
+ description: z.ZodOptional<z.ZodString>;
1284
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1285
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1286
+ type: z.ZodLiteral<"checkbox">;
1287
+ defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1288
+ }, z.core.$strip>, z.ZodObject<{
1289
+ name: z.ZodString;
1290
+ label: z.ZodString;
1291
+ description: z.ZodOptional<z.ZodString>;
1292
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1293
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1294
+ type: z.ZodLiteral<"radio">;
1295
+ options: z.ZodArray<z.ZodObject<{
1296
+ value: z.ZodString;
1297
+ label: z.ZodString;
1298
+ description: z.ZodOptional<z.ZodString>;
1299
+ recommended: z.ZodOptional<z.ZodBoolean>;
1300
+ }, z.core.$strip>>;
1301
+ defaultValue: z.ZodOptional<z.ZodString>;
1302
+ }, z.core.$strip>, z.ZodObject<{
1303
+ name: z.ZodString;
1304
+ label: z.ZodString;
1305
+ description: z.ZodOptional<z.ZodString>;
1306
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1307
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1308
+ type: z.ZodLiteral<"confirm">;
1309
+ confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1310
+ denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1311
+ }, z.core.$strip>], "type">>;
1312
+ recommendations: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1313
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1314
+ createdAt: z.ZodString;
1315
+ expiresAt: z.ZodNullable<z.ZodString>;
1316
+ submittedAt: z.ZodNullable<z.ZodString>;
1317
+ cancelledAt: z.ZodNullable<z.ZodString>;
1318
+ expiredAt: z.ZodNullable<z.ZodString>;
1319
+ latestResponse: z.ZodNullable<z.ZodPipe<z.ZodObject<{
1320
+ id: z.ZodString;
1321
+ input_request_id: z.ZodString;
1322
+ conversation_id: z.ZodString;
1323
+ run_id: z.ZodString;
1324
+ actor_type: z.ZodString;
1325
+ actor_id: z.ZodString;
1326
+ values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
1327
+ created_at: z.ZodString;
1328
+ }, z.core.$loose>, z.ZodTransform<{
1329
+ id: string;
1330
+ inputRequestId: string;
1331
+ conversationId: string;
1332
+ runId: string;
1333
+ actorType: string;
1334
+ actorId: string;
1335
+ values: Record<string, string | number | boolean | null>;
1336
+ createdAt: string;
1337
+ }, {
1338
+ [x: string]: unknown;
1339
+ id: string;
1340
+ input_request_id: string;
1341
+ conversation_id: string;
1342
+ run_id: string;
1343
+ actor_type: string;
1344
+ actor_id: string;
1345
+ values: Record<string, string | number | boolean | null>;
1346
+ created_at: string;
1347
+ }>>>;
1348
+ }, z.core.$strip>;
1349
+ export declare const inputRequestLifecycleDataEventSchema: z.ZodObject<{
1350
+ type: z.ZodLiteral<"veryfront.input_request.lifecycle">;
1351
+ data: z.ZodObject<{
1352
+ action: z.ZodEnum<{
1353
+ created: "created";
1354
+ updated: "updated";
1355
+ }>;
1356
+ inputRequest: z.ZodObject<{
1357
+ id: z.ZodString;
1358
+ conversationId: z.ZodString;
1359
+ runId: z.ZodString;
1360
+ toolCallId: z.ZodString;
1361
+ kind: z.ZodLiteral<"form">;
1362
+ status: z.ZodEnum<{
1363
+ open: "open";
1364
+ expired: "expired";
1365
+ cancelled: "cancelled";
1366
+ submitted: "submitted";
1367
+ }>;
1368
+ requestedResponderType: z.ZodEnum<{
1369
+ agent: "agent";
1370
+ system: "system";
1371
+ human: "human";
1372
+ }>;
1373
+ title: z.ZodString;
1374
+ description: z.ZodNullable<z.ZodString>;
1375
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1376
+ name: z.ZodString;
1377
+ label: z.ZodString;
1378
+ description: z.ZodOptional<z.ZodString>;
1379
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1380
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1381
+ type: z.ZodEnum<{
1382
+ number: "number";
1383
+ password: "password";
1384
+ url: "url";
1385
+ text: "text";
1386
+ email: "email";
1387
+ }>;
1388
+ placeholder: z.ZodOptional<z.ZodString>;
1389
+ defaultValue: z.ZodOptional<z.ZodString>;
1390
+ pattern: z.ZodOptional<z.ZodString>;
1391
+ minLength: z.ZodOptional<z.ZodNumber>;
1392
+ maxLength: z.ZodOptional<z.ZodNumber>;
1393
+ min: z.ZodOptional<z.ZodNumber>;
1394
+ max: z.ZodOptional<z.ZodNumber>;
1395
+ }, z.core.$strip>, z.ZodObject<{
1396
+ name: z.ZodString;
1397
+ label: z.ZodString;
1398
+ description: z.ZodOptional<z.ZodString>;
1399
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1400
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1401
+ type: z.ZodLiteral<"textarea">;
1402
+ placeholder: z.ZodOptional<z.ZodString>;
1403
+ defaultValue: z.ZodOptional<z.ZodString>;
1404
+ minLength: z.ZodOptional<z.ZodNumber>;
1405
+ maxLength: z.ZodOptional<z.ZodNumber>;
1406
+ rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1407
+ }, z.core.$strip>, z.ZodObject<{
1408
+ name: z.ZodString;
1409
+ label: z.ZodString;
1410
+ description: z.ZodOptional<z.ZodString>;
1411
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1412
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1413
+ type: z.ZodLiteral<"select">;
1414
+ options: z.ZodArray<z.ZodObject<{
1415
+ value: z.ZodString;
1416
+ label: z.ZodString;
1417
+ description: z.ZodOptional<z.ZodString>;
1418
+ recommended: z.ZodOptional<z.ZodBoolean>;
1419
+ }, z.core.$strip>>;
1420
+ defaultValue: z.ZodOptional<z.ZodString>;
1421
+ placeholder: z.ZodOptional<z.ZodString>;
1422
+ }, z.core.$strip>, z.ZodObject<{
1423
+ name: z.ZodString;
1424
+ label: z.ZodString;
1425
+ description: z.ZodOptional<z.ZodString>;
1426
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1427
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1428
+ type: z.ZodLiteral<"checkbox">;
1429
+ defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1430
+ }, z.core.$strip>, z.ZodObject<{
1431
+ name: z.ZodString;
1432
+ label: z.ZodString;
1433
+ description: z.ZodOptional<z.ZodString>;
1434
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1435
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1436
+ type: z.ZodLiteral<"radio">;
1437
+ options: z.ZodArray<z.ZodObject<{
1438
+ value: z.ZodString;
1439
+ label: z.ZodString;
1440
+ description: z.ZodOptional<z.ZodString>;
1441
+ recommended: z.ZodOptional<z.ZodBoolean>;
1442
+ }, z.core.$strip>>;
1443
+ defaultValue: z.ZodOptional<z.ZodString>;
1444
+ }, z.core.$strip>, z.ZodObject<{
1445
+ name: z.ZodString;
1446
+ label: z.ZodString;
1447
+ description: z.ZodOptional<z.ZodString>;
1448
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1449
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1450
+ type: z.ZodLiteral<"confirm">;
1451
+ confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1452
+ denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1453
+ }, z.core.$strip>], "type">>;
1454
+ recommendations: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1455
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1456
+ createdAt: z.ZodString;
1457
+ expiresAt: z.ZodNullable<z.ZodString>;
1458
+ submittedAt: z.ZodNullable<z.ZodString>;
1459
+ cancelledAt: z.ZodNullable<z.ZodString>;
1460
+ expiredAt: z.ZodNullable<z.ZodString>;
1461
+ latestResponse: z.ZodNullable<z.ZodPipe<z.ZodObject<{
1462
+ id: z.ZodString;
1463
+ input_request_id: z.ZodString;
1464
+ conversation_id: z.ZodString;
1465
+ run_id: z.ZodString;
1466
+ actor_type: z.ZodString;
1467
+ actor_id: z.ZodString;
1468
+ values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
1469
+ created_at: z.ZodString;
1470
+ }, z.core.$loose>, z.ZodTransform<{
1471
+ id: string;
1472
+ inputRequestId: string;
1473
+ conversationId: string;
1474
+ runId: string;
1475
+ actorType: string;
1476
+ actorId: string;
1477
+ values: Record<string, string | number | boolean | null>;
1478
+ createdAt: string;
1479
+ }, {
1480
+ [x: string]: unknown;
1481
+ id: string;
1482
+ input_request_id: string;
1483
+ conversation_id: string;
1484
+ run_id: string;
1485
+ actor_type: string;
1486
+ actor_id: string;
1487
+ values: Record<string, string | number | boolean | null>;
1488
+ created_at: string;
1489
+ }>>>;
1490
+ }, z.core.$strip>;
1491
+ }, z.core.$strip>;
1492
+ name: z.ZodLiteral<"veryfront.input_request.lifecycle">;
1493
+ value: z.ZodObject<{
1494
+ action: z.ZodEnum<{
1495
+ created: "created";
1496
+ updated: "updated";
1497
+ }>;
1498
+ inputRequest: z.ZodObject<{
1499
+ id: z.ZodString;
1500
+ conversationId: z.ZodString;
1501
+ runId: z.ZodString;
1502
+ toolCallId: z.ZodString;
1503
+ kind: z.ZodLiteral<"form">;
1504
+ status: z.ZodEnum<{
1505
+ open: "open";
1506
+ expired: "expired";
1507
+ cancelled: "cancelled";
1508
+ submitted: "submitted";
1509
+ }>;
1510
+ requestedResponderType: z.ZodEnum<{
1511
+ agent: "agent";
1512
+ system: "system";
1513
+ human: "human";
1514
+ }>;
1515
+ title: z.ZodString;
1516
+ description: z.ZodNullable<z.ZodString>;
1517
+ fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1518
+ name: z.ZodString;
1519
+ label: z.ZodString;
1520
+ description: z.ZodOptional<z.ZodString>;
1521
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1522
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1523
+ type: z.ZodEnum<{
1524
+ number: "number";
1525
+ password: "password";
1526
+ url: "url";
1527
+ text: "text";
1528
+ email: "email";
1529
+ }>;
1530
+ placeholder: z.ZodOptional<z.ZodString>;
1531
+ defaultValue: z.ZodOptional<z.ZodString>;
1532
+ pattern: z.ZodOptional<z.ZodString>;
1533
+ minLength: z.ZodOptional<z.ZodNumber>;
1534
+ maxLength: z.ZodOptional<z.ZodNumber>;
1535
+ min: z.ZodOptional<z.ZodNumber>;
1536
+ max: z.ZodOptional<z.ZodNumber>;
1537
+ }, z.core.$strip>, z.ZodObject<{
1538
+ name: z.ZodString;
1539
+ label: z.ZodString;
1540
+ description: z.ZodOptional<z.ZodString>;
1541
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1542
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1543
+ type: z.ZodLiteral<"textarea">;
1544
+ placeholder: z.ZodOptional<z.ZodString>;
1545
+ defaultValue: z.ZodOptional<z.ZodString>;
1546
+ minLength: z.ZodOptional<z.ZodNumber>;
1547
+ maxLength: z.ZodOptional<z.ZodNumber>;
1548
+ rows: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1549
+ }, z.core.$strip>, z.ZodObject<{
1550
+ name: z.ZodString;
1551
+ label: z.ZodString;
1552
+ description: z.ZodOptional<z.ZodString>;
1553
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1554
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1555
+ type: z.ZodLiteral<"select">;
1556
+ options: z.ZodArray<z.ZodObject<{
1557
+ value: z.ZodString;
1558
+ label: z.ZodString;
1559
+ description: z.ZodOptional<z.ZodString>;
1560
+ recommended: z.ZodOptional<z.ZodBoolean>;
1561
+ }, z.core.$strip>>;
1562
+ defaultValue: z.ZodOptional<z.ZodString>;
1563
+ placeholder: z.ZodOptional<z.ZodString>;
1564
+ }, z.core.$strip>, z.ZodObject<{
1565
+ name: z.ZodString;
1566
+ label: z.ZodString;
1567
+ description: z.ZodOptional<z.ZodString>;
1568
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1569
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1570
+ type: z.ZodLiteral<"checkbox">;
1571
+ defaultValue: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1572
+ }, z.core.$strip>, z.ZodObject<{
1573
+ name: z.ZodString;
1574
+ label: z.ZodString;
1575
+ description: z.ZodOptional<z.ZodString>;
1576
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1577
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1578
+ type: z.ZodLiteral<"radio">;
1579
+ options: z.ZodArray<z.ZodObject<{
1580
+ value: z.ZodString;
1581
+ label: z.ZodString;
1582
+ description: z.ZodOptional<z.ZodString>;
1583
+ recommended: z.ZodOptional<z.ZodBoolean>;
1584
+ }, z.core.$strip>>;
1585
+ defaultValue: z.ZodOptional<z.ZodString>;
1586
+ }, z.core.$strip>, z.ZodObject<{
1587
+ name: z.ZodString;
1588
+ label: z.ZodString;
1589
+ description: z.ZodOptional<z.ZodString>;
1590
+ required: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1591
+ secret: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1592
+ type: z.ZodLiteral<"confirm">;
1593
+ confirmLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1594
+ denyLabel: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1595
+ }, z.core.$strip>], "type">>;
1596
+ recommendations: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1597
+ metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1598
+ createdAt: z.ZodString;
1599
+ expiresAt: z.ZodNullable<z.ZodString>;
1600
+ submittedAt: z.ZodNullable<z.ZodString>;
1601
+ cancelledAt: z.ZodNullable<z.ZodString>;
1602
+ expiredAt: z.ZodNullable<z.ZodString>;
1603
+ latestResponse: z.ZodNullable<z.ZodPipe<z.ZodObject<{
1604
+ id: z.ZodString;
1605
+ input_request_id: z.ZodString;
1606
+ conversation_id: z.ZodString;
1607
+ run_id: z.ZodString;
1608
+ actor_type: z.ZodString;
1609
+ actor_id: z.ZodString;
1610
+ values: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNumber, z.ZodNull]>>;
1611
+ created_at: z.ZodString;
1612
+ }, z.core.$loose>, z.ZodTransform<{
1613
+ id: string;
1614
+ inputRequestId: string;
1615
+ conversationId: string;
1616
+ runId: string;
1617
+ actorType: string;
1618
+ actorId: string;
1619
+ values: Record<string, string | number | boolean | null>;
1620
+ createdAt: string;
1621
+ }, {
1622
+ [x: string]: unknown;
1623
+ id: string;
1624
+ input_request_id: string;
1625
+ conversation_id: string;
1626
+ run_id: string;
1627
+ actor_type: string;
1628
+ actor_id: string;
1629
+ values: Record<string, string | number | boolean | null>;
1630
+ created_at: string;
1631
+ }>>>;
1632
+ }, z.core.$strip>;
1633
+ }, z.core.$strip>;
1634
+ }, z.core.$strip>;
1635
+ export type FormInputToolInput = z.infer<typeof formInputToolInputSchema>;
1636
+ export type InputRequestOutput = z.infer<typeof inputRequestOutputSchema>;
1637
+ export declare function createInputRequest(input: {
1638
+ authToken: string;
1639
+ apiUrl: string;
1640
+ conversationId: string;
1641
+ runId: string;
1642
+ toolCallId: string;
1643
+ form: FormInputToolInput;
1644
+ expiresAt: string;
1645
+ }): Promise<InputRequestOutput>;
1646
+ export declare function getInputRequest(input: {
1647
+ authToken: string;
1648
+ apiUrl: string;
1649
+ conversationId: string;
1650
+ inputRequestId: string;
1651
+ }): Promise<InputRequestOutput>;
1652
+ export declare function buildInputRequestLifecycleDataEvent(input: {
1653
+ action: "created" | "updated";
1654
+ inputRequest: InputRequestOutput;
1655
+ }): ToolExecutionDataEvent;
1656
+ //# sourceMappingURL=input-request-protocol.d.ts.map