@bubblelab/bubble-core 0.1.70 → 0.1.72

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.
@@ -550,8 +550,8 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
550
550
  allow_duplicate_linkedin: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
551
551
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
552
552
  }, "strip", z.ZodTypeAny, {
553
- name: string;
554
553
  operation: "create_candidate";
554
+ name: string;
555
555
  allow_duplicate_linkedin: boolean;
556
556
  credentials?: Partial<Record<CredentialType, string>> | undefined;
557
557
  website?: string | undefined;
@@ -566,8 +566,8 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
566
566
  credited_to_user_id?: string | undefined;
567
567
  tag?: string | undefined;
568
568
  }, {
569
- name: string;
570
569
  operation: "create_candidate";
570
+ name: string;
571
571
  credentials?: Partial<Record<CredentialType, string>> | undefined;
572
572
  website?: string | undefined;
573
573
  emails?: {
@@ -589,13 +589,13 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
589
589
  }, "strip", z.ZodTypeAny, {
590
590
  operation: "search_candidates";
591
591
  name?: string | undefined;
592
- credentials?: Partial<Record<CredentialType, string>> | undefined;
593
592
  email?: string | undefined;
593
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
594
594
  }, {
595
595
  operation: "search_candidates";
596
596
  name?: string | undefined;
597
- credentials?: Partial<Record<CredentialType, string>> | undefined;
598
597
  email?: string | undefined;
598
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
599
599
  }>, z.ZodObject<{
600
600
  operation: z.ZodLiteral<"add_tag">;
601
601
  candidate_id: z.ZodString;
@@ -628,12 +628,12 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
628
628
  title: z.ZodString;
629
629
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
630
630
  }, "strip", z.ZodTypeAny, {
631
- title: string;
632
631
  operation: "create_tag";
632
+ title: string;
633
633
  credentials?: Partial<Record<CredentialType, string>> | undefined;
634
634
  }, {
635
- title: string;
636
635
  operation: "create_tag";
636
+ title: string;
637
637
  credentials?: Partial<Record<CredentialType, string>> | undefined;
638
638
  }>, z.ZodObject<{
639
639
  operation: z.ZodLiteral<"list_custom_fields">;
@@ -897,9 +897,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
897
897
  sync_token: z.ZodOptional<z.ZodString>;
898
898
  error: z.ZodString;
899
899
  }, "strip", z.ZodTypeAny, {
900
- error: string;
901
- success: boolean;
902
900
  operation: "list_candidates";
901
+ success: boolean;
902
+ error: string;
903
903
  next_cursor?: string | undefined;
904
904
  sync_token?: string | undefined;
905
905
  candidates?: {
@@ -959,9 +959,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
959
959
  }[] | undefined;
960
960
  more_data_available?: boolean | undefined;
961
961
  }, {
962
- error: string;
963
- success: boolean;
964
962
  operation: "list_candidates";
963
+ success: boolean;
964
+ error: string;
965
965
  next_cursor?: string | undefined;
966
966
  sync_token?: string | undefined;
967
967
  candidates?: {
@@ -1115,9 +1115,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1115
1115
  }>>;
1116
1116
  error: z.ZodString;
1117
1117
  }, "strip", z.ZodTypeAny, {
1118
- error: string;
1119
- success: boolean;
1120
1118
  operation: "get_candidate";
1119
+ success: boolean;
1120
+ error: string;
1121
1121
  candidate?: {
1122
1122
  name: string;
1123
1123
  id: string;
@@ -1141,9 +1141,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1141
1141
  }[] | undefined;
1142
1142
  } | undefined;
1143
1143
  }, {
1144
- error: string;
1145
- success: boolean;
1146
1144
  operation: "get_candidate";
1145
+ success: boolean;
1146
+ error: string;
1147
1147
  candidate?: {
1148
1148
  name: string;
1149
1149
  id: string;
@@ -1262,9 +1262,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1262
1262
  duplicate: z.ZodOptional<z.ZodBoolean>;
1263
1263
  error: z.ZodString;
1264
1264
  }, "strip", z.ZodTypeAny, {
1265
- error: string;
1266
- success: boolean;
1267
1265
  operation: "create_candidate";
1266
+ success: boolean;
1267
+ error: string;
1268
1268
  candidate?: {
1269
1269
  name: string;
1270
1270
  id: string;
@@ -1289,9 +1289,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1289
1289
  } | undefined;
1290
1290
  duplicate?: boolean | undefined;
1291
1291
  }, {
1292
- error: string;
1293
- success: boolean;
1294
1292
  operation: "create_candidate";
1293
+ success: boolean;
1294
+ error: string;
1295
1295
  candidate?: {
1296
1296
  name: string;
1297
1297
  id: string;
@@ -1410,9 +1410,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1410
1410
  }>, "many">>;
1411
1411
  error: z.ZodString;
1412
1412
  }, "strip", z.ZodTypeAny, {
1413
- error: string;
1414
- success: boolean;
1415
1413
  operation: "search_candidates";
1414
+ success: boolean;
1415
+ error: string;
1416
1416
  candidates?: {
1417
1417
  name: string;
1418
1418
  id: string;
@@ -1436,9 +1436,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1436
1436
  }[] | undefined;
1437
1437
  }[] | undefined;
1438
1438
  }, {
1439
- error: string;
1440
- success: boolean;
1441
1439
  operation: "search_candidates";
1440
+ success: boolean;
1441
+ error: string;
1442
1442
  candidates?: {
1443
1443
  name: string;
1444
1444
  id: string;
@@ -1556,9 +1556,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1556
1556
  }>>;
1557
1557
  error: z.ZodString;
1558
1558
  }, "strip", z.ZodTypeAny, {
1559
- error: string;
1560
- success: boolean;
1561
1559
  operation: "add_tag";
1560
+ success: boolean;
1561
+ error: string;
1562
1562
  candidate?: {
1563
1563
  name: string;
1564
1564
  id: string;
@@ -1582,9 +1582,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1582
1582
  }[] | undefined;
1583
1583
  } | undefined;
