@bubblelab/bubble-core 0.1.246 → 0.1.248

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 (87) hide show
  1. package/dist/bubble-bundle.d.ts +112 -112
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
  4. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  5. package/dist/bubbles/service-bubble/ai-agent.js +6 -2
  6. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  7. package/dist/bubbles/service-bubble/airtable.d.ts +76 -76
  8. package/dist/bubbles/service-bubble/apify/actors/app-rankings-scraper.d.ts +6 -6
  9. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
  10. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
  11. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  12. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
  13. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
  14. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
  15. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
  16. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
  17. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
  18. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +132 -132
  19. package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
  20. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +2033 -76
  21. package/dist/bubbles/service-bubble/ashby/ashby.d.ts.map +1 -1
  22. package/dist/bubbles/service-bubble/ashby/ashby.js +284 -4
  23. package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
  24. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2602 -351
  25. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts.map +1 -1
  26. package/dist/bubbles/service-bubble/ashby/ashby.schema.js +475 -0
  27. package/dist/bubbles/service-bubble/ashby/ashby.schema.js.map +1 -1
  28. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +6 -6
  29. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +6 -6
  30. package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
  31. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
  32. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +1 -1
  33. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
  34. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +4 -4
  35. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
  36. package/dist/bubbles/service-bubble/firecrawl.d.ts +334 -334
  37. package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
  38. package/dist/bubbles/service-bubble/github.d.ts +60 -60
  39. package/dist/bubbles/service-bubble/gmail.d.ts +164 -164
  40. package/dist/bubbles/service-bubble/google-calendar.d.ts +6 -6
  41. package/dist/bubbles/service-bubble/google-drive.d.ts +4 -4
  42. package/dist/bubbles/service-bubble/http.d.ts +6 -6
  43. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +2 -2
  44. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +2 -2
  45. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  46. package/dist/bubbles/service-bubble/jira/jira.d.ts +30 -30
  47. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
  48. package/dist/bubbles/service-bubble/notion/notion.d.ts +168 -168
  49. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  50. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  51. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +10 -10
  52. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
  53. package/dist/bubbles/service-bubble/resend.d.ts +4 -4
  54. package/dist/bubbles/service-bubble/slack/slack.d.ts +388 -388
  55. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +24 -24
  56. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
  57. package/dist/bubbles/service-bubble/xero/xero.d.ts +2 -2
  58. package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +2 -2
  59. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +870 -20
  60. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts.map +1 -1
  61. package/dist/bubbles/service-bubble/zendesk/zendesk.js +156 -0
  62. package/dist/bubbles/service-bubble/zendesk/zendesk.js.map +1 -1
  63. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +862 -20
  64. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts.map +1 -1
  65. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.js +261 -0
  66. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.js.map +1 -1
  67. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +6 -6
  68. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
  69. package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts +8 -8
  70. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  71. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  72. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +20 -20
  73. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +384 -384
  74. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +44 -44
  75. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
  76. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  77. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  78. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
  79. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
  80. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
  81. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
  82. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  83. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
  84. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
  85. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +34 -34
  86. package/dist/bubbles.json +5400 -2152
  87. package/package.json +2 -2
@@ -382,6 +382,9 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
382
382
  value?: unknown;
383
383
  isPrivate?: boolean | undefined;
384
384
  }>, "many">>;
385
+ profileUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
386
+ source: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
387
+ creditedToUser: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
385
388
  }, "strip", z.ZodTypeAny, {
386
389
  name: string;
387
390
  id: string;
@@ -391,6 +394,8 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
391
394
  isArchived?: boolean | undefined;
392
395
  }[] | undefined;
393
396
  position?: string | null | undefined;
397
+ profileUrl?: string | null | undefined;
398
+ source?: unknown;
394
399
  createdAt?: string | undefined;
395
400
  updatedAt?: string | undefined;
396
401
  primaryEmailAddress?: {
@@ -436,6 +441,7 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
436
441
  id: string;
437
442
  handle: string;
438
443
  }[] | undefined;
444
+ creditedToUser?: unknown;
439
445
  }, {
440
446
  name: string;
441
447
  id: string;
@@ -445,6 +451,8 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
445
451
  isArchived?: boolean | undefined;
446
452
  }[] | undefined;
447
453
  position?: string | null | undefined;
454
+ profileUrl?: string | null | undefined;
455
+ source?: unknown;
448
456
  createdAt?: string | undefined;
449
457
  updatedAt?: string | undefined;
450
458
  primaryEmailAddress?: {
@@ -490,6 +498,298 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
490
498
  id: string;
491
499
  handle: string;
492
500
  }[] | undefined;
501
+ creditedToUser?: unknown;
502
+ }>;
503
+ /**
504
+ * Job object from Ashby API
505
+ */
506
+ export declare const AshbyJobSchema: z.ZodObject<{
507
+ id: z.ZodString;
508
+ title: z.ZodString;
509
+ status: z.ZodOptional<z.ZodString>;
510
+ departmentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
511
+ teamId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
512
+ locationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
513
+ locationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
514
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
515
+ id: z.ZodString;
516
+ title: z.ZodString;
517
+ value: z.ZodUnknown;
518
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
519
+ }, "strip", z.ZodTypeAny, {
520
+ title: string;
521
+ id: string;
522
+ value?: unknown;
523
+ isPrivate?: boolean | undefined;
524
+ }, {
525
+ title: string;
526
+ id: string;
527
+ value?: unknown;
528
+ isPrivate?: boolean | undefined;
529
+ }>, "many">>;
530
+ openedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
531
+ closedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
532
+ createdAt: z.ZodOptional<z.ZodString>;
533
+ updatedAt: z.ZodOptional<z.ZodString>;
534
+ }, "strip", z.ZodTypeAny, {
535
+ title: string;
536
+ id: string;
537
+ status?: string | undefined;
538
+ locationId?: string | null | undefined;
539
+ createdAt?: string | undefined;
540
+ updatedAt?: string | undefined;
541
+ teamId?: string | null | undefined;
542
+ customFields?: {
543
+ title: string;
544
+ id: string;
545
+ value?: unknown;
546
+ isPrivate?: boolean | undefined;
547
+ }[] | undefined;
548
+ departmentId?: string | null | undefined;
549
+ locationIds?: string[] | undefined;
550
+ openedAt?: string | null | undefined;
551
+ closedAt?: string | null | undefined;
552
+ }, {
553
+ title: string;
554
+ id: string;
555
+ status?: string | undefined;
556
+ locationId?: string | null | undefined;
557
+ createdAt?: string | undefined;
558
+ updatedAt?: string | undefined;
559
+ teamId?: string | null | undefined;
560
+ customFields?: {
561
+ title: string;
562
+ id: string;
563
+ value?: unknown;
564
+ isPrivate?: boolean | undefined;
565
+ }[] | undefined;
566
+ departmentId?: string | null | undefined;
567
+ locationIds?: string[] | undefined;
568
+ openedAt?: string | null | undefined;
569
+ closedAt?: string | null | undefined;
570
+ }>;
571
+ /**
572
+ * Interview stage object from Ashby API
573
+ */
574
+ export declare const AshbyInterviewStageSchema: z.ZodObject<{
575
+ id: z.ZodString;
576
+ title: z.ZodString;
577
+ type: z.ZodOptional<z.ZodString>;
578
+ orderInInterviewPlan: z.ZodOptional<z.ZodNumber>;
579
+ interviewPlanId: z.ZodOptional<z.ZodString>;
580
+ }, "strip", z.ZodTypeAny, {
581
+ title: string;
582
+ id: string;
583
+ type?: string | undefined;
584
+ orderInInterviewPlan?: number | undefined;
585
+ interviewPlanId?: string | undefined;
586
+ }, {
587
+ title: string;
588
+ id: string;
589
+ type?: string | undefined;
590
+ orderInInterviewPlan?: number | undefined;
591
+ interviewPlanId?: string | undefined;
592
+ }>;
593
+ /**
594
+ * Application object from Ashby API
595
+ */
596
+ export declare const AshbyApplicationSchema: z.ZodObject<{
597
+ id: z.ZodString;
598
+ createdAt: z.ZodOptional<z.ZodString>;
599
+ updatedAt: z.ZodOptional<z.ZodString>;
600
+ status: z.ZodOptional<z.ZodString>;
601
+ candidateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
602
+ jobId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
603
+ currentInterviewStage: z.ZodNullable<z.ZodOptional<z.ZodObject<{
604
+ id: z.ZodString;
605
+ title: z.ZodString;
606
+ type: z.ZodOptional<z.ZodString>;
607
+ orderInInterviewPlan: z.ZodOptional<z.ZodNumber>;
608
+ interviewPlanId: z.ZodOptional<z.ZodString>;
609
+ }, "strip", z.ZodTypeAny, {
610
+ title: string;
611
+ id: string;
612
+ type?: string | undefined;
613
+ orderInInterviewPlan?: number | undefined;
614
+ interviewPlanId?: string | undefined;
615
+ }, {
616
+ title: string;
617
+ id: string;
618
+ type?: string | undefined;
619
+ orderInInterviewPlan?: number | undefined;
620
+ interviewPlanId?: string | undefined;
621
+ }>>>;
622
+ source: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
623
+ archiveReason: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
624
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
625
+ id: z.ZodString;
626
+ title: z.ZodString;
627
+ value: z.ZodUnknown;
628
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
629
+ }, "strip", z.ZodTypeAny, {
630
+ title: string;
631
+ id: string;
632
+ value?: unknown;
633
+ isPrivate?: boolean | undefined;
634
+ }, {
635
+ title: string;
636
+ id: string;
637
+ value?: unknown;
638
+ isPrivate?: boolean | undefined;
639
+ }>, "many">>;
640
+ hiringTeam: z.ZodOptional<z.ZodArray<z.ZodObject<{
641
+ userId: z.ZodString;
642
+ role: z.ZodString;
643
+ email: z.ZodOptional<z.ZodString>;
644
+ firstName: z.ZodOptional<z.ZodString>;
645
+ lastName: z.ZodOptional<z.ZodString>;
646
+ }, "strip", z.ZodTypeAny, {
647
+ role: string;
648
+ userId: string;
649
+ email?: string | undefined;
650
+ firstName?: string | undefined;
651
+ lastName?: string | undefined;
652
+ }, {
653
+ role: string;
654
+ userId: string;
655
+ email?: string | undefined;
656
+ firstName?: string | undefined;
657
+ lastName?: string | undefined;
658
+ }>, "many">>;
659
+ }, "strip", z.ZodTypeAny, {
660
+ id: string;
661
+ status?: string | undefined;
662
+ source?: unknown;
663
+ createdAt?: string | undefined;
664
+ updatedAt?: string | undefined;
665
+ customFields?: {
666
+ title: string;
667
+ id: string;
668
+ value?: unknown;
669
+ isPrivate?: boolean | undefined;
670
+ }[] | undefined;
671
+ candidateId?: string | null | undefined;
672
+ jobId?: string | null | undefined;
673
+ currentInterviewStage?: {
674
+ title: string;
675
+ id: string;
676
+ type?: string | undefined;
677
+ orderInInterviewPlan?: number | undefined;
678
+ interviewPlanId?: string | undefined;
679
+ } | null | undefined;
680
+ archiveReason?: unknown;
681
+ hiringTeam?: {
682
+ role: string;
683
+ userId: string;
684
+ email?: string | undefined;
685
+ firstName?: string | undefined;
686
+ lastName?: string | undefined;
687
+ }[] | undefined;
688
+ }, {
689
+ id: string;
690
+ status?: string | undefined;
691
+ source?: unknown;
692
+ createdAt?: string | undefined;
693
+ updatedAt?: string | undefined;
694
+ customFields?: {
695
+ title: string;
696
+ id: string;
697
+ value?: unknown;
698
+ isPrivate?: boolean | undefined;
699
+ }[] | undefined;
700
+ candidateId?: string | null | undefined;
701
+ jobId?: string | null | undefined;
702
+ currentInterviewStage?: {
703
+ title: string;
704
+ id: string;
705
+ type?: string | undefined;
706
+ orderInInterviewPlan?: number | undefined;
707
+ interviewPlanId?: string | undefined;
708
+ } | null | undefined;
709
+ archiveReason?: unknown;
710
+ hiringTeam?: {
711
+ role: string;
712
+ userId: string;
713
+ email?: string | undefined;
714
+ firstName?: string | undefined;
715
+ lastName?: string | undefined;
716
+ }[] | undefined;
717
+ }>;
718
+ /**
719
+ * Note object from Ashby API
720
+ */
721
+ export declare const AshbyNoteSchema: z.ZodObject<{
722
+ id: z.ZodString;
723
+ createdAt: z.ZodOptional<z.ZodString>;
724
+ content: z.ZodString;
725
+ author: z.ZodNullable<z.ZodOptional<z.ZodObject<{
726
+ id: z.ZodString;
727
+ firstName: z.ZodOptional<z.ZodString>;
728
+ lastName: z.ZodOptional<z.ZodString>;
729
+ email: z.ZodOptional<z.ZodString>;
730
+ }, "strip", z.ZodTypeAny, {
731
+ id: string;
732
+ email?: string | undefined;
733
+ firstName?: string | undefined;
734
+ lastName?: string | undefined;
735
+ }, {
736
+ id: string;
737
+ email?: string | undefined;
738
+ firstName?: string | undefined;
739
+ lastName?: string | undefined;
740
+ }>>>;
741
+ }, "strip", z.ZodTypeAny, {
742
+ content: string;
743
+ id: string;
744
+ author?: {
745
+ id: string;
746
+ email?: string | undefined;
747
+ firstName?: string | undefined;
748
+ lastName?: string | undefined;
749
+ } | null | undefined;
750
+ createdAt?: string | undefined;
751
+ }, {
752
+ content: string;
753
+ id: string;
754
+ author?: {
755
+ id: string;
756
+ email?: string | undefined;
757
+ firstName?: string | undefined;
758
+ lastName?: string | undefined;
759
+ } | null | undefined;
760
+ createdAt?: string | undefined;
761
+ }>;
762
+ /**
763
+ * Source object from Ashby API
764
+ */
765
+ export declare const AshbySourceSchema: z.ZodObject<{
766
+ id: z.ZodString;
767
+ title: z.ZodString;
768
+ isArchived: z.ZodOptional<z.ZodBoolean>;
769
+ }, "strip", z.ZodTypeAny, {
770
+ title: string;
771
+ id: string;
772
+ isArchived?: boolean | undefined;
773
+ }, {
774
+ title: string;
775
+ id: string;
776
+ isArchived?: boolean | undefined;
777
+ }>;
778
+ /**
779
+ * File info response from Ashby API (file.info endpoint)
780
+ */
781
+ export declare const AshbyFileInfoSchema: z.ZodObject<{
782
+ id: z.ZodOptional<z.ZodString>;
783
+ name: z.ZodOptional<z.ZodString>;
784
+ url: z.ZodString;
785
+ }, "strip", z.ZodTypeAny, {
786
+ url: string;
787
+ name?: string | undefined;
788
+ id?: string | undefined;
789
+ }, {
790
+ url: string;
791
+ name?: string | undefined;
792
+ id?: string | undefined;
493
793
  }>;
494
794
  export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
495
795
  operation: z.ZodLiteral<"list_candidates">;
