@bubblelab/bubble-core 0.1.250 → 0.1.252

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 (71) hide show
  1. package/dist/bubble-bundle.d.ts +130 -89
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +3 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
  6. package/dist/bubbles/service-bubble/ai-agent.d.ts +4 -4
  7. package/dist/bubbles/service-bubble/apify/apify.d.ts +4 -4
  8. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +56 -56
  9. package/dist/bubbles/service-bubble/ashby/ashby.d.ts.map +1 -1
  10. package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
  11. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +385 -385
  12. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts.map +1 -1
  13. package/dist/bubbles/service-bubble/ashby/ashby.schema.js +6 -2
  14. package/dist/bubbles/service-bubble/ashby/ashby.schema.js.map +1 -1
  15. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +6 -6
  16. package/dist/bubbles/service-bubble/attio/attio.d.ts +2 -2
  17. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +2 -2
  18. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +78 -78
  19. package/dist/bubbles/service-bubble/firecrawl.d.ts +176 -176
  20. package/dist/bubbles/service-bubble/followupboss.d.ts +8 -8
  21. package/dist/bubbles/service-bubble/github.d.ts +60 -60
  22. package/dist/bubbles/service-bubble/gmail.d.ts +64 -64
  23. package/dist/bubbles/service-bubble/google-calendar.d.ts +6 -6
  24. package/dist/bubbles/service-bubble/google-drive.d.ts +8 -8
  25. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +2 -2
  26. package/dist/bubbles/service-bubble/jira/jira.d.ts +57 -38
  27. package/dist/bubbles/service-bubble/jira/jira.d.ts.map +1 -1
  28. package/dist/bubbles/service-bubble/jira/jira.js +77 -13
  29. package/dist/bubbles/service-bubble/jira/jira.js.map +1 -1
  30. package/dist/bubbles/service-bubble/notion/notion.d.ts +376 -376
  31. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  32. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +2 -2
  33. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +4 -4
  34. package/dist/bubbles/service-bubble/slab/slab.d.ts +16 -16
  35. package/dist/bubbles/service-bubble/slack/slack.d.ts +102 -102
  36. package/dist/bubbles/service-bubble/snowflake/index.d.ts +4 -0
  37. package/dist/bubbles/service-bubble/snowflake/index.d.ts.map +1 -0
  38. package/dist/bubbles/service-bubble/snowflake/index.js +4 -0
  39. package/dist/bubbles/service-bubble/snowflake/index.js.map +1 -0
  40. package/dist/bubbles/service-bubble/snowflake/snowflake.d.ts +354 -0
  41. package/dist/bubbles/service-bubble/snowflake/snowflake.d.ts.map +1 -0
  42. package/dist/bubbles/service-bubble/snowflake/snowflake.js +285 -0
  43. package/dist/bubbles/service-bubble/snowflake/snowflake.js.map +1 -0
  44. package/dist/bubbles/service-bubble/snowflake/snowflake.schema.d.ts +321 -0
  45. package/dist/bubbles/service-bubble/snowflake/snowflake.schema.d.ts.map +1 -0
  46. package/dist/bubbles/service-bubble/snowflake/snowflake.schema.js +198 -0
  47. package/dist/bubbles/service-bubble/snowflake/snowflake.schema.js.map +1 -0
  48. package/dist/bubbles/service-bubble/snowflake/snowflake.utils.d.ts +44 -0
  49. package/dist/bubbles/service-bubble/snowflake/snowflake.utils.d.ts.map +1 -0
  50. package/dist/bubbles/service-bubble/snowflake/snowflake.utils.js +97 -0
  51. package/dist/bubbles/service-bubble/snowflake/snowflake.utils.js.map +1 -0
  52. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +14 -14
  53. package/dist/bubbles/service-bubble/xero/xero.d.ts +2 -2
  54. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +2 -2
  55. package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts +8 -8
  56. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  57. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +10 -10
  58. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +12 -12
  59. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +34 -34
  60. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
  61. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  62. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +4 -4
  63. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
  64. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
  65. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +10 -10
  66. package/dist/bubbles.json +516 -2
  67. package/dist/index.d.ts +3 -1
  68. package/dist/index.d.ts.map +1 -1
  69. package/dist/index.js +1 -0
  70. package/dist/index.js.map +1 -1
  71. 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
- id: string;
106
105
  name: string;
106
+ id: 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
- id: string;
127
126
  name: string;
127
+ id: 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
- id: string;
185
184
  name: string;
185
+ id: string;
186
186
  handle: string;
187
187
  }, {
188
- id: string;
189
188
  name: string;
189
+ id: 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
- isArchived: boolean;
202
201
  label: string;
202
+ isArchived: boolean;
203
203
  }, {
204
204
  value: string;
205
- isArchived: boolean;
206
205
  label: string;
206
+ isArchived: boolean;
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
- isArchived: boolean;
225
224
  label: string;
225
+ isArchived: boolean;
226
226
  }, {
227
227
  value: string;
228
- isArchived: boolean;
229
228
  label: string;
229
+ isArchived: boolean;
230
230
  }>, "many">>;
231
231
  }, "strip", z.ZodTypeAny, {
232
232
  title: string;
233
233
  id: string;
234
+ fieldType: string;
234
235
  isPrivate: boolean;
235
236
  isArchived: boolean;
236
237
  objectType: string;
237
- fieldType: string;
238
238
  selectableValues?: {
239
239
  value: string;
240
- isArchived: boolean;
241
240
  label: string;
241
+ isArchived: boolean;
242
242
  }[] | undefined;
243
243
  }, {
244
244
  title: string;
245
245
  id: string;
246
+ fieldType: string;
246
247
  isPrivate: boolean;
247
248
  isArchived: boolean;
248
249
  objectType: string;
249
- fieldType: string;
250
250
  selectableValues?: {
251
251
  value: string;
252
- isArchived: boolean;
253
252
  label: string;
253
+ isArchived: boolean;
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
- id: string;
349
348
  name: string;
349
+ id: string;
350
350
  handle: string;
351
351
  }, {
352
- id: string;
353
352
  name: string;
353
+ id: 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
- id: string;
362
361
  name: string;
362
+ id: string;
363
363
  handle: string;
364
364
  }, {
365
- id: string;
366
365
  name: string;
366
+ id: string;
367
367
  handle: string;
368
368
  }>, "many">>;
369
369
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -386,8 +386,16 @@ 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
- id: string;
390
389
  name: string;
390
+ 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;
391
399
  createdAt?: string | undefined;
392
400
  updatedAt?: string | undefined;
393
401
  primaryEmailAddress?: {
@@ -420,31 +428,31 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
420
428
  type: string;
421
429
  url: string;
422
430
  }[] | undefined;
423
- tags?: {
424
- title: string;
425
- id: string;
426
- isArchived?: boolean | undefined;
427
- }[] | undefined;
428
- position?: string | null | undefined;
429
431
  company?: string | null | undefined;
430
432
  school?: string | null | undefined;
431
433
  applicationIds?: string[] | undefined;
432
434
  resumeFileHandle?: {
433
- id: string;
434
435
  name: string;
436
+ id: string;
435
437
  handle: string;
436
438
  } | null | undefined;
437
439
  fileHandles?: {
438
- id: string;
439
440
  name: string;
441
+ id: string;
440
442
  handle: string;
441
443
  }[] | undefined;
442
- profileUrl?: string | null | undefined;
443
- source?: unknown;
444
444
  creditedToUser?: unknown;
445
445
  }, {
446
- id: string;
447
446
  name: string;
447
+ 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;
448
456
  createdAt?: string | undefined;
449
457
  updatedAt?: string | undefined;
450
458
  primaryEmailAddress?: {
@@ -477,27 +485,19 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
477
485
  type: string;
478
486
  url: string;
479
487
  }[] | undefined;
480
- tags?: {
481
- title: string;
482
- id: string;
483
- isArchived?: boolean | undefined;
484
- }[] | undefined;
485
- position?: string | null | undefined;
486
488
  company?: string | null | undefined;
487
489
  school?: string | null | undefined;
488
490
  applicationIds?: string[] | undefined;
489
491
  resumeFileHandle?: {
490
- id: string;
491
492
  name: string;
493
+ id: string;
492
494
  handle: string;
493
495
  } | null | undefined;
494
496
  fileHandles?: {
495
- id: string;
496
497
  name: string;
498
+ id: string;
497
499
  handle: string;
498
500
  }[] | undefined;
499
- profileUrl?: string | null | undefined;
500
- source?: unknown;
501
501
  creditedToUser?: unknown;
502
502
  }>;
