@bubblelab/bubble-core 0.1.249 → 0.1.250

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 (77) hide show
  1. package/dist/bubble-bundle.d.ts +101 -101
  2. package/dist/bubbles/service-bubble/ai-agent.d.ts +70 -70
  3. package/dist/bubbles/service-bubble/airtable.d.ts +76 -76
  4. package/dist/bubbles/service-bubble/apify/actors/app-rankings-scraper.d.ts +6 -6
  5. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
  6. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
  7. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  8. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
  9. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
  10. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
  11. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
  12. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
  13. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
  14. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +132 -132
  15. package/dist/bubbles/service-bubble/apify/apify.d.ts +22 -22
  16. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +211 -52
  17. package/dist/bubbles/service-bubble/ashby/ashby.d.ts.map +1 -1
  18. package/dist/bubbles/service-bubble/ashby/ashby.js +106 -0
  19. package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
  20. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +535 -344
  21. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts.map +1 -1
  22. package/dist/bubbles/service-bubble/ashby/ashby.schema.js +96 -0
  23. package/dist/bubbles/service-bubble/ashby/ashby.schema.js.map +1 -1
  24. package/dist/bubbles/service-bubble/ashby/index.d.ts +1 -1
  25. package/dist/bubbles/service-bubble/ashby/index.d.ts.map +1 -1
  26. package/dist/bubbles/service-bubble/ashby/index.js +1 -1
  27. package/dist/bubbles/service-bubble/ashby/index.js.map +1 -1
  28. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +6 -6
  29. package/dist/bubbles/service-bubble/attio/attio.d.ts +4 -4
  30. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
  31. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +3 -3
  32. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
  33. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +78 -78
  34. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
  35. package/dist/bubbles/service-bubble/firecrawl.d.ts +256 -256
  36. package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
  37. package/dist/bubbles/service-bubble/gmail.d.ts +104 -104
  38. package/dist/bubbles/service-bubble/google-drive.d.ts +4 -4
  39. package/dist/bubbles/service-bubble/http.d.ts +6 -6
  40. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +2 -2
  41. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  42. package/dist/bubbles/service-bubble/jira/jira.d.ts +16 -16
  43. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
  44. package/dist/bubbles/service-bubble/notion/notion.d.ts +268 -268
  45. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  46. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  47. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +9 -9
  48. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
  49. package/dist/bubbles/service-bubble/resend.d.ts +4 -4
  50. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +4 -4
  51. package/dist/bubbles/service-bubble/slab/slab.d.ts +16 -16
  52. package/dist/bubbles/service-bubble/slack/slack.d.ts +291 -291
  53. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +32 -32
  54. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
  55. package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +2 -2
  56. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +20 -20
  57. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +20 -20
  58. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +4 -4
  59. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
  60. package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts +16 -16
  61. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  62. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +10 -10
  63. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +380 -380
  64. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +10 -10
  65. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  66. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
  67. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
  68. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
  69. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
  70. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  71. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
  72. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  73. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +40 -40
  74. package/dist/bubbles.json +244 -2
  75. package/dist/index.d.ts +1 -1
  76. package/dist/index.d.ts.map +1 -1
  77. package/package.json +2 -2
@@ -102,8 +102,8 @@ export declare const AshbyCandidateSchema: z.ZodObject<{
102
102
  isPrivate?: boolean | undefined;
103
103
  }>, "many">>;