@@ -589,13 +889,13 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
589
889
  }, "strip", z.ZodTypeAny, {
590
890
  operation: "search_candidates";
591
891
  name?: string | undefined;
592
- email?: string | undefined;
593
892
  credentials?: Partial<Record<CredentialType, string>> | undefined;
893
+ email?: string | undefined;
594
894
  }, {
595
895
  operation: "search_candidates";
596
896
  name?: string | undefined;
597
- email?: string | undefined;
598
897
  credentials?: Partial<Record<CredentialType, string>> | undefined;
898
+ email?: string | undefined;
599
899
  }>, z.ZodObject<{
600
900
  operation: z.ZodLiteral<"add_tag">;
601
901
  candidate_id: z.ZodString;
@@ -653,94 +953,289 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
653
953
  limit?: number | undefined;
654
954
  cursor?: string | undefined;
655
955
  sync_token?: string | undefined;
656
- }>]>;
657
- export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
658
- operation: z.ZodLiteral<"list_candidates">;
659
- success: z.ZodBoolean;
660
- candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
661
- id: z.ZodString;
662
- createdAt: z.ZodOptional<z.ZodString>;
663
- updatedAt: z.ZodOptional<z.ZodString>;
664
- name: z.ZodString;
665
- primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
666
- value: z.ZodString;
667
- type: z.ZodEnum<["Personal", "Work", "Other"]>;
668
- isPrimary: z.ZodBoolean;
669
- }, "strip", z.ZodTypeAny, {
670
- value: string;
671
- type: "Personal" | "Work" | "Other";
672
- isPrimary: boolean;
673
- }, {
674
- value: string;
675
- type: "Personal" | "Work" | "Other";
676
- isPrimary: boolean;
677
- }>>>;
678
- emailAddresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
679
- value: z.ZodString;
680
- type: z.ZodEnum<["Personal", "Work", "Other"]>;
681
- isPrimary: z.ZodBoolean;
682
- }, "strip", z.ZodTypeAny, {
683
- value: string;
684
- type: "Personal" | "Work" | "Other";
685
- isPrimary: boolean;
686
- }, {
687
- value: string;
688
- type: "Personal" | "Work" | "Other";
689
- isPrimary: boolean;
690
- }>, "many">>;
691
- primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
692
- value: z.ZodString;
693
- type: z.ZodEnum<["Personal", "Work", "Other"]>;
694
- isPrimary: z.ZodBoolean;
695
- }, "strip", z.ZodTypeAny, {
696
- value: string;
697
- type: "Personal" | "Work" | "Other";
698
- isPrimary: boolean;
699
- }, {
700
- value: string;
701
- type: "Personal" | "Work" | "Other";
702
- isPrimary: boolean;
703
- }>>>;
704
- phoneNumbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
705
- value: z.ZodString;
706
- type: z.ZodEnum<["Personal", "Work", "Other"]>;
707
- isPrimary: z.ZodBoolean;
708
- }, "strip", z.ZodTypeAny, {
709
- value: string;
710
- type: "Personal" | "Work" | "Other";
711
- isPrimary: boolean;
712
- }, {
713
- value: string;
714
- type: "Personal" | "Work" | "Other";
715
- isPrimary: boolean;
716
- }>, "many">>;
717
- socialLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
718
- url: z.ZodString;
719
- type: z.ZodString;
720
- }, "strip", z.ZodTypeAny, {
721
- type: string;
722
- url: string;
723
- }, {
724
- type: string;
725
- url: string;
726
- }>, "many">>;
727
- tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
728
- id: z.ZodString;
729
- title: z.ZodString;
730
- isArchived: z.ZodOptional<z.ZodBoolean>;
731
- }, "strip", z.ZodTypeAny, {
732
- title: string;
733
- id: string;
734
- isArchived?: boolean | undefined;
735
- }, {
736
- title: string;
737
- id: string;
738
- isArchived?: boolean | undefined;
739
- }>, "many">>;
740
- position: z.ZodNullable<z.ZodOptional<z.ZodString>>;
741
- company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
742
- school: z.ZodNullable<z.ZodOptional<z.ZodString>>;
743
- applicationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
956
+ }>, z.ZodObject<{
957
+ operation: z.ZodLiteral<"list_jobs">;
958
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
959
+ cursor: z.ZodOptional<z.ZodString>;
960
+ status: z.ZodOptional<z.ZodEnum<["Open", "Closed", "Draft", "Archived"]>>;
961
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
962
+ }, "strip", z.ZodTypeAny, {
963
+ operation: "list_jobs";
964
+ limit: number;
965
+ status?: "Archived" | "Open" | "Closed" | "Draft" | undefined;
966
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
967
+ cursor?: string | undefined;
968
+ }, {
969
+ operation: "list_jobs";
970
+ status?: "Archived" | "Open" | "Closed" | "Draft" | undefined;
971
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
972
+ limit?: number | undefined;
973
+ cursor?: string | undefined;
974
+ }>, z.ZodObject<{
975
+ operation: z.ZodLiteral<"get_job">;
976
+ job_id: z.ZodString;
977
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
978
+ }, "strip", z.ZodTypeAny, {
979
+ operation: "get_job";
980
+ job_id: string;
981
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
982
+ }, {
983
+ operation: "get_job";
984
+ job_id: string;
985
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
986
+ }>, z.ZodObject<{
987
+ operation: z.ZodLiteral<"list_applications">;
988
+ candidate_id: z.ZodOptional<z.ZodString>;
989
+ job_id: z.ZodOptional<z.ZodString>;
990
+ status: z.ZodOptional<z.ZodEnum<["Active", "Hired", "Archived", "Lead"]>>;
991
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
992
+ cursor: z.ZodOptional<z.ZodString>;
993
+ created_after: z.ZodOptional<z.ZodNumber>;
994
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
995
+ }, "strip", z.ZodTypeAny, {
996
+ operation: "list_applications";
997
+ limit: number;
998
+ status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
999
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1000
+ cursor?: string | undefined;
1001
+ job_id?: string | undefined;
1002
+ created_after?: number | undefined;
1003
+ candidate_id?: string | undefined;
1004
+ }, {
1005
+ operation: "list_applications";
1006
+ status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
1007
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1008
+ limit?: number | undefined;
1009
+ cursor?: string | undefined;
1010
+ job_id?: string | undefined;
1011
+ created_after?: number | undefined;
1012
+ candidate_id?: string | undefined;
1013
+ }>, z.ZodObject<{
1014
+ operation: z.ZodLiteral<"get_application">;
1015
+ application_id: z.ZodString;
1016
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1017
+ }, "strip", z.ZodTypeAny, {
1018
+ operation: "get_application";
1019
+ application_id: string;
1020
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1021
+ }, {
1022
+ operation: "get_application";
1023
+ application_id: string;
1024
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1025
+ }>, z.ZodObject<{
1026
+ operation: z.ZodLiteral<"create_application">;
1027
+ candidate_id: z.ZodString;
1028
+ job_id: z.ZodString;
1029
+ interview_stage_id: z.ZodOptional<z.ZodString>;
1030
+ source_id: z.ZodOptional<z.ZodString>;
1031
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1032
+ }, "strip", z.ZodTypeAny, {
1033
+ operation: "create_application";
1034
+ job_id: string;
1035
+ candidate_id: string;
1036
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1037
+ source_id?: string | undefined;
1038
+ interview_stage_id?: string | undefined;
1039
+ }, {
1040
+ operation: "create_application";
1041
+ job_id: string;
1042
+ candidate_id: string;
1043
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1044
+ source_id?: string | undefined;
1045
+ interview_stage_id?: string | undefined;
1046
+ }>, z.ZodObject<{
1047
+ operation: z.ZodLiteral<"change_application_stage">;
1048
+ application_id: z.ZodString;
1049
+ interview_stage_id: z.ZodString;
1050
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1051
+ }, "strip", z.ZodTypeAny, {
1052
+ operation: "change_application_stage";
1053
+ application_id: string;
1054
+ interview_stage_id: string;
1055
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1056
+ }, {
1057
+ operation: "change_application_stage";
1058
+ application_id: string;
1059
+ interview_stage_id: string;
1060
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1061
+ }>, z.ZodObject<{
1062
+ operation: z.ZodLiteral<"update_candidate">;
1063
+ candidate_id: z.ZodString;
1064
+ name: z.ZodOptional<z.ZodString>;
1065
+ email: z.ZodOptional<z.ZodString>;
1066
+ phone_number: z.ZodOptional<z.ZodString>;
1067
+ linkedin_url: z.ZodOptional<z.ZodString>;
1068
+ github_url: z.ZodOptional<z.ZodString>;
1069
+ website: z.ZodOptional<z.ZodString>;
1070
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1071
+ }, "strip", z.ZodTypeAny, {
1072
+ operation: "update_candidate";
1073
+ candidate_id: string;
1074
+ name?: string | undefined;
1075
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1076
+ email?: string | undefined;
1077
+ website?: string | undefined;
1078
+ phone_number?: string | undefined;
1079
+ linkedin_url?: string | undefined;
1080
+ github_url?: string | undefined;
1081
+ }, {
1082
+ operation: "update_candidate";
1083
+ candidate_id: string;
1084
+ name?: string | undefined;
1085
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1086
+ email?: string | undefined;
1087
+ website?: string | undefined;
1088
+ phone_number?: string | undefined;
1089
+ linkedin_url?: string | undefined;
1090
+ github_url?: string | undefined;
1091
+ }>, z.ZodObject<{
1092
+ operation: z.ZodLiteral<"create_note">;
1093
+ candidate_id: z.ZodString;
1094
+ content: z.ZodString;
1095
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1096
+ }, "strip", z.ZodTypeAny, {
1097
+ content: string;
1098
+ operation: "create_note";
1099
+ candidate_id: string;
1100
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1101
+ }, {
1102
+ content: string;
1103
+ operation: "create_note";
1104
+ candidate_id: string;
1105
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1106
+ }>, z.ZodObject<{
1107
+ operation: z.ZodLiteral<"list_notes">;
1108
+ candidate_id: z.ZodString;
1109
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1110
+ }, "strip", z.ZodTypeAny, {
1111
+ operation: "list_notes";
1112
+ candidate_id: string;
1113
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1114
+ }, {
1115
+ operation: "list_notes";
1116
+ candidate_id: string;
1117
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1118
+ }>, z.ZodObject<{
1119
+ operation: z.ZodLiteral<"list_sources">;
1120
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1121
+ }, "strip", z.ZodTypeAny, {
1122
+ operation: "list_sources";
1123
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1124
+ }, {
1125
+ operation: "list_sources";
1126
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1127
+ }>, z.ZodObject<{
1128
+ operation: z.ZodLiteral<"list_interview_stages">;
1129
+ job_id: z.ZodString;
1130
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1131
+ }, "strip", z.ZodTypeAny, {
1132
+ operation: "list_interview_stages";
1133
+ job_id: string;
1134
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1135
+ }, {
1136
+ operation: "list_interview_stages";
1137
+ job_id: string;
1138
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1139
+ }>, z.ZodObject<{
1140
+ operation: z.ZodLiteral<"get_file_url">;
1141
+ file_handle: z.ZodString;
1142
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1143
+ }, "strip", z.ZodTypeAny, {
1144
+ operation: "get_file_url";
1145
+ file_handle: string;
1146
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1147
+ }, {
1148
+ operation: "get_file_url";
1149
+ file_handle: string;
1150
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1151
+ }>]>;
1152
+ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
1153
+ operation: z.ZodLiteral<"list_candidates">;
1154
+ success: z.ZodBoolean;
1155
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
1156
+ id: z.ZodString;
1157
+ createdAt: z.ZodOptional<z.ZodString>;
1158
+ updatedAt: z.ZodOptional<z.ZodString>;
1159
+ name: z.ZodString;
1160
+ primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1161
+ value: z.ZodString;
1162
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1163
+ isPrimary: z.ZodBoolean;
1164
+ }, "strip", z.ZodTypeAny, {
1165
+ value: string;
1166
+ type: "Personal" | "Work" | "Other";
1167
+ isPrimary: boolean;
1168
+ }, {
1169
+ value: string;
1170
+ type: "Personal" | "Work" | "Other";
1171
+ isPrimary: boolean;
1172
+ }>>>;
1173
+ emailAddresses: z.ZodOptional<z.ZodArray<z.ZodObject<{
1174
+ value: z.ZodString;
1175
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1176
+ isPrimary: z.ZodBoolean;
1177
+ }, "strip", z.ZodTypeAny, {
1178
+ value: string;
1179
+ type: "Personal" | "Work" | "Other";
1180
+ isPrimary: boolean;
1181
+ }, {
1182
+ value: string;
1183
+ type: "Personal" | "Work" | "Other";
1184
+ isPrimary: boolean;
1185
+ }>, "many">>;
1186
+ primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1187
+ value: z.ZodString;
1188
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1189
+ isPrimary: z.ZodBoolean;
1190
+ }, "strip", z.ZodTypeAny, {
1191
+ value: string;
1192
+ type: "Personal" | "Work" | "Other";
1193
+ isPrimary: boolean;
1194
+ }, {
1195
+ value: string;
1196
+ type: "Personal" | "Work" | "Other";
1197
+ isPrimary: boolean;
1198
+ }>>>;
1199
+ phoneNumbers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1200
+ value: z.ZodString;
1201
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1202
+ isPrimary: z.ZodBoolean;
1203
+ }, "strip", z.ZodTypeAny, {
1204
+ value: string;
1205
+ type: "Personal" | "Work" | "Other";
1206
+ isPrimary: boolean;
1207
+ }, {
1208
+ value: string;
1209
+ type: "Personal" | "Work" | "Other";
1210
+ isPrimary: boolean;
1211
+ }>, "many">>;
1212
+ socialLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1213
+ url: z.ZodString;
1214
+ type: z.ZodString;
1215
+ }, "strip", z.ZodTypeAny, {
1216
+ type: string;
1217
+ url: string;
1218
+ }, {
1219
+ type: string;
1220
+ url: string;
1221
+ }>, "many">>;
1222
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
1223
+ id: z.ZodString;
1224
+ title: z.ZodString;
1225
+ isArchived: z.ZodOptional<z.ZodBoolean>;
1226
+ }, "strip", z.ZodTypeAny, {
1227
+ title: string;
1228
+ id: string;
1229
+ isArchived?: boolean | undefined;
1230
+ }, {
1231
+ title: string;
1232
+ id: string;
1233
+ isArchived?: boolean | undefined;
1234
+ }>, "many">>;
1235
+ position: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1236
+ company: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1237
+ school: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1238
+ applicationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
744
1239
  resumeFileHandle: z.ZodNullable<z.ZodOptional<z.ZodObject<{
745
1240
  id: z.ZodString;
746
1241
  name: z.ZodString;
@@ -783,6 +1278,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
783
1278
  value?: unknown;
784
1279
  isPrivate?: boolean | undefined;
785
1280
  }>, "many">>;
1281
+ profileUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1282
+ source: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
1283
+ creditedToUser: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
786
1284
  }, "strip", z.ZodTypeAny, {
787
1285
  name: string;
788
1286
  id: string;
@@ -792,6 +1290,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
792
1290
  isArchived?: boolean | undefined;
793
1291
  }[] | undefined;
794
1292
  position?: string | null | undefined;
1293
+ profileUrl?: string | null | undefined;
1294
+ source?: unknown;
795
1295
  createdAt?: string | undefined;
796
1296
  updatedAt?: string | undefined;
797
1297
  primaryEmailAddress?: {
@@ -837,6 +1337,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
837
1337
  id: string;
838
1338
  handle: string;
839
1339
  }[] | undefined;
1340
+ creditedToUser?: unknown;
840
1341
  }, {
841
1342
  name: string;
842
1343
  id: string;
@@ -846,6 +1347,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
846
1347
  isArchived?: boolean | undefined;
847
1348
  }[] | undefined;
848
1349
  position?: string | null | undefined;
1350
+ profileUrl?: string | null | undefined;
1351
+ source?: unknown;
849
1352
  createdAt?: string | undefined;
850
1353
  updatedAt?: string | undefined;
851
1354
  primaryEmailAddress?: {
@@ -891,6 +1394,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
891
1394
  id: string;
892
1395
  handle: string;
893
1396
  }[] | undefined;
1397
+ creditedToUser?: unknown;
894
1398
  }>, "many">>;
895
1399
  next_cursor: z.ZodOptional<z.ZodString>;
896
1400
  more_data_available: z.ZodOptional<z.ZodBoolean>;
@@ -911,6 +1415,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
911
1415
  isArchived?: boolean | undefined;
912
1416
  }[] | undefined;
913
1417
  position?: string | null | undefined;
1418
+ profileUrl?: string | null | undefined;
1419
+ source?: unknown;
914
1420
  createdAt?: string | undefined;
915
1421
  updatedAt?: string | undefined;
916
1422
  primaryEmailAddress?: {
@@ -956,6 +1462,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
956
1462
  id: string;
957
1463
  handle: string;
958
1464
  }[] | undefined;
1465
+ creditedToUser?: unknown;
959
1466
  }[] | undefined;
960
1467
  more_data_available?: boolean | undefined;
961
1468
  }, {
@@ -973,6 +1480,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
973
1480
  isArchived?: boolean | undefined;
974
1481
  }[] | undefined;