503
503
  /**
@@ -515,25 +515,25 @@ export declare const AshbyEnrichedCandidateSchema: z.ZodObject<{
515
515
  projectIds: z.ZodArray<z.ZodString, "many">;
516
516
  projectNames: z.ZodArray<z.ZodString, "many">;
517
517
  }, "strip", z.ZodTypeAny, {
518
- id: string;
519
518
  name: string;
520
- tags: string[];
521
- position: string | null;
522
- company: string | null;
523
519
  email: string | null;
520
+ id: string;
521
+ tags: string[];
524
522
  phone: string | null;
525
523
  linkedinUrl: string | null;
524
+ position: string | null;
525
+ company: string | null;
526
526
  projectIds: string[];
527
527
  projectNames: string[];
528
528
  }, {
529
- id: string;
530
529
  name: string;
531
- tags: string[];
532
- position: string | null;
533
- company: string | null;
534
530
  email: string | null;
531
+ id: string;
532
+ tags: string[];
535
533
  phone: string | null;
536
534
  linkedinUrl: string | null;
535
+ position: string | null;
536
+ company: string | null;
537
537
  projectIds: string[];
538
538
  projectNames: string[];
539
539
  }>;
@@ -572,8 +572,10 @@ export declare const AshbyJobSchema: z.ZodObject<{
572
572
  title: string;
573
573
  id: string;
574
574
  status?: string | undefined;
575
+ locationId?: string | null | undefined;
575
576
  createdAt?: string | undefined;
576
577
  updatedAt?: string | undefined;
578
+ teamId?: string | null | undefined;
577
579
  customFields?: {
578
580
  title: string;
579
581
  id: string;
@@ -581,8 +583,6 @@ export declare const AshbyJobSchema: z.ZodObject<{
581
583
  isPrivate?: boolean | undefined;
582
584
  }[] | undefined;
583
585
  departmentId?: string | null | undefined;
584
- teamId?: string | null | undefined;
585
- locationId?: string | null | undefined;
586
586
  locationIds?: string[] | undefined;
587
587
  openedAt?: string | null | undefined;
588
588
  closedAt?: string | null | undefined;
@@ -590,8 +590,10 @@ export declare const AshbyJobSchema: z.ZodObject<{
590
590
  title: string;
591
591
  id: string;
592
592
  status?: string | undefined;
593
+ locationId?: string | null | undefined;
593
594
  createdAt?: string | undefined;
594
595
  updatedAt?: string | undefined;
596
+ teamId?: string | null | undefined;
595
597
  customFields?: {
596
598
  title: string;
597
599
  id: string;
@@ -599,8 +601,6 @@ export declare const AshbyJobSchema: z.ZodObject<{
599
601
  isPrivate?: boolean | undefined;
600
602
  }[] | undefined;
601
603
  departmentId?: string | null | undefined;
602
- teamId?: string | null | undefined;
603
- locationId?: string | null | undefined;
604
604
  locationIds?: string[] | undefined;
605
605
  openedAt?: string | null | undefined;
606
606
  closedAt?: string | null | undefined;
@@ -681,14 +681,14 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
681
681
  firstName: z.ZodOptional<z.ZodString>;
682
682
  lastName: z.ZodOptional<z.ZodString>;
683
683
  }, "strip", z.ZodTypeAny, {
684
- userId: string;
685
684
  role: string;
685
+ userId: string;
686
686
  email?: string | undefined;
687
687
  firstName?: string | undefined;
688
688
  lastName?: string | undefined;
689
689
  }, {
690
- userId: string;
691
690
  role: string;
691
+ userId: string;
692
692
  email?: string | undefined;
693
693
  firstName?: string | undefined;
694
694
  lastName?: string | undefined;
@@ -696,6 +696,7 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
696
696
  }, "strip", z.ZodTypeAny, {
697
697
  id: string;
698
698
  status?: string | undefined;
699
+ source?: unknown;
699
700
  createdAt?: string | undefined;
700
701
  updatedAt?: string | undefined;
701
702
  customFields?: {
@@ -704,7 +705,6 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
704
705
  value?: unknown;
705
706
  isPrivate?: boolean | undefined;
706
707
  }[] | undefined;
707
- source?: unknown;
708
708
  candidateId?: string | null | undefined;
709
709
  jobId?: string | null | undefined;
710
710
  currentInterviewStage?: {
@@ -716,8 +716,8 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
716
716
  } | null | undefined;
717
717
  archiveReason?: unknown;
718
718
  hiringTeam?: {
719
- userId: string;
720
719
  role: string;
720
+ userId: string;
721
721
  email?: string | undefined;
722
722
  firstName?: string | undefined;
723
723
  lastName?: string | undefined;
@@ -725,6 +725,7 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
725
725
  }, {
726
726
  id: string;
727
727
  status?: string | undefined;
728
+ source?: unknown;
728
729
  createdAt?: string | undefined;
729
730
  updatedAt?: string | undefined;
730
731
  customFields?: {
@@ -733,7 +734,6 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
733
734
  value?: unknown;
734
735
  isPrivate?: boolean | undefined;
735
736
  }[] | undefined;
736
- source?: unknown;
737
737
  candidateId?: string | null | undefined;
738
738
  jobId?: string | null | undefined;
739
739
  currentInterviewStage?: {
@@ -745,8 +745,8 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
745
745
  } | null | undefined;
746
746
  archiveReason?: unknown;
747
747
  hiringTeam?: {
748
- userId: string;
749
748
  role: string;
749
+ userId: string;
750
750
  email?: string | undefined;
751
751
  firstName?: string | undefined;
752
752
  lastName?: string | undefined;
@@ -776,25 +776,25 @@ export declare const AshbyNoteSchema: z.ZodObject<{
776
776
  lastName?: string | undefined;
777
777
  }>>>;
778
778
  }, "strip", z.ZodTypeAny, {
779
- id: string;
780
779
  content: string;
781
- createdAt?: string | undefined;
780
+ id: string;
782
781
  author?: {
783
782
  id: string;
784
783
  email?: string | undefined;
785
784
  firstName?: string | undefined;
786
785
  lastName?: string | undefined;
787
786
  } | null | undefined;
787
+ createdAt?: string | undefined;
788
788
  }, {
789
- id: string;
790
789
  content: string;
791
- createdAt?: string | undefined;
790
+ id: string;
792
791
  author?: {
793
792
  id: string;
794
793
  email?: string | undefined;
795
794
  firstName?: string | undefined;
796
795
  lastName?: string | undefined;
797
796
  } | null | undefined;
797
+ createdAt?: string | undefined;
798
798
  }>;
799
799
  /**
800
800
  * Source object from Ashby API
@@ -837,12 +837,12 @@ export declare const AshbyFileInfoSchema: z.ZodObject<{
837
837
  url: z.ZodString;
838
838
  }, "strip", z.ZodTypeAny, {
839
839
  url: string;
840
- id?: string | undefined;
841
840
  name?: string | undefined;
841
+ id?: string | undefined;
842
842
  }, {
843
843
  url: string;
844
- id?: string | undefined;
845
844
  name?: string | undefined;
845
+ id?: string | undefined;
846
846
  }>;
847
847
  export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
848
848
  operation: z.ZodLiteral<"list_candidates">;
@@ -856,18 +856,18 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
856
856
  operation: "list_candidates";
857
857
  limit: number;
858
858
  status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
859
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
859
860
  cursor?: string | undefined;
860
861
  job_id?: string | undefined;
861
862
  created_after?: number | undefined;
862
- credentials?: Partial<Record<CredentialType, string>> | undefined;
863
863
  }, {
864
864
  operation: "list_candidates";
865
865
  status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
866
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
866
867
  limit?: number | undefined;
867
868
  cursor?: string | undefined;
868
869
  job_id?: string | undefined;
869
870
  created_after?: number | undefined;
870
- credentials?: Partial<Record<CredentialType, string>> | undefined;
871
871
  }>, z.ZodObject<{
872
872
  operation: z.ZodLiteral<"get_candidate">;
873
873
  candidate_id: z.ZodString;
@@ -907,32 +907,32 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
907
907
  operation: "create_candidate";
908
908
  allow_duplicate_linkedin: boolean;
909
909
  credentials?: Partial<Record<CredentialType, string>> | undefined;
910
+ website?: string | undefined;
910
911
  emails?: {
911
912
  type: "Personal" | "Work" | "Other";
912
913
  email: string;
913
914
  }[] | undefined;
915
+ tag?: string | undefined;
914
916
  phone_number?: string | undefined;
915
917
  linkedin_url?: string | undefined;
916
918
  github_url?: string | undefined;
917
- website?: string | undefined;
918
919
  source_id?: string | undefined;
919
920
  credited_to_user_id?: string | undefined;
920
- tag?: string | undefined;
921
921
  }, {
922
922
  name: string;
923
923
  operation: "create_candidate";
924
924
  credentials?: Partial<Record<CredentialType, string>> | undefined;
925
+ website?: string | undefined;
925
926
  emails?: {
926
927
  type: "Personal" | "Work" | "Other";
927
928
  email: string;
928
929
  }[] | undefined;
930
+ tag?: string | undefined;
929
931
  phone_number?: string | undefined;
930
932
  linkedin_url?: string | undefined;
931
933
  github_url?: string | undefined;
932
- website?: string | undefined;
933
934
  source_id?: string | undefined;
934
935
  credited_to_user_id?: string | undefined;
935
- tag?: string | undefined;
936
936
  allow_duplicate_linkedin?: boolean | undefined;
937
937
  }>, z.ZodObject<{
938
938
  operation: z.ZodLiteral<"search_candidates">;
@@ -997,14 +997,14 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
997
997
  }, "strip", z.ZodTypeAny, {
998
998
  operation: "list_custom_fields";
999
999
  limit: number;
1000
- cursor?: string | undefined;
1001
1000
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1001
+ cursor?: string | undefined;
1002
1002
  sync_token?: string | undefined;
1003
1003
  }, {
1004
1004
  operation: "list_custom_fields";
1005
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1005
1006
  limit?: number | undefined;
1006
1007
  cursor?: string | undefined;
1007
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1008
1008
  sync_token?: string | undefined;
1009
1009
  }>, z.ZodObject<{
1010
1010
  operation: z.ZodLiteral<"list_jobs">;
@@ -1016,14 +1016,14 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
1016
1016
  operation: "list_jobs";
1017
1017
  limit: number;
1018
1018
  status?: "Archived" | "Open" | "Closed" | "Draft" | undefined;
1019
- cursor?: string | undefined;
1020
1019
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1020
+ cursor?: string | undefined;
1021
1021
  }, {
1022
1022
  operation: "list_jobs";
1023
1023
  status?: "Archived" | "Open" | "Closed" | "Draft" | undefined;
1024
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1024
1025
  limit?: number | undefined;
1025
1026
  cursor?: string | undefined;
1026
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1027
1027
  }>, z.ZodObject<{
1028
1028
  operation: z.ZodLiteral<"get_job">;
1029
1029
  job_id: z.ZodString;
@@ -1049,19 +1049,19 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
1049
1049
  operation: "list_applications";
1050
1050
  limit: number;
1051
1051
  status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
1052
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1052
1053
  cursor?: string | undefined;
1053
1054
  job_id?: string | undefined;
1054
1055
  created_after?: number | undefined;
1055
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1056
1056
  candidate_id?: string | undefined;
1057
1057
  }, {
1058
1058
  operation: "list_applications";
1059
1059
  status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
1060
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
1060
1061
  limit?: number | undefined;
1061
1062
  cursor?: string | undefined;
1062
1063
  job_id?: string | undefined;
1063
1064
  created_after?: number | undefined;
1064
- credentials?: Partial<Record<CredentialType, string>> | undefined;
1065
1065
  candidate_id?: string | undefined;
1066
1066
  }>, z.ZodObject<{
1067
1067
  operation: z.ZodLiteral<"get_application">;
@@ -1127,20 +1127,20 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
1127
1127
  name?: string | undefined;
1128
1128
  email?: string | undefined;
1129
1129
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1130
+ website?: string | undefined;
1130
1131
  phone_number?: string | undefined;
1131
1132
  linkedin_url?: string | undefined;
1132
1133
  github_url?: string | undefined;
1133
- website?: string | undefined;
1134
1134
  }, {
1135
1135
  operation: "update_candidate";
1136
1136
  candidate_id: string;
1137
1137
  name?: string | undefined;
1138
1138
  email?: string | undefined;
1139
1139
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1140
+ website?: string | undefined;
1140
1141
  phone_number?: string | undefined;
1141
1142
  linkedin_url?: string | undefined;
1142
1143
  github_url?: string | undefined;
1143
- website?: string | undefined;
1144
1144
  }>, z.ZodObject<{
1145
1145
  operation: z.ZodLiteral<"create_note">;
1146
1146
  candidate_id: z.ZodString;
@@ -1272,13 +1272,13 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
1272
1272
  }, "strip", z.ZodTypeAny, {
1273
1273
  operation: "list_project_candidate_ids";
1274
1274
  project_id: string;
1275
- cursor?: string | undefined;
1276
1275
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1276
+ cursor?: string | undefined;
1277
1277
  }, {
1278
1278
  operation: "list_project_candidate_ids";
1279
1279
  project_id: string;
1280
- cursor?: string | undefined;
1281
1280
  credentials?: Partial<Record<CredentialType, string>> | undefined;
1281
+ cursor?: string | undefined;
1282
1282
  }>, z.ZodObject<{
1283
1283
  operation: z.ZodLiteral<"get_all_candidates_with_projects">;
1284
1284
  concurrency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -1384,12 +1384,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1384
1384
  name: z.ZodString;
1385
1385
  handle: z.ZodString;
1386
1386
  }, "strip", z.ZodTypeAny, {
1387
- id: string;
1388
1387
  name: string;
1388
+ id: string;
1389
1389
  handle: string;
1390
1390
  }, {
1391
- id: string;
1392
1391
  name: string;
1392
+ id: string;
1393
1393
  handle: string;
1394
1394
  }>>>;
1395
1395
  fileHandles: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1397,12 +1397,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1397
1397
  name: z.ZodString;
1398
1398
  handle: z.ZodString;
1399
1399
  }, "strip", z.ZodTypeAny, {
1400
- id: string;
1401
1400
  name: string;
1401
+ id: string;
1402
1402
  handle: string;
1403
1403
  }, {
1404
- id: string;
1405
1404
  name: string;
1405
+ id: string;
1406
1406
  handle: string;
1407
1407
  }>, "many">>;
1408
1408
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1425,8 +1425,16 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1425
1425
  source: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
1426
1426
  creditedToUser: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
1427
1427
  }, "strip", z.ZodTypeAny, {
1428
- id: string;
1429
1428
  name: string;
1429
+ id: string;
1430
+ tags?: {
1431
+ title: string;
1432
+ id: string;
1433
+ isArchived?: boolean | undefined;
1434
+ }[] | undefined;
1435
+ position?: string | null | undefined;
1436
+ profileUrl?: string | null | undefined;
1437
+ source?: unknown;
1430
1438
  createdAt?: string | undefined;
1431
1439
  updatedAt?: string | undefined;
1432
1440
  primaryEmailAddress?: {
@@ -1459,31 +1467,31 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1459
1467
  type: string;
1460
1468
  url: string;
1461
1469
  }[] | undefined;
1462
- tags?: {
1463
- title: string;
1464
- id: string;
1465
- isArchived?: boolean | undefined;
1466
- }[] | undefined;
1467
- position?: string | null | undefined;
1468
1470
  company?: string | null | undefined;
1469
1471
  school?: string | null | undefined;
1470
1472
  applicationIds?: string[] | undefined;
1471
1473
  resumeFileHandle?: {
1472
- id: string;
1473
1474
  name: string;
1475
+ id: string;
1474
1476
  handle: string;
1475
1477
  } | null | undefined;
1476
1478
  fileHandles?: {
1477
- id: string;
1478
1479
  name: string;
1480
+ id: string;
1479
1481
  handle: string;
1480
1482
  }[] | undefined;
1481
- profileUrl?: string | null | undefined;
1482
- source?: unknown;
1483
1483
  creditedToUser?: unknown;
1484
1484
  }, {
1485
- id: string;
1486
1485
  name: string;
1486
+ id: string;
1487
+ tags?: {
1488
+ title: string;
1489
+ id: string;
1490
+ isArchived?: boolean | undefined;
1491
+ }[] | undefined;
1492
+ position?: string | null | undefined;
1493
+ profileUrl?: string | null | undefined;
1494
+ source?: unknown;
1487
1495
  createdAt?: string | undefined;
1488
1496
  updatedAt?: string | undefined;
1489
1497
  primaryEmailAddress?: {
@@ -1516,27 +1524,19 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1516
1524
  type: string;
1517
1525
  url: string;
1518
1526
  }[] | undefined;
1519
- tags?: {
1520
- title: string;
1521
- id: string;
1522
- isArchived?: boolean | undefined;
1523
- }[] | undefined;
1524
- position?: string | null | undefined;
1525
1527
  company?: string | null | undefined;
1526
1528
  school?: string | null | undefined;
1527
1529
  applicationIds?: string[] | undefined;
1528
1530
  resumeFileHandle?: {
1529
- id: string;
1530
1531
  name: string;
1532
+ id: string;
1531
1533
  handle: string;
1532
1534
  } | null | undefined;
1533
1535
  fileHandles?: {
1534
- id: string;
1535
1536
  name: string;
1537
+ id: string;
1536
1538
  handle: string;
1537
1539
  }[] | undefined;
1538
- profileUrl?: string | null | undefined;
1539
- source?: unknown;
1540
1540
  creditedToUser?: unknown;
1541
1541
  }>, "many">>;
1542
1542
  next_cursor: z.ZodOptional<z.ZodString>;
@@ -1544,13 +1544,22 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1544
1544
  sync_token: z.ZodOptional<z.ZodString>;
1545
1545
  error: z.ZodString;
1546
1546
  }, "strip", z.ZodTypeAny, {
1547
- operation: "list_candidates";
1548
- success: boolean;
1549
1547
  error: string;
1548
+ success: boolean;
1549
+ operation: "list_candidates";
1550
+ next_cursor?: string | undefined;
1550
1551
  sync_token?: string | undefined;
1551
1552
  candidates?: {
1552
- id: string;
1553
1553
  name: string;
1554
+ id: string;
1555
+ tags?: {
1556
+ title: string;
1557
+ id: string;
1558
+ isArchived?: boolean | undefined;
1559
+ }[] | undefined;
1560
+ position?: string | null | undefined;
1561
+ profileUrl?: string | null | undefined;
1562
+ source?: unknown;
1554
1563
  createdAt?: string | undefined;
1555
1564
  updatedAt?: string | undefined;
1556
1565
  primaryEmailAddress?: {
@@ -1583,39 +1592,39 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1583
1592
  type: string;
1584
1593
  url: string;
1585
1594
  }[] | undefined;
1586
- tags?: {
1587
- title: string;
1588
- id: string;
1589
- isArchived?: boolean | undefined;
1590
- }[] | undefined;
1591
- position?: string | null | undefined;
1592
1595
  company?: string | null | undefined;
1593
1596
  school?: string | null | undefined;
1594
1597
  applicationIds?: string[] | undefined;
1595
1598
  resumeFileHandle?: {
1596
- id: string;
1597
1599
  name: string;
1600
+ id: string;
1598
1601
  handle: string;
1599
1602
  } | null | undefined;
1600
1603
  fileHandles?: {
1601
- id: string;
1602
1604
  name: string;
1605
+ id: string;
1603
1606
  handle: string;
1604
1607
  }[] | undefined;
1605
- profileUrl?: string | null | undefined;
1606
- source?: unknown;
1607
1608
  creditedToUser?: unknown;
1608
1609
  }[] | undefined;
1609
- next_cursor?: string | undefined;
1610
1610
  more_data_available?: boolean | undefined;
1611
1611
  }, {
1612
- operation: "list_candidates";
1613
- success: boolean;
1614
1612
  error: string;
1613
+ success: boolean;
1614
+ operation: "list_candidates";
1615
+ next_cursor?: string | undefined;
1615
1616
  sync_token?: string | undefined;
1616
1617
  candidates?: {
1617
- id: string;
1618
1618
  name: string;
1619
+ id: string;
1620
+ tags?: {
1621
+ title: string;
1622
+ id: string;
1623
+ isArchived?: boolean | undefined;
1624
+ }[] | undefined;
1625
+ position?: string | null | undefined;
1626
+ profileUrl?: string | null | undefined;
1627
+ source?: unknown;
1619
1628
  createdAt?: string | undefined;
1620
1629
  updatedAt?: string | undefined;
1621
1630
  primaryEmailAddress?: {
@@ -1648,30 +1657,21 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1648
1657
  type: string;
1649
1658
  url: string;
1650
1659
  }[] | undefined;
1651
- tags?: {
1652
- title: string;
1653
- id: string;
1654
- isArchived?: boolean | undefined;
1655
- }[] | undefined;
1656
- position?: string | null | undefined;
1657
1660
  company?: string | null | undefined;
1658
1661
  school?: string | null | undefined;
1659
1662
  applicationIds?: string[] | undefined;
1660
1663
  resumeFileHandle?: {
1661
- id: string;
1662
1664
  name: string;
1665
+ id: string;
1663
1666
  handle: string;
1664
1667
  } | null | undefined;
1665
1668
  fileHandles?: {
1666
- id: string;
1667
1669
  name: string;
1670
+ id: string;
1668
1671
  handle: string;
1669
1672
  }[] | undefined;
1670
- profileUrl?: string | null | undefined;
1671
- source?: unknown;
1672
1673
  creditedToUser?: unknown;
1673
1674
  }[] | undefined;
1674
- next_cursor?: string | undefined;
1675
1675
  more_data_available?: boolean | undefined;
1676
1676
  }>, z.ZodObject<{
1677
1677
  operation: z.ZodLiteral<"get_candidate">;
@@ -1724,8 +1724,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1724
1724
  isPrivate?: boolean | undefined;
1725
1725
  }>, "many">>;
1726
1726
  }, "strip", z.ZodTypeAny, {
1727
- id: string;
1728
1727
  name: string;
1728
+ id: string;
1729
1729
  createdAt?: string | undefined;
1730
1730
  updatedAt?: string | undefined;
1731
1731
  primaryEmailAddress?: {
@@ -1745,8 +1745,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1745
1745
  isPrivate?: boolean | undefined;
1746
1746
  }[] | undefined;
1747
1747
  }, {
1748
- id: string;
1749
1748
  name: string;
1749
+ id: string;
1750
1750
  createdAt?: string | undefined;
1751
1751
  updatedAt?: string | undefined;
1752
1752
  primaryEmailAddress?: {
@@ -1768,12 +1768,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1768
1768
  }>>;
1769
1769
  error: z.ZodString;
1770
1770
  }, "strip", z.ZodTypeAny, {
1771
- operation: "get_candidate";
1772
- success: boolean;
1773
1771
  error: string;
1772
+ success: boolean;
1773
+ operation: "get_candidate";
1774
1774
  candidate?: {
1775
- id: string;
1776
1775
  name: string;
1776
+ id: string;
1777
1777
  createdAt?: string | undefined;
1778
1778
  updatedAt?: string | undefined;
1779
1779
  primaryEmailAddress?: {
@@ -1794,12 +1794,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1794
1794
  }[] | undefined;
1795
1795
  } | undefined;
1796
1796
  }, {
1797
- operation: "get_candidate";
1798
- success: boolean;
1799
1797
  error: string;
1798
+ success: boolean;
1799
+ operation: "get_candidate";
1800
1800
  candidate?: {
1801
- id: string;
1802
1801
  name: string;
1802
+ id: string;
1803
1803
  createdAt?: string | undefined;
1804
1804
  updatedAt?: string | undefined;
1805
1805
  primaryEmailAddress?: {
@@ -1870,8 +1870,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1870
1870
  isPrivate?: boolean | undefined;
1871
1871
  }>, "many">>;
1872
1872
  }, "strip", z.ZodTypeAny, {
1873
- id: string;
1874
1873
  name: string;
1874
+ id: string;
1875
1875
  createdAt?: string | undefined;
1876
1876
  updatedAt?: string | undefined;
1877
1877
  primaryEmailAddress?: {
@@ -1891,8 +1891,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1891
1891
  isPrivate?: boolean | undefined;
1892
1892
  }[] | undefined;
1893
1893
  }, {
1894
- id: string;
1895
1894
  name: string;
1895
+ id: string;
1896
1896
  createdAt?: string | undefined;
1897
1897
  updatedAt?: string | undefined;
1898
1898
  primaryEmailAddress?: {
@@ -1915,12 +1915,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1915
1915
  duplicate: z.ZodOptional<z.ZodBoolean>;
1916
1916
  error: z.ZodString;
1917
1917
  }, "strip", z.ZodTypeAny, {
1918
- operation: "create_candidate";
1919
- success: boolean;
1920
1918
  error: string;
1919
+ success: boolean;
1920
+ operation: "create_candidate";
1921
1921
  candidate?: {
1922
- id: string;
1923
1922
  name: string;
1923
+ id: string;
1924
1924
  createdAt?: string | undefined;
1925
1925
  updatedAt?: string | undefined;
1926
1926
  primaryEmailAddress?: {
@@ -1942,12 +1942,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
1942
1942
  } | undefined;
1943
1943
  duplicate?: boolean | undefined;
1944
1944
  }, {
1945
- operation: "create_candidate";
1946
- success: boolean;
1947
1945
  error: string;
1946
+ success: boolean;
1947
+ operation: "create_candidate";
1948
1948
  candidate?: {
1949
- id: string;
1950
1949
  name: string;
1950
+ id: string;
1951
1951
  createdAt?: string | undefined;
1952
1952
  updatedAt?: string | undefined;
1953
1953
  primaryEmailAddress?: {
@@ -2019,8 +2019,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2019
2019
  isPrivate?: boolean | undefined;
2020
2020
  }>, "many">>;
2021
2021
  }, "strip", z.ZodTypeAny, {
2022
- id: string;
2023
2022
  name: string;
2023
+ id: string;
2024
2024
  createdAt?: string | undefined;
2025
2025
  updatedAt?: string | undefined;
2026
2026
  primaryEmailAddress?: {
@@ -2040,8 +2040,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2040
2040
  isPrivate?: boolean | undefined;
2041
2041
  }[] | undefined;
2042
2042
  }, {
2043
- id: string;
2044
2043
  name: string;
2044
+ id: string;
2045
2045
  createdAt?: string | undefined;
2046
2046
  updatedAt?: string | undefined;
2047
2047
  primaryEmailAddress?: {
@@ -2063,12 +2063,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2063
2063
  }>, "many">>;
2064
2064
  error: z.ZodString;
2065
2065
  }, "strip", z.ZodTypeAny, {
2066
- operation: "search_candidates";
2067
- success: boolean;
2068
2066
  error: string;
2067
+ success: boolean;
2068
+ operation: "search_candidates";
2069
2069
  candidates?: {
2070
- id: string;
2071
2070
  name: string;
2071
+ id: string;
2072
2072
  createdAt?: string | undefined;
2073
2073
  updatedAt?: string | undefined;
2074
2074
  primaryEmailAddress?: {
@@ -2089,12 +2089,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2089
2089
  }[] | undefined;
2090
2090
  }[] | undefined;
2091
2091
  }, {
2092
- operation: "search_candidates";
2093
- success: boolean;
2094
2092
  error: string;
2093
+ success: boolean;
2094
+ operation: "search_candidates";
2095
2095
  candidates?: {
2096
- id: string;
2097
2096
  name: string;
2097
+ id: string;
2098
2098
  createdAt?: string | undefined;
2099
2099
  updatedAt?: string | undefined;
2100
2100
  primaryEmailAddress?: {
@@ -2165,8 +2165,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2165
2165
  isPrivate?: boolean | undefined;
2166
2166
  }>, "many">>;
2167
2167
  }, "strip", z.ZodTypeAny, {
2168
- id: string;
2169
2168
  name: string;
2169
+ id: string;
2170
2170
  createdAt?: string | undefined;
2171
2171
  updatedAt?: string | undefined;
2172
2172
  primaryEmailAddress?: {
@@ -2186,8 +2186,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2186
2186
  isPrivate?: boolean | undefined;
2187
2187
  }[] | undefined;
2188
2188
  }, {
2189
- id: string;
2190
2189
  name: string;
2190
+ id: string;
2191
2191
  createdAt?: string | undefined;
2192
2192
  updatedAt?: string | undefined;
2193
2193
  primaryEmailAddress?: {
@@ -2209,12 +2209,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2209
2209
  }>>;
2210
2210
  error: z.ZodString;
2211
2211
  }, "strip", z.ZodTypeAny, {
2212
- operation: "add_tag";
2213
- success: boolean;
2214
2212
  error: string;
2213
+ success: boolean;
2214
+ operation: "add_tag";
2215
2215
  candidate?: {
2216
- id: string;
2217
2216
  name: string;
2217
+ id: string;
2218
2218
  createdAt?: string | undefined;
2219
2219
  updatedAt?: string | undefined;
2220
2220
  primaryEmailAddress?: {
@@ -2235,12 +2235,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2235
2235
  }[] | undefined;
2236
2236
  } | undefined;
2237
2237
  }, {
2238
- operation: "add_tag";
2239
- success: boolean;
2240
2238
  error: string;
2239
+ success: boolean;
2240
+ operation: "add_tag";
2241
2241
  candidate?: {
2242
- id: string;
2243
2242
  name: string;
2243
+ id: string;
2244
2244
  createdAt?: string | undefined;
2245
2245
  updatedAt?: string | undefined;
2246
2246
  primaryEmailAddress?: {
@@ -2278,18 +2278,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2278
2278
  }>, "many">>;
2279
2279
  error: z.ZodString;
2280
2280
  }, "strip", z.ZodTypeAny, {
2281
- operation: "list_tags";
2282
- success: boolean;
2283
2281
  error: string;
2282
+ success: boolean;
2283
+ operation: "list_tags";
2284
2284
  tags?: {
2285
2285
  title: string;
2286
2286
  id: string;
2287
2287
  isArchived?: boolean | undefined;
2288
2288
  }[] | undefined;
2289
2289
  }, {
2290
- operation: "list_tags";
2291
- success: boolean;
2292
2290
  error: string;
2291
+ success: boolean;
2292
+ operation: "list_tags";
2293
2293
  tags?: {
2294
2294
  title: string;
2295
2295
  id: string;
@@ -2313,18 +2313,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2313
2313
  }>>;
2314
2314
  error: z.ZodString;
2315
2315
  }, "strip", z.ZodTypeAny, {
2316
- operation: "create_tag";
2317
- success: boolean;
2318
2316
  error: string;
2317
+ success: boolean;
2318
+ operation: "create_tag";
2319
2319
  tag?: {
2320
2320
  title: string;
2321
2321
  id: string;
2322
2322
  isArchived?: boolean | undefined;
2323
2323
  } | undefined;
2324
2324
  }, {
2325
- operation: "create_tag";
2326
- success: boolean;
2327
2325
  error: string;
2326
+ success: boolean;
2327
+ operation: "create_tag";
2328
2328
  tag?: {
2329
2329
  title: string;
2330
2330
  id: string;
@@ -2346,36 +2346,36 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2346
2346
  isArchived: z.ZodBoolean;
2347
2347
  }, "strip", z.ZodTypeAny, {
2348
2348
  value: string;
2349
- isArchived: boolean;
2350
2349
  label: string;
2350
+ isArchived: boolean;
2351
2351
  }, {
2352
2352
  value: string;
2353
- isArchived: boolean;
2354
2353
  label: string;
2354
+ isArchived: boolean;
2355
2355
  }>, "many">>;
2356
2356
  }, "strip", z.ZodTypeAny, {
2357
2357
  title: string;
2358
2358
  id: string;
2359
+ fieldType: string;
2359
2360
  isPrivate: boolean;
2360
2361
  isArchived: boolean;
2361
2362
  objectType: string;
2362
- fieldType: string;
2363
2363
  selectableValues?: {
2364
2364
  value: string;
2365
- isArchived: boolean;
2366
2365
  label: string;
2366
+ isArchived: boolean;
2367
2367
  }[] | undefined;
2368
2368
  }, {
2369
2369
  title: string;
2370
2370
  id: string;
2371
+ fieldType: string;
2371
2372
  isPrivate: boolean;
2372
2373
  isArchived: boolean;
2373
2374
  objectType: string;
2374
- fieldType: string;
2375
2375
  selectableValues?: {
2376
2376
  value: string;
2377
- isArchived: boolean;
2378
2377
  label: string;
2378
+ isArchived: boolean;
2379
2379
  }[] | undefined;
2380
2380
  }>, "many">>;
2381
2381
  next_cursor: z.ZodOptional<z.ZodString>;
@@ -2383,45 +2383,45 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2383
2383
  sync_token: z.ZodOptional<z.ZodString>;
2384
2384
  error: z.ZodString;
2385
2385
  }, "strip", z.ZodTypeAny, {
2386
- operation: "list_custom_fields";
2387
- success: boolean;
2388
2386
  error: string;
2389
- sync_token?: string | undefined;
2387
+ success: boolean;
2388
+ operation: "list_custom_fields";
2390
2389
  next_cursor?: string | undefined;
2391
- more_data_available?: boolean | undefined;
2392
2390
  custom_fields?: {
2393
2391
  title: string;
2394
2392
  id: string;
2393
+ fieldType: string;
2395
2394
  isPrivate: boolean;
2396
2395
  isArchived: boolean;
2397
2396
  objectType: string;
2398
- fieldType: string;
2399
2397
  selectableValues?: {
2400
2398
  value: string;
2401
- isArchived: boolean;
2402
2399
  label: string;
2400
+ isArchived: boolean;
2403
2401
  }[] | undefined;
2404
2402
  }[] | undefined;
2403
+ sync_token?: string | undefined;
2404
+ more_data_available?: boolean | undefined;
2405
2405
  }, {
2406
- operation: "list_custom_fields";
2407
- success: boolean;
2408
2406
  error: string;
2409
- sync_token?: string | undefined;
2407
+ success: boolean;
2408
+ operation: "list_custom_fields";
2410
2409
  next_cursor?: string | undefined;
2411
- more_data_available?: boolean | undefined;
2412
2410
  custom_fields?: {
2413
2411
  title: string;
2414
2412
  id: string;
2413
+ fieldType: string;
2415
2414
  isPrivate: boolean;
2416
2415
  isArchived: boolean;
2417
2416
  objectType: string;
2418
- fieldType: string;
2419
2417
  selectableValues?: {
2420
2418
  value: string;
2421
- isArchived: boolean;
2422
2419
  label: string;
2420
+ isArchived: boolean;
2423
2421
  }[] | undefined;
2424
2422
  }[] | undefined;
2423
+ sync_token?: string | undefined;
2424
+ more_data_available?: boolean | undefined;
2425
2425
  }>, z.ZodObject<{
2426
2426
  operation: z.ZodLiteral<"list_jobs">;
2427
2427
  success: z.ZodBoolean;
@@ -2457,8 +2457,10 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2457
2457
  title: string;
2458
2458
  id: string;
2459
2459
  status?: string | undefined;
2460
+ locationId?: string | null | undefined;
2460
2461
  createdAt?: string | undefined;
2461
2462
  updatedAt?: string | undefined;
2463
+ teamId?: string | null | undefined;
2462
2464
  customFields?: {
2463
2465
  title: string;
2464
2466
  id: string;
@@ -2466,8 +2468,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2466
2468
  isPrivate?: boolean | undefined;
2467
2469
  }[] | undefined;
2468
2470
  departmentId?: string | null | undefined;
2469
- teamId?: string | null | undefined;
2470
- locationId?: string | null | undefined;
2471
2471
  locationIds?: string[] | undefined;
2472
2472
  openedAt?: string | null | undefined;
2473
2473
  closedAt?: string | null | undefined;
@@ -2475,8 +2475,10 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2475
2475
  title: string;
2476
2476
  id: string;
2477
2477
  status?: string | undefined;
2478
+ locationId?: string | null | undefined;
2478
2479
  createdAt?: string | undefined;
2479
2480
  updatedAt?: string | undefined;
2481
+ teamId?: string | null | undefined;
2480
2482
  customFields?: {
2481
2483
  title: string;
2482
2484
  id: string;
@@ -2484,8 +2486,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2484
2486
  isPrivate?: boolean | undefined;
2485
2487
  }[] | undefined;
2486
2488
  departmentId?: string | null | undefined;
2487
- teamId?: string | null | undefined;
2488
- locationId?: string | null | undefined;
2489
2489
  locationIds?: string[] | undefined;
2490
2490
  openedAt?: string | null | undefined;
2491
2491
  closedAt?: string | null | undefined;
@@ -2494,17 +2494,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2494
2494
  more_data_available: z.ZodOptional<z.ZodBoolean>;
2495
2495
  error: z.ZodString;
2496
2496
  }, "strip", z.ZodTypeAny, {
2497
- operation: "list_jobs";
2498
- success: boolean;
2499
2497
  error: string;
2498
+ success: boolean;
2499
+ operation: "list_jobs";
2500
2500
  next_cursor?: string | undefined;
2501
- more_data_available?: boolean | undefined;
2502
2501
  jobs?: {
2503
2502
  title: string;
2504
2503
  id: string;
2505
2504
  status?: string | undefined;
2505
+ locationId?: string | null | undefined;
2506
2506
  createdAt?: string | undefined;
2507
2507
  updatedAt?: string | undefined;
2508
+ teamId?: string | null | undefined;
2508
2509
  customFields?: {
2509
2510
  title: string;
2510
2511
  id: string;
@@ -2512,24 +2513,24 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2512
2513
  isPrivate?: boolean | undefined;
2513
2514
  }[] | undefined;
2514
2515
  departmentId?: string | null | undefined;
2515
- teamId?: string | null | undefined;
2516
- locationId?: string | null | undefined;
2517
2516
  locationIds?: string[] | undefined;
2518
2517
  openedAt?: string | null | undefined;
2519
2518
  closedAt?: string | null | undefined;
2520
2519
  }[] | undefined;
2520
+ more_data_available?: boolean | undefined;
2521
2521
  }, {
2522
- operation: "list_jobs";
2523
- success: boolean;
2524
2522
  error: string;
2523
+ success: boolean;
2524
+ operation: "list_jobs";
2525
2525
  next_cursor?: string | undefined;
2526
- more_data_available?: boolean | undefined;
2527
2526
  jobs?: {
2528
2527
  title: string;
2529
2528
  id: string;
2530
2529
  status?: string | undefined;
2530
+ locationId?: string | null | undefined;
2531
2531
  createdAt?: string | undefined;
2532
2532
  updatedAt?: string | undefined;
2533
+ teamId?: string | null | undefined;
2533
2534
  customFields?: {
2534
2535
  title: string;
2535
2536
  id: string;
@@ -2537,12 +2538,11 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2537
2538
  isPrivate?: boolean | undefined;
2538
2539
  }[] | undefined;
2539
2540
  departmentId?: string | null | undefined;
2540
- teamId?: string | null | undefined;
2541
- locationId?: string | null | undefined;
2542
2541
  locationIds?: string[] | undefined;
2543
2542
  openedAt?: string | null | undefined;
2544
2543
  closedAt?: string | null | undefined;
2545
2544
  }[] | undefined;
2545
+ more_data_available?: boolean | undefined;
2546
2546
  }>, z.ZodObject<{
2547
2547
  operation: z.ZodLiteral<"get_job">;
2548
2548
  success: z.ZodBoolean;
@@ -2578,8 +2578,10 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2578
2578
  title: string;
2579
2579
  id: string;
2580
2580
  status?: string | undefined;
2581
+ locationId?: string | null | undefined;
2581
2582
  createdAt?: string | undefined;
2582
2583
  updatedAt?: string | undefined;
2584
+ teamId?: string | null | undefined;
2583
2585
  customFields?: {
2584
2586
  title: string;
2585
2587
  id: string;
@@ -2587,8 +2589,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2587
2589
  isPrivate?: boolean | undefined;
2588
2590
  }[] | undefined;
2589
2591
  departmentId?: string | null | undefined;
2590
- teamId?: string | null | undefined;
2591
- locationId?: string | null | undefined;
2592
2592
  locationIds?: string[] | undefined;
2593
2593
  openedAt?: string | null | undefined;
2594
2594
  closedAt?: string | null | undefined;
@@ -2596,8 +2596,10 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2596
2596
  title: string;
2597
2597
  id: string;
2598
2598
  status?: string | undefined;
2599
+ locationId?: string | null | undefined;
2599
2600
  createdAt?: string | undefined;
2600
2601
  updatedAt?: string | undefined;
2602
+ teamId?: string | null | undefined;
2601
2603
  customFields?: {
2602
2604
  title: string;
2603
2605
  id: string;
@@ -2605,8 +2607,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2605
2607
  isPrivate?: boolean | undefined;
2606
2608
  }[] | undefined;
2607
2609
  departmentId?: string | null | undefined;
2608
- teamId?: string | null | undefined;
2609
- locationId?: string | null | undefined;
2610
2610
  locationIds?: string[] | undefined;
2611
2611
  openedAt?: string | null | undefined;
2612
2612
  closedAt?: string | null | undefined;
@@ -2632,15 +2632,17 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2632
2632
  }>, "many">>;
2633
2633
  error: z.ZodString;
2634
2634
  }, "strip", z.ZodTypeAny, {
2635
- operation: "get_job";
2636
- success: boolean;
2637
2635
  error: string;
2636
+ success: boolean;
2637
+ operation: "get_job";
2638
2638
  job?: {
2639
2639
  title: string;
2640
2640
  id: string;
2641
2641
  status?: string | undefined;
2642
+ locationId?: string | null | undefined;
2642
2643
  createdAt?: string | undefined;
2643
2644
  updatedAt?: string | undefined;
2645
+ teamId?: string | null | undefined;
2644
2646
  customFields?: {
2645
2647
  title: string;
2646
2648
  id: string;
@@ -2648,8 +2650,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2648
2650
  isPrivate?: boolean | undefined;
2649
2651
  }[] | undefined;
2650
2652
  departmentId?: string | null | undefined;
2651
- teamId?: string | null | undefined;
2652
- locationId?: string | null | undefined;
2653
2653
  locationIds?: string[] | undefined;
2654
2654
  openedAt?: string | null | undefined;
2655
2655
  closedAt?: string | null | undefined;
@@ -2662,15 +2662,17 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2662
2662
  interviewPlanId?: string | undefined;
2663
2663
  }[] | undefined;
2664
2664
  }, {
2665
- operation: "get_job";
2666
- success: boolean;
2667
2665
  error: string;
2666
+ success: boolean;
2667
+ operation: "get_job";
2668
2668
  job?: {
2669
2669
  title: string;
2670
2670
  id: string;
2671
2671
  status?: string | undefined;
2672
+ locationId?: string | null | undefined;
2672
2673
  createdAt?: string | undefined;
2673
2674
  updatedAt?: string | undefined;
2675
+ teamId?: string | null | undefined;
2674
2676
  customFields?: {
2675
2677
  title: string;
2676
2678
  id: string;
@@ -2678,8 +2680,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2678
2680
  isPrivate?: boolean | undefined;
2679
2681
  }[] | undefined;
2680
2682
  departmentId?: string | null | undefined;
2681
- teamId?: string | null | undefined;
2682
- locationId?: string | null | undefined;
2683
2683
  locationIds?: string[] | undefined;
2684
2684
  openedAt?: string | null | undefined;
2685
2685
  closedAt?: string | null | undefined;
@@ -2745,14 +2745,14 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2745
2745
  firstName: z.ZodOptional<z.ZodString>;
2746
2746
  lastName: z.ZodOptional<z.ZodString>;
2747
2747
  }, "strip", z.ZodTypeAny, {
2748
- userId: string;
2749
2748
  role: string;
2749
+ userId: string;
2750
2750
  email?: string | undefined;
2751
2751
  firstName?: string | undefined;
2752
2752
  lastName?: string | undefined;
2753
2753
  }, {
2754
- userId: string;
2755
2754
  role: string;
2755
+ userId: string;
2756
2756
  email?: string | undefined;
2757
2757
  firstName?: string | undefined;
2758
2758
  lastName?: string | undefined;
@@ -2760,6 +2760,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2760
2760
  }, "strip", z.ZodTypeAny, {
2761
2761
  id: string;
2762
2762
  status?: string | undefined;
2763
+ source?: unknown;
2763
2764
  createdAt?: string | undefined;
2764
2765
  updatedAt?: string | undefined;
2765
2766
  customFields?: {
@@ -2768,7 +2769,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2768
2769
  value?: unknown;
2769
2770
  isPrivate?: boolean | undefined;
2770
2771
  }[] | undefined;
2771
- source?: unknown;
2772
2772
  candidateId?: string | null | undefined;
2773
2773
  jobId?: string | null | undefined;
2774
2774
  currentInterviewStage?: {
@@ -2780,8 +2780,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2780
2780
  } | null | undefined;
2781
2781
  archiveReason?: unknown;
2782
2782
  hiringTeam?: {
2783
- userId: string;
2784
2783
  role: string;
2784
+ userId: string;
2785
2785
  email?: string | undefined;
2786
2786
  firstName?: string | undefined;
2787
2787
  lastName?: string | undefined;
@@ -2789,6 +2789,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2789
2789
  }, {
2790
2790
  id: string;
2791
2791
  status?: string | undefined;
2792
+ source?: unknown;
2792
2793
  createdAt?: string | undefined;
2793
2794
  updatedAt?: string | undefined;
2794
2795
  customFields?: {
@@ -2797,7 +2798,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2797
2798
  value?: unknown;
2798
2799
  isPrivate?: boolean | undefined;
2799
2800
  }[] | undefined;
2800
- source?: unknown;
2801
2801
  candidateId?: string | null | undefined;
2802
2802
  jobId?: string | null | undefined;
2803
2803
  currentInterviewStage?: {
@@ -2809,8 +2809,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2809
2809
  } | null | undefined;
2810
2810
  archiveReason?: unknown;
2811
2811
  hiringTeam?: {
2812
- userId: string;
2813
2812
  role: string;
2813
+ userId: string;
2814
2814
  email?: string | undefined;
2815
2815
  firstName?: string | undefined;
2816
2816
  lastName?: string | undefined;
@@ -2820,14 +2820,15 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2820
2820
  more_data_available: z.ZodOptional<z.ZodBoolean>;
2821
2821
  error: z.ZodString;
2822
2822
  }, "strip", z.ZodTypeAny, {
2823
- operation: "list_applications";
2824
- success: boolean;
2825
2823
  error: string;
2824
+ success: boolean;
2825
+ operation: "list_applications";
2826
2826
  next_cursor?: string | undefined;
2827
2827
  more_data_available?: boolean | undefined;
2828
2828
  applications?: {
2829
2829
  id: string;
2830
2830
  status?: string | undefined;
2831
+ source?: unknown;
2831
2832
  createdAt?: string | undefined;
2832
2833
  updatedAt?: string | undefined;
2833
2834
  customFields?: {
@@ -2836,7 +2837,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2836
2837
  value?: unknown;
2837
2838
  isPrivate?: boolean | undefined;
2838
2839
  }[] | undefined;
2839
- source?: unknown;
2840
2840
  candidateId?: string | null | undefined;
2841
2841
  jobId?: string | null | undefined;
2842
2842
  currentInterviewStage?: {
@@ -2848,22 +2848,23 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2848
2848
  } | null | undefined;
2849
2849
  archiveReason?: unknown;
2850
2850
  hiringTeam?: {
2851
- userId: string;
2852
2851
  role: string;
2852
+ userId: string;
2853
2853
  email?: string | undefined;
2854
2854
  firstName?: string | undefined;
2855
2855
  lastName?: string | undefined;
2856
2856
  }[] | undefined;
2857
2857
  }[] | undefined;
2858
2858
  }, {
2859
- operation: "list_applications";
2860
- success: boolean;
2861
2859
  error: string;
2860
+ success: boolean;
2861
+ operation: "list_applications";
2862
2862
  next_cursor?: string | undefined;
2863
2863
  more_data_available?: boolean | undefined;
2864
2864
  applications?: {
2865
2865
  id: string;
2866
2866
  status?: string | undefined;
2867
+ source?: unknown;
2867
2868
  createdAt?: string | undefined;
2868
2869
  updatedAt?: string | undefined;
2869
2870
  customFields?: {
@@ -2872,7 +2873,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2872
2873
  value?: unknown;
2873
2874
  isPrivate?: boolean | undefined;
2874
2875
  }[] | undefined;
2875
- source?: unknown;
2876
2876
  candidateId?: string | null | undefined;
2877
2877
  jobId?: string | null | undefined;
2878
2878
  currentInterviewStage?: {
@@ -2884,8 +2884,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2884
2884
  } | null | undefined;
2885
2885
  archiveReason?: unknown;
2886
2886
  hiringTeam?: {
2887
- userId: string;
2888
2887
  role: string;
2888
+ userId: string;
2889
2889
  email?: string | undefined;
2890
2890
  firstName?: string | undefined;
2891
2891
  lastName?: string | undefined;
@@ -2945,14 +2945,14 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2945
2945
  firstName: z.ZodOptional<z.ZodString>;
2946
2946
  lastName: z.ZodOptional<z.ZodString>;
2947
2947
  }, "strip", z.ZodTypeAny, {
2948
- userId: string;
2949
2948
  role: string;
2949
+ userId: string;
2950
2950
  email?: string | undefined;
2951
2951
  firstName?: string | undefined;
2952
2952
  lastName?: string | undefined;
2953
2953
  }, {
2954
- userId: string;
2955
2954
  role: string;
2955
+ userId: string;
2956
2956
  email?: string | undefined;
2957
2957
  firstName?: string | undefined;
2958
2958
  lastName?: string | undefined;
@@ -2960,6 +2960,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2960
2960
  }, "strip", z.ZodTypeAny, {
2961
2961
  id: string;
2962
2962
  status?: string | undefined;
2963
+ source?: unknown;
2963
2964
  createdAt?: string | undefined;
2964
2965
  updatedAt?: string | undefined;
2965
2966
  customFields?: {
@@ -2968,7 +2969,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2968
2969
  value?: unknown;
2969
2970
  isPrivate?: boolean | undefined;
2970
2971
  }[] | undefined;
2971
- source?: unknown;
2972
2972
  candidateId?: string | null | undefined;
2973
2973
  jobId?: string | null | undefined;
2974
2974
  currentInterviewStage?: {
@@ -2980,8 +2980,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2980
2980
  } | null | undefined;
2981
2981
  archiveReason?: unknown;
2982
2982
  hiringTeam?: {
2983
- userId: string;
2984
2983
  role: string;
2984
+ userId: string;
2985
2985
  email?: string | undefined;
2986
2986
  firstName?: string | undefined;
2987
2987
  lastName?: string | undefined;
@@ -2989,6 +2989,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2989
2989
  }, {
2990
2990
  id: string;
2991
2991
  status?: string | undefined;
2992
+ source?: unknown;
2992
2993
  createdAt?: string | undefined;
2993
2994
  updatedAt?: string | undefined;
2994
2995
  customFields?: {
@@ -2997,7 +2998,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
2997
2998
  value?: unknown;
2998
2999
  isPrivate?: boolean | undefined;
2999
3000
  }[] | undefined;
3000
- source?: unknown;
3001
3001
  candidateId?: string | null | undefined;
3002
3002
  jobId?: string | null | undefined;
3003
3003
  currentInterviewStage?: {
@@ -3009,8 +3009,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3009
3009
  } | null | undefined;
3010
3010
  archiveReason?: unknown;
3011
3011
  hiringTeam?: {
3012
- userId: string;
3013
3012
  role: string;
3013
+ userId: string;
3014
3014
  email?: string | undefined;
3015
3015
  firstName?: string | undefined;
3016
3016
  lastName?: string | undefined;
@@ -3064,8 +3064,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3064
3064
  isPrivate?: boolean | undefined;
3065
3065
  }>, "many">>;
3066
3066
  }, "strip", z.ZodTypeAny, {
3067
- id: string;
3068
3067
  name: string;
3068
+ id: string;
3069
3069
  createdAt?: string | undefined;
3070
3070
  updatedAt?: string | undefined;
3071
3071
  primaryEmailAddress?: {
@@ -3085,8 +3085,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3085
3085
  isPrivate?: boolean | undefined;
3086
3086
  }[] | undefined;
3087
3087
  }, {
3088
- id: string;
3089
3088
  name: string;
3089
+ id: string;
3090
3090
  createdAt?: string | undefined;
3091
3091
  updatedAt?: string | undefined;
3092
3092
  primaryEmailAddress?: {
@@ -3138,8 +3138,10 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3138
3138
  title: string;
3139
3139
  id: string;
3140
3140
  status?: string | undefined;
3141
+ locationId?: string | null | undefined;
3141
3142
  createdAt?: string | undefined;
3142
3143
  updatedAt?: string | undefined;
3144
+ teamId?: string | null | undefined;
3143
3145
  customFields?: {
3144
3146
  title: string;
3145
3147
  id: string;
@@ -3147,8 +3149,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3147
3149
  isPrivate?: boolean | undefined;
3148
3150
  }[] | undefined;
3149
3151
  departmentId?: string | null | undefined;
3150
- teamId?: string | null | undefined;
3151
- locationId?: string | null | undefined;
3152
3152
  locationIds?: string[] | undefined;
3153
3153
  openedAt?: string | null | undefined;
3154
3154
  closedAt?: string | null | undefined;
@@ -3156,8 +3156,10 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3156
3156
  title: string;
3157
3157
  id: string;
3158
3158
  status?: string | undefined;
3159
+ locationId?: string | null | undefined;
3159
3160
  createdAt?: string | undefined;
3160
3161
  updatedAt?: string | undefined;
3162
+ teamId?: string | null | undefined;
3161
3163
  customFields?: {
3162
3164
  title: string;
3163
3165
  id: string;
@@ -3165,20 +3167,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3165
3167
  isPrivate?: boolean | undefined;
3166
3168
  }[] | undefined;
3167
3169
  departmentId?: string | null | undefined;
3168
- teamId?: string | null | undefined;
3169
- locationId?: string | null | undefined;
3170
3170
  locationIds?: string[] | undefined;
3171
3171
  openedAt?: string | null | undefined;
3172
3172
  closedAt?: string | null | undefined;
3173
3173
  }>>;
3174
3174
  error: z.ZodString;
3175
3175
  }, "strip", z.ZodTypeAny, {
3176
- operation: "get_application";
3177
- success: boolean;
3178
3176
  error: string;
3177
+ success: boolean;
3178
+ operation: "get_application";
3179
3179
  candidate?: {
3180
- id: string;
3181
3180
  name: string;
3181
+ id: string;
3182
3182
  createdAt?: string | undefined;
3183
3183
  updatedAt?: string | undefined;
3184
3184
  primaryEmailAddress?: {
@@ -3202,8 +3202,10 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3202
3202
  title: string;
3203
3203
  id: string;
3204
3204
  status?: string | undefined;
3205
+ locationId?: string | null | undefined;
3205
3206
  createdAt?: string | undefined;
3206
3207
  updatedAt?: string | undefined;
3208
+ teamId?: string | null | undefined;
3207
3209
  customFields?: {
3208
3210
  title: string;
3209
3211
  id: string;
@@ -3211,8 +3213,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3211
3213
  isPrivate?: boolean | undefined;
3212
3214
  }[] | undefined;
3213
3215
  departmentId?: string | null | undefined;
3214
- teamId?: string | null | undefined;
3215
- locationId?: string | null | undefined;
3216
3216
  locationIds?: string[] | undefined;
3217
3217
  openedAt?: string | null | undefined;
3218
3218
  closedAt?: string | null | undefined;
@@ -3220,6 +3220,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3220
3220
  application?: {
3221
3221
  id: string;
3222
3222
  status?: string | undefined;
3223
+ source?: unknown;
3223
3224
  createdAt?: string | undefined;
3224
3225
  updatedAt?: string | undefined;
3225
3226
  customFields?: {
@@ -3228,7 +3229,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3228
3229
  value?: unknown;
3229
3230
  isPrivate?: boolean | undefined;
3230
3231
  }[] | undefined;
3231
- source?: unknown;
3232
3232
  candidateId?: string | null | undefined;
3233
3233
  jobId?: string | null | undefined;
3234
3234
  currentInterviewStage?: {
@@ -3240,20 +3240,20 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3240
3240
  } | null | undefined;
3241
3241
  archiveReason?: unknown;
3242
3242
  hiringTeam?: {
3243
- userId: string;
3244
3243
  role: string;
3244
+ userId: string;
3245
3245
  email?: string | undefined;
3246
3246
  firstName?: string | undefined;
3247
3247
  lastName?: string | undefined;
3248
3248
  }[] | undefined;
3249
3249
  } | undefined;
3250
3250
  }, {
3251
- operation: "get_application";
3252
- success: boolean;
3253
3251
  error: string;
3252
+ success: boolean;
3253
+ operation: "get_application";
3254
3254
  candidate?: {
3255
- id: string;
3256
3255
  name: string;
3256
+ id: string;
3257
3257
  createdAt?: string | undefined;
3258
3258
  updatedAt?: string | undefined;
3259
3259
  primaryEmailAddress?: {
@@ -3277,8 +3277,10 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3277
3277
  title: string;
3278
3278
  id: string;
3279
3279
  status?: string | undefined;
3280
+ locationId?: string | null | undefined;
3280
3281
  createdAt?: string | undefined;
3281
3282
  updatedAt?: string | undefined;
3283
+ teamId?: string | null | undefined;
3282
3284
  customFields?: {
3283
3285
  title: string;
3284
3286
  id: string;
@@ -3286,8 +3288,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3286
3288
  isPrivate?: boolean | undefined;
3287
3289
  }[] | undefined;
3288
3290
  departmentId?: string | null | undefined;
3289
- teamId?: string | null | undefined;
3290
- locationId?: string | null | undefined;
3291
3291
  locationIds?: string[] | undefined;
3292
3292
  openedAt?: string | null | undefined;
3293
3293
  closedAt?: string | null | undefined;
@@ -3295,6 +3295,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3295
3295
  application?: {
3296
3296
  id: string;
3297
3297
  status?: string | undefined;
3298
+ source?: unknown;
3298
3299
  createdAt?: string | undefined;
3299
3300
  updatedAt?: string | undefined;
3300
3301
  customFields?: {
@@ -3303,7 +3304,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3303
3304
  value?: unknown;
3304
3305
  isPrivate?: boolean | undefined;
3305
3306
  }[] | undefined;
3306
- source?: unknown;
3307
3307
  candidateId?: string | null | undefined;
3308
3308
  jobId?: string | null | undefined;
3309
3309
  currentInterviewStage?: {
@@ -3315,8 +3315,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3315
3315
  } | null | undefined;
3316
3316
  archiveReason?: unknown;
3317
3317
  hiringTeam?: {
3318
- userId: string;
3319
3318
  role: string;
3319
+ userId: string;
3320
3320
  email?: string | undefined;
3321
3321
  firstName?: string | undefined;
3322
3322
  lastName?: string | undefined;
@@ -3376,14 +3376,14 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3376
3376
  firstName: z.ZodOptional<z.ZodString>;
3377
3377
  lastName: z.ZodOptional<z.ZodString>;
3378
3378
  }, "strip", z.ZodTypeAny, {
3379
- userId: string;
3380
3379
  role: string;
3380
+ userId: string;
3381
3381
  email?: string | undefined;
3382
3382
  firstName?: string | undefined;
3383
3383
  lastName?: string | undefined;
3384
3384
  }, {
3385
- userId: string;
3386
3385
  role: string;
3386
+ userId: string;
3387
3387
  email?: string | undefined;
3388
3388
  firstName?: string | undefined;
3389
3389
  lastName?: string | undefined;
@@ -3391,6 +3391,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3391
3391
  }, "strip", z.ZodTypeAny, {
3392
3392
  id: string;
3393
3393
  status?: string | undefined;
3394
+ source?: unknown;
3394
3395
  createdAt?: string | undefined;
3395
3396
  updatedAt?: string | undefined;
3396
3397
  customFields?: {
@@ -3399,7 +3400,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3399
3400
  value?: unknown;
3400
3401
  isPrivate?: boolean | undefined;
3401
3402
  }[] | undefined;
3402
- source?: unknown;
3403
3403
  candidateId?: string | null | undefined;
3404
3404
  jobId?: string | null | undefined;
3405
3405
  currentInterviewStage?: {
@@ -3411,8 +3411,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3411
3411
  } | null | undefined;
3412
3412
  archiveReason?: unknown;
3413
3413
  hiringTeam?: {
3414
- userId: string;
3415
3414
  role: string;
3415
+ userId: string;
3416
3416
  email?: string | undefined;
3417
3417
  firstName?: string | undefined;
3418
3418
  lastName?: string | undefined;
@@ -3420,6 +3420,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3420
3420
  }, {
3421
3421
  id: string;
3422
3422
  status?: string | undefined;
3423
+ source?: unknown;
3423
3424
  createdAt?: string | undefined;
3424
3425
  updatedAt?: string | undefined;
3425
3426
  customFields?: {
@@ -3428,7 +3429,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3428
3429
  value?: unknown;
3429
3430
  isPrivate?: boolean | undefined;
3430
3431
  }[] | undefined;
3431
- source?: unknown;
3432
3432
  candidateId?: string | null | undefined;
3433
3433
  jobId?: string | null | undefined;
3434
3434
  currentInterviewStage?: {
@@ -3440,8 +3440,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3440
3440
  } | null | undefined;
3441
3441
  archiveReason?: unknown;
3442
3442
  hiringTeam?: {
3443
- userId: string;
3444
3443
  role: string;
3444
+ userId: string;
3445
3445
  email?: string | undefined;
3446
3446
  firstName?: string | undefined;
3447
3447
  lastName?: string | undefined;
@@ -3449,12 +3449,13 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3449
3449
  }>>;
3450
3450
  error: z.ZodString;
3451
3451
  }, "strip", z.ZodTypeAny, {
3452
- operation: "create_application";
3453
- success: boolean;
3454
3452
  error: string;
3453
+ success: boolean;
3454
+ operation: "create_application";
3455
3455
  application?: {
3456
3456
  id: string;
3457
3457
  status?: string | undefined;
3458
+ source?: unknown;
3458
3459
  createdAt?: string | undefined;
3459
3460
  updatedAt?: string | undefined;
3460
3461
  customFields?: {
@@ -3463,7 +3464,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3463
3464
  value?: unknown;
3464
3465
  isPrivate?: boolean | undefined;
3465
3466
  }[] | undefined;
3466
- source?: unknown;
3467
3467
  candidateId?: string | null | undefined;
3468
3468
  jobId?: string | null | undefined;
3469
3469
  currentInterviewStage?: {
@@ -3475,20 +3475,21 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3475
3475
  } | null | undefined;
3476
3476
  archiveReason?: unknown;
3477
3477
  hiringTeam?: {
3478
- userId: string;
3479
3478
  role: string;
3479
+ userId: string;
3480
3480
  email?: string | undefined;
3481
3481
  firstName?: string | undefined;
3482
3482
  lastName?: string | undefined;
3483
3483
  }[] | undefined;
3484
3484
  } | undefined;
3485
3485
  }, {
3486
- operation: "create_application";
3487
- success: boolean;
3488
3486
  error: string;
3487
+ success: boolean;
3488
+ operation: "create_application";
3489
3489
  application?: {
3490
3490
  id: string;
3491
3491
  status?: string | undefined;
3492
+ source?: unknown;
3492
3493
  createdAt?: string | undefined;
3493
3494
  updatedAt?: string | undefined;
3494
3495
  customFields?: {
@@ -3497,7 +3498,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3497
3498
  value?: unknown;
3498
3499
  isPrivate?: boolean | undefined;
3499
3500
  }[] | undefined;
3500
- source?: unknown;
3501
3501
  candidateId?: string | null | undefined;
3502
3502
  jobId?: string | null | undefined;
3503
3503
  currentInterviewStage?: {
@@ -3509,8 +3509,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3509
3509
  } | null | undefined;
3510
3510
  archiveReason?: unknown;
3511
3511
  hiringTeam?: {
3512
- userId: string;
3513
3512
  role: string;
3513
+ userId: string;
3514
3514
  email?: string | undefined;
3515
3515
  firstName?: string | undefined;
3516
3516
  lastName?: string | undefined;
@@ -3570,14 +3570,14 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3570
3570
  firstName: z.ZodOptional<z.ZodString>;
3571
3571
  lastName: z.ZodOptional<z.ZodString>;
3572
3572
  }, "strip", z.ZodTypeAny, {
3573
- userId: string;
3574
3573
  role: string;
3574
+ userId: string;
3575
3575
  email?: string | undefined;
3576
3576
  firstName?: string | undefined;
3577
3577
  lastName?: string | undefined;
3578
3578
  }, {
3579
- userId: string;
3580
3579
  role: string;
3580
+ userId: string;
3581
3581
  email?: string | undefined;
3582
3582
  firstName?: string | undefined;
3583
3583
  lastName?: string | undefined;
@@ -3585,6 +3585,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3585
3585
  }, "strip", z.ZodTypeAny, {
3586
3586
  id: string;
3587
3587
  status?: string | undefined;
3588
+ source?: unknown;
3588
3589
  createdAt?: string | undefined;
3589
3590
  updatedAt?: string | undefined;
3590
3591
  customFields?: {
@@ -3593,7 +3594,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3593
3594
  value?: unknown;
3594
3595
  isPrivate?: boolean | undefined;
3595
3596
  }[] | undefined;
3596
- source?: unknown;
3597
3597
  candidateId?: string | null | undefined;
3598
3598
  jobId?: string | null | undefined;
3599
3599
  currentInterviewStage?: {
@@ -3605,8 +3605,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3605
3605
  } | null | undefined;
3606
3606
  archiveReason?: unknown;
3607
3607
  hiringTeam?: {
3608
- userId: string;
3609
3608
  role: string;
3609
+ userId: string;
3610
3610
  email?: string | undefined;
3611
3611
  firstName?: string | undefined;
3612
3612
  lastName?: string | undefined;
@@ -3614,6 +3614,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3614
3614
  }, {
3615
3615
  id: string;
3616
3616
  status?: string | undefined;
3617
+ source?: unknown;
3617
3618
  createdAt?: string | undefined;
3618
3619
  updatedAt?: string | undefined;
3619
3620
  customFields?: {
@@ -3622,7 +3623,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3622
3623
  value?: unknown;
3623
3624
  isPrivate?: boolean | undefined;
3624
3625
  }[] | undefined;
3625
- source?: unknown;
3626
3626
  candidateId?: string | null | undefined;
3627
3627
  jobId?: string | null | undefined;
3628
3628
  currentInterviewStage?: {
@@ -3634,8 +3634,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3634
3634
  } | null | undefined;
3635
3635
  archiveReason?: unknown;
3636
3636
  hiringTeam?: {
3637
- userId: string;
3638
3637
  role: string;
3638
+ userId: string;
3639
3639
  email?: string | undefined;
3640
3640
  firstName?: string | undefined;
3641
3641
  lastName?: string | undefined;
@@ -3643,12 +3643,13 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3643
3643
  }>>;
3644
3644
  error: z.ZodString;
3645
3645
  }, "strip", z.ZodTypeAny, {
3646
- operation: "change_application_stage";
3647
- success: boolean;
3648
3646
  error: string;
3647
+ success: boolean;
3648
+ operation: "change_application_stage";
3649
3649
  application?: {
3650
3650
  id: string;
3651
3651
  status?: string | undefined;
3652
+ source?: unknown;
3652
3653
  createdAt?: string | undefined;
3653
3654
  updatedAt?: string | undefined;
3654
3655
  customFields?: {
@@ -3657,7 +3658,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3657
3658
  value?: unknown;
3658
3659
  isPrivate?: boolean | undefined;
3659
3660
  }[] | undefined;
3660
- source?: unknown;
3661
3661
  candidateId?: string | null | undefined;
3662
3662
  jobId?: string | null | undefined;
3663
3663
  currentInterviewStage?: {
@@ -3669,20 +3669,21 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3669
3669
  } | null | undefined;
3670
3670
  archiveReason?: unknown;
3671
3671
  hiringTeam?: {
3672
- userId: string;
3673
3672
  role: string;
3673
+ userId: string;
3674
3674
  email?: string | undefined;
3675
3675
  firstName?: string | undefined;
3676
3676
  lastName?: string | undefined;
3677
3677
  }[] | undefined;
3678
3678
  } | undefined;
3679
3679
  }, {
3680
- operation: "change_application_stage";
3681
- success: boolean;
3682
3680
  error: string;
3681
+ success: boolean;
3682
+ operation: "change_application_stage";
3683
3683
  application?: {
3684
3684
  id: string;
3685
3685
  status?: string | undefined;
3686
+ source?: unknown;
3686
3687
  createdAt?: string | undefined;
3687
3688
  updatedAt?: string | undefined;
3688
3689
  customFields?: {
@@ -3691,7 +3692,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3691
3692
  value?: unknown;
3692
3693
  isPrivate?: boolean | undefined;
3693
3694
  }[] | undefined;
3694
- source?: unknown;
3695
3695
  candidateId?: string | null | undefined;
3696
3696
  jobId?: string | null | undefined;
3697
3697
  currentInterviewStage?: {
@@ -3703,8 +3703,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3703
3703
  } | null | undefined;
3704
3704
  archiveReason?: unknown;
3705
3705
  hiringTeam?: {
3706
- userId: string;
3707
3706
  role: string;
3707
+ userId: string;
3708
3708
  email?: string | undefined;
3709
3709
  firstName?: string | undefined;
3710
3710
  lastName?: string | undefined;
@@ -3761,8 +3761,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3761
3761
  isPrivate?: boolean | undefined;
3762
3762
  }>, "many">>;
3763
3763
  }, "strip", z.ZodTypeAny, {
3764
- id: string;
3765
3764
  name: string;
3765
+ id: string;
3766
3766
  createdAt?: string | undefined;
3767
3767
  updatedAt?: string | undefined;
3768
3768
  primaryEmailAddress?: {
@@ -3782,8 +3782,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3782
3782
  isPrivate?: boolean | undefined;
3783
3783
  }[] | undefined;
3784
3784
  }, {
3785
- id: string;
3786
3785
  name: string;
3786
+ id: string;
3787
3787
  createdAt?: string | undefined;
3788
3788
  updatedAt?: string | undefined;
3789
3789
  primaryEmailAddress?: {
@@ -3805,12 +3805,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3805
3805
  }>>;
3806
3806
  error: z.ZodString;
3807
3807
  }, "strip", z.ZodTypeAny, {
3808
- operation: "update_candidate";
3809
- success: boolean;
3810
3808
  error: string;
3809
+ success: boolean;
3810
+ operation: "update_candidate";
3811
3811
  candidate?: {
3812
- id: string;
3813
3812
  name: string;
3813
+ id: string;
3814
3814
  createdAt?: string | undefined;
3815
3815
  updatedAt?: string | undefined;
3816
3816
  primaryEmailAddress?: {
@@ -3831,12 +3831,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3831
3831
  }[] | undefined;
3832
3832
  } | undefined;
3833
3833
  }, {
3834
- operation: "update_candidate";
3835
- success: boolean;
3836
3834
  error: string;
3835
+ success: boolean;
3836
+ operation: "update_candidate";
3837
3837
  candidate?: {
3838
- id: string;
3839
3838
  name: string;
3839
+ id: string;
3840
3840
  createdAt?: string | undefined;
3841
3841
  updatedAt?: string | undefined;
3842
3842
  primaryEmailAddress?: {
@@ -3880,56 +3880,56 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3880
3880
  lastName?: string | undefined;
3881
3881
  }>>>;
3882
3882
  }, "strip", z.ZodTypeAny, {
3883
- id: string;
3884
3883
  content: string;
3885
- createdAt?: string | undefined;
3884
+ id: string;
3886
3885
  author?: {
3887
3886
  id: string;
3888
3887
  email?: string | undefined;
3889
3888
  firstName?: string | undefined;
3890
3889
  lastName?: string | undefined;
3891
3890
  } | null | undefined;
3891
+ createdAt?: string | undefined;
3892
3892
  }, {
3893
- id: string;
3894
3893
  content: string;
3895
- createdAt?: string | undefined;
3894
+ id: string;
3896
3895
  author?: {
3897
3896
  id: string;
3898
3897
  email?: string | undefined;
3899
3898
  firstName?: string | undefined;
3900
3899
  lastName?: string | undefined;
3901
3900
  } | null | undefined;
3901
+ createdAt?: string | undefined;
3902
3902
  }>>;
3903
3903
  error: z.ZodString;
3904
3904
  }, "strip", z.ZodTypeAny, {
3905
- operation: "create_note";
3906
- success: boolean;
3907
3905
  error: string;
3906
+ success: boolean;
3907
+ operation: "create_note";
3908
3908
  note?: {
3909
- id: string;
3910
3909
  content: string;
3911
- createdAt?: string | undefined;
3910
+ id: string;
3912
3911
  author?: {
3913
3912
  id: string;
3914
3913
  email?: string | undefined;
3915
3914
  firstName?: string | undefined;
3916
3915
  lastName?: string | undefined;
3917
3916
  } | null | undefined;
3917
+ createdAt?: string | undefined;
3918
3918
  } | undefined;
3919
3919
  }, {
3920
- operation: "create_note";
3921
- success: boolean;
3922
3920
  error: string;
3921
+ success: boolean;
3922
+ operation: "create_note";
3923
3923
  note?: {
3924
- id: string;
3925
3924
  content: string;
3926
- createdAt?: string | undefined;
3925
+ id: string;
3927
3926
  author?: {
3928
3927
  id: string;
3929
3928
  email?: string | undefined;
3930
3929
  firstName?: string | undefined;
3931
3930
  lastName?: string | undefined;
3932
3931
  } | null | undefined;
3932
+ createdAt?: string | undefined;
3933
3933
  } | undefined;
3934
3934
  }>, z.ZodObject<{
3935
3935
  operation: z.ZodLiteral<"list_notes">;
@@ -3955,56 +3955,56 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
3955
3955
  lastName?: string | undefined;
3956
3956
  }>>>;
3957
3957
  }, "strip", z.ZodTypeAny, {
3958
- id: string;
3959
3958
  content: string;
3960
- createdAt?: string | undefined;
3959
+ id: string;
3961
3960
  author?: {
3962
3961
  id: string;
3963
3962
  email?: string | undefined;
3964
3963
  firstName?: string | undefined;
3965
3964
  lastName?: string | undefined;
3966
3965
  } | null | undefined;
3966
+ createdAt?: string | undefined;
3967
3967
  }, {
3968
- id: string;
3969
3968
  content: string;
3970
- createdAt?: string | undefined;
3969
+ id: string;
3971
3970
  author?: {
3972
3971
  id: string;
3973
3972
  email?: string | undefined;
3974
3973
  firstName?: string | undefined;
3975
3974
  lastName?: string | undefined;
3976
3975
  } | null | undefined;
3976
+ createdAt?: string | undefined;
3977
3977
  }>, "many">>;
3978
3978
  error: z.ZodString;
3979
3979
  }, "strip", z.ZodTypeAny, {
3980
- operation: "list_notes";
3981
- success: boolean;
3982
3980
  error: string;
3981
+ success: boolean;
3982
+ operation: "list_notes";
3983
3983
  notes?: {
3984
- id: string;
3985
3984
  content: string;
3986
- createdAt?: string | undefined;
3985
+ id: string;
3987
3986
  author?: {
3988
3987
  id: string;
3989
3988
  email?: string | undefined;
3990
3989
  firstName?: string | undefined;
3991
3990
  lastName?: string | undefined;
3992
3991
  } | null | undefined;
3992
+ createdAt?: string | undefined;
3993
3993
  }[] | undefined;
3994
3994
  }, {
3995
- operation: "list_notes";
3996
- success: boolean;
3997
3995
  error: string;
3996
+ success: boolean;
3997
+ operation: "list_notes";
3998
3998
  notes?: {
3999
- id: string;
4000
3999
  content: string;
4001
- createdAt?: string | undefined;
4000
+ id: string;
4002
4001
  author?: {
4003
4002
  id: string;
4004
4003
  email?: string | undefined;
4005
4004
  firstName?: string | undefined;
4006
4005
  lastName?: string | undefined;
4007
4006
  } | null | undefined;
4007
+ createdAt?: string | undefined;
4008
4008
  }[] | undefined;
4009
4009
  }>, z.ZodObject<{
4010
4010
  operation: z.ZodLiteral<"list_sources">;
@@ -4024,18 +4024,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4024
4024
  }>, "many">>;
4025
4025
  error: z.ZodString;
4026
4026
  }, "strip", z.ZodTypeAny, {
4027
- operation: "list_sources";
4028
- success: boolean;
4029
4027
  error: string;
4028
+ success: boolean;
4029
+ operation: "list_sources";
4030
4030
  sources?: {
4031
4031
  title: string;
4032
4032
  id: string;
4033
4033
  isArchived?: boolean | undefined;
4034
4034
  }[] | undefined;
4035
4035
  }, {
4036
- operation: "list_sources";
4037
- success: boolean;
4038
4036
  error: string;
4037
+ success: boolean;
4038
+ operation: "list_sources";
4039
4039
  sources?: {
4040
4040
  title: string;
4041
4041
  id: string;
@@ -4065,9 +4065,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4065
4065
  }>, "many">>;
4066
4066
  error: z.ZodString;
4067
4067
  }, "strip", z.ZodTypeAny, {
4068
- operation: "list_interview_stages";
4069
- success: boolean;
4070
4068
  error: string;
4069
+ success: boolean;
4070
+ operation: "list_interview_stages";
4071
4071
  interview_stages?: {
4072
4072
  title: string;
4073
4073
  id: string;
@@ -4076,9 +4076,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4076
4076
  interviewPlanId?: string | undefined;
4077
4077
  }[] | undefined;
4078
4078
  }, {
4079
- operation: "list_interview_stages";
4080
- success: boolean;
4081
4079
  error: string;
4080
+ success: boolean;
4081
+ operation: "list_interview_stages";
4082
4082
  interview_stages?: {
4083
4083
  title: string;
4084
4084
  id: string;
@@ -4095,31 +4095,31 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4095
4095
  url: z.ZodString;
4096
4096
  }, "strip", z.ZodTypeAny, {
4097
4097
  url: string;
4098
- id?: string | undefined;
4099
4098
  name?: string | undefined;
4099
+ id?: string | undefined;
4100
4100
  }, {
4101
4101
  url: string;
4102
- id?: string | undefined;
4103
4102
  name?: string | undefined;
4103
+ id?: string | undefined;
4104
4104
  }>>;
4105
4105
  error: z.ZodString;
4106
4106
  }, "strip", z.ZodTypeAny, {
4107
- operation: "get_file_url";
4108
- success: boolean;
4109
4107
  error: string;
4108
+ success: boolean;
4109
+ operation: "get_file_url";
4110
4110
  file?: {
4111
4111
  url: string;
4112
- id?: string | undefined;
4113
4112
  name?: string | undefined;
4113
+ id?: string | undefined;
4114
4114
  } | undefined;
4115
4115
  }, {
4116
- operation: "get_file_url";
4117
- success: boolean;
4118
4116
  error: string;
4117
+ success: boolean;
4118
+ operation: "get_file_url";
4119
4119
  file?: {
4120
4120
  url: string;
4121
- id?: string | undefined;
4122
4121
  name?: string | undefined;
4122
+ id?: string | undefined;
4123
4123
  } | undefined;
4124
4124
  }>, z.ZodObject<{
4125
4125
  operation: z.ZodLiteral<"list_projects">;
@@ -4139,18 +4139,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4139
4139
  }>, "many">>;
4140
4140
  error: z.ZodString;
4141
4141
  }, "strip", z.ZodTypeAny, {
4142
- operation: "list_projects";
4143
- success: boolean;
4144
4142
  error: string;
4143
+ success: boolean;
4144
+ operation: "list_projects";
4145
4145
  projects?: {
4146
4146
  title: string;
4147
4147
  id: string;
4148
4148
  isArchived?: boolean | undefined;
4149
4149
  }[] | undefined;
4150
4150
  }, {
4151
- operation: "list_projects";
4152
- success: boolean;
4153
4151
  error: string;
4152
+ success: boolean;
4153
+ operation: "list_projects";
4154
4154
  projects?: {
4155
4155
  title: string;
4156
4156
  id: string;
@@ -4174,18 +4174,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4174
4174
  }>>;
4175
4175
  error: z.ZodString;
4176
4176
  }, "strip", z.ZodTypeAny, {
4177
- operation: "get_project";
4178
- success: boolean;
4179
4177
  error: string;
4178
+ success: boolean;
4179
+ operation: "get_project";
4180
4180
  project?: {
4181
4181
  title: string;
4182
4182
  id: string;
4183
4183
  isArchived?: boolean | undefined;
4184
4184
  } | undefined;
4185
4185
  }, {
4186
- operation: "get_project";
4187
- success: boolean;
4188
4186
  error: string;
4187
+ success: boolean;
4188
+ operation: "get_project";
4189
4189
  project?: {
4190
4190
  title: string;
4191
4191
  id: string;
@@ -4209,18 +4209,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4209
4209
  }>, "many">>;
4210
4210
  error: z.ZodString;
4211
4211
  }, "strip", z.ZodTypeAny, {
4212
- operation: "list_candidate_projects";
4213
- success: boolean;
4214
4212
  error: string;
4213
+ success: boolean;
4214
+ operation: "list_candidate_projects";
4215
4215
  projects?: {
4216
4216
  title: string;
4217
4217
  id: string;
4218
4218
  isArchived?: boolean | undefined;
4219
4219
  }[] | undefined;
4220
4220
  }, {
4221
- operation: "list_candidate_projects";
4222
- success: boolean;
4223
4221
  error: string;
4222
+ success: boolean;
4223
+ operation: "list_candidate_projects";
4224
4224
  projects?: {
4225
4225
  title: string;
4226
4226
  id: string;
@@ -4231,25 +4231,25 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4231
4231
  success: z.ZodBoolean;
4232
4232
  error: z.ZodString;
4233
4233
  }, "strip", z.ZodTypeAny, {
4234
- operation: "add_candidate_to_project";
4235
- success: boolean;
4236
4234
  error: string;
4237
- }, {
4238
- operation: "add_candidate_to_project";
4239
4235
  success: boolean;
4236
+ operation: "add_candidate_to_project";
4237
+ }, {
4240
4238
  error: string;
4239
+ success: boolean;
4240
+ operation: "add_candidate_to_project";
4241
4241
  }>, z.ZodObject<{
4242
4242
  operation: z.ZodLiteral<"remove_candidate_from_project">;
4243
4243
  success: z.ZodBoolean;
4244
4244
  error: z.ZodString;
4245
4245
  }, "strip", z.ZodTypeAny, {
4246
- operation: "remove_candidate_from_project";
4247
- success: boolean;
4248
4246
  error: string;
4249
- }, {
4250
- operation: "remove_candidate_from_project";
4251
4247
  success: boolean;
4248
+ operation: "remove_candidate_from_project";
4249
+ }, {
4252
4250
  error: string;
4251
+ success: boolean;
4252
+ operation: "remove_candidate_from_project";
4253
4253
  }>, z.ZodObject<{
4254
4254
  operation: z.ZodLiteral<"list_project_candidate_ids">;
4255
4255
  success: z.ZodBoolean;
@@ -4258,16 +4258,16 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4258
4258
  more_data_available: z.ZodOptional<z.ZodBoolean>;
4259
4259
  error: z.ZodString;
4260
4260
  }, "strip", z.ZodTypeAny, {
4261
- operation: "list_project_candidate_ids";
4262
- success: boolean;
4263
4261
  error: string;
4262
+ success: boolean;
4263
+ operation: "list_project_candidate_ids";
4264
4264
  next_cursor?: string | undefined;
4265
4265
  more_data_available?: boolean | undefined;
4266
4266
  candidate_ids?: string[] | undefined;
4267
4267
  }, {
4268
- operation: "list_project_candidate_ids";
4269
- success: boolean;
4270
4268
  error: string;
4269
+ success: boolean;
4270
+ operation: "list_project_candidate_ids";
4271
4271
  next_cursor?: string | undefined;
4272
4272
  more_data_available?: boolean | undefined;
4273
4273
  candidate_ids?: string[] | undefined;
@@ -4286,25 +4286,25 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4286
4286
  projectIds: z.ZodArray<z.ZodString, "many">;
4287
4287
  projectNames: z.ZodArray<z.ZodString, "many">;
4288
4288
  }, "strip", z.ZodTypeAny, {
4289
- id: string;
4290
4289
  name: string;
4291
- tags: string[];
4292
- position: string | null;
4293
- company: string | null;
4294
4290
  email: string | null;
4291
+ id: string;
4292
+ tags: string[];
4295
4293
  phone: string | null;
4296
4294
  linkedinUrl: string | null;
4295
+ position: string | null;
4296
+ company: string | null;
4297
4297
  projectIds: string[];
4298
4298
  projectNames: string[];
4299
4299
  }, {
4300
- id: string;
4301
4300
  name: string;
4302
- tags: string[];
4303
- position: string | null;
4304
- company: string | null;
4305
4301
  email: string | null;
4302
+ id: string;
4303
+ tags: string[];
4306
4304
  phone: string | null;
4307
4305
  linkedinUrl: string | null;
4306
+ position: string | null;
4307
+ company: string | null;
4308
4308
  projectIds: string[];
4309
4309
  projectNames: string[];
4310
4310
  }>, "many">>;
@@ -4325,49 +4325,49 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
4325
4325
  total_enriched: z.ZodOptional<z.ZodNumber>;
4326
4326
  error: z.ZodString;
4327
4327
  }, "strip", z.ZodTypeAny, {
4328
- operation: "get_all_candidates_with_projects";
4329
- success: boolean;
4330
4328
  error: string;
4331
- candidates?: {
4329
+ success: boolean;
4330
+ operation: "get_all_candidates_with_projects";
4331
+ projects?: {
4332
+ title: string;
4332
4333
  id: string;
4334
+ isArchived?: boolean | undefined;
4335
+ }[] | undefined;
4336
+ candidates?: {
4333
4337
  name: string;
4334
- tags: string[];
4335
- position: string | null;
4336
- company: string | null;
4337
4338
  email: string | null;
4339
+ id: string;
4340
+ tags: string[];
4338
4341
  phone: string | null;
4339
4342
  linkedinUrl: string | null;
4343
+ position: string | null;
4344
+ company: string | null;
4340
4345
  projectIds: string[];
4341
4346
  projectNames: string[];
4342
4347
  }[] | undefined;
4348
+ total_candidates?: number | undefined;
4349
+ total_enriched?: number | undefined;
4350
+ }, {
4351
+ error: string;
4352
+ success: boolean;
4353
+ operation: "get_all_candidates_with_projects";
4343
4354
  projects?: {
4344
4355
  title: string;
4345
4356
  id: string;
4346
4357
  isArchived?: boolean | undefined;
4347
4358
  }[] | undefined;
4348
- total_candidates?: number | undefined;
4349
- total_enriched?: number | undefined;
4350
- }, {
4351
- operation: "get_all_candidates_with_projects";
4352
- success: boolean;
4353
- error: string;
4354
4359
  candidates?: {
4355
- id: string;
4356
4360
  name: string;
4357
- tags: string[];
4358
- position: string | null;
4359
- company: string | null;
4360
4361
  email: string | null;
4362
+ id: string;
4363
+ tags: string[];
4361
4364
  phone: string | null;
4362
4365
  linkedinUrl: string | null;
4366
+ position: string | null;
4367
+ company: string | null;
4363
4368
  projectIds: string[];
4364
4369
  projectNames: string[];
4365
4370
  }[] | undefined;
4366
- projects?: {
4367
- title: string;
4368
- id: string;
4369
- isArchived?: boolean | undefined;
4370
- }[] | undefined;
4371
4371
  total_candidates?: number | undefined;
4372
4372
  total_enriched?: number | undefined;
4373
4373
  }>]>;