1584
1584
  }, {
1585
- error: string;
1586
- success: boolean;
1587
1585
  operation: "add_tag";
1586
+ success: boolean;
1587
+ error: string;
1588
1588
  candidate?: {
1589
1589
  name: string;
1590
1590
  id: string;
@@ -1625,18 +1625,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1625
1625
  }>, "many">>;
1626
1626
  error: z.ZodString;
1627
1627
  }, "strip", z.ZodTypeAny, {
1628
- error: string;
1629
- success: boolean;
1630
1628
  operation: "list_tags";
1629
+ success: boolean;
1630
+ error: string;
1631
1631
  tags?: {
1632
1632
  title: string;
1633
1633
  id: string;
1634
1634
  isArchived?: boolean | undefined;
1635
1635
  }[] | undefined;
1636
1636
  }, {
1637
- error: string;
1638
- success: boolean;
1639
1637
  operation: "list_tags";
1638
+ success: boolean;
1639
+ error: string;
1640
1640
  tags?: {
1641
1641
  title: string;
1642
1642
  id: string;
@@ -1660,18 +1660,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1660
1660
  }>>;
1661
1661
  error: z.ZodString;
1662
1662
  }, "strip", z.ZodTypeAny, {
1663
- error: string;
1664
- success: boolean;
1665
1663
  operation: "create_tag";
1664
+ success: boolean;
1665
+ error: string;
1666
1666
  tag?: {
1667
1667
  title: string;
1668
1668
  id: string;
1669
1669
  isArchived?: boolean | undefined;
1670
1670
  } | undefined;
1671
1671
  }, {
1672
- error: string;
1673
- success: boolean;
1674
1672
  operation: "create_tag";
1673
+ success: boolean;
1674
+ error: string;
1675
1675
  tag?: {
1676
1676
  title: string;
1677
1677
  id: string;
@@ -1730,9 +1730,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1730
1730
  sync_token: z.ZodOptional<z.ZodString>;
1731
1731
  error: z.ZodString;
1732
1732
  }, "strip", z.ZodTypeAny, {
1733
- error: string;
1734
- success: boolean;
1735
1733
  operation: "list_custom_fields";
1734
+ success: boolean;
1735
+ error: string;
1736
1736
  next_cursor?: string | undefined;
1737
1737
  sync_token?: string | undefined;
1738
1738
  more_data_available?: boolean | undefined;
@@ -1750,9 +1750,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1750
1750
  }[] | undefined;
1751
1751
  }[] | undefined;