975
1482
  position?: string | null | undefined;
1483
+ profileUrl?: string | null | undefined;
1484
+ source?: unknown;
976
1485
  createdAt?: string | undefined;
977
1486
  updatedAt?: string | undefined;
978
1487
  primaryEmailAddress?: {
@@ -1011,18 +1520,1359 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1011
1520
  resumeFileHandle?: {
1012
1521
  name: string;
1013
1522
  id: string;
1014
- handle: string;
1523
+ handle: string;
1524
+ } | null | undefined;
1525
+ fileHandles?: {
1526
+ name: string;
1527
+ id: string;
1528
+ handle: string;
1529
+ }[] | undefined;
1530
+ creditedToUser?: unknown;
1531
+ }[] | undefined;
1532
+ more_data_available?: boolean | undefined;
1533
+ }>, z.ZodObject<{
1534
+ operation: z.ZodLiteral<"get_candidate">;
1535
+ success: z.ZodBoolean;
1536
+ candidate: z.ZodOptional<z.ZodObject<{
1537
+ id: z.ZodString;
1538
+ createdAt: z.ZodOptional<z.ZodString>;
1539
+ updatedAt: z.ZodOptional<z.ZodString>;
1540
+ name: z.ZodString;
1541
+ primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1542
+ value: z.ZodString;
1543
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1544
+ isPrimary: z.ZodBoolean;
1545
+ }, "strip", z.ZodTypeAny, {
1546
+ value: string;
1547
+ type: "Personal" | "Work" | "Other";
1548
+ isPrimary: boolean;
1549
+ }, {
1550
+ value: string;
1551
+ type: "Personal" | "Work" | "Other";
1552
+ isPrimary: boolean;
1553
+ }>>>;
1554
+ primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1555
+ value: z.ZodString;
1556
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1557
+ isPrimary: z.ZodBoolean;
1558
+ }, "strip", z.ZodTypeAny, {
1559
+ value: string;
1560
+ type: "Personal" | "Work" | "Other";
1561
+ isPrimary: boolean;
1562
+ }, {
1563
+ value: string;
1564
+ type: "Personal" | "Work" | "Other";
1565
+ isPrimary: boolean;
1566
+ }>>>;
1567
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1568
+ id: z.ZodString;
1569
+ title: z.ZodString;
1570
+ value: z.ZodUnknown;
1571
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
1572
+ }, "strip", z.ZodTypeAny, {
1573
+ title: string;
1574
+ id: string;
1575
+ value?: unknown;
1576
+ isPrivate?: boolean | undefined;
1577
+ }, {
1578
+ title: string;
1579
+ id: string;
1580
+ value?: unknown;
1581
+ isPrivate?: boolean | undefined;
1582
+ }>, "many">>;
1583
+ }, "strip", z.ZodTypeAny, {
1584
+ name: string;
1585
+ id: string;
1586
+ createdAt?: string | undefined;
1587
+ updatedAt?: string | undefined;
1588
+ primaryEmailAddress?: {
1589
+ value: string;
1590
+ type: "Personal" | "Work" | "Other";
1591
+ isPrimary: boolean;
1592
+ } | null | undefined;
1593
+ primaryPhoneNumber?: {
1594
+ value: string;
1595
+ type: "Personal" | "Work" | "Other";
1596
+ isPrimary: boolean;
1597
+ } | null | undefined;
1598
+ customFields?: {
1599
+ title: string;
1600
+ id: string;
1601
+ value?: unknown;
1602
+ isPrivate?: boolean | undefined;
1603
+ }[] | undefined;
1604
+ }, {
1605
+ name: string;
1606
+ id: string;
1607
+ createdAt?: string | undefined;
1608
+ updatedAt?: string | undefined;
1609
+ primaryEmailAddress?: {
1610
+ value: string;
1611
+ type: "Personal" | "Work" | "Other";
1612
+ isPrimary: boolean;
1613
+ } | null | undefined;
1614
+ primaryPhoneNumber?: {
1615
+ value: string;
1616
+ type: "Personal" | "Work" | "Other";
1617
+ isPrimary: boolean;
1618
+ } | null | undefined;
1619
+ customFields?: {
1620
+ title: string;
1621
+ id: string;
1622
+ value?: unknown;
1623
+ isPrivate?: boolean | undefined;
1624
+ }[] | undefined;
1625
+ }>>;
1626
+ error: z.ZodString;
1627
+ }, "strip", z.ZodTypeAny, {
1628
+ error: string;
1629
+ success: boolean;
1630
+ operation: "get_candidate";
1631
+ candidate?: {
1632
+ name: string;
1633
+ id: string;
1634
+ createdAt?: string | undefined;
1635
+ updatedAt?: string | undefined;
1636
+ primaryEmailAddress?: {
1637
+ value: string;
1638
+ type: "Personal" | "Work" | "Other";
1639
+ isPrimary: boolean;
1640
+ } | null | undefined;
1641
+ primaryPhoneNumber?: {
1642
+ value: string;
1643
+ type: "Personal" | "Work" | "Other";
1644
+ isPrimary: boolean;
1645
+ } | null | undefined;
1646
+ customFields?: {
1647
+ title: string;
1648
+ id: string;
1649
+ value?: unknown;
1650
+ isPrivate?: boolean | undefined;
1651
+ }[] | undefined;
1652
+ } | undefined;
1653
+ }, {
1654
+ error: string;
1655
+ success: boolean;
1656
+ operation: "get_candidate";
1657
+ candidate?: {
1658
+ name: string;
1659
+ id: string;
1660
+ createdAt?: string | undefined;
1661
+ updatedAt?: string | undefined;
1662
+ primaryEmailAddress?: {
1663
+ value: string;
1664
+ type: "Personal" | "Work" | "Other";
1665
+ isPrimary: boolean;
1666
+ } | null | undefined;
1667
+ primaryPhoneNumber?: {
1668
+ value: string;
1669
+ type: "Personal" | "Work" | "Other";
1670
+ isPrimary: boolean;
1671
+ } | null | undefined;
1672
+ customFields?: {
1673
+ title: string;
1674
+ id: string;
1675
+ value?: unknown;
1676
+ isPrivate?: boolean | undefined;
1677
+ }[] | undefined;
1678
+ } | undefined;
1679
+ }>, z.ZodObject<{
1680
+ operation: z.ZodLiteral<"create_candidate">;
1681
+ success: z.ZodBoolean;
1682
+ candidate: z.ZodOptional<z.ZodObject<{
1683
+ id: z.ZodString;
1684
+ createdAt: z.ZodOptional<z.ZodString>;
1685
+ updatedAt: z.ZodOptional<z.ZodString>;
1686
+ name: z.ZodString;
1687
+ primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1688
+ value: z.ZodString;
1689
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1690
+ isPrimary: z.ZodBoolean;
1691
+ }, "strip", z.ZodTypeAny, {
1692
+ value: string;
1693
+ type: "Personal" | "Work" | "Other";
1694
+ isPrimary: boolean;
1695
+ }, {
1696
+ value: string;
1697
+ type: "Personal" | "Work" | "Other";
1698
+ isPrimary: boolean;
1699
+ }>>>;
1700
+ primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1701
+ value: z.ZodString;
1702
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1703
+ isPrimary: z.ZodBoolean;
1704
+ }, "strip", z.ZodTypeAny, {
1705
+ value: string;
1706
+ type: "Personal" | "Work" | "Other";
1707
+ isPrimary: boolean;
1708
+ }, {
1709
+ value: string;
1710
+ type: "Personal" | "Work" | "Other";
1711
+ isPrimary: boolean;
1712
+ }>>>;
1713
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1714
+ id: z.ZodString;
1715
+ title: z.ZodString;
1716
+ value: z.ZodUnknown;
1717
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
1718
+ }, "strip", z.ZodTypeAny, {
1719
+ title: string;
1720
+ id: string;
1721
+ value?: unknown;
1722
+ isPrivate?: boolean | undefined;
1723
+ }, {
1724
+ title: string;
1725
+ id: string;
1726
+ value?: unknown;
1727
+ isPrivate?: boolean | undefined;
1728
+ }>, "many">>;
1729
+ }, "strip", z.ZodTypeAny, {
1730
+ name: string;
1731
+ id: string;
1732
+ createdAt?: string | undefined;
1733
+ updatedAt?: string | undefined;
1734
+ primaryEmailAddress?: {
1735
+ value: string;
1736
+ type: "Personal" | "Work" | "Other";
1737
+ isPrimary: boolean;
1738
+ } | null | undefined;
1739
+ primaryPhoneNumber?: {
1740
+ value: string;
1741
+ type: "Personal" | "Work" | "Other";
1742
+ isPrimary: boolean;
1743
+ } | null | undefined;
1744
+ customFields?: {
1745
+ title: string;
1746
+ id: string;
1747
+ value?: unknown;
1748
+ isPrivate?: boolean | undefined;
1749
+ }[] | undefined;
1750
+ }, {
1751
+ name: string;
1752
+ id: string;
1753
+ createdAt?: string | undefined;
1754
+ updatedAt?: string | undefined;
1755
+ primaryEmailAddress?: {
1756
+ value: string;
1757
+ type: "Personal" | "Work" | "Other";
1758
+ isPrimary: boolean;
1759
+ } | null | undefined;
1760
+ primaryPhoneNumber?: {
1761
+ value: string;
1762
+ type: "Personal" | "Work" | "Other";
1763
+ isPrimary: boolean;
1764
+ } | null | undefined;
1765
+ customFields?: {
1766
+ title: string;
1767
+ id: string;
1768
+ value?: unknown;
1769
+ isPrivate?: boolean | undefined;
1770
+ }[] | undefined;
1771
+ }>>;
1772
+ duplicate: z.ZodOptional<z.ZodBoolean>;
1773
+ error: z.ZodString;
1774
+ }, "strip", z.ZodTypeAny, {
1775
+ error: string;
1776
+ success: boolean;
1777
+ operation: "create_candidate";
1778
+ candidate?: {
1779
+ name: string;
1780
+ id: string;
1781
+ createdAt?: string | undefined;
1782
+ updatedAt?: string | undefined;
1783
+ primaryEmailAddress?: {
1784
+ value: string;
1785
+ type: "Personal" | "Work" | "Other";
1786
+ isPrimary: boolean;
1787
+ } | null | undefined;
1788
+ primaryPhoneNumber?: {
1789
+ value: string;
1790
+ type: "Personal" | "Work" | "Other";
1791
+ isPrimary: boolean;
1792
+ } | null | undefined;
1793
+ customFields?: {
1794
+ title: string;
1795
+ id: string;
1796
+ value?: unknown;
1797
+ isPrivate?: boolean | undefined;
1798
+ }[] | undefined;
1799
+ } | undefined;
1800
+ duplicate?: boolean | undefined;
1801
+ }, {
1802
+ error: string;
1803
+ success: boolean;
1804
+ operation: "create_candidate";
1805
+ candidate?: {
1806
+ name: string;
1807
+ id: string;
1808
+ createdAt?: string | undefined;
1809
+ updatedAt?: string | undefined;
1810
+ primaryEmailAddress?: {
1811
+ value: string;
1812
+ type: "Personal" | "Work" | "Other";
1813
+ isPrimary: boolean;
1814
+ } | null | undefined;
1815
+ primaryPhoneNumber?: {
1816
+ value: string;
1817
+ type: "Personal" | "Work" | "Other";
1818
+ isPrimary: boolean;
1819
+ } | null | undefined;
1820
+ customFields?: {
1821
+ title: string;
1822
+ id: string;
1823
+ value?: unknown;
1824
+ isPrivate?: boolean | undefined;
1825
+ }[] | undefined;
1826
+ } | undefined;
1827
+ duplicate?: boolean | undefined;
1828
+ }>, z.ZodObject<{
1829
+ operation: z.ZodLiteral<"search_candidates">;
1830
+ success: z.ZodBoolean;
1831
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
1832
+ id: z.ZodString;
1833
+ createdAt: z.ZodOptional<z.ZodString>;
1834
+ updatedAt: z.ZodOptional<z.ZodString>;
1835
+ name: z.ZodString;
1836
+ primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1837
+ value: z.ZodString;
1838
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1839
+ isPrimary: z.ZodBoolean;
1840
+ }, "strip", z.ZodTypeAny, {
1841
+ value: string;
1842
+ type: "Personal" | "Work" | "Other";
1843
+ isPrimary: boolean;
1844
+ }, {
1845
+ value: string;
1846
+ type: "Personal" | "Work" | "Other";
1847
+ isPrimary: boolean;
1848
+ }>>>;
1849
+ primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1850
+ value: z.ZodString;
1851
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1852
+ isPrimary: z.ZodBoolean;
1853
+ }, "strip", z.ZodTypeAny, {
1854
+ value: string;
1855
+ type: "Personal" | "Work" | "Other";
1856
+ isPrimary: boolean;
1857
+ }, {
1858
+ value: string;
1859
+ type: "Personal" | "Work" | "Other";
1860
+ isPrimary: boolean;
1861
+ }>>>;
1862
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1863
+ id: z.ZodString;
1864
+ title: z.ZodString;
1865
+ value: z.ZodUnknown;
1866
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
1867
+ }, "strip", z.ZodTypeAny, {
1868
+ title: string;
1869
+ id: string;
1870
+ value?: unknown;
1871
+ isPrivate?: boolean | undefined;
1872
+ }, {
1873
+ title: string;
1874
+ id: string;
1875
+ value?: unknown;
1876
+ isPrivate?: boolean | undefined;
1877
+ }>, "many">>;
1878
+ }, "strip", z.ZodTypeAny, {
1879
+ name: string;
1880
+ id: string;
1881
+ createdAt?: string | undefined;
1882
+ updatedAt?: string | undefined;
1883
+ primaryEmailAddress?: {
1884
+ value: string;
1885
+ type: "Personal" | "Work" | "Other";
1886
+ isPrimary: boolean;
1887
+ } | null | undefined;
1888
+ primaryPhoneNumber?: {
1889
+ value: string;
1890
+ type: "Personal" | "Work" | "Other";
1891
+ isPrimary: boolean;
1892
+ } | null | undefined;
1893
+ customFields?: {
1894
+ title: string;
1895
+ id: string;
1896
+ value?: unknown;
1897
+ isPrivate?: boolean | undefined;
1898
+ }[] | undefined;
1899
+ }, {
1900
+ name: string;
1901
+ id: string;
1902
+ createdAt?: string | undefined;
1903
+ updatedAt?: string | undefined;
1904
+ primaryEmailAddress?: {
1905
+ value: string;
1906
+ type: "Personal" | "Work" | "Other";
1907
+ isPrimary: boolean;
1908
+ } | null | undefined;
1909
+ primaryPhoneNumber?: {
1910
+ value: string;
1911
+ type: "Personal" | "Work" | "Other";
1912
+ isPrimary: boolean;
1913
+ } | null | undefined;
1914
+ customFields?: {
1915
+ title: string;
1916
+ id: string;
1917
+ value?: unknown;
1918
+ isPrivate?: boolean | undefined;
1919
+ }[] | undefined;
1920
+ }>, "many">>;
1921
+ error: z.ZodString;
1922
+ }, "strip", z.ZodTypeAny, {
1923
+ error: string;
1924
+ success: boolean;
1925
+ operation: "search_candidates";
1926
+ candidates?: {
1927
+ name: string;
1928
+ id: string;
1929
+ createdAt?: string | undefined;
1930
+ updatedAt?: string | undefined;
1931
+ primaryEmailAddress?: {
1932
+ value: string;
1933
+ type: "Personal" | "Work" | "Other";
1934
+ isPrimary: boolean;
1935
+ } | null | undefined;
1936
+ primaryPhoneNumber?: {
1937
+ value: string;
1938
+ type: "Personal" | "Work" | "Other";
1939
+ isPrimary: boolean;
1940
+ } | null | undefined;
1941
+ customFields?: {
1942
+ title: string;
1943
+ id: string;
1944
+ value?: unknown;
1945
+ isPrivate?: boolean | undefined;
1946
+ }[] | undefined;
1947
+ }[] | undefined;
1948
+ }, {
1949
+ error: string;
1950
+ success: boolean;
1951
+ operation: "search_candidates";
1952
+ candidates?: {
1953
+ name: string;
1954
+ id: string;
1955
+ createdAt?: string | undefined;
1956
+ updatedAt?: string | undefined;
1957
+ primaryEmailAddress?: {
1958
+ value: string;
1959
+ type: "Personal" | "Work" | "Other";
1960
+ isPrimary: boolean;
1961
+ } | null | undefined;
1962
+ primaryPhoneNumber?: {
1963
+ value: string;
1964
+ type: "Personal" | "Work" | "Other";
1965
+ isPrimary: boolean;
1966
+ } | null | undefined;
1967
+ customFields?: {
1968
+ title: string;
1969
+ id: string;
1970
+ value?: unknown;
1971
+ isPrivate?: boolean | undefined;
1972
+ }[] | undefined;
1973
+ }[] | undefined;
1974
+ }>, z.ZodObject<{
1975
+ operation: z.ZodLiteral<"add_tag">;
1976
+ success: z.ZodBoolean;
1977
+ candidate: z.ZodOptional<z.ZodObject<{
1978
+ id: z.ZodString;
1979
+ createdAt: z.ZodOptional<z.ZodString>;
1980
+ updatedAt: z.ZodOptional<z.ZodString>;
1981
+ name: z.ZodString;
1982
+ primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1983
+ value: z.ZodString;
1984
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1985
+ isPrimary: z.ZodBoolean;
1986
+ }, "strip", z.ZodTypeAny, {
1987
+ value: string;
1988
+ type: "Personal" | "Work" | "Other";
1989
+ isPrimary: boolean;
1990
+ }, {
1991
+ value: string;
1992
+ type: "Personal" | "Work" | "Other";
1993
+ isPrimary: boolean;
1994
+ }>>>;
1995
+ primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1996
+ value: z.ZodString;
1997
+ type: z.ZodEnum<["Personal", "Work", "Other"]>;
1998
+ isPrimary: z.ZodBoolean;
1999
+ }, "strip", z.ZodTypeAny, {
2000
+ value: string;
2001
+ type: "Personal" | "Work" | "Other";
2002
+ isPrimary: boolean;
2003
+ }, {
2004
+ value: string;
2005
+ type: "Personal" | "Work" | "Other";
2006
+ isPrimary: boolean;
2007
+ }>>>;
2008
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2009
+ id: z.ZodString;
2010
+ title: z.ZodString;
2011
+ value: z.ZodUnknown;
2012
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
2013
+ }, "strip", z.ZodTypeAny, {
2014
+ title: string;
2015
+ id: string;
2016
+ value?: unknown;
2017
+ isPrivate?: boolean | undefined;
2018
+ }, {
2019
+ title: string;
2020
+ id: string;
2021
+ value?: unknown;
2022
+ isPrivate?: boolean | undefined;
2023
+ }>, "many">>;
2024
+ }, "strip", z.ZodTypeAny, {
2025
+ name: string;
2026
+ id: string;
2027
+ createdAt?: string | undefined;
2028
+ updatedAt?: string | undefined;
2029
+ primaryEmailAddress?: {
2030
+ value: string;
2031
+ type: "Personal" | "Work" | "Other";
2032
+ isPrimary: boolean;
2033
+ } | null | undefined;
2034
+ primaryPhoneNumber?: {
2035
+ value: string;
2036
+ type: "Personal" | "Work" | "Other";
2037
+ isPrimary: boolean;
2038
+ } | null | undefined;
2039
+ customFields?: {
2040
+ title: string;
2041
+ id: string;
2042
+ value?: unknown;
2043
+ isPrivate?: boolean | undefined;
2044
+ }[] | undefined;
2045
+ }, {
2046
+ name: string;
2047
+ id: string;
2048
+ createdAt?: string | undefined;
2049
+ updatedAt?: string | undefined;
2050
+ primaryEmailAddress?: {
2051
+ value: string;
2052
+ type: "Personal" | "Work" | "Other";
2053
+ isPrimary: boolean;
2054
+ } | null | undefined;
2055
+ primaryPhoneNumber?: {
2056
+ value: string;
2057
+ type: "Personal" | "Work" | "Other";
2058
+ isPrimary: boolean;
2059
+ } | null | undefined;
2060
+ customFields?: {
2061
+ title: string;
2062
+ id: string;
2063
+ value?: unknown;
2064
+ isPrivate?: boolean | undefined;
2065
+ }[] | undefined;
2066
+ }>>;
2067
+ error: z.ZodString;
2068
+ }, "strip", z.ZodTypeAny, {
2069
+ error: string;
2070
+ success: boolean;
2071
+ operation: "add_tag";
2072
+ candidate?: {
2073
+ name: string;
2074
+ id: string;
2075
+ createdAt?: string | undefined;
2076
+ updatedAt?: string | undefined;
2077
+ primaryEmailAddress?: {
2078
+ value: string;
2079
+ type: "Personal" | "Work" | "Other";
2080
+ isPrimary: boolean;
2081
+ } | null | undefined;
2082
+ primaryPhoneNumber?: {
2083
+ value: string;
2084
+ type: "Personal" | "Work" | "Other";
2085
+ isPrimary: boolean;
2086
+ } | null | undefined;
2087
+ customFields?: {
2088
+ title: string;
2089
+ id: string;
2090
+ value?: unknown;
2091
+ isPrivate?: boolean | undefined;
2092
+ }[] | undefined;
2093
+ } | undefined;
2094
+ }, {
2095
+ error: string;
2096
+ success: boolean;
2097
+ operation: "add_tag";
2098
+ candidate?: {
2099
+ name: string;
2100
+ id: string;
2101
+ createdAt?: string | undefined;
2102
+ updatedAt?: string | undefined;
2103
+ primaryEmailAddress?: {
2104
+ value: string;
2105
+ type: "Personal" | "Work" | "Other";
2106
+ isPrimary: boolean;
2107
+ } | null | undefined;
2108
+ primaryPhoneNumber?: {
2109
+ value: string;
2110
+ type: "Personal" | "Work" | "Other";
2111
+ isPrimary: boolean;
2112
+ } | null | undefined;
2113
+ customFields?: {
2114
+ title: string;
2115
+ id: string;
2116
+ value?: unknown;
2117
+ isPrivate?: boolean | undefined;
2118
+ }[] | undefined;
2119
+ } | undefined;
2120
+ }>, z.ZodObject<{
2121
+ operation: z.ZodLiteral<"list_tags">;
2122
+ success: z.ZodBoolean;
2123
+ tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
2124
+ id: z.ZodString;
2125
+ title: z.ZodString;
2126
+ isArchived: z.ZodOptional<z.ZodBoolean>;
2127
+ }, "strip", z.ZodTypeAny, {
2128
+ title: string;
2129
+ id: string;
2130
+ isArchived?: boolean | undefined;
2131
+ }, {
2132
+ title: string;
2133
+ id: string;
2134
+ isArchived?: boolean | undefined;
2135
+ }>, "many">>;
2136
+ error: z.ZodString;
2137
+ }, "strip", z.ZodTypeAny, {
2138
+ error: string;
2139
+ success: boolean;
2140
+ operation: "list_tags";
2141
+ tags?: {
2142
+ title: string;
2143
+ id: string;
2144
+ isArchived?: boolean | undefined;
2145
+ }[] | undefined;
2146
+ }, {
2147
+ error: string;
2148
+ success: boolean;
2149
+ operation: "list_tags";
2150
+ tags?: {
2151
+ title: string;
2152
+ id: string;
2153
+ isArchived?: boolean | undefined;
2154
+ }[] | undefined;
2155
+ }>, z.ZodObject<{
2156
+ operation: z.ZodLiteral<"create_tag">;
2157
+ success: z.ZodBoolean;
2158
+ tag: z.ZodOptional<z.ZodObject<{
2159
+ id: z.ZodString;
2160
+ title: z.ZodString;
2161
+ isArchived: z.ZodOptional<z.ZodBoolean>;
2162
+ }, "strip", z.ZodTypeAny, {
2163
+ title: string;
2164
+ id: string;
2165
+ isArchived?: boolean | undefined;
2166
+ }, {
2167
+ title: string;
2168
+ id: string;
2169
+ isArchived?: boolean | undefined;
2170
+ }>>;
2171
+ error: z.ZodString;
2172
+ }, "strip", z.ZodTypeAny, {
2173
+ error: string;
2174
+ success: boolean;
2175
+ operation: "create_tag";
2176
+ tag?: {
2177
+ title: string;
2178
+ id: string;
2179
+ isArchived?: boolean | undefined;
2180
+ } | undefined;
2181
+ }, {
2182
+ error: string;
2183
+ success: boolean;
2184
+ operation: "create_tag";
2185
+ tag?: {
2186
+ title: string;
2187
+ id: string;
2188
+ isArchived?: boolean | undefined;
2189
+ } | undefined;
2190
+ }>, z.ZodObject<{
2191
+ operation: z.ZodLiteral<"list_custom_fields">;
2192
+ success: z.ZodBoolean;
2193
+ custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2194
+ id: z.ZodString;
2195
+ isPrivate: z.ZodBoolean;
2196
+ title: z.ZodString;
2197
+ objectType: z.ZodString;
2198
+ isArchived: z.ZodBoolean;
2199
+ fieldType: z.ZodString;
2200
+ selectableValues: z.ZodOptional<z.ZodArray<z.ZodObject<{
2201
+ label: z.ZodString;
2202
+ value: z.ZodString;
2203
+ isArchived: z.ZodBoolean;
2204
+ }, "strip", z.ZodTypeAny, {
2205
+ value: string;
2206
+ label: string;
2207
+ isArchived: boolean;
2208
+ }, {
2209
+ value: string;
2210
+ label: string;
2211
+ isArchived: boolean;
2212
+ }>, "many">>;
2213
+ }, "strip", z.ZodTypeAny, {
2214
+ title: string;
2215
+ id: string;
2216
+ fieldType: string;
2217
+ isPrivate: boolean;
2218
+ isArchived: boolean;
2219
+ objectType: string;
2220
+ selectableValues?: {
2221
+ value: string;
2222
+ label: string;
2223
+ isArchived: boolean;
2224
+ }[] | undefined;
2225
+ }, {
2226
+ title: string;
2227
+ id: string;
2228
+ fieldType: string;
2229
+ isPrivate: boolean;
2230
+ isArchived: boolean;
2231
+ objectType: string;
2232
+ selectableValues?: {
2233
+ value: string;
2234
+ label: string;
2235
+ isArchived: boolean;
2236
+ }[] | undefined;
2237
+ }>, "many">>;
2238
+ next_cursor: z.ZodOptional<z.ZodString>;
2239
+ more_data_available: z.ZodOptional<z.ZodBoolean>;
2240
+ sync_token: z.ZodOptional<z.ZodString>;
2241
+ error: z.ZodString;
2242
+ }, "strip", z.ZodTypeAny, {
2243
+ error: string;
2244
+ success: boolean;
2245
+ operation: "list_custom_fields";
2246
+ next_cursor?: string | undefined;
2247
+ custom_fields?: {
2248
+ title: string;
2249
+ id: string;
2250
+ fieldType: string;
2251
+ isPrivate: boolean;
2252
+ isArchived: boolean;
2253
+ objectType: string;
2254
+ selectableValues?: {
2255
+ value: string;
2256
+ label: string;
2257
+ isArchived: boolean;
2258
+ }[] | undefined;
2259
+ }[] | undefined;
2260
+ sync_token?: string | undefined;
2261
+ more_data_available?: boolean | undefined;
2262
+ }, {
2263
+ error: string;
2264
+ success: boolean;
2265
+ operation: "list_custom_fields";
2266
+ next_cursor?: string | undefined;
2267
+ custom_fields?: {
2268
+ title: string;
2269
+ id: string;
2270
+ fieldType: string;
2271
+ isPrivate: boolean;
2272
+ isArchived: boolean;
2273
+ objectType: string;
2274
+ selectableValues?: {
2275
+ value: string;
2276
+ label: string;
2277
+ isArchived: boolean;
2278
+ }[] | undefined;
2279
+ }[] | undefined;
2280
+ sync_token?: string | undefined;
2281
+ more_data_available?: boolean | undefined;
2282
+ }>, z.ZodObject<{
2283
+ operation: z.ZodLiteral<"list_jobs">;
2284
+ success: z.ZodBoolean;
2285
+ jobs: z.ZodOptional<z.ZodArray<z.ZodObject<{
2286
+ id: z.ZodString;
2287
+ title: z.ZodString;
2288
+ status: z.ZodOptional<z.ZodString>;
2289
+ departmentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2290
+ teamId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2291
+ locationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2292
+ locationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2293
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2294
+ id: z.ZodString;
2295
+ title: z.ZodString;
2296
+ value: z.ZodUnknown;
2297
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
2298
+ }, "strip", z.ZodTypeAny, {
2299
+ title: string;
2300
+ id: string;
2301
+ value?: unknown;
2302
+ isPrivate?: boolean | undefined;
2303
+ }, {
2304
+ title: string;
2305
+ id: string;
2306
+ value?: unknown;
2307
+ isPrivate?: boolean | undefined;
2308
+ }>, "many">>;
2309
+ openedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2310
+ closedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2311
+ createdAt: z.ZodOptional<z.ZodString>;
2312
+ updatedAt: z.ZodOptional<z.ZodString>;
2313
+ }, "strip", z.ZodTypeAny, {
2314
+ title: string;
2315
+ id: string;
2316
+ status?: string | undefined;
2317
+ locationId?: string | null | undefined;
2318
+ createdAt?: string | undefined;
2319
+ updatedAt?: string | undefined;
2320
+ teamId?: string | null | undefined;
2321
+ customFields?: {
2322
+ title: string;
2323
+ id: string;
2324
+ value?: unknown;
2325
+ isPrivate?: boolean | undefined;
2326
+ }[] | undefined;
2327
+ departmentId?: string | null | undefined;
2328
+ locationIds?: string[] | undefined;
2329
+ openedAt?: string | null | undefined;
2330
+ closedAt?: string | null | undefined;
2331
+ }, {
2332
+ title: string;
2333
+ id: string;
2334
+ status?: string | undefined;
2335
+ locationId?: string | null | undefined;
2336
+ createdAt?: string | undefined;
2337
+ updatedAt?: string | undefined;
2338
+ teamId?: string | null | undefined;
2339
+ customFields?: {
2340
+ title: string;
2341
+ id: string;
2342
+ value?: unknown;
2343
+ isPrivate?: boolean | undefined;
2344
+ }[] | undefined;
2345
+ departmentId?: string | null | undefined;
2346
+ locationIds?: string[] | undefined;
2347
+ openedAt?: string | null | undefined;
2348
+ closedAt?: string | null | undefined;
2349
+ }>, "many">>;
2350
+ next_cursor: z.ZodOptional<z.ZodString>;
2351
+ more_data_available: z.ZodOptional<z.ZodBoolean>;
2352
+ error: z.ZodString;
2353
+ }, "strip", z.ZodTypeAny, {
2354
+ error: string;
2355
+ success: boolean;
2356
+ operation: "list_jobs";
2357
+ next_cursor?: string | undefined;
2358
+ jobs?: {
2359
+ title: string;
2360
+ id: string;
2361
+ status?: string | undefined;
2362
+ locationId?: string | null | undefined;
2363
+ createdAt?: string | undefined;
2364
+ updatedAt?: string | undefined;
2365
+ teamId?: string | null | undefined;
2366
+ customFields?: {
2367
+ title: string;
2368
+ id: string;
2369
+ value?: unknown;
2370
+ isPrivate?: boolean | undefined;
2371
+ }[] | undefined;
2372
+ departmentId?: string | null | undefined;
2373
+ locationIds?: string[] | undefined;
2374
+ openedAt?: string | null | undefined;
2375
+ closedAt?: string | null | undefined;
2376
+ }[] | undefined;
2377
+ more_data_available?: boolean | undefined;
2378
+ }, {
2379
+ error: string;
2380
+ success: boolean;
2381
+ operation: "list_jobs";
2382
+ next_cursor?: string | undefined;
2383
+ jobs?: {
2384
+ title: string;
2385
+ id: string;
2386
+ status?: string | undefined;
2387
+ locationId?: string | null | undefined;
2388
+ createdAt?: string | undefined;
2389
+ updatedAt?: string | undefined;
2390
+ teamId?: string | null | undefined;
2391
+ customFields?: {
2392
+ title: string;
2393
+ id: string;
2394
+ value?: unknown;
2395
+ isPrivate?: boolean | undefined;
2396
+ }[] | undefined;
2397
+ departmentId?: string | null | undefined;
2398
+ locationIds?: string[] | undefined;
2399
+ openedAt?: string | null | undefined;
2400
+ closedAt?: string | null | undefined;
2401
+ }[] | undefined;
2402
+ more_data_available?: boolean | undefined;
2403
+ }>, z.ZodObject<{
2404
+ operation: z.ZodLiteral<"get_job">;
2405
+ success: z.ZodBoolean;
2406
+ job: z.ZodOptional<z.ZodObject<{
2407
+ id: z.ZodString;
2408
+ title: z.ZodString;
2409
+ status: z.ZodOptional<z.ZodString>;
2410
+ departmentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2411
+ teamId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2412
+ locationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2413
+ locationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2414
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2415
+ id: z.ZodString;
2416
+ title: z.ZodString;
2417
+ value: z.ZodUnknown;
2418
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
2419
+ }, "strip", z.ZodTypeAny, {
2420
+ title: string;
2421
+ id: string;
2422
+ value?: unknown;
2423
+ isPrivate?: boolean | undefined;
2424
+ }, {
2425
+ title: string;
2426
+ id: string;
2427
+ value?: unknown;
2428
+ isPrivate?: boolean | undefined;
2429
+ }>, "many">>;
2430
+ openedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2431
+ closedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2432
+ createdAt: z.ZodOptional<z.ZodString>;
2433
+ updatedAt: z.ZodOptional<z.ZodString>;
2434
+ }, "strip", z.ZodTypeAny, {
2435
+ title: string;
2436
+ id: string;
2437
+ status?: string | undefined;
2438
+ locationId?: string | null | undefined;
2439
+ createdAt?: string | undefined;
2440
+ updatedAt?: string | undefined;
2441
+ teamId?: string | null | undefined;
2442
+ customFields?: {
2443
+ title: string;
2444
+ id: string;
2445
+ value?: unknown;
2446
+ isPrivate?: boolean | undefined;
2447
+ }[] | undefined;
2448
+ departmentId?: string | null | undefined;
2449
+ locationIds?: string[] | undefined;
2450
+ openedAt?: string | null | undefined;
2451
+ closedAt?: string | null | undefined;
2452
+ }, {
2453
+ title: string;
2454
+ id: string;
2455
+ status?: string | undefined;
2456
+ locationId?: string | null | undefined;
2457
+ createdAt?: string | undefined;
2458
+ updatedAt?: string | undefined;
2459
+ teamId?: string | null | undefined;
2460
+ customFields?: {
2461
+ title: string;
2462
+ id: string;
2463
+ value?: unknown;
2464
+ isPrivate?: boolean | undefined;
2465
+ }[] | undefined;
2466
+ departmentId?: string | null | undefined;
2467
+ locationIds?: string[] | undefined;
2468
+ openedAt?: string | null | undefined;
2469
+ closedAt?: string | null | undefined;
2470
+ }>>;
2471
+ interview_stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
2472
+ id: z.ZodString;
2473
+ title: z.ZodString;
2474
+ type: z.ZodOptional<z.ZodString>;
2475
+ orderInInterviewPlan: z.ZodOptional<z.ZodNumber>;
2476
+ interviewPlanId: z.ZodOptional<z.ZodString>;
2477
+ }, "strip", z.ZodTypeAny, {
2478
+ title: string;
2479
+ id: string;
2480
+ type?: string | undefined;
2481
+ orderInInterviewPlan?: number | undefined;
2482
+ interviewPlanId?: string | undefined;
2483
+ }, {
2484
+ title: string;
2485
+ id: string;
2486
+ type?: string | undefined;
2487
+ orderInInterviewPlan?: number | undefined;
2488
+ interviewPlanId?: string | undefined;
2489
+ }>, "many">>;
2490
+ error: z.ZodString;
2491
+ }, "strip", z.ZodTypeAny, {
2492
+ error: string;
2493
+ success: boolean;
2494
+ operation: "get_job";
2495
+ job?: {
2496
+ title: string;
2497
+ id: string;
2498
+ status?: string | undefined;
2499
+ locationId?: string | null | undefined;
2500
+ createdAt?: string | undefined;
2501
+ updatedAt?: string | undefined;
2502
+ teamId?: string | null | undefined;
2503
+ customFields?: {
2504
+ title: string;
2505
+ id: string;
2506
+ value?: unknown;
2507
+ isPrivate?: boolean | undefined;
2508
+ }[] | undefined;
2509
+ departmentId?: string | null | undefined;
2510
+ locationIds?: string[] | undefined;
2511
+ openedAt?: string | null | undefined;
2512
+ closedAt?: string | null | undefined;
2513
+ } | undefined;
2514
+ interview_stages?: {
2515
+ title: string;
2516
+ id: string;
2517
+ type?: string | undefined;
2518
+ orderInInterviewPlan?: number | undefined;
2519
+ interviewPlanId?: string | undefined;
2520
+ }[] | undefined;
2521
+ }, {
2522
+ error: string;
2523
+ success: boolean;
2524
+ operation: "get_job";
2525
+ job?: {
2526
+ title: string;
2527
+ id: string;
2528
+ status?: string | undefined;
2529
+ locationId?: string | null | undefined;
2530
+ createdAt?: string | undefined;
2531
+ updatedAt?: string | undefined;
2532
+ teamId?: string | null | undefined;
2533
+ customFields?: {
2534
+ title: string;
2535
+ id: string;
2536
+ value?: unknown;
2537
+ isPrivate?: boolean | undefined;
2538
+ }[] | undefined;
2539
+ departmentId?: string | null | undefined;
2540
+ locationIds?: string[] | undefined;
2541
+ openedAt?: string | null | undefined;
2542
+ closedAt?: string | null | undefined;
2543
+ } | undefined;
2544
+ interview_stages?: {
2545
+ title: string;
2546
+ id: string;
2547
+ type?: string | undefined;
2548
+ orderInInterviewPlan?: number | undefined;
2549
+ interviewPlanId?: string | undefined;
2550
+ }[] | undefined;
2551
+ }>, z.ZodObject<{
2552
+ operation: z.ZodLiteral<"list_applications">;
2553
+ success: z.ZodBoolean;
2554
+ applications: z.ZodOptional<z.ZodArray<z.ZodObject<{
2555
+ id: z.ZodString;
2556
+ createdAt: z.ZodOptional<z.ZodString>;
2557
+ updatedAt: z.ZodOptional<z.ZodString>;
2558
+ status: z.ZodOptional<z.ZodString>;
2559
+ candidateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2560
+ jobId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2561
+ currentInterviewStage: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2562
+ id: z.ZodString;
2563
+ title: z.ZodString;
2564
+ type: z.ZodOptional<z.ZodString>;
2565
+ orderInInterviewPlan: z.ZodOptional<z.ZodNumber>;
2566
+ interviewPlanId: z.ZodOptional<z.ZodString>;
2567
+ }, "strip", z.ZodTypeAny, {
2568
+ title: string;
2569
+ id: string;
2570
+ type?: string | undefined;
2571
+ orderInInterviewPlan?: number | undefined;
2572
+ interviewPlanId?: string | undefined;
2573
+ }, {
2574
+ title: string;
2575
+ id: string;
2576
+ type?: string | undefined;
2577
+ orderInInterviewPlan?: number | undefined;
2578
+ interviewPlanId?: string | undefined;
2579
+ }>>>;
2580
+ source: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
2581
+ archiveReason: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
2582
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2583
+ id: z.ZodString;
2584
+ title: z.ZodString;
2585
+ value: z.ZodUnknown;
2586
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
2587
+ }, "strip", z.ZodTypeAny, {
2588
+ title: string;
2589
+ id: string;
2590
+ value?: unknown;
2591
+ isPrivate?: boolean | undefined;
2592
+ }, {
2593
+ title: string;
2594
+ id: string;
2595
+ value?: unknown;
2596
+ isPrivate?: boolean | undefined;
2597
+ }>, "many">>;
2598
+ hiringTeam: z.ZodOptional<z.ZodArray<z.ZodObject<{
2599
+ userId: z.ZodString;
2600
+ role: z.ZodString;
2601
+ email: z.ZodOptional<z.ZodString>;
2602
+ firstName: z.ZodOptional<z.ZodString>;
2603
+ lastName: z.ZodOptional<z.ZodString>;
2604
+ }, "strip", z.ZodTypeAny, {
2605
+ role: string;
2606
+ userId: string;
2607
+ email?: string | undefined;
2608
+ firstName?: string | undefined;
2609
+ lastName?: string | undefined;
2610
+ }, {
2611
+ role: string;
2612
+ userId: string;
2613
+ email?: string | undefined;
2614
+ firstName?: string | undefined;
2615
+ lastName?: string | undefined;
2616
+ }>, "many">>;
2617
+ }, "strip", z.ZodTypeAny, {
2618
+ id: string;
2619
+ status?: string | undefined;
2620
+ source?: unknown;
2621
+ createdAt?: string | undefined;
2622
+ updatedAt?: string | undefined;
2623
+ customFields?: {
2624
+ title: string;
2625
+ id: string;
2626
+ value?: unknown;
2627
+ isPrivate?: boolean | undefined;
2628
+ }[] | undefined;
2629
+ candidateId?: string | null | undefined;
2630
+ jobId?: string | null | undefined;
2631
+ currentInterviewStage?: {
2632
+ title: string;
2633
+ id: string;
2634
+ type?: string | undefined;
2635
+ orderInInterviewPlan?: number | undefined;
2636
+ interviewPlanId?: string | undefined;
2637
+ } | null | undefined;
2638
+ archiveReason?: unknown;
2639
+ hiringTeam?: {
2640
+ role: string;
2641
+ userId: string;
2642
+ email?: string | undefined;
2643
+ firstName?: string | undefined;
2644
+ lastName?: string | undefined;
2645
+ }[] | undefined;
2646
+ }, {
2647
+ id: string;
2648
+ status?: string | undefined;
2649
+ source?: unknown;
2650
+ createdAt?: string | undefined;
2651
+ updatedAt?: string | undefined;
2652
+ customFields?: {
2653
+ title: string;
2654
+ id: string;
2655
+ value?: unknown;
2656
+ isPrivate?: boolean | undefined;
2657
+ }[] | undefined;
2658
+ candidateId?: string | null | undefined;
2659
+ jobId?: string | null | undefined;
2660
+ currentInterviewStage?: {
2661
+ title: string;
2662
+ id: string;
2663
+ type?: string | undefined;
2664
+ orderInInterviewPlan?: number | undefined;
2665
+ interviewPlanId?: string | undefined;
2666
+ } | null | undefined;
2667
+ archiveReason?: unknown;
2668
+ hiringTeam?: {
2669
+ role: string;
2670
+ userId: string;
2671
+ email?: string | undefined;
2672
+ firstName?: string | undefined;
2673
+ lastName?: string | undefined;
2674
+ }[] | undefined;
2675
+ }>, "many">>;
2676
+ next_cursor: z.ZodOptional<z.ZodString>;
2677
+ more_data_available: z.ZodOptional<z.ZodBoolean>;
2678
+ error: z.ZodString;
2679
+ }, "strip", z.ZodTypeAny, {
2680
+ error: string;
2681
+ success: boolean;
2682
+ operation: "list_applications";
2683
+ next_cursor?: string | undefined;
2684
+ more_data_available?: boolean | undefined;
2685
+ applications?: {
2686
+ id: string;
2687
+ status?: string | undefined;
2688
+ source?: unknown;
2689
+ createdAt?: string | undefined;
2690
+ updatedAt?: string | undefined;
2691
+ customFields?: {
2692
+ title: string;
2693
+ id: string;
2694
+ value?: unknown;
2695
+ isPrivate?: boolean | undefined;
2696
+ }[] | undefined;
2697
+ candidateId?: string | null | undefined;
2698
+ jobId?: string | null | undefined;
2699
+ currentInterviewStage?: {
2700
+ title: string;
2701
+ id: string;
2702
+ type?: string | undefined;
2703
+ orderInInterviewPlan?: number | undefined;
2704
+ interviewPlanId?: string | undefined;
2705
+ } | null | undefined;
2706
+ archiveReason?: unknown;
2707
+ hiringTeam?: {
2708
+ role: string;
2709
+ userId: string;
2710
+ email?: string | undefined;
2711
+ firstName?: string | undefined;
2712
+ lastName?: string | undefined;
2713
+ }[] | undefined;
2714
+ }[] | undefined;
2715
+ }, {
2716
+ error: string;
2717
+ success: boolean;
2718
+ operation: "list_applications";
2719
+ next_cursor?: string | undefined;
2720
+ more_data_available?: boolean | undefined;
2721
+ applications?: {
2722
+ id: string;
2723
+ status?: string | undefined;
2724
+ source?: unknown;
2725
+ createdAt?: string | undefined;
2726
+ updatedAt?: string | undefined;
2727
+ customFields?: {
2728
+ title: string;
2729
+ id: string;
2730
+ value?: unknown;
2731
+ isPrivate?: boolean | undefined;
2732
+ }[] | undefined;
2733
+ candidateId?: string | null | undefined;
2734
+ jobId?: string | null | undefined;
2735
+ currentInterviewStage?: {
2736
+ title: string;
2737
+ id: string;
2738
+ type?: string | undefined;
2739
+ orderInInterviewPlan?: number | undefined;
2740
+ interviewPlanId?: string | undefined;
2741
+ } | null | undefined;
2742
+ archiveReason?: unknown;
2743
+ hiringTeam?: {
2744
+ role: string;
2745
+ userId: string;
2746
+ email?: string | undefined;
2747
+ firstName?: string | undefined;
2748
+ lastName?: string | undefined;
2749
+ }[] | undefined;
2750
+ }[] | undefined;
2751
+ }>, z.ZodObject<{
2752
+ operation: z.ZodLiteral<"get_application">;
2753
+ success: z.ZodBoolean;
2754
+ application: z.ZodOptional<z.ZodObject<{
2755
+ id: z.ZodString;
2756
+ createdAt: z.ZodOptional<z.ZodString>;
2757
+ updatedAt: z.ZodOptional<z.ZodString>;
2758
+ status: z.ZodOptional<z.ZodString>;
2759
+ candidateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2760
+ jobId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2761
+ currentInterviewStage: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2762
+ id: z.ZodString;
2763
+ title: z.ZodString;
2764
+ type: z.ZodOptional<z.ZodString>;
2765
+ orderInInterviewPlan: z.ZodOptional<z.ZodNumber>;
2766
+ interviewPlanId: z.ZodOptional<z.ZodString>;
2767
+ }, "strip", z.ZodTypeAny, {
2768
+ title: string;
2769
+ id: string;
2770
+ type?: string | undefined;
2771
+ orderInInterviewPlan?: number | undefined;
2772
+ interviewPlanId?: string | undefined;
2773
+ }, {
2774
+ title: string;
2775
+ id: string;
2776
+ type?: string | undefined;
2777
+ orderInInterviewPlan?: number | undefined;
2778
+ interviewPlanId?: string | undefined;
2779
+ }>>>;
2780
+ source: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
2781
+ archiveReason: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
2782
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2783
+ id: z.ZodString;
2784
+ title: z.ZodString;
2785
+ value: z.ZodUnknown;
2786
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
2787
+ }, "strip", z.ZodTypeAny, {
2788
+ title: string;
2789
+ id: string;
2790
+ value?: unknown;
2791
+ isPrivate?: boolean | undefined;
2792
+ }, {
2793
+ title: string;
2794
+ id: string;
2795
+ value?: unknown;
2796
+ isPrivate?: boolean | undefined;
2797
+ }>, "many">>;
2798
+ hiringTeam: z.ZodOptional<z.ZodArray<z.ZodObject<{
2799
+ userId: z.ZodString;
2800
+ role: z.ZodString;
2801
+ email: z.ZodOptional<z.ZodString>;
2802
+ firstName: z.ZodOptional<z.ZodString>;
2803
+ lastName: z.ZodOptional<z.ZodString>;
2804
+ }, "strip", z.ZodTypeAny, {
2805
+ role: string;
2806
+ userId: string;
2807
+ email?: string | undefined;
2808
+ firstName?: string | undefined;
2809
+ lastName?: string | undefined;
2810
+ }, {
2811
+ role: string;
2812
+ userId: string;
2813
+ email?: string | undefined;
2814
+ firstName?: string | undefined;
2815
+ lastName?: string | undefined;
2816
+ }>, "many">>;
2817
+ }, "strip", z.ZodTypeAny, {
2818
+ id: string;
2819
+ status?: string | undefined;
2820
+ source?: unknown;
2821
+ createdAt?: string | undefined;
2822
+ updatedAt?: string | undefined;
2823
+ customFields?: {
2824
+ title: string;
2825
+ id: string;
2826
+ value?: unknown;
2827
+ isPrivate?: boolean | undefined;
2828
+ }[] | undefined;
2829
+ candidateId?: string | null | undefined;
2830
+ jobId?: string | null | undefined;
2831
+ currentInterviewStage?: {
2832
+ title: string;
2833
+ id: string;
2834
+ type?: string | undefined;
2835
+ orderInInterviewPlan?: number | undefined;
2836
+ interviewPlanId?: string | undefined;
1015
2837
  } | null | undefined;
1016
- fileHandles?: {
1017
- name: string;
2838
+ archiveReason?: unknown;
2839
+ hiringTeam?: {
2840
+ role: string;
2841
+ userId: string;
2842
+ email?: string | undefined;
2843
+ firstName?: string | undefined;
2844
+ lastName?: string | undefined;
2845
+ }[] | undefined;
2846
+ }, {
2847
+ id: string;
2848
+ status?: string | undefined;
2849
+ source?: unknown;
2850
+ createdAt?: string | undefined;
2851
+ updatedAt?: string | undefined;
2852
+ customFields?: {
2853
+ title: string;
1018
2854
  id: string;
1019
- handle: string;
2855
+ value?: unknown;
2856
+ isPrivate?: boolean | undefined;
1020
2857
  }[] | undefined;
1021
- }[] | undefined;
1022
- more_data_available?: boolean | undefined;
1023
- }>, z.ZodObject<{
1024
- operation: z.ZodLiteral<"get_candidate">;
1025
- success: z.ZodBoolean;
2858
+ candidateId?: string | null | undefined;
2859
+ jobId?: string | null | undefined;
2860
+ currentInterviewStage?: {
2861
+ title: string;
2862
+ id: string;
2863
+ type?: string | undefined;
2864
+ orderInInterviewPlan?: number | undefined;
2865
+ interviewPlanId?: string | undefined;
2866
+ } | null | undefined;
2867
+ archiveReason?: unknown;
2868
+ hiringTeam?: {
2869
+ role: string;
2870
+ userId: string;
2871
+ email?: string | undefined;
2872
+ firstName?: string | undefined;
2873
+ lastName?: string | undefined;
2874
+ }[] | undefined;
2875
+ }>>;
1026
2876
  candidate: z.ZodOptional<z.ZodObject<{
1027
2877
  id: z.ZodString;
1028
2878
  createdAt: z.ZodOptional<z.ZodString>;
@@ -1113,11 +2963,76 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1113
2963
  isPrivate?: boolean | undefined;
1114
2964
  }[] | undefined;
