@corsair-dev/exa 0.1.0

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 (47) hide show
  1. package/LICENSE +191 -0
  2. package/dist/client.d.ts +10 -0
  3. package/dist/client.d.ts.map +1 -0
  4. package/dist/endpoints/answer.d.ts +3 -0
  5. package/dist/endpoints/answer.d.ts.map +1 -0
  6. package/dist/endpoints/contents.d.ts +3 -0
  7. package/dist/endpoints/contents.d.ts.map +1 -0
  8. package/dist/endpoints/events.d.ts +4 -0
  9. package/dist/endpoints/events.d.ts.map +1 -0
  10. package/dist/endpoints/imports.d.ts +5 -0
  11. package/dist/endpoints/imports.d.ts.map +1 -0
  12. package/dist/endpoints/index.d.ts +360 -0
  13. package/dist/endpoints/index.d.ts.map +1 -0
  14. package/dist/endpoints/monitors.d.ts +3 -0
  15. package/dist/endpoints/monitors.d.ts.map +1 -0
  16. package/dist/endpoints/search.d.ts +4 -0
  17. package/dist/endpoints/search.d.ts.map +1 -0
  18. package/dist/endpoints/types.d.ts +2829 -0
  19. package/dist/endpoints/types.d.ts.map +1 -0
  20. package/dist/endpoints/webhooks-api.d.ts +3 -0
  21. package/dist/endpoints/webhooks-api.d.ts.map +1 -0
  22. package/dist/endpoints/websets.d.ts +5 -0
  23. package/dist/endpoints/websets.d.ts.map +1 -0
  24. package/dist/error-handlers.d.ts +46 -0
  25. package/dist/error-handlers.d.ts.map +1 -0
  26. package/dist/index.d.ts +1659 -0
  27. package/dist/index.d.ts.map +1 -0
  28. package/dist/index.js +1 -0
  29. package/dist/schema/database.d.ts +146 -0
  30. package/dist/schema/database.d.ts.map +1 -0
  31. package/dist/schema/index.d.ts +144 -0
  32. package/dist/schema/index.d.ts.map +1 -0
  33. package/dist/tsup.config.d.ts +3 -0
  34. package/dist/tsup.config.d.ts.map +1 -0
  35. package/dist/webhooks/content-indexed.d.ts +3 -0
  36. package/dist/webhooks/content-indexed.d.ts.map +1 -0
  37. package/dist/webhooks/index.d.ts +162 -0
  38. package/dist/webhooks/index.d.ts.map +1 -0
  39. package/dist/webhooks/search-alert.d.ts +3 -0
  40. package/dist/webhooks/search-alert.d.ts.map +1 -0
  41. package/dist/webhooks/types.d.ts +626 -0
  42. package/dist/webhooks/types.d.ts.map +1 -0
  43. package/dist/webhooks/webset-items-found.d.ts +3 -0
  44. package/dist/webhooks/webset-items-found.d.ts.map +1 -0
  45. package/dist/webhooks/webset-search-completed.d.ts +3 -0
  46. package/dist/webhooks/webset-search-completed.d.ts.map +1 -0
  47. package/package.json +40 -0
