imperium-crawl 2.4.0 → 2.5.1

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.
Files changed (166) hide show
  1. package/README.md +86 -9
  2. package/dist/cli.d.ts.map +1 -1
  3. package/dist/cli.js +23 -3
  4. package/dist/cli.js.map +1 -1
  5. package/dist/constants.d.ts +1 -1
  6. package/dist/constants.d.ts.map +1 -1
  7. package/dist/constants.js +31 -1
  8. package/dist/constants.js.map +1 -1
  9. package/dist/flows/engine.d.ts +7 -0
  10. package/dist/flows/engine.d.ts.map +1 -0
  11. package/dist/flows/engine.js +183 -0
  12. package/dist/flows/engine.js.map +1 -0
  13. package/dist/flows/index.d.ts +6 -0
  14. package/dist/flows/index.d.ts.map +1 -0
  15. package/dist/flows/index.js +6 -0
  16. package/dist/flows/index.js.map +1 -0
  17. package/dist/flows/server.d.ts +11 -0
  18. package/dist/flows/server.d.ts.map +1 -0
  19. package/dist/flows/server.js +81 -0
  20. package/dist/flows/server.js.map +1 -0
  21. package/dist/flows/smart-target.d.ts +9 -0
  22. package/dist/flows/smart-target.d.ts.map +1 -0
  23. package/dist/flows/smart-target.js +84 -0
  24. package/dist/flows/smart-target.js.map +1 -0
  25. package/dist/flows/storage.d.ts +26 -0
  26. package/dist/flows/storage.d.ts.map +1 -0
  27. package/dist/flows/storage.js +118 -0
  28. package/dist/flows/storage.js.map +1 -0
  29. package/dist/flows/templates.d.ts +4 -0
  30. package/dist/flows/templates.d.ts.map +1 -0
  31. package/dist/flows/templates.js +35 -0
  32. package/dist/flows/templates.js.map +1 -0
  33. package/dist/flows/types.d.ts +3356 -0
  34. package/dist/flows/types.d.ts.map +1 -0
  35. package/dist/flows/types.js +133 -0
  36. package/dist/flows/types.js.map +1 -0
  37. package/dist/knowledge/store.d.ts +19 -0
  38. package/dist/knowledge/store.d.ts.map +1 -1
  39. package/dist/knowledge/store.js +63 -4
  40. package/dist/knowledge/store.js.map +1 -1
  41. package/dist/sessions/browser-connect.d.ts +30 -0
  42. package/dist/sessions/browser-connect.d.ts.map +1 -0
  43. package/dist/sessions/browser-connect.js +68 -0
  44. package/dist/sessions/browser-connect.js.map +1 -0
  45. package/dist/sessions/browser-state.d.ts +35 -0
  46. package/dist/sessions/browser-state.d.ts.map +1 -0
  47. package/dist/sessions/browser-state.js +74 -0
  48. package/dist/sessions/browser-state.js.map +1 -0
  49. package/dist/sessions/inject-cookies.d.ts +20 -0
  50. package/dist/sessions/inject-cookies.d.ts.map +1 -0
  51. package/dist/sessions/inject-cookies.js +57 -0
  52. package/dist/sessions/inject-cookies.js.map +1 -0
  53. package/dist/sessions/manager.d.ts +11 -1
  54. package/dist/sessions/manager.d.ts.map +1 -1
  55. package/dist/sessions/manager.js +40 -6
  56. package/dist/sessions/manager.js.map +1 -1
  57. package/dist/snapshot/store.d.ts +8 -0
  58. package/dist/snapshot/store.d.ts.map +1 -1
  59. package/dist/snapshot/store.js +48 -0
  60. package/dist/snapshot/store.js.map +1 -1
  61. package/dist/stealth/antibot-detector.d.ts +1 -1
  62. package/dist/stealth/antibot-detector.d.ts.map +1 -1
  63. package/dist/stealth/antibot-detector.js +56 -0
  64. package/dist/stealth/antibot-detector.js.map +1 -1
  65. package/dist/stealth/browser-image-extract.d.ts +43 -0
  66. package/dist/stealth/browser-image-extract.d.ts.map +1 -0
  67. package/dist/stealth/browser-image-extract.js +268 -0
  68. package/dist/stealth/browser-image-extract.js.map +1 -0
  69. package/dist/stealth/browser.d.ts +5 -0
  70. package/dist/stealth/browser.d.ts.map +1 -1
  71. package/dist/stealth/browser.js +82 -1
  72. package/dist/stealth/browser.js.map +1 -1
  73. package/dist/stealth/chrome-profile.d.ts +1 -0
  74. package/dist/stealth/chrome-profile.d.ts.map +1 -1
  75. package/dist/stealth/chrome-profile.js +28 -5
  76. package/dist/stealth/chrome-profile.js.map +1 -1
  77. package/dist/stealth/detector.d.ts +10 -1
  78. package/dist/stealth/detector.d.ts.map +1 -1
  79. package/dist/stealth/detector.js +117 -25
  80. package/dist/stealth/detector.js.map +1 -1
  81. package/dist/stealth/headers.d.ts +1 -1
  82. package/dist/stealth/headers.d.ts.map +1 -1
  83. package/dist/stealth/headers.js +94 -2
  84. package/dist/stealth/headers.js.map +1 -1
  85. package/dist/stealth/index.d.ts +4 -0
  86. package/dist/stealth/index.d.ts.map +1 -1
  87. package/dist/stealth/index.js +207 -25
  88. package/dist/stealth/index.js.map +1 -1
  89. package/dist/stealth/proxy.d.ts +40 -1
  90. package/dist/stealth/proxy.d.ts.map +1 -1
  91. package/dist/stealth/proxy.js +90 -6
  92. package/dist/stealth/proxy.js.map +1 -1
  93. package/dist/tools/action-executor.d.ts +2 -0
  94. package/dist/tools/action-executor.d.ts.map +1 -1
  95. package/dist/tools/action-executor.js +38 -0
  96. package/dist/tools/action-executor.js.map +1 -1
  97. package/dist/tools/batch-download.d.ts +33 -0
  98. package/dist/tools/batch-download.d.ts.map +1 -0
  99. package/dist/tools/batch-download.js +208 -0
  100. package/dist/tools/batch-download.js.map +1 -0
  101. package/dist/tools/browser.d.ts +100 -0
  102. package/dist/tools/browser.d.ts.map +1 -0
  103. package/dist/tools/browser.js +448 -0
  104. package/dist/tools/browser.js.map +1 -0
  105. package/dist/tools/download.d.ts +35 -2
  106. package/dist/tools/download.d.ts.map +1 -1
  107. package/dist/tools/download.js +245 -44
  108. package/dist/tools/download.js.map +1 -1
  109. package/dist/tools/index.d.ts.map +1 -1
  110. package/dist/tools/index.js +23 -0
  111. package/dist/tools/index.js.map +1 -1
  112. package/dist/tools/inspect-flow.d.ts +24 -0
  113. package/dist/tools/inspect-flow.d.ts.map +1 -0
  114. package/dist/tools/inspect-flow.js +23 -0
  115. package/dist/tools/inspect-flow.js.map +1 -0
  116. package/dist/tools/interact.d.ts +28 -15
  117. package/dist/tools/interact.d.ts.map +1 -1
  118. package/dist/tools/interact.js +48 -1
  119. package/dist/tools/interact.js.map +1 -1
  120. package/dist/tools/list-flows.d.ts +21 -0
  121. package/dist/tools/list-flows.d.ts.map +1 -0
  122. package/dist/tools/list-flows.js +18 -0
  123. package/dist/tools/list-flows.js.map +1 -0
  124. package/dist/tools/manifest.d.ts.map +1 -1
  125. package/dist/tools/manifest.js +43 -0
  126. package/dist/tools/manifest.js.map +1 -1
  127. package/dist/tools/monitor.d.ts +46 -0
  128. package/dist/tools/monitor.d.ts.map +1 -0
  129. package/dist/tools/monitor.js +213 -0
  130. package/dist/tools/monitor.js.map +1 -0
  131. package/dist/tools/pdf-extract.d.ts +38 -0
  132. package/dist/tools/pdf-extract.d.ts.map +1 -0
  133. package/dist/tools/pdf-extract.js +244 -0
  134. package/dist/tools/pdf-extract.js.map +1 -0
  135. package/dist/tools/record-flow.d.ts +39 -0
  136. package/dist/tools/record-flow.d.ts.map +1 -0
  137. package/dist/tools/record-flow.js +406 -0
  138. package/dist/tools/record-flow.js.map +1 -0
  139. package/dist/tools/run-flow.d.ts +54 -0
  140. package/dist/tools/run-flow.d.ts.map +1 -0
  141. package/dist/tools/run-flow.js +47 -0
  142. package/dist/tools/run-flow.js.map +1 -0
  143. package/dist/tools/run-skill.d.ts +2 -2
  144. package/dist/tools/run-skill.d.ts.map +1 -1
  145. package/dist/tools/run-skill.js +1 -0
  146. package/dist/tools/run-skill.js.map +1 -1
  147. package/dist/tools/scrape.d.ts.map +1 -1
  148. package/dist/tools/scrape.js +17 -1
  149. package/dist/tools/scrape.js.map +1 -1
  150. package/dist/tools/serve-flow.d.ts +36 -0
  151. package/dist/tools/serve-flow.d.ts.map +1 -0
  152. package/dist/tools/serve-flow.js +42 -0
  153. package/dist/tools/serve-flow.js.map +1 -0
  154. package/dist/tools/validate-flow.d.ts +24 -0
  155. package/dist/tools/validate-flow.d.ts.map +1 -0
  156. package/dist/tools/validate-flow.js +23 -0
  157. package/dist/tools/validate-flow.js.map +1 -0
  158. package/dist/tools/watch.d.ts +68 -0
  159. package/dist/tools/watch.d.ts.map +1 -0
  160. package/dist/tools/watch.js +224 -0
  161. package/dist/tools/watch.js.map +1 -0
  162. package/dist/utils/fetcher.d.ts +13 -4
  163. package/dist/utils/fetcher.d.ts.map +1 -1
  164. package/dist/utils/fetcher.js +121 -24
  165. package/dist/utils/fetcher.js.map +1 -1
  166. package/package.json +15 -4