1115
2965
  }>>;
2966
+ job: z.ZodOptional<z.ZodObject<{
2967
+ id: z.ZodString;
2968
+ title: z.ZodString;
2969
+ status: z.ZodOptional<z.ZodString>;
2970
+ departmentId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2971
+ teamId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2972
+ locationId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2973
+ locationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2974
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2975
+ id: z.ZodString;
2976
+ title: z.ZodString;
2977
+ value: z.ZodUnknown;
2978
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
2979
+ }, "strip", z.ZodTypeAny, {
2980
+ title: string;
2981
+ id: string;
2982
+ value?: unknown;
2983
+ isPrivate?: boolean | undefined;
2984
+ }, {
2985
+ title: string;
2986
+ id: string;
2987
+ value?: unknown;
2988
+ isPrivate?: boolean | undefined;
2989
+ }>, "many">>;
2990
+ openedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2991
+ closedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2992
+ createdAt: z.ZodOptional<z.ZodString>;
2993
+ updatedAt: z.ZodOptional<z.ZodString>;
2994
+ }, "strip", z.ZodTypeAny, {
2995
+ title: string;
2996
+ id: string;
2997
+ status?: string | undefined;
2998
+ locationId?: string | null | undefined;
2999
+ createdAt?: string | undefined;
3000
+ updatedAt?: string | undefined;
3001
+ teamId?: string | null | undefined;
3002
+ customFields?: {
3003
+ title: string;
3004
+ id: string;
3005
+ value?: unknown;
3006
+ isPrivate?: boolean | undefined;
3007
+ }[] | undefined;
3008
+ departmentId?: string | null | undefined;
3009
+ locationIds?: string[] | undefined;
3010
+ openedAt?: string | null | undefined;
3011
+ closedAt?: string | null | undefined;
3012
+ }, {
3013
+ title: string;
3014
+ id: string;
3015
+ status?: string | undefined;
3016
+ locationId?: string | null | undefined;
3017
+ createdAt?: string | undefined;
3018
+ updatedAt?: string | undefined;
3019
+ teamId?: string | null | undefined;
3020
+ customFields?: {
3021
+ title: string;
3022
+ id: string;
3023
+ value?: unknown;
3024
+ isPrivate?: boolean | undefined;
3025
+ }[] | undefined;
3026
+ departmentId?: string | null | undefined;
3027
+ locationIds?: string[] | undefined;
3028
+ openedAt?: string | null | undefined;
3029
+ closedAt?: string | null | undefined;
3030
+ }>>;
1116
3031
  error: z.ZodString;