@@ -0,0 +1,2829 @@
1
+ import { z } from 'zod';
2
+ declare const SearchResultSchema: z.ZodObject<{
3
+ id: z.ZodString;
4
+ url: z.ZodString;
5
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6
+ publishedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ score: z.ZodOptional<z.ZodNumber>;
9
+ text: z.ZodOptional<z.ZodString>;
10
+ highlights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11
+ highlightScores: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
12
+ summary: z.ZodOptional<z.ZodString>;
13
+ }, "strip", z.ZodTypeAny, {
14
+ id: string;
15
+ url: string;
16
+ text?: string | undefined;
17
+ highlights?: string[] | undefined;
18
+ summary?: string | undefined;
19
+ title?: string | null | undefined;
20
+ publishedDate?: string | null | undefined;
21
+ author?: string | null | undefined;
22
+ score?: number | undefined;
23
+ highlightScores?: number[] | undefined;
24
+ }, {
25
+ id: string;
26
+ url: string;
27
+ text?: string | undefined;
28
+ highlights?: string[] | undefined;
29
+ summary?: string | undefined;
30
+ title?: string | null | undefined;
31
+ publishedDate?: string | null | undefined;
32
+ author?: string | null | undefined;
33
+ score?: number | undefined;
34
+ highlightScores?: number[] | undefined;
35
+ }>;
36
+ declare const WebsetImportSchema: z.ZodObject<{
37
+ id: z.ZodString;
38
+ object: z.ZodLiteral<"import">;
39
+ websetId: z.ZodString;
40
+ urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
41
+ status: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>;
42
+ createdAt: z.ZodString;
43
+ updatedAt: z.ZodOptional<z.ZodString>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ object: "import";
46
+ id: string;
47
+ createdAt: string;
48
+ websetId: string;
49
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
50
+ updatedAt?: string | undefined;
51
+ urls?: string[] | undefined;
52
+ }, {
53
+ object: "import";
54
+ id: string;
55
+ createdAt: string;
56
+ websetId: string;
57
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
58
+ updatedAt?: string | undefined;
59
+ urls?: string[] | undefined;
60
+ }>;
61
+ declare const WebsetMonitorSchema: z.ZodObject<{
62
+ id: z.ZodString;
63
+ object: z.ZodLiteral<"monitor">;
64
+ websetId: z.ZodString;
65
+ cadence: z.ZodObject<{
66
+ type: z.ZodEnum<["realtime", "hourly", "daily", "weekly"]>;
67
+ }, "strip", z.ZodTypeAny, {
68
+ type: "realtime" | "hourly" | "daily" | "weekly";
69
+ }, {
70
+ type: "realtime" | "hourly" | "daily" | "weekly";
71
+ }>;
72
+ createdAt: z.ZodString;
73
+ updatedAt: z.ZodOptional<z.ZodString>;
74
+ }, "strip", z.ZodTypeAny, {
75
+ object: "monitor";
76
+ id: string;
77
+ createdAt: string;
78
+ websetId: string;
79
+ cadence: {
80
+ type: "realtime" | "hourly" | "daily" | "weekly";
81
+ };
82
+ updatedAt?: string | undefined;
83
+ }, {
84
+ object: "monitor";
85
+ id: string;
86
+ createdAt: string;
87
+ websetId: string;
88
+ cadence: {
89
+ type: "realtime" | "hourly" | "daily" | "weekly";
90
+ };
91
+ updatedAt?: string | undefined;
92
+ }>;
93
+ export declare const WebsetSchema: z.ZodObject<{
94
+ id: z.ZodString;
95
+ object: z.ZodLiteral<"webset">;
96
+ status: z.ZodEnum<["idle", "running", "paused", "done"]>;
97
+ externalId: z.ZodOptional<z.ZodString>;
98
+ searches: z.ZodOptional<z.ZodArray<z.ZodObject<{
99
+ query: z.ZodString;
100
+ count: z.ZodOptional<z.ZodNumber>;
101
+ entity: z.ZodOptional<z.ZodObject<{
102
+ type: z.ZodOptional<z.ZodEnum<["company", "person", "article", "research paper", "repository", "event", "product", "video", "job", "podcast"]>>;
103
+ }, "strip", z.ZodTypeAny, {
104
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
105
+ }, {
106
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
107
+ }>>;
108
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
109
+ description: z.ZodString;
110
+ successRate: z.ZodOptional<z.ZodString>;
111
+ }, "strip", z.ZodTypeAny, {
112
+ description: string;
113
+ successRate?: string | undefined;
114
+ }, {
115
+ description: string;
116
+ successRate?: string | undefined;
117
+ }>, "many">>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ query: string;
120
+ count?: number | undefined;
121
+ entity?: {
122
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
123
+ } | undefined;
124
+ criteria?: {
125
+ description: string;
126
+ successRate?: string | undefined;
127
+ }[] | undefined;
128
+ }, {
129
+ query: string;
130
+ count?: number | undefined;
131
+ entity?: {
132
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
133
+ } | undefined;
134
+ criteria?: {
135
+ description: string;
136
+ successRate?: string | undefined;
137
+ }[] | undefined;
138
+ }>, "many">>;
139
+ enrichments: z.ZodOptional<z.ZodArray<z.ZodObject<{
140
+ id: z.ZodString;
141
+ description: z.ZodString;
142
+ format: z.ZodEnum<["text", "date", "number", "options", "boolean"]>;
143
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
144
+ createdAt: z.ZodString;
145
+ updatedAt: z.ZodString;
146
+ }, "strip", z.ZodTypeAny, {
147
+ id: string;
148
+ description: string;
149
+ format: "number" | "boolean" | "date" | "options" | "text";
150
+ createdAt: string;
151
+ updatedAt: string;
152
+ options?: string[] | undefined;
153
+ }, {
154
+ id: string;
155
+ description: string;
156
+ format: "number" | "boolean" | "date" | "options" | "text";
157
+ createdAt: string;
158
+ updatedAt: string;
159
+ options?: string[] | undefined;
160
+ }>, "many">>;
161
+ imports: z.ZodOptional<z.ZodArray<z.ZodObject<{
162
+ id: z.ZodString;
163
+ object: z.ZodLiteral<"import">;
164
+ websetId: z.ZodString;
165
+ urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
166
+ status: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>;
167
+ createdAt: z.ZodString;
168
+ updatedAt: z.ZodOptional<z.ZodString>;
169
+ }, "strip", z.ZodTypeAny, {
170
+ object: "import";
171
+ id: string;
172
+ createdAt: string;
173
+ websetId: string;
174
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
175
+ updatedAt?: string | undefined;
176
+ urls?: string[] | undefined;
177
+ }, {
178
+ object: "import";
179
+ id: string;
180
+ createdAt: string;
181
+ websetId: string;
182
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
183
+ updatedAt?: string | undefined;
184
+ urls?: string[] | undefined;
185
+ }>, "many">>;
186
+ monitors: z.ZodOptional<z.ZodArray<z.ZodObject<{
187
+ id: z.ZodString;
188
+ object: z.ZodLiteral<"monitor">;
189
+ websetId: z.ZodString;
190
+ cadence: z.ZodObject<{
191
+ type: z.ZodEnum<["realtime", "hourly", "daily", "weekly"]>;
192
+ }, "strip", z.ZodTypeAny, {
193
+ type: "realtime" | "hourly" | "daily" | "weekly";
194
+ }, {
195
+ type: "realtime" | "hourly" | "daily" | "weekly";
196
+ }>;
197
+ createdAt: z.ZodString;
198
+ updatedAt: z.ZodOptional<z.ZodString>;
199
+ }, "strip", z.ZodTypeAny, {
200
+ object: "monitor";
201
+ id: string;
202
+ createdAt: string;
203
+ websetId: string;
204
+ cadence: {
205
+ type: "realtime" | "hourly" | "daily" | "weekly";
206
+ };
207
+ updatedAt?: string | undefined;
208
+ }, {
209
+ object: "monitor";
210
+ id: string;
211
+ createdAt: string;
212
+ websetId: string;
213
+ cadence: {
214
+ type: "realtime" | "hourly" | "daily" | "weekly";
215
+ };
216
+ updatedAt?: string | undefined;
217
+ }>, "many">>;
218
+ createdAt: z.ZodString;
219
+ updatedAt: z.ZodString;
220
+ }, "strip", z.ZodTypeAny, {
221
+ object: "webset";
222
+ id: string;
223
+ status: "idle" | "running" | "paused" | "done";
224
+ createdAt: string;
225
+ updatedAt: string;
226
+ externalId?: string | undefined;
227
+ searches?: {
228
+ query: string;
229
+ count?: number | undefined;
230
+ entity?: {
231
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
232
+ } | undefined;
233
+ criteria?: {
234
+ description: string;
235
+ successRate?: string | undefined;
236
+ }[] | undefined;
237
+ }[] | undefined;
238
+ enrichments?: {
239
+ id: string;
240
+ description: string;
241
+ format: "number" | "boolean" | "date" | "options" | "text";
242
+ createdAt: string;
243
+ updatedAt: string;
244
+ options?: string[] | undefined;
245
+ }[] | undefined;
246
+ imports?: {
247
+ object: "import";
248
+ id: string;
249
+ createdAt: string;
250
+ websetId: string;
251
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
252
+ updatedAt?: string | undefined;
253
+ urls?: string[] | undefined;
254
+ }[] | undefined;
255
+ monitors?: {
256
+ object: "monitor";
257
+ id: string;
258
+ createdAt: string;
259
+ websetId: string;
260
+ cadence: {
261
+ type: "realtime" | "hourly" | "daily" | "weekly";
262
+ };
263
+ updatedAt?: string | undefined;
264
+ }[] | undefined;
265
+ }, {
266
+ object: "webset";
267
+ id: string;
268
+ status: "idle" | "running" | "paused" | "done";
269
+ createdAt: string;
270
+ updatedAt: string;
271
+ externalId?: string | undefined;
272
+ searches?: {
273
+ query: string;
274
+ count?: number | undefined;
275
+ entity?: {
276
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
277
+ } | undefined;
278
+ criteria?: {
279
+ description: string;
280
+ successRate?: string | undefined;
281
+ }[] | undefined;
282
+ }[] | undefined;
283
+ enrichments?: {
284
+ id: string;
285
+ description: string;
286
+ format: "number" | "boolean" | "date" | "options" | "text";
287
+ createdAt: string;
288
+ updatedAt: string;
289
+ options?: string[] | undefined;
290
+ }[] | undefined;
291
+ imports?: {
292
+ object: "import";
293
+ id: string;
294
+ createdAt: string;
295
+ websetId: string;
296
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
297
+ updatedAt?: string | undefined;
298
+ urls?: string[] | undefined;
299
+ }[] | undefined;
300
+ monitors?: {
301
+ object: "monitor";
302
+ id: string;
303
+ createdAt: string;
304
+ websetId: string;
305
+ cadence: {
306
+ type: "realtime" | "hourly" | "daily" | "weekly";
307
+ };
308
+ updatedAt?: string | undefined;
309
+ }[] | undefined;
310
+ }>;
311
+ declare const WebsetEventSchema: z.ZodObject<{
312
+ id: z.ZodString;
313
+ object: z.ZodLiteral<"event">;
314
+ type: z.ZodString;
315
+ createdAt: z.ZodString;
316
+ data: z.ZodOptional<z.ZodUnknown>;
317
+ }, "strip", z.ZodTypeAny, {
318
+ object: "event";
319
+ id: string;
320
+ type: string;
321
+ createdAt: string;
322
+ data?: unknown;
323
+ }, {
324
+ object: "event";
325
+ id: string;
326
+ type: string;
327
+ createdAt: string;
328
+ data?: unknown;
329
+ }>;
330
+ declare const WebhookApiSchema: z.ZodObject<{
331
+ id: z.ZodString;
332
+ object: z.ZodLiteral<"webhook">;
333
+ url: z.ZodString;
334
+ events: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
335
+ status: z.ZodOptional<z.ZodEnum<["active", "inactive"]>>;
336
+ createdAt: z.ZodString;
337
+ updatedAt: z.ZodOptional<z.ZodString>;
338
+ }, "strip", z.ZodTypeAny, {
339
+ object: "webhook";
340
+ id: string;
341
+ url: string;
342
+ createdAt: string;
343
+ status?: "active" | "inactive" | undefined;
344
+ updatedAt?: string | undefined;
345
+ events?: string[] | undefined;
346
+ }, {
347
+ object: "webhook";
348
+ id: string;
349
+ url: string;
350
+ createdAt: string;
351
+ status?: "active" | "inactive" | undefined;
352
+ updatedAt?: string | undefined;
353
+ events?: string[] | undefined;
354
+ }>;
355
+ declare const SearchInputSchema: z.ZodObject<{
356
+ query: z.ZodString;
357
+ numResults: z.ZodOptional<z.ZodNumber>;
358
+ includeDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
359
+ excludeDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
360
+ startCrawlDate: z.ZodOptional<z.ZodString>;
361
+ endCrawlDate: z.ZodOptional<z.ZodString>;
362
+ startPublishedDate: z.ZodOptional<z.ZodString>;
363
+ endPublishedDate: z.ZodOptional<z.ZodString>;
364
+ useAutoprompt: z.ZodOptional<z.ZodBoolean>;
365
+ type: z.ZodOptional<z.ZodEnum<["keyword", "neural", "auto"]>>;
366
+ category: z.ZodOptional<z.ZodString>;
367
+ contents: z.ZodOptional<z.ZodObject<{
368
+ text: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
369
+ maxCharacters: z.ZodOptional<z.ZodNumber>;
370
+ includeHtmlTags: z.ZodOptional<z.ZodBoolean>;
371
+ }, "strip", z.ZodTypeAny, {
372
+ maxCharacters?: number | undefined;
373
+ includeHtmlTags?: boolean | undefined;
374
+ }, {
375
+ maxCharacters?: number | undefined;
376
+ includeHtmlTags?: boolean | undefined;
377
+ }>, z.ZodBoolean]>>;
378
+ highlights: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
379
+ numSentences: z.ZodOptional<z.ZodNumber>;
380
+ highlightsPerUrl: z.ZodOptional<z.ZodNumber>;
381
+ query: z.ZodOptional<z.ZodString>;
382
+ }, "strip", z.ZodTypeAny, {
383
+ query?: string | undefined;
384
+ numSentences?: number | undefined;
385
+ highlightsPerUrl?: number | undefined;
386
+ }, {
387
+ query?: string | undefined;
388
+ numSentences?: number | undefined;
389
+ highlightsPerUrl?: number | undefined;
390
+ }>, z.ZodBoolean]>>;
391
+ summary: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
392
+ query: z.ZodOptional<z.ZodString>;
393
+ }, "strip", z.ZodTypeAny, {
394
+ query?: string | undefined;
395
+ }, {
396
+ query?: string | undefined;
397
+ }>, z.ZodBoolean]>>;
398
+ }, "strip", z.ZodTypeAny, {
399
+ text?: boolean | {
400
+ maxCharacters?: number | undefined;
401
+ includeHtmlTags?: boolean | undefined;
402
+ } | undefined;
403
+ highlights?: boolean | {
404
+ query?: string | undefined;
405
+ numSentences?: number | undefined;
406
+ highlightsPerUrl?: number | undefined;
407
+ } | undefined;
408
+ summary?: boolean | {
409
+ query?: string | undefined;
410
+ } | undefined;
411
+ }, {
412
+ text?: boolean | {
413
+ maxCharacters?: number | undefined;
414
+ includeHtmlTags?: boolean | undefined;
415
+ } | undefined;
416
+ highlights?: boolean | {
417
+ query?: string | undefined;
418
+ numSentences?: number | undefined;
419
+ highlightsPerUrl?: number | undefined;
420
+ } | undefined;
421
+ summary?: boolean | {
422
+ query?: string | undefined;
423
+ } | undefined;
424
+ }>>;
425
+ }, "strip", z.ZodTypeAny, {
426
+ query: string;
427
+ type?: "keyword" | "neural" | "auto" | undefined;
428
+ numResults?: number | undefined;
429
+ includeDomains?: string[] | undefined;
430
+ excludeDomains?: string[] | undefined;
431
+ startCrawlDate?: string | undefined;
432
+ endCrawlDate?: string | undefined;
433
+ startPublishedDate?: string | undefined;
434
+ endPublishedDate?: string | undefined;
435
+ useAutoprompt?: boolean | undefined;
436
+ category?: string | undefined;
437
+ contents?: {
438
+ text?: boolean | {
439
+ maxCharacters?: number | undefined;
440
+ includeHtmlTags?: boolean | undefined;
441
+ } | undefined;
442
+ highlights?: boolean | {
443
+ query?: string | undefined;
444
+ numSentences?: number | undefined;
445
+ highlightsPerUrl?: number | undefined;
446
+ } | undefined;
447
+ summary?: boolean | {
448
+ query?: string | undefined;
449
+ } | undefined;
450
+ } | undefined;
451
+ }, {
452
+ query: string;
453
+ type?: "keyword" | "neural" | "auto" | undefined;
454
+ numResults?: number | undefined;
455
+ includeDomains?: string[] | undefined;
456
+ excludeDomains?: string[] | undefined;
457
+ startCrawlDate?: string | undefined;
458
+ endCrawlDate?: string | undefined;
459
+ startPublishedDate?: string | undefined;
460
+ endPublishedDate?: string | undefined;
461
+ useAutoprompt?: boolean | undefined;
462
+ category?: string | undefined;
463
+ contents?: {
464
+ text?: boolean | {
465
+ maxCharacters?: number | undefined;
466
+ includeHtmlTags?: boolean | undefined;
467
+ } | undefined;
468
+ highlights?: boolean | {
469
+ query?: string | undefined;
470
+ numSentences?: number | undefined;
471
+ highlightsPerUrl?: number | undefined;
472
+ } | undefined;
473
+ summary?: boolean | {
474
+ query?: string | undefined;
475
+ } | undefined;
476
+ } | undefined;
477
+ }>;
478
+ declare const FindSimilarInputSchema: z.ZodObject<{
479
+ url: z.ZodString;
480
+ numResults: z.ZodOptional<z.ZodNumber>;
481
+ includeDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
482
+ excludeDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
483
+ startCrawlDate: z.ZodOptional<z.ZodString>;
484
+ endCrawlDate: z.ZodOptional<z.ZodString>;
485
+ startPublishedDate: z.ZodOptional<z.ZodString>;
486
+ endPublishedDate: z.ZodOptional<z.ZodString>;
487
+ excludeSourceDomain: z.ZodOptional<z.ZodBoolean>;
488
+ category: z.ZodOptional<z.ZodString>;
489
+ contents: z.ZodOptional<z.ZodObject<{
490
+ text: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
491
+ maxCharacters: z.ZodOptional<z.ZodNumber>;
492
+ includeHtmlTags: z.ZodOptional<z.ZodBoolean>;
493
+ }, "strip", z.ZodTypeAny, {
494
+ maxCharacters?: number | undefined;
495
+ includeHtmlTags?: boolean | undefined;
496
+ }, {
497
+ maxCharacters?: number | undefined;
498
+ includeHtmlTags?: boolean | undefined;
499
+ }>, z.ZodBoolean]>>;
500
+ highlights: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
501
+ numSentences: z.ZodOptional<z.ZodNumber>;
502
+ highlightsPerUrl: z.ZodOptional<z.ZodNumber>;
503
+ query: z.ZodOptional<z.ZodString>;
504
+ }, "strip", z.ZodTypeAny, {
505
+ query?: string | undefined;
506
+ numSentences?: number | undefined;
507
+ highlightsPerUrl?: number | undefined;
508
+ }, {
509
+ query?: string | undefined;
510
+ numSentences?: number | undefined;
511
+ highlightsPerUrl?: number | undefined;
512
+ }>, z.ZodBoolean]>>;
513
+ summary: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
514
+ query: z.ZodOptional<z.ZodString>;
515
+ }, "strip", z.ZodTypeAny, {
516
+ query?: string | undefined;
517
+ }, {
518
+ query?: string | undefined;
519
+ }>, z.ZodBoolean]>>;
520
+ }, "strip", z.ZodTypeAny, {
521
+ text?: boolean | {
522
+ maxCharacters?: number | undefined;
523
+ includeHtmlTags?: boolean | undefined;
524
+ } | undefined;
525
+ highlights?: boolean | {
526
+ query?: string | undefined;
527
+ numSentences?: number | undefined;
528
+ highlightsPerUrl?: number | undefined;
529
+ } | undefined;
530
+ summary?: boolean | {
531
+ query?: string | undefined;
532
+ } | undefined;
533
+ }, {
534
+ text?: boolean | {
535
+ maxCharacters?: number | undefined;
536
+ includeHtmlTags?: boolean | undefined;
537
+ } | undefined;
538
+ highlights?: boolean | {
539
+ query?: string | undefined;
540
+ numSentences?: number | undefined;
541
+ highlightsPerUrl?: number | undefined;
542
+ } | undefined;
543
+ summary?: boolean | {
544
+ query?: string | undefined;
545
+ } | undefined;
546
+ }>>;
547
+ }, "strip", z.ZodTypeAny, {
548
+ url: string;
549
+ numResults?: number | undefined;
550
+ includeDomains?: string[] | undefined;
551
+ excludeDomains?: string[] | undefined;
552
+ startCrawlDate?: string | undefined;
553
+ endCrawlDate?: string | undefined;
554
+ startPublishedDate?: string | undefined;
555
+ endPublishedDate?: string | undefined;
556
+ category?: string | undefined;
557
+ contents?: {
558
+ text?: boolean | {
559
+ maxCharacters?: number | undefined;
560
+ includeHtmlTags?: boolean | undefined;
561
+ } | undefined;
562
+ highlights?: boolean | {
563
+ query?: string | undefined;
564
+ numSentences?: number | undefined;
565
+ highlightsPerUrl?: number | undefined;
566
+ } | undefined;
567
+ summary?: boolean | {
568
+ query?: string | undefined;
569
+ } | undefined;
570
+ } | undefined;
571
+ excludeSourceDomain?: boolean | undefined;
572
+ }, {
573
+ url: string;
574
+ numResults?: number | undefined;
575
+ includeDomains?: string[] | undefined;
576
+ excludeDomains?: string[] | undefined;
577
+ startCrawlDate?: string | undefined;
578
+ endCrawlDate?: string | undefined;
579
+ startPublishedDate?: string | undefined;
580
+ endPublishedDate?: string | undefined;
581
+ category?: string | undefined;
582
+ contents?: {
583
+ text?: boolean | {
584
+ maxCharacters?: number | undefined;
585
+ includeHtmlTags?: boolean | undefined;
586
+ } | undefined;
587
+ highlights?: boolean | {
588
+ query?: string | undefined;
589
+ numSentences?: number | undefined;
590
+ highlightsPerUrl?: number | undefined;
591
+ } | undefined;
592
+ summary?: boolean | {
593
+ query?: string | undefined;
594
+ } | undefined;
595
+ } | undefined;
596
+ excludeSourceDomain?: boolean | undefined;
597
+ }>;
598
+ declare const GetContentsInputSchema: z.ZodObject<{
599
+ ids: z.ZodArray<z.ZodString, "many">;
600
+ text: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
601
+ maxCharacters: z.ZodOptional<z.ZodNumber>;
602
+ includeHtmlTags: z.ZodOptional<z.ZodBoolean>;
603
+ }, "strip", z.ZodTypeAny, {
604
+ maxCharacters?: number | undefined;
605
+ includeHtmlTags?: boolean | undefined;
606
+ }, {
607
+ maxCharacters?: number | undefined;
608
+ includeHtmlTags?: boolean | undefined;
609
+ }>, z.ZodBoolean]>>;
610
+ highlights: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
611
+ numSentences: z.ZodOptional<z.ZodNumber>;
612
+ highlightsPerUrl: z.ZodOptional<z.ZodNumber>;
613
+ query: z.ZodOptional<z.ZodString>;
614
+ }, "strip", z.ZodTypeAny, {
615
+ query?: string | undefined;
616
+ numSentences?: number | undefined;
617
+ highlightsPerUrl?: number | undefined;
618
+ }, {
619
+ query?: string | undefined;
620
+ numSentences?: number | undefined;
621
+ highlightsPerUrl?: number | undefined;
622
+ }>, z.ZodBoolean]>>;
623
+ summary: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
624
+ query: z.ZodOptional<z.ZodString>;
625
+ }, "strip", z.ZodTypeAny, {
626
+ query?: string | undefined;
627
+ }, {
628
+ query?: string | undefined;
629
+ }>, z.ZodBoolean]>>;
630
+ }, "strip", z.ZodTypeAny, {
631
+ ids: string[];
632
+ text?: boolean | {
633
+ maxCharacters?: number | undefined;
634
+ includeHtmlTags?: boolean | undefined;
635
+ } | undefined;
636
+ highlights?: boolean | {
637
+ query?: string | undefined;
638
+ numSentences?: number | undefined;
639
+ highlightsPerUrl?: number | undefined;
640
+ } | undefined;
641
+ summary?: boolean | {
642
+ query?: string | undefined;
643
+ } | undefined;
644
+ }, {
645
+ ids: string[];
646
+ text?: boolean | {
647
+ maxCharacters?: number | undefined;
648
+ includeHtmlTags?: boolean | undefined;
649
+ } | undefined;
650
+ highlights?: boolean | {
651
+ query?: string | undefined;
652
+ numSentences?: number | undefined;
653
+ highlightsPerUrl?: number | undefined;
654
+ } | undefined;
655
+ summary?: boolean | {
656
+ query?: string | undefined;
657
+ } | undefined;
658
+ }>;
659
+ declare const GetAnswerInputSchema: z.ZodObject<{
660
+ query: z.ZodString;
661
+ text: z.ZodOptional<z.ZodBoolean>;
662
+ stream: z.ZodOptional<z.ZodBoolean>;
663
+ }, "strip", z.ZodTypeAny, {
664
+ query: string;
665
+ text?: boolean | undefined;
666
+ stream?: boolean | undefined;
667
+ }, {
668
+ query: string;
669
+ text?: boolean | undefined;
670
+ stream?: boolean | undefined;
671
+ }>;
672
+ declare const WebsetsCreateInputSchema: z.ZodObject<{
673
+ searches: z.ZodOptional<z.ZodArray<z.ZodObject<{
674
+ query: z.ZodString;
675
+ count: z.ZodOptional<z.ZodNumber>;
676
+ entity: z.ZodOptional<z.ZodObject<{
677
+ type: z.ZodOptional<z.ZodEnum<["company", "person", "article", "research paper", "repository", "event", "product", "video", "job", "podcast"]>>;
678
+ }, "strip", z.ZodTypeAny, {
679
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
680
+ }, {
681
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
682
+ }>>;
683
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
684
+ description: z.ZodString;
685
+ successRate: z.ZodOptional<z.ZodString>;
686
+ }, "strip", z.ZodTypeAny, {
687
+ description: string;
688
+ successRate?: string | undefined;
689
+ }, {
690
+ description: string;
691
+ successRate?: string | undefined;
692
+ }>, "many">>;
693
+ }, "strip", z.ZodTypeAny, {
694
+ query: string;
695
+ count?: number | undefined;
696
+ entity?: {
697
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
698
+ } | undefined;
699
+ criteria?: {
700
+ description: string;
701
+ successRate?: string | undefined;
702
+ }[] | undefined;
703
+ }, {
704
+ query: string;
705
+ count?: number | undefined;
706
+ entity?: {
707
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
708
+ } | undefined;
709
+ criteria?: {
710
+ description: string;
711
+ successRate?: string | undefined;
712
+ }[] | undefined;
713
+ }>, "many">>;
714
+ enrichments: z.ZodOptional<z.ZodArray<z.ZodObject<{
715
+ description: z.ZodString;
716
+ format: z.ZodOptional<z.ZodEnum<["text", "date", "number", "options", "boolean"]>>;
717
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
718
+ }, "strip", z.ZodTypeAny, {
719
+ description: string;
720
+ options?: string[] | undefined;
721
+ format?: "number" | "boolean" | "date" | "options" | "text" | undefined;
722
+ }, {
723
+ description: string;
724
+ options?: string[] | undefined;
725
+ format?: "number" | "boolean" | "date" | "options" | "text" | undefined;
726
+ }>, "many">>;
727
+ externalId: z.ZodOptional<z.ZodString>;
728
+ }, "strip", z.ZodTypeAny, {
729
+ externalId?: string | undefined;
730
+ searches?: {
731
+ query: string;
732
+ count?: number | undefined;
733
+ entity?: {
734
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
735
+ } | undefined;
736
+ criteria?: {
737
+ description: string;
738
+ successRate?: string | undefined;
739
+ }[] | undefined;
740
+ }[] | undefined;
741
+ enrichments?: {
742
+ description: string;
743
+ options?: string[] | undefined;
744
+ format?: "number" | "boolean" | "date" | "options" | "text" | undefined;
745
+ }[] | undefined;
746
+ }, {
747
+ externalId?: string | undefined;
748
+ searches?: {
749
+ query: string;
750
+ count?: number | undefined;
751
+ entity?: {
752
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
753
+ } | undefined;
754
+ criteria?: {
755
+ description: string;
756
+ successRate?: string | undefined;
757
+ }[] | undefined;
758
+ }[] | undefined;
759
+ enrichments?: {
760
+ description: string;
761
+ options?: string[] | undefined;
762
+ format?: "number" | "boolean" | "date" | "options" | "text" | undefined;
763
+ }[] | undefined;
764
+ }>;
765
+ declare const WebsetsGetInputSchema: z.ZodObject<{
766
+ id: z.ZodString;
767
+ }, "strip", z.ZodTypeAny, {
768
+ id: string;
769
+ }, {
770
+ id: string;
771
+ }>;
772
+ declare const WebsetsDeleteInputSchema: z.ZodObject<{
773
+ id: z.ZodString;
774
+ }, "strip", z.ZodTypeAny, {
775
+ id: string;
776
+ }, {
777
+ id: string;
778
+ }>;
779
+ declare const ImportsCreateInputSchema: z.ZodObject<{
780
+ websetId: z.ZodString;
781
+ urls: z.ZodArray<z.ZodString, "many">;
782
+ }, "strip", z.ZodTypeAny, {
783
+ websetId: string;
784
+ urls: string[];
785
+ }, {
786
+ websetId: string;
787
+ urls: string[];
788
+ }>;
789
+ declare const ImportsListInputSchema: z.ZodObject<{
790
+ websetId: z.ZodString;
791
+ cursor: z.ZodOptional<z.ZodString>;
792
+ limit: z.ZodOptional<z.ZodNumber>;
793
+ }, "strip", z.ZodTypeAny, {
794
+ websetId: string;
795
+ limit?: number | undefined;
796
+ cursor?: string | undefined;
797
+ }, {
798
+ websetId: string;
799
+ limit?: number | undefined;
800
+ cursor?: string | undefined;
801
+ }>;
802
+ declare const ImportsDeleteInputSchema: z.ZodObject<{
803
+ websetId: z.ZodString;
804
+ importId: z.ZodString;
805
+ }, "strip", z.ZodTypeAny, {
806
+ websetId: string;
807
+ importId: string;
808
+ }, {
809
+ websetId: string;
810
+ importId: string;
811
+ }>;
812
+ declare const MonitorsCreateInputSchema: z.ZodObject<{
813
+ websetId: z.ZodString;
814
+ cadence: z.ZodObject<{
815
+ type: z.ZodEnum<["realtime", "hourly", "daily", "weekly"]>;
816
+ }, "strip", z.ZodTypeAny, {
817
+ type: "realtime" | "hourly" | "daily" | "weekly";
818
+ }, {
819
+ type: "realtime" | "hourly" | "daily" | "weekly";
820
+ }>;
821
+ }, "strip", z.ZodTypeAny, {
822
+ websetId: string;
823
+ cadence: {
824
+ type: "realtime" | "hourly" | "daily" | "weekly";
825
+ };
826
+ }, {
827
+ websetId: string;
828
+ cadence: {
829
+ type: "realtime" | "hourly" | "daily" | "weekly";
830
+ };
831
+ }>;
832
+ declare const EventsListInputSchema: z.ZodObject<{
833
+ websetId: z.ZodString;
834
+ cursor: z.ZodOptional<z.ZodString>;
835
+ limit: z.ZodOptional<z.ZodNumber>;
836
+ }, "strip", z.ZodTypeAny, {
837
+ websetId: string;
838
+ limit?: number | undefined;
839
+ cursor?: string | undefined;
840
+ }, {
841
+ websetId: string;
842
+ limit?: number | undefined;
843
+ cursor?: string | undefined;
844
+ }>;
845
+ declare const EventsGetInputSchema: z.ZodObject<{
846
+ websetId: z.ZodString;
847
+ eventId: z.ZodString;
848
+ }, "strip", z.ZodTypeAny, {
849
+ websetId: string;
850
+ eventId: string;
851
+ }, {
852
+ websetId: string;
853
+ eventId: string;
854
+ }>;
855
+ declare const WebhooksApiListInputSchema: z.ZodObject<{
856
+ cursor: z.ZodOptional<z.ZodString>;
857
+ limit: z.ZodOptional<z.ZodNumber>;
858
+ }, "strip", z.ZodTypeAny, {
859
+ limit?: number | undefined;
860
+ cursor?: string | undefined;
861
+ }, {
862
+ limit?: number | undefined;
863
+ cursor?: string | undefined;
864
+ }>;
865
+ declare const SearchResponseSchema: z.ZodObject<{
866
+ results: z.ZodArray<z.ZodObject<{
867
+ id: z.ZodString;
868
+ url: z.ZodString;
869
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
870
+ publishedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
871
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
872
+ score: z.ZodOptional<z.ZodNumber>;
873
+ text: z.ZodOptional<z.ZodString>;
874
+ highlights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
875
+ highlightScores: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
876
+ summary: z.ZodOptional<z.ZodString>;
877
+ }, "strip", z.ZodTypeAny, {
878
+ id: string;
879
+ url: string;
880
+ text?: string | undefined;
881
+ highlights?: string[] | undefined;
882
+ summary?: string | undefined;
883
+ title?: string | null | undefined;
884
+ publishedDate?: string | null | undefined;
885
+ author?: string | null | undefined;
886
+ score?: number | undefined;
887
+ highlightScores?: number[] | undefined;
888
+ }, {
889
+ id: string;
890
+ url: string;
891
+ text?: string | undefined;
892
+ highlights?: string[] | undefined;
893
+ summary?: string | undefined;
894
+ title?: string | null | undefined;
895
+ publishedDate?: string | null | undefined;
896
+ author?: string | null | undefined;
897
+ score?: number | undefined;
898
+ highlightScores?: number[] | undefined;
899
+ }>, "many">;
900
+ autopromptString: z.ZodOptional<z.ZodString>;
901
+ requestId: z.ZodOptional<z.ZodString>;
902
+ }, "strip", z.ZodTypeAny, {
903
+ results: {
904
+ id: string;
905
+ url: string;
906
+ text?: string | undefined;
907
+ highlights?: string[] | undefined;
908
+ summary?: string | undefined;
909
+ title?: string | null | undefined;
910
+ publishedDate?: string | null | undefined;
911
+ author?: string | null | undefined;
912
+ score?: number | undefined;
913
+ highlightScores?: number[] | undefined;
914
+ }[];
915
+ autopromptString?: string | undefined;
916
+ requestId?: string | undefined;
917
+ }, {
918
+ results: {
919
+ id: string;
920
+ url: string;
921
+ text?: string | undefined;
922
+ highlights?: string[] | undefined;
923
+ summary?: string | undefined;
924
+ title?: string | null | undefined;
925
+ publishedDate?: string | null | undefined;
926
+ author?: string | null | undefined;
927
+ score?: number | undefined;
928
+ highlightScores?: number[] | undefined;
929
+ }[];
930
+ autopromptString?: string | undefined;
931
+ requestId?: string | undefined;
932
+ }>;
933
+ declare const FindSimilarResponseSchema: z.ZodObject<{
934
+ results: z.ZodArray<z.ZodObject<{
935
+ id: z.ZodString;
936
+ url: z.ZodString;
937
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
938
+ publishedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
939
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
940
+ score: z.ZodOptional<z.ZodNumber>;
941
+ text: z.ZodOptional<z.ZodString>;
942
+ highlights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
943
+ highlightScores: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
944
+ summary: z.ZodOptional<z.ZodString>;
945
+ }, "strip", z.ZodTypeAny, {
946
+ id: string;
947
+ url: string;
948
+ text?: string | undefined;
949
+ highlights?: string[] | undefined;
950
+ summary?: string | undefined;
951
+ title?: string | null | undefined;
952
+ publishedDate?: string | null | undefined;
953
+ author?: string | null | undefined;
954
+ score?: number | undefined;
955
+ highlightScores?: number[] | undefined;
956
+ }, {
957
+ id: string;
958
+ url: string;
959
+ text?: string | undefined;
960
+ highlights?: string[] | undefined;
961
+ summary?: string | undefined;
962
+ title?: string | null | undefined;
963
+ publishedDate?: string | null | undefined;
964
+ author?: string | null | undefined;
965
+ score?: number | undefined;
966
+ highlightScores?: number[] | undefined;
967
+ }>, "many">;
968
+ requestId: z.ZodOptional<z.ZodString>;
969
+ }, "strip", z.ZodTypeAny, {
970
+ results: {
971
+ id: string;
972
+ url: string;
973
+ text?: string | undefined;
974
+ highlights?: string[] | undefined;
975
+ summary?: string | undefined;
976
+ title?: string | null | undefined;
977
+ publishedDate?: string | null | undefined;
978
+ author?: string | null | undefined;
979
+ score?: number | undefined;
980
+ highlightScores?: number[] | undefined;
981
+ }[];
982
+ requestId?: string | undefined;
983
+ }, {
984
+ results: {
985
+ id: string;
986
+ url: string;
987
+ text?: string | undefined;
988
+ highlights?: string[] | undefined;
989
+ summary?: string | undefined;
990
+ title?: string | null | undefined;
991
+ publishedDate?: string | null | undefined;
992
+ author?: string | null | undefined;
993
+ score?: number | undefined;
994
+ highlightScores?: number[] | undefined;
995
+ }[];
996
+ requestId?: string | undefined;
997
+ }>;
998
+ declare const GetContentsResponseSchema: z.ZodObject<{
999
+ results: z.ZodArray<z.ZodObject<{
1000
+ id: z.ZodString;
1001
+ url: z.ZodString;
1002
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1003
+ publishedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1004
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1005
+ score: z.ZodOptional<z.ZodNumber>;
1006
+ text: z.ZodOptional<z.ZodString>;
1007
+ highlights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1008
+ highlightScores: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1009
+ summary: z.ZodOptional<z.ZodString>;
1010
+ }, "strip", z.ZodTypeAny, {
1011
+ id: string;
1012
+ url: string;
1013
+ text?: string | undefined;
1014
+ highlights?: string[] | undefined;
1015
+ summary?: string | undefined;
1016
+ title?: string | null | undefined;
1017
+ publishedDate?: string | null | undefined;
1018
+ author?: string | null | undefined;
1019
+ score?: number | undefined;
1020
+ highlightScores?: number[] | undefined;
1021
+ }, {
1022
+ id: string;
1023
+ url: string;
1024
+ text?: string | undefined;
1025
+ highlights?: string[] | undefined;
1026
+ summary?: string | undefined;
1027
+ title?: string | null | undefined;
1028
+ publishedDate?: string | null | undefined;
1029
+ author?: string | null | undefined;
1030
+ score?: number | undefined;
1031
+ highlightScores?: number[] | undefined;
1032
+ }>, "many">;
1033
+ requestId: z.ZodOptional<z.ZodString>;
1034
+ }, "strip", z.ZodTypeAny, {
1035
+ results: {
1036
+ id: string;
1037
+ url: string;
1038
+ text?: string | undefined;
1039
+ highlights?: string[] | undefined;
1040
+ summary?: string | undefined;
1041
+ title?: string | null | undefined;
1042
+ publishedDate?: string | null | undefined;
1043
+ author?: string | null | undefined;
1044
+ score?: number | undefined;
1045
+ highlightScores?: number[] | undefined;
1046
+ }[];
1047
+ requestId?: string | undefined;
1048
+ }, {
1049
+ results: {
1050
+ id: string;
1051
+ url: string;
1052
+ text?: string | undefined;
1053
+ highlights?: string[] | undefined;
1054
+ summary?: string | undefined;
1055
+ title?: string | null | undefined;
1056
+ publishedDate?: string | null | undefined;
1057
+ author?: string | null | undefined;
1058
+ score?: number | undefined;
1059
+ highlightScores?: number[] | undefined;
1060
+ }[];
1061
+ requestId?: string | undefined;
1062
+ }>;
1063
+ declare const GetAnswerResponseSchema: z.ZodObject<{
1064
+ answer: z.ZodString;
1065
+ citations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1066
+ id: z.ZodString;
1067
+ url: z.ZodString;
1068
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1069
+ publishedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1070
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1071
+ score: z.ZodOptional<z.ZodNumber>;
1072
+ text: z.ZodOptional<z.ZodString>;
1073
+ highlights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1074
+ highlightScores: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1075
+ summary: z.ZodOptional<z.ZodString>;
1076
+ }, "strip", z.ZodTypeAny, {
1077
+ id: string;
1078
+ url: string;
1079
+ text?: string | undefined;
1080
+ highlights?: string[] | undefined;
1081
+ summary?: string | undefined;
1082
+ title?: string | null | undefined;
1083
+ publishedDate?: string | null | undefined;
1084
+ author?: string | null | undefined;
1085
+ score?: number | undefined;
1086
+ highlightScores?: number[] | undefined;
1087
+ }, {
1088
+ id: string;
1089
+ url: string;
1090
+ text?: string | undefined;
1091
+ highlights?: string[] | undefined;
1092
+ summary?: string | undefined;
1093
+ title?: string | null | undefined;
1094
+ publishedDate?: string | null | undefined;
1095
+ author?: string | null | undefined;
1096
+ score?: number | undefined;
1097
+ highlightScores?: number[] | undefined;
1098
+ }>, "many">>;
1099
+ requestId: z.ZodOptional<z.ZodString>;
1100
+ }, "strip", z.ZodTypeAny, {
1101
+ answer: string;
1102
+ requestId?: string | undefined;
1103
+ citations?: {
1104
+ id: string;
1105
+ url: string;
1106
+ text?: string | undefined;
1107
+ highlights?: string[] | undefined;
1108
+ summary?: string | undefined;
1109
+ title?: string | null | undefined;
1110
+ publishedDate?: string | null | undefined;
1111
+ author?: string | null | undefined;
1112
+ score?: number | undefined;
1113
+ highlightScores?: number[] | undefined;
1114
+ }[] | undefined;
1115
+ }, {
1116
+ answer: string;
1117
+ requestId?: string | undefined;
1118
+ citations?: {
1119
+ id: string;
1120
+ url: string;
1121
+ text?: string | undefined;
1122
+ highlights?: string[] | undefined;
1123
+ summary?: string | undefined;
1124
+ title?: string | null | undefined;
1125
+ publishedDate?: string | null | undefined;
1126
+ author?: string | null | undefined;
1127
+ score?: number | undefined;
1128
+ highlightScores?: number[] | undefined;
1129
+ }[] | undefined;
1130
+ }>;
1131
+ declare const WebsetsDeleteResponseSchema: z.ZodObject<{
1132
+ id: z.ZodString;
1133
+ object: z.ZodLiteral<"webset">;
1134
+ deleted: z.ZodBoolean;
1135
+ }, "strip", z.ZodTypeAny, {
1136
+ object: "webset";
1137
+ id: string;
1138
+ deleted: boolean;
1139
+ }, {
1140
+ object: "webset";
1141
+ id: string;
1142
+ deleted: boolean;
1143
+ }>;
1144
+ declare const ImportsDeleteResponseSchema: z.ZodObject<{
1145
+ id: z.ZodString;
1146
+ deleted: z.ZodBoolean;
1147
+ }, "strip", z.ZodTypeAny, {
1148
+ id: string;
1149
+ deleted: boolean;
1150
+ }, {
1151
+ id: string;
1152
+ deleted: boolean;
1153
+ }>;
1154
+ declare const ImportsListResponseSchema: z.ZodObject<{
1155
+ data: z.ZodArray<z.ZodObject<{
1156
+ id: z.ZodString;
1157
+ object: z.ZodLiteral<"import">;
1158
+ websetId: z.ZodString;
1159
+ urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1160
+ status: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>;
1161
+ createdAt: z.ZodString;
1162
+ updatedAt: z.ZodOptional<z.ZodString>;
1163
+ }, "strip", z.ZodTypeAny, {
1164
+ object: "import";
1165
+ id: string;
1166
+ createdAt: string;
1167
+ websetId: string;
1168
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
1169
+ updatedAt?: string | undefined;
1170
+ urls?: string[] | undefined;
1171
+ }, {
1172
+ object: "import";
1173
+ id: string;
1174
+ createdAt: string;
1175
+ websetId: string;
1176
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
1177
+ updatedAt?: string | undefined;
1178
+ urls?: string[] | undefined;
1179
+ }>, "many">;
1180
+ hasMore: z.ZodOptional<z.ZodBoolean>;
1181
+ nextCursor: z.ZodOptional<z.ZodString>;
1182
+ }, "strip", z.ZodTypeAny, {
1183
+ data: {
1184
+ object: "import";
1185
+ id: string;
1186
+ createdAt: string;
1187
+ websetId: string;
1188
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
1189
+ updatedAt?: string | undefined;
1190
+ urls?: string[] | undefined;
1191
+ }[];
1192
+ hasMore?: boolean | undefined;
1193
+ nextCursor?: string | undefined;
1194
+ }, {
1195
+ data: {
1196
+ object: "import";
1197
+ id: string;
1198
+ createdAt: string;
1199
+ websetId: string;
1200
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
1201
+ updatedAt?: string | undefined;
1202
+ urls?: string[] | undefined;
1203
+ }[];
1204
+ hasMore?: boolean | undefined;
1205
+ nextCursor?: string | undefined;
1206
+ }>;
1207
+ declare const EventsListResponseSchema: z.ZodObject<{
1208
+ data: z.ZodArray<z.ZodObject<{
1209
+ id: z.ZodString;
1210
+ object: z.ZodLiteral<"event">;
1211
+ type: z.ZodString;
1212
+ createdAt: z.ZodString;
1213
+ data: z.ZodOptional<z.ZodUnknown>;
1214
+ }, "strip", z.ZodTypeAny, {
1215
+ object: "event";
1216
+ id: string;
1217
+ type: string;
1218
+ createdAt: string;
1219
+ data?: unknown;
1220
+ }, {
1221
+ object: "event";
1222
+ id: string;
1223
+ type: string;
1224
+ createdAt: string;
1225
+ data?: unknown;
1226
+ }>, "many">;
1227
+ hasMore: z.ZodOptional<z.ZodBoolean>;
1228
+ nextCursor: z.ZodOptional<z.ZodString>;
1229
+ }, "strip", z.ZodTypeAny, {
1230
+ data: {
1231
+ object: "event";
1232
+ id: string;
1233
+ type: string;
1234
+ createdAt: string;
1235
+ data?: unknown;
1236
+ }[];
1237
+ hasMore?: boolean | undefined;
1238
+ nextCursor?: string | undefined;
1239
+ }, {
1240
+ data: {
1241
+ object: "event";
1242
+ id: string;
1243
+ type: string;
1244
+ createdAt: string;
1245
+ data?: unknown;
1246
+ }[];
1247
+ hasMore?: boolean | undefined;
1248
+ nextCursor?: string | undefined;
1249
+ }>;
1250
+ declare const WebhooksApiListResponseSchema: z.ZodObject<{
1251
+ data: z.ZodArray<z.ZodObject<{
1252
+ id: z.ZodString;
1253
+ object: z.ZodLiteral<"webhook">;
1254
+ url: z.ZodString;
1255
+ events: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1256
+ status: z.ZodOptional<z.ZodEnum<["active", "inactive"]>>;
1257
+ createdAt: z.ZodString;
1258
+ updatedAt: z.ZodOptional<z.ZodString>;
1259
+ }, "strip", z.ZodTypeAny, {
1260
+ object: "webhook";
1261
+ id: string;
1262
+ url: string;
1263
+ createdAt: string;
1264
+ status?: "active" | "inactive" | undefined;
1265
+ updatedAt?: string | undefined;
1266
+ events?: string[] | undefined;
1267
+ }, {
1268
+ object: "webhook";
1269
+ id: string;
1270
+ url: string;
1271
+ createdAt: string;
1272
+ status?: "active" | "inactive" | undefined;
1273
+ updatedAt?: string | undefined;
1274
+ events?: string[] | undefined;
1275
+ }>, "many">;
1276
+ hasMore: z.ZodOptional<z.ZodBoolean>;
1277
+ nextCursor: z.ZodOptional<z.ZodString>;
1278
+ }, "strip", z.ZodTypeAny, {
1279
+ data: {
1280
+ object: "webhook";
1281
+ id: string;
1282
+ url: string;
1283
+ createdAt: string;
1284
+ status?: "active" | "inactive" | undefined;
1285
+ updatedAt?: string | undefined;
1286
+ events?: string[] | undefined;
1287
+ }[];
1288
+ hasMore?: boolean | undefined;
1289
+ nextCursor?: string | undefined;
1290
+ }, {
1291
+ data: {
1292
+ object: "webhook";
1293
+ id: string;
1294
+ url: string;
1295
+ createdAt: string;
1296
+ status?: "active" | "inactive" | undefined;
1297
+ updatedAt?: string | undefined;
1298
+ events?: string[] | undefined;
1299
+ }[];
1300
+ hasMore?: boolean | undefined;
1301
+ nextCursor?: string | undefined;
1302
+ }>;
1303
+ export type SearchInput = z.infer<typeof SearchInputSchema>;
1304
+ export type FindSimilarInput = z.infer<typeof FindSimilarInputSchema>;
1305
+ export type GetContentsInput = z.infer<typeof GetContentsInputSchema>;
1306
+ export type GetAnswerInput = z.infer<typeof GetAnswerInputSchema>;
1307
+ export type WebsetsCreateInput = z.infer<typeof WebsetsCreateInputSchema>;
1308
+ export type WebsetsGetInput = z.infer<typeof WebsetsGetInputSchema>;
1309
+ export type WebsetsDeleteInput = z.infer<typeof WebsetsDeleteInputSchema>;
1310
+ export type ImportsCreateInput = z.infer<typeof ImportsCreateInputSchema>;
1311
+ export type ImportsListInput = z.infer<typeof ImportsListInputSchema>;
1312
+ export type ImportsDeleteInput = z.infer<typeof ImportsDeleteInputSchema>;
1313
+ export type MonitorsCreateInput = z.infer<typeof MonitorsCreateInputSchema>;
1314
+ export type EventsListInput = z.infer<typeof EventsListInputSchema>;
1315
+ export type EventsGetInput = z.infer<typeof EventsGetInputSchema>;
1316
+ export type WebhooksApiListInput = z.infer<typeof WebhooksApiListInputSchema>;
1317
+ export type SearchResult = z.infer<typeof SearchResultSchema>;
1318
+ export type SearchResponse = z.infer<typeof SearchResponseSchema>;
1319
+ export type FindSimilarResponse = z.infer<typeof FindSimilarResponseSchema>;
1320
+ export type GetContentsResponse = z.infer<typeof GetContentsResponseSchema>;
1321
+ export type GetAnswerResponse = z.infer<typeof GetAnswerResponseSchema>;
1322
+ export type Webset = z.infer<typeof WebsetSchema>;
1323
+ export type WebsetImport = z.infer<typeof WebsetImportSchema>;
1324
+ export type WebsetMonitor = z.infer<typeof WebsetMonitorSchema>;
1325
+ export type WebsetEvent = z.infer<typeof WebsetEventSchema>;
1326
+ export type WebhookApi = z.infer<typeof WebhookApiSchema>;
1327
+ export type WebsetsDeleteResponse = z.infer<typeof WebsetsDeleteResponseSchema>;
1328
+ export type ImportsDeleteResponse = z.infer<typeof ImportsDeleteResponseSchema>;
1329
+ export type ImportsListResponse = z.infer<typeof ImportsListResponseSchema>;
1330
+ export type EventsListResponse = z.infer<typeof EventsListResponseSchema>;
1331
+ export type WebhooksApiListResponse = z.infer<typeof WebhooksApiListResponseSchema>;
1332
+ export type ExaEndpointInputs = {
1333
+ searchSearch: SearchInput;
1334
+ searchFindSimilar: FindSimilarInput;
1335
+ contentsGet: GetContentsInput;
1336
+ answerGet: GetAnswerInput;
1337
+ websetsCreate: WebsetsCreateInput;
1338
+ websetsGet: WebsetsGetInput;
1339
+ websetsDelete: WebsetsDeleteInput;
1340
+ importsCreate: ImportsCreateInput;
1341
+ importsList: ImportsListInput;
1342
+ importsDelete: ImportsDeleteInput;
1343
+ monitorsCreate: MonitorsCreateInput;
1344
+ eventsList: EventsListInput;
1345
+ eventsGet: EventsGetInput;
1346
+ webhooksApiList: WebhooksApiListInput;
1347
+ };
1348
+ export type ExaEndpointOutputs = {
1349
+ searchSearch: SearchResponse;
1350
+ searchFindSimilar: FindSimilarResponse;
1351
+ contentsGet: GetContentsResponse;
1352
+ answerGet: GetAnswerResponse;
1353
+ websetsCreate: Webset;
1354
+ websetsGet: Webset;
1355
+ websetsDelete: WebsetsDeleteResponse;
1356
+ importsCreate: WebsetImport;
1357
+ importsList: ImportsListResponse;
1358
+ importsDelete: ImportsDeleteResponse;
1359
+ monitorsCreate: WebsetMonitor;
1360
+ eventsList: EventsListResponse;
1361
+ eventsGet: WebsetEvent;
1362
+ webhooksApiList: WebhooksApiListResponse;
1363
+ };
1364
+ export declare const ExaEndpointInputSchemas: {
1365
+ readonly searchSearch: z.ZodObject<{
1366
+ query: z.ZodString;
1367
+ numResults: z.ZodOptional<z.ZodNumber>;
1368
+ includeDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1369
+ excludeDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1370
+ startCrawlDate: z.ZodOptional<z.ZodString>;
1371
+ endCrawlDate: z.ZodOptional<z.ZodString>;
1372
+ startPublishedDate: z.ZodOptional<z.ZodString>;
1373
+ endPublishedDate: z.ZodOptional<z.ZodString>;
1374
+ useAutoprompt: z.ZodOptional<z.ZodBoolean>;
1375
+ type: z.ZodOptional<z.ZodEnum<["keyword", "neural", "auto"]>>;
1376
+ category: z.ZodOptional<z.ZodString>;
1377
+ contents: z.ZodOptional<z.ZodObject<{
1378
+ text: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1379
+ maxCharacters: z.ZodOptional<z.ZodNumber>;
1380
+ includeHtmlTags: z.ZodOptional<z.ZodBoolean>;
1381
+ }, "strip", z.ZodTypeAny, {
1382
+ maxCharacters?: number | undefined;
1383
+ includeHtmlTags?: boolean | undefined;
1384
+ }, {
1385
+ maxCharacters?: number | undefined;
1386
+ includeHtmlTags?: boolean | undefined;
1387
+ }>, z.ZodBoolean]>>;
1388
+ highlights: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1389
+ numSentences: z.ZodOptional<z.ZodNumber>;
1390
+ highlightsPerUrl: z.ZodOptional<z.ZodNumber>;
1391
+ query: z.ZodOptional<z.ZodString>;
1392
+ }, "strip", z.ZodTypeAny, {
1393
+ query?: string | undefined;
1394
+ numSentences?: number | undefined;
1395
+ highlightsPerUrl?: number | undefined;
1396
+ }, {
1397
+ query?: string | undefined;
1398
+ numSentences?: number | undefined;
1399
+ highlightsPerUrl?: number | undefined;
1400
+ }>, z.ZodBoolean]>>;
1401
+ summary: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1402
+ query: z.ZodOptional<z.ZodString>;
1403
+ }, "strip", z.ZodTypeAny, {
1404
+ query?: string | undefined;
1405
+ }, {
1406
+ query?: string | undefined;
1407
+ }>, z.ZodBoolean]>>;
1408
+ }, "strip", z.ZodTypeAny, {
1409
+ text?: boolean | {
1410
+ maxCharacters?: number | undefined;
1411
+ includeHtmlTags?: boolean | undefined;
1412
+ } | undefined;
1413
+ highlights?: boolean | {
1414
+ query?: string | undefined;
1415
+ numSentences?: number | undefined;
1416
+ highlightsPerUrl?: number | undefined;
1417
+ } | undefined;
1418
+ summary?: boolean | {
1419
+ query?: string | undefined;
1420
+ } | undefined;
1421
+ }, {
1422
+ text?: boolean | {
1423
+ maxCharacters?: number | undefined;
1424
+ includeHtmlTags?: boolean | undefined;
1425
+ } | undefined;
1426
+ highlights?: boolean | {
1427
+ query?: string | undefined;
1428
+ numSentences?: number | undefined;
1429
+ highlightsPerUrl?: number | undefined;
1430
+ } | undefined;
1431
+ summary?: boolean | {
1432
+ query?: string | undefined;
1433
+ } | undefined;
1434
+ }>>;
1435
+ }, "strip", z.ZodTypeAny, {
1436
+ query: string;
1437
+ type?: "keyword" | "neural" | "auto" | undefined;
1438
+ numResults?: number | undefined;
1439
+ includeDomains?: string[] | undefined;
1440
+ excludeDomains?: string[] | undefined;
1441
+ startCrawlDate?: string | undefined;
1442
+ endCrawlDate?: string | undefined;
1443
+ startPublishedDate?: string | undefined;
1444
+ endPublishedDate?: string | undefined;
1445
+ useAutoprompt?: boolean | undefined;
1446
+ category?: string | undefined;
1447
+ contents?: {
1448
+ text?: boolean | {
1449
+ maxCharacters?: number | undefined;
1450
+ includeHtmlTags?: boolean | undefined;
1451
+ } | undefined;
1452
+ highlights?: boolean | {
1453
+ query?: string | undefined;
1454
+ numSentences?: number | undefined;
1455
+ highlightsPerUrl?: number | undefined;
1456
+ } | undefined;
1457
+ summary?: boolean | {
1458
+ query?: string | undefined;
1459
+ } | undefined;
1460
+ } | undefined;
1461
+ }, {
1462
+ query: string;
1463
+ type?: "keyword" | "neural" | "auto" | undefined;
1464
+ numResults?: number | undefined;
1465
+ includeDomains?: string[] | undefined;
1466
+ excludeDomains?: string[] | undefined;
1467
+ startCrawlDate?: string | undefined;
1468
+ endCrawlDate?: string | undefined;
1469
+ startPublishedDate?: string | undefined;
1470
+ endPublishedDate?: string | undefined;
1471
+ useAutoprompt?: boolean | undefined;
1472
+ category?: string | undefined;
1473
+ contents?: {
1474
+ text?: boolean | {
1475
+ maxCharacters?: number | undefined;
1476
+ includeHtmlTags?: boolean | undefined;
1477
+ } | undefined;
1478
+ highlights?: boolean | {
1479
+ query?: string | undefined;
1480
+ numSentences?: number | undefined;
1481
+ highlightsPerUrl?: number | undefined;
1482
+ } | undefined;
1483
+ summary?: boolean | {
1484
+ query?: string | undefined;
1485
+ } | undefined;
1486
+ } | undefined;
1487
+ }>;
1488
+ readonly searchFindSimilar: z.ZodObject<{
1489
+ url: z.ZodString;
1490
+ numResults: z.ZodOptional<z.ZodNumber>;
1491
+ includeDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1492
+ excludeDomains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1493
+ startCrawlDate: z.ZodOptional<z.ZodString>;
1494
+ endCrawlDate: z.ZodOptional<z.ZodString>;
1495
+ startPublishedDate: z.ZodOptional<z.ZodString>;
1496
+ endPublishedDate: z.ZodOptional<z.ZodString>;
1497
+ excludeSourceDomain: z.ZodOptional<z.ZodBoolean>;
1498
+ category: z.ZodOptional<z.ZodString>;
1499
+ contents: z.ZodOptional<z.ZodObject<{
1500
+ text: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1501
+ maxCharacters: z.ZodOptional<z.ZodNumber>;
1502
+ includeHtmlTags: z.ZodOptional<z.ZodBoolean>;
1503
+ }, "strip", z.ZodTypeAny, {
1504
+ maxCharacters?: number | undefined;
1505
+ includeHtmlTags?: boolean | undefined;
1506
+ }, {
1507
+ maxCharacters?: number | undefined;
1508
+ includeHtmlTags?: boolean | undefined;
1509
+ }>, z.ZodBoolean]>>;
1510
+ highlights: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1511
+ numSentences: z.ZodOptional<z.ZodNumber>;
1512
+ highlightsPerUrl: z.ZodOptional<z.ZodNumber>;
1513
+ query: z.ZodOptional<z.ZodString>;
1514
+ }, "strip", z.ZodTypeAny, {
1515
+ query?: string | undefined;
1516
+ numSentences?: number | undefined;
1517
+ highlightsPerUrl?: number | undefined;
1518
+ }, {
1519
+ query?: string | undefined;
1520
+ numSentences?: number | undefined;
1521
+ highlightsPerUrl?: number | undefined;
1522
+ }>, z.ZodBoolean]>>;
1523
+ summary: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1524
+ query: z.ZodOptional<z.ZodString>;
1525
+ }, "strip", z.ZodTypeAny, {
1526
+ query?: string | undefined;
1527
+ }, {
1528
+ query?: string | undefined;
1529
+ }>, z.ZodBoolean]>>;
1530
+ }, "strip", z.ZodTypeAny, {
1531
+ text?: boolean | {
1532
+ maxCharacters?: number | undefined;
1533
+ includeHtmlTags?: boolean | undefined;
1534
+ } | undefined;
1535
+ highlights?: boolean | {
1536
+ query?: string | undefined;
1537
+ numSentences?: number | undefined;
1538
+ highlightsPerUrl?: number | undefined;
1539
+ } | undefined;
1540
+ summary?: boolean | {
1541
+ query?: string | undefined;
1542
+ } | undefined;
1543
+ }, {
1544
+ text?: boolean | {
1545
+ maxCharacters?: number | undefined;
1546
+ includeHtmlTags?: boolean | undefined;
1547
+ } | undefined;
1548
+ highlights?: boolean | {
1549
+ query?: string | undefined;
1550
+ numSentences?: number | undefined;
1551
+ highlightsPerUrl?: number | undefined;
1552
+ } | undefined;
1553
+ summary?: boolean | {
1554
+ query?: string | undefined;
1555
+ } | undefined;
1556
+ }>>;
1557
+ }, "strip", z.ZodTypeAny, {
1558
+ url: string;
1559
+ numResults?: number | undefined;
1560
+ includeDomains?: string[] | undefined;
1561
+ excludeDomains?: string[] | undefined;
1562
+ startCrawlDate?: string | undefined;
1563
+ endCrawlDate?: string | undefined;
1564
+ startPublishedDate?: string | undefined;
1565
+ endPublishedDate?: string | undefined;
1566
+ category?: string | undefined;
1567
+ contents?: {
1568
+ text?: boolean | {
1569
+ maxCharacters?: number | undefined;
1570
+ includeHtmlTags?: boolean | undefined;
1571
+ } | undefined;
1572
+ highlights?: boolean | {
1573
+ query?: string | undefined;
1574
+ numSentences?: number | undefined;
1575
+ highlightsPerUrl?: number | undefined;
1576
+ } | undefined;
1577
+ summary?: boolean | {
1578
+ query?: string | undefined;
1579
+ } | undefined;
1580
+ } | undefined;
1581
+ excludeSourceDomain?: boolean | undefined;
1582
+ }, {
1583
+ url: string;
1584
+ numResults?: number | undefined;
1585
+ includeDomains?: string[] | undefined;
1586
+ excludeDomains?: string[] | undefined;
1587
+ startCrawlDate?: string | undefined;
1588
+ endCrawlDate?: string | undefined;
1589
+ startPublishedDate?: string | undefined;
1590
+ endPublishedDate?: string | undefined;
1591
+ category?: string | undefined;
1592
+ contents?: {
1593
+ text?: boolean | {
1594
+ maxCharacters?: number | undefined;
1595
+ includeHtmlTags?: boolean | undefined;
1596
+ } | undefined;
1597
+ highlights?: boolean | {
1598
+ query?: string | undefined;
1599
+ numSentences?: number | undefined;
1600
+ highlightsPerUrl?: number | undefined;
1601
+ } | undefined;
1602
+ summary?: boolean | {
1603
+ query?: string | undefined;
1604
+ } | undefined;
1605
+ } | undefined;
1606
+ excludeSourceDomain?: boolean | undefined;
1607
+ }>;
1608
+ readonly contentsGet: z.ZodObject<{
1609
+ ids: z.ZodArray<z.ZodString, "many">;
1610
+ text: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1611
+ maxCharacters: z.ZodOptional<z.ZodNumber>;
1612
+ includeHtmlTags: z.ZodOptional<z.ZodBoolean>;
1613
+ }, "strip", z.ZodTypeAny, {
1614
+ maxCharacters?: number | undefined;
1615
+ includeHtmlTags?: boolean | undefined;
1616
+ }, {
1617
+ maxCharacters?: number | undefined;
1618
+ includeHtmlTags?: boolean | undefined;
1619
+ }>, z.ZodBoolean]>>;
1620
+ highlights: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1621
+ numSentences: z.ZodOptional<z.ZodNumber>;
1622
+ highlightsPerUrl: z.ZodOptional<z.ZodNumber>;
1623
+ query: z.ZodOptional<z.ZodString>;
1624
+ }, "strip", z.ZodTypeAny, {
1625
+ query?: string | undefined;
1626
+ numSentences?: number | undefined;
1627
+ highlightsPerUrl?: number | undefined;
1628
+ }, {
1629
+ query?: string | undefined;
1630
+ numSentences?: number | undefined;
1631
+ highlightsPerUrl?: number | undefined;
1632
+ }>, z.ZodBoolean]>>;
1633
+ summary: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
1634
+ query: z.ZodOptional<z.ZodString>;
1635
+ }, "strip", z.ZodTypeAny, {
1636
+ query?: string | undefined;
1637
+ }, {
1638
+ query?: string | undefined;
1639
+ }>, z.ZodBoolean]>>;
1640
+ }, "strip", z.ZodTypeAny, {
1641
+ ids: string[];
1642
+ text?: boolean | {
1643
+ maxCharacters?: number | undefined;
1644
+ includeHtmlTags?: boolean | undefined;
1645
+ } | undefined;
1646
+ highlights?: boolean | {
1647
+ query?: string | undefined;
1648
+ numSentences?: number | undefined;
1649
+ highlightsPerUrl?: number | undefined;
1650
+ } | undefined;
1651
+ summary?: boolean | {
1652
+ query?: string | undefined;
1653
+ } | undefined;
1654
+ }, {
1655
+ ids: string[];
1656
+ text?: boolean | {
1657
+ maxCharacters?: number | undefined;
1658
+ includeHtmlTags?: boolean | undefined;
1659
+ } | undefined;
1660
+ highlights?: boolean | {
1661
+ query?: string | undefined;
1662
+ numSentences?: number | undefined;
1663
+ highlightsPerUrl?: number | undefined;
1664
+ } | undefined;
1665
+ summary?: boolean | {
1666
+ query?: string | undefined;
1667
+ } | undefined;
1668
+ }>;
1669
+ readonly answerGet: z.ZodObject<{
1670
+ query: z.ZodString;
1671
+ text: z.ZodOptional<z.ZodBoolean>;
1672
+ stream: z.ZodOptional<z.ZodBoolean>;
1673
+ }, "strip", z.ZodTypeAny, {
1674
+ query: string;
1675
+ text?: boolean | undefined;
1676
+ stream?: boolean | undefined;
1677
+ }, {
1678
+ query: string;
1679
+ text?: boolean | undefined;
1680
+ stream?: boolean | undefined;
1681
+ }>;
1682
+ readonly websetsCreate: z.ZodObject<{
1683
+ searches: z.ZodOptional<z.ZodArray<z.ZodObject<{
1684
+ query: z.ZodString;
1685
+ count: z.ZodOptional<z.ZodNumber>;
1686
+ entity: z.ZodOptional<z.ZodObject<{
1687
+ type: z.ZodOptional<z.ZodEnum<["company", "person", "article", "research paper", "repository", "event", "product", "video", "job", "podcast"]>>;
1688
+ }, "strip", z.ZodTypeAny, {
1689
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
1690
+ }, {
1691
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
1692
+ }>>;
1693
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
1694
+ description: z.ZodString;
1695
+ successRate: z.ZodOptional<z.ZodString>;
1696
+ }, "strip", z.ZodTypeAny, {
1697
+ description: string;
1698
+ successRate?: string | undefined;
1699
+ }, {
1700
+ description: string;
1701
+ successRate?: string | undefined;
1702
+ }>, "many">>;
1703
+ }, "strip", z.ZodTypeAny, {
1704
+ query: string;
1705
+ count?: number | undefined;
1706
+ entity?: {
1707
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
1708
+ } | undefined;
1709
+ criteria?: {
1710
+ description: string;
1711
+ successRate?: string | undefined;
1712
+ }[] | undefined;
1713
+ }, {
1714
+ query: string;
1715
+ count?: number | undefined;
1716
+ entity?: {
1717
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
1718
+ } | undefined;
1719
+ criteria?: {
1720
+ description: string;
1721
+ successRate?: string | undefined;
1722
+ }[] | undefined;
1723
+ }>, "many">>;
1724
+ enrichments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1725
+ description: z.ZodString;
1726
+ format: z.ZodOptional<z.ZodEnum<["text", "date", "number", "options", "boolean"]>>;
1727
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1728
+ }, "strip", z.ZodTypeAny, {
1729
+ description: string;
1730
+ options?: string[] | undefined;
1731
+ format?: "number" | "boolean" | "date" | "options" | "text" | undefined;
1732
+ }, {
1733
+ description: string;
1734
+ options?: string[] | undefined;
1735
+ format?: "number" | "boolean" | "date" | "options" | "text" | undefined;
1736
+ }>, "many">>;
1737
+ externalId: z.ZodOptional<z.ZodString>;
1738
+ }, "strip", z.ZodTypeAny, {
1739
+ externalId?: string | undefined;
1740
+ searches?: {
1741
+ query: string;
1742
+ count?: number | undefined;
1743
+ entity?: {
1744
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
1745
+ } | undefined;
1746
+ criteria?: {
1747
+ description: string;
1748
+ successRate?: string | undefined;
1749
+ }[] | undefined;
1750
+ }[] | undefined;
1751
+ enrichments?: {
1752
+ description: string;
1753
+ options?: string[] | undefined;
1754
+ format?: "number" | "boolean" | "date" | "options" | "text" | undefined;
1755
+ }[] | undefined;
1756
+ }, {
1757
+ externalId?: string | undefined;
1758
+ searches?: {
1759
+ query: string;
1760
+ count?: number | undefined;
1761
+ entity?: {
1762
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
1763
+ } | undefined;
1764
+ criteria?: {
1765
+ description: string;
1766
+ successRate?: string | undefined;
1767
+ }[] | undefined;
1768
+ }[] | undefined;
1769
+ enrichments?: {
1770
+ description: string;
1771
+ options?: string[] | undefined;
1772
+ format?: "number" | "boolean" | "date" | "options" | "text" | undefined;
1773
+ }[] | undefined;
1774
+ }>;
1775
+ readonly websetsGet: z.ZodObject<{
1776
+ id: z.ZodString;
1777
+ }, "strip", z.ZodTypeAny, {
1778
+ id: string;
1779
+ }, {
1780
+ id: string;
1781
+ }>;
1782
+ readonly websetsDelete: z.ZodObject<{
1783
+ id: z.ZodString;
1784
+ }, "strip", z.ZodTypeAny, {
1785
+ id: string;
1786
+ }, {
1787
+ id: string;
1788
+ }>;
1789
+ readonly importsCreate: z.ZodObject<{
1790
+ websetId: z.ZodString;
1791
+ urls: z.ZodArray<z.ZodString, "many">;
1792
+ }, "strip", z.ZodTypeAny, {
1793
+ websetId: string;
1794
+ urls: string[];
1795
+ }, {
1796
+ websetId: string;
1797
+ urls: string[];
1798
+ }>;
1799
+ readonly importsList: z.ZodObject<{
1800
+ websetId: z.ZodString;
1801
+ cursor: z.ZodOptional<z.ZodString>;
1802
+ limit: z.ZodOptional<z.ZodNumber>;
1803
+ }, "strip", z.ZodTypeAny, {
1804
+ websetId: string;
1805
+ limit?: number | undefined;
1806
+ cursor?: string | undefined;
1807
+ }, {
1808
+ websetId: string;
1809
+ limit?: number | undefined;
1810
+ cursor?: string | undefined;
1811
+ }>;
1812
+ readonly importsDelete: z.ZodObject<{
1813
+ websetId: z.ZodString;
1814
+ importId: z.ZodString;
1815
+ }, "strip", z.ZodTypeAny, {
1816
+ websetId: string;
1817
+ importId: string;
1818
+ }, {
1819
+ websetId: string;
1820
+ importId: string;
1821
+ }>;
1822
+ readonly monitorsCreate: z.ZodObject<{
1823
+ websetId: z.ZodString;
1824
+ cadence: z.ZodObject<{
1825
+ type: z.ZodEnum<["realtime", "hourly", "daily", "weekly"]>;
1826
+ }, "strip", z.ZodTypeAny, {
1827
+ type: "realtime" | "hourly" | "daily" | "weekly";
1828
+ }, {
1829
+ type: "realtime" | "hourly" | "daily" | "weekly";
1830
+ }>;
1831
+ }, "strip", z.ZodTypeAny, {
1832
+ websetId: string;
1833
+ cadence: {
1834
+ type: "realtime" | "hourly" | "daily" | "weekly";
1835
+ };
1836
+ }, {
1837
+ websetId: string;
1838
+ cadence: {
1839
+ type: "realtime" | "hourly" | "daily" | "weekly";
1840
+ };
1841
+ }>;
1842
+ readonly eventsList: z.ZodObject<{
1843
+ websetId: z.ZodString;
1844
+ cursor: z.ZodOptional<z.ZodString>;
1845
+ limit: z.ZodOptional<z.ZodNumber>;
1846
+ }, "strip", z.ZodTypeAny, {
1847
+ websetId: string;
1848
+ limit?: number | undefined;
1849
+ cursor?: string | undefined;
1850
+ }, {
1851
+ websetId: string;
1852
+ limit?: number | undefined;
1853
+ cursor?: string | undefined;
1854
+ }>;
1855
+ readonly eventsGet: z.ZodObject<{
1856
+ websetId: z.ZodString;
1857
+ eventId: z.ZodString;
1858
+ }, "strip", z.ZodTypeAny, {
1859
+ websetId: string;
1860
+ eventId: string;
1861
+ }, {
1862
+ websetId: string;
1863
+ eventId: string;
1864
+ }>;
1865
+ readonly webhooksApiList: z.ZodObject<{
1866
+ cursor: z.ZodOptional<z.ZodString>;
1867
+ limit: z.ZodOptional<z.ZodNumber>;
1868
+ }, "strip", z.ZodTypeAny, {
1869
+ limit?: number | undefined;
1870
+ cursor?: string | undefined;
1871
+ }, {
1872
+ limit?: number | undefined;
1873
+ cursor?: string | undefined;
1874
+ }>;
1875
+ };
1876
+ export declare const ExaEndpointOutputSchemas: {
1877
+ readonly searchSearch: z.ZodObject<{
1878
+ results: z.ZodArray<z.ZodObject<{
1879
+ id: z.ZodString;
1880
+ url: z.ZodString;
1881
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1882
+ publishedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1883
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1884
+ score: z.ZodOptional<z.ZodNumber>;
1885
+ text: z.ZodOptional<z.ZodString>;
1886
+ highlights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1887
+ highlightScores: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1888
+ summary: z.ZodOptional<z.ZodString>;
1889
+ }, "strip", z.ZodTypeAny, {
1890
+ id: string;
1891
+ url: string;
1892
+ text?: string | undefined;
1893
+ highlights?: string[] | undefined;
1894
+ summary?: string | undefined;
1895
+ title?: string | null | undefined;
1896
+ publishedDate?: string | null | undefined;
1897
+ author?: string | null | undefined;
1898
+ score?: number | undefined;
1899
+ highlightScores?: number[] | undefined;
1900
+ }, {
1901
+ id: string;
1902
+ url: string;
1903
+ text?: string | undefined;
1904
+ highlights?: string[] | undefined;
1905
+ summary?: string | undefined;
1906
+ title?: string | null | undefined;
1907
+ publishedDate?: string | null | undefined;
1908
+ author?: string | null | undefined;
1909
+ score?: number | undefined;
1910
+ highlightScores?: number[] | undefined;
1911
+ }>, "many">;
1912
+ autopromptString: z.ZodOptional<z.ZodString>;
1913
+ requestId: z.ZodOptional<z.ZodString>;
1914
+ }, "strip", z.ZodTypeAny, {
1915
+ results: {
1916
+ id: string;
1917
+ url: string;
1918
+ text?: string | undefined;
1919
+ highlights?: string[] | undefined;
1920
+ summary?: string | undefined;
1921
+ title?: string | null | undefined;
1922
+ publishedDate?: string | null | undefined;
1923
+ author?: string | null | undefined;
1924
+ score?: number | undefined;
1925
+ highlightScores?: number[] | undefined;
1926
+ }[];
1927
+ autopromptString?: string | undefined;
1928
+ requestId?: string | undefined;
1929
+ }, {
1930
+ results: {
1931
+ id: string;
1932
+ url: string;
1933
+ text?: string | undefined;
1934
+ highlights?: string[] | undefined;
1935
+ summary?: string | undefined;
1936
+ title?: string | null | undefined;
1937
+ publishedDate?: string | null | undefined;
1938
+ author?: string | null | undefined;
1939
+ score?: number | undefined;
1940
+ highlightScores?: number[] | undefined;
1941
+ }[];
1942
+ autopromptString?: string | undefined;
1943
+ requestId?: string | undefined;
1944
+ }>;
1945
+ readonly searchFindSimilar: z.ZodObject<{
1946
+ results: z.ZodArray<z.ZodObject<{
1947
+ id: z.ZodString;
1948
+ url: z.ZodString;
1949
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1950
+ publishedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1951
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1952
+ score: z.ZodOptional<z.ZodNumber>;
1953
+ text: z.ZodOptional<z.ZodString>;
1954
+ highlights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1955
+ highlightScores: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
1956
+ summary: z.ZodOptional<z.ZodString>;
1957
+ }, "strip", z.ZodTypeAny, {
1958
+ id: string;
1959
+ url: string;
1960
+ text?: string | undefined;
1961
+ highlights?: string[] | undefined;
1962
+ summary?: string | undefined;
1963
+ title?: string | null | undefined;
1964
+ publishedDate?: string | null | undefined;
1965
+ author?: string | null | undefined;
1966
+ score?: number | undefined;
1967
+ highlightScores?: number[] | undefined;
1968
+ }, {
1969
+ id: string;
1970
+ url: string;
1971
+ text?: string | undefined;
1972
+ highlights?: string[] | undefined;
1973
+ summary?: string | undefined;
1974
+ title?: string | null | undefined;
1975
+ publishedDate?: string | null | undefined;
1976
+ author?: string | null | undefined;
1977
+ score?: number | undefined;
1978
+ highlightScores?: number[] | undefined;
1979
+ }>, "many">;
1980
+ requestId: z.ZodOptional<z.ZodString>;
1981
+ }, "strip", z.ZodTypeAny, {
1982
+ results: {
1983
+ id: string;
1984
+ url: string;
1985
+ text?: string | undefined;
1986
+ highlights?: string[] | undefined;
1987
+ summary?: string | undefined;
1988
+ title?: string | null | undefined;
1989
+ publishedDate?: string | null | undefined;
1990
+ author?: string | null | undefined;
1991
+ score?: number | undefined;
1992
+ highlightScores?: number[] | undefined;
1993
+ }[];
1994
+ requestId?: string | undefined;
1995
+ }, {
1996
+ results: {
1997
+ id: string;
1998
+ url: string;
1999
+ text?: string | undefined;
2000
+ highlights?: string[] | undefined;
2001
+ summary?: string | undefined;
2002
+ title?: string | null | undefined;
2003
+ publishedDate?: string | null | undefined;
2004
+ author?: string | null | undefined;
2005
+ score?: number | undefined;
2006
+ highlightScores?: number[] | undefined;
2007
+ }[];
2008
+ requestId?: string | undefined;
2009
+ }>;
2010
+ readonly contentsGet: z.ZodObject<{
2011
+ results: z.ZodArray<z.ZodObject<{
2012
+ id: z.ZodString;
2013
+ url: z.ZodString;
2014
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2015
+ publishedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2016
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2017
+ score: z.ZodOptional<z.ZodNumber>;
2018
+ text: z.ZodOptional<z.ZodString>;
2019
+ highlights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2020
+ highlightScores: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2021
+ summary: z.ZodOptional<z.ZodString>;
2022
+ }, "strip", z.ZodTypeAny, {
2023
+ id: string;
2024
+ url: string;
2025
+ text?: string | undefined;
2026
+ highlights?: string[] | undefined;
2027
+ summary?: string | undefined;
2028
+ title?: string | null | undefined;
2029
+ publishedDate?: string | null | undefined;
2030
+ author?: string | null | undefined;
2031
+ score?: number | undefined;
2032
+ highlightScores?: number[] | undefined;
2033
+ }, {
2034
+ id: string;
2035
+ url: string;
2036
+ text?: string | undefined;
2037
+ highlights?: string[] | undefined;
2038
+ summary?: string | undefined;
2039
+ title?: string | null | undefined;
2040
+ publishedDate?: string | null | undefined;
2041
+ author?: string | null | undefined;
2042
+ score?: number | undefined;
2043
+ highlightScores?: number[] | undefined;
2044
+ }>, "many">;
2045
+ requestId: z.ZodOptional<z.ZodString>;
2046
+ }, "strip", z.ZodTypeAny, {
2047
+ results: {
2048
+ id: string;
2049
+ url: string;
2050
+ text?: string | undefined;
2051
+ highlights?: string[] | undefined;
2052
+ summary?: string | undefined;
2053
+ title?: string | null | undefined;
2054
+ publishedDate?: string | null | undefined;
2055
+ author?: string | null | undefined;
2056
+ score?: number | undefined;
2057
+ highlightScores?: number[] | undefined;
2058
+ }[];
2059
+ requestId?: string | undefined;
2060
+ }, {
2061
+ results: {
2062
+ id: string;
2063
+ url: string;
2064
+ text?: string | undefined;
2065
+ highlights?: string[] | undefined;
2066
+ summary?: string | undefined;
2067
+ title?: string | null | undefined;
2068
+ publishedDate?: string | null | undefined;
2069
+ author?: string | null | undefined;
2070
+ score?: number | undefined;
2071
+ highlightScores?: number[] | undefined;
2072
+ }[];
2073
+ requestId?: string | undefined;
2074
+ }>;
2075
+ readonly answerGet: z.ZodObject<{
2076
+ answer: z.ZodString;
2077
+ citations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2078
+ id: z.ZodString;
2079
+ url: z.ZodString;
2080
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2081
+ publishedDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2082
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2083
+ score: z.ZodOptional<z.ZodNumber>;
2084
+ text: z.ZodOptional<z.ZodString>;
2085
+ highlights: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2086
+ highlightScores: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
2087
+ summary: z.ZodOptional<z.ZodString>;
2088
+ }, "strip", z.ZodTypeAny, {
2089
+ id: string;
2090
+ url: string;
2091
+ text?: string | undefined;
2092
+ highlights?: string[] | undefined;
2093
+ summary?: string | undefined;
2094
+ title?: string | null | undefined;
2095
+ publishedDate?: string | null | undefined;
2096
+ author?: string | null | undefined;
2097
+ score?: number | undefined;
2098
+ highlightScores?: number[] | undefined;
2099
+ }, {
2100
+ id: string;
2101
+ url: string;
2102
+ text?: string | undefined;
2103
+ highlights?: string[] | undefined;
2104
+ summary?: string | undefined;
2105
+ title?: string | null | undefined;
2106
+ publishedDate?: string | null | undefined;
2107
+ author?: string | null | undefined;
2108
+ score?: number | undefined;
2109
+ highlightScores?: number[] | undefined;
2110
+ }>, "many">>;
2111
+ requestId: z.ZodOptional<z.ZodString>;
2112
+ }, "strip", z.ZodTypeAny, {
2113
+ answer: string;
2114
+ requestId?: string | undefined;
2115
+ citations?: {
2116
+ id: string;
2117
+ url: string;
2118
+ text?: string | undefined;
2119
+ highlights?: string[] | undefined;
2120
+ summary?: string | undefined;
2121
+ title?: string | null | undefined;
2122
+ publishedDate?: string | null | undefined;
2123
+ author?: string | null | undefined;
2124
+ score?: number | undefined;
2125
+ highlightScores?: number[] | undefined;
2126
+ }[] | undefined;
2127
+ }, {
2128
+ answer: string;
2129
+ requestId?: string | undefined;
2130
+ citations?: {
2131
+ id: string;
2132
+ url: string;
2133
+ text?: string | undefined;
2134
+ highlights?: string[] | undefined;
2135
+ summary?: string | undefined;
2136
+ title?: string | null | undefined;
2137
+ publishedDate?: string | null | undefined;
2138
+ author?: string | null | undefined;
2139
+ score?: number | undefined;
2140
+ highlightScores?: number[] | undefined;
2141
+ }[] | undefined;
2142
+ }>;
2143
+ readonly websetsCreate: z.ZodObject<{
2144
+ id: z.ZodString;
2145
+ object: z.ZodLiteral<"webset">;
2146
+ status: z.ZodEnum<["idle", "running", "paused", "done"]>;
2147
+ externalId: z.ZodOptional<z.ZodString>;
2148
+ searches: z.ZodOptional<z.ZodArray<z.ZodObject<{
2149
+ query: z.ZodString;
2150
+ count: z.ZodOptional<z.ZodNumber>;
2151
+ entity: z.ZodOptional<z.ZodObject<{
2152
+ type: z.ZodOptional<z.ZodEnum<["company", "person", "article", "research paper", "repository", "event", "product", "video", "job", "podcast"]>>;
2153
+ }, "strip", z.ZodTypeAny, {
2154
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
2155
+ }, {
2156
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
2157
+ }>>;
2158
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
2159
+ description: z.ZodString;
2160
+ successRate: z.ZodOptional<z.ZodString>;
2161
+ }, "strip", z.ZodTypeAny, {
2162
+ description: string;
2163
+ successRate?: string | undefined;
2164
+ }, {
2165
+ description: string;
2166
+ successRate?: string | undefined;
2167
+ }>, "many">>;
2168
+ }, "strip", z.ZodTypeAny, {
2169
+ query: string;
2170
+ count?: number | undefined;
2171
+ entity?: {
2172
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
2173
+ } | undefined;
2174
+ criteria?: {
2175
+ description: string;
2176
+ successRate?: string | undefined;
2177
+ }[] | undefined;
2178
+ }, {
2179
+ query: string;
2180
+ count?: number | undefined;
2181
+ entity?: {
2182
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
2183
+ } | undefined;
2184
+ criteria?: {
2185
+ description: string;
2186
+ successRate?: string | undefined;
2187
+ }[] | undefined;
2188
+ }>, "many">>;
2189
+ enrichments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2190
+ id: z.ZodString;
2191
+ description: z.ZodString;
2192
+ format: z.ZodEnum<["text", "date", "number", "options", "boolean"]>;
2193
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2194
+ createdAt: z.ZodString;
2195
+ updatedAt: z.ZodString;
2196
+ }, "strip", z.ZodTypeAny, {
2197
+ id: string;
2198
+ description: string;
2199
+ format: "number" | "boolean" | "date" | "options" | "text";
2200
+ createdAt: string;
2201
+ updatedAt: string;
2202
+ options?: string[] | undefined;
2203
+ }, {
2204
+ id: string;
2205
+ description: string;
2206
+ format: "number" | "boolean" | "date" | "options" | "text";
2207
+ createdAt: string;
2208
+ updatedAt: string;
2209
+ options?: string[] | undefined;
2210
+ }>, "many">>;
2211
+ imports: z.ZodOptional<z.ZodArray<z.ZodObject<{
2212
+ id: z.ZodString;
2213
+ object: z.ZodLiteral<"import">;
2214
+ websetId: z.ZodString;
2215
+ urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2216
+ status: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>;
2217
+ createdAt: z.ZodString;
2218
+ updatedAt: z.ZodOptional<z.ZodString>;
2219
+ }, "strip", z.ZodTypeAny, {
2220
+ object: "import";
2221
+ id: string;
2222
+ createdAt: string;
2223
+ websetId: string;
2224
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
2225
+ updatedAt?: string | undefined;
2226
+ urls?: string[] | undefined;
2227
+ }, {
2228
+ object: "import";
2229
+ id: string;
2230
+ createdAt: string;
2231
+ websetId: string;
2232
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
2233
+ updatedAt?: string | undefined;
2234
+ urls?: string[] | undefined;
2235
+ }>, "many">>;
2236
+ monitors: z.ZodOptional<z.ZodArray<z.ZodObject<{
2237
+ id: z.ZodString;
2238
+ object: z.ZodLiteral<"monitor">;
2239
+ websetId: z.ZodString;
2240
+ cadence: z.ZodObject<{
2241
+ type: z.ZodEnum<["realtime", "hourly", "daily", "weekly"]>;
2242
+ }, "strip", z.ZodTypeAny, {
2243
+ type: "realtime" | "hourly" | "daily" | "weekly";
2244
+ }, {
2245
+ type: "realtime" | "hourly" | "daily" | "weekly";
2246
+ }>;
2247
+ createdAt: z.ZodString;
2248
+ updatedAt: z.ZodOptional<z.ZodString>;
2249
+ }, "strip", z.ZodTypeAny, {
2250
+ object: "monitor";
2251
+ id: string;
2252
+ createdAt: string;
2253
+ websetId: string;
2254
+ cadence: {
2255
+ type: "realtime" | "hourly" | "daily" | "weekly";
2256
+ };
2257
+ updatedAt?: string | undefined;
2258
+ }, {
2259
+ object: "monitor";
2260
+ id: string;
2261
+ createdAt: string;
2262
+ websetId: string;
2263
+ cadence: {
2264
+ type: "realtime" | "hourly" | "daily" | "weekly";
2265
+ };
2266
+ updatedAt?: string | undefined;
2267
+ }>, "many">>;
2268
+ createdAt: z.ZodString;
2269
+ updatedAt: z.ZodString;
2270
+ }, "strip", z.ZodTypeAny, {
2271
+ object: "webset";
2272
+ id: string;
2273
+ status: "idle" | "running" | "paused" | "done";
2274
+ createdAt: string;
2275
+ updatedAt: string;
2276
+ externalId?: string | undefined;
2277
+ searches?: {
2278
+ query: string;
2279
+ count?: number | undefined;
2280
+ entity?: {
2281
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
2282
+ } | undefined;
2283
+ criteria?: {
2284
+ description: string;
2285
+ successRate?: string | undefined;
2286
+ }[] | undefined;
2287
+ }[] | undefined;
2288
+ enrichments?: {
2289
+ id: string;
2290
+ description: string;
2291
+ format: "number" | "boolean" | "date" | "options" | "text";
2292
+ createdAt: string;
2293
+ updatedAt: string;
2294
+ options?: string[] | undefined;
2295
+ }[] | undefined;
2296
+ imports?: {
2297
+ object: "import";
2298
+ id: string;
2299
+ createdAt: string;
2300
+ websetId: string;
2301
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
2302
+ updatedAt?: string | undefined;
2303
+ urls?: string[] | undefined;
2304
+ }[] | undefined;
2305
+ monitors?: {
2306
+ object: "monitor";
2307
+ id: string;
2308
+ createdAt: string;
2309
+ websetId: string;
2310
+ cadence: {
2311
+ type: "realtime" | "hourly" | "daily" | "weekly";
2312
+ };
2313
+ updatedAt?: string | undefined;
2314
+ }[] | undefined;
2315
+ }, {
2316
+ object: "webset";
2317
+ id: string;
2318
+ status: "idle" | "running" | "paused" | "done";
2319
+ createdAt: string;
2320
+ updatedAt: string;
2321
+ externalId?: string | undefined;
2322
+ searches?: {
2323
+ query: string;
2324
+ count?: number | undefined;
2325
+ entity?: {
2326
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
2327
+ } | undefined;
2328
+ criteria?: {
2329
+ description: string;
2330
+ successRate?: string | undefined;
2331
+ }[] | undefined;
2332
+ }[] | undefined;
2333
+ enrichments?: {
2334
+ id: string;
2335
+ description: string;
2336
+ format: "number" | "boolean" | "date" | "options" | "text";
2337
+ createdAt: string;
2338
+ updatedAt: string;
2339
+ options?: string[] | undefined;
2340
+ }[] | undefined;
2341
+ imports?: {
2342
+ object: "import";
2343
+ id: string;
2344
+ createdAt: string;
2345
+ websetId: string;
2346
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
2347
+ updatedAt?: string | undefined;
2348
+ urls?: string[] | undefined;
2349
+ }[] | undefined;
2350
+ monitors?: {
2351
+ object: "monitor";
2352
+ id: string;
2353
+ createdAt: string;
2354
+ websetId: string;
2355
+ cadence: {
2356
+ type: "realtime" | "hourly" | "daily" | "weekly";
2357
+ };
2358
+ updatedAt?: string | undefined;
2359
+ }[] | undefined;
2360
+ }>;
2361
+ readonly websetsGet: z.ZodObject<{
2362
+ id: z.ZodString;
2363
+ object: z.ZodLiteral<"webset">;
2364
+ status: z.ZodEnum<["idle", "running", "paused", "done"]>;
2365
+ externalId: z.ZodOptional<z.ZodString>;
2366
+ searches: z.ZodOptional<z.ZodArray<z.ZodObject<{
2367
+ query: z.ZodString;
2368
+ count: z.ZodOptional<z.ZodNumber>;
2369
+ entity: z.ZodOptional<z.ZodObject<{
2370
+ type: z.ZodOptional<z.ZodEnum<["company", "person", "article", "research paper", "repository", "event", "product", "video", "job", "podcast"]>>;
2371
+ }, "strip", z.ZodTypeAny, {
2372
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
2373
+ }, {
2374
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
2375
+ }>>;
2376
+ criteria: z.ZodOptional<z.ZodArray<z.ZodObject<{
2377
+ description: z.ZodString;
2378
+ successRate: z.ZodOptional<z.ZodString>;
2379
+ }, "strip", z.ZodTypeAny, {
2380
+ description: string;
2381
+ successRate?: string | undefined;
2382
+ }, {
2383
+ description: string;
2384
+ successRate?: string | undefined;
2385
+ }>, "many">>;
2386
+ }, "strip", z.ZodTypeAny, {
2387
+ query: string;
2388
+ count?: number | undefined;
2389
+ entity?: {
2390
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
2391
+ } | undefined;
2392
+ criteria?: {
2393
+ description: string;
2394
+ successRate?: string | undefined;
2395
+ }[] | undefined;
2396
+ }, {
2397
+ query: string;
2398
+ count?: number | undefined;
2399
+ entity?: {
2400
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
2401
+ } | undefined;
2402
+ criteria?: {
2403
+ description: string;
2404
+ successRate?: string | undefined;
2405
+ }[] | undefined;
2406
+ }>, "many">>;
2407
+ enrichments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2408
+ id: z.ZodString;
2409
+ description: z.ZodString;
2410
+ format: z.ZodEnum<["text", "date", "number", "options", "boolean"]>;
2411
+ options: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2412
+ createdAt: z.ZodString;
2413
+ updatedAt: z.ZodString;
2414
+ }, "strip", z.ZodTypeAny, {
2415
+ id: string;
2416
+ description: string;
2417
+ format: "number" | "boolean" | "date" | "options" | "text";
2418
+ createdAt: string;
2419
+ updatedAt: string;
2420
+ options?: string[] | undefined;
2421
+ }, {
2422
+ id: string;
2423
+ description: string;
2424
+ format: "number" | "boolean" | "date" | "options" | "text";
2425
+ createdAt: string;
2426
+ updatedAt: string;
2427
+ options?: string[] | undefined;
2428
+ }>, "many">>;
2429
+ imports: z.ZodOptional<z.ZodArray<z.ZodObject<{
2430
+ id: z.ZodString;
2431
+ object: z.ZodLiteral<"import">;
2432
+ websetId: z.ZodString;
2433
+ urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2434
+ status: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>;
2435
+ createdAt: z.ZodString;
2436
+ updatedAt: z.ZodOptional<z.ZodString>;
2437
+ }, "strip", z.ZodTypeAny, {
2438
+ object: "import";
2439
+ id: string;
2440
+ createdAt: string;
2441
+ websetId: string;
2442
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
2443
+ updatedAt?: string | undefined;
2444
+ urls?: string[] | undefined;
2445
+ }, {
2446
+ object: "import";
2447
+ id: string;
2448
+ createdAt: string;
2449
+ websetId: string;
2450
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
2451
+ updatedAt?: string | undefined;
2452
+ urls?: string[] | undefined;
2453
+ }>, "many">>;
2454
+ monitors: z.ZodOptional<z.ZodArray<z.ZodObject<{
2455
+ id: z.ZodString;
2456
+ object: z.ZodLiteral<"monitor">;
2457
+ websetId: z.ZodString;
2458
+ cadence: z.ZodObject<{
2459
+ type: z.ZodEnum<["realtime", "hourly", "daily", "weekly"]>;
2460
+ }, "strip", z.ZodTypeAny, {
2461
+ type: "realtime" | "hourly" | "daily" | "weekly";
2462
+ }, {
2463
+ type: "realtime" | "hourly" | "daily" | "weekly";
2464
+ }>;
2465
+ createdAt: z.ZodString;
2466
+ updatedAt: z.ZodOptional<z.ZodString>;
2467
+ }, "strip", z.ZodTypeAny, {
2468
+ object: "monitor";
2469
+ id: string;
2470
+ createdAt: string;
2471
+ websetId: string;
2472
+ cadence: {
2473
+ type: "realtime" | "hourly" | "daily" | "weekly";
2474
+ };
2475
+ updatedAt?: string | undefined;
2476
+ }, {
2477
+ object: "monitor";
2478
+ id: string;
2479
+ createdAt: string;
2480
+ websetId: string;
2481
+ cadence: {
2482
+ type: "realtime" | "hourly" | "daily" | "weekly";
2483
+ };
2484
+ updatedAt?: string | undefined;
2485
+ }>, "many">>;
2486
+ createdAt: z.ZodString;
2487
+ updatedAt: z.ZodString;
2488
+ }, "strip", z.ZodTypeAny, {
2489
+ object: "webset";
2490
+ id: string;
2491
+ status: "idle" | "running" | "paused" | "done";
2492
+ createdAt: string;
2493
+ updatedAt: string;
2494
+ externalId?: string | undefined;
2495
+ searches?: {
2496
+ query: string;
2497
+ count?: number | undefined;
2498
+ entity?: {
2499
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
2500
+ } | undefined;
2501
+ criteria?: {
2502
+ description: string;
2503
+ successRate?: string | undefined;
2504
+ }[] | undefined;
2505
+ }[] | undefined;
2506
+ enrichments?: {
2507
+ id: string;
2508
+ description: string;
2509
+ format: "number" | "boolean" | "date" | "options" | "text";
2510
+ createdAt: string;
2511
+ updatedAt: string;
2512
+ options?: string[] | undefined;
2513
+ }[] | undefined;
2514
+ imports?: {
2515
+ object: "import";
2516
+ id: string;
2517
+ createdAt: string;
2518
+ websetId: string;
2519
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
2520
+ updatedAt?: string | undefined;
2521
+ urls?: string[] | undefined;
2522
+ }[] | undefined;
2523
+ monitors?: {
2524
+ object: "monitor";
2525
+ id: string;
2526
+ createdAt: string;
2527
+ websetId: string;
2528
+ cadence: {
2529
+ type: "realtime" | "hourly" | "daily" | "weekly";
2530
+ };
2531
+ updatedAt?: string | undefined;
2532
+ }[] | undefined;
2533
+ }, {
2534
+ object: "webset";
2535
+ id: string;
2536
+ status: "idle" | "running" | "paused" | "done";
2537
+ createdAt: string;
2538
+ updatedAt: string;
2539
+ externalId?: string | undefined;
2540
+ searches?: {
2541
+ query: string;
2542
+ count?: number | undefined;
2543
+ entity?: {
2544
+ type?: "company" | "person" | "article" | "research paper" | "repository" | "event" | "product" | "video" | "job" | "podcast" | undefined;
2545
+ } | undefined;
2546
+ criteria?: {
2547
+ description: string;
2548
+ successRate?: string | undefined;
2549
+ }[] | undefined;
2550
+ }[] | undefined;
2551
+ enrichments?: {
2552
+ id: string;
2553
+ description: string;
2554
+ format: "number" | "boolean" | "date" | "options" | "text";
2555
+ createdAt: string;
2556
+ updatedAt: string;
2557
+ options?: string[] | undefined;
2558
+ }[] | undefined;
2559
+ imports?: {
2560
+ object: "import";
2561
+ id: string;
2562
+ createdAt: string;
2563
+ websetId: string;
2564
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
2565
+ updatedAt?: string | undefined;
2566
+ urls?: string[] | undefined;
2567
+ }[] | undefined;
2568
+ monitors?: {
2569
+ object: "monitor";
2570
+ id: string;
2571
+ createdAt: string;
2572
+ websetId: string;
2573
+ cadence: {
2574
+ type: "realtime" | "hourly" | "daily" | "weekly";
2575
+ };
2576
+ updatedAt?: string | undefined;
2577
+ }[] | undefined;
2578
+ }>;
2579
+ readonly websetsDelete: z.ZodObject<{
2580
+ id: z.ZodString;
2581
+ object: z.ZodLiteral<"webset">;
2582
+ deleted: z.ZodBoolean;
2583
+ }, "strip", z.ZodTypeAny, {
2584
+ object: "webset";
2585
+ id: string;
2586
+ deleted: boolean;
2587
+ }, {
2588
+ object: "webset";
2589
+ id: string;
2590
+ deleted: boolean;
2591
+ }>;
2592
+ readonly importsCreate: z.ZodObject<{
2593
+ id: z.ZodString;
2594
+ object: z.ZodLiteral<"import">;
2595
+ websetId: z.ZodString;
2596
+ urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2597
+ status: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>;
2598
+ createdAt: z.ZodString;
2599
+ updatedAt: z.ZodOptional<z.ZodString>;
2600
+ }, "strip", z.ZodTypeAny, {
2601
+ object: "import";
2602
+ id: string;
2603
+ createdAt: string;
2604
+ websetId: string;
2605
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
2606
+ updatedAt?: string | undefined;
2607
+ urls?: string[] | undefined;
2608
+ }, {
2609
+ object: "import";
2610
+ id: string;
2611
+ createdAt: string;
2612
+ websetId: string;
2613
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
2614
+ updatedAt?: string | undefined;
2615
+ urls?: string[] | undefined;
2616
+ }>;
2617
+ readonly importsList: z.ZodObject<{
2618
+ data: z.ZodArray<z.ZodObject<{
2619
+ id: z.ZodString;
2620
+ object: z.ZodLiteral<"import">;
2621
+ websetId: z.ZodString;
2622
+ urls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2623
+ status: z.ZodOptional<z.ZodEnum<["pending", "processing", "completed", "failed"]>>;
2624
+ createdAt: z.ZodString;
2625
+ updatedAt: z.ZodOptional<z.ZodString>;
2626
+ }, "strip", z.ZodTypeAny, {
2627
+ object: "import";
2628
+ id: string;
2629
+ createdAt: string;
2630
+ websetId: string;
2631
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
2632
+ updatedAt?: string | undefined;
2633
+ urls?: string[] | undefined;
2634
+ }, {
2635
+ object: "import";
2636
+ id: string;
2637
+ createdAt: string;
2638
+ websetId: string;
2639
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
2640
+ updatedAt?: string | undefined;
2641
+ urls?: string[] | undefined;
2642
+ }>, "many">;
2643
+ hasMore: z.ZodOptional<z.ZodBoolean>;
2644
+ nextCursor: z.ZodOptional<z.ZodString>;
2645
+ }, "strip", z.ZodTypeAny, {
2646
+ data: {
2647
+ object: "import";
2648
+ id: string;
2649
+ createdAt: string;
2650
+ websetId: string;
2651
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
2652
+ updatedAt?: string | undefined;
2653
+ urls?: string[] | undefined;
2654
+ }[];
2655
+ hasMore?: boolean | undefined;
2656
+ nextCursor?: string | undefined;
2657
+ }, {
2658
+ data: {
2659
+ object: "import";
2660
+ id: string;
2661
+ createdAt: string;
2662
+ websetId: string;
2663
+ status?: "pending" | "processing" | "completed" | "failed" | undefined;
2664
+ updatedAt?: string | undefined;
2665
+ urls?: string[] | undefined;
2666
+ }[];
2667
+ hasMore?: boolean | undefined;
2668
+ nextCursor?: string | undefined;
2669
+ }>;
2670
+ readonly importsDelete: z.ZodObject<{
2671
+ id: z.ZodString;
2672
+ deleted: z.ZodBoolean;
2673
+ }, "strip", z.ZodTypeAny, {
2674
+ id: string;
2675
+ deleted: boolean;
2676
+ }, {
2677
+ id: string;
2678
+ deleted: boolean;
2679
+ }>;
2680
+ readonly monitorsCreate: z.ZodObject<{
2681
+ id: z.ZodString;
2682
+ object: z.ZodLiteral<"monitor">;
2683
+ websetId: z.ZodString;
2684
+ cadence: z.ZodObject<{
2685
+ type: z.ZodEnum<["realtime", "hourly", "daily", "weekly"]>;
2686
+ }, "strip", z.ZodTypeAny, {
2687
+ type: "realtime" | "hourly" | "daily" | "weekly";
2688
+ }, {
2689
+ type: "realtime" | "hourly" | "daily" | "weekly";
2690
+ }>;
2691
+ createdAt: z.ZodString;
2692
+ updatedAt: z.ZodOptional<z.ZodString>;
2693
+ }, "strip", z.ZodTypeAny, {
2694
+ object: "monitor";
2695
+ id: string;
2696
+ createdAt: string;
2697
+ websetId: string;
2698
+ cadence: {
2699
+ type: "realtime" | "hourly" | "daily" | "weekly";
2700
+ };
2701
+ updatedAt?: string | undefined;
2702
+ }, {
2703
+ object: "monitor";
2704
+ id: string;
2705
+ createdAt: string;
2706
+ websetId: string;
2707
+ cadence: {
2708
+ type: "realtime" | "hourly" | "daily" | "weekly";
2709
+ };
2710
+ updatedAt?: string | undefined;
2711
+ }>;
2712
+ readonly eventsList: z.ZodObject<{
2713
+ data: z.ZodArray<z.ZodObject<{
2714
+ id: z.ZodString;
2715
+ object: z.ZodLiteral<"event">;
2716
+ type: z.ZodString;
2717
+ createdAt: z.ZodString;
2718
+ data: z.ZodOptional<z.ZodUnknown>;
2719
+ }, "strip", z.ZodTypeAny, {
2720
+ object: "event";
2721
+ id: string;
2722
+ type: string;
2723
+ createdAt: string;
2724
+ data?: unknown;
2725
+ }, {
2726
+ object: "event";
2727
+ id: string;
2728
+ type: string;
2729
+ createdAt: string;
2730
+ data?: unknown;
2731
+ }>, "many">;
2732
+ hasMore: z.ZodOptional<z.ZodBoolean>;
2733
+ nextCursor: z.ZodOptional<z.ZodString>;
2734
+ }, "strip", z.ZodTypeAny, {
2735
+ data: {
2736
+ object: "event";
2737
+ id: string;
2738
+ type: string;
2739
+ createdAt: string;
2740
+ data?: unknown;
2741
+ }[];
2742
+ hasMore?: boolean | undefined;
2743
+ nextCursor?: string | undefined;
2744
+ }, {
2745
+ data: {
2746
+ object: "event";
2747
+ id: string;
2748
+ type: string;
2749
+ createdAt: string;
2750
+ data?: unknown;
2751
+ }[];
2752
+ hasMore?: boolean | undefined;
2753
+ nextCursor?: string | undefined;
2754
+ }>;
2755
+ readonly eventsGet: z.ZodObject<{
2756
+ id: z.ZodString;
2757
+ object: z.ZodLiteral<"event">;
2758
+ type: z.ZodString;
2759
+ createdAt: z.ZodString;
2760
+ data: z.ZodOptional<z.ZodUnknown>;
2761
+ }, "strip", z.ZodTypeAny, {
2762
+ object: "event";
2763
+ id: string;
2764
+ type: string;
2765
+ createdAt: string;
2766
+ data?: unknown;
2767
+ }, {
2768
+ object: "event";
2769
+ id: string;
2770
+ type: string;
2771
+ createdAt: string;
2772
+ data?: unknown;
2773
+ }>;
2774
+ readonly webhooksApiList: z.ZodObject<{
2775
+ data: z.ZodArray<z.ZodObject<{
2776
+ id: z.ZodString;
2777
+ object: z.ZodLiteral<"webhook">;
2778
+ url: z.ZodString;
2779
+ events: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2780
+ status: z.ZodOptional<z.ZodEnum<["active", "inactive"]>>;
2781
+ createdAt: z.ZodString;
2782
+ updatedAt: z.ZodOptional<z.ZodString>;
2783
+ }, "strip", z.ZodTypeAny, {
2784
+ object: "webhook";
2785
+ id: string;
2786
+ url: string;
2787
+ createdAt: string;
2788
+ status?: "active" | "inactive" | undefined;
2789
+ updatedAt?: string | undefined;
2790
+ events?: string[] | undefined;
2791
+ }, {
2792
+ object: "webhook";
2793
+ id: string;
2794
+ url: string;
2795
+ createdAt: string;
2796
+ status?: "active" | "inactive" | undefined;
2797
+ updatedAt?: string | undefined;
2798
+ events?: string[] | undefined;
2799
+ }>, "many">;
2800
+ hasMore: z.ZodOptional<z.ZodBoolean>;
2801
+ nextCursor: z.ZodOptional<z.ZodString>;
2802
+ }, "strip", z.ZodTypeAny, {
2803
+ data: {
2804
+ object: "webhook";
2805
+ id: string;
2806
+ url: string;
2807
+ createdAt: string;
2808
+ status?: "active" | "inactive" | undefined;
2809
+ updatedAt?: string | undefined;
2810
+ events?: string[] | undefined;
2811
+ }[];
2812
+ hasMore?: boolean | undefined;
2813
+ nextCursor?: string | undefined;
2814
+ }, {
2815
+ data: {
2816
+ object: "webhook";
2817
+ id: string;
2818
+ url: string;
2819
+ createdAt: string;
2820
+ status?: "active" | "inactive" | undefined;
2821
+ updatedAt?: string | undefined;
2822
+ events?: string[] | undefined;
2823
+ }[];
2824
+ hasMore?: boolean | undefined;
2825
+ nextCursor?: string | undefined;
2826
+ }>;
2827
+ };
2828
+ export {};
2829
+ //# sourceMappingURL=types.d.ts.map