@@ -0,0 +1,3356 @@
1
+ import { z } from "zod";
2
+ export declare const FLOW_NAME_RE: RegExp;
3
+ export declare const captchaPolicySchema: z.ZodEnum<["auto", "manual", "off", "fail"]>;
4
+ export declare const browserModeSchema: z.ZodEnum<["auto", "headed", "headless"]>;
5
+ export declare const evidenceModeSchema: z.ZodEnum<["off", "configured", "all"]>;
6
+ export declare const flowInputSchema: z.ZodObject<{
7
+ description: z.ZodOptional<z.ZodString>;
8
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
9
+ default: z.ZodOptional<z.ZodString>;
10
+ secret: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
11
+ }, "strip", z.ZodTypeAny, {
12
+ default?: string | undefined;
13
+ description?: string | undefined;
14
+ required?: boolean | undefined;
15
+ secret?: boolean | undefined;
16
+ }, {
17
+ default?: string | undefined;
18
+ description?: string | undefined;
19
+ required?: boolean | undefined;
20
+ secret?: boolean | undefined;
21
+ }>;
22
+ export declare const smartTargetSchema: z.ZodObject<{
23
+ tag: z.ZodOptional<z.ZodString>;
24
+ role: z.ZodOptional<z.ZodString>;
25
+ name: z.ZodOptional<z.ZodString>;
26
+ text: z.ZodOptional<z.ZodString>;
27
+ label: z.ZodOptional<z.ZodString>;
28
+ selector: z.ZodOptional<z.ZodString>;
29
+ xpath: z.ZodOptional<z.ZodString>;
30
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
31
+ nearby_text: z.ZodOptional<z.ZodString>;
32
+ href: z.ZodOptional<z.ZodString>;
33
+ input_type: z.ZodOptional<z.ZodString>;
34
+ form_selector: z.ZodOptional<z.ZodString>;
35
+ x: z.ZodOptional<z.ZodNumber>;
36
+ y: z.ZodOptional<z.ZodNumber>;
37
+ viewport: z.ZodOptional<z.ZodObject<{
38
+ width: z.ZodNumber;
39
+ height: z.ZodNumber;
40
+ }, "strip", z.ZodTypeAny, {
41
+ width: number;
42
+ height: number;
43
+ }, {
44
+ width: number;
45
+ height: number;
46
+ }>>;
47
+ }, "strict", z.ZodTypeAny, {
48
+ name?: string | undefined;
49
+ attributes?: Record<string, string> | undefined;
50
+ role?: string | undefined;
51
+ text?: string | undefined;
52
+ selector?: string | undefined;
53
+ label?: string | undefined;
54
+ x?: number | undefined;
55
+ y?: number | undefined;
56
+ viewport?: {
57
+ width: number;
58
+ height: number;
59
+ } | undefined;
60
+ href?: string | undefined;
61
+ tag?: string | undefined;
62
+ xpath?: string | undefined;
63
+ nearby_text?: string | undefined;
64
+ input_type?: string | undefined;
65
+ form_selector?: string | undefined;
66
+ }, {
67
+ name?: string | undefined;
68
+ attributes?: Record<string, string> | undefined;
69
+ role?: string | undefined;
70
+ text?: string | undefined;
71
+ selector?: string | undefined;
72
+ label?: string | undefined;
73
+ x?: number | undefined;
74
+ y?: number | undefined;
75
+ viewport?: {
76
+ width: number;
77
+ height: number;
78
+ } | undefined;
79
+ href?: string | undefined;
80
+ tag?: string | undefined;
81
+ xpath?: string | undefined;
82
+ nearby_text?: string | undefined;
83
+ input_type?: string | undefined;
84
+ form_selector?: string | undefined;
85
+ }>;
86
+ export declare const flowRecordingEventSchema: z.ZodObject<{
87
+ type: z.ZodString;
88
+ timestamp: z.ZodString;
89
+ page_url: z.ZodOptional<z.ZodString>;
90
+ title: z.ZodOptional<z.ZodString>;
91
+ target: z.ZodOptional<z.ZodObject<{
92
+ tag: z.ZodOptional<z.ZodString>;
93
+ role: z.ZodOptional<z.ZodString>;
94
+ name: z.ZodOptional<z.ZodString>;
95
+ text: z.ZodOptional<z.ZodString>;
96
+ label: z.ZodOptional<z.ZodString>;
97
+ selector: z.ZodOptional<z.ZodString>;
98
+ xpath: z.ZodOptional<z.ZodString>;
99
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
100
+ nearby_text: z.ZodOptional<z.ZodString>;
101
+ href: z.ZodOptional<z.ZodString>;
102
+ input_type: z.ZodOptional<z.ZodString>;
103
+ form_selector: z.ZodOptional<z.ZodString>;
104
+ x: z.ZodOptional<z.ZodNumber>;
105
+ y: z.ZodOptional<z.ZodNumber>;
106
+ viewport: z.ZodOptional<z.ZodObject<{
107
+ width: z.ZodNumber;
108
+ height: z.ZodNumber;
109
+ }, "strip", z.ZodTypeAny, {
110
+ width: number;
111
+ height: number;
112
+ }, {
113
+ width: number;
114
+ height: number;
115
+ }>>;
116
+ }, "strict", z.ZodTypeAny, {
117
+ name?: string | undefined;
118
+ attributes?: Record<string, string> | undefined;
119
+ role?: string | undefined;
120
+ text?: string | undefined;
121
+ selector?: string | undefined;
122
+ label?: string | undefined;
123
+ x?: number | undefined;
124
+ y?: number | undefined;
125
+ viewport?: {
126
+ width: number;
127
+ height: number;
128
+ } | undefined;
129
+ href?: string | undefined;
130
+ tag?: string | undefined;
131
+ xpath?: string | undefined;
132
+ nearby_text?: string | undefined;
133
+ input_type?: string | undefined;
134
+ form_selector?: string | undefined;
135
+ }, {
136
+ name?: string | undefined;
137
+ attributes?: Record<string, string> | undefined;
138
+ role?: string | undefined;
139
+ text?: string | undefined;
140
+ selector?: string | undefined;
141
+ label?: string | undefined;
142
+ x?: number | undefined;
143
+ y?: number | undefined;
144
+ viewport?: {
145
+ width: number;
146
+ height: number;
147
+ } | undefined;
148
+ href?: string | undefined;
149
+ tag?: string | undefined;
150
+ xpath?: string | undefined;
151
+ nearby_text?: string | undefined;
152
+ input_type?: string | undefined;
153
+ form_selector?: string | undefined;
154
+ }>>;
155
+ value: z.ZodOptional<z.ZodString>;
156
+ checked: z.ZodOptional<z.ZodBoolean>;
157
+ selected_text: z.ZodOptional<z.ZodString>;
158
+ key: z.ZodOptional<z.ZodString>;
159
+ submitter: z.ZodOptional<z.ZodObject<{
160
+ tag: z.ZodOptional<z.ZodString>;
161
+ role: z.ZodOptional<z.ZodString>;
162
+ name: z.ZodOptional<z.ZodString>;
163
+ text: z.ZodOptional<z.ZodString>;
164
+ label: z.ZodOptional<z.ZodString>;
165
+ selector: z.ZodOptional<z.ZodString>;
166
+ xpath: z.ZodOptional<z.ZodString>;
167
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
168
+ nearby_text: z.ZodOptional<z.ZodString>;
169
+ href: z.ZodOptional<z.ZodString>;
170
+ input_type: z.ZodOptional<z.ZodString>;
171
+ form_selector: z.ZodOptional<z.ZodString>;
172
+ x: z.ZodOptional<z.ZodNumber>;
173
+ y: z.ZodOptional<z.ZodNumber>;
174
+ viewport: z.ZodOptional<z.ZodObject<{
175
+ width: z.ZodNumber;
176
+ height: z.ZodNumber;
177
+ }, "strip", z.ZodTypeAny, {
178
+ width: number;
179
+ height: number;
180
+ }, {
181
+ width: number;
182
+ height: number;
183
+ }>>;
184
+ }, "strict", z.ZodTypeAny, {
185
+ name?: string | undefined;
186
+ attributes?: Record<string, string> | undefined;
187
+ role?: string | undefined;
188
+ text?: string | undefined;
189
+ selector?: string | undefined;
190
+ label?: string | undefined;
191
+ x?: number | undefined;
192
+ y?: number | undefined;
193
+ viewport?: {
194
+ width: number;
195
+ height: number;
196
+ } | undefined;
197
+ href?: string | undefined;
198
+ tag?: string | undefined;
199
+ xpath?: string | undefined;
200
+ nearby_text?: string | undefined;
201
+ input_type?: string | undefined;
202
+ form_selector?: string | undefined;
203
+ }, {
204
+ name?: string | undefined;
205
+ attributes?: Record<string, string> | undefined;
206
+ role?: string | undefined;
207
+ text?: string | undefined;
208
+ selector?: string | undefined;
209
+ label?: string | undefined;
210
+ x?: number | undefined;
211
+ y?: number | undefined;
212
+ viewport?: {
213
+ width: number;
214
+ height: number;
215
+ } | undefined;
216
+ href?: string | undefined;
217
+ tag?: string | undefined;
218
+ xpath?: string | undefined;
219
+ nearby_text?: string | undefined;
220
+ input_type?: string | undefined;
221
+ form_selector?: string | undefined;
222
+ }>>;
223
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
224
+ type: z.ZodString;
225
+ timestamp: z.ZodString;
226
+ page_url: z.ZodOptional<z.ZodString>;
227
+ title: z.ZodOptional<z.ZodString>;
228
+ target: z.ZodOptional<z.ZodObject<{
229
+ tag: z.ZodOptional<z.ZodString>;
230
+ role: z.ZodOptional<z.ZodString>;
231
+ name: z.ZodOptional<z.ZodString>;
232
+ text: z.ZodOptional<z.ZodString>;
233
+ label: z.ZodOptional<z.ZodString>;
234
+ selector: z.ZodOptional<z.ZodString>;
235
+ xpath: z.ZodOptional<z.ZodString>;
236
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
237
+ nearby_text: z.ZodOptional<z.ZodString>;
238
+ href: z.ZodOptional<z.ZodString>;
239
+ input_type: z.ZodOptional<z.ZodString>;
240
+ form_selector: z.ZodOptional<z.ZodString>;
241
+ x: z.ZodOptional<z.ZodNumber>;
242
+ y: z.ZodOptional<z.ZodNumber>;
243
+ viewport: z.ZodOptional<z.ZodObject<{
244
+ width: z.ZodNumber;
245
+ height: z.ZodNumber;
246
+ }, "strip", z.ZodTypeAny, {
247
+ width: number;
248
+ height: number;
249
+ }, {
250
+ width: number;
251
+ height: number;
252
+ }>>;
253
+ }, "strict", z.ZodTypeAny, {
254
+ name?: string | undefined;
255
+ attributes?: Record<string, string> | undefined;
256
+ role?: string | undefined;
257
+ text?: string | undefined;
258
+ selector?: string | undefined;
259
+ label?: string | undefined;
260
+ x?: number | undefined;
261
+ y?: number | undefined;
262
+ viewport?: {
263
+ width: number;
264
+ height: number;
265
+ } | undefined;
266
+ href?: string | undefined;
267
+ tag?: string | undefined;
268
+ xpath?: string | undefined;
269
+ nearby_text?: string | undefined;
270
+ input_type?: string | undefined;
271
+ form_selector?: string | undefined;
272
+ }, {
273
+ name?: string | undefined;
274
+ attributes?: Record<string, string> | undefined;
275
+ role?: string | undefined;
276
+ text?: string | undefined;
277
+ selector?: string | undefined;
278
+ label?: string | undefined;
279
+ x?: number | undefined;
280
+ y?: number | undefined;
281
+ viewport?: {
282
+ width: number;
283
+ height: number;
284
+ } | undefined;
285
+ href?: string | undefined;
286
+ tag?: string | undefined;
287
+ xpath?: string | undefined;
288
+ nearby_text?: string | undefined;
289
+ input_type?: string | undefined;
290
+ form_selector?: string | undefined;
291
+ }>>;
292
+ value: z.ZodOptional<z.ZodString>;
293
+ checked: z.ZodOptional<z.ZodBoolean>;
294
+ selected_text: z.ZodOptional<z.ZodString>;
295
+ key: z.ZodOptional<z.ZodString>;
296
+ submitter: z.ZodOptional<z.ZodObject<{
297
+ tag: z.ZodOptional<z.ZodString>;
298
+ role: z.ZodOptional<z.ZodString>;
299
+ name: z.ZodOptional<z.ZodString>;
300
+ text: z.ZodOptional<z.ZodString>;
301
+ label: z.ZodOptional<z.ZodString>;
302
+ selector: z.ZodOptional<z.ZodString>;
303
+ xpath: z.ZodOptional<z.ZodString>;
304
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
305
+ nearby_text: z.ZodOptional<z.ZodString>;
306
+ href: z.ZodOptional<z.ZodString>;
307
+ input_type: z.ZodOptional<z.ZodString>;
308
+ form_selector: z.ZodOptional<z.ZodString>;
309
+ x: z.ZodOptional<z.ZodNumber>;
310
+ y: z.ZodOptional<z.ZodNumber>;
311
+ viewport: z.ZodOptional<z.ZodObject<{
312
+ width: z.ZodNumber;
313
+ height: z.ZodNumber;
314
+ }, "strip", z.ZodTypeAny, {
315
+ width: number;
316
+ height: number;
317
+ }, {
318
+ width: number;
319
+ height: number;
320
+ }>>;
321
+ }, "strict", z.ZodTypeAny, {
322
+ name?: string | undefined;
323
+ attributes?: Record<string, string> | undefined;
324
+ role?: string | undefined;
325
+ text?: string | undefined;
326
+ selector?: string | undefined;
327
+ label?: string | undefined;
328
+ x?: number | undefined;
329
+ y?: number | undefined;
330
+ viewport?: {
331
+ width: number;
332
+ height: number;
333
+ } | undefined;
334
+ href?: string | undefined;
335
+ tag?: string | undefined;
336
+ xpath?: string | undefined;
337
+ nearby_text?: string | undefined;
338
+ input_type?: string | undefined;
339
+ form_selector?: string | undefined;
340
+ }, {
341
+ name?: string | undefined;
342
+ attributes?: Record<string, string> | undefined;
343
+ role?: string | undefined;
344
+ text?: string | undefined;
345
+ selector?: string | undefined;
346
+ label?: string | undefined;
347
+ x?: number | undefined;
348
+ y?: number | undefined;
349
+ viewport?: {
350
+ width: number;
351
+ height: number;
352
+ } | undefined;
353
+ href?: string | undefined;
354
+ tag?: string | undefined;
355
+ xpath?: string | undefined;
356
+ nearby_text?: string | undefined;
357
+ input_type?: string | undefined;
358
+ form_selector?: string | undefined;
359
+ }>>;
360
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
361
+ type: z.ZodString;
362
+ timestamp: z.ZodString;
363
+ page_url: z.ZodOptional<z.ZodString>;
364
+ title: z.ZodOptional<z.ZodString>;
365
+ target: z.ZodOptional<z.ZodObject<{
366
+ tag: z.ZodOptional<z.ZodString>;
367
+ role: z.ZodOptional<z.ZodString>;
368
+ name: z.ZodOptional<z.ZodString>;
369
+ text: z.ZodOptional<z.ZodString>;
370
+ label: z.ZodOptional<z.ZodString>;
371
+ selector: z.ZodOptional<z.ZodString>;
372
+ xpath: z.ZodOptional<z.ZodString>;
373
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
374
+ nearby_text: z.ZodOptional<z.ZodString>;
375
+ href: z.ZodOptional<z.ZodString>;
376
+ input_type: z.ZodOptional<z.ZodString>;
377
+ form_selector: z.ZodOptional<z.ZodString>;
378
+ x: z.ZodOptional<z.ZodNumber>;
379
+ y: z.ZodOptional<z.ZodNumber>;
380
+ viewport: z.ZodOptional<z.ZodObject<{
381
+ width: z.ZodNumber;
382
+ height: z.ZodNumber;
383
+ }, "strip", z.ZodTypeAny, {
384
+ width: number;
385
+ height: number;
386
+ }, {
387
+ width: number;
388
+ height: number;
389
+ }>>;
390
+ }, "strict", z.ZodTypeAny, {
391
+ name?: string | undefined;
392
+ attributes?: Record<string, string> | undefined;
393
+ role?: string | undefined;
394
+ text?: string | undefined;
395
+ selector?: string | undefined;
396
+ label?: string | undefined;
397
+ x?: number | undefined;
398
+ y?: number | undefined;
399
+ viewport?: {
400
+ width: number;
401
+ height: number;
402
+ } | undefined;
403
+ href?: string | undefined;
404
+ tag?: string | undefined;
405
+ xpath?: string | undefined;
406
+ nearby_text?: string | undefined;
407
+ input_type?: string | undefined;
408
+ form_selector?: string | undefined;
409
+ }, {
410
+ name?: string | undefined;
411
+ attributes?: Record<string, string> | undefined;
412
+ role?: string | undefined;
413
+ text?: string | undefined;
414
+ selector?: string | undefined;
415
+ label?: string | undefined;
416
+ x?: number | undefined;
417
+ y?: number | undefined;
418
+ viewport?: {
419
+ width: number;
420
+ height: number;
421
+ } | undefined;
422
+ href?: string | undefined;
423
+ tag?: string | undefined;
424
+ xpath?: string | undefined;
425
+ nearby_text?: string | undefined;
426
+ input_type?: string | undefined;
427
+ form_selector?: string | undefined;
428
+ }>>;
429
+ value: z.ZodOptional<z.ZodString>;
430
+ checked: z.ZodOptional<z.ZodBoolean>;
431
+ selected_text: z.ZodOptional<z.ZodString>;
432
+ key: z.ZodOptional<z.ZodString>;
433
+ submitter: z.ZodOptional<z.ZodObject<{
434
+ tag: z.ZodOptional<z.ZodString>;
435
+ role: z.ZodOptional<z.ZodString>;
436
+ name: z.ZodOptional<z.ZodString>;
437
+ text: z.ZodOptional<z.ZodString>;
438
+ label: z.ZodOptional<z.ZodString>;
439
+ selector: z.ZodOptional<z.ZodString>;
440
+ xpath: z.ZodOptional<z.ZodString>;
441
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
442
+ nearby_text: z.ZodOptional<z.ZodString>;
443
+ href: z.ZodOptional<z.ZodString>;
444
+ input_type: z.ZodOptional<z.ZodString>;
445
+ form_selector: z.ZodOptional<z.ZodString>;
446
+ x: z.ZodOptional<z.ZodNumber>;
447
+ y: z.ZodOptional<z.ZodNumber>;
448
+ viewport: z.ZodOptional<z.ZodObject<{
449
+ width: z.ZodNumber;
450
+ height: z.ZodNumber;
451
+ }, "strip", z.ZodTypeAny, {
452
+ width: number;
453
+ height: number;
454
+ }, {
455
+ width: number;
456
+ height: number;
457
+ }>>;
458
+ }, "strict", z.ZodTypeAny, {
459
+ name?: string | undefined;
460
+ attributes?: Record<string, string> | undefined;
461
+ role?: string | undefined;
462
+ text?: string | undefined;
463
+ selector?: string | undefined;
464
+ label?: string | undefined;
465
+ x?: number | undefined;
466
+ y?: number | undefined;
467
+ viewport?: {
468
+ width: number;
469
+ height: number;
470
+ } | undefined;
471
+ href?: string | undefined;
472
+ tag?: string | undefined;
473
+ xpath?: string | undefined;
474
+ nearby_text?: string | undefined;
475
+ input_type?: string | undefined;
476
+ form_selector?: string | undefined;
477
+ }, {
478
+ name?: string | undefined;
479
+ attributes?: Record<string, string> | undefined;
480
+ role?: string | undefined;
481
+ text?: string | undefined;
482
+ selector?: string | undefined;
483
+ label?: string | undefined;
484
+ x?: number | undefined;
485
+ y?: number | undefined;
486
+ viewport?: {
487
+ width: number;
488
+ height: number;
489
+ } | undefined;
490
+ href?: string | undefined;
491
+ tag?: string | undefined;
492
+ xpath?: string | undefined;
493
+ nearby_text?: string | undefined;
494
+ input_type?: string | undefined;
495
+ form_selector?: string | undefined;
496
+ }>>;
497
+ }, z.ZodTypeAny, "passthrough">>;
498
+ export declare const flowNetworkEventSchema: z.ZodObject<{
499
+ type: z.ZodEnum<["request", "response"]>;
500
+ timestamp: z.ZodString;
501
+ url: z.ZodString;
502
+ method: z.ZodOptional<z.ZodString>;
503
+ resource_type: z.ZodOptional<z.ZodString>;
504
+ status: z.ZodOptional<z.ZodNumber>;
505
+ content_type: z.ZodOptional<z.ZodString>;
506
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
507
+ type: z.ZodEnum<["request", "response"]>;
508
+ timestamp: z.ZodString;
509
+ url: z.ZodString;
510
+ method: z.ZodOptional<z.ZodString>;
511
+ resource_type: z.ZodOptional<z.ZodString>;
512
+ status: z.ZodOptional<z.ZodNumber>;
513
+ content_type: z.ZodOptional<z.ZodString>;
514
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
515
+ type: z.ZodEnum<["request", "response"]>;
516
+ timestamp: z.ZodString;
517
+ url: z.ZodString;
518
+ method: z.ZodOptional<z.ZodString>;
519
+ resource_type: z.ZodOptional<z.ZodString>;
520
+ status: z.ZodOptional<z.ZodNumber>;
521
+ content_type: z.ZodOptional<z.ZodString>;
522
+ }, z.ZodTypeAny, "passthrough">>;
523
+ export declare const flowNavigationEventSchema: z.ZodObject<{
524
+ timestamp: z.ZodString;
525
+ url: z.ZodString;
526
+ frame_url: z.ZodOptional<z.ZodString>;
527
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
528
+ timestamp: z.ZodString;
529
+ url: z.ZodString;
530
+ frame_url: z.ZodOptional<z.ZodString>;
531
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
532
+ timestamp: z.ZodString;
533
+ url: z.ZodString;
534
+ frame_url: z.ZodOptional<z.ZodString>;
535
+ }, z.ZodTypeAny, "passthrough">>;
536
+ export declare const flowRecordingSchema: z.ZodDefault<z.ZodObject<{
537
+ started_at: z.ZodString;
538
+ stopped_at: z.ZodOptional<z.ZodString>;
539
+ start_url: z.ZodString;
540
+ user_agent: z.ZodOptional<z.ZodString>;
541
+ viewport: z.ZodOptional<z.ZodObject<{
542
+ width: z.ZodNumber;
543
+ height: z.ZodNumber;
544
+ }, "strip", z.ZodTypeAny, {
545
+ width: number;
546
+ height: number;
547
+ }, {
548
+ width: number;
549
+ height: number;
550
+ }>>;
551
+ events: z.ZodDefault<z.ZodArray<z.ZodObject<{
552
+ type: z.ZodString;
553
+ timestamp: z.ZodString;
554
+ page_url: z.ZodOptional<z.ZodString>;
555
+ title: z.ZodOptional<z.ZodString>;
556
+ target: z.ZodOptional<z.ZodObject<{
557
+ tag: z.ZodOptional<z.ZodString>;
558
+ role: z.ZodOptional<z.ZodString>;
559
+ name: z.ZodOptional<z.ZodString>;
560
+ text: z.ZodOptional<z.ZodString>;
561
+ label: z.ZodOptional<z.ZodString>;
562
+ selector: z.ZodOptional<z.ZodString>;
563
+ xpath: z.ZodOptional<z.ZodString>;
564
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
565
+ nearby_text: z.ZodOptional<z.ZodString>;
566
+ href: z.ZodOptional<z.ZodString>;
567
+ input_type: z.ZodOptional<z.ZodString>;
568
+ form_selector: z.ZodOptional<z.ZodString>;
569
+ x: z.ZodOptional<z.ZodNumber>;
570
+ y: z.ZodOptional<z.ZodNumber>;
571
+ viewport: z.ZodOptional<z.ZodObject<{
572
+ width: z.ZodNumber;
573
+ height: z.ZodNumber;
574
+ }, "strip", z.ZodTypeAny, {
575
+ width: number;
576
+ height: number;
577
+ }, {
578
+ width: number;
579
+ height: number;
580
+ }>>;
581
+ }, "strict", z.ZodTypeAny, {
582
+ name?: string | undefined;
583
+ attributes?: Record<string, string> | undefined;
584
+ role?: string | undefined;
585
+ text?: string | undefined;
586
+ selector?: string | undefined;
587
+ label?: string | undefined;
588
+ x?: number | undefined;
589
+ y?: number | undefined;
590
+ viewport?: {
591
+ width: number;
592
+ height: number;
593
+ } | undefined;
594
+ href?: string | undefined;
595
+ tag?: string | undefined;
596
+ xpath?: string | undefined;
597
+ nearby_text?: string | undefined;
598
+ input_type?: string | undefined;
599
+ form_selector?: string | undefined;
600
+ }, {
601
+ name?: string | undefined;
602
+ attributes?: Record<string, string> | undefined;
603
+ role?: string | undefined;
604
+ text?: string | undefined;
605
+ selector?: string | undefined;
606
+ label?: string | undefined;
607
+ x?: number | undefined;
608
+ y?: number | undefined;
609
+ viewport?: {
610
+ width: number;
611
+ height: number;
612
+ } | undefined;
613
+ href?: string | undefined;
614
+ tag?: string | undefined;
615
+ xpath?: string | undefined;
616
+ nearby_text?: string | undefined;
617
+ input_type?: string | undefined;
618
+ form_selector?: string | undefined;
619
+ }>>;
620
+ value: z.ZodOptional<z.ZodString>;
621
+ checked: z.ZodOptional<z.ZodBoolean>;
622
+ selected_text: z.ZodOptional<z.ZodString>;
623
+ key: z.ZodOptional<z.ZodString>;
624
+ submitter: z.ZodOptional<z.ZodObject<{
625
+ tag: z.ZodOptional<z.ZodString>;
626
+ role: z.ZodOptional<z.ZodString>;
627
+ name: z.ZodOptional<z.ZodString>;
628
+ text: z.ZodOptional<z.ZodString>;
629
+ label: z.ZodOptional<z.ZodString>;
630
+ selector: z.ZodOptional<z.ZodString>;
631
+ xpath: z.ZodOptional<z.ZodString>;
632
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
633
+ nearby_text: z.ZodOptional<z.ZodString>;
634
+ href: z.ZodOptional<z.ZodString>;
635
+ input_type: z.ZodOptional<z.ZodString>;
636
+ form_selector: z.ZodOptional<z.ZodString>;
637
+ x: z.ZodOptional<z.ZodNumber>;
638
+ y: z.ZodOptional<z.ZodNumber>;
639
+ viewport: z.ZodOptional<z.ZodObject<{
640
+ width: z.ZodNumber;
641
+ height: z.ZodNumber;
642
+ }, "strip", z.ZodTypeAny, {
643
+ width: number;
644
+ height: number;
645
+ }, {
646
+ width: number;
647
+ height: number;
648
+ }>>;
649
+ }, "strict", z.ZodTypeAny, {
650
+ name?: string | undefined;
651
+ attributes?: Record<string, string> | undefined;
652
+ role?: string | undefined;
653
+ text?: string | undefined;
654
+ selector?: string | undefined;
655
+ label?: string | undefined;
656
+ x?: number | undefined;
657
+ y?: number | undefined;
658
+ viewport?: {
659
+ width: number;
660
+ height: number;
661
+ } | undefined;
662
+ href?: string | undefined;
663
+ tag?: string | undefined;
664
+ xpath?: string | undefined;
665
+ nearby_text?: string | undefined;
666
+ input_type?: string | undefined;
667
+ form_selector?: string | undefined;
668
+ }, {
669
+ name?: string | undefined;
670
+ attributes?: Record<string, string> | undefined;
671
+ role?: string | undefined;
672
+ text?: string | undefined;
673
+ selector?: string | undefined;
674
+ label?: string | undefined;
675
+ x?: number | undefined;
676
+ y?: number | undefined;
677
+ viewport?: {
678
+ width: number;
679
+ height: number;
680
+ } | undefined;
681
+ href?: string | undefined;
682
+ tag?: string | undefined;
683
+ xpath?: string | undefined;
684
+ nearby_text?: string | undefined;
685
+ input_type?: string | undefined;
686
+ form_selector?: string | undefined;
687
+ }>>;
688
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
689
+ type: z.ZodString;
690
+ timestamp: z.ZodString;
691
+ page_url: z.ZodOptional<z.ZodString>;
692
+ title: z.ZodOptional<z.ZodString>;
693
+ target: z.ZodOptional<z.ZodObject<{
694
+ tag: z.ZodOptional<z.ZodString>;
695
+ role: z.ZodOptional<z.ZodString>;
696
+ name: z.ZodOptional<z.ZodString>;
697
+ text: z.ZodOptional<z.ZodString>;
698
+ label: z.ZodOptional<z.ZodString>;
699
+ selector: z.ZodOptional<z.ZodString>;
700
+ xpath: z.ZodOptional<z.ZodString>;
701
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
702
+ nearby_text: z.ZodOptional<z.ZodString>;
703
+ href: z.ZodOptional<z.ZodString>;
704
+ input_type: z.ZodOptional<z.ZodString>;
705
+ form_selector: z.ZodOptional<z.ZodString>;
706
+ x: z.ZodOptional<z.ZodNumber>;
707
+ y: z.ZodOptional<z.ZodNumber>;
708
+ viewport: z.ZodOptional<z.ZodObject<{
709
+ width: z.ZodNumber;
710
+ height: z.ZodNumber;
711
+ }, "strip", z.ZodTypeAny, {
712
+ width: number;
713
+ height: number;
714
+ }, {
715
+ width: number;
716
+ height: number;
717
+ }>>;
718
+ }, "strict", z.ZodTypeAny, {
719
+ name?: string | undefined;
720
+ attributes?: Record<string, string> | undefined;
721
+ role?: string | undefined;
722
+ text?: string | undefined;
723
+ selector?: string | undefined;
724
+ label?: string | undefined;
725
+ x?: number | undefined;
726
+ y?: number | undefined;
727
+ viewport?: {
728
+ width: number;
729
+ height: number;
730
+ } | undefined;
731
+ href?: string | undefined;
732
+ tag?: string | undefined;
733
+ xpath?: string | undefined;
734
+ nearby_text?: string | undefined;
735
+ input_type?: string | undefined;
736
+ form_selector?: string | undefined;
737
+ }, {
738
+ name?: string | undefined;
739
+ attributes?: Record<string, string> | undefined;
740
+ role?: string | undefined;
741
+ text?: string | undefined;
742
+ selector?: string | undefined;
743
+ label?: string | undefined;
744
+ x?: number | undefined;
745
+ y?: number | undefined;
746
+ viewport?: {
747
+ width: number;
748
+ height: number;
749
+ } | undefined;
750
+ href?: string | undefined;
751
+ tag?: string | undefined;
752
+ xpath?: string | undefined;
753
+ nearby_text?: string | undefined;
754
+ input_type?: string | undefined;
755
+ form_selector?: string | undefined;
756
+ }>>;
757
+ value: z.ZodOptional<z.ZodString>;
758
+ checked: z.ZodOptional<z.ZodBoolean>;
759
+ selected_text: z.ZodOptional<z.ZodString>;
760
+ key: z.ZodOptional<z.ZodString>;
761
+ submitter: z.ZodOptional<z.ZodObject<{
762
+ tag: z.ZodOptional<z.ZodString>;
763
+ role: z.ZodOptional<z.ZodString>;
764
+ name: z.ZodOptional<z.ZodString>;
765
+ text: z.ZodOptional<z.ZodString>;
766
+ label: z.ZodOptional<z.ZodString>;
767
+ selector: z.ZodOptional<z.ZodString>;
768
+ xpath: z.ZodOptional<z.ZodString>;
769
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
770
+ nearby_text: z.ZodOptional<z.ZodString>;
771
+ href: z.ZodOptional<z.ZodString>;
772
+ input_type: z.ZodOptional<z.ZodString>;
773
+ form_selector: z.ZodOptional<z.ZodString>;
774
+ x: z.ZodOptional<z.ZodNumber>;
775
+ y: z.ZodOptional<z.ZodNumber>;
776
+ viewport: z.ZodOptional<z.ZodObject<{
777
+ width: z.ZodNumber;
778
+ height: z.ZodNumber;
779
+ }, "strip", z.ZodTypeAny, {
780
+ width: number;
781
+ height: number;
782
+ }, {
783
+ width: number;
784
+ height: number;
785
+ }>>;
786
+ }, "strict", z.ZodTypeAny, {
787
+ name?: string | undefined;
788
+ attributes?: Record<string, string> | undefined;
789
+ role?: string | undefined;
790
+ text?: string | undefined;
791
+ selector?: string | undefined;
792
+ label?: string | undefined;
793
+ x?: number | undefined;
794
+ y?: number | undefined;
795
+ viewport?: {
796
+ width: number;
797
+ height: number;
798
+ } | undefined;
799
+ href?: string | undefined;
800
+ tag?: string | undefined;
801
+ xpath?: string | undefined;
802
+ nearby_text?: string | undefined;
803
+ input_type?: string | undefined;
804
+ form_selector?: string | undefined;
805
+ }, {
806
+ name?: string | undefined;
807
+ attributes?: Record<string, string> | undefined;
808
+ role?: string | undefined;
809
+ text?: string | undefined;
810
+ selector?: string | undefined;
811
+ label?: string | undefined;
812
+ x?: number | undefined;
813
+ y?: number | undefined;
814
+ viewport?: {
815
+ width: number;
816
+ height: number;
817
+ } | undefined;
818
+ href?: string | undefined;
819
+ tag?: string | undefined;
820
+ xpath?: string | undefined;
821
+ nearby_text?: string | undefined;
822
+ input_type?: string | undefined;
823
+ form_selector?: string | undefined;
824
+ }>>;
825
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
826
+ type: z.ZodString;
827
+ timestamp: z.ZodString;
828
+ page_url: z.ZodOptional<z.ZodString>;
829
+ title: z.ZodOptional<z.ZodString>;
830
+ target: z.ZodOptional<z.ZodObject<{
831
+ tag: z.ZodOptional<z.ZodString>;
832
+ role: z.ZodOptional<z.ZodString>;
833
+ name: z.ZodOptional<z.ZodString>;
834
+ text: z.ZodOptional<z.ZodString>;
835
+ label: z.ZodOptional<z.ZodString>;
836
+ selector: z.ZodOptional<z.ZodString>;
837
+ xpath: z.ZodOptional<z.ZodString>;
838
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
839
+ nearby_text: z.ZodOptional<z.ZodString>;
840
+ href: z.ZodOptional<z.ZodString>;
841
+ input_type: z.ZodOptional<z.ZodString>;
842
+ form_selector: z.ZodOptional<z.ZodString>;
843
+ x: z.ZodOptional<z.ZodNumber>;
844
+ y: z.ZodOptional<z.ZodNumber>;
845
+ viewport: z.ZodOptional<z.ZodObject<{
846
+ width: z.ZodNumber;
847
+ height: z.ZodNumber;
848
+ }, "strip", z.ZodTypeAny, {
849
+ width: number;
850
+ height: number;
851
+ }, {
852
+ width: number;
853
+ height: number;
854
+ }>>;
855
+ }, "strict", z.ZodTypeAny, {
856
+ name?: string | undefined;
857
+ attributes?: Record<string, string> | undefined;
858
+ role?: string | undefined;
859
+ text?: string | undefined;
860
+ selector?: string | undefined;
861
+ label?: string | undefined;
862
+ x?: number | undefined;
863
+ y?: number | undefined;
864
+ viewport?: {
865
+ width: number;
866
+ height: number;
867
+ } | undefined;
868
+ href?: string | undefined;
869
+ tag?: string | undefined;
870
+ xpath?: string | undefined;
871
+ nearby_text?: string | undefined;
872
+ input_type?: string | undefined;
873
+ form_selector?: string | undefined;
874
+ }, {
875
+ name?: string | undefined;
876
+ attributes?: Record<string, string> | undefined;
877
+ role?: string | undefined;
878
+ text?: string | undefined;
879
+ selector?: string | undefined;
880
+ label?: string | undefined;
881
+ x?: number | undefined;
882
+ y?: number | undefined;
883
+ viewport?: {
884
+ width: number;
885
+ height: number;
886
+ } | undefined;
887
+ href?: string | undefined;
888
+ tag?: string | undefined;
889
+ xpath?: string | undefined;
890
+ nearby_text?: string | undefined;
891
+ input_type?: string | undefined;
892
+ form_selector?: string | undefined;
893
+ }>>;
894
+ value: z.ZodOptional<z.ZodString>;
895
+ checked: z.ZodOptional<z.ZodBoolean>;
896
+ selected_text: z.ZodOptional<z.ZodString>;
897
+ key: z.ZodOptional<z.ZodString>;
898
+ submitter: z.ZodOptional<z.ZodObject<{
899
+ tag: z.ZodOptional<z.ZodString>;
900
+ role: z.ZodOptional<z.ZodString>;
901
+ name: z.ZodOptional<z.ZodString>;
902
+ text: z.ZodOptional<z.ZodString>;
903
+ label: z.ZodOptional<z.ZodString>;
904
+ selector: z.ZodOptional<z.ZodString>;
905
+ xpath: z.ZodOptional<z.ZodString>;
906
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
907
+ nearby_text: z.ZodOptional<z.ZodString>;
908
+ href: z.ZodOptional<z.ZodString>;
909
+ input_type: z.ZodOptional<z.ZodString>;
910
+ form_selector: z.ZodOptional<z.ZodString>;
911
+ x: z.ZodOptional<z.ZodNumber>;
912
+ y: z.ZodOptional<z.ZodNumber>;
913
+ viewport: z.ZodOptional<z.ZodObject<{
914
+ width: z.ZodNumber;
915
+ height: z.ZodNumber;
916
+ }, "strip", z.ZodTypeAny, {
917
+ width: number;
918
+ height: number;
919
+ }, {
920
+ width: number;
921
+ height: number;
922
+ }>>;
923
+ }, "strict", z.ZodTypeAny, {
924
+ name?: string | undefined;
925
+ attributes?: Record<string, string> | undefined;
926
+ role?: string | undefined;
927
+ text?: string | undefined;
928
+ selector?: string | undefined;
929
+ label?: string | undefined;
930
+ x?: number | undefined;
931
+ y?: number | undefined;
932
+ viewport?: {
933
+ width: number;
934
+ height: number;
935
+ } | undefined;
936
+ href?: string | undefined;
937
+ tag?: string | undefined;
938
+ xpath?: string | undefined;
939
+ nearby_text?: string | undefined;
940
+ input_type?: string | undefined;
941
+ form_selector?: string | undefined;
942
+ }, {
943
+ name?: string | undefined;
944
+ attributes?: Record<string, string> | undefined;
945
+ role?: string | undefined;
946
+ text?: string | undefined;
947
+ selector?: string | undefined;
948
+ label?: string | undefined;
949
+ x?: number | undefined;
950
+ y?: number | undefined;
951
+ viewport?: {
952
+ width: number;
953
+ height: number;
954
+ } | undefined;
955
+ href?: string | undefined;
956
+ tag?: string | undefined;
957
+ xpath?: string | undefined;
958
+ nearby_text?: string | undefined;
959
+ input_type?: string | undefined;
960
+ form_selector?: string | undefined;
961
+ }>>;
962
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
963
+ network: z.ZodDefault<z.ZodArray<z.ZodObject<{
964
+ type: z.ZodEnum<["request", "response"]>;
965
+ timestamp: z.ZodString;
966
+ url: z.ZodString;
967
+ method: z.ZodOptional<z.ZodString>;
968
+ resource_type: z.ZodOptional<z.ZodString>;
969
+ status: z.ZodOptional<z.ZodNumber>;
970
+ content_type: z.ZodOptional<z.ZodString>;
971
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
972
+ type: z.ZodEnum<["request", "response"]>;
973
+ timestamp: z.ZodString;
974
+ url: z.ZodString;
975
+ method: z.ZodOptional<z.ZodString>;
976
+ resource_type: z.ZodOptional<z.ZodString>;
977
+ status: z.ZodOptional<z.ZodNumber>;
978
+ content_type: z.ZodOptional<z.ZodString>;
979
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
980
+ type: z.ZodEnum<["request", "response"]>;
981
+ timestamp: z.ZodString;
982
+ url: z.ZodString;
983
+ method: z.ZodOptional<z.ZodString>;
984
+ resource_type: z.ZodOptional<z.ZodString>;
985
+ status: z.ZodOptional<z.ZodNumber>;
986
+ content_type: z.ZodOptional<z.ZodString>;
987
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
988
+ navigations: z.ZodDefault<z.ZodArray<z.ZodObject<{
989
+ timestamp: z.ZodString;
990
+ url: z.ZodString;
991
+ frame_url: z.ZodOptional<z.ZodString>;
992
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
993
+ timestamp: z.ZodString;
994
+ url: z.ZodString;
995
+ frame_url: z.ZodOptional<z.ZodString>;
996
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
997
+ timestamp: z.ZodString;
998
+ url: z.ZodString;
999
+ frame_url: z.ZodOptional<z.ZodString>;
1000
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1001
+ }, "strip", z.ZodTypeAny, {
1002
+ started_at: string;
1003
+ start_url: string;
1004
+ events: z.objectOutputType<{
1005
+ type: z.ZodString;
1006
+ timestamp: z.ZodString;
1007
+ page_url: z.ZodOptional<z.ZodString>;
1008
+ title: z.ZodOptional<z.ZodString>;
1009
+ target: z.ZodOptional<z.ZodObject<{
1010
+ tag: z.ZodOptional<z.ZodString>;
1011
+ role: z.ZodOptional<z.ZodString>;
1012
+ name: z.ZodOptional<z.ZodString>;
1013
+ text: z.ZodOptional<z.ZodString>;
1014
+ label: z.ZodOptional<z.ZodString>;
1015
+ selector: z.ZodOptional<z.ZodString>;
1016
+ xpath: z.ZodOptional<z.ZodString>;
1017
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1018
+ nearby_text: z.ZodOptional<z.ZodString>;
1019
+ href: z.ZodOptional<z.ZodString>;
1020
+ input_type: z.ZodOptional<z.ZodString>;
1021
+ form_selector: z.ZodOptional<z.ZodString>;
1022
+ x: z.ZodOptional<z.ZodNumber>;
1023
+ y: z.ZodOptional<z.ZodNumber>;
1024
+ viewport: z.ZodOptional<z.ZodObject<{
1025
+ width: z.ZodNumber;
1026
+ height: z.ZodNumber;
1027
+ }, "strip", z.ZodTypeAny, {
1028
+ width: number;
1029
+ height: number;
1030
+ }, {
1031
+ width: number;
1032
+ height: number;
1033
+ }>>;
1034
+ }, "strict", z.ZodTypeAny, {
1035
+ name?: string | undefined;
1036
+ attributes?: Record<string, string> | undefined;
1037
+ role?: string | undefined;
1038
+ text?: string | undefined;
1039
+ selector?: string | undefined;
1040
+ label?: string | undefined;
1041
+ x?: number | undefined;
1042
+ y?: number | undefined;
1043
+ viewport?: {
1044
+ width: number;
1045
+ height: number;
1046
+ } | undefined;
1047
+ href?: string | undefined;
1048
+ tag?: string | undefined;
1049
+ xpath?: string | undefined;
1050
+ nearby_text?: string | undefined;
1051
+ input_type?: string | undefined;
1052
+ form_selector?: string | undefined;
1053
+ }, {
1054
+ name?: string | undefined;
1055
+ attributes?: Record<string, string> | undefined;
1056
+ role?: string | undefined;
1057
+ text?: string | undefined;
1058
+ selector?: string | undefined;
1059
+ label?: string | undefined;
1060
+ x?: number | undefined;
1061
+ y?: number | undefined;
1062
+ viewport?: {
1063
+ width: number;
1064
+ height: number;
1065
+ } | undefined;
1066
+ href?: string | undefined;
1067
+ tag?: string | undefined;
1068
+ xpath?: string | undefined;
1069
+ nearby_text?: string | undefined;
1070
+ input_type?: string | undefined;
1071
+ form_selector?: string | undefined;
1072
+ }>>;
1073
+ value: z.ZodOptional<z.ZodString>;
1074
+ checked: z.ZodOptional<z.ZodBoolean>;
1075
+ selected_text: z.ZodOptional<z.ZodString>;
1076
+ key: z.ZodOptional<z.ZodString>;
1077
+ submitter: z.ZodOptional<z.ZodObject<{
1078
+ tag: z.ZodOptional<z.ZodString>;
1079
+ role: z.ZodOptional<z.ZodString>;
1080
+ name: z.ZodOptional<z.ZodString>;
1081
+ text: z.ZodOptional<z.ZodString>;
1082
+ label: z.ZodOptional<z.ZodString>;
1083
+ selector: z.ZodOptional<z.ZodString>;
1084
+ xpath: z.ZodOptional<z.ZodString>;
1085
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1086
+ nearby_text: z.ZodOptional<z.ZodString>;
1087
+ href: z.ZodOptional<z.ZodString>;
1088
+ input_type: z.ZodOptional<z.ZodString>;
1089
+ form_selector: z.ZodOptional<z.ZodString>;
1090
+ x: z.ZodOptional<z.ZodNumber>;
1091
+ y: z.ZodOptional<z.ZodNumber>;
1092
+ viewport: z.ZodOptional<z.ZodObject<{
1093
+ width: z.ZodNumber;
1094
+ height: z.ZodNumber;
1095
+ }, "strip", z.ZodTypeAny, {
1096
+ width: number;
1097
+ height: number;
1098
+ }, {
1099
+ width: number;
1100
+ height: number;
1101
+ }>>;
1102
+ }, "strict", z.ZodTypeAny, {
1103
+ name?: string | undefined;
1104
+ attributes?: Record<string, string> | undefined;
1105
+ role?: string | undefined;
1106
+ text?: string | undefined;
1107
+ selector?: string | undefined;
1108
+ label?: string | undefined;
1109
+ x?: number | undefined;
1110
+ y?: number | undefined;
1111
+ viewport?: {
1112
+ width: number;
1113
+ height: number;
1114
+ } | undefined;
1115
+ href?: string | undefined;
1116
+ tag?: string | undefined;
1117
+ xpath?: string | undefined;
1118
+ nearby_text?: string | undefined;
1119
+ input_type?: string | undefined;
1120
+ form_selector?: string | undefined;
1121
+ }, {
1122
+ name?: string | undefined;
1123
+ attributes?: Record<string, string> | undefined;
1124
+ role?: string | undefined;
1125
+ text?: string | undefined;
1126
+ selector?: string | undefined;
1127
+ label?: string | undefined;
1128
+ x?: number | undefined;
1129
+ y?: number | undefined;
1130
+ viewport?: {
1131
+ width: number;
1132
+ height: number;
1133
+ } | undefined;
1134
+ href?: string | undefined;
1135
+ tag?: string | undefined;
1136
+ xpath?: string | undefined;
1137
+ nearby_text?: string | undefined;
1138
+ input_type?: string | undefined;
1139
+ form_selector?: string | undefined;
1140
+ }>>;
1141
+ }, z.ZodTypeAny, "passthrough">[];
1142
+ network: z.objectOutputType<{
1143
+ type: z.ZodEnum<["request", "response"]>;
1144
+ timestamp: z.ZodString;
1145
+ url: z.ZodString;
1146
+ method: z.ZodOptional<z.ZodString>;
1147
+ resource_type: z.ZodOptional<z.ZodString>;
1148
+ status: z.ZodOptional<z.ZodNumber>;
1149
+ content_type: z.ZodOptional<z.ZodString>;
1150
+ }, z.ZodTypeAny, "passthrough">[];
1151
+ navigations: z.objectOutputType<{
1152
+ timestamp: z.ZodString;
1153
+ url: z.ZodString;
1154
+ frame_url: z.ZodOptional<z.ZodString>;
1155
+ }, z.ZodTypeAny, "passthrough">[];
1156
+ viewport?: {
1157
+ width: number;
1158
+ height: number;
1159
+ } | undefined;
1160
+ stopped_at?: string | undefined;
1161
+ user_agent?: string | undefined;
1162
+ }, {
1163
+ started_at: string;
1164
+ start_url: string;
1165
+ viewport?: {
1166
+ width: number;
1167
+ height: number;
1168
+ } | undefined;
1169
+ stopped_at?: string | undefined;
1170
+ user_agent?: string | undefined;
1171
+ events?: z.objectInputType<{
1172
+ type: z.ZodString;
1173
+ timestamp: z.ZodString;
1174
+ page_url: z.ZodOptional<z.ZodString>;
1175
+ title: z.ZodOptional<z.ZodString>;
1176
+ target: z.ZodOptional<z.ZodObject<{
1177
+ tag: z.ZodOptional<z.ZodString>;
1178
+ role: z.ZodOptional<z.ZodString>;
1179
+ name: z.ZodOptional<z.ZodString>;
1180
+ text: z.ZodOptional<z.ZodString>;
1181
+ label: z.ZodOptional<z.ZodString>;
1182
+ selector: z.ZodOptional<z.ZodString>;
1183
+ xpath: z.ZodOptional<z.ZodString>;
1184
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1185
+ nearby_text: z.ZodOptional<z.ZodString>;
1186
+ href: z.ZodOptional<z.ZodString>;
1187
+ input_type: z.ZodOptional<z.ZodString>;
1188
+ form_selector: z.ZodOptional<z.ZodString>;
1189
+ x: z.ZodOptional<z.ZodNumber>;
1190
+ y: z.ZodOptional<z.ZodNumber>;
1191
+ viewport: z.ZodOptional<z.ZodObject<{
1192
+ width: z.ZodNumber;
1193
+ height: z.ZodNumber;
1194
+ }, "strip", z.ZodTypeAny, {
1195
+ width: number;
1196
+ height: number;
1197
+ }, {
1198
+ width: number;
1199
+ height: number;
1200
+ }>>;
1201
+ }, "strict", z.ZodTypeAny, {
1202
+ name?: string | undefined;
1203
+ attributes?: Record<string, string> | undefined;
1204
+ role?: string | undefined;
1205
+ text?: string | undefined;
1206
+ selector?: string | undefined;
1207
+ label?: string | undefined;
1208
+ x?: number | undefined;
1209
+ y?: number | undefined;
1210
+ viewport?: {
1211
+ width: number;
1212
+ height: number;
1213
+ } | undefined;
1214
+ href?: string | undefined;
1215
+ tag?: string | undefined;
1216
+ xpath?: string | undefined;
1217
+ nearby_text?: string | undefined;
1218
+ input_type?: string | undefined;
1219
+ form_selector?: string | undefined;
1220
+ }, {
1221
+ name?: string | undefined;
1222
+ attributes?: Record<string, string> | undefined;
1223
+ role?: string | undefined;
1224
+ text?: string | undefined;
1225
+ selector?: string | undefined;
1226
+ label?: string | undefined;
1227
+ x?: number | undefined;
1228
+ y?: number | undefined;
1229
+ viewport?: {
1230
+ width: number;
1231
+ height: number;
1232
+ } | undefined;
1233
+ href?: string | undefined;
1234
+ tag?: string | undefined;
1235
+ xpath?: string | undefined;
1236
+ nearby_text?: string | undefined;
1237
+ input_type?: string | undefined;
1238
+ form_selector?: string | undefined;
1239
+ }>>;
1240
+ value: z.ZodOptional<z.ZodString>;
1241
+ checked: z.ZodOptional<z.ZodBoolean>;
1242
+ selected_text: z.ZodOptional<z.ZodString>;
1243
+ key: z.ZodOptional<z.ZodString>;
1244
+ submitter: z.ZodOptional<z.ZodObject<{
1245
+ tag: z.ZodOptional<z.ZodString>;
1246
+ role: z.ZodOptional<z.ZodString>;
1247
+ name: z.ZodOptional<z.ZodString>;
1248
+ text: z.ZodOptional<z.ZodString>;
1249
+ label: z.ZodOptional<z.ZodString>;
1250
+ selector: z.ZodOptional<z.ZodString>;
1251
+ xpath: z.ZodOptional<z.ZodString>;
1252
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1253
+ nearby_text: z.ZodOptional<z.ZodString>;
1254
+ href: z.ZodOptional<z.ZodString>;
1255
+ input_type: z.ZodOptional<z.ZodString>;
1256
+ form_selector: z.ZodOptional<z.ZodString>;
1257
+ x: z.ZodOptional<z.ZodNumber>;
1258
+ y: z.ZodOptional<z.ZodNumber>;
1259
+ viewport: z.ZodOptional<z.ZodObject<{
1260
+ width: z.ZodNumber;
1261
+ height: z.ZodNumber;
1262
+ }, "strip", z.ZodTypeAny, {
1263
+ width: number;
1264
+ height: number;
1265
+ }, {
1266
+ width: number;
1267
+ height: number;
1268
+ }>>;
1269
+ }, "strict", z.ZodTypeAny, {
1270
+ name?: string | undefined;
1271
+ attributes?: Record<string, string> | undefined;
1272
+ role?: string | undefined;
1273
+ text?: string | undefined;
1274
+ selector?: string | undefined;
1275
+ label?: string | undefined;
1276
+ x?: number | undefined;
1277
+ y?: number | undefined;
1278
+ viewport?: {
1279
+ width: number;
1280
+ height: number;
1281
+ } | undefined;
1282
+ href?: string | undefined;
1283
+ tag?: string | undefined;
1284
+ xpath?: string | undefined;
1285
+ nearby_text?: string | undefined;
1286
+ input_type?: string | undefined;
1287
+ form_selector?: string | undefined;
1288
+ }, {
1289
+ name?: string | undefined;
1290
+ attributes?: Record<string, string> | undefined;
1291
+ role?: string | undefined;
1292
+ text?: string | undefined;
1293
+ selector?: string | undefined;
1294
+ label?: string | undefined;
1295
+ x?: number | undefined;
1296
+ y?: number | undefined;
1297
+ viewport?: {
1298
+ width: number;
1299
+ height: number;
1300
+ } | undefined;
1301
+ href?: string | undefined;
1302
+ tag?: string | undefined;
1303
+ xpath?: string | undefined;
1304
+ nearby_text?: string | undefined;
1305
+ input_type?: string | undefined;
1306
+ form_selector?: string | undefined;
1307
+ }>>;
1308
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
1309
+ network?: z.objectInputType<{
1310
+ type: z.ZodEnum<["request", "response"]>;
1311
+ timestamp: z.ZodString;
1312
+ url: z.ZodString;
1313
+ method: z.ZodOptional<z.ZodString>;
1314
+ resource_type: z.ZodOptional<z.ZodString>;
1315
+ status: z.ZodOptional<z.ZodNumber>;
1316
+ content_type: z.ZodOptional<z.ZodString>;
1317
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
1318
+ navigations?: z.objectInputType<{
1319
+ timestamp: z.ZodString;
1320
+ url: z.ZodString;
1321
+ frame_url: z.ZodOptional<z.ZodString>;
1322
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
1323
+ }>>;
1324
+ export declare const flowStepSchema: z.ZodObject<{
1325
+ id: z.ZodOptional<z.ZodString>;
1326
+ type: z.ZodString;
1327
+ selector: z.ZodOptional<z.ZodString>;
1328
+ ref: z.ZodOptional<z.ZodString>;
1329
+ target: z.ZodOptional<z.ZodObject<{
1330
+ tag: z.ZodOptional<z.ZodString>;
1331
+ role: z.ZodOptional<z.ZodString>;
1332
+ name: z.ZodOptional<z.ZodString>;
1333
+ text: z.ZodOptional<z.ZodString>;
1334
+ label: z.ZodOptional<z.ZodString>;
1335
+ selector: z.ZodOptional<z.ZodString>;
1336
+ xpath: z.ZodOptional<z.ZodString>;
1337
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1338
+ nearby_text: z.ZodOptional<z.ZodString>;
1339
+ href: z.ZodOptional<z.ZodString>;
1340
+ input_type: z.ZodOptional<z.ZodString>;
1341
+ form_selector: z.ZodOptional<z.ZodString>;
1342
+ x: z.ZodOptional<z.ZodNumber>;
1343
+ y: z.ZodOptional<z.ZodNumber>;
1344
+ viewport: z.ZodOptional<z.ZodObject<{
1345
+ width: z.ZodNumber;
1346
+ height: z.ZodNumber;
1347
+ }, "strip", z.ZodTypeAny, {
1348
+ width: number;
1349
+ height: number;
1350
+ }, {
1351
+ width: number;
1352
+ height: number;
1353
+ }>>;
1354
+ }, "strict", z.ZodTypeAny, {
1355
+ name?: string | undefined;
1356
+ attributes?: Record<string, string> | undefined;
1357
+ role?: string | undefined;
1358
+ text?: string | undefined;
1359
+ selector?: string | undefined;
1360
+ label?: string | undefined;
1361
+ x?: number | undefined;
1362
+ y?: number | undefined;
1363
+ viewport?: {
1364
+ width: number;
1365
+ height: number;
1366
+ } | undefined;
1367
+ href?: string | undefined;
1368
+ tag?: string | undefined;
1369
+ xpath?: string | undefined;
1370
+ nearby_text?: string | undefined;
1371
+ input_type?: string | undefined;
1372
+ form_selector?: string | undefined;
1373
+ }, {
1374
+ name?: string | undefined;
1375
+ attributes?: Record<string, string> | undefined;
1376
+ role?: string | undefined;
1377
+ text?: string | undefined;
1378
+ selector?: string | undefined;
1379
+ label?: string | undefined;
1380
+ x?: number | undefined;
1381
+ y?: number | undefined;
1382
+ viewport?: {
1383
+ width: number;
1384
+ height: number;
1385
+ } | undefined;
1386
+ href?: string | undefined;
1387
+ tag?: string | undefined;
1388
+ xpath?: string | undefined;
1389
+ nearby_text?: string | undefined;
1390
+ input_type?: string | undefined;
1391
+ form_selector?: string | undefined;
1392
+ }>>;
1393
+ text: z.ZodOptional<z.ZodString>;
1394
+ value: z.ZodOptional<z.ZodString>;
1395
+ script: z.ZodOptional<z.ZodString>;
1396
+ key: z.ZodOptional<z.ZodString>;
1397
+ url: z.ZodOptional<z.ZodString>;
1398
+ duration: z.ZodOptional<z.ZodNumber>;
1399
+ x: z.ZodOptional<z.ZodNumber>;
1400
+ y: z.ZodOptional<z.ZodNumber>;
1401
+ target_selector: z.ZodOptional<z.ZodString>;
1402
+ target_ref: z.ZodOptional<z.ZodString>;
1403
+ file_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1404
+ storage: z.ZodOptional<z.ZodEnum<["local", "session"]>>;
1405
+ auth_profile: z.ZodOptional<z.ZodString>;
1406
+ next_selector: z.ZodOptional<z.ZodString>;
1407
+ next_ref: z.ZodOptional<z.ZodString>;
1408
+ extract_script: z.ZodOptional<z.ZodString>;
1409
+ max_pages: z.ZodOptional<z.ZodNumber>;
1410
+ wait_after_click: z.ZodOptional<z.ZodNumber>;
1411
+ output: z.ZodOptional<z.ZodString>;
1412
+ output_from: z.ZodOptional<z.ZodEnum<["result", "page_text", "page_html", "url"]>>;
1413
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1414
+ id: z.ZodOptional<z.ZodString>;
1415
+ type: z.ZodString;
1416
+ selector: z.ZodOptional<z.ZodString>;
1417
+ ref: z.ZodOptional<z.ZodString>;
1418
+ target: z.ZodOptional<z.ZodObject<{
1419
+ tag: z.ZodOptional<z.ZodString>;
1420
+ role: z.ZodOptional<z.ZodString>;
1421
+ name: z.ZodOptional<z.ZodString>;
1422
+ text: z.ZodOptional<z.ZodString>;
1423
+ label: z.ZodOptional<z.ZodString>;
1424
+ selector: z.ZodOptional<z.ZodString>;
1425
+ xpath: z.ZodOptional<z.ZodString>;
1426
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1427
+ nearby_text: z.ZodOptional<z.ZodString>;
1428
+ href: z.ZodOptional<z.ZodString>;
1429
+ input_type: z.ZodOptional<z.ZodString>;
1430
+ form_selector: z.ZodOptional<z.ZodString>;
1431
+ x: z.ZodOptional<z.ZodNumber>;
1432
+ y: z.ZodOptional<z.ZodNumber>;
1433
+ viewport: z.ZodOptional<z.ZodObject<{
1434
+ width: z.ZodNumber;
1435
+ height: z.ZodNumber;
1436
+ }, "strip", z.ZodTypeAny, {
1437
+ width: number;
1438
+ height: number;
1439
+ }, {
1440
+ width: number;
1441
+ height: number;
1442
+ }>>;
1443
+ }, "strict", z.ZodTypeAny, {
1444
+ name?: string | undefined;
1445
+ attributes?: Record<string, string> | undefined;
1446
+ role?: string | undefined;
1447
+ text?: string | undefined;
1448
+ selector?: string | undefined;
1449
+ label?: string | undefined;
1450
+ x?: number | undefined;
1451
+ y?: number | undefined;
1452
+ viewport?: {
1453
+ width: number;
1454
+ height: number;
1455
+ } | undefined;
1456
+ href?: string | undefined;
1457
+ tag?: string | undefined;
1458
+ xpath?: string | undefined;
1459
+ nearby_text?: string | undefined;
1460
+ input_type?: string | undefined;
1461
+ form_selector?: string | undefined;
1462
+ }, {
1463
+ name?: string | undefined;
1464
+ attributes?: Record<string, string> | undefined;
1465
+ role?: string | undefined;
1466
+ text?: string | undefined;
1467
+ selector?: string | undefined;
1468
+ label?: string | undefined;
1469
+ x?: number | undefined;
1470
+ y?: number | undefined;
1471
+ viewport?: {
1472
+ width: number;
1473
+ height: number;
1474
+ } | undefined;
1475
+ href?: string | undefined;
1476
+ tag?: string | undefined;
1477
+ xpath?: string | undefined;
1478
+ nearby_text?: string | undefined;
1479
+ input_type?: string | undefined;
1480
+ form_selector?: string | undefined;
1481
+ }>>;
1482
+ text: z.ZodOptional<z.ZodString>;
1483
+ value: z.ZodOptional<z.ZodString>;
1484
+ script: z.ZodOptional<z.ZodString>;
1485
+ key: z.ZodOptional<z.ZodString>;
1486
+ url: z.ZodOptional<z.ZodString>;
1487
+ duration: z.ZodOptional<z.ZodNumber>;
1488
+ x: z.ZodOptional<z.ZodNumber>;
1489
+ y: z.ZodOptional<z.ZodNumber>;
1490
+ target_selector: z.ZodOptional<z.ZodString>;
1491
+ target_ref: z.ZodOptional<z.ZodString>;
1492
+ file_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1493
+ storage: z.ZodOptional<z.ZodEnum<["local", "session"]>>;
1494
+ auth_profile: z.ZodOptional<z.ZodString>;
1495
+ next_selector: z.ZodOptional<z.ZodString>;
1496
+ next_ref: z.ZodOptional<z.ZodString>;
1497
+ extract_script: z.ZodOptional<z.ZodString>;
1498
+ max_pages: z.ZodOptional<z.ZodNumber>;
1499
+ wait_after_click: z.ZodOptional<z.ZodNumber>;
1500
+ output: z.ZodOptional<z.ZodString>;
1501
+ output_from: z.ZodOptional<z.ZodEnum<["result", "page_text", "page_html", "url"]>>;
1502
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1503
+ id: z.ZodOptional<z.ZodString>;
1504
+ type: z.ZodString;
1505
+ selector: z.ZodOptional<z.ZodString>;
1506
+ ref: z.ZodOptional<z.ZodString>;
1507
+ target: z.ZodOptional<z.ZodObject<{
1508
+ tag: z.ZodOptional<z.ZodString>;
1509
+ role: z.ZodOptional<z.ZodString>;
1510
+ name: z.ZodOptional<z.ZodString>;
1511
+ text: z.ZodOptional<z.ZodString>;
1512
+ label: z.ZodOptional<z.ZodString>;
1513
+ selector: z.ZodOptional<z.ZodString>;
1514
+ xpath: z.ZodOptional<z.ZodString>;
1515
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1516
+ nearby_text: z.ZodOptional<z.ZodString>;
1517
+ href: z.ZodOptional<z.ZodString>;
1518
+ input_type: z.ZodOptional<z.ZodString>;
1519
+ form_selector: z.ZodOptional<z.ZodString>;
1520
+ x: z.ZodOptional<z.ZodNumber>;
1521
+ y: z.ZodOptional<z.ZodNumber>;
1522
+ viewport: z.ZodOptional<z.ZodObject<{
1523
+ width: z.ZodNumber;
1524
+ height: z.ZodNumber;
1525
+ }, "strip", z.ZodTypeAny, {
1526
+ width: number;
1527
+ height: number;
1528
+ }, {
1529
+ width: number;
1530
+ height: number;
1531
+ }>>;
1532
+ }, "strict", z.ZodTypeAny, {
1533
+ name?: string | undefined;
1534
+ attributes?: Record<string, string> | undefined;
1535
+ role?: string | undefined;
1536
+ text?: string | undefined;
1537
+ selector?: string | undefined;
1538
+ label?: string | undefined;
1539
+ x?: number | undefined;
1540
+ y?: number | undefined;
1541
+ viewport?: {
1542
+ width: number;
1543
+ height: number;
1544
+ } | undefined;
1545
+ href?: string | undefined;
1546
+ tag?: string | undefined;
1547
+ xpath?: string | undefined;
1548
+ nearby_text?: string | undefined;
1549
+ input_type?: string | undefined;
1550
+ form_selector?: string | undefined;
1551
+ }, {
1552
+ name?: string | undefined;
1553
+ attributes?: Record<string, string> | undefined;
1554
+ role?: string | undefined;
1555
+ text?: string | undefined;
1556
+ selector?: string | undefined;
1557
+ label?: string | undefined;
1558
+ x?: number | undefined;
1559
+ y?: number | undefined;
1560
+ viewport?: {
1561
+ width: number;
1562
+ height: number;
1563
+ } | undefined;
1564
+ href?: string | undefined;
1565
+ tag?: string | undefined;
1566
+ xpath?: string | undefined;
1567
+ nearby_text?: string | undefined;
1568
+ input_type?: string | undefined;
1569
+ form_selector?: string | undefined;
1570
+ }>>;
1571
+ text: z.ZodOptional<z.ZodString>;
1572
+ value: z.ZodOptional<z.ZodString>;
1573
+ script: z.ZodOptional<z.ZodString>;
1574
+ key: z.ZodOptional<z.ZodString>;
1575
+ url: z.ZodOptional<z.ZodString>;
1576
+ duration: z.ZodOptional<z.ZodNumber>;
1577
+ x: z.ZodOptional<z.ZodNumber>;
1578
+ y: z.ZodOptional<z.ZodNumber>;
1579
+ target_selector: z.ZodOptional<z.ZodString>;
1580
+ target_ref: z.ZodOptional<z.ZodString>;
1581
+ file_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1582
+ storage: z.ZodOptional<z.ZodEnum<["local", "session"]>>;
1583
+ auth_profile: z.ZodOptional<z.ZodString>;
1584
+ next_selector: z.ZodOptional<z.ZodString>;
1585
+ next_ref: z.ZodOptional<z.ZodString>;
1586
+ extract_script: z.ZodOptional<z.ZodString>;
1587
+ max_pages: z.ZodOptional<z.ZodNumber>;
1588
+ wait_after_click: z.ZodOptional<z.ZodNumber>;
1589
+ output: z.ZodOptional<z.ZodString>;
1590
+ output_from: z.ZodOptional<z.ZodEnum<["result", "page_text", "page_html", "url"]>>;
1591
+ }, z.ZodTypeAny, "passthrough">>;
1592
+ export declare const evidenceConfigSchema: z.ZodDefault<z.ZodObject<{
1593
+ screenshots: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1594
+ html: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1595
+ markdown: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1596
+ network_log: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1597
+ action_log: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1598
+ }, "strip", z.ZodTypeAny, {
1599
+ html?: boolean | undefined;
1600
+ markdown?: boolean | undefined;
1601
+ screenshots?: boolean | undefined;
1602
+ network_log?: boolean | undefined;
1603
+ action_log?: boolean | undefined;
1604
+ }, {
1605
+ html?: boolean | undefined;
1606
+ markdown?: boolean | undefined;
1607
+ screenshots?: boolean | undefined;
1608
+ network_log?: boolean | undefined;
1609
+ action_log?: boolean | undefined;
1610
+ }>>;
1611
+ export declare const flowSchema: z.ZodObject<{
1612
+ schema_version: z.ZodLiteral<1>;
1613
+ family: z.ZodString;
1614
+ variant: z.ZodString;
1615
+ name: z.ZodOptional<z.ZodString>;
1616
+ description: z.ZodOptional<z.ZodString>;
1617
+ url: z.ZodString;
1618
+ created_at: z.ZodString;
1619
+ updated_at: z.ZodOptional<z.ZodString>;
1620
+ inputs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodObject<{
1621
+ description: z.ZodOptional<z.ZodString>;
1622
+ required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1623
+ default: z.ZodOptional<z.ZodString>;
1624
+ secret: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
1625
+ }, "strip", z.ZodTypeAny, {
1626
+ default?: string | undefined;
1627
+ description?: string | undefined;
1628
+ required?: boolean | undefined;
1629
+ secret?: boolean | undefined;
1630
+ }, {
1631
+ default?: string | undefined;
1632
+ description?: string | undefined;
1633
+ required?: boolean | undefined;
1634
+ secret?: boolean | undefined;
1635
+ }>>>;
1636
+ outputs: z.ZodOptional<z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>>;
1637
+ steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
1638
+ id: z.ZodOptional<z.ZodString>;
1639
+ type: z.ZodString;
1640
+ selector: z.ZodOptional<z.ZodString>;
1641
+ ref: z.ZodOptional<z.ZodString>;
1642
+ target: z.ZodOptional<z.ZodObject<{
1643
+ tag: z.ZodOptional<z.ZodString>;
1644
+ role: z.ZodOptional<z.ZodString>;
1645
+ name: z.ZodOptional<z.ZodString>;
1646
+ text: z.ZodOptional<z.ZodString>;
1647
+ label: z.ZodOptional<z.ZodString>;
1648
+ selector: z.ZodOptional<z.ZodString>;
1649
+ xpath: z.ZodOptional<z.ZodString>;
1650
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1651
+ nearby_text: z.ZodOptional<z.ZodString>;
1652
+ href: z.ZodOptional<z.ZodString>;
1653
+ input_type: z.ZodOptional<z.ZodString>;
1654
+ form_selector: z.ZodOptional<z.ZodString>;
1655
+ x: z.ZodOptional<z.ZodNumber>;
1656
+ y: z.ZodOptional<z.ZodNumber>;
1657
+ viewport: z.ZodOptional<z.ZodObject<{
1658
+ width: z.ZodNumber;
1659
+ height: z.ZodNumber;
1660
+ }, "strip", z.ZodTypeAny, {
1661
+ width: number;
1662
+ height: number;
1663
+ }, {
1664
+ width: number;
1665
+ height: number;
1666
+ }>>;
1667
+ }, "strict", z.ZodTypeAny, {
1668
+ name?: string | undefined;
1669
+ attributes?: Record<string, string> | undefined;
1670
+ role?: string | undefined;
1671
+ text?: string | undefined;
1672
+ selector?: string | undefined;
1673
+ label?: string | undefined;
1674
+ x?: number | undefined;
1675
+ y?: number | undefined;
1676
+ viewport?: {
1677
+ width: number;
1678
+ height: number;
1679
+ } | undefined;
1680
+ href?: string | undefined;
1681
+ tag?: string | undefined;
1682
+ xpath?: string | undefined;
1683
+ nearby_text?: string | undefined;
1684
+ input_type?: string | undefined;
1685
+ form_selector?: string | undefined;
1686
+ }, {
1687
+ name?: string | undefined;
1688
+ attributes?: Record<string, string> | undefined;
1689
+ role?: string | undefined;
1690
+ text?: string | undefined;
1691
+ selector?: string | undefined;
1692
+ label?: string | undefined;
1693
+ x?: number | undefined;
1694
+ y?: number | undefined;
1695
+ viewport?: {
1696
+ width: number;
1697
+ height: number;
1698
+ } | undefined;
1699
+ href?: string | undefined;
1700
+ tag?: string | undefined;
1701
+ xpath?: string | undefined;
1702
+ nearby_text?: string | undefined;
1703
+ input_type?: string | undefined;
1704
+ form_selector?: string | undefined;
1705
+ }>>;
1706
+ text: z.ZodOptional<z.ZodString>;
1707
+ value: z.ZodOptional<z.ZodString>;
1708
+ script: z.ZodOptional<z.ZodString>;
1709
+ key: z.ZodOptional<z.ZodString>;
1710
+ url: z.ZodOptional<z.ZodString>;
1711
+ duration: z.ZodOptional<z.ZodNumber>;
1712
+ x: z.ZodOptional<z.ZodNumber>;
1713
+ y: z.ZodOptional<z.ZodNumber>;
1714
+ target_selector: z.ZodOptional<z.ZodString>;
1715
+ target_ref: z.ZodOptional<z.ZodString>;
1716
+ file_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1717
+ storage: z.ZodOptional<z.ZodEnum<["local", "session"]>>;
1718
+ auth_profile: z.ZodOptional<z.ZodString>;
1719
+ next_selector: z.ZodOptional<z.ZodString>;
1720
+ next_ref: z.ZodOptional<z.ZodString>;
1721
+ extract_script: z.ZodOptional<z.ZodString>;
1722
+ max_pages: z.ZodOptional<z.ZodNumber>;
1723
+ wait_after_click: z.ZodOptional<z.ZodNumber>;
1724
+ output: z.ZodOptional<z.ZodString>;
1725
+ output_from: z.ZodOptional<z.ZodEnum<["result", "page_text", "page_html", "url"]>>;
1726
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1727
+ id: z.ZodOptional<z.ZodString>;
1728
+ type: z.ZodString;
1729
+ selector: z.ZodOptional<z.ZodString>;
1730
+ ref: z.ZodOptional<z.ZodString>;
1731
+ target: z.ZodOptional<z.ZodObject<{
1732
+ tag: z.ZodOptional<z.ZodString>;
1733
+ role: z.ZodOptional<z.ZodString>;
1734
+ name: z.ZodOptional<z.ZodString>;
1735
+ text: z.ZodOptional<z.ZodString>;
1736
+ label: z.ZodOptional<z.ZodString>;
1737
+ selector: z.ZodOptional<z.ZodString>;
1738
+ xpath: z.ZodOptional<z.ZodString>;
1739
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1740
+ nearby_text: z.ZodOptional<z.ZodString>;
1741
+ href: z.ZodOptional<z.ZodString>;
1742
+ input_type: z.ZodOptional<z.ZodString>;
1743
+ form_selector: z.ZodOptional<z.ZodString>;
1744
+ x: z.ZodOptional<z.ZodNumber>;
1745
+ y: z.ZodOptional<z.ZodNumber>;
1746
+ viewport: z.ZodOptional<z.ZodObject<{
1747
+ width: z.ZodNumber;
1748
+ height: z.ZodNumber;
1749
+ }, "strip", z.ZodTypeAny, {
1750
+ width: number;
1751
+ height: number;
1752
+ }, {
1753
+ width: number;
1754
+ height: number;
1755
+ }>>;
1756
+ }, "strict", z.ZodTypeAny, {
1757
+ name?: string | undefined;
1758
+ attributes?: Record<string, string> | undefined;
1759
+ role?: string | undefined;
1760
+ text?: string | undefined;
1761
+ selector?: string | undefined;
1762
+ label?: string | undefined;
1763
+ x?: number | undefined;
1764
+ y?: number | undefined;
1765
+ viewport?: {
1766
+ width: number;
1767
+ height: number;
1768
+ } | undefined;
1769
+ href?: string | undefined;
1770
+ tag?: string | undefined;
1771
+ xpath?: string | undefined;
1772
+ nearby_text?: string | undefined;
1773
+ input_type?: string | undefined;
1774
+ form_selector?: string | undefined;
1775
+ }, {
1776
+ name?: string | undefined;
1777
+ attributes?: Record<string, string> | undefined;
1778
+ role?: string | undefined;
1779
+ text?: string | undefined;
1780
+ selector?: string | undefined;
1781
+ label?: string | undefined;
1782
+ x?: number | undefined;
1783
+ y?: number | undefined;
1784
+ viewport?: {
1785
+ width: number;
1786
+ height: number;
1787
+ } | undefined;
1788
+ href?: string | undefined;
1789
+ tag?: string | undefined;
1790
+ xpath?: string | undefined;
1791
+ nearby_text?: string | undefined;
1792
+ input_type?: string | undefined;
1793
+ form_selector?: string | undefined;
1794
+ }>>;
1795
+ text: z.ZodOptional<z.ZodString>;
1796
+ value: z.ZodOptional<z.ZodString>;
1797
+ script: z.ZodOptional<z.ZodString>;
1798
+ key: z.ZodOptional<z.ZodString>;
1799
+ url: z.ZodOptional<z.ZodString>;
1800
+ duration: z.ZodOptional<z.ZodNumber>;
1801
+ x: z.ZodOptional<z.ZodNumber>;
1802
+ y: z.ZodOptional<z.ZodNumber>;
1803
+ target_selector: z.ZodOptional<z.ZodString>;
1804
+ target_ref: z.ZodOptional<z.ZodString>;
1805
+ file_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1806
+ storage: z.ZodOptional<z.ZodEnum<["local", "session"]>>;
1807
+ auth_profile: z.ZodOptional<z.ZodString>;
1808
+ next_selector: z.ZodOptional<z.ZodString>;
1809
+ next_ref: z.ZodOptional<z.ZodString>;
1810
+ extract_script: z.ZodOptional<z.ZodString>;
1811
+ max_pages: z.ZodOptional<z.ZodNumber>;
1812
+ wait_after_click: z.ZodOptional<z.ZodNumber>;
1813
+ output: z.ZodOptional<z.ZodString>;
1814
+ output_from: z.ZodOptional<z.ZodEnum<["result", "page_text", "page_html", "url"]>>;
1815
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1816
+ id: z.ZodOptional<z.ZodString>;
1817
+ type: z.ZodString;
1818
+ selector: z.ZodOptional<z.ZodString>;
1819
+ ref: z.ZodOptional<z.ZodString>;
1820
+ target: z.ZodOptional<z.ZodObject<{
1821
+ tag: z.ZodOptional<z.ZodString>;
1822
+ role: z.ZodOptional<z.ZodString>;
1823
+ name: z.ZodOptional<z.ZodString>;
1824
+ text: z.ZodOptional<z.ZodString>;
1825
+ label: z.ZodOptional<z.ZodString>;
1826
+ selector: z.ZodOptional<z.ZodString>;
1827
+ xpath: z.ZodOptional<z.ZodString>;
1828
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1829
+ nearby_text: z.ZodOptional<z.ZodString>;
1830
+ href: z.ZodOptional<z.ZodString>;
1831
+ input_type: z.ZodOptional<z.ZodString>;
1832
+ form_selector: z.ZodOptional<z.ZodString>;
1833
+ x: z.ZodOptional<z.ZodNumber>;
1834
+ y: z.ZodOptional<z.ZodNumber>;
1835
+ viewport: z.ZodOptional<z.ZodObject<{
1836
+ width: z.ZodNumber;
1837
+ height: z.ZodNumber;
1838
+ }, "strip", z.ZodTypeAny, {
1839
+ width: number;
1840
+ height: number;
1841
+ }, {
1842
+ width: number;
1843
+ height: number;
1844
+ }>>;
1845
+ }, "strict", z.ZodTypeAny, {
1846
+ name?: string | undefined;
1847
+ attributes?: Record<string, string> | undefined;
1848
+ role?: string | undefined;
1849
+ text?: string | undefined;
1850
+ selector?: string | undefined;
1851
+ label?: string | undefined;
1852
+ x?: number | undefined;
1853
+ y?: number | undefined;
1854
+ viewport?: {
1855
+ width: number;
1856
+ height: number;
1857
+ } | undefined;
1858
+ href?: string | undefined;
1859
+ tag?: string | undefined;
1860
+ xpath?: string | undefined;
1861
+ nearby_text?: string | undefined;
1862
+ input_type?: string | undefined;
1863
+ form_selector?: string | undefined;
1864
+ }, {
1865
+ name?: string | undefined;
1866
+ attributes?: Record<string, string> | undefined;
1867
+ role?: string | undefined;
1868
+ text?: string | undefined;
1869
+ selector?: string | undefined;
1870
+ label?: string | undefined;
1871
+ x?: number | undefined;
1872
+ y?: number | undefined;
1873
+ viewport?: {
1874
+ width: number;
1875
+ height: number;
1876
+ } | undefined;
1877
+ href?: string | undefined;
1878
+ tag?: string | undefined;
1879
+ xpath?: string | undefined;
1880
+ nearby_text?: string | undefined;
1881
+ input_type?: string | undefined;
1882
+ form_selector?: string | undefined;
1883
+ }>>;
1884
+ text: z.ZodOptional<z.ZodString>;
1885
+ value: z.ZodOptional<z.ZodString>;
1886
+ script: z.ZodOptional<z.ZodString>;
1887
+ key: z.ZodOptional<z.ZodString>;
1888
+ url: z.ZodOptional<z.ZodString>;
1889
+ duration: z.ZodOptional<z.ZodNumber>;
1890
+ x: z.ZodOptional<z.ZodNumber>;
1891
+ y: z.ZodOptional<z.ZodNumber>;
1892
+ target_selector: z.ZodOptional<z.ZodString>;
1893
+ target_ref: z.ZodOptional<z.ZodString>;
1894
+ file_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1895
+ storage: z.ZodOptional<z.ZodEnum<["local", "session"]>>;
1896
+ auth_profile: z.ZodOptional<z.ZodString>;
1897
+ next_selector: z.ZodOptional<z.ZodString>;
1898
+ next_ref: z.ZodOptional<z.ZodString>;
1899
+ extract_script: z.ZodOptional<z.ZodString>;
1900
+ max_pages: z.ZodOptional<z.ZodNumber>;
1901
+ wait_after_click: z.ZodOptional<z.ZodNumber>;
1902
+ output: z.ZodOptional<z.ZodString>;
1903
+ output_from: z.ZodOptional<z.ZodEnum<["result", "page_text", "page_html", "url"]>>;
1904
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
1905
+ recording: z.ZodOptional<z.ZodDefault<z.ZodObject<{
1906
+ started_at: z.ZodString;
1907
+ stopped_at: z.ZodOptional<z.ZodString>;
1908
+ start_url: z.ZodString;
1909
+ user_agent: z.ZodOptional<z.ZodString>;
1910
+ viewport: z.ZodOptional<z.ZodObject<{
1911
+ width: z.ZodNumber;
1912
+ height: z.ZodNumber;
1913
+ }, "strip", z.ZodTypeAny, {
1914
+ width: number;
1915
+ height: number;
1916
+ }, {
1917
+ width: number;
1918
+ height: number;
1919
+ }>>;
1920
+ events: z.ZodDefault<z.ZodArray<z.ZodObject<{
1921
+ type: z.ZodString;
1922
+ timestamp: z.ZodString;
1923
+ page_url: z.ZodOptional<z.ZodString>;
1924
+ title: z.ZodOptional<z.ZodString>;
1925
+ target: z.ZodOptional<z.ZodObject<{
1926
+ tag: z.ZodOptional<z.ZodString>;
1927
+ role: z.ZodOptional<z.ZodString>;
1928
+ name: z.ZodOptional<z.ZodString>;
1929
+ text: z.ZodOptional<z.ZodString>;
1930
+ label: z.ZodOptional<z.ZodString>;
1931
+ selector: z.ZodOptional<z.ZodString>;
1932
+ xpath: z.ZodOptional<z.ZodString>;
1933
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1934
+ nearby_text: z.ZodOptional<z.ZodString>;
1935
+ href: z.ZodOptional<z.ZodString>;
1936
+ input_type: z.ZodOptional<z.ZodString>;
1937
+ form_selector: z.ZodOptional<z.ZodString>;
1938
+ x: z.ZodOptional<z.ZodNumber>;
1939
+ y: z.ZodOptional<z.ZodNumber>;
1940
+ viewport: z.ZodOptional<z.ZodObject<{
1941
+ width: z.ZodNumber;
1942
+ height: z.ZodNumber;
1943
+ }, "strip", z.ZodTypeAny, {
1944
+ width: number;
1945
+ height: number;
1946
+ }, {
1947
+ width: number;
1948
+ height: number;
1949
+ }>>;
1950
+ }, "strict", z.ZodTypeAny, {
1951
+ name?: string | undefined;
1952
+ attributes?: Record<string, string> | undefined;
1953
+ role?: string | undefined;
1954
+ text?: string | undefined;
1955
+ selector?: string | undefined;
1956
+ label?: string | undefined;
1957
+ x?: number | undefined;
1958
+ y?: number | undefined;
1959
+ viewport?: {
1960
+ width: number;
1961
+ height: number;
1962
+ } | undefined;
1963
+ href?: string | undefined;
1964
+ tag?: string | undefined;
1965
+ xpath?: string | undefined;
1966
+ nearby_text?: string | undefined;
1967
+ input_type?: string | undefined;
1968
+ form_selector?: string | undefined;
1969
+ }, {
1970
+ name?: string | undefined;
1971
+ attributes?: Record<string, string> | undefined;
1972
+ role?: string | undefined;
1973
+ text?: string | undefined;
1974
+ selector?: string | undefined;
1975
+ label?: string | undefined;
1976
+ x?: number | undefined;
1977
+ y?: number | undefined;
1978
+ viewport?: {
1979
+ width: number;
1980
+ height: number;
1981
+ } | undefined;
1982
+ href?: string | undefined;
1983
+ tag?: string | undefined;
1984
+ xpath?: string | undefined;
1985
+ nearby_text?: string | undefined;
1986
+ input_type?: string | undefined;
1987
+ form_selector?: string | undefined;
1988
+ }>>;
1989
+ value: z.ZodOptional<z.ZodString>;
1990
+ checked: z.ZodOptional<z.ZodBoolean>;
1991
+ selected_text: z.ZodOptional<z.ZodString>;
1992
+ key: z.ZodOptional<z.ZodString>;
1993
+ submitter: z.ZodOptional<z.ZodObject<{
1994
+ tag: z.ZodOptional<z.ZodString>;
1995
+ role: z.ZodOptional<z.ZodString>;
1996
+ name: z.ZodOptional<z.ZodString>;
1997
+ text: z.ZodOptional<z.ZodString>;
1998
+ label: z.ZodOptional<z.ZodString>;
1999
+ selector: z.ZodOptional<z.ZodString>;
2000
+ xpath: z.ZodOptional<z.ZodString>;
2001
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2002
+ nearby_text: z.ZodOptional<z.ZodString>;
2003
+ href: z.ZodOptional<z.ZodString>;
2004
+ input_type: z.ZodOptional<z.ZodString>;
2005
+ form_selector: z.ZodOptional<z.ZodString>;
2006
+ x: z.ZodOptional<z.ZodNumber>;
2007
+ y: z.ZodOptional<z.ZodNumber>;
2008
+ viewport: z.ZodOptional<z.ZodObject<{
2009
+ width: z.ZodNumber;
2010
+ height: z.ZodNumber;
2011
+ }, "strip", z.ZodTypeAny, {
2012
+ width: number;
2013
+ height: number;
2014
+ }, {
2015
+ width: number;
2016
+ height: number;
2017
+ }>>;
2018
+ }, "strict", z.ZodTypeAny, {
2019
+ name?: string | undefined;
2020
+ attributes?: Record<string, string> | undefined;
2021
+ role?: string | undefined;
2022
+ text?: string | undefined;
2023
+ selector?: string | undefined;
2024
+ label?: string | undefined;
2025
+ x?: number | undefined;
2026
+ y?: number | undefined;
2027
+ viewport?: {
2028
+ width: number;
2029
+ height: number;
2030
+ } | undefined;
2031
+ href?: string | undefined;
2032
+ tag?: string | undefined;
2033
+ xpath?: string | undefined;
2034
+ nearby_text?: string | undefined;
2035
+ input_type?: string | undefined;
2036
+ form_selector?: string | undefined;
2037
+ }, {
2038
+ name?: string | undefined;
2039
+ attributes?: Record<string, string> | undefined;
2040
+ role?: string | undefined;
2041
+ text?: string | undefined;
2042
+ selector?: string | undefined;
2043
+ label?: string | undefined;
2044
+ x?: number | undefined;
2045
+ y?: number | undefined;
2046
+ viewport?: {
2047
+ width: number;
2048
+ height: number;
2049
+ } | undefined;
2050
+ href?: string | undefined;
2051
+ tag?: string | undefined;
2052
+ xpath?: string | undefined;
2053
+ nearby_text?: string | undefined;
2054
+ input_type?: string | undefined;
2055
+ form_selector?: string | undefined;
2056
+ }>>;
2057
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2058
+ type: z.ZodString;
2059
+ timestamp: z.ZodString;
2060
+ page_url: z.ZodOptional<z.ZodString>;
2061
+ title: z.ZodOptional<z.ZodString>;
2062
+ target: z.ZodOptional<z.ZodObject<{
2063
+ tag: z.ZodOptional<z.ZodString>;
2064
+ role: z.ZodOptional<z.ZodString>;
2065
+ name: z.ZodOptional<z.ZodString>;
2066
+ text: z.ZodOptional<z.ZodString>;
2067
+ label: z.ZodOptional<z.ZodString>;
2068
+ selector: z.ZodOptional<z.ZodString>;
2069
+ xpath: z.ZodOptional<z.ZodString>;
2070
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2071
+ nearby_text: z.ZodOptional<z.ZodString>;
2072
+ href: z.ZodOptional<z.ZodString>;
2073
+ input_type: z.ZodOptional<z.ZodString>;
2074
+ form_selector: z.ZodOptional<z.ZodString>;
2075
+ x: z.ZodOptional<z.ZodNumber>;
2076
+ y: z.ZodOptional<z.ZodNumber>;
2077
+ viewport: z.ZodOptional<z.ZodObject<{
2078
+ width: z.ZodNumber;
2079
+ height: z.ZodNumber;
2080
+ }, "strip", z.ZodTypeAny, {
2081
+ width: number;
2082
+ height: number;
2083
+ }, {
2084
+ width: number;
2085
+ height: number;
2086
+ }>>;
2087
+ }, "strict", z.ZodTypeAny, {
2088
+ name?: string | undefined;
2089
+ attributes?: Record<string, string> | undefined;
2090
+ role?: string | undefined;
2091
+ text?: string | undefined;
2092
+ selector?: string | undefined;
2093
+ label?: string | undefined;
2094
+ x?: number | undefined;
2095
+ y?: number | undefined;
2096
+ viewport?: {
2097
+ width: number;
2098
+ height: number;
2099
+ } | undefined;
2100
+ href?: string | undefined;
2101
+ tag?: string | undefined;
2102
+ xpath?: string | undefined;
2103
+ nearby_text?: string | undefined;
2104
+ input_type?: string | undefined;
2105
+ form_selector?: string | undefined;
2106
+ }, {
2107
+ name?: string | undefined;
2108
+ attributes?: Record<string, string> | undefined;
2109
+ role?: string | undefined;
2110
+ text?: string | undefined;
2111
+ selector?: string | undefined;
2112
+ label?: string | undefined;
2113
+ x?: number | undefined;
2114
+ y?: number | undefined;
2115
+ viewport?: {
2116
+ width: number;
2117
+ height: number;
2118
+ } | undefined;
2119
+ href?: string | undefined;
2120
+ tag?: string | undefined;
2121
+ xpath?: string | undefined;
2122
+ nearby_text?: string | undefined;
2123
+ input_type?: string | undefined;
2124
+ form_selector?: string | undefined;
2125
+ }>>;
2126
+ value: z.ZodOptional<z.ZodString>;
2127
+ checked: z.ZodOptional<z.ZodBoolean>;
2128
+ selected_text: z.ZodOptional<z.ZodString>;
2129
+ key: z.ZodOptional<z.ZodString>;
2130
+ submitter: z.ZodOptional<z.ZodObject<{
2131
+ tag: z.ZodOptional<z.ZodString>;
2132
+ role: z.ZodOptional<z.ZodString>;
2133
+ name: z.ZodOptional<z.ZodString>;
2134
+ text: z.ZodOptional<z.ZodString>;
2135
+ label: z.ZodOptional<z.ZodString>;
2136
+ selector: z.ZodOptional<z.ZodString>;
2137
+ xpath: z.ZodOptional<z.ZodString>;
2138
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2139
+ nearby_text: z.ZodOptional<z.ZodString>;
2140
+ href: z.ZodOptional<z.ZodString>;
2141
+ input_type: z.ZodOptional<z.ZodString>;
2142
+ form_selector: z.ZodOptional<z.ZodString>;
2143
+ x: z.ZodOptional<z.ZodNumber>;
2144
+ y: z.ZodOptional<z.ZodNumber>;
2145
+ viewport: z.ZodOptional<z.ZodObject<{
2146
+ width: z.ZodNumber;
2147
+ height: z.ZodNumber;
2148
+ }, "strip", z.ZodTypeAny, {
2149
+ width: number;
2150
+ height: number;
2151
+ }, {
2152
+ width: number;
2153
+ height: number;
2154
+ }>>;
2155
+ }, "strict", z.ZodTypeAny, {
2156
+ name?: string | undefined;
2157
+ attributes?: Record<string, string> | undefined;
2158
+ role?: string | undefined;
2159
+ text?: string | undefined;
2160
+ selector?: string | undefined;
2161
+ label?: string | undefined;
2162
+ x?: number | undefined;
2163
+ y?: number | undefined;
2164
+ viewport?: {
2165
+ width: number;
2166
+ height: number;
2167
+ } | undefined;
2168
+ href?: string | undefined;
2169
+ tag?: string | undefined;
2170
+ xpath?: string | undefined;
2171
+ nearby_text?: string | undefined;
2172
+ input_type?: string | undefined;
2173
+ form_selector?: string | undefined;
2174
+ }, {
2175
+ name?: string | undefined;
2176
+ attributes?: Record<string, string> | undefined;
2177
+ role?: string | undefined;
2178
+ text?: string | undefined;
2179
+ selector?: string | undefined;
2180
+ label?: string | undefined;
2181
+ x?: number | undefined;
2182
+ y?: number | undefined;
2183
+ viewport?: {
2184
+ width: number;
2185
+ height: number;
2186
+ } | undefined;
2187
+ href?: string | undefined;
2188
+ tag?: string | undefined;
2189
+ xpath?: string | undefined;
2190
+ nearby_text?: string | undefined;
2191
+ input_type?: string | undefined;
2192
+ form_selector?: string | undefined;
2193
+ }>>;
2194
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2195
+ type: z.ZodString;
2196
+ timestamp: z.ZodString;
2197
+ page_url: z.ZodOptional<z.ZodString>;
2198
+ title: z.ZodOptional<z.ZodString>;
2199
+ target: z.ZodOptional<z.ZodObject<{
2200
+ tag: z.ZodOptional<z.ZodString>;
2201
+ role: z.ZodOptional<z.ZodString>;
2202
+ name: z.ZodOptional<z.ZodString>;
2203
+ text: z.ZodOptional<z.ZodString>;
2204
+ label: z.ZodOptional<z.ZodString>;
2205
+ selector: z.ZodOptional<z.ZodString>;
2206
+ xpath: z.ZodOptional<z.ZodString>;
2207
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2208
+ nearby_text: z.ZodOptional<z.ZodString>;
2209
+ href: z.ZodOptional<z.ZodString>;
2210
+ input_type: z.ZodOptional<z.ZodString>;
2211
+ form_selector: z.ZodOptional<z.ZodString>;
2212
+ x: z.ZodOptional<z.ZodNumber>;
2213
+ y: z.ZodOptional<z.ZodNumber>;
2214
+ viewport: z.ZodOptional<z.ZodObject<{
2215
+ width: z.ZodNumber;
2216
+ height: z.ZodNumber;
2217
+ }, "strip", z.ZodTypeAny, {
2218
+ width: number;
2219
+ height: number;
2220
+ }, {
2221
+ width: number;
2222
+ height: number;
2223
+ }>>;
2224
+ }, "strict", z.ZodTypeAny, {
2225
+ name?: string | undefined;
2226
+ attributes?: Record<string, string> | undefined;
2227
+ role?: string | undefined;
2228
+ text?: string | undefined;
2229
+ selector?: string | undefined;
2230
+ label?: string | undefined;
2231
+ x?: number | undefined;
2232
+ y?: number | undefined;
2233
+ viewport?: {
2234
+ width: number;
2235
+ height: number;
2236
+ } | undefined;
2237
+ href?: string | undefined;
2238
+ tag?: string | undefined;
2239
+ xpath?: string | undefined;
2240
+ nearby_text?: string | undefined;
2241
+ input_type?: string | undefined;
2242
+ form_selector?: string | undefined;
2243
+ }, {
2244
+ name?: string | undefined;
2245
+ attributes?: Record<string, string> | undefined;
2246
+ role?: string | undefined;
2247
+ text?: string | undefined;
2248
+ selector?: string | undefined;
2249
+ label?: string | undefined;
2250
+ x?: number | undefined;
2251
+ y?: number | undefined;
2252
+ viewport?: {
2253
+ width: number;
2254
+ height: number;
2255
+ } | undefined;
2256
+ href?: string | undefined;
2257
+ tag?: string | undefined;
2258
+ xpath?: string | undefined;
2259
+ nearby_text?: string | undefined;
2260
+ input_type?: string | undefined;
2261
+ form_selector?: string | undefined;
2262
+ }>>;
2263
+ value: z.ZodOptional<z.ZodString>;
2264
+ checked: z.ZodOptional<z.ZodBoolean>;
2265
+ selected_text: z.ZodOptional<z.ZodString>;
2266
+ key: z.ZodOptional<z.ZodString>;
2267
+ submitter: z.ZodOptional<z.ZodObject<{
2268
+ tag: z.ZodOptional<z.ZodString>;
2269
+ role: z.ZodOptional<z.ZodString>;
2270
+ name: z.ZodOptional<z.ZodString>;
2271
+ text: z.ZodOptional<z.ZodString>;
2272
+ label: z.ZodOptional<z.ZodString>;
2273
+ selector: z.ZodOptional<z.ZodString>;
2274
+ xpath: z.ZodOptional<z.ZodString>;
2275
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2276
+ nearby_text: z.ZodOptional<z.ZodString>;
2277
+ href: z.ZodOptional<z.ZodString>;
2278
+ input_type: z.ZodOptional<z.ZodString>;
2279
+ form_selector: z.ZodOptional<z.ZodString>;
2280
+ x: z.ZodOptional<z.ZodNumber>;
2281
+ y: z.ZodOptional<z.ZodNumber>;
2282
+ viewport: z.ZodOptional<z.ZodObject<{
2283
+ width: z.ZodNumber;
2284
+ height: z.ZodNumber;
2285
+ }, "strip", z.ZodTypeAny, {
2286
+ width: number;
2287
+ height: number;
2288
+ }, {
2289
+ width: number;
2290
+ height: number;
2291
+ }>>;
2292
+ }, "strict", z.ZodTypeAny, {
2293
+ name?: string | undefined;
2294
+ attributes?: Record<string, string> | undefined;
2295
+ role?: string | undefined;
2296
+ text?: string | undefined;
2297
+ selector?: string | undefined;
2298
+ label?: string | undefined;
2299
+ x?: number | undefined;
2300
+ y?: number | undefined;
2301
+ viewport?: {
2302
+ width: number;
2303
+ height: number;
2304
+ } | undefined;
2305
+ href?: string | undefined;
2306
+ tag?: string | undefined;
2307
+ xpath?: string | undefined;
2308
+ nearby_text?: string | undefined;
2309
+ input_type?: string | undefined;
2310
+ form_selector?: string | undefined;
2311
+ }, {
2312
+ name?: string | undefined;
2313
+ attributes?: Record<string, string> | undefined;
2314
+ role?: string | undefined;
2315
+ text?: string | undefined;
2316
+ selector?: string | undefined;
2317
+ label?: string | undefined;
2318
+ x?: number | undefined;
2319
+ y?: number | undefined;
2320
+ viewport?: {
2321
+ width: number;
2322
+ height: number;
2323
+ } | undefined;
2324
+ href?: string | undefined;
2325
+ tag?: string | undefined;
2326
+ xpath?: string | undefined;
2327
+ nearby_text?: string | undefined;
2328
+ input_type?: string | undefined;
2329
+ form_selector?: string | undefined;
2330
+ }>>;
2331
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
2332
+ network: z.ZodDefault<z.ZodArray<z.ZodObject<{
2333
+ type: z.ZodEnum<["request", "response"]>;
2334
+ timestamp: z.ZodString;
2335
+ url: z.ZodString;
2336
+ method: z.ZodOptional<z.ZodString>;
2337
+ resource_type: z.ZodOptional<z.ZodString>;
2338
+ status: z.ZodOptional<z.ZodNumber>;
2339
+ content_type: z.ZodOptional<z.ZodString>;
2340
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2341
+ type: z.ZodEnum<["request", "response"]>;
2342
+ timestamp: z.ZodString;
2343
+ url: z.ZodString;
2344
+ method: z.ZodOptional<z.ZodString>;
2345
+ resource_type: z.ZodOptional<z.ZodString>;
2346
+ status: z.ZodOptional<z.ZodNumber>;
2347
+ content_type: z.ZodOptional<z.ZodString>;
2348
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2349
+ type: z.ZodEnum<["request", "response"]>;
2350
+ timestamp: z.ZodString;
2351
+ url: z.ZodString;
2352
+ method: z.ZodOptional<z.ZodString>;
2353
+ resource_type: z.ZodOptional<z.ZodString>;
2354
+ status: z.ZodOptional<z.ZodNumber>;
2355
+ content_type: z.ZodOptional<z.ZodString>;
2356
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
2357
+ navigations: z.ZodDefault<z.ZodArray<z.ZodObject<{
2358
+ timestamp: z.ZodString;
2359
+ url: z.ZodString;
2360
+ frame_url: z.ZodOptional<z.ZodString>;
2361
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2362
+ timestamp: z.ZodString;
2363
+ url: z.ZodString;
2364
+ frame_url: z.ZodOptional<z.ZodString>;
2365
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2366
+ timestamp: z.ZodString;
2367
+ url: z.ZodString;
2368
+ frame_url: z.ZodOptional<z.ZodString>;
2369
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
2370
+ }, "strip", z.ZodTypeAny, {
2371
+ started_at: string;
2372
+ start_url: string;
2373
+ events: z.objectOutputType<{
2374
+ type: z.ZodString;
2375
+ timestamp: z.ZodString;
2376
+ page_url: z.ZodOptional<z.ZodString>;
2377
+ title: z.ZodOptional<z.ZodString>;
2378
+ target: z.ZodOptional<z.ZodObject<{
2379
+ tag: z.ZodOptional<z.ZodString>;
2380
+ role: z.ZodOptional<z.ZodString>;
2381
+ name: z.ZodOptional<z.ZodString>;
2382
+ text: z.ZodOptional<z.ZodString>;
2383
+ label: z.ZodOptional<z.ZodString>;
2384
+ selector: z.ZodOptional<z.ZodString>;
2385
+ xpath: z.ZodOptional<z.ZodString>;
2386
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2387
+ nearby_text: z.ZodOptional<z.ZodString>;
2388
+ href: z.ZodOptional<z.ZodString>;
2389
+ input_type: z.ZodOptional<z.ZodString>;
2390
+ form_selector: z.ZodOptional<z.ZodString>;
2391
+ x: z.ZodOptional<z.ZodNumber>;
2392
+ y: z.ZodOptional<z.ZodNumber>;
2393
+ viewport: z.ZodOptional<z.ZodObject<{
2394
+ width: z.ZodNumber;
2395
+ height: z.ZodNumber;
2396
+ }, "strip", z.ZodTypeAny, {
2397
+ width: number;
2398
+ height: number;
2399
+ }, {
2400
+ width: number;
2401
+ height: number;
2402
+ }>>;
2403
+ }, "strict", z.ZodTypeAny, {
2404
+ name?: string | undefined;
2405
+ attributes?: Record<string, string> | undefined;
2406
+ role?: string | undefined;
2407
+ text?: string | undefined;
2408
+ selector?: string | undefined;
2409
+ label?: string | undefined;
2410
+ x?: number | undefined;
2411
+ y?: number | undefined;
2412
+ viewport?: {
2413
+ width: number;
2414
+ height: number;
2415
+ } | undefined;
2416
+ href?: string | undefined;
2417
+ tag?: string | undefined;
2418
+ xpath?: string | undefined;
2419
+ nearby_text?: string | undefined;
2420
+ input_type?: string | undefined;
2421
+ form_selector?: string | undefined;
2422
+ }, {
2423
+ name?: string | undefined;
2424
+ attributes?: Record<string, string> | undefined;
2425
+ role?: string | undefined;
2426
+ text?: string | undefined;
2427
+ selector?: string | undefined;
2428
+ label?: string | undefined;
2429
+ x?: number | undefined;
2430
+ y?: number | undefined;
2431
+ viewport?: {
2432
+ width: number;
2433
+ height: number;
2434
+ } | undefined;
2435
+ href?: string | undefined;
2436
+ tag?: string | undefined;
2437
+ xpath?: string | undefined;
2438
+ nearby_text?: string | undefined;
2439
+ input_type?: string | undefined;
2440
+ form_selector?: string | undefined;
2441
+ }>>;
2442
+ value: z.ZodOptional<z.ZodString>;
2443
+ checked: z.ZodOptional<z.ZodBoolean>;
2444
+ selected_text: z.ZodOptional<z.ZodString>;
2445
+ key: z.ZodOptional<z.ZodString>;
2446
+ submitter: z.ZodOptional<z.ZodObject<{
2447
+ tag: z.ZodOptional<z.ZodString>;
2448
+ role: z.ZodOptional<z.ZodString>;
2449
+ name: z.ZodOptional<z.ZodString>;
2450
+ text: z.ZodOptional<z.ZodString>;
2451
+ label: z.ZodOptional<z.ZodString>;
2452
+ selector: z.ZodOptional<z.ZodString>;
2453
+ xpath: z.ZodOptional<z.ZodString>;
2454
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2455
+ nearby_text: z.ZodOptional<z.ZodString>;
2456
+ href: z.ZodOptional<z.ZodString>;
2457
+ input_type: z.ZodOptional<z.ZodString>;
2458
+ form_selector: z.ZodOptional<z.ZodString>;
2459
+ x: z.ZodOptional<z.ZodNumber>;
2460
+ y: z.ZodOptional<z.ZodNumber>;
2461
+ viewport: z.ZodOptional<z.ZodObject<{
2462
+ width: z.ZodNumber;
2463
+ height: z.ZodNumber;
2464
+ }, "strip", z.ZodTypeAny, {
2465
+ width: number;
2466
+ height: number;
2467
+ }, {
2468
+ width: number;
2469
+ height: number;
2470
+ }>>;
2471
+ }, "strict", z.ZodTypeAny, {
2472
+ name?: string | undefined;
2473
+ attributes?: Record<string, string> | undefined;
2474
+ role?: string | undefined;
2475
+ text?: string | undefined;
2476
+ selector?: string | undefined;
2477
+ label?: string | undefined;
2478
+ x?: number | undefined;
2479
+ y?: number | undefined;
2480
+ viewport?: {
2481
+ width: number;
2482
+ height: number;
2483
+ } | undefined;
2484
+ href?: string | undefined;
2485
+ tag?: string | undefined;
2486
+ xpath?: string | undefined;
2487
+ nearby_text?: string | undefined;
2488
+ input_type?: string | undefined;
2489
+ form_selector?: string | undefined;
2490
+ }, {
2491
+ name?: string | undefined;
2492
+ attributes?: Record<string, string> | undefined;
2493
+ role?: string | undefined;
2494
+ text?: string | undefined;
2495
+ selector?: string | undefined;
2496
+ label?: string | undefined;
2497
+ x?: number | undefined;
2498
+ y?: number | undefined;
2499
+ viewport?: {
2500
+ width: number;
2501
+ height: number;
2502
+ } | undefined;
2503
+ href?: string | undefined;
2504
+ tag?: string | undefined;
2505
+ xpath?: string | undefined;
2506
+ nearby_text?: string | undefined;
2507
+ input_type?: string | undefined;
2508
+ form_selector?: string | undefined;
2509
+ }>>;
2510
+ }, z.ZodTypeAny, "passthrough">[];
2511
+ network: z.objectOutputType<{
2512
+ type: z.ZodEnum<["request", "response"]>;
2513
+ timestamp: z.ZodString;
2514
+ url: z.ZodString;
2515
+ method: z.ZodOptional<z.ZodString>;
2516
+ resource_type: z.ZodOptional<z.ZodString>;
2517
+ status: z.ZodOptional<z.ZodNumber>;
2518
+ content_type: z.ZodOptional<z.ZodString>;
2519
+ }, z.ZodTypeAny, "passthrough">[];
2520
+ navigations: z.objectOutputType<{
2521
+ timestamp: z.ZodString;
2522
+ url: z.ZodString;
2523
+ frame_url: z.ZodOptional<z.ZodString>;
2524
+ }, z.ZodTypeAny, "passthrough">[];
2525
+ viewport?: {
2526
+ width: number;
2527
+ height: number;
2528
+ } | undefined;
2529
+ stopped_at?: string | undefined;
2530
+ user_agent?: string | undefined;
2531
+ }, {
2532
+ started_at: string;
2533
+ start_url: string;
2534
+ viewport?: {
2535
+ width: number;
2536
+ height: number;
2537
+ } | undefined;
2538
+ stopped_at?: string | undefined;
2539
+ user_agent?: string | undefined;
2540
+ events?: z.objectInputType<{
2541
+ type: z.ZodString;
2542
+ timestamp: z.ZodString;
2543
+ page_url: z.ZodOptional<z.ZodString>;
2544
+ title: z.ZodOptional<z.ZodString>;
2545
+ target: z.ZodOptional<z.ZodObject<{
2546
+ tag: z.ZodOptional<z.ZodString>;
2547
+ role: z.ZodOptional<z.ZodString>;
2548
+ name: z.ZodOptional<z.ZodString>;
2549
+ text: z.ZodOptional<z.ZodString>;
2550
+ label: z.ZodOptional<z.ZodString>;
2551
+ selector: z.ZodOptional<z.ZodString>;
2552
+ xpath: z.ZodOptional<z.ZodString>;
2553
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2554
+ nearby_text: z.ZodOptional<z.ZodString>;
2555
+ href: z.ZodOptional<z.ZodString>;
2556
+ input_type: z.ZodOptional<z.ZodString>;
2557
+ form_selector: z.ZodOptional<z.ZodString>;
2558
+ x: z.ZodOptional<z.ZodNumber>;
2559
+ y: z.ZodOptional<z.ZodNumber>;
2560
+ viewport: z.ZodOptional<z.ZodObject<{
2561
+ width: z.ZodNumber;
2562
+ height: z.ZodNumber;
2563
+ }, "strip", z.ZodTypeAny, {
2564
+ width: number;
2565
+ height: number;
2566
+ }, {
2567
+ width: number;
2568
+ height: number;
2569
+ }>>;
2570
+ }, "strict", z.ZodTypeAny, {
2571
+ name?: string | undefined;
2572
+ attributes?: Record<string, string> | undefined;
2573
+ role?: string | undefined;
2574
+ text?: string | undefined;
2575
+ selector?: string | undefined;
2576
+ label?: string | undefined;
2577
+ x?: number | undefined;
2578
+ y?: number | undefined;
2579
+ viewport?: {
2580
+ width: number;
2581
+ height: number;
2582
+ } | undefined;
2583
+ href?: string | undefined;
2584
+ tag?: string | undefined;
2585
+ xpath?: string | undefined;
2586
+ nearby_text?: string | undefined;
2587
+ input_type?: string | undefined;
2588
+ form_selector?: string | undefined;
2589
+ }, {
2590
+ name?: string | undefined;
2591
+ attributes?: Record<string, string> | undefined;
2592
+ role?: string | undefined;
2593
+ text?: string | undefined;
2594
+ selector?: string | undefined;
2595
+ label?: string | undefined;
2596
+ x?: number | undefined;
2597
+ y?: number | undefined;
2598
+ viewport?: {
2599
+ width: number;
2600
+ height: number;
2601
+ } | undefined;
2602
+ href?: string | undefined;
2603
+ tag?: string | undefined;
2604
+ xpath?: string | undefined;
2605
+ nearby_text?: string | undefined;
2606
+ input_type?: string | undefined;
2607
+ form_selector?: string | undefined;
2608
+ }>>;
2609
+ value: z.ZodOptional<z.ZodString>;
2610
+ checked: z.ZodOptional<z.ZodBoolean>;
2611
+ selected_text: z.ZodOptional<z.ZodString>;
2612
+ key: z.ZodOptional<z.ZodString>;
2613
+ submitter: z.ZodOptional<z.ZodObject<{
2614
+ tag: z.ZodOptional<z.ZodString>;
2615
+ role: z.ZodOptional<z.ZodString>;
2616
+ name: z.ZodOptional<z.ZodString>;
2617
+ text: z.ZodOptional<z.ZodString>;
2618
+ label: z.ZodOptional<z.ZodString>;
2619
+ selector: z.ZodOptional<z.ZodString>;
2620
+ xpath: z.ZodOptional<z.ZodString>;
2621
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2622
+ nearby_text: z.ZodOptional<z.ZodString>;
2623
+ href: z.ZodOptional<z.ZodString>;
2624
+ input_type: z.ZodOptional<z.ZodString>;
2625
+ form_selector: z.ZodOptional<z.ZodString>;
2626
+ x: z.ZodOptional<z.ZodNumber>;
2627
+ y: z.ZodOptional<z.ZodNumber>;
2628
+ viewport: z.ZodOptional<z.ZodObject<{
2629
+ width: z.ZodNumber;
2630
+ height: z.ZodNumber;
2631
+ }, "strip", z.ZodTypeAny, {
2632
+ width: number;
2633
+ height: number;
2634
+ }, {
2635
+ width: number;
2636
+ height: number;
2637
+ }>>;
2638
+ }, "strict", z.ZodTypeAny, {
2639
+ name?: string | undefined;
2640
+ attributes?: Record<string, string> | undefined;
2641
+ role?: string | undefined;
2642
+ text?: string | undefined;
2643
+ selector?: string | undefined;
2644
+ label?: string | undefined;
2645
+ x?: number | undefined;
2646
+ y?: number | undefined;
2647
+ viewport?: {
2648
+ width: number;
2649
+ height: number;
2650
+ } | undefined;
2651
+ href?: string | undefined;
2652
+ tag?: string | undefined;
2653
+ xpath?: string | undefined;
2654
+ nearby_text?: string | undefined;
2655
+ input_type?: string | undefined;
2656
+ form_selector?: string | undefined;
2657
+ }, {
2658
+ name?: string | undefined;
2659
+ attributes?: Record<string, string> | undefined;
2660
+ role?: string | undefined;
2661
+ text?: string | undefined;
2662
+ selector?: string | undefined;
2663
+ label?: string | undefined;
2664
+ x?: number | undefined;
2665
+ y?: number | undefined;
2666
+ viewport?: {
2667
+ width: number;
2668
+ height: number;
2669
+ } | undefined;
2670
+ href?: string | undefined;
2671
+ tag?: string | undefined;
2672
+ xpath?: string | undefined;
2673
+ nearby_text?: string | undefined;
2674
+ input_type?: string | undefined;
2675
+ form_selector?: string | undefined;
2676
+ }>>;
2677
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
2678
+ network?: z.objectInputType<{
2679
+ type: z.ZodEnum<["request", "response"]>;
2680
+ timestamp: z.ZodString;
2681
+ url: z.ZodString;
2682
+ method: z.ZodOptional<z.ZodString>;
2683
+ resource_type: z.ZodOptional<z.ZodString>;
2684
+ status: z.ZodOptional<z.ZodNumber>;
2685
+ content_type: z.ZodOptional<z.ZodString>;
2686
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
2687
+ navigations?: z.objectInputType<{
2688
+ timestamp: z.ZodString;
2689
+ url: z.ZodString;
2690
+ frame_url: z.ZodOptional<z.ZodString>;
2691
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
2692
+ }>>>;
2693
+ captcha: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auto", "manual", "off", "fail"]>>>;
2694
+ browser: z.ZodOptional<z.ZodDefault<z.ZodEnum<["auto", "headed", "headless"]>>>;
2695
+ evidence: z.ZodOptional<z.ZodDefault<z.ZodObject<{
2696
+ screenshots: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2697
+ html: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2698
+ markdown: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2699
+ network_log: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2700
+ action_log: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
2701
+ }, "strip", z.ZodTypeAny, {
2702
+ html?: boolean | undefined;
2703
+ markdown?: boolean | undefined;
2704
+ screenshots?: boolean | undefined;
2705
+ network_log?: boolean | undefined;
2706
+ action_log?: boolean | undefined;
2707
+ }, {
2708
+ html?: boolean | undefined;
2709
+ markdown?: boolean | undefined;
2710
+ screenshots?: boolean | undefined;
2711
+ network_log?: boolean | undefined;
2712
+ action_log?: boolean | undefined;
2713
+ }>>>;
2714
+ session_id: z.ZodOptional<z.ZodString>;
2715
+ allowed_domains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2716
+ timeout: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
2717
+ proxy: z.ZodOptional<z.ZodString>;
2718
+ chrome_profile: z.ZodOptional<z.ZodString>;
2719
+ }, "strict", z.ZodTypeAny, {
2720
+ url: string;
2721
+ created_at: string;
2722
+ schema_version: 1;
2723
+ family: string;
2724
+ variant: string;
2725
+ inputs: Record<string, {
2726
+ default?: string | undefined;
2727
+ description?: string | undefined;
2728
+ required?: boolean | undefined;
2729
+ secret?: boolean | undefined;
2730
+ }>;
2731
+ steps: z.objectOutputType<{
2732
+ id: z.ZodOptional<z.ZodString>;
2733
+ type: z.ZodString;
2734
+ selector: z.ZodOptional<z.ZodString>;
2735
+ ref: z.ZodOptional<z.ZodString>;
2736
+ target: z.ZodOptional<z.ZodObject<{
2737
+ tag: z.ZodOptional<z.ZodString>;
2738
+ role: z.ZodOptional<z.ZodString>;
2739
+ name: z.ZodOptional<z.ZodString>;
2740
+ text: z.ZodOptional<z.ZodString>;
2741
+ label: z.ZodOptional<z.ZodString>;
2742
+ selector: z.ZodOptional<z.ZodString>;
2743
+ xpath: z.ZodOptional<z.ZodString>;
2744
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2745
+ nearby_text: z.ZodOptional<z.ZodString>;
2746
+ href: z.ZodOptional<z.ZodString>;
2747
+ input_type: z.ZodOptional<z.ZodString>;
2748
+ form_selector: z.ZodOptional<z.ZodString>;
2749
+ x: z.ZodOptional<z.ZodNumber>;
2750
+ y: z.ZodOptional<z.ZodNumber>;
2751
+ viewport: z.ZodOptional<z.ZodObject<{
2752
+ width: z.ZodNumber;
2753
+ height: z.ZodNumber;
2754
+ }, "strip", z.ZodTypeAny, {
2755
+ width: number;
2756
+ height: number;
2757
+ }, {
2758
+ width: number;
2759
+ height: number;
2760
+ }>>;
2761
+ }, "strict", z.ZodTypeAny, {
2762
+ name?: string | undefined;
2763
+ attributes?: Record<string, string> | undefined;
2764
+ role?: string | undefined;
2765
+ text?: string | undefined;
2766
+ selector?: string | undefined;
2767
+ label?: string | undefined;
2768
+ x?: number | undefined;
2769
+ y?: number | undefined;
2770
+ viewport?: {
2771
+ width: number;
2772
+ height: number;
2773
+ } | undefined;
2774
+ href?: string | undefined;
2775
+ tag?: string | undefined;
2776
+ xpath?: string | undefined;
2777
+ nearby_text?: string | undefined;
2778
+ input_type?: string | undefined;
2779
+ form_selector?: string | undefined;
2780
+ }, {
2781
+ name?: string | undefined;
2782
+ attributes?: Record<string, string> | undefined;
2783
+ role?: string | undefined;
2784
+ text?: string | undefined;
2785
+ selector?: string | undefined;
2786
+ label?: string | undefined;
2787
+ x?: number | undefined;
2788
+ y?: number | undefined;
2789
+ viewport?: {
2790
+ width: number;
2791
+ height: number;
2792
+ } | undefined;
2793
+ href?: string | undefined;
2794
+ tag?: string | undefined;
2795
+ xpath?: string | undefined;
2796
+ nearby_text?: string | undefined;
2797
+ input_type?: string | undefined;
2798
+ form_selector?: string | undefined;
2799
+ }>>;
2800
+ text: z.ZodOptional<z.ZodString>;
2801
+ value: z.ZodOptional<z.ZodString>;
2802
+ script: z.ZodOptional<z.ZodString>;
2803
+ key: z.ZodOptional<z.ZodString>;
2804
+ url: z.ZodOptional<z.ZodString>;
2805
+ duration: z.ZodOptional<z.ZodNumber>;
2806
+ x: z.ZodOptional<z.ZodNumber>;
2807
+ y: z.ZodOptional<z.ZodNumber>;
2808
+ target_selector: z.ZodOptional<z.ZodString>;
2809
+ target_ref: z.ZodOptional<z.ZodString>;
2810
+ file_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2811
+ storage: z.ZodOptional<z.ZodEnum<["local", "session"]>>;
2812
+ auth_profile: z.ZodOptional<z.ZodString>;
2813
+ next_selector: z.ZodOptional<z.ZodString>;
2814
+ next_ref: z.ZodOptional<z.ZodString>;
2815
+ extract_script: z.ZodOptional<z.ZodString>;
2816
+ max_pages: z.ZodOptional<z.ZodNumber>;
2817
+ wait_after_click: z.ZodOptional<z.ZodNumber>;
2818
+ output: z.ZodOptional<z.ZodString>;
2819
+ output_from: z.ZodOptional<z.ZodEnum<["result", "page_text", "page_html", "url"]>>;
2820
+ }, z.ZodTypeAny, "passthrough">[];
2821
+ name?: string | undefined;
2822
+ timeout?: number | undefined;
2823
+ proxy?: string | undefined;
2824
+ description?: string | undefined;
2825
+ captcha?: "auto" | "off" | "manual" | "fail" | undefined;
2826
+ chrome_profile?: string | undefined;
2827
+ session_id?: string | undefined;
2828
+ allowed_domains?: string[] | undefined;
2829
+ updated_at?: string | undefined;
2830
+ outputs?: Record<string, string> | undefined;
2831
+ recording?: {
2832
+ started_at: string;
2833
+ start_url: string;
2834
+ events: z.objectOutputType<{
2835
+ type: z.ZodString;
2836
+ timestamp: z.ZodString;
2837
+ page_url: z.ZodOptional<z.ZodString>;
2838
+ title: z.ZodOptional<z.ZodString>;
2839
+ target: z.ZodOptional<z.ZodObject<{
2840
+ tag: z.ZodOptional<z.ZodString>;
2841
+ role: z.ZodOptional<z.ZodString>;
2842
+ name: z.ZodOptional<z.ZodString>;
2843
+ text: z.ZodOptional<z.ZodString>;
2844
+ label: z.ZodOptional<z.ZodString>;
2845
+ selector: z.ZodOptional<z.ZodString>;
2846
+ xpath: z.ZodOptional<z.ZodString>;
2847
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2848
+ nearby_text: z.ZodOptional<z.ZodString>;
2849
+ href: z.ZodOptional<z.ZodString>;
2850
+ input_type: z.ZodOptional<z.ZodString>;
2851
+ form_selector: z.ZodOptional<z.ZodString>;
2852
+ x: z.ZodOptional<z.ZodNumber>;
2853
+ y: z.ZodOptional<z.ZodNumber>;
2854
+ viewport: z.ZodOptional<z.ZodObject<{
2855
+ width: z.ZodNumber;
2856
+ height: z.ZodNumber;
2857
+ }, "strip", z.ZodTypeAny, {
2858
+ width: number;
2859
+ height: number;
2860
+ }, {
2861
+ width: number;
2862
+ height: number;
2863
+ }>>;
2864
+ }, "strict", z.ZodTypeAny, {
2865
+ name?: string | undefined;
2866
+ attributes?: Record<string, string> | undefined;
2867
+ role?: string | undefined;
2868
+ text?: string | undefined;
2869
+ selector?: string | undefined;
2870
+ label?: string | undefined;
2871
+ x?: number | undefined;
2872
+ y?: number | undefined;
2873
+ viewport?: {
2874
+ width: number;
2875
+ height: number;
2876
+ } | undefined;
2877
+ href?: string | undefined;
2878
+ tag?: string | undefined;
2879
+ xpath?: string | undefined;
2880
+ nearby_text?: string | undefined;
2881
+ input_type?: string | undefined;
2882
+ form_selector?: string | undefined;
2883
+ }, {
2884
+ name?: string | undefined;
2885
+ attributes?: Record<string, string> | undefined;
2886
+ role?: string | undefined;
2887
+ text?: string | undefined;
2888
+ selector?: string | undefined;
2889
+ label?: string | undefined;
2890
+ x?: number | undefined;
2891
+ y?: number | undefined;
2892
+ viewport?: {
2893
+ width: number;
2894
+ height: number;
2895
+ } | undefined;
2896
+ href?: string | undefined;
2897
+ tag?: string | undefined;
2898
+ xpath?: string | undefined;
2899
+ nearby_text?: string | undefined;
2900
+ input_type?: string | undefined;
2901
+ form_selector?: string | undefined;
2902
+ }>>;
2903
+ value: z.ZodOptional<z.ZodString>;
2904
+ checked: z.ZodOptional<z.ZodBoolean>;
2905
+ selected_text: z.ZodOptional<z.ZodString>;
2906
+ key: z.ZodOptional<z.ZodString>;
2907
+ submitter: z.ZodOptional<z.ZodObject<{
2908
+ tag: z.ZodOptional<z.ZodString>;
2909
+ role: z.ZodOptional<z.ZodString>;
2910
+ name: z.ZodOptional<z.ZodString>;
2911
+ text: z.ZodOptional<z.ZodString>;
2912
+ label: z.ZodOptional<z.ZodString>;
2913
+ selector: z.ZodOptional<z.ZodString>;
2914
+ xpath: z.ZodOptional<z.ZodString>;
2915
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2916
+ nearby_text: z.ZodOptional<z.ZodString>;
2917
+ href: z.ZodOptional<z.ZodString>;
2918
+ input_type: z.ZodOptional<z.ZodString>;
2919
+ form_selector: z.ZodOptional<z.ZodString>;
2920
+ x: z.ZodOptional<z.ZodNumber>;
2921
+ y: z.ZodOptional<z.ZodNumber>;
2922
+ viewport: z.ZodOptional<z.ZodObject<{
2923
+ width: z.ZodNumber;
2924
+ height: z.ZodNumber;
2925
+ }, "strip", z.ZodTypeAny, {
2926
+ width: number;
2927
+ height: number;
2928
+ }, {
2929
+ width: number;
2930
+ height: number;
2931
+ }>>;
2932
+ }, "strict", z.ZodTypeAny, {
2933
+ name?: string | undefined;
2934
+ attributes?: Record<string, string> | undefined;
2935
+ role?: string | undefined;
2936
+ text?: string | undefined;
2937
+ selector?: string | undefined;
2938
+ label?: string | undefined;
2939
+ x?: number | undefined;
2940
+ y?: number | undefined;
2941
+ viewport?: {
2942
+ width: number;
2943
+ height: number;
2944
+ } | undefined;
2945
+ href?: string | undefined;
2946
+ tag?: string | undefined;
2947
+ xpath?: string | undefined;
2948
+ nearby_text?: string | undefined;
2949
+ input_type?: string | undefined;
2950
+ form_selector?: string | undefined;
2951
+ }, {
2952
+ name?: string | undefined;
2953
+ attributes?: Record<string, string> | undefined;
2954
+ role?: string | undefined;
2955
+ text?: string | undefined;
2956
+ selector?: string | undefined;
2957
+ label?: string | undefined;
2958
+ x?: number | undefined;
2959
+ y?: number | undefined;
2960
+ viewport?: {
2961
+ width: number;
2962
+ height: number;
2963
+ } | undefined;
2964
+ href?: string | undefined;
2965
+ tag?: string | undefined;
2966
+ xpath?: string | undefined;
2967
+ nearby_text?: string | undefined;
2968
+ input_type?: string | undefined;
2969
+ form_selector?: string | undefined;
2970
+ }>>;
2971
+ }, z.ZodTypeAny, "passthrough">[];
2972
+ network: z.objectOutputType<{
2973
+ type: z.ZodEnum<["request", "response"]>;
2974
+ timestamp: z.ZodString;
2975
+ url: z.ZodString;
2976
+ method: z.ZodOptional<z.ZodString>;
2977
+ resource_type: z.ZodOptional<z.ZodString>;
2978
+ status: z.ZodOptional<z.ZodNumber>;
2979
+ content_type: z.ZodOptional<z.ZodString>;
2980
+ }, z.ZodTypeAny, "passthrough">[];
2981
+ navigations: z.objectOutputType<{
2982
+ timestamp: z.ZodString;
2983
+ url: z.ZodString;
2984
+ frame_url: z.ZodOptional<z.ZodString>;
2985
+ }, z.ZodTypeAny, "passthrough">[];
2986
+ viewport?: {
2987
+ width: number;
2988
+ height: number;
2989
+ } | undefined;
2990
+ stopped_at?: string | undefined;
2991
+ user_agent?: string | undefined;
2992
+ } | undefined;
2993
+ browser?: "auto" | "headless" | "headed" | undefined;
2994
+ evidence?: {
2995
+ html?: boolean | undefined;
2996
+ markdown?: boolean | undefined;
2997
+ screenshots?: boolean | undefined;
2998
+ network_log?: boolean | undefined;
2999
+ action_log?: boolean | undefined;
3000
+ } | undefined;
3001
+ }, {
3002
+ url: string;
3003
+ created_at: string;
3004
+ schema_version: 1;
3005
+ family: string;
3006
+ variant: string;
3007
+ name?: string | undefined;
3008
+ timeout?: number | undefined;
3009
+ proxy?: string | undefined;
3010
+ description?: string | undefined;
3011
+ captcha?: "auto" | "off" | "manual" | "fail" | undefined;
3012
+ chrome_profile?: string | undefined;
3013
+ session_id?: string | undefined;
3014
+ allowed_domains?: string[] | undefined;
3015
+ updated_at?: string | undefined;
3016
+ inputs?: Record<string, {
3017
+ default?: string | undefined;
3018
+ description?: string | undefined;
3019
+ required?: boolean | undefined;
3020
+ secret?: boolean | undefined;
3021
+ }> | undefined;
3022
+ outputs?: Record<string, string> | undefined;
3023
+ steps?: z.objectInputType<{
3024
+ id: z.ZodOptional<z.ZodString>;
3025
+ type: z.ZodString;
3026
+ selector: z.ZodOptional<z.ZodString>;
3027
+ ref: z.ZodOptional<z.ZodString>;
3028
+ target: z.ZodOptional<z.ZodObject<{
3029
+ tag: z.ZodOptional<z.ZodString>;
3030
+ role: z.ZodOptional<z.ZodString>;
3031
+ name: z.ZodOptional<z.ZodString>;
3032
+ text: z.ZodOptional<z.ZodString>;
3033
+ label: z.ZodOptional<z.ZodString>;
3034
+ selector: z.ZodOptional<z.ZodString>;
3035
+ xpath: z.ZodOptional<z.ZodString>;
3036
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3037
+ nearby_text: z.ZodOptional<z.ZodString>;
3038
+ href: z.ZodOptional<z.ZodString>;
3039
+ input_type: z.ZodOptional<z.ZodString>;
3040
+ form_selector: z.ZodOptional<z.ZodString>;
3041
+ x: z.ZodOptional<z.ZodNumber>;
3042
+ y: z.ZodOptional<z.ZodNumber>;
3043
+ viewport: z.ZodOptional<z.ZodObject<{
3044
+ width: z.ZodNumber;
3045
+ height: z.ZodNumber;
3046
+ }, "strip", z.ZodTypeAny, {
3047
+ width: number;
3048
+ height: number;
3049
+ }, {
3050
+ width: number;
3051
+ height: number;
3052
+ }>>;
3053
+ }, "strict", z.ZodTypeAny, {
3054
+ name?: string | undefined;
3055
+ attributes?: Record<string, string> | undefined;
3056
+ role?: string | undefined;
3057
+ text?: string | undefined;
3058
+ selector?: string | undefined;
3059
+ label?: string | undefined;
3060
+ x?: number | undefined;
3061
+ y?: number | undefined;
3062
+ viewport?: {
3063
+ width: number;
3064
+ height: number;
3065
+ } | undefined;
3066
+ href?: string | undefined;
3067
+ tag?: string | undefined;
3068
+ xpath?: string | undefined;
3069
+ nearby_text?: string | undefined;
3070
+ input_type?: string | undefined;
3071
+ form_selector?: string | undefined;
3072
+ }, {
3073
+ name?: string | undefined;
3074
+ attributes?: Record<string, string> | undefined;
3075
+ role?: string | undefined;
3076
+ text?: string | undefined;
3077
+ selector?: string | undefined;
3078
+ label?: string | undefined;
3079
+ x?: number | undefined;
3080
+ y?: number | undefined;
3081
+ viewport?: {
3082
+ width: number;
3083
+ height: number;
3084
+ } | undefined;
3085
+ href?: string | undefined;
3086
+ tag?: string | undefined;
3087
+ xpath?: string | undefined;
3088
+ nearby_text?: string | undefined;
3089
+ input_type?: string | undefined;
3090
+ form_selector?: string | undefined;
3091
+ }>>;
3092
+ text: z.ZodOptional<z.ZodString>;
3093
+ value: z.ZodOptional<z.ZodString>;
3094
+ script: z.ZodOptional<z.ZodString>;
3095
+ key: z.ZodOptional<z.ZodString>;
3096
+ url: z.ZodOptional<z.ZodString>;
3097
+ duration: z.ZodOptional<z.ZodNumber>;
3098
+ x: z.ZodOptional<z.ZodNumber>;
3099
+ y: z.ZodOptional<z.ZodNumber>;
3100
+ target_selector: z.ZodOptional<z.ZodString>;
3101
+ target_ref: z.ZodOptional<z.ZodString>;
3102
+ file_paths: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3103
+ storage: z.ZodOptional<z.ZodEnum<["local", "session"]>>;
3104
+ auth_profile: z.ZodOptional<z.ZodString>;
3105
+ next_selector: z.ZodOptional<z.ZodString>;
3106
+ next_ref: z.ZodOptional<z.ZodString>;
3107
+ extract_script: z.ZodOptional<z.ZodString>;
3108
+ max_pages: z.ZodOptional<z.ZodNumber>;
3109
+ wait_after_click: z.ZodOptional<z.ZodNumber>;
3110
+ output: z.ZodOptional<z.ZodString>;
3111
+ output_from: z.ZodOptional<z.ZodEnum<["result", "page_text", "page_html", "url"]>>;
3112
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
3113
+ recording?: {
3114
+ started_at: string;
3115
+ start_url: string;
3116
+ viewport?: {
3117
+ width: number;
3118
+ height: number;
3119
+ } | undefined;
3120
+ stopped_at?: string | undefined;
3121
+ user_agent?: string | undefined;
3122
+ events?: z.objectInputType<{
3123
+ type: z.ZodString;
3124
+ timestamp: z.ZodString;
3125
+ page_url: z.ZodOptional<z.ZodString>;
3126
+ title: z.ZodOptional<z.ZodString>;
3127
+ target: z.ZodOptional<z.ZodObject<{
3128
+ tag: z.ZodOptional<z.ZodString>;
3129
+ role: z.ZodOptional<z.ZodString>;
3130
+ name: z.ZodOptional<z.ZodString>;
3131
+ text: z.ZodOptional<z.ZodString>;
3132
+ label: z.ZodOptional<z.ZodString>;
3133
+ selector: z.ZodOptional<z.ZodString>;
3134
+ xpath: z.ZodOptional<z.ZodString>;
3135
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3136
+ nearby_text: z.ZodOptional<z.ZodString>;
3137
+ href: z.ZodOptional<z.ZodString>;
3138
+ input_type: z.ZodOptional<z.ZodString>;
3139
+ form_selector: z.ZodOptional<z.ZodString>;
3140
+ x: z.ZodOptional<z.ZodNumber>;
3141
+ y: z.ZodOptional<z.ZodNumber>;
3142
+ viewport: z.ZodOptional<z.ZodObject<{
3143
+ width: z.ZodNumber;
3144
+ height: z.ZodNumber;
3145
+ }, "strip", z.ZodTypeAny, {
3146
+ width: number;
3147
+ height: number;
3148
+ }, {
3149
+ width: number;
3150
+ height: number;
3151
+ }>>;
3152
+ }, "strict", z.ZodTypeAny, {
3153
+ name?: string | undefined;
3154
+ attributes?: Record<string, string> | undefined;
3155
+ role?: string | undefined;
3156
+ text?: string | undefined;
3157
+ selector?: string | undefined;
3158
+ label?: string | undefined;
3159
+ x?: number | undefined;
3160
+ y?: number | undefined;
3161
+ viewport?: {
3162
+ width: number;
3163
+ height: number;
3164
+ } | undefined;
3165
+ href?: string | undefined;
3166
+ tag?: string | undefined;
3167
+ xpath?: string | undefined;
3168
+ nearby_text?: string | undefined;
3169
+ input_type?: string | undefined;
3170
+ form_selector?: string | undefined;
3171
+ }, {
3172
+ name?: string | undefined;
3173
+ attributes?: Record<string, string> | undefined;
3174
+ role?: string | undefined;
3175
+ text?: string | undefined;
3176
+ selector?: string | undefined;
3177
+ label?: string | undefined;
3178
+ x?: number | undefined;
3179
+ y?: number | undefined;
3180
+ viewport?: {
3181
+ width: number;
3182
+ height: number;
3183
+ } | undefined;
3184
+ href?: string | undefined;
3185
+ tag?: string | undefined;
3186
+ xpath?: string | undefined;
3187
+ nearby_text?: string | undefined;
3188
+ input_type?: string | undefined;
3189
+ form_selector?: string | undefined;
3190
+ }>>;
3191
+ value: z.ZodOptional<z.ZodString>;
3192
+ checked: z.ZodOptional<z.ZodBoolean>;
3193
+ selected_text: z.ZodOptional<z.ZodString>;
3194
+ key: z.ZodOptional<z.ZodString>;
3195
+ submitter: z.ZodOptional<z.ZodObject<{
3196
+ tag: z.ZodOptional<z.ZodString>;
3197
+ role: z.ZodOptional<z.ZodString>;
3198
+ name: z.ZodOptional<z.ZodString>;
3199
+ text: z.ZodOptional<z.ZodString>;
3200
+ label: z.ZodOptional<z.ZodString>;
3201
+ selector: z.ZodOptional<z.ZodString>;
3202
+ xpath: z.ZodOptional<z.ZodString>;
3203
+ attributes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3204
+ nearby_text: z.ZodOptional<z.ZodString>;
3205
+ href: z.ZodOptional<z.ZodString>;
3206
+ input_type: z.ZodOptional<z.ZodString>;
3207
+ form_selector: z.ZodOptional<z.ZodString>;
3208
+ x: z.ZodOptional<z.ZodNumber>;
3209
+ y: z.ZodOptional<z.ZodNumber>;
3210
+ viewport: z.ZodOptional<z.ZodObject<{
3211
+ width: z.ZodNumber;
3212
+ height: z.ZodNumber;
3213
+ }, "strip", z.ZodTypeAny, {
3214
+ width: number;
3215
+ height: number;
3216
+ }, {
3217
+ width: number;
3218
+ height: number;
3219
+ }>>;
3220
+ }, "strict", z.ZodTypeAny, {
3221
+ name?: string | undefined;
3222
+ attributes?: Record<string, string> | undefined;
3223
+ role?: string | undefined;
3224
+ text?: string | undefined;
3225
+ selector?: string | undefined;
3226
+ label?: string | undefined;
3227
+ x?: number | undefined;
3228
+ y?: number | undefined;
3229
+ viewport?: {
3230
+ width: number;
3231
+ height: number;
3232
+ } | undefined;
3233
+ href?: string | undefined;
3234
+ tag?: string | undefined;
3235
+ xpath?: string | undefined;
3236
+ nearby_text?: string | undefined;
3237
+ input_type?: string | undefined;
3238
+ form_selector?: string | undefined;
3239
+ }, {
3240
+ name?: string | undefined;
3241
+ attributes?: Record<string, string> | undefined;
3242
+ role?: string | undefined;
3243
+ text?: string | undefined;
3244
+ selector?: string | undefined;
3245
+ label?: string | undefined;
3246
+ x?: number | undefined;
3247
+ y?: number | undefined;
3248
+ viewport?: {
3249
+ width: number;
3250
+ height: number;
3251
+ } | undefined;
3252
+ href?: string | undefined;
3253
+ tag?: string | undefined;
3254
+ xpath?: string | undefined;
3255
+ nearby_text?: string | undefined;
3256
+ input_type?: string | undefined;
3257
+ form_selector?: string | undefined;
3258
+ }>>;
3259
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
3260
+ network?: z.objectInputType<{
3261
+ type: z.ZodEnum<["request", "response"]>;
3262
+ timestamp: z.ZodString;
3263
+ url: z.ZodString;
3264
+ method: z.ZodOptional<z.ZodString>;
3265
+ resource_type: z.ZodOptional<z.ZodString>;
3266
+ status: z.ZodOptional<z.ZodNumber>;
3267
+ content_type: z.ZodOptional<z.ZodString>;
3268
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
3269
+ navigations?: z.objectInputType<{
3270
+ timestamp: z.ZodString;
3271
+ url: z.ZodString;
3272
+ frame_url: z.ZodOptional<z.ZodString>;
3273
+ }, z.ZodTypeAny, "passthrough">[] | undefined;
3274
+ } | undefined;
3275
+ browser?: "auto" | "headless" | "headed" | undefined;
3276
+ evidence?: {
3277
+ html?: boolean | undefined;
3278
+ markdown?: boolean | undefined;
3279
+ screenshots?: boolean | undefined;
3280
+ network_log?: boolean | undefined;
3281
+ action_log?: boolean | undefined;
3282
+ } | undefined;
3283
+ }>;
3284
+ export type CaptchaPolicy = z.infer<typeof captchaPolicySchema>;
3285
+ export type BrowserMode = z.infer<typeof browserModeSchema>;
3286
+ export type EvidenceMode = z.infer<typeof evidenceModeSchema>;
3287
+ export type FlowInputDefinition = z.infer<typeof flowInputSchema>;
3288
+ export type SmartTarget = z.infer<typeof smartTargetSchema>;
3289
+ export type FlowRecordingEvent = z.infer<typeof flowRecordingEventSchema>;
3290
+ export type FlowNetworkEvent = z.infer<typeof flowNetworkEventSchema>;
3291
+ export type FlowNavigationEvent = z.infer<typeof flowNavigationEventSchema>;
3292
+ export type FlowRecording = z.infer<typeof flowRecordingSchema>;
3293
+ export type FlowStep = z.infer<typeof flowStepSchema>;
3294
+ export type EvidenceConfig = z.infer<typeof evidenceConfigSchema>;
3295
+ export type FlowDefinition = z.infer<typeof flowSchema>;
3296
+ export interface FlowRef {
3297
+ family: string;
3298
+ variant: string;
3299
+ }
3300
+ export interface FlowStorageOptions {
3301
+ flowsDir?: string;
3302
+ global?: boolean;
3303
+ }
3304
+ export interface FlowRunOptions extends FlowStorageOptions {
3305
+ input?: Record<string, string>;
3306
+ browser?: BrowserMode;
3307
+ captcha?: CaptchaPolicy;
3308
+ evidence?: EvidenceMode;
3309
+ outputDir?: string;
3310
+ sessionId?: string;
3311
+ chromeProfile?: string;
3312
+ proxy?: string;
3313
+ timeout?: number;
3314
+ manualCaptchaTimeoutMs?: number;
3315
+ }
3316
+ export interface FlowActionLog {
3317
+ id?: string;
3318
+ type: string;
3319
+ success: boolean;
3320
+ error?: string;
3321
+ result?: unknown;
3322
+ target_strategy?: string;
3323
+ duration_ms: number;
3324
+ }
3325
+ export interface FlowCaptchaEvent {
3326
+ detected: boolean;
3327
+ policy: CaptchaPolicy;
3328
+ action: "none" | "solved" | "manual" | "failed" | "off";
3329
+ captcha_type?: string;
3330
+ solve_time_ms?: number;
3331
+ error?: string;
3332
+ }
3333
+ export interface FlowEvidence {
3334
+ run_dir?: string;
3335
+ screenshots?: string[];
3336
+ html?: string;
3337
+ markdown?: string;
3338
+ network_log?: unknown[];
3339
+ action_log?: FlowActionLog[];
3340
+ }
3341
+ export interface FlowRunResult {
3342
+ ok: boolean;
3343
+ run_id: string;
3344
+ family: string;
3345
+ variant: string;
3346
+ outputs: Record<string, unknown>;
3347
+ actions: FlowActionLog[];
3348
+ captcha: FlowCaptchaEvent[];
3349
+ evidence: FlowEvidence;
3350
+ duration_ms: number;
3351
+ error?: {
3352
+ code: string;
3353
+ message: string;
3354
+ };
3355
+ }
3356
+ //# sourceMappingURL=types.d.ts.map