1117
3032
  }, "strip", z.ZodTypeAny, {
1118
3033
  error: string;
1119
3034
  success: boolean;
1120
- operation: "get_candidate";
3035
+ operation: "get_application";
1121
3036
  candidate?: {
1122
3037
  name: string;
1123
3038
  id: string;
@@ -1140,10 +3055,59 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1140
3055
  isPrivate?: boolean | undefined;
1141
3056
  }[] | undefined;
1142
3057
  } | undefined;
3058
+ job?: {
3059
+ title: string;
3060
+ id: string;
3061
+ status?: string | undefined;
3062
+ locationId?: string | null | undefined;
3063
+ createdAt?: string | undefined;
3064
+ updatedAt?: string | undefined;
3065
+ teamId?: string | null | undefined;
3066
+ customFields?: {
3067
+ title: string;
3068
+ id: string;
3069
+ value?: unknown;
3070
+ isPrivate?: boolean | undefined;
3071
+ }[] | undefined;
3072
+ departmentId?: string | null | undefined;
3073
+ locationIds?: string[] | undefined;
3074
+ openedAt?: string | null | undefined;
3075
+ closedAt?: string | null | undefined;
3076
+ } | undefined;
3077
+ application?: {
3078
+ id: string;
3079
+ status?: string | undefined;
3080
+ source?: unknown;
3081
+ createdAt?: string | undefined;
3082
+ updatedAt?: string | undefined;
3083
+ customFields?: {
3084
+ title: string;
3085
+ id: string;
3086
+ value?: unknown;
3087
+ isPrivate?: boolean | undefined;
3088
+ }[] | undefined;
3089
+ candidateId?: string | null | undefined;
3090
+ jobId?: string | null | undefined;
3091
+ currentInterviewStage?: {
3092
+ title: string;
3093
+ id: string;
3094
+ type?: string | undefined;
3095
+ orderInInterviewPlan?: number | undefined;
3096
+ interviewPlanId?: string | undefined;
3097
+ } | null | undefined;
3098
+ archiveReason?: unknown;
3099
+ hiringTeam?: {
3100
+ role: string;
3101
+ userId: string;
3102
+ email?: string | undefined;
3103
+ firstName?: string | undefined;
3104
+ lastName?: string | undefined;
3105
+ }[] | undefined;
3106
+ } | undefined;
1143
3107
  }, {
1144
3108
  error: string;
1145
3109
  success: boolean;
1146
- operation: "get_candidate";
3110
+ operation: "get_application";
1147
3111
  candidate?: {
1148
3112
  name: string;
1149
3113
  id: string;
@@ -1166,40 +3130,86 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1166
3130
  isPrivate?: boolean | undefined;
1167
3131
  }[] | undefined;
1168
3132
  } | undefined;