1752
1752
  }, {
1753
- error: string;
1754
- success: boolean;
1755
1753
  operation: "list_custom_fields";
1754
+ success: boolean;
1755
+ error: string;
1756
1756
  next_cursor?: string | undefined;
1757
1757
  sync_token?: string | undefined;
1758
1758
  more_data_available?: boolean | undefined;
@@ -151,14 +151,14 @@ export declare const ExternalProxySchema: z.ZodObject<{
151
151
  type: "external";
152
152
  server: string;
153
153
  password?: string | undefined;
154
- username?: string | undefined;
155
154
  domainPattern?: string | undefined;
155
+ username?: string | undefined;
156
156
  }, {
157
157
  type: "external";
158
158
  server: string;
159
159
  password?: string | undefined;
160
- username?: string | undefined;
161
160
  domainPattern?: string | undefined;
161
+ username?: string | undefined;
162
162
  }>;
163
163
  export type ExternalProxy = z.infer<typeof ExternalProxySchema>;
164
164
  /**
@@ -206,14 +206,14 @@ export declare const ProxyConfigSchema: z.ZodDiscriminatedUnion<"type", [z.ZodOb
206
206
  type: "external";
207
207
  server: string;
208
208
  password?: string | undefined;
209
- username?: string | undefined;
210
209
  domainPattern?: string | undefined;
210
+ username?: string | undefined;
211
211
  }, {
212
212
  type: "external";
213
213
  server: string;
214
214
  password?: string | undefined;
215
- username?: string | undefined;
216
215
  domainPattern?: string | undefined;
216
+ username?: string | undefined;
217
217
  }>]>;
218
218
  export type ProxyConfig = z.infer<typeof ProxyConfigSchema>;
219
219
  /**
@@ -313,14 +313,14 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
313
313
  type: "external";
314
314
  server: string;
315
315
  password?: string | undefined;
316
- username?: string | undefined;
317
316
  domainPattern?: string | undefined;
317
+ username?: string | undefined;
318
318
  }, {
319
319
  type: "external";
320
320
  server: string;
321
321
  password?: string | undefined;
322
- username?: string | undefined;
323
322
  domainPattern?: string | undefined;
323
+ username?: string | undefined;
324
324
  }>]>, "many">]>>;
325
325
  stealth: z.ZodOptional<z.ZodObject<{
326
326
  advancedStealth: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
@@ -343,12 +343,6 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
343
343
  viewport_width: number;
344
344
  viewport_height: number;
345
345
  credentials?: Partial<Record<CredentialType, string>> | undefined;
346
- stealth?: {
347
- advancedStealth: boolean;
348
- solveCaptchas: boolean;
349
- captchaImageSelector?: string | undefined;
350
- captchaInputSelector?: string | undefined;
351
- } | undefined;
352
346
  cookies?: {
353
347
  value: string;
354
348
  path: string;
@@ -371,18 +365,18 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
371
365
  type: "external";
372
366
  server: string;
373
367
  password?: string | undefined;
374
- username?: string | undefined;
375
368
  domainPattern?: string | undefined;
369
+ username?: string | undefined;
376
370
  })[] | undefined;
377
- }, {
378
- operation: "start_session";
379
- credentials?: Partial<Record<CredentialType, string>> | undefined;
380
371
  stealth?: {
381
- advancedStealth?: boolean | undefined;
382
- solveCaptchas?: boolean | undefined;
372
+ advancedStealth: boolean;
373
+ solveCaptchas: boolean;
383
374
  captchaImageSelector?: string | undefined;
384
375
  captchaInputSelector?: string | undefined;
385
376
  } | undefined;
377
+ }, {
378
+ operation: "start_session";
379
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
386
380
  cookies?: {
387
381
  value: string;
388
382
  path: string;
@@ -407,9 +401,15 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
407
401
  type: "external";
408
402
  server: string;
409
403
  password?: string | undefined;
410
- username?: string | undefined;
411
404
  domainPattern?: string | undefined;
405
+ username?: string | undefined;
412
406
  })[] | undefined;
407
+ stealth?: {
408
+ advancedStealth?: boolean | undefined;
409
+ solveCaptchas?: boolean | undefined;
410
+ captchaImageSelector?: string | undefined;
411
+ captchaInputSelector?: string | undefined;
412
+ } | undefined;
413
413
  }>, z.ZodObject<{
414
414
  operation: z.ZodLiteral<"navigate">;
415
415
  session_id: z.ZodString;
@@ -418,19 +418,19 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
418
418
  timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
419
419
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
420
420
  }, "strip", z.ZodTypeAny, {
421
- url: string;
422
- timeout: number;
423
421
  operation: "navigate";
422
+ url: string;
424
423
  session_id: string;
425
424
  wait_until: "load" | "domcontentloaded" | "networkidle0" | "networkidle2";
425
+ timeout: number;
426
426
  credentials?: Partial<Record<CredentialType, string>> | undefined;
427
427
  }, {
428
- url: string;
429
428
  operation: "navigate";
429
+ url: string;
430
430
  session_id: string;
431
431
  credentials?: Partial<Record<CredentialType, string>> | undefined;
432
- timeout?: number | undefined;
433
432
  wait_until?: "load" | "domcontentloaded" | "networkidle0" | "networkidle2" | undefined;
433
+ timeout?: number | undefined;
434
434
  }>, z.ZodObject<{
435
435
  operation: z.ZodLiteral<"click">;
436
436
  session_id: z.ZodString;
@@ -439,9 +439,9 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
439
439
  timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
440
440
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
441
441
  }, "strip", z.ZodTypeAny, {
442
- timeout: number;
443
442
  operation: "click";
444
443
  session_id: string;
444
+ timeout: number;
445
445
  selector: string;
446
446
  wait_for_navigation: boolean;
447
447
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -461,35 +461,35 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
461
461
  delay: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
462
462
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
463
463
  }, "strip", z.ZodTypeAny, {
464
- text: string;
465
464
  operation: "type";
465
+ text: string;
466
466
  session_id: string;
467
467
  selector: string;
468
- delay: number;
469
468
  clear_first: boolean;
469
+ delay: number;
470
470
  credentials?: Partial<Record<CredentialType, string>> | undefined;
471
471
  }, {
472
- text: string;
473
472
  operation: "type";
473
+ text: string;
474
474
  session_id: string;
475
475
  selector: string;
476
476
  credentials?: Partial<Record<CredentialType, string>> | undefined;
477
- delay?: number | undefined;
478
477
  clear_first?: boolean | undefined;
478
+ delay?: number | undefined;
479
479
  }>, z.ZodObject<{
480
480
  operation: z.ZodLiteral<"evaluate">;
481
481
  session_id: z.ZodString;
482
482
  script: z.ZodString;
483
483
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
484
484
  }, "strip", z.ZodTypeAny, {
485
- script: string;
486
485
  operation: "evaluate";
487
486
  session_id: string;
487
+ script: string;
488
488
  credentials?: Partial<Record<CredentialType, string>> | undefined;
489
489
  }, {
490
- script: string;
491
490
  operation: "evaluate";
492
491
  session_id: string;
492
+ script: string;
493
493
  credentials?: Partial<Record<CredentialType, string>> | undefined;
494
494
  }>, z.ZodObject<{
495
495
  operation: z.ZodLiteral<"get_content">;
@@ -499,16 +499,16 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
499
499
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
500
500
  }, "strip", z.ZodTypeAny, {
501
501
  operation: "get_content";
502
- content_type: "text" | "html" | "outer_html";
503
502
  session_id: string;
503
+ content_type: "text" | "html" | "outer_html";
504
504
  credentials?: Partial<Record<CredentialType, string>> | undefined;
505
505
  selector?: string | undefined;
506
506
  }, {
507
507
  operation: "get_content";
508
508
  session_id: string;
509
509
  credentials?: Partial<Record<CredentialType, string>> | undefined;
510
- content_type?: "text" | "html" | "outer_html" | undefined;
511
510
  selector?: string | undefined;
511
+ content_type?: "text" | "html" | "outer_html" | undefined;
512
512
  }>, z.ZodObject<{
513
513
  operation: z.ZodLiteral<"screenshot">;
514
514
  session_id: z.ZodString;
@@ -518,21 +518,21 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
518
518
  quality: z.ZodOptional<z.ZodNumber>;
519
519
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
520
520
  }, "strip", z.ZodTypeAny, {
521
- format: "png" | "jpeg" | "webp";
522
521
  operation: "screenshot";
522
+ format: "png" | "jpeg" | "webp";
523
523
  session_id: string;
524
524
  full_page: boolean;
525
525
  credentials?: Partial<Record<CredentialType, string>> | undefined;
526
- quality?: number | undefined;
527
526
  selector?: string | undefined;
527
+ quality?: number | undefined;
528
528
  }, {
529
529
  operation: "screenshot";
530
530
  session_id: string;
531
531
  format?: "png" | "jpeg" | "webp" | undefined;
532
532
  credentials?: Partial<Record<CredentialType, string>> | undefined;
533
- quality?: number | undefined;
534
533
  selector?: string | undefined;
535
534
  full_page?: boolean | undefined;
535
+ quality?: number | undefined;
536
536
  }>, z.ZodObject<{
537
537
  operation: z.ZodLiteral<"wait">;
538
538
  session_id: z.ZodString;
@@ -541,9 +541,9 @@ export declare const BrowserBaseParamsSchema: z.ZodDiscriminatedUnion<"operation
541
541
  timeout: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
542
542
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
543
543
  }, "strip", z.ZodTypeAny, {
544
- timeout: number;
545
544
  operation: "wait";
546
545
  session_id: string;
546
+ timeout: number;
547
547
  wait_type: "timeout" | "selector" | "navigation";
548
548
  credentials?: Partial<Record<CredentialType, string>> | undefined;
549
549
  selector?: string | undefined;
@@ -593,18 +593,18 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
593
593
  debug_url: z.ZodOptional<z.ZodString>;
594
594
  error: z.ZodString;
595
595
  }, "strip", z.ZodTypeAny, {
596
- error: string;
597
- success: boolean;
598
596
  operation: "start_session";
599
- session_id?: string | undefined;
597
+ success: boolean;
598
+ error: string;
600
599
  context_id?: string | undefined;
600
+ session_id?: string | undefined;
601
601
  debug_url?: string | undefined;
602
602
  }, {
603
- error: string;
604
- success: boolean;
605
603
  operation: "start_session";
606
- session_id?: string | undefined;
604
+ success: boolean;
605
+ error: string;
607
606
  context_id?: string | undefined;
607
+ session_id?: string | undefined;
608
608
  debug_url?: string | undefined;
609
609
  }>, z.ZodObject<{
610
610
  operation: z.ZodLiteral<"navigate">;
@@ -612,53 +612,53 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
612
612
  url: z.ZodOptional<z.ZodString>;
613
613
  error: z.ZodString;
614
614
  }, "strip", z.ZodTypeAny, {
615
- error: string;
616
- success: boolean;
617
615
  operation: "navigate";
616
+ success: boolean;
617
+ error: string;
618
618
  url?: string | undefined;
619
619
  }, {
620
- error: string;
621
- success: boolean;
622
620
  operation: "navigate";
621
+ success: boolean;
622
+ error: string;
623
623
  url?: string | undefined;
624
624
  }>, z.ZodObject<{
625
625
  operation: z.ZodLiteral<"click">;
626
626
  success: z.ZodBoolean;
627
627
  error: z.ZodString;
628
628
  }, "strip", z.ZodTypeAny, {
629
- error: string;
630
- success: boolean;
631
629
  operation: "click";
632
- }, {
633
- error: string;
634
630
  success: boolean;
631
+ error: string;
632
+ }, {
635
633
  operation: "click";
634
+ success: boolean;
635
+ error: string;
636
636
  }>, z.ZodObject<{
637
637
  operation: z.ZodLiteral<"type">;
638
638
  success: z.ZodBoolean;
639
639
  error: z.ZodString;
640
640
  }, "strip", z.ZodTypeAny, {
641
- error: string;
642
- success: boolean;
643
641
  operation: "type";
644
- }, {
645
- error: string;
646
642
  success: boolean;
643
+ error: string;
644
+ }, {
647
645
  operation: "type";
646
+ success: boolean;
647
+ error: string;
648
648
  }>, z.ZodObject<{
649
649
  operation: z.ZodLiteral<"evaluate">;
650
650
  success: z.ZodBoolean;
651
651
  result: z.ZodOptional<z.ZodUnknown>;
652
652
  error: z.ZodString;
653
653
  }, "strip", z.ZodTypeAny, {
654
- error: string;
655
- success: boolean;
656
654
  operation: "evaluate";
655
+ success: boolean;
656
+ error: string;
657
657
  result?: unknown;
658
658
  }, {
659
- error: string;
660
- success: boolean;
661
659
  operation: "evaluate";
660
+ success: boolean;
661
+ error: string;
662
662
  result?: unknown;
663
663
  }>, z.ZodObject<{
664
664
  operation: z.ZodLiteral<"get_content">;
@@ -666,14 +666,14 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
666
666
  content: z.ZodOptional<z.ZodString>;
667
667
  error: z.ZodString;
668
668
  }, "strip", z.ZodTypeAny, {
669
- error: string;
670
- success: boolean;
671
669
  operation: "get_content";
670
+ success: boolean;
671
+ error: string;
672
672
  content?: string | undefined;
673
673
  }, {
674
- error: string;
675
- success: boolean;
676
674
  operation: "get_content";
675
+ success: boolean;
676
+ error: string;
677
677
  content?: string | undefined;
678
678
  }>, z.ZodObject<{
679
679
  operation: z.ZodLiteral<"screenshot">;
@@ -682,15 +682,15 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
682
682
  format: z.ZodOptional<z.ZodString>;
683
683
  error: z.ZodString;
684
684
  }, "strip", z.ZodTypeAny, {
685
- error: string;
686
- success: boolean;
687
685
  operation: "screenshot";
686
+ success: boolean;
687
+ error: string;
688
688
  format?: string | undefined;
689
689
  data?: string | undefined;
690
690
  }, {
691
- error: string;
692
- success: boolean;
693
691
  operation: "screenshot";
692
+ success: boolean;
693
+ error: string;
694
694
  format?: string | undefined;
695
695
  data?: string | undefined;
696
696
  }>, z.ZodObject<{
@@ -698,13 +698,13 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
698
698
  success: z.ZodBoolean;
699
699
  error: z.ZodString;
700
700
  }, "strip", z.ZodTypeAny, {
701
- error: string;
702
- success: boolean;
703
701
  operation: "wait";
704
- }, {
705
- error: string;
706
702
  success: boolean;
703
+ error: string;
704
+ }, {
707
705
  operation: "wait";
706
+ success: boolean;
707
+ error: string;
708
708
  }>, z.ZodObject<{
709
709
  operation: z.ZodLiteral<"get_cookies">;
710
710
  success: z.ZodBoolean;
@@ -735,9 +735,9 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
735
735
  }>, "many">>;
736
736
  error: z.ZodString;
737
737
  }, "strip", z.ZodTypeAny, {
738
- error: string;
739
- success: boolean;
740
738
  operation: "get_cookies";
739
+ success: boolean;
740
+ error: string;
741
741
  cookies?: {
742
742
  value: string;
743
743
  path: string;
@@ -748,9 +748,9 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
748
748
  secure: boolean;
749
749
  }[] | undefined;
750
750
  }, {
751
- error: string;
752
- success: boolean;
753
751
  operation: "get_cookies";
752
+ success: boolean;
753
+ error: string;
754
754
  cookies?: {
755
755
  value: string;
756
756
  path: string;
@@ -765,13 +765,13 @@ export declare const BrowserBaseResultSchema: z.ZodDiscriminatedUnion<"operation
765
765
  success: z.ZodBoolean;
766
766
  error: z.ZodString;
767
767
  }, "strip", z.ZodTypeAny, {
768
- error: string;
769
- success: boolean;
770
768
  operation: "end_session";
771
- }, {
772
- error: string;
773
769
  success: boolean;
770
+ error: string;
771
+ }, {
774
772
  operation: "end_session";
773
+ success: boolean;
774
+ error: string;
775
775
  }>]>;
776
776
  export type BrowserBaseParams = z.output<typeof BrowserBaseParamsSchema>;
777
777
  export type BrowserBaseParamsInput = z.input<typeof BrowserBaseParamsSchema>;