104
104
  }, "strip", z.ZodTypeAny, {
105
- name: string;
106
105
  id: string;
106
+ name: string;
107
107
  createdAt?: string | undefined;
108
108
  updatedAt?: string | undefined;
109
109
  primaryEmailAddress?: {
@@ -123,8 +123,8 @@ export declare const AshbyCandidateSchema: z.ZodObject<{
123
123
  isPrivate?: boolean | undefined;
124
124
  }[] | undefined;
125
125
  }, {
126
- name: string;
127
126
  id: string;
127
+ name: string;
128
128
  createdAt?: string | undefined;
129
129
  updatedAt?: string | undefined;
130
130
  primaryEmailAddress?: {
@@ -181,12 +181,12 @@ export declare const AshbyFileHandleSchema: z.ZodObject<{
181
181
  name: z.ZodString;
182
182
  handle: z.ZodString;
183
183
  }, "strip", z.ZodTypeAny, {
184
- name: string;
185
184
  id: string;
185
+ name: string;
186
186
  handle: string;
187
187
  }, {
188
- name: string;
189
188
  id: string;
189
+ name: string;
190
190
  handle: string;
191
191
  }>;
192
192
  /**
@@ -198,12 +198,12 @@ export declare const AshbySelectableValueSchema: z.ZodObject<{
198
198
  isArchived: z.ZodBoolean;
199
199
  }, "strip", z.ZodTypeAny, {
200
200
  value: string;
201
- label: string;
202
201
  isArchived: boolean;
202
+ label: string;
203
203
  }, {
204
204
  value: string;
205
- label: string;
206
205
  isArchived: boolean;
206
+ label: string;
207
207
  }>;
208
208
  /**
209
209
  * Custom field definition from Ashby API (from customField.list endpoint)
@@ -221,36 +221,36 @@ export declare const AshbyCustomFieldDefinitionSchema: z.ZodObject<{
221
221
  isArchived: z.ZodBoolean;
222
222
  }, "strip", z.ZodTypeAny, {
223
223
  value: string;
224
- label: string;
225
224
  isArchived: boolean;
225
+ label: string;
226
226
  }, {
227
227
  value: string;
228
- label: string;
229
228
  isArchived: boolean;
229
+ label: string;
230
230
  }>, "many">>;
231
231
  }, "strip", z.ZodTypeAny, {
232
232
  title: string;
233
233
  id: string;
234
- fieldType: string;
235
234
  isPrivate: boolean;
236
235
  isArchived: boolean;
237
236
  objectType: string;
237
+ fieldType: string;
238
238
  selectableValues?: {
239
239
  value: string;
240
- label: string;
241
240
  isArchived: boolean;
241
+ label: string;
242
242
  }[] | undefined;
243
243
  }, {
244
244
  title: string;
245
245
  id: string;
246
- fieldType: string;
247
246
  isPrivate: boolean;
248
247
  isArchived: boolean;
249
248
  objectType: string;
249
+ fieldType: string;
250
250
  selectableValues?: {
251
251
  value: string;
252
- label: string;
253
252
  isArchived: boolean;
253
+ label: string;
254
254
  }[] | undefined;
255
255
  }>;
256
256
  /**
@@ -345,12 +345,12 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
345
345
  name: z.ZodString;
346
346
  handle: z.ZodString;
347
347
  }, "strip", z.ZodTypeAny, {
348
- name: string;
349
348
  id: string;
349
+ name: string;
350
350
  handle: string;
351
351
  }, {
352
- name: string;
353
352
  id: string;
353
+ name: string;
354
354
  handle: string;
355
355
  }>>>;
356
356
  fileHandles: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -358,12 +358,12 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
358
358
  name: z.ZodString;
359
359
  handle: z.ZodString;
360
360
  }, "strip", z.ZodTypeAny, {
361
- name: string;
362
361
  id: string;
362
+ name: string;
363
363
  handle: string;
364
364
  }, {
365
- name: string;
366
365
  id: string;
366
+ name: string;
367
367
  handle: string;
368
368
  }>, "many">>;
369
369
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -386,16 +386,8 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
386
386
  source: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
387
387
  creditedToUser: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
388
388
  }, "strip", z.ZodTypeAny, {
389
- name: string;
390
389
  id: string;
391
- tags?: {
392
- title: string;
393
- id: string;
394
- isArchived?: boolean | undefined;
395
- }[] | undefined;
396
- position?: string | null | undefined;
397
- profileUrl?: string | null | undefined;
398
- source?: unknown;
390
+ name: string;
399
391
  createdAt?: string | undefined;
400
392
  updatedAt?: string | undefined;
401
393
  primaryEmailAddress?: {
@@ -428,31 +420,31 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
428
420
  type: string;
429
421
  url: string;
430
422
  }[] | undefined;
423
+ tags?: {
424
+ title: string;
425
+ id: string;
426
+ isArchived?: boolean | undefined;
427
+ }[] | undefined;
428
+ position?: string | null | undefined;
431
429
  company?: string | null | undefined;
432
430
  school?: string | null | undefined;
433
431
  applicationIds?: string[] | undefined;
434
432
  resumeFileHandle?: {
435
- name: string;
436
433
  id: string;
434
+ name: string;
437
435
  handle: string;
438
436
  } | null | undefined;
439
437
  fileHandles?: {
440
- name: string;
441
438
  id: string;
439
+ name: string;
442
440
  handle: string;
443
441
  }[] | undefined;
442
+ profileUrl?: string | null | undefined;
443
+ source?: unknown;
444
444
  creditedToUser?: unknown;
445
445
  }, {
446
- name: string;
447
446
  id: string;
448
- tags?: {
449
- title: string;
450
- id: string;
451
- isArchived?: boolean | undefined;
452
- }[] | undefined;
453
- position?: string | null | undefined;
454
- profileUrl?: string | null | undefined;
455
- source?: unknown;
447
+ name: string;
456
448
  createdAt?: string | undefined;
457
449
  updatedAt?: string | undefined;
458
450
  primaryEmailAddress?: {
@@ -485,21 +477,66 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
485
477
  type: string;
486
478
  url: string;
487
479
  }[] | undefined;
480
+ tags?: {
481
+ title: string;
482
+ id: string;
483
+ isArchived?: boolean | undefined;
484
+ }[] | undefined;
485
+ position?: string | null | undefined;
488
486
  company?: string | null | undefined;
489
487
  school?: string | null | undefined;
490
488
  applicationIds?: string[] | undefined;
491
489
  resumeFileHandle?: {
492
- name: string;
493
490
  id: string;
491
+ name: string;
494
492
  handle: string;
495
493
  } | null | undefined;
496
494
  fileHandles?: {
497
- name: string;
498
495
  id: string;
496
+ name: string;
499
497
  handle: string;
500
498
  }[] | undefined;
499
+ profileUrl?: string | null | undefined;
500
+ source?: unknown;
501
501
  creditedToUser?: unknown;
502
502
  }>;
503
+ /**
504
+ * Candidate enriched with project associations (from get_all_candidates_with_projects)
505
+ */
506
+ export declare const AshbyEnrichedCandidateSchema: z.ZodObject<{
507
+ id: z.ZodString;
508
+ name: z.ZodString;
509
+ email: z.ZodNullable<z.ZodString>;
510
+ phone: z.ZodNullable<z.ZodString>;
511
+ linkedinUrl: z.ZodNullable<z.ZodString>;
512
+ position: z.ZodNullable<z.ZodString>;
513
+ company: z.ZodNullable<z.ZodString>;
514
+ tags: z.ZodArray<z.ZodString, "many">;
515
+ projectIds: z.ZodArray<z.ZodString, "many">;
516
+ projectNames: z.ZodArray<z.ZodString, "many">;
517
+ }, "strip", z.ZodTypeAny, {
518
+ id: string;
519
+ name: string;
520
+ tags: string[];
521
+ position: string | null;
522
+ company: string | null;
523
+ email: string | null;
524
+ phone: string | null;
525
+ linkedinUrl: string | null;
526
+ projectIds: string[];
527
+ projectNames: string[];
528
+ }, {
529
+ id: string;
530
+ name: string;
531
+ tags: string[];
532
+ position: string | null;
533
+ company: string | null;
534
+ email: string | null;
535
+ phone: string | null;
536
+ linkedinUrl: string | null;
537
+ projectIds: string[];
538
+ projectNames: string[];
539
+ }>;
503
540
  /**
504
541
  * Job object from Ashby API
505
542
  */
@@ -535,10 +572,8 @@ export declare const AshbyJobSchema: z.ZodObject<{
535
572
  title: string;
536
573
  id: string;
537
574
  status?: string | undefined;
538
- locationId?: string | null | undefined;
539
575
  createdAt?: string | undefined;
540
576
  updatedAt?: string | undefined;
541
- teamId?: string | null | undefined;
542
577
  customFields?: {
543
578
  title: string;
544
579
  id: string;
@@ -546,6 +581,8 @@ export declare const AshbyJobSchema: z.ZodObject<{
546
581
  isPrivate?: boolean | undefined;
547
582
  }[] | undefined;
548
583
  departmentId?: string | null | undefined;
584
+ teamId?: string | null | undefined;
585
+ locationId?: string | null | undefined;
549
586
  locationIds?: string[] | undefined;
550
587
  openedAt?: string | null | undefined;
551
588
  closedAt?: string | null | undefined;
@@ -553,10 +590,8 @@ export declare const AshbyJobSchema: z.ZodObject<{
553
590
  title: string;
554
591
  id: string;
555
592
  status?: string | undefined;
556
- locationId?: string | null | undefined;
557
593
  createdAt?: string | undefined;
558
594
  updatedAt?: string | undefined;
559
- teamId?: string | null | undefined;
560
595
  customFields?: {
561
596
  title: string;
562
597
  id: string;
@@ -564,6 +599,8 @@ export declare const AshbyJobSchema: z.ZodObject<{
564
599
  isPrivate?: boolean | undefined;
565
600
  }[] | undefined;
566
601
  departmentId?: string | null | undefined;
602
+ teamId?: string | null | undefined;
603
+ locationId?: string | null | undefined;
567
604
  locationIds?: string[] | undefined;
568
605
  openedAt?: string | null | undefined;
569
606
  closedAt?: string | null | undefined;
@@ -644,14 +681,14 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
644
681
  firstName: z.ZodOptional<z.ZodString>;
645
682
  lastName: z.ZodOptional<z.ZodString>;
646
683
  }, "strip", z.ZodTypeAny, {
647
- role: string;
648
684
  userId: string;
685
+ role: string;
649
686
  email?: string | undefined;
650
687
  firstName?: string | undefined;
651
688
  lastName?: string | undefined;
652
689
  }, {
653
- role: string;
654
690
  userId: string;
691
+ role: string;
655
692
  email?: string | undefined;
656
693
  firstName?: string | undefined;
657
694
  lastName?: string | undefined;
@@ -659,7 +696,6 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
659
696
  }, "strip", z.ZodTypeAny, {
660
697
  id: string;
661
698
  status?: string | undefined;
662
- source?: unknown;
663
699
  createdAt?: string | undefined;
664
700
  updatedAt?: string | undefined;
665
701
  customFields?: {
@@ -668,6 +704,7 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
668
704
  value?: unknown;
669
705
  isPrivate?: boolean | undefined;
670
706
  }[] | undefined;
707
+ source?: unknown;
671
708
  candidateId?: string | null | undefined;
672
709
  jobId?: string | null | undefined;
673
710
  currentInterviewStage?: {
@@ -679,8 +716,8 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
679
716
  } | null | undefined;
680
717
  archiveReason?: unknown;
681
718
  hiringTeam?: {
682
- role: string;
683
719
  userId: string;
720
+ role: string;
684
721
  email?: string | undefined;
685
722
  firstName?: string | undefined;
686
723
  lastName?: string | undefined;
@@ -688,7 +725,6 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
688
725
  }, {
689
726
  id: string;
690
727
  status?: string | undefined;
691
- source?: unknown;
692
728
  createdAt?: string | undefined;
693
729
  updatedAt?: string | undefined;
694
730
  customFields?: {
@@ -697,6 +733,7 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
697
733
  value?: unknown;
698
734
  isPrivate?: boolean | undefined;
699
735
  }[] | undefined;
736
+ source?: unknown;
700
737
  candidateId?: string | null | undefined;
701
738
  jobId?: string | null | undefined;
702
739
  currentInterviewStage?: {
@@ -708,8 +745,8 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
708
745
  } | null | undefined;
709
746
  archiveReason?: unknown;
710
747
  hiringTeam?: {
711
- role: string;
712
748
  userId: string;
749
+ role: string;
713
750
  email?: string | undefined;
714
751
  firstName?: string | undefined;
715
752
  lastName?: string | undefined;
@@ -739,25 +776,25 @@ export declare const AshbyNoteSchema: z.ZodObject<{
739
776
  lastName?: string | undefined;
740
777
  }>>>;
741
778
  }, "strip", z.ZodTypeAny, {
742
- content: string;
743
779
  id: string;
780
+ content: string;
781
+ createdAt?: string | undefined;
744
782
  author?: {
745
783
  id: string;
746
784
  email?: string | undefined;
747
785
  firstName?: string | undefined;
748
786
  lastName?: string | undefined;
749
787
  } | null | undefined;
750
- createdAt?: string | undefined;
751
788
  }, {
752
- content: string;
753
789
  id: string;
790
+ content: string;
791
+ createdAt?: string | undefined;
754
792
  author?: {
755
793
  id: string;
756
794
  email?: string | undefined;
757
795
  firstName?: string | undefined;
758
796
  lastName?: string | undefined;
759
797
  } | null | undefined;
760
- createdAt?: string | undefined;
761
798
  }>;
762
799
  /**
763
800
  * Source object from Ashby API
@@ -800,12 +837,12 @@ export declare const AshbyFileInfoSchema: z.ZodObject<{
800
837
  url: z.ZodString;
801
838
  }, "strip", z.ZodTypeAny, {
802
839
  url: string;
803
- name?: string | undefined;
804
840
  id?: string | undefined;
841
+ name?: string | undefined;
805
842
  }, {
806
843
  url: string;
807
- name?: string | undefined;
808
844
  id?: string | undefined;
845
+ name?: string | undefined;
809
846
  }>;
810
847
  export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
811
848
  operation: z.ZodLiteral<"list_candidates">;
@@ -819,18 +856,18 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
819
856
  operation: "list_candidates";
820
857
  limit: number;
821
858
  status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
822
- credentials?: Partial<Record<CredentialType, string>> | undefined;
823
859
  cursor?: string | undefined;
824
860
  job_id?: string | undefined;
825
861
  created_after?: number | undefined;
862
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
826
863
  }, {
827
864
  operation: "list_candidates";
828
865
  status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
829
- credentials?: Partial<Record<CredentialType, string>> | undefined;
830
866
  limit?: number | undefined;
831
867
  cursor?: string | undefined;
832
868
  job_id?: string | undefined;
833
869
  created_after?: number | undefined;
870
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
834
871
  }>, z.ZodObject<{
835
872
  operation: z.ZodLiteral<"get_candidate">;
836
873
  candidate_id: z.ZodString;
@@ -870,32 +907,32 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
870
907
  operation: "create_candidate";
871
908
  allow_duplicate_linkedin: boolean;
872
909
  credentials?: Partial<Record<CredentialType, string>> | undefined;
873
- website?: string | undefined;
874
910
  emails?: {
875
911
  type: "Personal" | "Work" | "Other";
876
912
  email: string;
877
913
  }[] | undefined;
878
- tag?: string | undefined;
879
914
  phone_number?: string | undefined;
880
915
  linkedin_url?: string | undefined;
881
916
  github_url?: string | undefined;
917
+ website?: string | undefined;
882
918
  source_id?: string | undefined;
883
919
  credited_to_user_id?: string | undefined;
920
+ tag?: string | undefined;
884
921
  }, {
885
922
  name: string;
886
923
  operation: "create_candidate";
887
924
  credentials?: Partial<Record<CredentialType, string>> | undefined;
888
- website?: string | undefined;
889
925
  emails?: {
890
926
  type: "Personal" | "Work" | "Other";
891
927
  email: string;
892
928
  }[] | undefined;
893
- tag?: string | undefined;
894
929
  phone_number?: string | undefined;
895
930
  linkedin_url?: string | undefined;
896
931
  github_url?: string | undefined;
932
+ website?: string | undefined;
897
933
  source_id?: string | undefined;
898
934
  credited_to_user_id?: string | undefined;
935
+ tag?: string | undefined;
899
936
  allow_duplicate_linkedin?: boolean | undefined;
900
937
  }>, z.ZodObject<{
901
938
  operation: z.ZodLiteral<"search_candidates">;
@@ -905,13 +942,13 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
905
942
  }, "strip", z.ZodTypeAny, {
906
943
  operation: "search_candidates";
907
944
  name?: string | undefined;
908
- credentials?: Partial<Record<CredentialType, string>> | undefined;
909
945
  email?: string | undefined;
946
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
910
947
  }, {
911
948
  operation: "search_candidates";
912
949
  name?: string | undefined;
913
- credentials?: Partial<Record<CredentialType, string>> | undefined;
914
950
  email?: string | undefined;
951
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
915
952
  }>, z.ZodObject<{
916
953
  operation: z.ZodLiteral<"add_tag">;
917
954
  candidate_id: z.ZodString;
@@ -960,14 +997,14 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
960
997
  }, "strip", z.ZodTypeAny, {
961
998
  operation: "list_custom_fields";
962
999
  limit: number;
963
- credentials?: Partial<Record<CredentialType, string>> | undefined;
964
1000
  cursor?: string | undefined;
1001
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
965
1002
  sync_token?: string | undefined;
966
1003
  }, {
967
1004
  operation: "list_custom_fields";
968
- credentials?: Partial<Record<CredentialType, string>> | undefined;
969
1005
  limit?: number | undefined;
970
1006
  cursor?: string | undefined;
1007
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
971
1008
  sync_token?: string | undefined;
972
1009
  }>, z.ZodObject<{
973
1010
  operation: z.ZodLiteral<"list_jobs">;
@@ -979,14 +1016,14 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
979
1016
  operation: "list_jobs";
980
1017
  limit: number;
981
1018
  status?: "Archived" | "Open" | "Closed" | "Draft" | undefined;
982
- credentials?: Partial<Record<CredentialType, string>> | undefined;
983
1019
  cursor?: string | undefined;
1020
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
984
1021
  }, {
985
1022
  operation: "list_jobs";
986
1023
  status?: "Archived" | "Open" | "Closed" | "Draft" | undefined;
987
- credentials?: Partial<Record<CredentialType, string>> | undefined;
988
1024
  limit?: number | undefined;
989
1025
  cursor?: string | undefined;
1026
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
990
1027
  }>, z.ZodObject<{
991
1028
  operation: z.ZodLiteral<"get_job">;
992
1029
  job_id: z.ZodString;
@@ -1012,19 +1049,19 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
1012
1049
  operation: "list_applications";
1013
1050
  limit: number;
1014
1051
  status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
1015
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1016
1052
  cursor?: string | undefined;
1017
1053
  job_id?: string | undefined;
1018
1054
  created_after?: number | undefined;
1055
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1019
1056
  candidate_id?: string | undefined;
1020
1057
  }, {
1021
1058
  operation: "list_applications";
1022
1059
  status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
1023
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1024
1060
  limit?: number | undefined;
1025
1061
  cursor?: string | undefined;
1026
1062
  job_id?: string | undefined;
1027
1063
  created_after?: number | undefined;
1064
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1028
1065
  candidate_id?: string | undefined;
1029
1066
  }>, z.ZodObject<{
1030
1067
  operation: z.ZodLiteral<"get_application">;
@@ -1088,22 +1125,22 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
1088
1125
  operation: "update_candidate";
1089
1126
  candidate_id: string;
1090
1127
  name?: string | undefined;
1091
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1092
1128
  email?: string | undefined;
1093
- website?: string | undefined;
1129
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1094
1130
  phone_number?: string | undefined;
1095
1131
  linkedin_url?: string | undefined;
1096
1132
  github_url?: string | undefined;
1133
+ website?: string | undefined;
1097
1134
  }, {
1098
1135
  operation: "update_candidate";
1099
1136
  candidate_id: string;
1100
1137
  name?: string | undefined;
1101
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1102
1138
  email?: string | undefined;
1103
- website?: string | undefined;
1139
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1104
1140
  phone_number?: string | undefined;
1105
1141
  linkedin_url?: string | undefined;
1106
1142
  github_url?: string | undefined;
1143
+ website?: string | undefined;
1107
1144
  }>, z.ZodObject<{
1108
1145
  operation: z.ZodLiteral<"create_note">;
1109
1146
  candidate_id: z.ZodString;
@@ -1227,6 +1264,33 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
1227
1264
  candidate_id: string;
1228
1265
  project_id: string;
1229
1266
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1267
+ }>, z.ZodObject<{
1268
+ operation: z.ZodLiteral<"list_project_candidate_ids">;
1269
+ project_id: z.ZodString;
1270
+ cursor: z.ZodOptional<z.ZodString>;
1271
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1272
+ }, "strip", z.ZodTypeAny, {
1273
+ operation: "list_project_candidate_ids";
1274
+ project_id: string;
1275
+ cursor?: string | undefined;
1276
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1277
+ }, {
1278
+ operation: "list_project_candidate_ids";
1279
+ project_id: string;
1280
+ cursor?: string | undefined;
1281
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1282
+ }>, z.ZodObject<{
1283
+ operation: z.ZodLiteral<"get_all_candidates_with_projects">;
1284
+ concurrency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
1285
+ credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1286
+ }, "strip", z.ZodTypeAny, {
1287
+ operation: "get_all_candidates_with_projects";
1288
+ concurrency: number;
1289
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1290
+ }, {
1291
+ operation: "get_all_candidates_with_projects";
1292
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1293
+ concurrency?: number | undefined;
1230
1294
  }>]>;
1231
1295
  export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
1232
1296
  operation: z.ZodLiteral<"list_candidates">;
@@ -1320,12 +1384,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1320
1384
  name: z.ZodString;
1321
1385
  handle: z.ZodString;
1322
1386
  }, "strip", z.ZodTypeAny, {
1323
- name: string;
1324
1387
  id: string;
1388
+ name: string;
1325
1389
  handle: string;
1326
1390
  }, {
1327
- name: string;
1328
1391
  id: string;
1392
+ name: string;
1329
1393
  handle: string;
1330
1394
  }>>>;
1331
1395
  fileHandles: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1333,12 +1397,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1333
1397
  name: z.ZodString;
1334
1398
  handle: z.ZodString;
1335
1399
  }, "strip", z.ZodTypeAny, {
1336
- name: string;
1337
1400
  id: string;
1401
+ name: string;
1338
1402
  handle: string;
1339
1403
  }, {
1340
- name: string;
1341
1404
  id: string;
1405
+ name: string;
1342
1406
  handle: string;
1343
1407
  }>, "many">>;
1344
1408
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1361,16 +1425,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1361
1425
  source: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
1362
1426
  creditedToUser: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
1363
1427
  }, "strip", z.ZodTypeAny, {
1364
- name: string;
1365
1428
  id: string;
1366
- tags?: {
1367
- title: string;
1368
- id: string;
1369
- isArchived?: boolean | undefined;
1370
- }[] | undefined;
1371
- position?: string | null | undefined;
1372
- profileUrl?: string | null | undefined;
1373
- source?: unknown;
1429
+ name: string;
1374
1430
  createdAt?: string | undefined;
1375
1431
  updatedAt?: string | undefined;
1376
1432
  primaryEmailAddress?: {
@@ -1403,31 +1459,31 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1403
1459
  type: string;
1404
1460
  url: string;
1405
1461
  }[] | undefined;
1462
+ tags?: {
1463
+ title: string;
1464
+ id: string;
1465
+ isArchived?: boolean | undefined;
1466
+ }[] | undefined;
1467
+ position?: string | null | undefined;
1406
1468
  company?: string | null | undefined;
1407
1469
  school?: string | null | undefined;
1408
1470
  applicationIds?: string[] | undefined;
1409
1471
  resumeFileHandle?: {
1410
- name: string;
1411
1472
  id: string;
1473
+ name: string;
1412
1474
  handle: string;
1413
1475
  } | null | undefined;
1414
1476
  fileHandles?: {
1415
- name: string;
1416
1477
  id: string;
1478
+ name: string;
1417
1479
  handle: string;
1418
1480
  }[] | undefined;
1481
+ profileUrl?: string | null | undefined;
1482
+ source?: unknown;
1419
1483
  creditedToUser?: unknown;
1420
1484
  }, {
1421
- name: string;
1422
1485
  id: string;
1423
- tags?: {
1424
- title: string;
1425
- id: string;
1426
- isArchived?: boolean | undefined;
1427
- }[] | undefined;
1428
- position?: string | null | undefined;
1429
- profileUrl?: string | null | undefined;
1430
- source?: unknown;
1486
+ name: string;
1431
1487
  createdAt?: string | undefined;
1432
1488
  updatedAt?: string | undefined;
1433
1489
  primaryEmailAddress?: {
@@ -1460,19 +1516,27 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1460
1516
  type: string;
1461
1517
  url: string;
1462
1518
  }[] | undefined;
1519
+ tags?: {
1520
+ title: string;
1521
+ id: string;
1522
+ isArchived?: boolean | undefined;
1523
+ }[] | undefined;
1524
+ position?: string | null | undefined;
1463
1525
  company?: string | null | undefined;
1464
1526
  school?: string | null | undefined;
1465
1527
  applicationIds?: string[] | undefined;
1466
1528
  resumeFileHandle?: {
1467
- name: string;
1468
1529
  id: string;
1530
+ name: string;
1469
1531
  handle: string;
1470
1532
  } | null | undefined;
1471
1533
  fileHandles?: {
1472
- name: string;
1473
1534
  id: string;
1535
+ name: string;
1474
1536
  handle: string;
1475
1537
  }[] | undefined;
1538
+ profileUrl?: string | null | undefined;
1539
+ source?: unknown;
1476
1540
  creditedToUser?: unknown;
1477
1541
  }>, "many">>;
1478
1542
  next_cursor: z.ZodOptional<z.ZodString>;
@@ -1480,22 +1544,13 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1480
1544
  sync_token: z.ZodOptional<z.ZodString>;
1481
1545
  error: z.ZodString;
1482
1546
  }, "strip", z.ZodTypeAny, {
1483
- error: string;
1484
- success: boolean;
1485
1547
  operation: "list_candidates";
1486
- next_cursor?: string | undefined;
1548
+ success: boolean;
1549
+ error: string;
1487
1550
  sync_token?: string | undefined;
1488
1551
  candidates?: {
1489
- name: string;
1490
1552
  id: string;
1491
- tags?: {
1492
- title: string;
1493
- id: string;
1494
- isArchived?: boolean | undefined;
1495
- }[] | undefined;
1496
- position?: string | null | undefined;
1497
- profileUrl?: string | null | undefined;
1498
- source?: unknown;
1553
+ name: string;
1499
1554
  createdAt?: string | undefined;
1500
1555
  updatedAt?: string | undefined;
1501
1556
  primaryEmailAddress?: {
@@ -1528,39 +1583,39 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1528
1583
  type: string;
1529
1584
  url: string;
1530
1585
  }[] | undefined;
1586
+ tags?: {
1587
+ title: string;
1588
+ id: string;
1589
+ isArchived?: boolean | undefined;
1590
+ }[] | undefined;
1591
+ position?: string | null | undefined;
1531
1592
  company?: string | null | undefined;
1532
1593
  school?: string | null | undefined;
1533
1594
  applicationIds?: string[] | undefined;
1534
1595
  resumeFileHandle?: {
1535
- name: string;
1536
1596
  id: string;
1597
+ name: string;
1537
1598
  handle: string;
1538
1599
  } | null | undefined;
1539
1600
  fileHandles?: {
1540
- name: string;
1541
1601
  id: string;
1602
+ name: string;
1542
1603
  handle: string;
1543
1604
  }[] | undefined;
1605
+ profileUrl?: string | null | undefined;
1606
+ source?: unknown;
1544
1607
  creditedToUser?: unknown;
1545
1608
  }[] | undefined;
1609
+ next_cursor?: string | undefined;
1546
1610
  more_data_available?: boolean | undefined;
1547
1611
  }, {
1548
- error: string;
1549
- success: boolean;
1550
1612
  operation: "list_candidates";
1551
- next_cursor?: string | undefined;
1613
+ success: boolean;
1614
+ error: string;
1552
1615
  sync_token?: string | undefined;
1553
1616
  candidates?: {
1554
- name: string;
1555
1617
  id: string;
1556
- tags?: {
1557
- title: string;
1558
- id: string;
1559
- isArchived?: boolean | undefined;
1560
- }[] | undefined;
1561
- position?: string | null | undefined;
1562
- profileUrl?: string | null | undefined;
1563
- source?: unknown;
1618
+ name: string;
1564
1619
  createdAt?: string | undefined;
1565
1620
  updatedAt?: string | undefined;
1566
1621
  primaryEmailAddress?: {
@@ -1593,21 +1648,30 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1593
1648
  type: string;
1594
1649
  url: string;
1595
1650
  }[] | undefined;
1651
+ tags?: {
1652
+ title: string;
1653
+ id: string;
1654
+ isArchived?: boolean | undefined;
1655
+ }[] | undefined;
1656
+ position?: string | null | undefined;
1596
1657
  company?: string | null | undefined;
1597
1658
  school?: string | null | undefined;
1598
1659
  applicationIds?: string[] | undefined;
1599
1660
  resumeFileHandle?: {
1600
- name: string;
1601
1661
  id: string;
1662
+ name: string;
1602
1663
  handle: string;
1603
1664
  } | null | undefined;
1604
1665
  fileHandles?: {
1605
- name: string;
1606
1666
  id: string;
1667
+ name: string;
1607
1668
  handle: string;
1608
1669
  }[] | undefined;
1670
+ profileUrl?: string | null | undefined;
1671
+ source?: unknown;
1609
1672
  creditedToUser?: unknown;
1610
1673
  }[] | undefined;
1674
+ next_cursor?: string | undefined;
1611
1675
  more_data_available?: boolean | undefined;
1612
1676
  }>, z.ZodObject<{
1613
1677
  operation: z.ZodLiteral<"get_candidate">;
@@ -1660,8 +1724,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1660
1724
  isPrivate?: boolean | undefined;
1661
1725
  }>, "many">>;
1662
1726
  }, "strip", z.ZodTypeAny, {
1663
- name: string;
1664
1727
  id: string;
1728
+ name: string;
1665
1729
  createdAt?: string | undefined;
1666
1730
  updatedAt?: string | undefined;
1667
1731
  primaryEmailAddress?: {
@@ -1681,8 +1745,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1681
1745
  isPrivate?: boolean | undefined;
1682
1746
  }[] | undefined;
1683
1747
  }, {
1684
- name: string;
1685
1748
  id: string;
1749
+ name: string;
1686
1750
  createdAt?: string | undefined;
1687
1751
  updatedAt?: string | undefined;
1688
1752
  primaryEmailAddress?: {
@@ -1704,12 +1768,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1704
1768
  }>>;
1705
1769
  error: z.ZodString;
1706
1770
  }, "strip", z.ZodTypeAny, {
1707
- error: string;
1708
- success: boolean;
1709
1771
  operation: "get_candidate";
1772
+ success: boolean;
1773
+ error: string;
1710
1774
  candidate?: {
1711
- name: string;
1712
1775
  id: string;
1776
+ name: string;
1713
1777
  createdAt?: string | undefined;
1714
1778
  updatedAt?: string | undefined;
1715
1779
  primaryEmailAddress?: {
@@ -1730,12 +1794,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1730
1794
  }[] | undefined;
1731
1795
  } | undefined;
1732
1796
  }, {
1733
- error: string;
1734
- success: boolean;
1735
1797
  operation: "get_candidate";
1798
+ success: boolean;
1799
+ error: string;
1736
1800
  candidate?: {
1737
- name: string;
1738
1801
  id: string;
1802
+ name: string;
1739
1803
  createdAt?: string | undefined;
1740
1804
  updatedAt?: string | undefined;
1741
1805
  primaryEmailAddress?: {
@@ -1806,8 +1870,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1806
1870
  isPrivate?: boolean | undefined;
1807
1871
  }>, "many">>;
1808
1872
  }, "strip", z.ZodTypeAny, {
1809
- name: string;
1810
1873
  id: string;
1874
+ name: string;
1811
1875
  createdAt?: string | undefined;
1812
1876
  updatedAt?: string | undefined;
1813
1877
  primaryEmailAddress?: {
@@ -1827,8 +1891,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1827
1891
  isPrivate?: boolean | undefined;
1828
1892
  }[] | undefined;
1829
1893
  }, {
1830
- name: string;
1831
1894
  id: string;
1895
+ name: string;
1832
1896
  createdAt?: string | undefined;
1833
1897
  updatedAt?: string | undefined;
1834
1898
  primaryEmailAddress?: {
@@ -1851,12 +1915,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1851
1915
  duplicate: z.ZodOptional<z.ZodBoolean>;
1852
1916
  error: z.ZodString;
1853
1917
  }, "strip", z.ZodTypeAny, {
1854
- error: string;
1855
- success: boolean;
1856
1918
  operation: "create_candidate";
1919
+ success: boolean;
1920
+ error: string;
1857
1921
  candidate?: {
1858
- name: string;
1859
1922
  id: string;
1923
+ name: string;
1860
1924
  createdAt?: string | undefined;
1861
1925
  updatedAt?: string | undefined;
1862
1926
  primaryEmailAddress?: {
@@ -1878,12 +1942,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1878
1942
  } | undefined;
1879
1943
  duplicate?: boolean | undefined;
1880
1944
  }, {
1881
- error: string;
1882
- success: boolean;
1883
1945
  operation: "create_candidate";
1946
+ success: boolean;
1947
+ error: string;
1884
1948
  candidate?: {
1885
- name: string;
1886
1949
  id: string;
1950
+ name: string;
1887
1951
  createdAt?: string | undefined;
1888
1952
  updatedAt?: string | undefined;
1889
1953
  primaryEmailAddress?: {
@@ -1955,8 +2019,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1955
2019
  isPrivate?: boolean | undefined;
1956
2020
  }>, "many">>;
1957
2021
  }, "strip", z.ZodTypeAny, {
1958
- name: string;
1959
2022
  id: string;
2023
+ name: string;
1960
2024
  createdAt?: string | undefined;
1961
2025
  updatedAt?: string | undefined;
1962
2026
  primaryEmailAddress?: {
@@ -1976,8 +2040,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1976
2040
  isPrivate?: boolean | undefined;
1977
2041
  }[] | undefined;
1978
2042
  }, {
1979
- name: string;
1980
2043
  id: string;
2044
+ name: string;
1981
2045
  createdAt?: string | undefined;
1982
2046
  updatedAt?: string | undefined;
1983
2047
  primaryEmailAddress?: {
@@ -1999,12 +2063,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1999
2063
  }>, "many">>;
2000
2064
  error: z.ZodString;
2001
2065
  }, "strip", z.ZodTypeAny, {
2002
- error: string;
2003
- success: boolean;
2004
2066
  operation: "search_candidates";
2067
+ success: boolean;
2068
+ error: string;
2005
2069
  candidates?: {
2006
- name: string;
2007
2070
  id: string;
2071
+ name: string;
2008
2072
  createdAt?: string | undefined;
2009
2073
  updatedAt?: string | undefined;
2010
2074
  primaryEmailAddress?: {
@@ -2025,12 +2089,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2025
2089
  }[] | undefined;
2026
2090
  }[] | undefined;
2027
2091
  }, {
2028
- error: string;
2029
- success: boolean;
2030
2092
  operation: "search_candidates";
2093
+ success: boolean;
2094
+ error: string;
2031
2095
  candidates?: {
2032
- name: string;
2033
2096
  id: string;
2097
+ name: string;
2034
2098
  createdAt?: string | undefined;
2035
2099
  updatedAt?: string | undefined;
2036
2100
  primaryEmailAddress?: {
@@ -2101,8 +2165,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2101
2165
  isPrivate?: boolean | undefined;
2102
2166
  }>, "many">>;
2103
2167
  }, "strip", z.ZodTypeAny, {
2104
- name: string;
2105
2168
  id: string;
2169
+ name: string;
2106
2170
  createdAt?: string | undefined;
2107
2171
  updatedAt?: string | undefined;
2108
2172
  primaryEmailAddress?: {
@@ -2122,8 +2186,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2122
2186
  isPrivate?: boolean | undefined;
2123
2187
  }[] | undefined;
2124
2188
  }, {
2125
- name: string;
2126
2189
  id: string;
2190
+ name: string;
2127
2191
  createdAt?: string | undefined;
2128
2192
  updatedAt?: string | undefined;
2129
2193
  primaryEmailAddress?: {
@@ -2145,12 +2209,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2145
2209
  }>>;
2146
2210
  error: z.ZodString;
2147
2211
  }, "strip", z.ZodTypeAny, {
2148
- error: string;
2149
- success: boolean;
2150
2212
  operation: "add_tag";
2213
+ success: boolean;
2214
+ error: string;
2151
2215
  candidate?: {
2152
- name: string;
2153
2216
  id: string;
2217
+ name: string;
2154
2218
  createdAt?: string | undefined;
2155
2219
  updatedAt?: string | undefined;
2156
2220
  primaryEmailAddress?: {
@@ -2171,12 +2235,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2171
2235
  }[] | undefined;
2172
2236
  } | undefined;
2173
2237
  }, {
2174
- error: string;
2175
- success: boolean;
2176
2238
  operation: "add_tag";
2239
+ success: boolean;
2240
+ error: string;
2177
2241
  candidate?: {
2178
- name: string;
2179
2242
  id: string;
2243
+ name: string;
2180
2244
  createdAt?: string | undefined;
2181
2245
  updatedAt?: string | undefined;
2182
2246
  primaryEmailAddress?: {
@@ -2214,18 +2278,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2214
2278
  }>, "many">>;
2215
2279
  error: z.ZodString;
2216
2280
  }, "strip", z.ZodTypeAny, {
2217
- error: string;
2218
- success: boolean;
2219
2281
  operation: "list_tags";
2282
+ success: boolean;
2283
+ error: string;
2220
2284
  tags?: {
2221
2285
  title: string;
2222
2286
  id: string;
2223
2287
  isArchived?: boolean | undefined;
2224
2288
  }[] | undefined;
2225
2289
  }, {
2226
- error: string;
2227
- success: boolean;
2228
2290
  operation: "list_tags";
2291
+ success: boolean;
2292
+ error: string;
2229
2293
  tags?: {
2230
2294
  title: string;
2231
2295
  id: string;
@@ -2249,18 +2313,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2249
2313
  }>>;
2250
2314
  error: z.ZodString;
2251
2315
  }, "strip", z.ZodTypeAny, {
2252
- error: string;
2253
- success: boolean;
2254
2316
  operation: "create_tag";
2317
+ success: boolean;
2318
+ error: string;
2255
2319
  tag?: {
2256
2320
  title: string;
2257
2321
  id: string;
2258
2322
  isArchived?: boolean | undefined;
2259
2323
  } | undefined;
2260
2324
  }, {
2261
- error: string;
2262
- success: boolean;
2263
2325
  operation: "create_tag";
2326
+ success: boolean;
2327
+ error: string;
2264
2328
  tag?: {
2265
2329
  title: string;
2266
2330
  id: string;
@@ -2282,36 +2346,36 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2282
2346
  isArchived: z.ZodBoolean;
2283
2347
  }, "strip", z.ZodTypeAny, {
2284
2348
  value: string;
2285
- label: string;
2286
2349
  isArchived: boolean;
2350
+ label: string;
2287
2351
  }, {
2288
2352
  value: string;
2289
- label: string;
2290
2353
  isArchived: boolean;
2354
+ label: string;
2291
2355
  }>, "many">>;
2292
2356
  }, "strip", z.ZodTypeAny, {
2293
2357
  title: string;
2294
2358
  id: string;
2295
- fieldType: string;
2296
2359
  isPrivate: boolean;
2297
2360
  isArchived: boolean;
2298
2361
  objectType: string;
2362
+ fieldType: string;
2299
2363
  selectableValues?: {
2300
2364
  value: string;
2301
- label: string;
2302
2365
  isArchived: boolean;
2366
+ label: string;
2303
2367
  }[] | undefined;
2304
2368
  }, {
2305
2369
  title: string;
2306
2370
  id: string;
2307
- fieldType: string;
2308
2371
  isPrivate: boolean;
2309
2372
  isArchived: boolean;
2310
2373
  objectType: string;
2374
+ fieldType: string;
2311
2375
  selectableValues?: {
2312
2376
  value: string;
2313
- label: string;
2314
2377
  isArchived: boolean;
2378
+ label: string;
2315
2379
  }[] | undefined;
2316
2380
  }>, "many">>;
2317
2381
  next_cursor: z.ZodOptional<z.ZodString>;
@@ -2319,45 +2383,45 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2319
2383
  sync_token: z.ZodOptional<z.ZodString>;
2320
2384
  error: z.ZodString;
2321
2385
  }, "strip", z.ZodTypeAny, {
2322
- error: string;
2323
- success: boolean;
2324
2386
  operation: "list_custom_fields";
2387
+ success: boolean;
2388
+ error: string;
2389
+ sync_token?: string | undefined;
2325
2390
  next_cursor?: string | undefined;
2391
+ more_data_available?: boolean | undefined;
2326
2392
  custom_fields?: {
2327
2393
  title: string;
2328
2394
  id: string;
2329
- fieldType: string;
2330
2395
  isPrivate: boolean;
2331
2396
  isArchived: boolean;
2332
2397
  objectType: string;
2398
+ fieldType: string;
2333
2399
  selectableValues?: {
2334
2400
  value: string;
2335
- label: string;
2336
2401
  isArchived: boolean;
2402
+ label: string;
2337
2403
  }[] | undefined;
2338
2404
  }[] | undefined;
2339
- sync_token?: string | undefined;
2340
- more_data_available?: boolean | undefined;
2341
2405
  }, {
2342
- error: string;
2343
- success: boolean;
2344
2406
  operation: "list_custom_fields";
2407
+ success: boolean;
2408
+ error: string;
2409
+ sync_token?: string | undefined;
2345
2410
  next_cursor?: string | undefined;
2411
+ more_data_available?: boolean | undefined;
2346
2412
  custom_fields?: {
2347
2413
  title: string;
2348
2414
  id: string;
2349
- fieldType: string;
2350
2415
  isPrivate: boolean;
2351
2416
  isArchived: boolean;
2352
2417
  objectType: string;
2418
+ fieldType: string;
2353
2419
  selectableValues?: {
2354
2420
  value: string;
2355
- label: string;
2356
2421
  isArchived: boolean;
2422
+ label: string;
2357
2423
  }[] | undefined;
2358
2424
  }[] | undefined;
2359
- sync_token?: string | undefined;
2360
- more_data_available?: boolean | undefined;
2361
2425
  }>, z.ZodObject<{
2362
2426
  operation: z.ZodLiteral<"list_jobs">;
2363
2427
  success: z.ZodBoolean;
@@ -2393,10 +2457,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2393
2457
  title: string;
2394
2458
  id: string;
2395
2459
  status?: string | undefined;
2396
- locationId?: string | null | undefined;
2397
2460
  createdAt?: string | undefined;
2398
2461
  updatedAt?: string | undefined;
2399
- teamId?: string | null | undefined;
2400
2462
  customFields?: {
2401
2463
  title: string;
2402
2464
  id: string;
@@ -2404,6 +2466,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2404
2466
  isPrivate?: boolean | undefined;
2405
2467
  }[] | undefined;
2406
2468
  departmentId?: string | null | undefined;
2469
+ teamId?: string | null | undefined;
2470
+ locationId?: string | null | undefined;
2407
2471
  locationIds?: string[] | undefined;
2408
2472
  openedAt?: string | null | undefined;
2409
2473
  closedAt?: string | null | undefined;
@@ -2411,10 +2475,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2411
2475
  title: string;
2412
2476
  id: string;
2413
2477
  status?: string | undefined;
2414
- locationId?: string | null | undefined;
2415
2478
  createdAt?: string | undefined;
2416
2479
  updatedAt?: string | undefined;
2417
- teamId?: string | null | undefined;
2418
2480
  customFields?: {
2419
2481
  title: string;
2420
2482
  id: string;
@@ -2422,6 +2484,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2422
2484
  isPrivate?: boolean | undefined;
2423
2485
  }[] | undefined;
2424
2486
  departmentId?: string | null | undefined;
2487
+ teamId?: string | null | undefined;
2488
+ locationId?: string | null | undefined;
2425
2489
  locationIds?: string[] | undefined;
2426
2490
  openedAt?: string | null | undefined;
2427
2491
  closedAt?: string | null | undefined;
@@ -2430,18 +2494,17 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2430
2494
  more_data_available: z.ZodOptional<z.ZodBoolean>;
2431
2495
  error: z.ZodString;
2432
2496
  }, "strip", z.ZodTypeAny, {
2433
- error: string;
2434
- success: boolean;
2435
2497
  operation: "list_jobs";
2498
+ success: boolean;
2499
+ error: string;
2436
2500
  next_cursor?: string | undefined;
2501
+ more_data_available?: boolean | undefined;
2437
2502
  jobs?: {
2438
2503
  title: string;
2439
2504
  id: string;
2440
2505
  status?: string | undefined;
2441
- locationId?: string | null | undefined;
2442
2506
  createdAt?: string | undefined;
2443
2507
  updatedAt?: string | undefined;
2444
- teamId?: string | null | undefined;
2445
2508
  customFields?: {
2446
2509
  title: string;
2447
2510
  id: string;
@@ -2449,24 +2512,24 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2449
2512
  isPrivate?: boolean | undefined;
2450
2513
  }[] | undefined;
2451
2514
  departmentId?: string | null | undefined;
2515
+ teamId?: string | null | undefined;
2516
+ locationId?: string | null | undefined;
2452
2517
  locationIds?: string[] | undefined;
2453
2518
  openedAt?: string | null | undefined;
2454
2519
  closedAt?: string | null | undefined;
2455
2520
  }[] | undefined;
2456
- more_data_available?: boolean | undefined;
2457
2521
  }, {
2458
- error: string;
2459
- success: boolean;
2460
2522
  operation: "list_jobs";
2523
+ success: boolean;
2524
+ error: string;
2461
2525
  next_cursor?: string | undefined;
2526
+ more_data_available?: boolean | undefined;
2462
2527
  jobs?: {
2463
2528
  title: string;
2464
2529
  id: string;
2465
2530
  status?: string | undefined;
2466
- locationId?: string | null | undefined;
2467
2531
  createdAt?: string | undefined;
2468
2532
  updatedAt?: string | undefined;
2469
- teamId?: string | null | undefined;
2470
2533
  customFields?: {
2471
2534
  title: string;
2472
2535
  id: string;
@@ -2474,11 +2537,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2474
2537
  isPrivate?: boolean | undefined;
2475
2538
  }[] | undefined;
2476
2539
  departmentId?: string | null | undefined;
2540
+ teamId?: string | null | undefined;
2541
+ locationId?: string | null | undefined;
2477
2542
  locationIds?: string[] | undefined;
2478
2543
  openedAt?: string | null | undefined;
2479
2544
  closedAt?: string | null | undefined;
2480
2545
  }[] | undefined;
2481
- more_data_available?: boolean | undefined;
2482
2546
  }>, z.ZodObject<{
2483
2547
  operation: z.ZodLiteral<"get_job">;
2484
2548
  success: z.ZodBoolean;
@@ -2514,10 +2578,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2514
2578
  title: string;
2515
2579
  id: string;
2516
2580
  status?: string | undefined;
2517
- locationId?: string | null | undefined;
2518
2581
  createdAt?: string | undefined;
2519
2582
  updatedAt?: string | undefined;
2520
- teamId?: string | null | undefined;
2521
2583
  customFields?: {
2522
2584
  title: string;
2523
2585
  id: string;
@@ -2525,6 +2587,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2525
2587
  isPrivate?: boolean | undefined;
2526
2588
  }[] | undefined;
2527
2589
  departmentId?: string | null | undefined;
2590
+ teamId?: string | null | undefined;
2591
+ locationId?: string | null | undefined;
2528
2592
  locationIds?: string[] | undefined;
2529
2593
  openedAt?: string | null | undefined;
2530
2594
  closedAt?: string | null | undefined;
@@ -2532,10 +2596,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2532
2596
  title: string;
2533
2597
  id: string;
2534
2598
  status?: string | undefined;
2535
- locationId?: string | null | undefined;
2536
2599
  createdAt?: string | undefined;
2537
2600
  updatedAt?: string | undefined;
2538
- teamId?: string | null | undefined;
2539
2601
  customFields?: {
2540
2602
  title: string;
2541
2603
  id: string;
@@ -2543,6 +2605,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2543
2605
  isPrivate?: boolean | undefined;
2544
2606
  }[] | undefined;
2545
2607
  departmentId?: string | null | undefined;
2608
+ teamId?: string | null | undefined;
2609
+ locationId?: string | null | undefined;
2546
2610
  locationIds?: string[] | undefined;
2547
2611
  openedAt?: string | null | undefined;
2548
2612
  closedAt?: string | null | undefined;
@@ -2568,17 +2632,15 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2568
2632
  }>, "many">>;
2569
2633
  error: z.ZodString;
2570
2634
  }, "strip", z.ZodTypeAny, {
2571
- error: string;
2572
- success: boolean;
2573
2635
  operation: "get_job";
2636
+ success: boolean;
2637
+ error: string;
2574
2638
  job?: {
2575
2639
  title: string;
2576
2640
  id: string;
2577
2641
  status?: string | undefined;
2578
- locationId?: string | null | undefined;
2579
2642
  createdAt?: string | undefined;
2580
2643
  updatedAt?: string | undefined;
2581
- teamId?: string | null | undefined;
2582
2644
  customFields?: {
2583
2645
  title: string;
2584
2646
  id: string;
@@ -2586,6 +2648,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2586
2648
  isPrivate?: boolean | undefined;
2587
2649
  }[] | undefined;
2588
2650
  departmentId?: string | null | undefined;
2651
+ teamId?: string | null | undefined;
2652
+ locationId?: string | null | undefined;
2589
2653
  locationIds?: string[] | undefined;
2590
2654
  openedAt?: string | null | undefined;
2591
2655
  closedAt?: string | null | undefined;
@@ -2598,17 +2662,15 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2598
2662
  interviewPlanId?: string | undefined;
2599
2663
  }[] | undefined;
2600
2664
  }, {
2601
- error: string;
2602
- success: boolean;
2603
2665
  operation: "get_job";
2666
+ success: boolean;
2667
+ error: string;
2604
2668
  job?: {
2605
2669
  title: string;
2606
2670
  id: string;
2607
2671
  status?: string | undefined;
2608
- locationId?: string | null | undefined;
2609
2672
  createdAt?: string | undefined;
2610
2673
  updatedAt?: string | undefined;
2611
- teamId?: string | null | undefined;
2612
2674
  customFields?: {
2613
2675
  title: string;
2614
2676
  id: string;
@@ -2616,6 +2678,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2616
2678
  isPrivate?: boolean | undefined;
2617
2679
  }[] | undefined;
2618
2680
  departmentId?: string | null | undefined;
2681
+ teamId?: string | null | undefined;
2682
+ locationId?: string | null | undefined;
2619
2683
  locationIds?: string[] | undefined;
2620
2684
  openedAt?: string | null | undefined;
2621
2685
  closedAt?: string | null | undefined;
@@ -2681,14 +2745,14 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2681
2745
  firstName: z.ZodOptional<z.ZodString>;
2682
2746
  lastName: z.ZodOptional<z.ZodString>;
2683
2747
  }, "strip", z.ZodTypeAny, {
2684
- role: string;
2685
2748
  userId: string;
2749
+ role: string;
2686
2750
  email?: string | undefined;
2687
2751
  firstName?: string | undefined;
2688
2752
  lastName?: string | undefined;
2689
2753
  }, {
2690
- role: string;
2691
2754
  userId: string;
2755
+ role: string;
2692
2756
  email?: string | undefined;
2693
2757
  firstName?: string | undefined;
2694
2758
  lastName?: string | undefined;
@@ -2696,7 +2760,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2696
2760
  }, "strip", z.ZodTypeAny, {
2697
2761
  id: string;
2698
2762
  status?: string | undefined;
2699
- source?: unknown;
2700
2763
  createdAt?: string | undefined;
2701
2764
  updatedAt?: string | undefined;
2702
2765
  customFields?: {
@@ -2705,6 +2768,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2705
2768
  value?: unknown;
2706
2769
  isPrivate?: boolean | undefined;
2707
2770
  }[] | undefined;
2771
+ source?: unknown;
2708
2772
  candidateId?: string | null | undefined;
2709
2773
  jobId?: string | null | undefined;
2710
2774
  currentInterviewStage?: {
@@ -2716,8 +2780,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2716
2780
  } | null | undefined;
2717
2781
  archiveReason?: unknown;
2718
2782
  hiringTeam?: {
2719
- role: string;
2720
2783
  userId: string;
2784
+ role: string;
2721
2785
  email?: string | undefined;
2722
2786
  firstName?: string | undefined;
2723
2787
  lastName?: string | undefined;
@@ -2725,7 +2789,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2725
2789
  }, {
2726
2790
  id: string;
2727
2791
  status?: string | undefined;
2728
- source?: unknown;
2729
2792
  createdAt?: string | undefined;
2730
2793
  updatedAt?: string | undefined;
2731
2794
  customFields?: {
@@ -2734,6 +2797,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2734
2797
  value?: unknown;
2735
2798
  isPrivate?: boolean | undefined;
2736
2799
  }[] | undefined;
2800
+ source?: unknown;
2737
2801
  candidateId?: string | null | undefined;
2738
2802
  jobId?: string | null | undefined;
2739
2803
  currentInterviewStage?: {
@@ -2745,8 +2809,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2745
2809
  } | null | undefined;
2746
2810
  archiveReason?: unknown;
2747
2811
  hiringTeam?: {
2748
- role: string;
2749
2812
  userId: string;
2813
+ role: string;
2750
2814
  email?: string | undefined;
2751
2815
  firstName?: string | undefined;
2752
2816
  lastName?: string | undefined;
@@ -2756,15 +2820,14 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2756
2820
  more_data_available: z.ZodOptional<z.ZodBoolean>;
2757
2821
  error: z.ZodString;
2758
2822
  }, "strip", z.ZodTypeAny, {
2759
- error: string;
2760
- success: boolean;
2761
2823
  operation: "list_applications";
2824
+ success: boolean;
2825
+ error: string;
2762
2826
  next_cursor?: string | undefined;
2763
2827
  more_data_available?: boolean | undefined;
2764
2828
  applications?: {
2765
2829
  id: string;
2766
2830
  status?: string | undefined;
2767
- source?: unknown;
2768
2831
  createdAt?: string | undefined;
2769
2832
  updatedAt?: string | undefined;
2770
2833
  customFields?: {
@@ -2773,6 +2836,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2773
2836
  value?: unknown;
2774
2837
  isPrivate?: boolean | undefined;
2775
2838
  }[] | undefined;
2839
+ source?: unknown;
2776
2840
  candidateId?: string | null | undefined;
2777
2841
  jobId?: string | null | undefined;
2778
2842
  currentInterviewStage?: {
@@ -2784,23 +2848,22 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2784
2848
  } | null | undefined;
2785
2849
  archiveReason?: unknown;
2786
2850
  hiringTeam?: {
2787
- role: string;
2788
2851
  userId: string;
2852
+ role: string;
2789
2853
  email?: string | undefined;
2790
2854
  firstName?: string | undefined;
2791
2855
  lastName?: string | undefined;
2792
2856
  }[] | undefined;
2793
2857
  }[] | undefined;
2794
2858
  }, {
2795
- error: string;
2796
- success: boolean;
2797
2859
  operation: "list_applications";
2860
+ success: boolean;
2861
+ error: string;
2798
2862
  next_cursor?: string | undefined;
2799
2863
  more_data_available?: boolean | undefined;
2800
2864
  applications?: {
2801
2865
  id: string;
2802
2866
  status?: string | undefined;
2803
- source?: unknown;
2804
2867
  createdAt?: string | undefined;
2805
2868
  updatedAt?: string | undefined;
2806
2869
  customFields?: {
@@ -2809,6 +2872,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2809
2872
  value?: unknown;
2810
2873
  isPrivate?: boolean | undefined;
2811
2874
  }[] | undefined;
2875
+ source?: unknown;
2812
2876
  candidateId?: string | null | undefined;
2813
2877
  jobId?: string | null | undefined;
2814
2878
  currentInterviewStage?: {
@@ -2820,8 +2884,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2820
2884
  } | null | undefined;
2821
2885
  archiveReason?: unknown;
2822
2886
  hiringTeam?: {
2823
- role: string;
2824
2887
  userId: string;
2888
+ role: string;
2825
2889
  email?: string | undefined;
2826
2890
  firstName?: string | undefined;
2827
2891
  lastName?: string | undefined;
@@ -2881,14 +2945,14 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2881
2945
  firstName: z.ZodOptional<z.ZodString>;
2882
2946
  lastName: z.ZodOptional<z.ZodString>;
2883
2947
  }, "strip", z.ZodTypeAny, {
2884
- role: string;
2885
2948
  userId: string;
2949
+ role: string;
2886
2950
  email?: string | undefined;
2887
2951
  firstName?: string | undefined;
2888
2952
  lastName?: string | undefined;
2889
2953
  }, {
2890
- role: string;
2891
2954
  userId: string;
2955
+ role: string;
2892
2956
  email?: string | undefined;
2893
2957
  firstName?: string | undefined;
2894
2958
  lastName?: string | undefined;
@@ -2896,7 +2960,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2896
2960
  }, "strip", z.ZodTypeAny, {
2897
2961
  id: string;
2898
2962
  status?: string | undefined;
2899
- source?: unknown;
2900
2963
  createdAt?: string | undefined;
2901
2964
  updatedAt?: string | undefined;
2902
2965
  customFields?: {
@@ -2905,6 +2968,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2905
2968
  value?: unknown;
2906
2969
  isPrivate?: boolean | undefined;
2907
2970
  }[] | undefined;
2971
+ source?: unknown;
2908
2972
  candidateId?: string | null | undefined;
2909
2973
  jobId?: string | null | undefined;
2910
2974
  currentInterviewStage?: {
@@ -2916,8 +2980,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2916
2980
  } | null | undefined;
2917
2981
  archiveReason?: unknown;
2918
2982
  hiringTeam?: {
2919
- role: string;
2920
2983
  userId: string;
2984
+ role: string;
2921
2985
  email?: string | undefined;
2922
2986
  firstName?: string | undefined;
2923
2987
  lastName?: string | undefined;
@@ -2925,7 +2989,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2925
2989
  }, {
2926
2990
  id: string;
2927
2991
  status?: string | undefined;
2928
- source?: unknown;
2929
2992
  createdAt?: string | undefined;
2930
2993
  updatedAt?: string | undefined;
2931
2994
  customFields?: {
@@ -2934,6 +2997,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2934
2997
  value?: unknown;
2935
2998
  isPrivate?: boolean | undefined;
2936
2999
  }[] | undefined;
3000
+ source?: unknown;
2937
3001
  candidateId?: string | null | undefined;
2938
3002
  jobId?: string | null | undefined;
2939
3003
  currentInterviewStage?: {
@@ -2945,8 +3009,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2945
3009
  } | null | undefined;
2946
3010
  archiveReason?: unknown;
2947
3011
  hiringTeam?: {
2948
- role: string;
2949
3012
  userId: string;
3013
+ role: string;
2950
3014
  email?: string | undefined;
2951
3015
  firstName?: string | undefined;
2952
3016
  lastName?: string | undefined;
@@ -3000,8 +3064,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3000
3064
  isPrivate?: boolean | undefined;
3001
3065
  }>, "many">>;
3002
3066
  }, "strip", z.ZodTypeAny, {
3003
- name: string;
3004
3067
  id: string;
3068
+ name: string;
3005
3069
  createdAt?: string | undefined;
3006
3070
  updatedAt?: string | undefined;
3007
3071
  primaryEmailAddress?: {
@@ -3021,8 +3085,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3021
3085
  isPrivate?: boolean | undefined;
3022
3086
  }[] | undefined;
3023
3087
  }, {
3024
- name: string;
3025
3088
  id: string;
3089
+ name: string;
3026
3090
  createdAt?: string | undefined;
3027
3091
  updatedAt?: string | undefined;
3028
3092
  primaryEmailAddress?: {
@@ -3074,10 +3138,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3074
3138
  title: string;
3075
3139
  id: string;
3076
3140
  status?: string | undefined;
3077
- locationId?: string | null | undefined;
3078
3141
  createdAt?: string | undefined;
3079
3142
  updatedAt?: string | undefined;
3080
- teamId?: string | null | undefined;
3081
3143
  customFields?: {
3082
3144
  title: string;
3083
3145
  id: string;
@@ -3085,6 +3147,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3085
3147
  isPrivate?: boolean | undefined;
3086
3148
  }[] | undefined;
3087
3149
  departmentId?: string | null | undefined;
3150
+ teamId?: string | null | undefined;
3151
+ locationId?: string | null | undefined;
3088
3152
  locationIds?: string[] | undefined;
3089
3153
  openedAt?: string | null | undefined;
3090
3154
  closedAt?: string | null | undefined;
@@ -3092,10 +3156,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3092
3156
  title: string;
3093
3157
  id: string;
3094
3158
  status?: string | undefined;
3095
- locationId?: string | null | undefined;
3096
3159
  createdAt?: string | undefined;
3097
3160
  updatedAt?: string | undefined;
3098
- teamId?: string | null | undefined;
3099
3161
  customFields?: {
3100
3162
  title: string;
3101
3163
  id: string;
@@ -3103,18 +3165,20 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3103
3165
  isPrivate?: boolean | undefined;
3104
3166
  }[] | undefined;
3105
3167
  departmentId?: string | null | undefined;
3168
+ teamId?: string | null | undefined;
3169
+ locationId?: string | null | undefined;
3106
3170
  locationIds?: string[] | undefined;
3107
3171
  openedAt?: string | null | undefined;
3108
3172
  closedAt?: string | null | undefined;
3109
3173
  }>>;
3110
3174
  error: z.ZodString;
3111
3175
  }, "strip", z.ZodTypeAny, {
3112
- error: string;
3113
- success: boolean;
3114
3176
  operation: "get_application";
3177
+ success: boolean;
3178
+ error: string;
3115
3179
  candidate?: {
3116
- name: string;
3117
3180
  id: string;
3181
+ name: string;
3118
3182
  createdAt?: string | undefined;
3119
3183
  updatedAt?: string | undefined;
3120
3184
  primaryEmailAddress?: {
@@ -3138,10 +3202,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3138
3202
  title: string;
3139
3203
  id: string;
3140
3204
  status?: string | undefined;
3141
- locationId?: string | null | undefined;
3142
3205
  createdAt?: string | undefined;
3143
3206
  updatedAt?: string | undefined;
3144
- teamId?: string | null | undefined;
3145
3207
  customFields?: {
3146
3208
  title: string;
3147
3209
  id: string;
@@ -3149,6 +3211,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3149
3211
  isPrivate?: boolean | undefined;
3150
3212
  }[] | undefined;
3151
3213
  departmentId?: string | null | undefined;
3214
+ teamId?: string | null | undefined;
3215
+ locationId?: string | null | undefined;
3152
3216
  locationIds?: string[] | undefined;
3153
3217
  openedAt?: string | null | undefined;
3154
3218
  closedAt?: string | null | undefined;
@@ -3156,7 +3220,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3156
3220
  application?: {
3157
3221
  id: string;
3158
3222
  status?: string | undefined;
3159
- source?: unknown;
3160
3223
  createdAt?: string | undefined;
3161
3224
  updatedAt?: string | undefined;
3162
3225
  customFields?: {
@@ -3165,6 +3228,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3165
3228
  value?: unknown;
3166
3229
  isPrivate?: boolean | undefined;
3167
3230
  }[] | undefined;
3231
+ source?: unknown;
3168
3232
  candidateId?: string | null | undefined;
3169
3233
  jobId?: string | null | undefined;
3170
3234
  currentInterviewStage?: {
@@ -3176,20 +3240,20 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3176
3240
  } | null | undefined;
3177
3241
  archiveReason?: unknown;
3178
3242
  hiringTeam?: {
3179
- role: string;
3180
3243
  userId: string;
3244
+ role: string;
3181
3245
  email?: string | undefined;
3182
3246
  firstName?: string | undefined;
3183
3247
  lastName?: string | undefined;
3184
3248
  }[] | undefined;
3185
3249
  } | undefined;
3186
3250
  }, {
3187
- error: string;
3188
- success: boolean;
3189
3251
  operation: "get_application";
3252
+ success: boolean;
3253
+ error: string;
3190
3254
  candidate?: {
3191
- name: string;
3192
3255
  id: string;
3256
+ name: string;
3193
3257
  createdAt?: string | undefined;
3194
3258
  updatedAt?: string | undefined;
3195
3259
  primaryEmailAddress?: {
@@ -3213,10 +3277,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3213
3277
  title: string;
3214
3278
  id: string;
3215
3279
  status?: string | undefined;
3216
- locationId?: string | null | undefined;
3217
3280
  createdAt?: string | undefined;
3218
3281
  updatedAt?: string | undefined;
3219
- teamId?: string | null | undefined;
3220
3282
  customFields?: {
3221
3283
  title: string;
3222
3284
  id: string;
@@ -3224,6 +3286,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3224
3286
  isPrivate?: boolean | undefined;
3225
3287
  }[] | undefined;
3226
3288
  departmentId?: string | null | undefined;
3289
+ teamId?: string | null | undefined;
3290
+ locationId?: string | null | undefined;
3227
3291
  locationIds?: string[] | undefined;
3228
3292
  openedAt?: string | null | undefined;
3229
3293
  closedAt?: string | null | undefined;
@@ -3231,7 +3295,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3231
3295
  application?: {
3232
3296
  id: string;
3233
3297
  status?: string | undefined;
3234
- source?: unknown;
3235
3298
  createdAt?: string | undefined;
3236
3299
  updatedAt?: string | undefined;
3237
3300
  customFields?: {
@@ -3240,6 +3303,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3240
3303
  value?: unknown;
3241
3304
  isPrivate?: boolean | undefined;
3242
3305
  }[] | undefined;
3306
+ source?: unknown;
3243
3307
  candidateId?: string | null | undefined;
3244
3308
  jobId?: string | null | undefined;
3245
3309
  currentInterviewStage?: {
@@ -3251,8 +3315,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3251
3315
  } | null | undefined;
3252
3316
  archiveReason?: unknown;
3253
3317
  hiringTeam?: {
3254
- role: string;
3255
3318
  userId: string;
3319
+ role: string;
3256
3320
  email?: string | undefined;
3257
3321
  firstName?: string | undefined;
3258
3322
  lastName?: string | undefined;
@@ -3312,14 +3376,14 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3312
3376
  firstName: z.ZodOptional<z.ZodString>;
3313
3377
  lastName: z.ZodOptional<z.ZodString>;
3314
3378
  }, "strip", z.ZodTypeAny, {
3315
- role: string;
3316
3379
  userId: string;
3380
+ role: string;
3317
3381
  email?: string | undefined;
3318
3382
  firstName?: string | undefined;
3319
3383
  lastName?: string | undefined;
3320
3384
  }, {
3321
- role: string;
3322
3385
  userId: string;
3386
+ role: string;
3323
3387
  email?: string | undefined;
3324
3388
  firstName?: string | undefined;
3325
3389
  lastName?: string | undefined;
@@ -3327,7 +3391,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3327
3391
  }, "strip", z.ZodTypeAny, {
3328
3392
  id: string;
3329
3393
  status?: string | undefined;
3330
- source?: unknown;
3331
3394
  createdAt?: string | undefined;
3332
3395
  updatedAt?: string | undefined;
3333
3396
  customFields?: {
@@ -3336,6 +3399,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3336
3399
  value?: unknown;
3337
3400
  isPrivate?: boolean | undefined;
3338
3401
  }[] | undefined;
3402
+ source?: unknown;
3339
3403
  candidateId?: string | null | undefined;
3340
3404
  jobId?: string | null | undefined;
3341
3405
  currentInterviewStage?: {
@@ -3347,8 +3411,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3347
3411
  } | null | undefined;
3348
3412
  archiveReason?: unknown;
3349
3413
  hiringTeam?: {
3350
- role: string;
3351
3414
  userId: string;
3415
+ role: string;
3352
3416
  email?: string | undefined;
3353
3417
  firstName?: string | undefined;
3354
3418
  lastName?: string | undefined;
@@ -3356,7 +3420,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3356
3420
  }, {
3357
3421
  id: string;
3358
3422
  status?: string | undefined;
3359
- source?: unknown;
3360
3423
  createdAt?: string | undefined;
3361
3424
  updatedAt?: string | undefined;
3362
3425
  customFields?: {
@@ -3365,6 +3428,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3365
3428
  value?: unknown;
3366
3429
  isPrivate?: boolean | undefined;
3367
3430
  }[] | undefined;
3431
+ source?: unknown;
3368
3432
  candidateId?: string | null | undefined;
3369
3433
  jobId?: string | null | undefined;
3370
3434
  currentInterviewStage?: {
@@ -3376,8 +3440,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3376
3440
  } | null | undefined;
3377
3441
  archiveReason?: unknown;
3378
3442
  hiringTeam?: {
3379
- role: string;
3380
3443
  userId: string;
3444
+ role: string;
3381
3445
  email?: string | undefined;
3382
3446
  firstName?: string | undefined;
3383
3447
  lastName?: string | undefined;
@@ -3385,13 +3449,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3385
3449
  }>>;
3386
3450
  error: z.ZodString;
3387
3451
  }, "strip", z.ZodTypeAny, {
3388
- error: string;
3389
- success: boolean;
3390
3452
  operation: "create_application";
3453
+ success: boolean;
3454
+ error: string;
3391
3455
  application?: {
3392
3456
  id: string;
3393
3457
  status?: string | undefined;
3394
- source?: unknown;
3395
3458
  createdAt?: string | undefined;
3396
3459
  updatedAt?: string | undefined;
3397
3460
  customFields?: {
@@ -3400,6 +3463,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3400
3463
  value?: unknown;
3401
3464
  isPrivate?: boolean | undefined;
3402
3465
  }[] | undefined;
3466
+ source?: unknown;
3403
3467
  candidateId?: string | null | undefined;
3404
3468
  jobId?: string | null | undefined;
3405
3469
  currentInterviewStage?: {
@@ -3411,21 +3475,20 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3411
3475
  } | null | undefined;
3412
3476
  archiveReason?: unknown;
3413
3477
  hiringTeam?: {
3414
- role: string;
3415
3478
  userId: string;
3479
+ role: string;
3416
3480
  email?: string | undefined;
3417
3481
  firstName?: string | undefined;
3418
3482
  lastName?: string | undefined;
3419
3483
  }[] | undefined;
3420
3484
  } | undefined;
3421
3485
  }, {
3422
- error: string;
3423
- success: boolean;
3424
3486
  operation: "create_application";
3487
+ success: boolean;
3488
+ error: string;
3425
3489
  application?: {
3426
3490
  id: string;
3427
3491
  status?: string | undefined;
3428
- source?: unknown;
3429
3492
  createdAt?: string | undefined;
3430
3493
  updatedAt?: string | undefined;
3431
3494
  customFields?: {
@@ -3434,6 +3497,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3434
3497
  value?: unknown;
3435
3498
  isPrivate?: boolean | undefined;
3436
3499
  }[] | undefined;
3500
+ source?: unknown;
3437
3501
  candidateId?: string | null | undefined;
3438
3502
  jobId?: string | null | undefined;
3439
3503
  currentInterviewStage?: {
@@ -3445,8 +3509,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3445
3509
  } | null | undefined;
3446
3510
  archiveReason?: unknown;
3447
3511
  hiringTeam?: {
3448
- role: string;
3449
3512
  userId: string;
3513
+ role: string;
3450
3514
  email?: string | undefined;
3451
3515
  firstName?: string | undefined;
3452
3516
  lastName?: string | undefined;
@@ -3506,14 +3570,14 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3506
3570
  firstName: z.ZodOptional<z.ZodString>;
3507
3571
  lastName: z.ZodOptional<z.ZodString>;
3508
3572
  }, "strip", z.ZodTypeAny, {
3509
- role: string;
3510
3573
  userId: string;
3574
+ role: string;
3511
3575
  email?: string | undefined;
3512
3576
  firstName?: string | undefined;
3513
3577
  lastName?: string | undefined;
3514
3578
  }, {
3515
- role: string;
3516
3579
  userId: string;
3580
+ role: string;
3517
3581
  email?: string | undefined;
3518
3582
  firstName?: string | undefined;
3519
3583
  lastName?: string | undefined;
@@ -3521,7 +3585,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3521
3585
  }, "strip", z.ZodTypeAny, {
3522
3586
  id: string;
3523
3587
  status?: string | undefined;
3524
- source?: unknown;
3525
3588
  createdAt?: string | undefined;
3526
3589
  updatedAt?: string | undefined;
3527
3590
  customFields?: {
@@ -3530,6 +3593,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3530
3593
  value?: unknown;
3531
3594
  isPrivate?: boolean | undefined;
3532
3595
  }[] | undefined;
3596
+ source?: unknown;
3533
3597
  candidateId?: string | null | undefined;
3534
3598
  jobId?: string | null | undefined;
3535
3599
  currentInterviewStage?: {
@@ -3541,8 +3605,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3541
3605
  } | null | undefined;
3542
3606
  archiveReason?: unknown;
3543
3607
  hiringTeam?: {
3544
- role: string;
3545
3608
  userId: string;
3609
+ role: string;
3546
3610
  email?: string | undefined;
3547
3611
  firstName?: string | undefined;
3548
3612
  lastName?: string | undefined;
@@ -3550,7 +3614,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3550
3614
  }, {
3551
3615
  id: string;
3552
3616
  status?: string | undefined;
3553
- source?: unknown;
3554
3617
  createdAt?: string | undefined;
3555
3618
  updatedAt?: string | undefined;
3556
3619
  customFields?: {
@@ -3559,6 +3622,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3559
3622
  value?: unknown;
3560
3623
  isPrivate?: boolean | undefined;
3561
3624
  }[] | undefined;
3625
+ source?: unknown;
3562
3626
  candidateId?: string | null | undefined;
3563
3627
  jobId?: string | null | undefined;
3564
3628
  currentInterviewStage?: {
@@ -3570,8 +3634,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3570
3634
  } | null | undefined;
3571
3635
  archiveReason?: unknown;
3572
3636
  hiringTeam?: {
3573
- role: string;
3574
3637
  userId: string;
3638
+ role: string;
3575
3639
  email?: string | undefined;
3576
3640
  firstName?: string | undefined;
3577
3641
  lastName?: string | undefined;
@@ -3579,13 +3643,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3579
3643
  }>>;
3580
3644
  error: z.ZodString;
3581
3645
  }, "strip", z.ZodTypeAny, {
3582
- error: string;
3583
- success: boolean;
3584
3646
  operation: "change_application_stage";
3647
+ success: boolean;
3648
+ error: string;
3585
3649
  application?: {
3586
3650
  id: string;
3587
3651
  status?: string | undefined;
3588
- source?: unknown;
3589
3652
  createdAt?: string | undefined;
3590
3653
  updatedAt?: string | undefined;
3591
3654
  customFields?: {
@@ -3594,6 +3657,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3594
3657
  value?: unknown;
3595
3658
  isPrivate?: boolean | undefined;
3596
3659
  }[] | undefined;
3660
+ source?: unknown;
3597
3661
  candidateId?: string | null | undefined;
3598
3662
  jobId?: string | null | undefined;
3599
3663
  currentInterviewStage?: {
@@ -3605,21 +3669,20 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3605
3669
  } | null | undefined;
3606
3670
  archiveReason?: unknown;
3607
3671
  hiringTeam?: {
3608
- role: string;
3609
3672
  userId: string;
3673
+ role: string;
3610
3674
  email?: string | undefined;
3611
3675
  firstName?: string | undefined;
3612
3676
  lastName?: string | undefined;
3613
3677
  }[] | undefined;
3614
3678
  } | undefined;
3615
3679
  }, {
3616
- error: string;
3617
- success: boolean;
3618
3680
  operation: "change_application_stage";
3681
+ success: boolean;
3682
+ error: string;
3619
3683
  application?: {
3620
3684
  id: string;
3621
3685
  status?: string | undefined;
3622
- source?: unknown;
3623
3686
  createdAt?: string | undefined;
3624
3687
  updatedAt?: string | undefined;
3625
3688
  customFields?: {
@@ -3628,6 +3691,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3628
3691
  value?: unknown;
3629
3692
  isPrivate?: boolean | undefined;
3630
3693
  }[] | undefined;
3694
+ source?: unknown;
3631
3695
  candidateId?: string | null | undefined;
3632
3696
  jobId?: string | null | undefined;
3633
3697
  currentInterviewStage?: {
@@ -3639,8 +3703,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3639
3703
  } | null | undefined;
3640
3704
  archiveReason?: unknown;
3641
3705
  hiringTeam?: {
3642
- role: string;
3643
3706
  userId: string;
3707
+ role: string;
3644
3708
  email?: string | undefined;
3645
3709
  firstName?: string | undefined;
3646
3710
  lastName?: string | undefined;
@@ -3697,8 +3761,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3697
3761
  isPrivate?: boolean | undefined;
3698
3762
  }>, "many">>;
3699
3763
  }, "strip", z.ZodTypeAny, {
3700
- name: string;
3701
3764
  id: string;
3765
+ name: string;
3702
3766
  createdAt?: string | undefined;
3703
3767
  updatedAt?: string | undefined;
3704
3768
  primaryEmailAddress?: {
@@ -3718,8 +3782,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3718
3782
  isPrivate?: boolean | undefined;
3719
3783
  }[] | undefined;
3720
3784
  }, {
3721
- name: string;
3722
3785
  id: string;
3786
+ name: string;
3723
3787
  createdAt?: string | undefined;
3724
3788
  updatedAt?: string | undefined;
3725
3789
  primaryEmailAddress?: {
@@ -3741,12 +3805,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3741
3805
  }>>;
3742
3806
  error: z.ZodString;
3743
3807
  }, "strip", z.ZodTypeAny, {
3744
- error: string;
3745
- success: boolean;
3746
3808
  operation: "update_candidate";
3809
+ success: boolean;
3810
+ error: string;
3747
3811
  candidate?: {
3748
- name: string;
3749
3812
  id: string;
3813
+ name: string;
3750
3814
  createdAt?: string | undefined;
3751
3815
  updatedAt?: string | undefined;
3752
3816
  primaryEmailAddress?: {
@@ -3767,12 +3831,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3767
3831
  }[] | undefined;
3768
3832
  } | undefined;
3769
3833
  }, {
3770
- error: string;
3771
- success: boolean;
3772
3834
  operation: "update_candidate";
3835
+ success: boolean;
3836
+ error: string;
3773
3837
  candidate?: {
3774
- name: string;
3775
3838
  id: string;
3839
+ name: string;
3776
3840
  createdAt?: string | undefined;
3777
3841
  updatedAt?: string | undefined;
3778
3842
  primaryEmailAddress?: {
@@ -3816,56 +3880,56 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3816
3880
  lastName?: string | undefined;
3817
3881
  }>>>;
3818
3882
  }, "strip", z.ZodTypeAny, {
3819
- content: string;
3820
3883
  id: string;
3884
+ content: string;
3885
+ createdAt?: string | undefined;
3821
3886
  author?: {
3822
3887
  id: string;
3823
3888
  email?: string | undefined;
3824
3889
  firstName?: string | undefined;
3825
3890
  lastName?: string | undefined;
3826
3891
  } | null | undefined;
3827
- createdAt?: string | undefined;
3828
3892
  }, {
3829
- content: string;
3830
3893
  id: string;
3894
+ content: string;
3895
+ createdAt?: string | undefined;
3831
3896
  author?: {
3832
3897
  id: string;
3833
3898
  email?: string | undefined;
3834
3899
  firstName?: string | undefined;
3835
3900
  lastName?: string | undefined;
3836
3901
  } | null | undefined;
3837
- createdAt?: string | undefined;
3838
3902
  }>>;
3839
3903
  error: z.ZodString;
3840
3904
  }, "strip", z.ZodTypeAny, {
3841
- error: string;
3842
- success: boolean;
3843
3905
  operation: "create_note";
3906
+ success: boolean;
3907
+ error: string;
3844
3908
  note?: {
3845
- content: string;
3846
3909
  id: string;
3910
+ content: string;
3911
+ createdAt?: string | undefined;
3847
3912
  author?: {
3848
3913
  id: string;
3849
3914
  email?: string | undefined;
3850
3915
  firstName?: string | undefined;
3851
3916
  lastName?: string | undefined;
3852
3917
  } | null | undefined;
3853
- createdAt?: string | undefined;
3854
3918
  } | undefined;
3855
3919
  }, {
3856
- error: string;
3857
- success: boolean;
3858
3920
  operation: "create_note";
3921
+ success: boolean;
3922
+ error: string;
3859
3923
  note?: {
3860
- content: string;
3861
3924
  id: string;
3925
+ content: string;
3926
+ createdAt?: string | undefined;
3862
3927
  author?: {
3863
3928
  id: string;
3864
3929
  email?: string | undefined;
3865
3930
  firstName?: string | undefined;
3866
3931
  lastName?: string | undefined;
3867
3932
  } | null | undefined;
3868
- createdAt?: string | undefined;
3869
3933
  } | undefined;
3870
3934
  }>, z.ZodObject<{
3871
3935
  operation: z.ZodLiteral<"list_notes">;
@@ -3891,56 +3955,56 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3891
3955
  lastName?: string | undefined;
3892
3956
  }>>>;
3893
3957
  }, "strip", z.ZodTypeAny, {
3894
- content: string;
3895
3958
  id: string;
3959
+ content: string;
3960
+ createdAt?: string | undefined;
3896
3961
  author?: {
3897
3962
  id: string;
3898
3963
  email?: string | undefined;
3899
3964
  firstName?: string | undefined;
3900
3965
  lastName?: string | undefined;
3901
3966
  } | null | undefined;
3902
- createdAt?: string | undefined;
3903
3967
  }, {
3904
- content: string;
3905
3968
  id: string;
3969
+ content: string;
3970
+ createdAt?: string | undefined;
3906
3971
  author?: {
3907
3972
  id: string;
3908
3973
  email?: string | undefined;
3909
3974
  firstName?: string | undefined;
3910
3975
  lastName?: string | undefined;
3911
3976
  } | null | undefined;
3912
- createdAt?: string | undefined;
3913
3977
  }>, "many">>;
3914
3978
  error: z.ZodString;
3915
3979
  }, "strip", z.ZodTypeAny, {
3916
- error: string;
3917
- success: boolean;
3918
3980
  operation: "list_notes";
3981
+ success: boolean;
3982
+ error: string;
3919
3983
  notes?: {
3920
- content: string;
3921
3984
  id: string;
3985
+ content: string;
3986
+ createdAt?: string | undefined;
3922
3987
  author?: {
3923
3988
  id: string;
3924
3989
  email?: string | undefined;
3925
3990
  firstName?: string | undefined;
3926
3991
  lastName?: string | undefined;
3927
3992
  } | null | undefined;
3928
- createdAt?: string | undefined;
3929
3993
  }[] | undefined;
3930
3994
  }, {
3931
- error: string;
3932
- success: boolean;
3933
3995
  operation: "list_notes";
3996
+ success: boolean;
3997
+ error: string;
3934
3998
  notes?: {
3935
- content: string;
3936
3999
  id: string;
4000
+ content: string;
4001
+ createdAt?: string | undefined;
3937
4002
  author?: {
3938
4003
  id: string;
3939
4004
  email?: string | undefined;
3940
4005
  firstName?: string | undefined;
3941
4006
  lastName?: string | undefined;
3942
4007
  } | null | undefined;
3943
- createdAt?: string | undefined;
3944
4008
  }[] | undefined;
3945
4009
  }>, z.ZodObject<{
3946
4010
  operation: z.ZodLiteral<"list_sources">;
@@ -3960,18 +4024,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3960
4024
  }>, "many">>;
3961
4025
  error: z.ZodString;
3962
4026
  }, "strip", z.ZodTypeAny, {
3963
- error: string;
3964
- success: boolean;
3965
4027
  operation: "list_sources";
4028
+ success: boolean;
4029
+ error: string;
3966
4030
  sources?: {
3967
4031
  title: string;
3968
4032
  id: string;
3969
4033
  isArchived?: boolean | undefined;
3970
4034
  }[] | undefined;
3971
4035
  }, {
3972
- error: string;
3973
- success: boolean;
3974
4036
  operation: "list_sources";
4037
+ success: boolean;
4038
+ error: string;
3975
4039
  sources?: {
3976
4040
  title: string;
3977
4041
  id: string;
@@ -4001,9 +4065,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4001
4065
  }>, "many">>;
4002
4066
  error: z.ZodString;
4003
4067
  }, "strip", z.ZodTypeAny, {
4004
- error: string;
4005
- success: boolean;
4006
4068
  operation: "list_interview_stages";
4069
+ success: boolean;
4070
+ error: string;
4007
4071
  interview_stages?: {
4008
4072
  title: string;
4009
4073
  id: string;
@@ -4012,9 +4076,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4012
4076
  interviewPlanId?: string | undefined;
4013
4077
  }[] | undefined;
4014
4078
  }, {
4015
- error: string;
4016
- success: boolean;
4017
4079
  operation: "list_interview_stages";
4080
+ success: boolean;
4081
+ error: string;
4018
4082
  interview_stages?: {
4019
4083
  title: string;
4020
4084
  id: string;
@@ -4031,31 +4095,31 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4031
4095
  url: z.ZodString;
4032
4096
  }, "strip", z.ZodTypeAny, {
4033
4097
  url: string;
4034
- name?: string | undefined;
4035
4098
  id?: string | undefined;
4099
+ name?: string | undefined;
4036
4100
  }, {
4037
4101
  url: string;
4038
- name?: string | undefined;
4039
4102
  id?: string | undefined;
4103
+ name?: string | undefined;
4040
4104
  }>>;
4041
4105
  error: z.ZodString;
4042
4106
  }, "strip", z.ZodTypeAny, {
4043
- error: string;
4044
- success: boolean;
4045
4107
  operation: "get_file_url";
4108
+ success: boolean;
4109
+ error: string;
4046
4110
  file?: {
4047
4111
  url: string;
4048
- name?: string | undefined;
4049
4112
  id?: string | undefined;
4113
+ name?: string | undefined;
4050
4114
  } | undefined;
4051
4115
  }, {
4052
- error: string;
4053
- success: boolean;
4054
4116
  operation: "get_file_url";
4117
+ success: boolean;
4118
+ error: string;
4055
4119
  file?: {
4056
4120
  url: string;
4057
- name?: string | undefined;
4058
4121
  id?: string | undefined;
4122
+ name?: string | undefined;
4059
4123
  } | undefined;
4060
4124
  }>, z.ZodObject<{
4061
4125
  operation: z.ZodLiteral<"list_projects">;
@@ -4075,18 +4139,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4075
4139
  }>, "many">>;
4076
4140
  error: z.ZodString;
4077
4141
  }, "strip", z.ZodTypeAny, {
4078
- error: string;
4079
- success: boolean;
4080
4142
  operation: "list_projects";
4143
+ success: boolean;
4144
+ error: string;
4081
4145
  projects?: {
4082
4146
  title: string;
4083
4147
  id: string;
4084
4148
  isArchived?: boolean | undefined;
4085
4149
  }[] | undefined;
4086
4150
  }, {
4087
- error: string;
4088
- success: boolean;
4089
4151
  operation: "list_projects";
4152
+ success: boolean;
4153
+ error: string;
4090
4154
  projects?: {
4091
4155
  title: string;
4092
4156
  id: string;
@@ -4110,18 +4174,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4110
4174
  }>>;
4111
4175
  error: z.ZodString;
4112
4176
  }, "strip", z.ZodTypeAny, {
4113
- error: string;
4114
- success: boolean;
4115
4177
  operation: "get_project";
4178
+ success: boolean;
4179
+ error: string;
4116
4180
  project?: {
4117
4181
  title: string;
4118
4182
  id: string;
4119
4183
  isArchived?: boolean | undefined;
4120
4184
  } | undefined;
4121
4185
  }, {
4122
- error: string;
4123
- success: boolean;
4124
4186
  operation: "get_project";
4187
+ success: boolean;
4188
+ error: string;
4125
4189
  project?: {
4126
4190
  title: string;
4127
4191
  id: string;
@@ -4145,18 +4209,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4145
4209
  }>, "many">>;
4146
4210
  error: z.ZodString;
4147
4211
  }, "strip", z.ZodTypeAny, {
4148
- error: string;
4149
- success: boolean;
4150
4212
  operation: "list_candidate_projects";
4213
+ success: boolean;
4214
+ error: string;
4151
4215
  projects?: {
4152
4216
  title: string;
4153
4217
  id: string;
4154
4218
  isArchived?: boolean | undefined;
4155
4219
  }[] | undefined;
4156
4220
  }, {
4157
- error: string;
4158
- success: boolean;
4159
4221
  operation: "list_candidate_projects";
4222
+ success: boolean;
4223
+ error: string;
4160
4224
  projects?: {
4161
4225
  title: string;
4162
4226
  id: string;
@@ -4167,25 +4231,145 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4167
4231
  success: z.ZodBoolean;
4168
4232
  error: z.ZodString;
4169
4233
  }, "strip", z.ZodTypeAny, {
4170
- error: string;
4171
- success: boolean;
4172
4234
  operation: "add_candidate_to_project";
4173
- }, {
4174
- error: string;
4175
4235
  success: boolean;
4236
+ error: string;
4237
+ }, {
4176
4238
  operation: "add_candidate_to_project";
4239
+ success: boolean;
4240
+ error: string;
4177
4241
  }>, z.ZodObject<{
4178
4242
  operation: z.ZodLiteral<"remove_candidate_from_project">;
4179
4243
  success: z.ZodBoolean;
4180
4244
  error: z.ZodString;
4181
4245
  }, "strip", z.ZodTypeAny, {
4182
- error: string;
4246
+ operation: "remove_candidate_from_project";
4183
4247
  success: boolean;
4248
+ error: string;
4249
+ }, {
4184
4250
  operation: "remove_candidate_from_project";
4251
+ success: boolean;
4252
+ error: string;
4253
+ }>, z.ZodObject<{
4254
+ operation: z.ZodLiteral<"list_project_candidate_ids">;
4255
+ success: z.ZodBoolean;
4256
+ candidate_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4257
+ next_cursor: z.ZodOptional<z.ZodString>;
4258
+ more_data_available: z.ZodOptional<z.ZodBoolean>;
4259
+ error: z.ZodString;
4260
+ }, "strip", z.ZodTypeAny, {
4261
+ operation: "list_project_candidate_ids";
4262
+ success: boolean;
4263
+ error: string;
4264
+ next_cursor?: string | undefined;
4265
+ more_data_available?: boolean | undefined;
4266
+ candidate_ids?: string[] | undefined;
4185
4267
  }, {
4268
+ operation: "list_project_candidate_ids";
4269
+ success: boolean;
4270
+ error: string;
4271
+ next_cursor?: string | undefined;
4272
+ more_data_available?: boolean | undefined;
4273
+ candidate_ids?: string[] | undefined;
4274
+ }>, z.ZodObject<{
4275
+ operation: z.ZodLiteral<"get_all_candidates_with_projects">;
4276
+ success: z.ZodBoolean;
4277
+ candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
4278
+ id: z.ZodString;
4279
+ name: z.ZodString;
4280
+ email: z.ZodNullable<z.ZodString>;
4281
+ phone: z.ZodNullable<z.ZodString>;
4282
+ linkedinUrl: z.ZodNullable<z.ZodString>;
4283
+ position: z.ZodNullable<z.ZodString>;
4284
+ company: z.ZodNullable<z.ZodString>;
4285
+ tags: z.ZodArray<z.ZodString, "many">;
4286
+ projectIds: z.ZodArray<z.ZodString, "many">;
4287
+ projectNames: z.ZodArray<z.ZodString, "many">;
4288
+ }, "strip", z.ZodTypeAny, {
4289
+ id: string;
4290
+ name: string;
4291
+ tags: string[];
4292
+ position: string | null;
4293
+ company: string | null;
4294
+ email: string | null;
4295
+ phone: string | null;
4296
+ linkedinUrl: string | null;
4297
+ projectIds: string[];
4298
+ projectNames: string[];
4299
+ }, {
4300
+ id: string;
4301
+ name: string;
4302
+ tags: string[];
4303
+ position: string | null;
4304
+ company: string | null;
4305
+ email: string | null;
4306
+ phone: string | null;
4307
+ linkedinUrl: string | null;
4308
+ projectIds: string[];
4309
+ projectNames: string[];
4310
+ }>, "many">>;
4311
+ projects: z.ZodOptional<z.ZodArray<z.ZodObject<{
4312
+ id: z.ZodString;
4313
+ title: z.ZodString;
4314
+ isArchived: z.ZodOptional<z.ZodBoolean>;
4315
+ }, "strip", z.ZodTypeAny, {
4316
+ title: string;
4317
+ id: string;
4318
+ isArchived?: boolean | undefined;
4319
+ }, {
4320
+ title: string;
4321
+ id: string;
4322
+ isArchived?: boolean | undefined;
4323
+ }>, "many">>;
4324
+ total_candidates: z.ZodOptional<z.ZodNumber>;
4325
+ total_enriched: z.ZodOptional<z.ZodNumber>;
4326
+ error: z.ZodString;
4327
+ }, "strip", z.ZodTypeAny, {
4328
+ operation: "get_all_candidates_with_projects";
4329
+ success: boolean;
4186
4330
  error: string;
4331
+ candidates?: {
4332
+ id: string;
4333
+ name: string;
4334
+ tags: string[];
4335
+ position: string | null;
4336
+ company: string | null;
4337
+ email: string | null;
4338
+ phone: string | null;
4339
+ linkedinUrl: string | null;
4340
+ projectIds: string[];
4341
+ projectNames: string[];
4342
+ }[] | undefined;
4343
+ projects?: {
4344
+ title: string;
4345
+ id: string;
4346
+ isArchived?: boolean | undefined;
4347
+ }[] | undefined;
4348
+ total_candidates?: number | undefined;
4349
+ total_enriched?: number | undefined;
4350
+ }, {
4351
+ operation: "get_all_candidates_with_projects";
4187
4352
  success: boolean;
4188
- operation: "remove_candidate_from_project";
4353
+ error: string;
4354
+ candidates?: {
4355
+ id: string;
4356
+ name: string;
4357
+ tags: string[];
4358
+ position: string | null;
4359
+ company: string | null;
4360
+ email: string | null;
4361
+ phone: string | null;
4362
+ linkedinUrl: string | null;
4363
+ projectIds: string[];
4364
+ projectNames: string[];
4365
+ }[] | undefined;
4366
+ projects?: {
4367
+ title: string;
4368
+ id: string;
4369
+ isArchived?: boolean | undefined;
4370
+ }[] | undefined;
4371
+ total_candidates?: number | undefined;
4372
+ total_enriched?: number | undefined;
4189
4373
  }>]>;
4190
4374
  export type AshbyParamsInput = z.input<typeof AshbyParamsSchema>;
4191
4375
  export type AshbyParams = z.output<typeof AshbyParamsSchema>;
@@ -4281,5 +4465,12 @@ export type AshbyAddCandidateToProjectParams = Extract<AshbyParams, {
4281
4465
  export type AshbyRemoveCandidateFromProjectParams = Extract<AshbyParams, {
4282
4466
  operation: 'remove_candidate_from_project';
4283
4467
  }>;
4468
+ export type AshbyListProjectCandidateIdsParams = Extract<AshbyParams, {
4469
+ operation: 'list_project_candidate_ids';
4470
+ }>;
4284
4471
  export type AshbyProject = z.output<typeof AshbyProjectSchema>;
4472
+ export type AshbyEnrichedCandidate = z.output<typeof AshbyEnrichedCandidateSchema>;
4473
+ export type AshbyGetAllCandidatesWithProjectsParams = Extract<AshbyParams, {
4474
+ operation: 'get_all_candidates_with_projects';
4475
+ }>;
4285
4476
  //# sourceMappingURL=ashby.schema.d.ts.map