3133
+ job?: {
3134
+ title: string;
3135
+ id: string;
3136
+ status?: string | undefined;
3137
+ locationId?: string | null | undefined;
3138
+ createdAt?: string | undefined;
3139
+ updatedAt?: string | undefined;
3140
+ teamId?: string | null | undefined;
3141
+ customFields?: {
3142
+ title: string;
3143
+ id: string;
3144
+ value?: unknown;
3145
+ isPrivate?: boolean | undefined;
3146
+ }[] | undefined;
3147
+ departmentId?: string | null | undefined;
3148
+ locationIds?: string[] | undefined;
3149
+ openedAt?: string | null | undefined;
3150
+ closedAt?: string | null | undefined;
3151
+ } | undefined;
3152
+ application?: {
3153
+ id: string;
3154
+ status?: string | undefined;
3155
+ source?: unknown;
3156
+ createdAt?: string | undefined;
3157
+ updatedAt?: string | undefined;
3158
+ customFields?: {
3159
+ title: string;
3160
+ id: string;
3161
+ value?: unknown;
3162
+ isPrivate?: boolean | undefined;
3163
+ }[] | undefined;
3164
+ candidateId?: string | null | undefined;
3165
+ jobId?: string | null | undefined;
3166
+ currentInterviewStage?: {
3167
+ title: string;
3168
+ id: string;
3169
+ type?: string | undefined;
3170
+ orderInInterviewPlan?: number | undefined;
3171
+ interviewPlanId?: string | undefined;
3172
+ } | null | undefined;
3173
+ archiveReason?: unknown;
3174
+ hiringTeam?: {
3175
+ role: string;
3176
+ userId: string;
3177
+ email?: string | undefined;
3178
+ firstName?: string | undefined;
3179
+ lastName?: string | undefined;
3180
+ }[] | undefined;
3181
+ } | undefined;
1169
3182
  }>, z.ZodObject<{
1170
- operation: z.ZodLiteral<"create_candidate">;
3183
+ operation: z.ZodLiteral<"create_application">;
1171
3184
  success: z.ZodBoolean;
1172
- candidate: z.ZodOptional<z.ZodObject<{
3185
+ application: z.ZodOptional<z.ZodObject<{
1173
3186
  id: z.ZodString;
1174
3187
  createdAt: z.ZodOptional<z.ZodString>;
1175
3188
  updatedAt: z.ZodOptional<z.ZodString>;
1176
- name: z.ZodString;
1177
- primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1178
- value: z.ZodString;
1179
- type: z.ZodEnum<["Personal", "Work", "Other"]>;
1180
- isPrimary: z.ZodBoolean;
1181
- }, "strip", z.ZodTypeAny, {
1182
- value: string;
1183
- type: "Personal" | "Work" | "Other";
1184
- isPrimary: boolean;
1185
- }, {
1186
- value: string;
1187
- type: "Personal" | "Work" | "Other";
1188
- isPrimary: boolean;
1189
- }>>>;
1190
- primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1191
- value: z.ZodString;
1192
- type: z.ZodEnum<["Personal", "Work", "Other"]>;
1193
- isPrimary: z.ZodBoolean;
3189
+ status: z.ZodOptional<z.ZodString>;
3190
+ candidateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3191
+ jobId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3192
+ currentInterviewStage: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3193
+ id: z.ZodString;
3194
+ title: z.ZodString;
3195
+ type: z.ZodOptional<z.ZodString>;
3196
+ orderInInterviewPlan: z.ZodOptional<z.ZodNumber>;
3197
+ interviewPlanId: z.ZodOptional<z.ZodString>;
1194
3198
  }, "strip", z.ZodTypeAny, {
1195
- value: string;
1196
- type: "Personal" | "Work" | "Other";
1197
- isPrimary: boolean;
3199
+ title: string;
3200
+ id: string;
3201
+ type?: string | undefined;
3202
+ orderInInterviewPlan?: number | undefined;
3203
+ interviewPlanId?: string | undefined;
1198
3204
  }, {
1199
- value: string;
1200
- type: "Personal" | "Work" | "Other";
1201
- isPrimary: boolean;
3205
+ title: string;
3206
+ id: string;
3207
+ type?: string | undefined;
3208
+ orderInInterviewPlan?: number | undefined;
3209
+ interviewPlanId?: string | undefined;
1202
3210
  }>>>;
3211
+ source: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
3212
+ archiveReason: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
1203
3213
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1204
3214
  id: z.ZodString;
1205
3215
  title: z.ZodString;
@@ -1216,139 +3226,184 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1216
3226
  value?: unknown;
1217
3227
  isPrivate?: boolean | undefined;
1218
3228
  }>, "many">>;
3229
+ hiringTeam: z.ZodOptional<z.ZodArray<z.ZodObject<{
3230
+ userId: z.ZodString;
3231
+ role: z.ZodString;
3232
+ email: z.ZodOptional<z.ZodString>;
3233
+ firstName: z.ZodOptional<z.ZodString>;
3234
+ lastName: z.ZodOptional<z.ZodString>;
3235
+ }, "strip", z.ZodTypeAny, {
3236
+ role: string;
3237
+ userId: string;
3238
+ email?: string | undefined;
3239
+ firstName?: string | undefined;
3240
+ lastName?: string | undefined;
3241
+ }, {
3242
+ role: string;
3243
+ userId: string;
3244
+ email?: string | undefined;
3245
+ firstName?: string | undefined;
3246
+ lastName?: string | undefined;
3247
+ }>, "many">>;
1219
3248
  }, "strip", z.ZodTypeAny, {
1220
- name: string;
1221
3249
  id: string;
3250
+ status?: string | undefined;
3251
+ source?: unknown;
1222
3252
  createdAt?: string | undefined;
1223
3253
  updatedAt?: string | undefined;
1224
- primaryEmailAddress?: {
1225
- value: string;
1226
- type: "Personal" | "Work" | "Other";
1227
- isPrimary: boolean;
1228
- } | null | undefined;
1229
- primaryPhoneNumber?: {
1230
- value: string;
1231
- type: "Personal" | "Work" | "Other";
1232
- isPrimary: boolean;
1233
- } | null | undefined;
1234
3254
  customFields?: {
1235
3255
  title: string;
1236
3256
  id: string;
1237
3257
  value?: unknown;
1238
3258
  isPrivate?: boolean | undefined;
1239
3259
  }[] | undefined;
3260
+ candidateId?: string | null | undefined;
3261
+ jobId?: string | null | undefined;
3262
+ currentInterviewStage?: {
3263
+ title: string;
3264
+ id: string;
3265
+ type?: string | undefined;
3266
+ orderInInterviewPlan?: number | undefined;
3267
+ interviewPlanId?: string | undefined;
3268
+ } | null | undefined;
3269
+ archiveReason?: unknown;
3270
+ hiringTeam?: {
3271
+ role: string;
3272
+ userId: string;
3273
+ email?: string | undefined;
3274
+ firstName?: string | undefined;
3275
+ lastName?: string | undefined;
3276
+ }[] | undefined;
1240
3277
  }, {
1241
- name: string;
1242
3278
  id: string;
3279
+ status?: string | undefined;
3280
+ source?: unknown;
1243
3281
  createdAt?: string | undefined;
1244
3282
  updatedAt?: string | undefined;
1245
- primaryEmailAddress?: {
1246
- value: string;
1247
- type: "Personal" | "Work" | "Other";
1248
- isPrimary: boolean;
1249
- } | null | undefined;
1250
- primaryPhoneNumber?: {
1251
- value: string;
1252
- type: "Personal" | "Work" | "Other";
1253
- isPrimary: boolean;
1254
- } | null | undefined;
1255
3283
  customFields?: {
1256
3284
  title: string;
1257
3285
  id: string;
1258
3286
  value?: unknown;
1259
3287
  isPrivate?: boolean | undefined;
1260
3288
  }[] | undefined;
3289
+ candidateId?: string | null | undefined;
3290
+ jobId?: string | null | undefined;
3291
+ currentInterviewStage?: {
3292
+ title: string;
3293
+ id: string;
3294
+ type?: string | undefined;
3295
+ orderInInterviewPlan?: number | undefined;
3296
+ interviewPlanId?: string | undefined;
3297
+ } | null | undefined;
3298
+ archiveReason?: unknown;
3299
+ hiringTeam?: {
3300
+ role: string;
3301
+ userId: string;
3302
+ email?: string | undefined;
3303
+ firstName?: string | undefined;
3304
+ lastName?: string | undefined;
3305
+ }[] | undefined;
1261
3306
  }>>;
1262
- duplicate: z.ZodOptional<z.ZodBoolean>;
1263
3307
  error: z.ZodString;
1264
3308
  }, "strip", z.ZodTypeAny, {
1265
3309
  error: string;
1266
3310
  success: boolean;
1267
- operation: "create_candidate";
1268
- candidate?: {
1269
- name: string;
3311
+ operation: "create_application";
3312
+ application?: {
1270
3313
  id: string;
3314
+ status?: string | undefined;
3315
+ source?: unknown;
1271
3316
  createdAt?: string | undefined;
1272
3317
  updatedAt?: string | undefined;
1273
- primaryEmailAddress?: {
1274
- value: string;
1275
- type: "Personal" | "Work" | "Other";
1276
- isPrimary: boolean;
1277
- } | null | undefined;
1278
- primaryPhoneNumber?: {
1279
- value: string;
1280
- type: "Personal" | "Work" | "Other";
1281
- isPrimary: boolean;
1282
- } | null | undefined;
1283
3318
  customFields?: {
1284
3319
  title: string;
1285
3320
  id: string;
1286
3321
  value?: unknown;
1287
3322
  isPrivate?: boolean | undefined;
1288
3323
  }[] | undefined;
3324
+ candidateId?: string | null | undefined;
3325
+ jobId?: string | null | undefined;
3326
+ currentInterviewStage?: {
3327
+ title: string;
3328
+ id: string;
3329
+ type?: string | undefined;
3330
+ orderInInterviewPlan?: number | undefined;
3331
+ interviewPlanId?: string | undefined;
3332
+ } | null | undefined;
3333
+ archiveReason?: unknown;
3334
+ hiringTeam?: {
3335
+ role: string;
3336
+ userId: string;
3337
+ email?: string | undefined;
3338
+ firstName?: string | undefined;
3339
+ lastName?: string | undefined;
3340
+ }[] | undefined;
1289
3341
  } | undefined;
1290
- duplicate?: boolean | undefined;
1291
3342
  }, {
1292
3343
  error: string;
1293
3344
  success: boolean;
1294
- operation: "create_candidate";
1295
- candidate?: {
1296
- name: string;
3345
+ operation: "create_application";
3346
+ application?: {
1297
3347
  id: string;
3348
+ status?: string | undefined;
3349
+ source?: unknown;
1298
3350
  createdAt?: string | undefined;
1299
3351
  updatedAt?: string | undefined;
1300
- primaryEmailAddress?: {
1301
- value: string;
1302
- type: "Personal" | "Work" | "Other";
1303
- isPrimary: boolean;
1304
- } | null | undefined;
1305
- primaryPhoneNumber?: {
1306
- value: string;
1307
- type: "Personal" | "Work" | "Other";
1308
- isPrimary: boolean;
1309
- } | null | undefined;
1310
3352
  customFields?: {
1311
3353
  title: string;
1312
3354
  id: string;
1313
3355
  value?: unknown;
1314
3356
  isPrivate?: boolean | undefined;
1315
3357
  }[] | undefined;
3358
+ candidateId?: string | null | undefined;
3359
+ jobId?: string | null | undefined;
3360
+ currentInterviewStage?: {
3361
+ title: string;
3362
+ id: string;
3363
+ type?: string | undefined;
3364
+ orderInInterviewPlan?: number | undefined;
3365
+ interviewPlanId?: string | undefined;
3366
+ } | null | undefined;
3367
+ archiveReason?: unknown;
3368
+ hiringTeam?: {
3369
+ role: string;
3370
+ userId: string;
3371
+ email?: string | undefined;
3372
+ firstName?: string | undefined;
3373
+ lastName?: string | undefined;
3374
+ }[] | undefined;
1316
3375
  } | undefined;
1317
- duplicate?: boolean | undefined;
1318
3376
  }>, z.ZodObject<{
1319
- operation: z.ZodLiteral<"search_candidates">;
3377
+ operation: z.ZodLiteral<"change_application_stage">;
1320
3378
  success: z.ZodBoolean;
1321
- candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
3379
+ application: z.ZodOptional<z.ZodObject<{
1322
3380
  id: z.ZodString;
1323
3381
  createdAt: z.ZodOptional<z.ZodString>;
1324
3382
  updatedAt: z.ZodOptional<z.ZodString>;
1325
- name: z.ZodString;
1326
- primaryEmailAddress: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1327
- value: z.ZodString;
1328
- type: z.ZodEnum<["Personal", "Work", "Other"]>;
1329
- isPrimary: z.ZodBoolean;
1330
- }, "strip", z.ZodTypeAny, {
1331
- value: string;
1332
- type: "Personal" | "Work" | "Other";
1333
- isPrimary: boolean;
1334
- }, {
1335
- value: string;
1336
- type: "Personal" | "Work" | "Other";
1337
- isPrimary: boolean;
1338
- }>>>;
1339
- primaryPhoneNumber: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1340
- value: z.ZodString;
1341
- type: z.ZodEnum<["Personal", "Work", "Other"]>;
1342
- isPrimary: z.ZodBoolean;
3383
+ status: z.ZodOptional<z.ZodString>;
3384
+ candidateId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3385
+ jobId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
3386
+ currentInterviewStage: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3387
+ id: z.ZodString;
3388
+ title: z.ZodString;
3389
+ type: z.ZodOptional<z.ZodString>;
3390
+ orderInInterviewPlan: z.ZodOptional<z.ZodNumber>;
3391
+ interviewPlanId: z.ZodOptional<z.ZodString>;
1343
3392
  }, "strip", z.ZodTypeAny, {
1344
- value: string;
1345
- type: "Personal" | "Work" | "Other";
1346
- isPrimary: boolean;
3393
+ title: string;
3394
+ id: string;
3395
+ type?: string | undefined;
3396
+ orderInInterviewPlan?: number | undefined;
3397
+ interviewPlanId?: string | undefined;
1347
3398
  }, {
1348
- value: string;
1349
- type: "Personal" | "Work" | "Other";
1350
- isPrimary: boolean;
3399
+ title: string;
3400
+ id: string;
3401
+ type?: string | undefined;
3402
+ orderInInterviewPlan?: number | undefined;
3403
+ interviewPlanId?: string | undefined;
1351
3404
  }>>>;
3405
+ source: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
3406
+ archiveReason: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
1352
3407
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
1353
3408
  id: z.ZodString;
1354
3409
  title: z.ZodString;
@@ -1365,104 +3420,155 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1365
3420
  value?: unknown;
1366
3421
  isPrivate?: boolean | undefined;
1367
3422
  }>, "many">>;
3423
+ hiringTeam: z.ZodOptional<z.ZodArray<z.ZodObject<{
3424
+ userId: z.ZodString;
3425
+ role: z.ZodString;
3426
+ email: z.ZodOptional<z.ZodString>;
3427
+ firstName: z.ZodOptional<z.ZodString>;
3428
+ lastName: z.ZodOptional<z.ZodString>;
3429
+ }, "strip", z.ZodTypeAny, {
3430
+ role: string;
3431
+ userId: string;
3432
+ email?: string | undefined;
3433
+ firstName?: string | undefined;
3434
+ lastName?: string | undefined;
3435
+ }, {
3436
+ role: string;
3437
+ userId: string;
3438
+ email?: string | undefined;
3439
+ firstName?: string | undefined;
3440
+ lastName?: string | undefined;
3441
+ }>, "many">>;
1368
3442
  }, "strip", z.ZodTypeAny, {
1369
- name: string;
1370
3443
  id: string;
3444
+ status?: string | undefined;
3445
+ source?: unknown;
1371
3446
  createdAt?: string | undefined;
1372
3447
  updatedAt?: string | undefined;
1373
- primaryEmailAddress?: {
1374
- value: string;
1375
- type: "Personal" | "Work" | "Other";
1376
- isPrimary: boolean;
1377
- } | null | undefined;
1378
- primaryPhoneNumber?: {
1379
- value: string;
1380
- type: "Personal" | "Work" | "Other";
1381
- isPrimary: boolean;
1382
- } | null | undefined;
1383
3448
  customFields?: {
1384
3449
  title: string;
1385
3450
  id: string;
1386
3451
  value?: unknown;
1387
3452
  isPrivate?: boolean | undefined;
1388
3453
  }[] | undefined;
3454
+ candidateId?: string | null | undefined;
3455
+ jobId?: string | null | undefined;
3456
+ currentInterviewStage?: {
3457
+ title: string;
3458
+ id: string;
3459
+ type?: string | undefined;
3460
+ orderInInterviewPlan?: number | undefined;
3461
+ interviewPlanId?: string | undefined;
3462
+ } | null | undefined;
3463
+ archiveReason?: unknown;
3464
+ hiringTeam?: {
3465
+ role: string;
3466
+ userId: string;
3467
+ email?: string | undefined;
3468
+ firstName?: string | undefined;
3469
+ lastName?: string | undefined;
3470
+ }[] | undefined;
1389
3471
  }, {
1390
- name: string;
1391
3472
  id: string;
3473
+ status?: string | undefined;
3474
+ source?: unknown;
1392
3475
  createdAt?: string | undefined;
1393
3476
  updatedAt?: string | undefined;
1394
- primaryEmailAddress?: {
1395
- value: string;
1396
- type: "Personal" | "Work" | "Other";
1397
- isPrimary: boolean;
1398
- } | null | undefined;
1399
- primaryPhoneNumber?: {
1400
- value: string;
1401
- type: "Personal" | "Work" | "Other";
1402
- isPrimary: boolean;
1403
- } | null | undefined;
1404
3477
  customFields?: {
1405
3478
  title: string;
1406
3479
  id: string;
1407
3480
  value?: unknown;
1408
3481
  isPrivate?: boolean | undefined;
1409
3482
  }[] | undefined;
1410
- }>, "many">>;
3483
+ candidateId?: string | null | undefined;
3484
+ jobId?: string | null | undefined;
3485
+ currentInterviewStage?: {
3486
+ title: string;
3487
+ id: string;
3488
+ type?: string | undefined;
3489
+ orderInInterviewPlan?: number | undefined;
3490
+ interviewPlanId?: string | undefined;
3491
+ } | null | undefined;
3492
+ archiveReason?: unknown;
3493
+ hiringTeam?: {
3494
+ role: string;
3495
+ userId: string;
3496
+ email?: string | undefined;
3497
+ firstName?: string | undefined;
3498
+ lastName?: string | undefined;
3499
+ }[] | undefined;
3500
+ }>>;
1411
3501
  error: z.ZodString;
1412
3502
  }, "strip", z.ZodTypeAny, {
1413
3503
  error: string;
1414
3504
  success: boolean;
1415
- operation: "search_candidates";
1416
- candidates?: {
1417
- name: string;
3505
+ operation: "change_application_stage";
3506
+ application?: {
1418
3507
  id: string;
3508
+ status?: string | undefined;
3509
+ source?: unknown;
1419
3510
  createdAt?: string | undefined;
1420
3511
  updatedAt?: string | undefined;
1421
- primaryEmailAddress?: {
1422
- value: string;
1423
- type: "Personal" | "Work" | "Other";
1424
- isPrimary: boolean;
1425
- } | null | undefined;
1426
- primaryPhoneNumber?: {
1427
- value: string;
1428
- type: "Personal" | "Work" | "Other";
1429
- isPrimary: boolean;
1430
- } | null | undefined;
1431
3512
  customFields?: {
1432
3513
  title: string;
1433
3514
  id: string;
1434
3515
  value?: unknown;
1435
3516
  isPrivate?: boolean | undefined;
1436
3517
  }[] | undefined;
1437
- }[] | undefined;
3518
+ candidateId?: string | null | undefined;
3519
+ jobId?: string | null | undefined;
3520
+ currentInterviewStage?: {
3521
+ title: string;
3522
+ id: string;
3523
+ type?: string | undefined;
3524
+ orderInInterviewPlan?: number | undefined;
3525
+ interviewPlanId?: string | undefined;
3526
+ } | null | undefined;
3527
+ archiveReason?: unknown;
3528
+ hiringTeam?: {
3529
+ role: string;
3530
+ userId: string;
3531
+ email?: string | undefined;
3532
+ firstName?: string | undefined;
3533
+ lastName?: string | undefined;
3534
+ }[] | undefined;
3535
+ } | undefined;
1438
3536
  }, {
1439
3537
  error: string;
1440
3538
  success: boolean;
1441
- operation: "search_candidates";
1442
- candidates?: {
1443
- name: string;
3539
+ operation: "change_application_stage";
3540
+ application?: {
1444
3541
  id: string;
3542
+ status?: string | undefined;
3543
+ source?: unknown;
1445
3544
  createdAt?: string | undefined;
1446
3545
  updatedAt?: string | undefined;
1447
- primaryEmailAddress?: {
1448
- value: string;
1449
- type: "Personal" | "Work" | "Other";
1450
- isPrimary: boolean;
1451
- } | null | undefined;
1452
- primaryPhoneNumber?: {
1453
- value: string;
1454
- type: "Personal" | "Work" | "Other";
1455
- isPrimary: boolean;
1456
- } | null | undefined;
1457
3546
  customFields?: {
1458
3547
  title: string;
1459
3548
  id: string;
1460
3549
  value?: unknown;
1461
3550
  isPrivate?: boolean | undefined;
1462
3551
  }[] | undefined;
1463
- }[] | undefined;
3552
+ candidateId?: string | null | undefined;
3553
+ jobId?: string | null | undefined;
3554
+ currentInterviewStage?: {
3555
+ title: string;
3556
+ id: string;
3557
+ type?: string | undefined;
3558
+ orderInInterviewPlan?: number | undefined;
3559
+ interviewPlanId?: string | undefined;
3560
+ } | null | undefined;
3561
+ archiveReason?: unknown;
3562
+ hiringTeam?: {
3563
+ role: string;
3564
+ userId: string;
3565
+ email?: string | undefined;
3566
+ firstName?: string | undefined;
3567
+ lastName?: string | undefined;
3568
+ }[] | undefined;
3569
+ } | undefined;
1464
3570
  }>, z.ZodObject<{
1465
- operation: z.ZodLiteral<"add_tag">;
3571
+ operation: z.ZodLiteral<"update_candidate">;
1466
3572
  success: z.ZodBoolean;
1467
3573
  candidate: z.ZodOptional<z.ZodObject<{
1468
3574
  id: z.ZodString;
@@ -1558,7 +3664,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1558
3664
  }, "strip", z.ZodTypeAny, {
1559
3665
  error: string;
1560
3666
  success: boolean;
1561
- operation: "add_tag";
3667
+ operation: "update_candidate";
1562
3668
  candidate?: {
1563
3669
  name: string;
1564
3670
  id: string;
@@ -1584,7 +3690,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1584
3690
  }, {
1585
3691
  error: string;
1586
3692
  success: boolean;
1587
- operation: "add_tag";
3693
+ operation: "update_candidate";
1588
3694
  candidate?: {
1589
3695
  name: string;
1590
3696
  id: string;
@@ -1608,44 +3714,159 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1608
3714
  }[] | undefined;
1609
3715
  } | undefined;
1610
3716
  }>, z.ZodObject<{
1611
- operation: z.ZodLiteral<"list_tags">;
3717
+ operation: z.ZodLiteral<"create_note">;
1612
3718
  success: z.ZodBoolean;
1613
- tags: z.ZodOptional<z.ZodArray<z.ZodObject<{
3719
+ note: z.ZodOptional<z.ZodObject<{
1614
3720
  id: z.ZodString;
1615
- title: z.ZodString;
1616
- isArchived: z.ZodOptional<z.ZodBoolean>;
3721
+ createdAt: z.ZodOptional<z.ZodString>;
3722
+ content: z.ZodString;
3723
+ author: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3724
+ id: z.ZodString;
3725
+ firstName: z.ZodOptional<z.ZodString>;
3726
+ lastName: z.ZodOptional<z.ZodString>;
3727
+ email: z.ZodOptional<z.ZodString>;
3728
+ }, "strip", z.ZodTypeAny, {
3729
+ id: string;
3730
+ email?: string | undefined;
3731
+ firstName?: string | undefined;
3732
+ lastName?: string | undefined;
3733
+ }, {
3734
+ id: string;
3735
+ email?: string | undefined;
3736
+ firstName?: string | undefined;
3737
+ lastName?: string | undefined;
3738
+ }>>>;
1617
3739
  }, "strip", z.ZodTypeAny, {
1618
- title: string;
3740
+ content: string;
1619
3741
  id: string;
1620
- isArchived?: boolean | undefined;
3742
+ author?: {
3743
+ id: string;
3744
+ email?: string | undefined;
3745
+ firstName?: string | undefined;
3746
+ lastName?: string | undefined;
3747
+ } | null | undefined;
3748
+ createdAt?: string | undefined;
1621
3749
  }, {
1622
- title: string;
3750
+ content: string;
1623
3751
  id: string;
1624
- isArchived?: boolean | undefined;
3752
+ author?: {
3753
+ id: string;
3754
+ email?: string | undefined;
3755
+ firstName?: string | undefined;
3756
+ lastName?: string | undefined;
3757
+ } | null | undefined;
3758
+ createdAt?: string | undefined;
3759
+ }>>;
3760
+ error: z.ZodString;
3761
+ }, "strip", z.ZodTypeAny, {
3762
+ error: string;
3763
+ success: boolean;
3764
+ operation: "create_note";
3765
+ note?: {
3766
+ content: string;
3767
+ id: string;
3768
+ author?: {
3769
+ id: string;
3770
+ email?: string | undefined;
3771
+ firstName?: string | undefined;
3772
+ lastName?: string | undefined;
3773
+ } | null | undefined;
3774
+ createdAt?: string | undefined;
3775
+ } | undefined;
3776
+ }, {
3777
+ error: string;
3778
+ success: boolean;
3779
+ operation: "create_note";
3780
+ note?: {
3781
+ content: string;
3782
+ id: string;
3783
+ author?: {
3784
+ id: string;
3785
+ email?: string | undefined;
3786
+ firstName?: string | undefined;
3787
+ lastName?: string | undefined;
3788
+ } | null | undefined;
3789
+ createdAt?: string | undefined;
3790
+ } | undefined;
3791
+ }>, z.ZodObject<{
3792
+ operation: z.ZodLiteral<"list_notes">;
3793
+ success: z.ZodBoolean;
3794
+ notes: z.ZodOptional<z.ZodArray<z.ZodObject<{
3795
+ id: z.ZodString;
3796
+ createdAt: z.ZodOptional<z.ZodString>;
3797
+ content: z.ZodString;
3798
+ author: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3799
+ id: z.ZodString;
3800
+ firstName: z.ZodOptional<z.ZodString>;
3801
+ lastName: z.ZodOptional<z.ZodString>;
3802
+ email: z.ZodOptional<z.ZodString>;
3803
+ }, "strip", z.ZodTypeAny, {
3804
+ id: string;
3805
+ email?: string | undefined;
3806
+ firstName?: string | undefined;
3807
+ lastName?: string | undefined;
3808
+ }, {
3809
+ id: string;
3810
+ email?: string | undefined;
3811
+ firstName?: string | undefined;
3812
+ lastName?: string | undefined;
3813
+ }>>>;
3814
+ }, "strip", z.ZodTypeAny, {
3815
+ content: string;
3816
+ id: string;
3817
+ author?: {
3818
+ id: string;
3819
+ email?: string | undefined;
3820
+ firstName?: string | undefined;
3821
+ lastName?: string | undefined;
3822
+ } | null | undefined;
3823
+ createdAt?: string | undefined;
3824
+ }, {
3825
+ content: string;
3826
+ id: string;
3827
+ author?: {
3828
+ id: string;
3829
+ email?: string | undefined;
3830
+ firstName?: string | undefined;
3831
+ lastName?: string | undefined;
3832
+ } | null | undefined;
3833
+ createdAt?: string | undefined;
1625
3834
  }>, "many">>;
1626
3835
  error: z.ZodString;
1627
3836
  }, "strip", z.ZodTypeAny, {
1628
3837
  error: string;
1629
3838
  success: boolean;
1630
- operation: "list_tags";
1631
- tags?: {
1632
- title: string;
3839
+ operation: "list_notes";
3840
+ notes?: {
3841
+ content: string;
1633
3842
  id: string;
1634
- isArchived?: boolean | undefined;
3843
+ author?: {
3844
+ id: string;
3845
+ email?: string | undefined;
3846
+ firstName?: string | undefined;
3847
+ lastName?: string | undefined;
3848
+ } | null | undefined;
3849
+ createdAt?: string | undefined;
1635
3850
  }[] | undefined;
1636
3851
  }, {
1637
3852
  error: string;
1638
3853
  success: boolean;
1639
- operation: "list_tags";
1640
- tags?: {
1641
- title: string;
3854
+ operation: "list_notes";
3855
+ notes?: {
3856
+ content: string;
1642
3857
  id: string;
1643
- isArchived?: boolean | undefined;
3858
+ author?: {
3859
+ id: string;
3860
+ email?: string | undefined;
3861
+ firstName?: string | undefined;
3862
+ lastName?: string | undefined;
3863
+ } | null | undefined;
3864
+ createdAt?: string | undefined;
1644
3865
  }[] | undefined;
1645
3866
  }>, z.ZodObject<{
1646
- operation: z.ZodLiteral<"create_tag">;
3867
+ operation: z.ZodLiteral<"list_sources">;
1647
3868
  success: z.ZodBoolean;
1648
- tag: z.ZodOptional<z.ZodObject<{
3869
+ sources: z.ZodOptional<z.ZodArray<z.ZodObject<{
1649
3870
  id: z.ZodString;
1650
3871
  title: z.ZodString;
1651
3872
  isArchived: z.ZodOptional<z.ZodBoolean>;
@@ -1657,118 +3878,106 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1657
3878
  title: string;
1658
3879
  id: string;
1659
3880
  isArchived?: boolean | undefined;
1660
- }>>;
3881
+ }>, "many">>;
1661
3882
  error: z.ZodString;
1662
3883
  }, "strip", z.ZodTypeAny, {
1663
3884
  error: string;
1664
3885
  success: boolean;
1665
- operation: "create_tag";
1666
- tag?: {
3886
+ operation: "list_sources";
3887
+ sources?: {
1667
3888
  title: string;
1668
3889
  id: string;
1669
3890
  isArchived?: boolean | undefined;
1670
- } | undefined;
3891
+ }[] | undefined;
1671
3892
  }, {
1672
3893
  error: string;
1673
3894
  success: boolean;
1674
- operation: "create_tag";
1675
- tag?: {
3895
+ operation: "list_sources";
3896
+ sources?: {
1676
3897
  title: string;
1677
3898
  id: string;
1678
3899
  isArchived?: boolean | undefined;
1679
- } | undefined;
3900
+ }[] | undefined;
1680
3901
  }>, z.ZodObject<{
1681
- operation: z.ZodLiteral<"list_custom_fields">;
3902
+ operation: z.ZodLiteral<"list_interview_stages">;
1682
3903
  success: z.ZodBoolean;
1683
- custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3904
+ interview_stages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1684
3905
  id: z.ZodString;
1685
- isPrivate: z.ZodBoolean;
1686
3906
  title: z.ZodString;
1687
- objectType: z.ZodString;
1688
- isArchived: z.ZodBoolean;
1689
- fieldType: z.ZodString;
1690
- selectableValues: z.ZodOptional<z.ZodArray<z.ZodObject<{
1691
- label: z.ZodString;
1692
- value: z.ZodString;
1693
- isArchived: z.ZodBoolean;
1694
- }, "strip", z.ZodTypeAny, {
1695
- value: string;
1696
- label: string;
1697
- isArchived: boolean;
1698
- }, {
1699
- value: string;
1700
- label: string;
1701
- isArchived: boolean;
1702
- }>, "many">>;
3907
+ type: z.ZodOptional<z.ZodString>;
3908
+ orderInInterviewPlan: z.ZodOptional<z.ZodNumber>;
3909
+ interviewPlanId: z.ZodOptional<z.ZodString>;
1703
3910
  }, "strip", z.ZodTypeAny, {
1704
3911
  title: string;
1705
3912
  id: string;
1706
- fieldType: string;
1707
- isPrivate: boolean;
1708
- isArchived: boolean;
1709
- objectType: string;
1710
- selectableValues?: {
1711
- value: string;
1712
- label: string;
1713
- isArchived: boolean;
1714
- }[] | undefined;
3913
+ type?: string | undefined;
3914
+ orderInInterviewPlan?: number | undefined;
3915
+ interviewPlanId?: string | undefined;
1715
3916
  }, {
1716
3917
  title: string;
1717
3918
  id: string;
1718
- fieldType: string;
1719
- isPrivate: boolean;
1720
- isArchived: boolean;
1721
- objectType: string;
1722
- selectableValues?: {
1723
- value: string;
1724
- label: string;
1725
- isArchived: boolean;
1726
- }[] | undefined;
3919
+ type?: string | undefined;
3920
+ orderInInterviewPlan?: number | undefined;
3921
+ interviewPlanId?: string | undefined;
1727
3922
  }>, "many">>;
1728
- next_cursor: z.ZodOptional<z.ZodString>;
1729
- more_data_available: z.ZodOptional<z.ZodBoolean>;
1730
- sync_token: z.ZodOptional<z.ZodString>;
1731
3923
  error: z.ZodString;
1732
3924
  }, "strip", z.ZodTypeAny, {
1733
3925
  error: string;
1734
3926
  success: boolean;
1735
- operation: "list_custom_fields";
1736
- next_cursor?: string | undefined;
1737
- custom_fields?: {
3927
+ operation: "list_interview_stages";
3928
+ interview_stages?: {
1738
3929
  title: string;
1739
3930
  id: string;
1740
- fieldType: string;
1741
- isPrivate: boolean;
1742
- isArchived: boolean;
1743
- objectType: string;
1744
- selectableValues?: {
1745
- value: string;
1746
- label: string;
1747
- isArchived: boolean;
1748
- }[] | undefined;
3931
+ type?: string | undefined;
3932
+ orderInInterviewPlan?: number | undefined;
3933
+ interviewPlanId?: string | undefined;
1749
3934
  }[] | undefined;
1750
- sync_token?: string | undefined;
1751
- more_data_available?: boolean | undefined;
1752
3935
  }, {
1753
3936
  error: string;
1754
3937
  success: boolean;
1755
- operation: "list_custom_fields";
1756
- next_cursor?: string | undefined;
1757
- custom_fields?: {
3938
+ operation: "list_interview_stages";
3939
+ interview_stages?: {
1758
3940
  title: string;
1759
3941
  id: string;
1760
- fieldType: string;
1761
- isPrivate: boolean;
1762
- isArchived: boolean;
1763
- objectType: string;
1764
- selectableValues?: {
1765
- value: string;
1766
- label: string;
1767
- isArchived: boolean;
1768
- }[] | undefined;
3942
+ type?: string | undefined;
3943
+ orderInInterviewPlan?: number | undefined;
3944
+ interviewPlanId?: string | undefined;
1769
3945
  }[] | undefined;
1770
- sync_token?: string | undefined;
1771
- more_data_available?: boolean | undefined;
3946
+ }>, z.ZodObject<{
3947
+ operation: z.ZodLiteral<"get_file_url">;
3948
+ success: z.ZodBoolean;
3949
+ file: z.ZodOptional<z.ZodObject<{
3950
+ id: z.ZodOptional<z.ZodString>;
3951
+ name: z.ZodOptional<z.ZodString>;
3952
+ url: z.ZodString;
3953
+ }, "strip", z.ZodTypeAny, {
3954
+ url: string;
3955
+ name?: string | undefined;
3956
+ id?: string | undefined;
3957
+ }, {
3958
+ url: string;
3959
+ name?: string | undefined;
3960
+ id?: string | undefined;
3961
+ }>>;
3962
+ error: z.ZodString;
3963
+ }, "strip", z.ZodTypeAny, {
3964
+ error: string;
3965
+ success: boolean;
3966
+ operation: "get_file_url";
3967
+ file?: {
3968
+ url: string;
3969
+ name?: string | undefined;
3970
+ id?: string | undefined;
3971
+ } | undefined;
3972
+ }, {
3973
+ error: string;
3974
+ success: boolean;
3975
+ operation: "get_file_url";
3976
+ file?: {
3977
+ url: string;
3978
+ name?: string | undefined;
3979
+ id?: string | undefined;
3980
+ } | undefined;
1772
3981
  }>]>;
1773
3982
  export type AshbyParamsInput = z.input<typeof AshbyParamsSchema>;
1774
3983
  export type AshbyParams = z.output<typeof AshbyParamsSchema>;
@@ -1783,6 +3992,12 @@ export type AshbyTag = z.output<typeof AshbyTagSchema>;
1783
3992
  export type AshbyFileHandle = z.output<typeof AshbyFileHandleSchema>;
1784
3993
  export type AshbySelectableValue = z.output<typeof AshbySelectableValueSchema>;
1785
3994
  export type AshbyCustomFieldDefinition = z.output<typeof AshbyCustomFieldDefinitionSchema>;
3995
+ export type AshbyJob = z.output<typeof AshbyJobSchema>;
3996
+ export type AshbyApplication = z.output<typeof AshbyApplicationSchema>;
3997
+ export type AshbyInterviewStage = z.output<typeof AshbyInterviewStageSchema>;
3998
+ export type AshbyNote = z.output<typeof AshbyNoteSchema>;
3999
+ export type AshbySource = z.output<typeof AshbySourceSchema>;
4000
+ export type AshbyFileInfo = z.output<typeof AshbyFileInfoSchema>;
1786
4001
  export type AshbyListCandidatesParams = Extract<AshbyParams, {
1787
4002
  operation: 'list_candidates';
1788
4003
  }>;
@@ -1807,4 +4022,40 @@ export type AshbyCreateTagParams = Extract<AshbyParams, {
1807
4022
  export type AshbyListCustomFieldsParams = Extract<AshbyParams, {
1808
4023
  operation: 'list_custom_fields';
1809
4024
  }>;
4025
+ export type AshbyListJobsParams = Extract<AshbyParams, {
4026
+ operation: 'list_jobs';
4027
+ }>;
4028
+ export type AshbyGetJobParams = Extract<AshbyParams, {
4029
+ operation: 'get_job';
4030
+ }>;
4031
+ export type AshbyListApplicationsParams = Extract<AshbyParams, {
4032
+ operation: 'list_applications';
4033
+ }>;
4034
+ export type AshbyGetApplicationParams = Extract<AshbyParams, {
4035
+ operation: 'get_application';
4036
+ }>;
4037
+ export type AshbyCreateApplicationParams = Extract<AshbyParams, {
4038
+ operation: 'create_application';
4039
+ }>;
4040
+ export type AshbyChangeApplicationStageParams = Extract<AshbyParams, {
4041
+ operation: 'change_application_stage';
4042
+ }>;
4043
+ export type AshbyUpdateCandidateParams = Extract<AshbyParams, {
4044
+ operation: 'update_candidate';
4045
+ }>;
4046
+ export type AshbyCreateNoteParams = Extract<AshbyParams, {
4047
+ operation: 'create_note';
4048
+ }>;
4049
+ export type AshbyListNotesParams = Extract<AshbyParams, {
4050
+ operation: 'list_notes';
4051
+ }>;
4052
+ export type AshbyListSourcesParams = Extract<AshbyParams, {
4053
+ operation: 'list_sources';
4054
+ }>;
4055
+ export type AshbyListInterviewStagesParams = Extract<AshbyParams, {
4056
+ operation: 'list_interview_stages';
4057
+ }>;
4058
+ export type AshbyGetFileUrlParams = Extract<AshbyParams, {
4059
+ operation: 'get_file_url';
4060
+ }>;
1810
4061
  //# sourceMappingURL=ashby.schema.d.ts.map