@bubblelab/bubble-core 0.1.248 → 0.1.250
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bubble-bundle.d.ts +101 -101
- package/dist/bubbles/service-bubble/ai-agent.d.ts +70 -70
- package/dist/bubbles/service-bubble/airtable.d.ts +76 -76
- package/dist/bubbles/service-bubble/apify/actors/app-rankings-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +132 -132
- package/dist/bubbles/service-bubble/apify/apify.d.ts +22 -22
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +423 -52
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.js +233 -20
- package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +741 -326
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.schema.js +224 -0
- package/dist/bubbles/service-bubble/ashby/ashby.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/index.d.ts +1 -1
- package/dist/bubbles/service-bubble/ashby/index.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ashby/index.js +1 -1
- package/dist/bubbles/service-bubble/ashby/index.js.map +1 -1
- package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.d.ts +4 -4
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +3 -3
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +78 -78
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
- package/dist/bubbles/service-bubble/firecrawl.d.ts +256 -256
- package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
- package/dist/bubbles/service-bubble/gmail.d.ts +104 -104
- package/dist/bubbles/service-bubble/google-drive.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +6 -6
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +16 -16
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/notion/notion.d.ts +268 -268
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +13 -13
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +18 -18
- package/dist/bubbles/service-bubble/resend.d.ts +4 -4
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +4 -4
- package/dist/bubbles/service-bubble/slab/slab.d.ts +16 -16
- package/dist/bubbles/service-bubble/slack/slack.d.ts +291 -291
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +32 -32
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +20 -20
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +20 -20
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
- package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +380 -380
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +40 -40
- package/dist/bubbles.json +602 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -102,8 +102,8 @@ export declare const AshbyCandidateSchema: z.ZodObject<{
|
|
|
102
102
|
isPrivate?: boolean | undefined;
|
|
103
103
|
}>, "many">>;
|
|
104
104
|
}, "strip", z.ZodTypeAny, {
|
|
105
|
-
name: string;
|
|
106
105
|
id: string;
|
|
106
|
+
name: string;
|
|
107
107
|
createdAt?: string | undefined;
|
|
108
108
|
updatedAt?: string | undefined;
|
|
109
109
|
primaryEmailAddress?: {
|
|
@@ -123,8 +123,8 @@ export declare const AshbyCandidateSchema: z.ZodObject<{
|
|
|
123
123
|
isPrivate?: boolean | undefined;
|
|
124
124
|
}[] | undefined;
|
|
125
125
|
}, {
|
|
126
|
-
name: string;
|
|
127
126
|
id: string;
|
|
127
|
+
name: string;
|
|
128
128
|
createdAt?: string | undefined;
|
|
129
129
|
updatedAt?: string | undefined;
|
|
130
130
|
primaryEmailAddress?: {
|
|
@@ -181,12 +181,12 @@ export declare const AshbyFileHandleSchema: z.ZodObject<{
|
|
|
181
181
|
name: z.ZodString;
|
|
182
182
|
handle: z.ZodString;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
-
name: string;
|
|
185
184
|
id: string;
|
|
185
|
+
name: string;
|
|
186
186
|
handle: string;
|
|
187
187
|
}, {
|
|
188
|
-
name: string;
|
|
189
188
|
id: string;
|
|
189
|
+
name: string;
|
|
190
190
|
handle: string;
|
|
191
191
|
}>;
|
|
192
192
|
/**
|
|
@@ -198,12 +198,12 @@ export declare const AshbySelectableValueSchema: z.ZodObject<{
|
|
|
198
198
|
isArchived: z.ZodBoolean;
|
|
199
199
|
}, "strip", z.ZodTypeAny, {
|
|
200
200
|
value: string;
|
|
201
|
-
label: string;
|
|
202
201
|
isArchived: boolean;
|
|
202
|
+
label: string;
|
|
203
203
|
}, {
|
|
204
204
|
value: string;
|
|
205
|
-
label: string;
|
|
206
205
|
isArchived: boolean;
|
|
206
|
+
label: string;
|
|
207
207
|
}>;
|
|
208
208
|
/**
|
|
209
209
|
* Custom field definition from Ashby API (from customField.list endpoint)
|
|
@@ -221,36 +221,36 @@ export declare const AshbyCustomFieldDefinitionSchema: z.ZodObject<{
|
|
|
221
221
|
isArchived: z.ZodBoolean;
|
|
222
222
|
}, "strip", z.ZodTypeAny, {
|
|
223
223
|
value: string;
|
|
224
|
-
label: string;
|
|
225
224
|
isArchived: boolean;
|
|
225
|
+
label: string;
|
|
226
226
|
}, {
|
|
227
227
|
value: string;
|
|
228
|
-
label: string;
|
|
229
228
|
isArchived: boolean;
|
|
229
|
+
label: string;
|
|
230
230
|
}>, "many">>;
|
|
231
231
|
}, "strip", z.ZodTypeAny, {
|
|
232
232
|
title: string;
|
|
233
233
|
id: string;
|
|
234
|
-
fieldType: string;
|
|
235
234
|
isPrivate: boolean;
|
|
236
235
|
isArchived: boolean;
|
|
237
236
|
objectType: string;
|
|
237
|
+
fieldType: string;
|
|
238
238
|
selectableValues?: {
|
|
239
239
|
value: string;
|
|
240
|
-
label: string;
|
|
241
240
|
isArchived: boolean;
|
|
241
|
+
label: string;
|
|
242
242
|
}[] | undefined;
|
|
243
243
|
}, {
|
|
244
244
|
title: string;
|
|
245
245
|
id: string;
|
|
246
|
-
fieldType: string;
|
|
247
246
|
isPrivate: boolean;
|
|
248
247
|
isArchived: boolean;
|
|
249
248
|
objectType: string;
|
|
249
|
+
fieldType: string;
|
|
250
250
|
selectableValues?: {
|
|
251
251
|
value: string;
|
|
252
|
-
label: string;
|
|
253
252
|
isArchived: boolean;
|
|
253
|
+
label: string;
|
|
254
254
|
}[] | undefined;
|
|
255
255
|
}>;
|
|
256
256
|
/**
|
|
@@ -345,12 +345,12 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
|
|
|
345
345
|
name: z.ZodString;
|
|
346
346
|
handle: z.ZodString;
|
|
347
347
|
}, "strip", z.ZodTypeAny, {
|
|
348
|
-
name: string;
|
|
349
348
|
id: string;
|
|
349
|
+
name: string;
|
|
350
350
|
handle: string;
|
|
351
351
|
}, {
|
|
352
|
-
name: string;
|
|
353
352
|
id: string;
|
|
353
|
+
name: string;
|
|
354
354
|
handle: string;
|
|
355
355
|
}>>>;
|
|
356
356
|
fileHandles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -358,12 +358,12 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
|
|
|
358
358
|
name: z.ZodString;
|
|
359
359
|
handle: z.ZodString;
|
|
360
360
|
}, "strip", z.ZodTypeAny, {
|
|
361
|
-
name: string;
|
|
362
361
|
id: string;
|
|
362
|
+
name: string;
|
|
363
363
|
handle: string;
|
|
364
364
|
}, {
|
|
365
|
-
name: string;
|
|
366
365
|
id: string;
|
|
366
|
+
name: string;
|
|
367
367
|
handle: string;
|
|
368
368
|
}>, "many">>;
|
|
369
369
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -386,16 +386,8 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
|
|
|
386
386
|
source: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
|
387
387
|
creditedToUser: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
|
388
388
|
}, "strip", z.ZodTypeAny, {
|
|
389
|
-
name: string;
|
|
390
389
|
id: string;
|
|
391
|
-
|
|
392
|
-
title: string;
|
|
393
|
-
id: string;
|
|
394
|
-
isArchived?: boolean | undefined;
|
|
395
|
-
}[] | undefined;
|
|
396
|
-
position?: string | null | undefined;
|
|
397
|
-
profileUrl?: string | null | undefined;
|
|
398
|
-
source?: unknown;
|
|
390
|
+
name: string;
|
|
399
391
|
createdAt?: string | undefined;
|
|
400
392
|
updatedAt?: string | undefined;
|
|
401
393
|
primaryEmailAddress?: {
|
|
@@ -428,31 +420,31 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
|
|
|
428
420
|
type: string;
|
|
429
421
|
url: string;
|
|
430
422
|
}[] | undefined;
|
|
423
|
+
tags?: {
|
|
424
|
+
title: string;
|
|
425
|
+
id: string;
|
|
426
|
+
isArchived?: boolean | undefined;
|
|
427
|
+
}[] | undefined;
|
|
428
|
+
position?: string | null | undefined;
|
|
431
429
|
company?: string | null | undefined;
|
|
432
430
|
school?: string | null | undefined;
|
|
433
431
|
applicationIds?: string[] | undefined;
|
|
434
432
|
resumeFileHandle?: {
|
|
435
|
-
name: string;
|
|
436
433
|
id: string;
|
|
434
|
+
name: string;
|
|
437
435
|
handle: string;
|
|
438
436
|
} | null | undefined;
|
|
439
437
|
fileHandles?: {
|
|
440
|
-
name: string;
|
|
441
438
|
id: string;
|
|
439
|
+
name: string;
|
|
442
440
|
handle: string;
|
|
443
441
|
}[] | undefined;
|
|
442
|
+
profileUrl?: string | null | undefined;
|
|
443
|
+
source?: unknown;
|
|
444
444
|
creditedToUser?: unknown;
|
|
445
445
|
}, {
|
|
446
|
-
name: string;
|
|
447
446
|
id: string;
|
|
448
|
-
|
|
449
|
-
title: string;
|
|
450
|
-
id: string;
|
|
451
|
-
isArchived?: boolean | undefined;
|
|
452
|
-
}[] | undefined;
|
|
453
|
-
position?: string | null | undefined;
|
|
454
|
-
profileUrl?: string | null | undefined;
|
|
455
|
-
source?: unknown;
|
|
447
|
+
name: string;
|
|
456
448
|
createdAt?: string | undefined;
|
|
457
449
|
updatedAt?: string | undefined;
|
|
458
450
|
primaryEmailAddress?: {
|
|
@@ -485,21 +477,66 @@ export declare const AshbyCandidateListItemSchema: z.ZodObject<{
|
|
|
485
477
|
type: string;
|
|
486
478
|
url: string;
|
|
487
479
|
}[] | undefined;
|
|
480
|
+
tags?: {
|
|
481
|
+
title: string;
|
|
482
|
+
id: string;
|
|
483
|
+
isArchived?: boolean | undefined;
|
|
484
|
+
}[] | undefined;
|
|
485
|
+
position?: string | null | undefined;
|
|
488
486
|
company?: string | null | undefined;
|
|
489
487
|
school?: string | null | undefined;
|
|
490
488
|
applicationIds?: string[] | undefined;
|
|
491
489
|
resumeFileHandle?: {
|
|
492
|
-
name: string;
|
|
493
490
|
id: string;
|
|
491
|
+
name: string;
|
|
494
492
|
handle: string;
|
|
495
493
|
} | null | undefined;
|
|
496
494
|
fileHandles?: {
|
|
497
|
-
name: string;
|
|
498
495
|
id: string;
|
|
496
|
+
name: string;
|
|
499
497
|
handle: string;
|
|
500
498
|
}[] | undefined;
|
|
499
|
+
profileUrl?: string | null | undefined;
|
|
500
|
+
source?: unknown;
|
|
501
501
|
creditedToUser?: unknown;
|
|
502
502
|
}>;
|
|
503
|
+
/**
|
|
504
|
+
* Candidate enriched with project associations (from get_all_candidates_with_projects)
|
|
505
|
+
*/
|
|
506
|
+
export declare const AshbyEnrichedCandidateSchema: z.ZodObject<{
|
|
507
|
+
id: z.ZodString;
|
|
508
|
+
name: z.ZodString;
|
|
509
|
+
email: z.ZodNullable<z.ZodString>;
|
|
510
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
511
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
512
|
+
position: z.ZodNullable<z.ZodString>;
|
|
513
|
+
company: z.ZodNullable<z.ZodString>;
|
|
514
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
515
|
+
projectIds: z.ZodArray<z.ZodString, "many">;
|
|
516
|
+
projectNames: z.ZodArray<z.ZodString, "many">;
|
|
517
|
+
}, "strip", z.ZodTypeAny, {
|
|
518
|
+
id: string;
|
|
519
|
+
name: string;
|
|
520
|
+
tags: string[];
|
|
521
|
+
position: string | null;
|
|
522
|
+
company: string | null;
|
|
523
|
+
email: string | null;
|
|
524
|
+
phone: string | null;
|
|
525
|
+
linkedinUrl: string | null;
|
|
526
|
+
projectIds: string[];
|
|
527
|
+
projectNames: string[];
|
|
528
|
+
}, {
|
|
529
|
+
id: string;
|
|
530
|
+
name: string;
|
|
531
|
+
tags: string[];
|
|
532
|
+
position: string | null;
|
|
533
|
+
company: string | null;
|
|
534
|
+
email: string | null;
|
|
535
|
+
phone: string | null;
|
|
536
|
+
linkedinUrl: string | null;
|
|
537
|
+
projectIds: string[];
|
|
538
|
+
projectNames: string[];
|
|
539
|
+
}>;
|
|
503
540
|
/**
|
|
504
541
|
* Job object from Ashby API
|
|
505
542
|
*/
|
|
@@ -535,10 +572,8 @@ export declare const AshbyJobSchema: z.ZodObject<{
|
|
|
535
572
|
title: string;
|
|
536
573
|
id: string;
|
|
537
574
|
status?: string | undefined;
|
|
538
|
-
locationId?: string | null | undefined;
|
|
539
575
|
createdAt?: string | undefined;
|
|
540
576
|
updatedAt?: string | undefined;
|
|
541
|
-
teamId?: string | null | undefined;
|
|
542
577
|
customFields?: {
|
|
543
578
|
title: string;
|
|
544
579
|
id: string;
|
|
@@ -546,6 +581,8 @@ export declare const AshbyJobSchema: z.ZodObject<{
|
|
|
546
581
|
isPrivate?: boolean | undefined;
|
|
547
582
|
}[] | undefined;
|
|
548
583
|
departmentId?: string | null | undefined;
|
|
584
|
+
teamId?: string | null | undefined;
|
|
585
|
+
locationId?: string | null | undefined;
|
|
549
586
|
locationIds?: string[] | undefined;
|
|
550
587
|
openedAt?: string | null | undefined;
|
|
551
588
|
closedAt?: string | null | undefined;
|
|
@@ -553,10 +590,8 @@ export declare const AshbyJobSchema: z.ZodObject<{
|
|
|
553
590
|
title: string;
|
|
554
591
|
id: string;
|
|
555
592
|
status?: string | undefined;
|
|
556
|
-
locationId?: string | null | undefined;
|
|
557
593
|
createdAt?: string | undefined;
|
|
558
594
|
updatedAt?: string | undefined;
|
|
559
|
-
teamId?: string | null | undefined;
|
|
560
595
|
customFields?: {
|
|
561
596
|
title: string;
|
|
562
597
|
id: string;
|
|
@@ -564,6 +599,8 @@ export declare const AshbyJobSchema: z.ZodObject<{
|
|
|
564
599
|
isPrivate?: boolean | undefined;
|
|
565
600
|
}[] | undefined;
|
|
566
601
|
departmentId?: string | null | undefined;
|
|
602
|
+
teamId?: string | null | undefined;
|
|
603
|
+
locationId?: string | null | undefined;
|
|
567
604
|
locationIds?: string[] | undefined;
|
|
568
605
|
openedAt?: string | null | undefined;
|
|
569
606
|
closedAt?: string | null | undefined;
|
|
@@ -644,14 +681,14 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
|
|
|
644
681
|
firstName: z.ZodOptional<z.ZodString>;
|
|
645
682
|
lastName: z.ZodOptional<z.ZodString>;
|
|
646
683
|
}, "strip", z.ZodTypeAny, {
|
|
647
|
-
role: string;
|
|
648
684
|
userId: string;
|
|
685
|
+
role: string;
|
|
649
686
|
email?: string | undefined;
|
|
650
687
|
firstName?: string | undefined;
|
|
651
688
|
lastName?: string | undefined;
|
|
652
689
|
}, {
|
|
653
|
-
role: string;
|
|
654
690
|
userId: string;
|
|
691
|
+
role: string;
|
|
655
692
|
email?: string | undefined;
|
|
656
693
|
firstName?: string | undefined;
|
|
657
694
|
lastName?: string | undefined;
|
|
@@ -659,7 +696,6 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
|
|
|
659
696
|
}, "strip", z.ZodTypeAny, {
|
|
660
697
|
id: string;
|
|
661
698
|
status?: string | undefined;
|
|
662
|
-
source?: unknown;
|
|
663
699
|
createdAt?: string | undefined;
|
|
664
700
|
updatedAt?: string | undefined;
|
|
665
701
|
customFields?: {
|
|
@@ -668,6 +704,7 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
|
|
|
668
704
|
value?: unknown;
|
|
669
705
|
isPrivate?: boolean | undefined;
|
|
670
706
|
}[] | undefined;
|
|
707
|
+
source?: unknown;
|
|
671
708
|
candidateId?: string | null | undefined;
|
|
672
709
|
jobId?: string | null | undefined;
|
|
673
710
|
currentInterviewStage?: {
|
|
@@ -679,8 +716,8 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
|
|
|
679
716
|
} | null | undefined;
|
|
680
717
|
archiveReason?: unknown;
|
|
681
718
|
hiringTeam?: {
|
|
682
|
-
role: string;
|
|
683
719
|
userId: string;
|
|
720
|
+
role: string;
|
|
684
721
|
email?: string | undefined;
|
|
685
722
|
firstName?: string | undefined;
|
|
686
723
|
lastName?: string | undefined;
|
|
@@ -688,7 +725,6 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
|
|
|
688
725
|
}, {
|
|
689
726
|
id: string;
|
|
690
727
|
status?: string | undefined;
|
|
691
|
-
source?: unknown;
|
|
692
728
|
createdAt?: string | undefined;
|
|
693
729
|
updatedAt?: string | undefined;
|
|
694
730
|
customFields?: {
|
|
@@ -697,6 +733,7 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
|
|
|
697
733
|
value?: unknown;
|
|
698
734
|
isPrivate?: boolean | undefined;
|
|
699
735
|
}[] | undefined;
|
|
736
|
+
source?: unknown;
|
|
700
737
|
candidateId?: string | null | undefined;
|
|
701
738
|
jobId?: string | null | undefined;
|
|
702
739
|
currentInterviewStage?: {
|
|
@@ -708,8 +745,8 @@ export declare const AshbyApplicationSchema: z.ZodObject<{
|
|
|
708
745
|
} | null | undefined;
|
|
709
746
|
archiveReason?: unknown;
|
|
710
747
|
hiringTeam?: {
|
|
711
|
-
role: string;
|
|
712
748
|
userId: string;
|
|
749
|
+
role: string;
|
|
713
750
|
email?: string | undefined;
|
|
714
751
|
firstName?: string | undefined;
|
|
715
752
|
lastName?: string | undefined;
|
|
@@ -739,25 +776,25 @@ export declare const AshbyNoteSchema: z.ZodObject<{
|
|
|
739
776
|
lastName?: string | undefined;
|
|
740
777
|
}>>>;
|
|
741
778
|
}, "strip", z.ZodTypeAny, {
|
|
742
|
-
content: string;
|
|
743
779
|
id: string;
|
|
780
|
+
content: string;
|
|
781
|
+
createdAt?: string | undefined;
|
|
744
782
|
author?: {
|
|
745
783
|
id: string;
|
|
746
784
|
email?: string | undefined;
|
|
747
785
|
firstName?: string | undefined;
|
|
748
786
|
lastName?: string | undefined;
|
|
749
787
|
} | null | undefined;
|
|
750
|
-
createdAt?: string | undefined;
|
|
751
788
|
}, {
|
|
752
|
-
content: string;
|
|
753
789
|
id: string;
|
|
790
|
+
content: string;
|
|
791
|
+
createdAt?: string | undefined;
|
|
754
792
|
author?: {
|
|
755
793
|
id: string;
|
|
756
794
|
email?: string | undefined;
|
|
757
795
|
firstName?: string | undefined;
|
|
758
796
|
lastName?: string | undefined;
|
|
759
797
|
} | null | undefined;
|
|
760
|
-
createdAt?: string | undefined;
|
|
761
798
|
}>;
|
|
762
799
|
/**
|
|
763
800
|
* Source object from Ashby API
|
|
@@ -775,6 +812,22 @@ export declare const AshbySourceSchema: z.ZodObject<{
|
|
|
775
812
|
id: string;
|
|
776
813
|
isArchived?: boolean | undefined;
|
|
777
814
|
}>;
|
|
815
|
+
/**
|
|
816
|
+
* Project object from Ashby API
|
|
817
|
+
*/
|
|
818
|
+
export declare const AshbyProjectSchema: z.ZodObject<{
|
|
819
|
+
id: z.ZodString;
|
|
820
|
+
title: z.ZodString;
|
|
821
|
+
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
822
|
+
}, "strip", z.ZodTypeAny, {
|
|
823
|
+
title: string;
|
|
824
|
+
id: string;
|
|
825
|
+
isArchived?: boolean | undefined;
|
|
826
|
+
}, {
|
|
827
|
+
title: string;
|
|
828
|
+
id: string;
|
|
829
|
+
isArchived?: boolean | undefined;
|
|
830
|
+
}>;
|
|
778
831
|
/**
|
|
779
832
|
* File info response from Ashby API (file.info endpoint)
|
|
780
833
|
*/
|
|
@@ -784,12 +837,12 @@ export declare const AshbyFileInfoSchema: z.ZodObject<{
|
|
|
784
837
|
url: z.ZodString;
|
|
785
838
|
}, "strip", z.ZodTypeAny, {
|
|
786
839
|
url: string;
|
|
787
|
-
name?: string | undefined;
|
|
788
840
|
id?: string | undefined;
|
|
841
|
+
name?: string | undefined;
|
|
789
842
|
}, {
|
|
790
843
|
url: string;
|
|
791
|
-
name?: string | undefined;
|
|
792
844
|
id?: string | undefined;
|
|
845
|
+
name?: string | undefined;
|
|
793
846
|
}>;
|
|
794
847
|
export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
795
848
|
operation: z.ZodLiteral<"list_candidates">;
|
|
@@ -803,18 +856,18 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
803
856
|
operation: "list_candidates";
|
|
804
857
|
limit: number;
|
|
805
858
|
status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
|
|
806
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
807
859
|
cursor?: string | undefined;
|
|
808
860
|
job_id?: string | undefined;
|
|
809
861
|
created_after?: number | undefined;
|
|
862
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
810
863
|
}, {
|
|
811
864
|
operation: "list_candidates";
|
|
812
865
|
status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
|
|
813
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
814
866
|
limit?: number | undefined;
|
|
815
867
|
cursor?: string | undefined;
|
|
816
868
|
job_id?: string | undefined;
|
|
817
869
|
created_after?: number | undefined;
|
|
870
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
818
871
|
}>, z.ZodObject<{
|
|
819
872
|
operation: z.ZodLiteral<"get_candidate">;
|
|
820
873
|
candidate_id: z.ZodString;
|
|
@@ -854,32 +907,32 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
854
907
|
operation: "create_candidate";
|
|
855
908
|
allow_duplicate_linkedin: boolean;
|
|
856
909
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
857
|
-
website?: string | undefined;
|
|
858
910
|
emails?: {
|
|
859
911
|
type: "Personal" | "Work" | "Other";
|
|
860
912
|
email: string;
|
|
861
913
|
}[] | undefined;
|
|
862
|
-
tag?: string | undefined;
|
|
863
914
|
phone_number?: string | undefined;
|
|
864
915
|
linkedin_url?: string | undefined;
|
|
865
916
|
github_url?: string | undefined;
|
|
917
|
+
website?: string | undefined;
|
|
866
918
|
source_id?: string | undefined;
|
|
867
919
|
credited_to_user_id?: string | undefined;
|
|
920
|
+
tag?: string | undefined;
|
|
868
921
|
}, {
|
|
869
922
|
name: string;
|
|
870
923
|
operation: "create_candidate";
|
|
871
924
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
872
|
-
website?: string | undefined;
|
|
873
925
|
emails?: {
|
|
874
926
|
type: "Personal" | "Work" | "Other";
|
|
875
927
|
email: string;
|
|
876
928
|
}[] | undefined;
|
|
877
|
-
tag?: string | undefined;
|
|
878
929
|
phone_number?: string | undefined;
|
|
879
930
|
linkedin_url?: string | undefined;
|
|
880
931
|
github_url?: string | undefined;
|
|
932
|
+
website?: string | undefined;
|
|
881
933
|
source_id?: string | undefined;
|
|
882
934
|
credited_to_user_id?: string | undefined;
|
|
935
|
+
tag?: string | undefined;
|
|
883
936
|
allow_duplicate_linkedin?: boolean | undefined;
|
|
884
937
|
}>, z.ZodObject<{
|
|
885
938
|
operation: z.ZodLiteral<"search_candidates">;
|
|
@@ -889,13 +942,13 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
889
942
|
}, "strip", z.ZodTypeAny, {
|
|
890
943
|
operation: "search_candidates";
|
|
891
944
|
name?: string | undefined;
|
|
892
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
893
945
|
email?: string | undefined;
|
|
946
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
894
947
|
}, {
|
|
895
948
|
operation: "search_candidates";
|
|
896
949
|
name?: string | undefined;
|
|
897
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
898
950
|
email?: string | undefined;
|
|
951
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
899
952
|
}>, z.ZodObject<{
|
|
900
953
|
operation: z.ZodLiteral<"add_tag">;
|
|
901
954
|
candidate_id: z.ZodString;
|
|
@@ -944,14 +997,14 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
944
997
|
}, "strip", z.ZodTypeAny, {
|
|
945
998
|
operation: "list_custom_fields";
|
|
946
999
|
limit: number;
|
|
947
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
948
1000
|
cursor?: string | undefined;
|
|
1001
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
949
1002
|
sync_token?: string | undefined;
|
|
950
1003
|
}, {
|
|
951
1004
|
operation: "list_custom_fields";
|
|
952
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
953
1005
|
limit?: number | undefined;
|
|
954
1006
|
cursor?: string | undefined;
|
|
1007
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
955
1008
|
sync_token?: string | undefined;
|
|
956
1009
|
}>, z.ZodObject<{
|
|
957
1010
|
operation: z.ZodLiteral<"list_jobs">;
|
|
@@ -963,14 +1016,14 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
963
1016
|
operation: "list_jobs";
|
|
964
1017
|
limit: number;
|
|
965
1018
|
status?: "Archived" | "Open" | "Closed" | "Draft" | undefined;
|
|
966
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
967
1019
|
cursor?: string | undefined;
|
|
1020
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
968
1021
|
}, {
|
|
969
1022
|
operation: "list_jobs";
|
|
970
1023
|
status?: "Archived" | "Open" | "Closed" | "Draft" | undefined;
|
|
971
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
972
1024
|
limit?: number | undefined;
|
|
973
1025
|
cursor?: string | undefined;
|
|
1026
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
974
1027
|
}>, z.ZodObject<{
|
|
975
1028
|
operation: z.ZodLiteral<"get_job">;
|
|
976
1029
|
job_id: z.ZodString;
|
|
@@ -996,19 +1049,19 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
996
1049
|
operation: "list_applications";
|
|
997
1050
|
limit: number;
|
|
998
1051
|
status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
|
|
999
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1000
1052
|
cursor?: string | undefined;
|
|
1001
1053
|
job_id?: string | undefined;
|
|
1002
1054
|
created_after?: number | undefined;
|
|
1055
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1003
1056
|
candidate_id?: string | undefined;
|
|
1004
1057
|
}, {
|
|
1005
1058
|
operation: "list_applications";
|
|
1006
1059
|
status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
|
|
1007
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1008
1060
|
limit?: number | undefined;
|
|
1009
1061
|
cursor?: string | undefined;
|
|
1010
1062
|
job_id?: string | undefined;
|
|
1011
1063
|
created_after?: number | undefined;
|
|
1064
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1012
1065
|
candidate_id?: string | undefined;
|
|
1013
1066
|
}>, z.ZodObject<{
|
|
1014
1067
|
operation: z.ZodLiteral<"get_application">;
|
|
@@ -1072,22 +1125,22 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1072
1125
|
operation: "update_candidate";
|
|
1073
1126
|
candidate_id: string;
|
|
1074
1127
|
name?: string | undefined;
|
|
1075
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1076
1128
|
email?: string | undefined;
|
|
1077
|
-
|
|
1129
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1078
1130
|
phone_number?: string | undefined;
|
|
1079
1131
|
linkedin_url?: string | undefined;
|
|
1080
1132
|
github_url?: string | undefined;
|
|
1133
|
+
website?: string | undefined;
|
|
1081
1134
|
}, {
|
|
1082
1135
|
operation: "update_candidate";
|
|
1083
1136
|
candidate_id: string;
|
|
1084
1137
|
name?: string | undefined;
|
|
1085
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1086
1138
|
email?: string | undefined;
|
|
1087
|
-
|
|
1139
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1088
1140
|
phone_number?: string | undefined;
|
|
1089
1141
|
linkedin_url?: string | undefined;
|
|
1090
1142
|
github_url?: string | undefined;
|
|
1143
|
+
website?: string | undefined;
|
|
1091
1144
|
}>, z.ZodObject<{
|
|
1092
1145
|
operation: z.ZodLiteral<"create_note">;
|
|
1093
1146
|
candidate_id: z.ZodString;
|
|
@@ -1148,6 +1201,96 @@ export declare const AshbyParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1148
1201
|
operation: "get_file_url";
|
|
1149
1202
|
file_handle: string;
|
|
1150
1203
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1204
|
+
}>, z.ZodObject<{
|
|
1205
|
+
operation: z.ZodLiteral<"list_projects">;
|
|
1206
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1207
|
+
}, "strip", z.ZodTypeAny, {
|
|
1208
|
+
operation: "list_projects";
|
|
1209
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1210
|
+
}, {
|
|
1211
|
+
operation: "list_projects";
|
|
1212
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1213
|
+
}>, z.ZodObject<{
|
|
1214
|
+
operation: z.ZodLiteral<"get_project">;
|
|
1215
|
+
project_id: z.ZodString;
|
|
1216
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1217
|
+
}, "strip", z.ZodTypeAny, {
|
|
1218
|
+
operation: "get_project";
|
|
1219
|
+
project_id: string;
|
|
1220
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1221
|
+
}, {
|
|
1222
|
+
operation: "get_project";
|
|
1223
|
+
project_id: string;
|
|
1224
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1225
|
+
}>, z.ZodObject<{
|
|
1226
|
+
operation: z.ZodLiteral<"list_candidate_projects">;
|
|
1227
|
+
candidate_id: z.ZodString;
|
|
1228
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1229
|
+
}, "strip", z.ZodTypeAny, {
|
|
1230
|
+
operation: "list_candidate_projects";
|
|
1231
|
+
candidate_id: string;
|
|
1232
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1233
|
+
}, {
|
|
1234
|
+
operation: "list_candidate_projects";
|
|
1235
|
+
candidate_id: string;
|
|
1236
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1237
|
+
}>, z.ZodObject<{
|
|
1238
|
+
operation: z.ZodLiteral<"add_candidate_to_project">;
|
|
1239
|
+
candidate_id: z.ZodString;
|
|
1240
|
+
project_id: z.ZodString;
|
|
1241
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1242
|
+
}, "strip", z.ZodTypeAny, {
|
|
1243
|
+
operation: "add_candidate_to_project";
|
|
1244
|
+
candidate_id: string;
|
|
1245
|
+
project_id: string;
|
|
1246
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1247
|
+
}, {
|
|
1248
|
+
operation: "add_candidate_to_project";
|
|
1249
|
+
candidate_id: string;
|
|
1250
|
+
project_id: string;
|
|
1251
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1252
|
+
}>, z.ZodObject<{
|
|
1253
|
+
operation: z.ZodLiteral<"remove_candidate_from_project">;
|
|
1254
|
+
candidate_id: z.ZodString;
|
|
1255
|
+
project_id: z.ZodString;
|
|
1256
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1257
|
+
}, "strip", z.ZodTypeAny, {
|
|
1258
|
+
operation: "remove_candidate_from_project";
|
|
1259
|
+
candidate_id: string;
|
|
1260
|
+
project_id: string;
|
|
1261
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1262
|
+
}, {
|
|
1263
|
+
operation: "remove_candidate_from_project";
|
|
1264
|
+
candidate_id: string;
|
|
1265
|
+
project_id: string;
|
|
1266
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1267
|
+
}>, z.ZodObject<{
|
|
1268
|
+
operation: z.ZodLiteral<"list_project_candidate_ids">;
|
|
1269
|
+
project_id: z.ZodString;
|
|
1270
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
1271
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1272
|
+
}, "strip", z.ZodTypeAny, {
|
|
1273
|
+
operation: "list_project_candidate_ids";
|
|
1274
|
+
project_id: string;
|
|
1275
|
+
cursor?: string | undefined;
|
|
1276
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1277
|
+
}, {
|
|
1278
|
+
operation: "list_project_candidate_ids";
|
|
1279
|
+
project_id: string;
|
|
1280
|
+
cursor?: string | undefined;
|
|
1281
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1282
|
+
}>, z.ZodObject<{
|
|
1283
|
+
operation: z.ZodLiteral<"get_all_candidates_with_projects">;
|
|
1284
|
+
concurrency: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
1285
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1286
|
+
}, "strip", z.ZodTypeAny, {
|
|
1287
|
+
operation: "get_all_candidates_with_projects";
|
|
1288
|
+
concurrency: number;
|
|
1289
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1290
|
+
}, {
|
|
1291
|
+
operation: "get_all_candidates_with_projects";
|
|
1292
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
1293
|
+
concurrency?: number | undefined;
|
|
1151
1294
|
}>]>;
|
|
1152
1295
|
export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
1153
1296
|
operation: z.ZodLiteral<"list_candidates">;
|
|
@@ -1241,12 +1384,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1241
1384
|
name: z.ZodString;
|
|
1242
1385
|
handle: z.ZodString;
|
|
1243
1386
|
}, "strip", z.ZodTypeAny, {
|
|
1244
|
-
name: string;
|
|
1245
1387
|
id: string;
|
|
1388
|
+
name: string;
|
|
1246
1389
|
handle: string;
|
|
1247
1390
|
}, {
|
|
1248
|
-
name: string;
|
|
1249
1391
|
id: string;
|
|
1392
|
+
name: string;
|
|
1250
1393
|
handle: string;
|
|
1251
1394
|
}>>>;
|
|
1252
1395
|
fileHandles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1254,12 +1397,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1254
1397
|
name: z.ZodString;
|
|
1255
1398
|
handle: z.ZodString;
|
|
1256
1399
|
}, "strip", z.ZodTypeAny, {
|
|
1257
|
-
name: string;
|
|
1258
1400
|
id: string;
|
|
1401
|
+
name: string;
|
|
1259
1402
|
handle: string;
|
|
1260
1403
|
}, {
|
|
1261
|
-
name: string;
|
|
1262
1404
|
id: string;
|
|
1405
|
+
name: string;
|
|
1263
1406
|
handle: string;
|
|
1264
1407
|
}>, "many">>;
|
|
1265
1408
|
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -1282,16 +1425,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1282
1425
|
source: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
|
1283
1426
|
creditedToUser: z.ZodNullable<z.ZodOptional<z.ZodUnknown>>;
|
|
1284
1427
|
}, "strip", z.ZodTypeAny, {
|
|
1285
|
-
name: string;
|
|
1286
1428
|
id: string;
|
|
1287
|
-
|
|
1288
|
-
title: string;
|
|
1289
|
-
id: string;
|
|
1290
|
-
isArchived?: boolean | undefined;
|
|
1291
|
-
}[] | undefined;
|
|
1292
|
-
position?: string | null | undefined;
|
|
1293
|
-
profileUrl?: string | null | undefined;
|
|
1294
|
-
source?: unknown;
|
|
1429
|
+
name: string;
|
|
1295
1430
|
createdAt?: string | undefined;
|
|
1296
1431
|
updatedAt?: string | undefined;
|
|
1297
1432
|
primaryEmailAddress?: {
|
|
@@ -1324,31 +1459,31 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1324
1459
|
type: string;
|
|
1325
1460
|
url: string;
|
|
1326
1461
|
}[] | undefined;
|
|
1462
|
+
tags?: {
|
|
1463
|
+
title: string;
|
|
1464
|
+
id: string;
|
|
1465
|
+
isArchived?: boolean | undefined;
|
|
1466
|
+
}[] | undefined;
|
|
1467
|
+
position?: string | null | undefined;
|
|
1327
1468
|
company?: string | null | undefined;
|
|
1328
1469
|
school?: string | null | undefined;
|
|
1329
1470
|
applicationIds?: string[] | undefined;
|
|
1330
1471
|
resumeFileHandle?: {
|
|
1331
|
-
name: string;
|
|
1332
1472
|
id: string;
|
|
1473
|
+
name: string;
|
|
1333
1474
|
handle: string;
|
|
1334
1475
|
} | null | undefined;
|
|
1335
1476
|
fileHandles?: {
|
|
1336
|
-
name: string;
|
|
1337
1477
|
id: string;
|
|
1478
|
+
name: string;
|
|
1338
1479
|
handle: string;
|
|
1339
1480
|
}[] | undefined;
|
|
1481
|
+
profileUrl?: string | null | undefined;
|
|
1482
|
+
source?: unknown;
|
|
1340
1483
|
creditedToUser?: unknown;
|
|
1341
1484
|
}, {
|
|
1342
|
-
name: string;
|
|
1343
1485
|
id: string;
|
|
1344
|
-
|
|
1345
|
-
title: string;
|
|
1346
|
-
id: string;
|
|
1347
|
-
isArchived?: boolean | undefined;
|
|
1348
|
-
}[] | undefined;
|
|
1349
|
-
position?: string | null | undefined;
|
|
1350
|
-
profileUrl?: string | null | undefined;
|
|
1351
|
-
source?: unknown;
|
|
1486
|
+
name: string;
|
|
1352
1487
|
createdAt?: string | undefined;
|
|
1353
1488
|
updatedAt?: string | undefined;
|
|
1354
1489
|
primaryEmailAddress?: {
|
|
@@ -1381,19 +1516,27 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1381
1516
|
type: string;
|
|
1382
1517
|
url: string;
|
|
1383
1518
|
}[] | undefined;
|
|
1519
|
+
tags?: {
|
|
1520
|
+
title: string;
|
|
1521
|
+
id: string;
|
|
1522
|
+
isArchived?: boolean | undefined;
|
|
1523
|
+
}[] | undefined;
|
|
1524
|
+
position?: string | null | undefined;
|
|
1384
1525
|
company?: string | null | undefined;
|
|
1385
1526
|
school?: string | null | undefined;
|
|
1386
1527
|
applicationIds?: string[] | undefined;
|
|
1387
1528
|
resumeFileHandle?: {
|
|
1388
|
-
name: string;
|
|
1389
1529
|
id: string;
|
|
1530
|
+
name: string;
|
|
1390
1531
|
handle: string;
|
|
1391
1532
|
} | null | undefined;
|
|
1392
1533
|
fileHandles?: {
|
|
1393
|
-
name: string;
|
|
1394
1534
|
id: string;
|
|
1535
|
+
name: string;
|
|
1395
1536
|
handle: string;
|
|
1396
1537
|
}[] | undefined;
|
|
1538
|
+
profileUrl?: string | null | undefined;
|
|
1539
|
+
source?: unknown;
|
|
1397
1540
|
creditedToUser?: unknown;
|
|
1398
1541
|
}>, "many">>;
|
|
1399
1542
|
next_cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -1401,22 +1544,13 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1401
1544
|
sync_token: z.ZodOptional<z.ZodString>;
|
|
1402
1545
|
error: z.ZodString;
|
|
1403
1546
|
}, "strip", z.ZodTypeAny, {
|
|
1404
|
-
error: string;
|
|
1405
|
-
success: boolean;
|
|
1406
1547
|
operation: "list_candidates";
|
|
1407
|
-
|
|
1548
|
+
success: boolean;
|
|
1549
|
+
error: string;
|
|
1408
1550
|
sync_token?: string | undefined;
|
|
1409
1551
|
candidates?: {
|
|
1410
|
-
name: string;
|
|
1411
1552
|
id: string;
|
|
1412
|
-
|
|
1413
|
-
title: string;
|
|
1414
|
-
id: string;
|
|
1415
|
-
isArchived?: boolean | undefined;
|
|
1416
|
-
}[] | undefined;
|
|
1417
|
-
position?: string | null | undefined;
|
|
1418
|
-
profileUrl?: string | null | undefined;
|
|
1419
|
-
source?: unknown;
|
|
1553
|
+
name: string;
|
|
1420
1554
|
createdAt?: string | undefined;
|
|
1421
1555
|
updatedAt?: string | undefined;
|
|
1422
1556
|
primaryEmailAddress?: {
|
|
@@ -1449,39 +1583,39 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1449
1583
|
type: string;
|
|
1450
1584
|
url: string;
|
|
1451
1585
|
}[] | undefined;
|
|
1586
|
+
tags?: {
|
|
1587
|
+
title: string;
|
|
1588
|
+
id: string;
|
|
1589
|
+
isArchived?: boolean | undefined;
|
|
1590
|
+
}[] | undefined;
|
|
1591
|
+
position?: string | null | undefined;
|
|
1452
1592
|
company?: string | null | undefined;
|
|
1453
1593
|
school?: string | null | undefined;
|
|
1454
1594
|
applicationIds?: string[] | undefined;
|
|
1455
1595
|
resumeFileHandle?: {
|
|
1456
|
-
name: string;
|
|
1457
1596
|
id: string;
|
|
1597
|
+
name: string;
|
|
1458
1598
|
handle: string;
|
|
1459
1599
|
} | null | undefined;
|
|
1460
1600
|
fileHandles?: {
|
|
1461
|
-
name: string;
|
|
1462
1601
|
id: string;
|
|
1602
|
+
name: string;
|
|
1463
1603
|
handle: string;
|
|
1464
1604
|
}[] | undefined;
|
|
1605
|
+
profileUrl?: string | null | undefined;
|
|
1606
|
+
source?: unknown;
|
|
1465
1607
|
creditedToUser?: unknown;
|
|
1466
1608
|
}[] | undefined;
|
|
1609
|
+
next_cursor?: string | undefined;
|
|
1467
1610
|
more_data_available?: boolean | undefined;
|
|
1468
1611
|
}, {
|
|
1469
|
-
error: string;
|
|
1470
|
-
success: boolean;
|
|
1471
1612
|
operation: "list_candidates";
|
|
1472
|
-
|
|
1613
|
+
success: boolean;
|
|
1614
|
+
error: string;
|
|
1473
1615
|
sync_token?: string | undefined;
|
|
1474
1616
|
candidates?: {
|
|
1475
|
-
name: string;
|
|
1476
1617
|
id: string;
|
|
1477
|
-
|
|
1478
|
-
title: string;
|
|
1479
|
-
id: string;
|
|
1480
|
-
isArchived?: boolean | undefined;
|
|
1481
|
-
}[] | undefined;
|
|
1482
|
-
position?: string | null | undefined;
|
|
1483
|
-
profileUrl?: string | null | undefined;
|
|
1484
|
-
source?: unknown;
|
|
1618
|
+
name: string;
|
|
1485
1619
|
createdAt?: string | undefined;
|
|
1486
1620
|
updatedAt?: string | undefined;
|
|
1487
1621
|
primaryEmailAddress?: {
|
|
@@ -1514,21 +1648,30 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1514
1648
|
type: string;
|
|
1515
1649
|
url: string;
|
|
1516
1650
|
}[] | undefined;
|
|
1651
|
+
tags?: {
|
|
1652
|
+
title: string;
|
|
1653
|
+
id: string;
|
|
1654
|
+
isArchived?: boolean | undefined;
|
|
1655
|
+
}[] | undefined;
|
|
1656
|
+
position?: string | null | undefined;
|
|
1517
1657
|
company?: string | null | undefined;
|
|
1518
1658
|
school?: string | null | undefined;
|
|
1519
1659
|
applicationIds?: string[] | undefined;
|
|
1520
1660
|
resumeFileHandle?: {
|
|
1521
|
-
name: string;
|
|
1522
1661
|
id: string;
|
|
1662
|
+
name: string;
|
|
1523
1663
|
handle: string;
|
|
1524
1664
|
} | null | undefined;
|
|
1525
1665
|
fileHandles?: {
|
|
1526
|
-
name: string;
|
|
1527
1666
|
id: string;
|
|
1667
|
+
name: string;
|
|
1528
1668
|
handle: string;
|
|
1529
1669
|
}[] | undefined;
|
|
1670
|
+
profileUrl?: string | null | undefined;
|
|
1671
|
+
source?: unknown;
|
|
1530
1672
|
creditedToUser?: unknown;
|
|
1531
1673
|
}[] | undefined;
|
|
1674
|
+
next_cursor?: string | undefined;
|
|
1532
1675
|
more_data_available?: boolean | undefined;
|
|
1533
1676
|
}>, z.ZodObject<{
|
|
1534
1677
|
operation: z.ZodLiteral<"get_candidate">;
|
|
@@ -1581,8 +1724,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1581
1724
|
isPrivate?: boolean | undefined;
|
|
1582
1725
|
}>, "many">>;
|
|
1583
1726
|
}, "strip", z.ZodTypeAny, {
|
|
1584
|
-
name: string;
|
|
1585
1727
|
id: string;
|
|
1728
|
+
name: string;
|
|
1586
1729
|
createdAt?: string | undefined;
|
|
1587
1730
|
updatedAt?: string | undefined;
|
|
1588
1731
|
primaryEmailAddress?: {
|
|
@@ -1602,8 +1745,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1602
1745
|
isPrivate?: boolean | undefined;
|
|
1603
1746
|
}[] | undefined;
|
|
1604
1747
|
}, {
|
|
1605
|
-
name: string;
|
|
1606
1748
|
id: string;
|
|
1749
|
+
name: string;
|
|
1607
1750
|
createdAt?: string | undefined;
|
|
1608
1751
|
updatedAt?: string | undefined;
|
|
1609
1752
|
primaryEmailAddress?: {
|
|
@@ -1625,12 +1768,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1625
1768
|
}>>;
|
|
1626
1769
|
error: z.ZodString;
|
|
1627
1770
|
}, "strip", z.ZodTypeAny, {
|
|
1628
|
-
error: string;
|
|
1629
|
-
success: boolean;
|
|
1630
1771
|
operation: "get_candidate";
|
|
1772
|
+
success: boolean;
|
|
1773
|
+
error: string;
|
|
1631
1774
|
candidate?: {
|
|
1632
|
-
name: string;
|
|
1633
1775
|
id: string;
|
|
1776
|
+
name: string;
|
|
1634
1777
|
createdAt?: string | undefined;
|
|
1635
1778
|
updatedAt?: string | undefined;
|
|
1636
1779
|
primaryEmailAddress?: {
|
|
@@ -1651,12 +1794,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1651
1794
|
}[] | undefined;
|
|
1652
1795
|
} | undefined;
|
|
1653
1796
|
}, {
|
|
1654
|
-
error: string;
|
|
1655
|
-
success: boolean;
|
|
1656
1797
|
operation: "get_candidate";
|
|
1798
|
+
success: boolean;
|
|
1799
|
+
error: string;
|
|
1657
1800
|
candidate?: {
|
|
1658
|
-
name: string;
|
|
1659
1801
|
id: string;
|
|
1802
|
+
name: string;
|
|
1660
1803
|
createdAt?: string | undefined;
|
|
1661
1804
|
updatedAt?: string | undefined;
|
|
1662
1805
|
primaryEmailAddress?: {
|
|
@@ -1727,8 +1870,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1727
1870
|
isPrivate?: boolean | undefined;
|
|
1728
1871
|
}>, "many">>;
|
|
1729
1872
|
}, "strip", z.ZodTypeAny, {
|
|
1730
|
-
name: string;
|
|
1731
1873
|
id: string;
|
|
1874
|
+
name: string;
|
|
1732
1875
|
createdAt?: string | undefined;
|
|
1733
1876
|
updatedAt?: string | undefined;
|
|
1734
1877
|
primaryEmailAddress?: {
|
|
@@ -1748,8 +1891,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1748
1891
|
isPrivate?: boolean | undefined;
|
|
1749
1892
|
}[] | undefined;
|
|
1750
1893
|
}, {
|
|
1751
|
-
name: string;
|
|
1752
1894
|
id: string;
|
|
1895
|
+
name: string;
|
|
1753
1896
|
createdAt?: string | undefined;
|
|
1754
1897
|
updatedAt?: string | undefined;
|
|
1755
1898
|
primaryEmailAddress?: {
|
|
@@ -1772,12 +1915,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1772
1915
|
duplicate: z.ZodOptional<z.ZodBoolean>;
|
|
1773
1916
|
error: z.ZodString;
|
|
1774
1917
|
}, "strip", z.ZodTypeAny, {
|
|
1775
|
-
error: string;
|
|
1776
|
-
success: boolean;
|
|
1777
1918
|
operation: "create_candidate";
|
|
1919
|
+
success: boolean;
|
|
1920
|
+
error: string;
|
|
1778
1921
|
candidate?: {
|
|
1779
|
-
name: string;
|
|
1780
1922
|
id: string;
|
|
1923
|
+
name: string;
|
|
1781
1924
|
createdAt?: string | undefined;
|
|
1782
1925
|
updatedAt?: string | undefined;
|
|
1783
1926
|
primaryEmailAddress?: {
|
|
@@ -1799,12 +1942,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1799
1942
|
} | undefined;
|
|
1800
1943
|
duplicate?: boolean | undefined;
|
|
1801
1944
|
}, {
|
|
1802
|
-
error: string;
|
|
1803
|
-
success: boolean;
|
|
1804
1945
|
operation: "create_candidate";
|
|
1946
|
+
success: boolean;
|
|
1947
|
+
error: string;
|
|
1805
1948
|
candidate?: {
|
|
1806
|
-
name: string;
|
|
1807
1949
|
id: string;
|
|
1950
|
+
name: string;
|
|
1808
1951
|
createdAt?: string | undefined;
|
|
1809
1952
|
updatedAt?: string | undefined;
|
|
1810
1953
|
primaryEmailAddress?: {
|
|
@@ -1876,8 +2019,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1876
2019
|
isPrivate?: boolean | undefined;
|
|
1877
2020
|
}>, "many">>;
|
|
1878
2021
|
}, "strip", z.ZodTypeAny, {
|
|
1879
|
-
name: string;
|
|
1880
2022
|
id: string;
|
|
2023
|
+
name: string;
|
|
1881
2024
|
createdAt?: string | undefined;
|
|
1882
2025
|
updatedAt?: string | undefined;
|
|
1883
2026
|
primaryEmailAddress?: {
|
|
@@ -1897,8 +2040,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1897
2040
|
isPrivate?: boolean | undefined;
|
|
1898
2041
|
}[] | undefined;
|
|
1899
2042
|
}, {
|
|
1900
|
-
name: string;
|
|
1901
2043
|
id: string;
|
|
2044
|
+
name: string;
|
|
1902
2045
|
createdAt?: string | undefined;
|
|
1903
2046
|
updatedAt?: string | undefined;
|
|
1904
2047
|
primaryEmailAddress?: {
|
|
@@ -1920,12 +2063,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1920
2063
|
}>, "many">>;
|
|
1921
2064
|
error: z.ZodString;
|
|
1922
2065
|
}, "strip", z.ZodTypeAny, {
|
|
1923
|
-
error: string;
|
|
1924
|
-
success: boolean;
|
|
1925
2066
|
operation: "search_candidates";
|
|
2067
|
+
success: boolean;
|
|
2068
|
+
error: string;
|
|
1926
2069
|
candidates?: {
|
|
1927
|
-
name: string;
|
|
1928
2070
|
id: string;
|
|
2071
|
+
name: string;
|
|
1929
2072
|
createdAt?: string | undefined;
|
|
1930
2073
|
updatedAt?: string | undefined;
|
|
1931
2074
|
primaryEmailAddress?: {
|
|
@@ -1946,12 +2089,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
1946
2089
|
}[] | undefined;
|
|
1947
2090
|
}[] | undefined;
|
|
1948
2091
|
}, {
|
|
1949
|
-
error: string;
|
|
1950
|
-
success: boolean;
|
|
1951
2092
|
operation: "search_candidates";
|
|
2093
|
+
success: boolean;
|
|
2094
|
+
error: string;
|
|
1952
2095
|
candidates?: {
|
|
1953
|
-
name: string;
|
|
1954
2096
|
id: string;
|
|
2097
|
+
name: string;
|
|
1955
2098
|
createdAt?: string | undefined;
|
|
1956
2099
|
updatedAt?: string | undefined;
|
|
1957
2100
|
primaryEmailAddress?: {
|
|
@@ -2022,8 +2165,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2022
2165
|
isPrivate?: boolean | undefined;
|
|
2023
2166
|
}>, "many">>;
|
|
2024
2167
|
}, "strip", z.ZodTypeAny, {
|
|
2025
|
-
name: string;
|
|
2026
2168
|
id: string;
|
|
2169
|
+
name: string;
|
|
2027
2170
|
createdAt?: string | undefined;
|
|
2028
2171
|
updatedAt?: string | undefined;
|
|
2029
2172
|
primaryEmailAddress?: {
|
|
@@ -2043,8 +2186,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2043
2186
|
isPrivate?: boolean | undefined;
|
|
2044
2187
|
}[] | undefined;
|
|
2045
2188
|
}, {
|
|
2046
|
-
name: string;
|
|
2047
2189
|
id: string;
|
|
2190
|
+
name: string;
|
|
2048
2191
|
createdAt?: string | undefined;
|
|
2049
2192
|
updatedAt?: string | undefined;
|
|
2050
2193
|
primaryEmailAddress?: {
|
|
@@ -2066,12 +2209,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2066
2209
|
}>>;
|
|
2067
2210
|
error: z.ZodString;
|
|
2068
2211
|
}, "strip", z.ZodTypeAny, {
|
|
2069
|
-
error: string;
|
|
2070
|
-
success: boolean;
|
|
2071
2212
|
operation: "add_tag";
|
|
2213
|
+
success: boolean;
|
|
2214
|
+
error: string;
|
|
2072
2215
|
candidate?: {
|
|
2073
|
-
name: string;
|
|
2074
2216
|
id: string;
|
|
2217
|
+
name: string;
|
|
2075
2218
|
createdAt?: string | undefined;
|
|
2076
2219
|
updatedAt?: string | undefined;
|
|
2077
2220
|
primaryEmailAddress?: {
|
|
@@ -2092,12 +2235,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2092
2235
|
}[] | undefined;
|
|
2093
2236
|
} | undefined;
|
|
2094
2237
|
}, {
|
|
2095
|
-
error: string;
|
|
2096
|
-
success: boolean;
|
|
2097
2238
|
operation: "add_tag";
|
|
2239
|
+
success: boolean;
|
|
2240
|
+
error: string;
|
|
2098
2241
|
candidate?: {
|
|
2099
|
-
name: string;
|
|
2100
2242
|
id: string;
|
|
2243
|
+
name: string;
|
|
2101
2244
|
createdAt?: string | undefined;
|
|
2102
2245
|
updatedAt?: string | undefined;
|
|
2103
2246
|
primaryEmailAddress?: {
|
|
@@ -2135,18 +2278,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2135
2278
|
}>, "many">>;
|
|
2136
2279
|
error: z.ZodString;
|
|
2137
2280
|
}, "strip", z.ZodTypeAny, {
|
|
2138
|
-
error: string;
|
|
2139
|
-
success: boolean;
|
|
2140
2281
|
operation: "list_tags";
|
|
2282
|
+
success: boolean;
|
|
2283
|
+
error: string;
|
|
2141
2284
|
tags?: {
|
|
2142
2285
|
title: string;
|
|
2143
2286
|
id: string;
|
|
2144
2287
|
isArchived?: boolean | undefined;
|
|
2145
2288
|
}[] | undefined;
|
|
2146
2289
|
}, {
|
|
2147
|
-
error: string;
|
|
2148
|
-
success: boolean;
|
|
2149
2290
|
operation: "list_tags";
|
|
2291
|
+
success: boolean;
|
|
2292
|
+
error: string;
|
|
2150
2293
|
tags?: {
|
|
2151
2294
|
title: string;
|
|
2152
2295
|
id: string;
|
|
@@ -2170,18 +2313,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2170
2313
|
}>>;
|
|
2171
2314
|
error: z.ZodString;
|
|
2172
2315
|
}, "strip", z.ZodTypeAny, {
|
|
2173
|
-
error: string;
|
|
2174
|
-
success: boolean;
|
|
2175
2316
|
operation: "create_tag";
|
|
2317
|
+
success: boolean;
|
|
2318
|
+
error: string;
|
|
2176
2319
|
tag?: {
|
|
2177
2320
|
title: string;
|
|
2178
2321
|
id: string;
|
|
2179
2322
|
isArchived?: boolean | undefined;
|
|
2180
2323
|
} | undefined;
|
|
2181
2324
|
}, {
|
|
2182
|
-
error: string;
|
|
2183
|
-
success: boolean;
|
|
2184
2325
|
operation: "create_tag";
|
|
2326
|
+
success: boolean;
|
|
2327
|
+
error: string;
|
|
2185
2328
|
tag?: {
|
|
2186
2329
|
title: string;
|
|
2187
2330
|
id: string;
|
|
@@ -2203,36 +2346,36 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2203
2346
|
isArchived: z.ZodBoolean;
|
|
2204
2347
|
}, "strip", z.ZodTypeAny, {
|
|
2205
2348
|
value: string;
|
|
2206
|
-
label: string;
|
|
2207
2349
|
isArchived: boolean;
|
|
2350
|
+
label: string;
|
|
2208
2351
|
}, {
|
|
2209
2352
|
value: string;
|
|
2210
|
-
label: string;
|
|
2211
2353
|
isArchived: boolean;
|
|
2354
|
+
label: string;
|
|
2212
2355
|
}>, "many">>;
|
|
2213
2356
|
}, "strip", z.ZodTypeAny, {
|
|
2214
2357
|
title: string;
|
|
2215
2358
|
id: string;
|
|
2216
|
-
fieldType: string;
|
|
2217
2359
|
isPrivate: boolean;
|
|
2218
2360
|
isArchived: boolean;
|
|
2219
2361
|
objectType: string;
|
|
2362
|
+
fieldType: string;
|
|
2220
2363
|
selectableValues?: {
|
|
2221
2364
|
value: string;
|
|
2222
|
-
label: string;
|
|
2223
2365
|
isArchived: boolean;
|
|
2366
|
+
label: string;
|
|
2224
2367
|
}[] | undefined;
|
|
2225
2368
|
}, {
|
|
2226
2369
|
title: string;
|
|
2227
2370
|
id: string;
|
|
2228
|
-
fieldType: string;
|
|
2229
2371
|
isPrivate: boolean;
|
|
2230
2372
|
isArchived: boolean;
|
|
2231
2373
|
objectType: string;
|
|
2374
|
+
fieldType: string;
|
|
2232
2375
|
selectableValues?: {
|
|
2233
2376
|
value: string;
|
|
2234
|
-
label: string;
|
|
2235
2377
|
isArchived: boolean;
|
|
2378
|
+
label: string;
|
|
2236
2379
|
}[] | undefined;
|
|
2237
2380
|
}>, "many">>;
|
|
2238
2381
|
next_cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -2240,45 +2383,45 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2240
2383
|
sync_token: z.ZodOptional<z.ZodString>;
|
|
2241
2384
|
error: z.ZodString;
|
|
2242
2385
|
}, "strip", z.ZodTypeAny, {
|
|
2243
|
-
error: string;
|
|
2244
|
-
success: boolean;
|
|
2245
2386
|
operation: "list_custom_fields";
|
|
2387
|
+
success: boolean;
|
|
2388
|
+
error: string;
|
|
2389
|
+
sync_token?: string | undefined;
|
|
2246
2390
|
next_cursor?: string | undefined;
|
|
2391
|
+
more_data_available?: boolean | undefined;
|
|
2247
2392
|
custom_fields?: {
|
|
2248
2393
|
title: string;
|
|
2249
2394
|
id: string;
|
|
2250
|
-
fieldType: string;
|
|
2251
2395
|
isPrivate: boolean;
|
|
2252
2396
|
isArchived: boolean;
|
|
2253
2397
|
objectType: string;
|
|
2398
|
+
fieldType: string;
|
|
2254
2399
|
selectableValues?: {
|
|
2255
2400
|
value: string;
|
|
2256
|
-
label: string;
|
|
2257
2401
|
isArchived: boolean;
|
|
2402
|
+
label: string;
|
|
2258
2403
|
}[] | undefined;
|
|
2259
2404
|
}[] | undefined;
|
|
2260
|
-
sync_token?: string | undefined;
|
|
2261
|
-
more_data_available?: boolean | undefined;
|
|
2262
2405
|
}, {
|
|
2263
|
-
error: string;
|
|
2264
|
-
success: boolean;
|
|
2265
2406
|
operation: "list_custom_fields";
|
|
2407
|
+
success: boolean;
|
|
2408
|
+
error: string;
|
|
2409
|
+
sync_token?: string | undefined;
|
|
2266
2410
|
next_cursor?: string | undefined;
|
|
2411
|
+
more_data_available?: boolean | undefined;
|
|
2267
2412
|
custom_fields?: {
|
|
2268
2413
|
title: string;
|
|
2269
2414
|
id: string;
|
|
2270
|
-
fieldType: string;
|
|
2271
2415
|
isPrivate: boolean;
|
|
2272
2416
|
isArchived: boolean;
|
|
2273
2417
|
objectType: string;
|
|
2418
|
+
fieldType: string;
|
|
2274
2419
|
selectableValues?: {
|
|
2275
2420
|
value: string;
|
|
2276
|
-
label: string;
|
|
2277
2421
|
isArchived: boolean;
|
|
2422
|
+
label: string;
|
|
2278
2423
|
}[] | undefined;
|
|
2279
2424
|
}[] | undefined;
|
|
2280
|
-
sync_token?: string | undefined;
|
|
2281
|
-
more_data_available?: boolean | undefined;
|
|
2282
2425
|
}>, z.ZodObject<{
|
|
2283
2426
|
operation: z.ZodLiteral<"list_jobs">;
|
|
2284
2427
|
success: z.ZodBoolean;
|
|
@@ -2314,10 +2457,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2314
2457
|
title: string;
|
|
2315
2458
|
id: string;
|
|
2316
2459
|
status?: string | undefined;
|
|
2317
|
-
locationId?: string | null | undefined;
|
|
2318
2460
|
createdAt?: string | undefined;
|
|
2319
2461
|
updatedAt?: string | undefined;
|
|
2320
|
-
teamId?: string | null | undefined;
|
|
2321
2462
|
customFields?: {
|
|
2322
2463
|
title: string;
|
|
2323
2464
|
id: string;
|
|
@@ -2325,6 +2466,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2325
2466
|
isPrivate?: boolean | undefined;
|
|
2326
2467
|
}[] | undefined;
|
|
2327
2468
|
departmentId?: string | null | undefined;
|
|
2469
|
+
teamId?: string | null | undefined;
|
|
2470
|
+
locationId?: string | null | undefined;
|
|
2328
2471
|
locationIds?: string[] | undefined;
|
|
2329
2472
|
openedAt?: string | null | undefined;
|
|
2330
2473
|
closedAt?: string | null | undefined;
|
|
@@ -2332,10 +2475,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2332
2475
|
title: string;
|
|
2333
2476
|
id: string;
|
|
2334
2477
|
status?: string | undefined;
|
|
2335
|
-
locationId?: string | null | undefined;
|
|
2336
2478
|
createdAt?: string | undefined;
|
|
2337
2479
|
updatedAt?: string | undefined;
|
|
2338
|
-
teamId?: string | null | undefined;
|
|
2339
2480
|
customFields?: {
|
|
2340
2481
|
title: string;
|
|
2341
2482
|
id: string;
|
|
@@ -2343,6 +2484,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2343
2484
|
isPrivate?: boolean | undefined;
|
|
2344
2485
|
}[] | undefined;
|
|
2345
2486
|
departmentId?: string | null | undefined;
|
|
2487
|
+
teamId?: string | null | undefined;
|
|
2488
|
+
locationId?: string | null | undefined;
|
|
2346
2489
|
locationIds?: string[] | undefined;
|
|
2347
2490
|
openedAt?: string | null | undefined;
|
|
2348
2491
|
closedAt?: string | null | undefined;
|
|
@@ -2351,18 +2494,17 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2351
2494
|
more_data_available: z.ZodOptional<z.ZodBoolean>;
|
|
2352
2495
|
error: z.ZodString;
|
|
2353
2496
|
}, "strip", z.ZodTypeAny, {
|
|
2354
|
-
error: string;
|
|
2355
|
-
success: boolean;
|
|
2356
2497
|
operation: "list_jobs";
|
|
2498
|
+
success: boolean;
|
|
2499
|
+
error: string;
|
|
2357
2500
|
next_cursor?: string | undefined;
|
|
2501
|
+
more_data_available?: boolean | undefined;
|
|
2358
2502
|
jobs?: {
|
|
2359
2503
|
title: string;
|
|
2360
2504
|
id: string;
|
|
2361
2505
|
status?: string | undefined;
|
|
2362
|
-
locationId?: string | null | undefined;
|
|
2363
2506
|
createdAt?: string | undefined;
|
|
2364
2507
|
updatedAt?: string | undefined;
|
|
2365
|
-
teamId?: string | null | undefined;
|
|
2366
2508
|
customFields?: {
|
|
2367
2509
|
title: string;
|
|
2368
2510
|
id: string;
|
|
@@ -2370,24 +2512,24 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2370
2512
|
isPrivate?: boolean | undefined;
|
|
2371
2513
|
}[] | undefined;
|
|
2372
2514
|
departmentId?: string | null | undefined;
|
|
2515
|
+
teamId?: string | null | undefined;
|
|
2516
|
+
locationId?: string | null | undefined;
|
|
2373
2517
|
locationIds?: string[] | undefined;
|
|
2374
2518
|
openedAt?: string | null | undefined;
|
|
2375
2519
|
closedAt?: string | null | undefined;
|
|
2376
2520
|
}[] | undefined;
|
|
2377
|
-
more_data_available?: boolean | undefined;
|
|
2378
2521
|
}, {
|
|
2379
|
-
error: string;
|
|
2380
|
-
success: boolean;
|
|
2381
2522
|
operation: "list_jobs";
|
|
2523
|
+
success: boolean;
|
|
2524
|
+
error: string;
|
|
2382
2525
|
next_cursor?: string | undefined;
|
|
2526
|
+
more_data_available?: boolean | undefined;
|
|
2383
2527
|
jobs?: {
|
|
2384
2528
|
title: string;
|
|
2385
2529
|
id: string;
|
|
2386
2530
|
status?: string | undefined;
|
|
2387
|
-
locationId?: string | null | undefined;
|
|
2388
2531
|
createdAt?: string | undefined;
|
|
2389
2532
|
updatedAt?: string | undefined;
|
|
2390
|
-
teamId?: string | null | undefined;
|
|
2391
2533
|
customFields?: {
|
|
2392
2534
|
title: string;
|
|
2393
2535
|
id: string;
|
|
@@ -2395,11 +2537,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2395
2537
|
isPrivate?: boolean | undefined;
|
|
2396
2538
|
}[] | undefined;
|
|
2397
2539
|
departmentId?: string | null | undefined;
|
|
2540
|
+
teamId?: string | null | undefined;
|
|
2541
|
+
locationId?: string | null | undefined;
|
|
2398
2542
|
locationIds?: string[] | undefined;
|
|
2399
2543
|
openedAt?: string | null | undefined;
|
|
2400
2544
|
closedAt?: string | null | undefined;
|
|
2401
2545
|
}[] | undefined;
|
|
2402
|
-
more_data_available?: boolean | undefined;
|
|
2403
2546
|
}>, z.ZodObject<{
|
|
2404
2547
|
operation: z.ZodLiteral<"get_job">;
|
|
2405
2548
|
success: z.ZodBoolean;
|
|
@@ -2435,10 +2578,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2435
2578
|
title: string;
|
|
2436
2579
|
id: string;
|
|
2437
2580
|
status?: string | undefined;
|
|
2438
|
-
locationId?: string | null | undefined;
|
|
2439
2581
|
createdAt?: string | undefined;
|
|
2440
2582
|
updatedAt?: string | undefined;
|
|
2441
|
-
teamId?: string | null | undefined;
|
|
2442
2583
|
customFields?: {
|
|
2443
2584
|
title: string;
|
|
2444
2585
|
id: string;
|
|
@@ -2446,6 +2587,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2446
2587
|
isPrivate?: boolean | undefined;
|
|
2447
2588
|
}[] | undefined;
|
|
2448
2589
|
departmentId?: string | null | undefined;
|
|
2590
|
+
teamId?: string | null | undefined;
|
|
2591
|
+
locationId?: string | null | undefined;
|
|
2449
2592
|
locationIds?: string[] | undefined;
|
|
2450
2593
|
openedAt?: string | null | undefined;
|
|
2451
2594
|
closedAt?: string | null | undefined;
|
|
@@ -2453,10 +2596,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2453
2596
|
title: string;
|
|
2454
2597
|
id: string;
|
|
2455
2598
|
status?: string | undefined;
|
|
2456
|
-
locationId?: string | null | undefined;
|
|
2457
2599
|
createdAt?: string | undefined;
|
|
2458
2600
|
updatedAt?: string | undefined;
|
|
2459
|
-
teamId?: string | null | undefined;
|
|
2460
2601
|
customFields?: {
|
|
2461
2602
|
title: string;
|
|
2462
2603
|
id: string;
|
|
@@ -2464,6 +2605,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2464
2605
|
isPrivate?: boolean | undefined;
|
|
2465
2606
|
}[] | undefined;
|
|
2466
2607
|
departmentId?: string | null | undefined;
|
|
2608
|
+
teamId?: string | null | undefined;
|
|
2609
|
+
locationId?: string | null | undefined;
|
|
2467
2610
|
locationIds?: string[] | undefined;
|
|
2468
2611
|
openedAt?: string | null | undefined;
|
|
2469
2612
|
closedAt?: string | null | undefined;
|
|
@@ -2489,17 +2632,15 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2489
2632
|
}>, "many">>;
|
|
2490
2633
|
error: z.ZodString;
|
|
2491
2634
|
}, "strip", z.ZodTypeAny, {
|
|
2492
|
-
error: string;
|
|
2493
|
-
success: boolean;
|
|
2494
2635
|
operation: "get_job";
|
|
2636
|
+
success: boolean;
|
|
2637
|
+
error: string;
|
|
2495
2638
|
job?: {
|
|
2496
2639
|
title: string;
|
|
2497
2640
|
id: string;
|
|
2498
2641
|
status?: string | undefined;
|
|
2499
|
-
locationId?: string | null | undefined;
|
|
2500
2642
|
createdAt?: string | undefined;
|
|
2501
2643
|
updatedAt?: string | undefined;
|
|
2502
|
-
teamId?: string | null | undefined;
|
|
2503
2644
|
customFields?: {
|
|
2504
2645
|
title: string;
|
|
2505
2646
|
id: string;
|
|
@@ -2507,6 +2648,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2507
2648
|
isPrivate?: boolean | undefined;
|
|
2508
2649
|
}[] | undefined;
|
|
2509
2650
|
departmentId?: string | null | undefined;
|
|
2651
|
+
teamId?: string | null | undefined;
|
|
2652
|
+
locationId?: string | null | undefined;
|
|
2510
2653
|
locationIds?: string[] | undefined;
|
|
2511
2654
|
openedAt?: string | null | undefined;
|
|
2512
2655
|
closedAt?: string | null | undefined;
|
|
@@ -2519,17 +2662,15 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2519
2662
|
interviewPlanId?: string | undefined;
|
|
2520
2663
|
}[] | undefined;
|
|
2521
2664
|
}, {
|
|
2522
|
-
error: string;
|
|
2523
|
-
success: boolean;
|
|
2524
2665
|
operation: "get_job";
|
|
2666
|
+
success: boolean;
|
|
2667
|
+
error: string;
|
|
2525
2668
|
job?: {
|
|
2526
2669
|
title: string;
|
|
2527
2670
|
id: string;
|
|
2528
2671
|
status?: string | undefined;
|
|
2529
|
-
locationId?: string | null | undefined;
|
|
2530
2672
|
createdAt?: string | undefined;
|
|
2531
2673
|
updatedAt?: string | undefined;
|
|
2532
|
-
teamId?: string | null | undefined;
|
|
2533
2674
|
customFields?: {
|
|
2534
2675
|
title: string;
|
|
2535
2676
|
id: string;
|
|
@@ -2537,6 +2678,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2537
2678
|
isPrivate?: boolean | undefined;
|
|
2538
2679
|
}[] | undefined;
|
|
2539
2680
|
departmentId?: string | null | undefined;
|
|
2681
|
+
teamId?: string | null | undefined;
|
|
2682
|
+
locationId?: string | null | undefined;
|
|
2540
2683
|
locationIds?: string[] | undefined;
|
|
2541
2684
|
openedAt?: string | null | undefined;
|
|
2542
2685
|
closedAt?: string | null | undefined;
|
|
@@ -2602,14 +2745,14 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2602
2745
|
firstName: z.ZodOptional<z.ZodString>;
|
|
2603
2746
|
lastName: z.ZodOptional<z.ZodString>;
|
|
2604
2747
|
}, "strip", z.ZodTypeAny, {
|
|
2605
|
-
role: string;
|
|
2606
2748
|
userId: string;
|
|
2749
|
+
role: string;
|
|
2607
2750
|
email?: string | undefined;
|
|
2608
2751
|
firstName?: string | undefined;
|
|
2609
2752
|
lastName?: string | undefined;
|
|
2610
2753
|
}, {
|
|
2611
|
-
role: string;
|
|
2612
2754
|
userId: string;
|
|
2755
|
+
role: string;
|
|
2613
2756
|
email?: string | undefined;
|
|
2614
2757
|
firstName?: string | undefined;
|
|
2615
2758
|
lastName?: string | undefined;
|
|
@@ -2617,7 +2760,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2617
2760
|
}, "strip", z.ZodTypeAny, {
|
|
2618
2761
|
id: string;
|
|
2619
2762
|
status?: string | undefined;
|
|
2620
|
-
source?: unknown;
|
|
2621
2763
|
createdAt?: string | undefined;
|
|
2622
2764
|
updatedAt?: string | undefined;
|
|
2623
2765
|
customFields?: {
|
|
@@ -2626,6 +2768,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2626
2768
|
value?: unknown;
|
|
2627
2769
|
isPrivate?: boolean | undefined;
|
|
2628
2770
|
}[] | undefined;
|
|
2771
|
+
source?: unknown;
|
|
2629
2772
|
candidateId?: string | null | undefined;
|
|
2630
2773
|
jobId?: string | null | undefined;
|
|
2631
2774
|
currentInterviewStage?: {
|
|
@@ -2637,8 +2780,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2637
2780
|
} | null | undefined;
|
|
2638
2781
|
archiveReason?: unknown;
|
|
2639
2782
|
hiringTeam?: {
|
|
2640
|
-
role: string;
|
|
2641
2783
|
userId: string;
|
|
2784
|
+
role: string;
|
|
2642
2785
|
email?: string | undefined;
|
|
2643
2786
|
firstName?: string | undefined;
|
|
2644
2787
|
lastName?: string | undefined;
|
|
@@ -2646,7 +2789,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2646
2789
|
}, {
|
|
2647
2790
|
id: string;
|
|
2648
2791
|
status?: string | undefined;
|
|
2649
|
-
source?: unknown;
|
|
2650
2792
|
createdAt?: string | undefined;
|
|
2651
2793
|
updatedAt?: string | undefined;
|
|
2652
2794
|
customFields?: {
|
|
@@ -2655,6 +2797,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2655
2797
|
value?: unknown;
|
|
2656
2798
|
isPrivate?: boolean | undefined;
|
|
2657
2799
|
}[] | undefined;
|
|
2800
|
+
source?: unknown;
|
|
2658
2801
|
candidateId?: string | null | undefined;
|
|
2659
2802
|
jobId?: string | null | undefined;
|
|
2660
2803
|
currentInterviewStage?: {
|
|
@@ -2666,8 +2809,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2666
2809
|
} | null | undefined;
|
|
2667
2810
|
archiveReason?: unknown;
|
|
2668
2811
|
hiringTeam?: {
|
|
2669
|
-
role: string;
|
|
2670
2812
|
userId: string;
|
|
2813
|
+
role: string;
|
|
2671
2814
|
email?: string | undefined;
|
|
2672
2815
|
firstName?: string | undefined;
|
|
2673
2816
|
lastName?: string | undefined;
|
|
@@ -2677,15 +2820,14 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2677
2820
|
more_data_available: z.ZodOptional<z.ZodBoolean>;
|
|
2678
2821
|
error: z.ZodString;
|
|
2679
2822
|
}, "strip", z.ZodTypeAny, {
|
|
2680
|
-
error: string;
|
|
2681
|
-
success: boolean;
|
|
2682
2823
|
operation: "list_applications";
|
|
2824
|
+
success: boolean;
|
|
2825
|
+
error: string;
|
|
2683
2826
|
next_cursor?: string | undefined;
|
|
2684
2827
|
more_data_available?: boolean | undefined;
|
|
2685
2828
|
applications?: {
|
|
2686
2829
|
id: string;
|
|
2687
2830
|
status?: string | undefined;
|
|
2688
|
-
source?: unknown;
|
|
2689
2831
|
createdAt?: string | undefined;
|
|
2690
2832
|
updatedAt?: string | undefined;
|
|
2691
2833
|
customFields?: {
|
|
@@ -2694,6 +2836,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2694
2836
|
value?: unknown;
|
|
2695
2837
|
isPrivate?: boolean | undefined;
|
|
2696
2838
|
}[] | undefined;
|
|
2839
|
+
source?: unknown;
|
|
2697
2840
|
candidateId?: string | null | undefined;
|
|
2698
2841
|
jobId?: string | null | undefined;
|
|
2699
2842
|
currentInterviewStage?: {
|
|
@@ -2705,23 +2848,22 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2705
2848
|
} | null | undefined;
|
|
2706
2849
|
archiveReason?: unknown;
|
|
2707
2850
|
hiringTeam?: {
|
|
2708
|
-
role: string;
|
|
2709
2851
|
userId: string;
|
|
2852
|
+
role: string;
|
|
2710
2853
|
email?: string | undefined;
|
|
2711
2854
|
firstName?: string | undefined;
|
|
2712
2855
|
lastName?: string | undefined;
|
|
2713
2856
|
}[] | undefined;
|
|
2714
2857
|
}[] | undefined;
|
|
2715
2858
|
}, {
|
|
2716
|
-
error: string;
|
|
2717
|
-
success: boolean;
|
|
2718
2859
|
operation: "list_applications";
|
|
2860
|
+
success: boolean;
|
|
2861
|
+
error: string;
|
|
2719
2862
|
next_cursor?: string | undefined;
|
|
2720
2863
|
more_data_available?: boolean | undefined;
|
|
2721
2864
|
applications?: {
|
|
2722
2865
|
id: string;
|
|
2723
2866
|
status?: string | undefined;
|
|
2724
|
-
source?: unknown;
|
|
2725
2867
|
createdAt?: string | undefined;
|
|
2726
2868
|
updatedAt?: string | undefined;
|
|
2727
2869
|
customFields?: {
|
|
@@ -2730,6 +2872,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2730
2872
|
value?: unknown;
|
|
2731
2873
|
isPrivate?: boolean | undefined;
|
|
2732
2874
|
}[] | undefined;
|
|
2875
|
+
source?: unknown;
|
|
2733
2876
|
candidateId?: string | null | undefined;
|
|
2734
2877
|
jobId?: string | null | undefined;
|
|
2735
2878
|
currentInterviewStage?: {
|
|
@@ -2741,8 +2884,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2741
2884
|
} | null | undefined;
|
|
2742
2885
|
archiveReason?: unknown;
|
|
2743
2886
|
hiringTeam?: {
|
|
2744
|
-
role: string;
|
|
2745
2887
|
userId: string;
|
|
2888
|
+
role: string;
|
|
2746
2889
|
email?: string | undefined;
|
|
2747
2890
|
firstName?: string | undefined;
|
|
2748
2891
|
lastName?: string | undefined;
|
|
@@ -2802,14 +2945,14 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2802
2945
|
firstName: z.ZodOptional<z.ZodString>;
|
|
2803
2946
|
lastName: z.ZodOptional<z.ZodString>;
|
|
2804
2947
|
}, "strip", z.ZodTypeAny, {
|
|
2805
|
-
role: string;
|
|
2806
2948
|
userId: string;
|
|
2949
|
+
role: string;
|
|
2807
2950
|
email?: string | undefined;
|
|
2808
2951
|
firstName?: string | undefined;
|
|
2809
2952
|
lastName?: string | undefined;
|
|
2810
2953
|
}, {
|
|
2811
|
-
role: string;
|
|
2812
2954
|
userId: string;
|
|
2955
|
+
role: string;
|
|
2813
2956
|
email?: string | undefined;
|
|
2814
2957
|
firstName?: string | undefined;
|
|
2815
2958
|
lastName?: string | undefined;
|
|
@@ -2817,7 +2960,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2817
2960
|
}, "strip", z.ZodTypeAny, {
|
|
2818
2961
|
id: string;
|
|
2819
2962
|
status?: string | undefined;
|
|
2820
|
-
source?: unknown;
|
|
2821
2963
|
createdAt?: string | undefined;
|
|
2822
2964
|
updatedAt?: string | undefined;
|
|
2823
2965
|
customFields?: {
|
|
@@ -2826,6 +2968,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2826
2968
|
value?: unknown;
|
|
2827
2969
|
isPrivate?: boolean | undefined;
|
|
2828
2970
|
}[] | undefined;
|
|
2971
|
+
source?: unknown;
|
|
2829
2972
|
candidateId?: string | null | undefined;
|
|
2830
2973
|
jobId?: string | null | undefined;
|
|
2831
2974
|
currentInterviewStage?: {
|
|
@@ -2837,8 +2980,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2837
2980
|
} | null | undefined;
|
|
2838
2981
|
archiveReason?: unknown;
|
|
2839
2982
|
hiringTeam?: {
|
|
2840
|
-
role: string;
|
|
2841
2983
|
userId: string;
|
|
2984
|
+
role: string;
|
|
2842
2985
|
email?: string | undefined;
|
|
2843
2986
|
firstName?: string | undefined;
|
|
2844
2987
|
lastName?: string | undefined;
|
|
@@ -2846,7 +2989,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2846
2989
|
}, {
|
|
2847
2990
|
id: string;
|
|
2848
2991
|
status?: string | undefined;
|
|
2849
|
-
source?: unknown;
|
|
2850
2992
|
createdAt?: string | undefined;
|
|
2851
2993
|
updatedAt?: string | undefined;
|
|
2852
2994
|
customFields?: {
|
|
@@ -2855,6 +2997,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2855
2997
|
value?: unknown;
|
|
2856
2998
|
isPrivate?: boolean | undefined;
|
|
2857
2999
|
}[] | undefined;
|
|
3000
|
+
source?: unknown;
|
|
2858
3001
|
candidateId?: string | null | undefined;
|
|
2859
3002
|
jobId?: string | null | undefined;
|
|
2860
3003
|
currentInterviewStage?: {
|
|
@@ -2866,8 +3009,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2866
3009
|
} | null | undefined;
|
|
2867
3010
|
archiveReason?: unknown;
|
|
2868
3011
|
hiringTeam?: {
|
|
2869
|
-
role: string;
|
|
2870
3012
|
userId: string;
|
|
3013
|
+
role: string;
|
|
2871
3014
|
email?: string | undefined;
|
|
2872
3015
|
firstName?: string | undefined;
|
|
2873
3016
|
lastName?: string | undefined;
|
|
@@ -2921,8 +3064,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2921
3064
|
isPrivate?: boolean | undefined;
|
|
2922
3065
|
}>, "many">>;
|
|
2923
3066
|
}, "strip", z.ZodTypeAny, {
|
|
2924
|
-
name: string;
|
|
2925
3067
|
id: string;
|
|
3068
|
+
name: string;
|
|
2926
3069
|
createdAt?: string | undefined;
|
|
2927
3070
|
updatedAt?: string | undefined;
|
|
2928
3071
|
primaryEmailAddress?: {
|
|
@@ -2942,8 +3085,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2942
3085
|
isPrivate?: boolean | undefined;
|
|
2943
3086
|
}[] | undefined;
|
|
2944
3087
|
}, {
|
|
2945
|
-
name: string;
|
|
2946
3088
|
id: string;
|
|
3089
|
+
name: string;
|
|
2947
3090
|
createdAt?: string | undefined;
|
|
2948
3091
|
updatedAt?: string | undefined;
|
|
2949
3092
|
primaryEmailAddress?: {
|
|
@@ -2995,10 +3138,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
2995
3138
|
title: string;
|
|
2996
3139
|
id: string;
|
|
2997
3140
|
status?: string | undefined;
|
|
2998
|
-
locationId?: string | null | undefined;
|
|
2999
3141
|
createdAt?: string | undefined;
|
|
3000
3142
|
updatedAt?: string | undefined;
|
|
3001
|
-
teamId?: string | null | undefined;
|
|
3002
3143
|
customFields?: {
|
|
3003
3144
|
title: string;
|
|
3004
3145
|
id: string;
|
|
@@ -3006,6 +3147,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3006
3147
|
isPrivate?: boolean | undefined;
|
|
3007
3148
|
}[] | undefined;
|
|
3008
3149
|
departmentId?: string | null | undefined;
|
|
3150
|
+
teamId?: string | null | undefined;
|
|
3151
|
+
locationId?: string | null | undefined;
|
|
3009
3152
|
locationIds?: string[] | undefined;
|
|
3010
3153
|
openedAt?: string | null | undefined;
|
|
3011
3154
|
closedAt?: string | null | undefined;
|
|
@@ -3013,10 +3156,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3013
3156
|
title: string;
|
|
3014
3157
|
id: string;
|
|
3015
3158
|
status?: string | undefined;
|
|
3016
|
-
locationId?: string | null | undefined;
|
|
3017
3159
|
createdAt?: string | undefined;
|
|
3018
3160
|
updatedAt?: string | undefined;
|
|
3019
|
-
teamId?: string | null | undefined;
|
|
3020
3161
|
customFields?: {
|
|
3021
3162
|
title: string;
|
|
3022
3163
|
id: string;
|
|
@@ -3024,18 +3165,20 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3024
3165
|
isPrivate?: boolean | undefined;
|
|
3025
3166
|
}[] | undefined;
|
|
3026
3167
|
departmentId?: string | null | undefined;
|
|
3168
|
+
teamId?: string | null | undefined;
|
|
3169
|
+
locationId?: string | null | undefined;
|
|
3027
3170
|
locationIds?: string[] | undefined;
|
|
3028
3171
|
openedAt?: string | null | undefined;
|
|
3029
3172
|
closedAt?: string | null | undefined;
|
|
3030
3173
|
}>>;
|
|
3031
3174
|
error: z.ZodString;
|
|
3032
3175
|
}, "strip", z.ZodTypeAny, {
|
|
3033
|
-
error: string;
|
|
3034
|
-
success: boolean;
|
|
3035
3176
|
operation: "get_application";
|
|
3177
|
+
success: boolean;
|
|
3178
|
+
error: string;
|
|
3036
3179
|
candidate?: {
|
|
3037
|
-
name: string;
|
|
3038
3180
|
id: string;
|
|
3181
|
+
name: string;
|
|
3039
3182
|
createdAt?: string | undefined;
|
|
3040
3183
|
updatedAt?: string | undefined;
|
|
3041
3184
|
primaryEmailAddress?: {
|
|
@@ -3059,10 +3202,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3059
3202
|
title: string;
|
|
3060
3203
|
id: string;
|
|
3061
3204
|
status?: string | undefined;
|
|
3062
|
-
locationId?: string | null | undefined;
|
|
3063
3205
|
createdAt?: string | undefined;
|
|
3064
3206
|
updatedAt?: string | undefined;
|
|
3065
|
-
teamId?: string | null | undefined;
|
|
3066
3207
|
customFields?: {
|
|
3067
3208
|
title: string;
|
|
3068
3209
|
id: string;
|
|
@@ -3070,6 +3211,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3070
3211
|
isPrivate?: boolean | undefined;
|
|
3071
3212
|
}[] | undefined;
|
|
3072
3213
|
departmentId?: string | null | undefined;
|
|
3214
|
+
teamId?: string | null | undefined;
|
|
3215
|
+
locationId?: string | null | undefined;
|
|
3073
3216
|
locationIds?: string[] | undefined;
|
|
3074
3217
|
openedAt?: string | null | undefined;
|
|
3075
3218
|
closedAt?: string | null | undefined;
|
|
@@ -3077,7 +3220,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3077
3220
|
application?: {
|
|
3078
3221
|
id: string;
|
|
3079
3222
|
status?: string | undefined;
|
|
3080
|
-
source?: unknown;
|
|
3081
3223
|
createdAt?: string | undefined;
|
|
3082
3224
|
updatedAt?: string | undefined;
|
|
3083
3225
|
customFields?: {
|
|
@@ -3086,6 +3228,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3086
3228
|
value?: unknown;
|
|
3087
3229
|
isPrivate?: boolean | undefined;
|
|
3088
3230
|
}[] | undefined;
|
|
3231
|
+
source?: unknown;
|
|
3089
3232
|
candidateId?: string | null | undefined;
|
|
3090
3233
|
jobId?: string | null | undefined;
|
|
3091
3234
|
currentInterviewStage?: {
|
|
@@ -3097,20 +3240,20 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3097
3240
|
} | null | undefined;
|
|
3098
3241
|
archiveReason?: unknown;
|
|
3099
3242
|
hiringTeam?: {
|
|
3100
|
-
role: string;
|
|
3101
3243
|
userId: string;
|
|
3244
|
+
role: string;
|
|
3102
3245
|
email?: string | undefined;
|
|
3103
3246
|
firstName?: string | undefined;
|
|
3104
3247
|
lastName?: string | undefined;
|
|
3105
3248
|
}[] | undefined;
|
|
3106
3249
|
} | undefined;
|
|
3107
3250
|
}, {
|
|
3108
|
-
error: string;
|
|
3109
|
-
success: boolean;
|
|
3110
3251
|
operation: "get_application";
|
|
3252
|
+
success: boolean;
|
|
3253
|
+
error: string;
|
|
3111
3254
|
candidate?: {
|
|
3112
|
-
name: string;
|
|
3113
3255
|
id: string;
|
|
3256
|
+
name: string;
|
|
3114
3257
|
createdAt?: string | undefined;
|
|
3115
3258
|
updatedAt?: string | undefined;
|
|
3116
3259
|
primaryEmailAddress?: {
|
|
@@ -3134,10 +3277,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3134
3277
|
title: string;
|
|
3135
3278
|
id: string;
|
|
3136
3279
|
status?: string | undefined;
|
|
3137
|
-
locationId?: string | null | undefined;
|
|
3138
3280
|
createdAt?: string | undefined;
|
|
3139
3281
|
updatedAt?: string | undefined;
|
|
3140
|
-
teamId?: string | null | undefined;
|
|
3141
3282
|
customFields?: {
|
|
3142
3283
|
title: string;
|
|
3143
3284
|
id: string;
|
|
@@ -3145,6 +3286,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3145
3286
|
isPrivate?: boolean | undefined;
|
|
3146
3287
|
}[] | undefined;
|
|
3147
3288
|
departmentId?: string | null | undefined;
|
|
3289
|
+
teamId?: string | null | undefined;
|
|
3290
|
+
locationId?: string | null | undefined;
|
|
3148
3291
|
locationIds?: string[] | undefined;
|
|
3149
3292
|
openedAt?: string | null | undefined;
|
|
3150
3293
|
closedAt?: string | null | undefined;
|
|
@@ -3152,7 +3295,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3152
3295
|
application?: {
|
|
3153
3296
|
id: string;
|
|
3154
3297
|
status?: string | undefined;
|
|
3155
|
-
source?: unknown;
|
|
3156
3298
|
createdAt?: string | undefined;
|
|
3157
3299
|
updatedAt?: string | undefined;
|
|
3158
3300
|
customFields?: {
|
|
@@ -3161,6 +3303,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3161
3303
|
value?: unknown;
|
|
3162
3304
|
isPrivate?: boolean | undefined;
|
|
3163
3305
|
}[] | undefined;
|
|
3306
|
+
source?: unknown;
|
|
3164
3307
|
candidateId?: string | null | undefined;
|
|
3165
3308
|
jobId?: string | null | undefined;
|
|
3166
3309
|
currentInterviewStage?: {
|
|
@@ -3172,8 +3315,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3172
3315
|
} | null | undefined;
|
|
3173
3316
|
archiveReason?: unknown;
|
|
3174
3317
|
hiringTeam?: {
|
|
3175
|
-
role: string;
|
|
3176
3318
|
userId: string;
|
|
3319
|
+
role: string;
|
|
3177
3320
|
email?: string | undefined;
|
|
3178
3321
|
firstName?: string | undefined;
|
|
3179
3322
|
lastName?: string | undefined;
|
|
@@ -3233,14 +3376,14 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3233
3376
|
firstName: z.ZodOptional<z.ZodString>;
|
|
3234
3377
|
lastName: z.ZodOptional<z.ZodString>;
|
|
3235
3378
|
}, "strip", z.ZodTypeAny, {
|
|
3236
|
-
role: string;
|
|
3237
3379
|
userId: string;
|
|
3380
|
+
role: string;
|
|
3238
3381
|
email?: string | undefined;
|
|
3239
3382
|
firstName?: string | undefined;
|
|
3240
3383
|
lastName?: string | undefined;
|
|
3241
3384
|
}, {
|
|
3242
|
-
role: string;
|
|
3243
3385
|
userId: string;
|
|
3386
|
+
role: string;
|
|
3244
3387
|
email?: string | undefined;
|
|
3245
3388
|
firstName?: string | undefined;
|
|
3246
3389
|
lastName?: string | undefined;
|
|
@@ -3248,7 +3391,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3248
3391
|
}, "strip", z.ZodTypeAny, {
|
|
3249
3392
|
id: string;
|
|
3250
3393
|
status?: string | undefined;
|
|
3251
|
-
source?: unknown;
|
|
3252
3394
|
createdAt?: string | undefined;
|
|
3253
3395
|
updatedAt?: string | undefined;
|
|
3254
3396
|
customFields?: {
|
|
@@ -3257,6 +3399,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3257
3399
|
value?: unknown;
|
|
3258
3400
|
isPrivate?: boolean | undefined;
|
|
3259
3401
|
}[] | undefined;
|
|
3402
|
+
source?: unknown;
|
|
3260
3403
|
candidateId?: string | null | undefined;
|
|
3261
3404
|
jobId?: string | null | undefined;
|
|
3262
3405
|
currentInterviewStage?: {
|
|
@@ -3268,8 +3411,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3268
3411
|
} | null | undefined;
|
|
3269
3412
|
archiveReason?: unknown;
|
|
3270
3413
|
hiringTeam?: {
|
|
3271
|
-
role: string;
|
|
3272
3414
|
userId: string;
|
|
3415
|
+
role: string;
|
|
3273
3416
|
email?: string | undefined;
|
|
3274
3417
|
firstName?: string | undefined;
|
|
3275
3418
|
lastName?: string | undefined;
|
|
@@ -3277,7 +3420,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3277
3420
|
}, {
|
|
3278
3421
|
id: string;
|
|
3279
3422
|
status?: string | undefined;
|
|
3280
|
-
source?: unknown;
|
|
3281
3423
|
createdAt?: string | undefined;
|
|
3282
3424
|
updatedAt?: string | undefined;
|
|
3283
3425
|
customFields?: {
|
|
@@ -3286,6 +3428,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3286
3428
|
value?: unknown;
|
|
3287
3429
|
isPrivate?: boolean | undefined;
|
|
3288
3430
|
}[] | undefined;
|
|
3431
|
+
source?: unknown;
|
|
3289
3432
|
candidateId?: string | null | undefined;
|
|
3290
3433
|
jobId?: string | null | undefined;
|
|
3291
3434
|
currentInterviewStage?: {
|
|
@@ -3297,8 +3440,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3297
3440
|
} | null | undefined;
|
|
3298
3441
|
archiveReason?: unknown;
|
|
3299
3442
|
hiringTeam?: {
|
|
3300
|
-
role: string;
|
|
3301
3443
|
userId: string;
|
|
3444
|
+
role: string;
|
|
3302
3445
|
email?: string | undefined;
|
|
3303
3446
|
firstName?: string | undefined;
|
|
3304
3447
|
lastName?: string | undefined;
|
|
@@ -3306,13 +3449,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3306
3449
|
}>>;
|
|
3307
3450
|
error: z.ZodString;
|
|
3308
3451
|
}, "strip", z.ZodTypeAny, {
|
|
3309
|
-
error: string;
|
|
3310
|
-
success: boolean;
|
|
3311
3452
|
operation: "create_application";
|
|
3453
|
+
success: boolean;
|
|
3454
|
+
error: string;
|
|
3312
3455
|
application?: {
|
|
3313
3456
|
id: string;
|
|
3314
3457
|
status?: string | undefined;
|
|
3315
|
-
source?: unknown;
|
|
3316
3458
|
createdAt?: string | undefined;
|
|
3317
3459
|
updatedAt?: string | undefined;
|
|
3318
3460
|
customFields?: {
|
|
@@ -3321,6 +3463,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3321
3463
|
value?: unknown;
|
|
3322
3464
|
isPrivate?: boolean | undefined;
|
|
3323
3465
|
}[] | undefined;
|
|
3466
|
+
source?: unknown;
|
|
3324
3467
|
candidateId?: string | null | undefined;
|
|
3325
3468
|
jobId?: string | null | undefined;
|
|
3326
3469
|
currentInterviewStage?: {
|
|
@@ -3332,21 +3475,20 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3332
3475
|
} | null | undefined;
|
|
3333
3476
|
archiveReason?: unknown;
|
|
3334
3477
|
hiringTeam?: {
|
|
3335
|
-
role: string;
|
|
3336
3478
|
userId: string;
|
|
3479
|
+
role: string;
|
|
3337
3480
|
email?: string | undefined;
|
|
3338
3481
|
firstName?: string | undefined;
|
|
3339
3482
|
lastName?: string | undefined;
|
|
3340
3483
|
}[] | undefined;
|
|
3341
3484
|
} | undefined;
|
|
3342
3485
|
}, {
|
|
3343
|
-
error: string;
|
|
3344
|
-
success: boolean;
|
|
3345
3486
|
operation: "create_application";
|
|
3487
|
+
success: boolean;
|
|
3488
|
+
error: string;
|
|
3346
3489
|
application?: {
|
|
3347
3490
|
id: string;
|
|
3348
3491
|
status?: string | undefined;
|
|
3349
|
-
source?: unknown;
|
|
3350
3492
|
createdAt?: string | undefined;
|
|
3351
3493
|
updatedAt?: string | undefined;
|
|
3352
3494
|
customFields?: {
|
|
@@ -3355,6 +3497,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3355
3497
|
value?: unknown;
|
|
3356
3498
|
isPrivate?: boolean | undefined;
|
|
3357
3499
|
}[] | undefined;
|
|
3500
|
+
source?: unknown;
|
|
3358
3501
|
candidateId?: string | null | undefined;
|
|
3359
3502
|
jobId?: string | null | undefined;
|
|
3360
3503
|
currentInterviewStage?: {
|
|
@@ -3366,8 +3509,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3366
3509
|
} | null | undefined;
|
|
3367
3510
|
archiveReason?: unknown;
|
|
3368
3511
|
hiringTeam?: {
|
|
3369
|
-
role: string;
|
|
3370
3512
|
userId: string;
|
|
3513
|
+
role: string;
|
|
3371
3514
|
email?: string | undefined;
|
|
3372
3515
|
firstName?: string | undefined;
|
|
3373
3516
|
lastName?: string | undefined;
|
|
@@ -3427,14 +3570,14 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3427
3570
|
firstName: z.ZodOptional<z.ZodString>;
|
|
3428
3571
|
lastName: z.ZodOptional<z.ZodString>;
|
|
3429
3572
|
}, "strip", z.ZodTypeAny, {
|
|
3430
|
-
role: string;
|
|
3431
3573
|
userId: string;
|
|
3574
|
+
role: string;
|
|
3432
3575
|
email?: string | undefined;
|
|
3433
3576
|
firstName?: string | undefined;
|
|
3434
3577
|
lastName?: string | undefined;
|
|
3435
3578
|
}, {
|
|
3436
|
-
role: string;
|
|
3437
3579
|
userId: string;
|
|
3580
|
+
role: string;
|
|
3438
3581
|
email?: string | undefined;
|
|
3439
3582
|
firstName?: string | undefined;
|
|
3440
3583
|
lastName?: string | undefined;
|
|
@@ -3442,7 +3585,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3442
3585
|
}, "strip", z.ZodTypeAny, {
|
|
3443
3586
|
id: string;
|
|
3444
3587
|
status?: string | undefined;
|
|
3445
|
-
source?: unknown;
|
|
3446
3588
|
createdAt?: string | undefined;
|
|
3447
3589
|
updatedAt?: string | undefined;
|
|
3448
3590
|
customFields?: {
|
|
@@ -3451,6 +3593,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3451
3593
|
value?: unknown;
|
|
3452
3594
|
isPrivate?: boolean | undefined;
|
|
3453
3595
|
}[] | undefined;
|
|
3596
|
+
source?: unknown;
|
|
3454
3597
|
candidateId?: string | null | undefined;
|
|
3455
3598
|
jobId?: string | null | undefined;
|
|
3456
3599
|
currentInterviewStage?: {
|
|
@@ -3462,8 +3605,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3462
3605
|
} | null | undefined;
|
|
3463
3606
|
archiveReason?: unknown;
|
|
3464
3607
|
hiringTeam?: {
|
|
3465
|
-
role: string;
|
|
3466
3608
|
userId: string;
|
|
3609
|
+
role: string;
|
|
3467
3610
|
email?: string | undefined;
|
|
3468
3611
|
firstName?: string | undefined;
|
|
3469
3612
|
lastName?: string | undefined;
|
|
@@ -3471,7 +3614,6 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3471
3614
|
}, {
|
|
3472
3615
|
id: string;
|
|
3473
3616
|
status?: string | undefined;
|
|
3474
|
-
source?: unknown;
|
|
3475
3617
|
createdAt?: string | undefined;
|
|
3476
3618
|
updatedAt?: string | undefined;
|
|
3477
3619
|
customFields?: {
|
|
@@ -3480,6 +3622,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3480
3622
|
value?: unknown;
|
|
3481
3623
|
isPrivate?: boolean | undefined;
|
|
3482
3624
|
}[] | undefined;
|
|
3625
|
+
source?: unknown;
|
|
3483
3626
|
candidateId?: string | null | undefined;
|
|
3484
3627
|
jobId?: string | null | undefined;
|
|
3485
3628
|
currentInterviewStage?: {
|
|
@@ -3491,8 +3634,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3491
3634
|
} | null | undefined;
|
|
3492
3635
|
archiveReason?: unknown;
|
|
3493
3636
|
hiringTeam?: {
|
|
3494
|
-
role: string;
|
|
3495
3637
|
userId: string;
|
|
3638
|
+
role: string;
|
|
3496
3639
|
email?: string | undefined;
|
|
3497
3640
|
firstName?: string | undefined;
|
|
3498
3641
|
lastName?: string | undefined;
|
|
@@ -3500,13 +3643,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3500
3643
|
}>>;
|
|
3501
3644
|
error: z.ZodString;
|
|
3502
3645
|
}, "strip", z.ZodTypeAny, {
|
|
3503
|
-
error: string;
|
|
3504
|
-
success: boolean;
|
|
3505
3646
|
operation: "change_application_stage";
|
|
3647
|
+
success: boolean;
|
|
3648
|
+
error: string;
|
|
3506
3649
|
application?: {
|
|
3507
3650
|
id: string;
|
|
3508
3651
|
status?: string | undefined;
|
|
3509
|
-
source?: unknown;
|
|
3510
3652
|
createdAt?: string | undefined;
|
|
3511
3653
|
updatedAt?: string | undefined;
|
|
3512
3654
|
customFields?: {
|
|
@@ -3515,6 +3657,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3515
3657
|
value?: unknown;
|
|
3516
3658
|
isPrivate?: boolean | undefined;
|
|
3517
3659
|
}[] | undefined;
|
|
3660
|
+
source?: unknown;
|
|
3518
3661
|
candidateId?: string | null | undefined;
|
|
3519
3662
|
jobId?: string | null | undefined;
|
|
3520
3663
|
currentInterviewStage?: {
|
|
@@ -3526,21 +3669,20 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3526
3669
|
} | null | undefined;
|
|
3527
3670
|
archiveReason?: unknown;
|
|
3528
3671
|
hiringTeam?: {
|
|
3529
|
-
role: string;
|
|
3530
3672
|
userId: string;
|
|
3673
|
+
role: string;
|
|
3531
3674
|
email?: string | undefined;
|
|
3532
3675
|
firstName?: string | undefined;
|
|
3533
3676
|
lastName?: string | undefined;
|
|
3534
3677
|
}[] | undefined;
|
|
3535
3678
|
} | undefined;
|
|
3536
3679
|
}, {
|
|
3537
|
-
error: string;
|
|
3538
|
-
success: boolean;
|
|
3539
3680
|
operation: "change_application_stage";
|
|
3681
|
+
success: boolean;
|
|
3682
|
+
error: string;
|
|
3540
3683
|
application?: {
|
|
3541
3684
|
id: string;
|
|
3542
3685
|
status?: string | undefined;
|
|
3543
|
-
source?: unknown;
|
|
3544
3686
|
createdAt?: string | undefined;
|
|
3545
3687
|
updatedAt?: string | undefined;
|
|
3546
3688
|
customFields?: {
|
|
@@ -3549,6 +3691,7 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3549
3691
|
value?: unknown;
|
|
3550
3692
|
isPrivate?: boolean | undefined;
|
|
3551
3693
|
}[] | undefined;
|
|
3694
|
+
source?: unknown;
|
|
3552
3695
|
candidateId?: string | null | undefined;
|
|
3553
3696
|
jobId?: string | null | undefined;
|
|
3554
3697
|
currentInterviewStage?: {
|
|
@@ -3560,8 +3703,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3560
3703
|
} | null | undefined;
|
|
3561
3704
|
archiveReason?: unknown;
|
|
3562
3705
|
hiringTeam?: {
|
|
3563
|
-
role: string;
|
|
3564
3706
|
userId: string;
|
|
3707
|
+
role: string;
|
|
3565
3708
|
email?: string | undefined;
|
|
3566
3709
|
firstName?: string | undefined;
|
|
3567
3710
|
lastName?: string | undefined;
|
|
@@ -3618,8 +3761,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3618
3761
|
isPrivate?: boolean | undefined;
|
|
3619
3762
|
}>, "many">>;
|
|
3620
3763
|
}, "strip", z.ZodTypeAny, {
|
|
3621
|
-
name: string;
|
|
3622
3764
|
id: string;
|
|
3765
|
+
name: string;
|
|
3623
3766
|
createdAt?: string | undefined;
|
|
3624
3767
|
updatedAt?: string | undefined;
|
|
3625
3768
|
primaryEmailAddress?: {
|
|
@@ -3639,8 +3782,8 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3639
3782
|
isPrivate?: boolean | undefined;
|
|
3640
3783
|
}[] | undefined;
|
|
3641
3784
|
}, {
|
|
3642
|
-
name: string;
|
|
3643
3785
|
id: string;
|
|
3786
|
+
name: string;
|
|
3644
3787
|
createdAt?: string | undefined;
|
|
3645
3788
|
updatedAt?: string | undefined;
|
|
3646
3789
|
primaryEmailAddress?: {
|
|
@@ -3662,12 +3805,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3662
3805
|
}>>;
|
|
3663
3806
|
error: z.ZodString;
|
|
3664
3807
|
}, "strip", z.ZodTypeAny, {
|
|
3665
|
-
error: string;
|
|
3666
|
-
success: boolean;
|
|
3667
3808
|
operation: "update_candidate";
|
|
3809
|
+
success: boolean;
|
|
3810
|
+
error: string;
|
|
3668
3811
|
candidate?: {
|
|
3669
|
-
name: string;
|
|
3670
3812
|
id: string;
|
|
3813
|
+
name: string;
|
|
3671
3814
|
createdAt?: string | undefined;
|
|
3672
3815
|
updatedAt?: string | undefined;
|
|
3673
3816
|
primaryEmailAddress?: {
|
|
@@ -3688,12 +3831,12 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3688
3831
|
}[] | undefined;
|
|
3689
3832
|
} | undefined;
|
|
3690
3833
|
}, {
|
|
3691
|
-
error: string;
|
|
3692
|
-
success: boolean;
|
|
3693
3834
|
operation: "update_candidate";
|
|
3835
|
+
success: boolean;
|
|
3836
|
+
error: string;
|
|
3694
3837
|
candidate?: {
|
|
3695
|
-
name: string;
|
|
3696
3838
|
id: string;
|
|
3839
|
+
name: string;
|
|
3697
3840
|
createdAt?: string | undefined;
|
|
3698
3841
|
updatedAt?: string | undefined;
|
|
3699
3842
|
primaryEmailAddress?: {
|
|
@@ -3737,56 +3880,56 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3737
3880
|
lastName?: string | undefined;
|
|
3738
3881
|
}>>>;
|
|
3739
3882
|
}, "strip", z.ZodTypeAny, {
|
|
3740
|
-
content: string;
|
|
3741
3883
|
id: string;
|
|
3884
|
+
content: string;
|
|
3885
|
+
createdAt?: string | undefined;
|
|
3742
3886
|
author?: {
|
|
3743
3887
|
id: string;
|
|
3744
3888
|
email?: string | undefined;
|
|
3745
3889
|
firstName?: string | undefined;
|
|
3746
3890
|
lastName?: string | undefined;
|
|
3747
3891
|
} | null | undefined;
|
|
3748
|
-
createdAt?: string | undefined;
|
|
3749
3892
|
}, {
|
|
3750
|
-
content: string;
|
|
3751
3893
|
id: string;
|
|
3894
|
+
content: string;
|
|
3895
|
+
createdAt?: string | undefined;
|
|
3752
3896
|
author?: {
|
|
3753
3897
|
id: string;
|
|
3754
3898
|
email?: string | undefined;
|
|
3755
3899
|
firstName?: string | undefined;
|
|
3756
3900
|
lastName?: string | undefined;
|
|
3757
3901
|
} | null | undefined;
|
|
3758
|
-
createdAt?: string | undefined;
|
|
3759
3902
|
}>>;
|
|
3760
3903
|
error: z.ZodString;
|
|
3761
3904
|
}, "strip", z.ZodTypeAny, {
|
|
3762
|
-
error: string;
|
|
3763
|
-
success: boolean;
|
|
3764
3905
|
operation: "create_note";
|
|
3906
|
+
success: boolean;
|
|
3907
|
+
error: string;
|
|
3765
3908
|
note?: {
|
|
3766
|
-
content: string;
|
|
3767
3909
|
id: string;
|
|
3910
|
+
content: string;
|
|
3911
|
+
createdAt?: string | undefined;
|
|
3768
3912
|
author?: {
|
|
3769
3913
|
id: string;
|
|
3770
3914
|
email?: string | undefined;
|
|
3771
3915
|
firstName?: string | undefined;
|
|
3772
3916
|
lastName?: string | undefined;
|
|
3773
3917
|
} | null | undefined;
|
|
3774
|
-
createdAt?: string | undefined;
|
|
3775
3918
|
} | undefined;
|
|
3776
3919
|
}, {
|
|
3777
|
-
error: string;
|
|
3778
|
-
success: boolean;
|
|
3779
3920
|
operation: "create_note";
|
|
3921
|
+
success: boolean;
|
|
3922
|
+
error: string;
|
|
3780
3923
|
note?: {
|
|
3781
|
-
content: string;
|
|
3782
3924
|
id: string;
|
|
3925
|
+
content: string;
|
|
3926
|
+
createdAt?: string | undefined;
|
|
3783
3927
|
author?: {
|
|
3784
3928
|
id: string;
|
|
3785
3929
|
email?: string | undefined;
|
|
3786
3930
|
firstName?: string | undefined;
|
|
3787
3931
|
lastName?: string | undefined;
|
|
3788
3932
|
} | null | undefined;
|
|
3789
|
-
createdAt?: string | undefined;
|
|
3790
3933
|
} | undefined;
|
|
3791
3934
|
}>, z.ZodObject<{
|
|
3792
3935
|
operation: z.ZodLiteral<"list_notes">;
|
|
@@ -3812,56 +3955,56 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3812
3955
|
lastName?: string | undefined;
|
|
3813
3956
|
}>>>;
|
|
3814
3957
|
}, "strip", z.ZodTypeAny, {
|
|
3815
|
-
content: string;
|
|
3816
3958
|
id: string;
|
|
3959
|
+
content: string;
|
|
3960
|
+
createdAt?: string | undefined;
|
|
3817
3961
|
author?: {
|
|
3818
3962
|
id: string;
|
|
3819
3963
|
email?: string | undefined;
|
|
3820
3964
|
firstName?: string | undefined;
|
|
3821
3965
|
lastName?: string | undefined;
|
|
3822
3966
|
} | null | undefined;
|
|
3823
|
-
createdAt?: string | undefined;
|
|
3824
3967
|
}, {
|
|
3825
|
-
content: string;
|
|
3826
3968
|
id: string;
|
|
3969
|
+
content: string;
|
|
3970
|
+
createdAt?: string | undefined;
|
|
3827
3971
|
author?: {
|
|
3828
3972
|
id: string;
|
|
3829
3973
|
email?: string | undefined;
|
|
3830
3974
|
firstName?: string | undefined;
|
|
3831
3975
|
lastName?: string | undefined;
|
|
3832
3976
|
} | null | undefined;
|
|
3833
|
-
createdAt?: string | undefined;
|
|
3834
3977
|
}>, "many">>;
|
|
3835
3978
|
error: z.ZodString;
|
|
3836
3979
|
}, "strip", z.ZodTypeAny, {
|
|
3837
|
-
error: string;
|
|
3838
|
-
success: boolean;
|
|
3839
3980
|
operation: "list_notes";
|
|
3981
|
+
success: boolean;
|
|
3982
|
+
error: string;
|
|
3840
3983
|
notes?: {
|
|
3841
|
-
content: string;
|
|
3842
3984
|
id: string;
|
|
3985
|
+
content: string;
|
|
3986
|
+
createdAt?: string | undefined;
|
|
3843
3987
|
author?: {
|
|
3844
3988
|
id: string;
|
|
3845
3989
|
email?: string | undefined;
|
|
3846
3990
|
firstName?: string | undefined;
|
|
3847
3991
|
lastName?: string | undefined;
|
|
3848
3992
|
} | null | undefined;
|
|
3849
|
-
createdAt?: string | undefined;
|
|
3850
3993
|
}[] | undefined;
|
|
3851
3994
|
}, {
|
|
3852
|
-
error: string;
|
|
3853
|
-
success: boolean;
|
|
3854
3995
|
operation: "list_notes";
|
|
3996
|
+
success: boolean;
|
|
3997
|
+
error: string;
|
|
3855
3998
|
notes?: {
|
|
3856
|
-
content: string;
|
|
3857
3999
|
id: string;
|
|
4000
|
+
content: string;
|
|
4001
|
+
createdAt?: string | undefined;
|
|
3858
4002
|
author?: {
|
|
3859
4003
|
id: string;
|
|
3860
4004
|
email?: string | undefined;
|
|
3861
4005
|
firstName?: string | undefined;
|
|
3862
4006
|
lastName?: string | undefined;
|
|
3863
4007
|
} | null | undefined;
|
|
3864
|
-
createdAt?: string | undefined;
|
|
3865
4008
|
}[] | undefined;
|
|
3866
4009
|
}>, z.ZodObject<{
|
|
3867
4010
|
operation: z.ZodLiteral<"list_sources">;
|
|
@@ -3881,18 +4024,18 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3881
4024
|
}>, "many">>;
|
|
3882
4025
|
error: z.ZodString;
|
|
3883
4026
|
}, "strip", z.ZodTypeAny, {
|
|
3884
|
-
error: string;
|
|
3885
|
-
success: boolean;
|
|
3886
4027
|
operation: "list_sources";
|
|
4028
|
+
success: boolean;
|
|
4029
|
+
error: string;
|
|
3887
4030
|
sources?: {
|
|
3888
4031
|
title: string;
|
|
3889
4032
|
id: string;
|
|
3890
4033
|
isArchived?: boolean | undefined;
|
|
3891
4034
|
}[] | undefined;
|
|
3892
4035
|
}, {
|
|
3893
|
-
error: string;
|
|
3894
|
-
success: boolean;
|
|
3895
4036
|
operation: "list_sources";
|
|
4037
|
+
success: boolean;
|
|
4038
|
+
error: string;
|
|
3896
4039
|
sources?: {
|
|
3897
4040
|
title: string;
|
|
3898
4041
|
id: string;
|
|
@@ -3922,9 +4065,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3922
4065
|
}>, "many">>;
|
|
3923
4066
|
error: z.ZodString;
|
|
3924
4067
|
}, "strip", z.ZodTypeAny, {
|
|
3925
|
-
error: string;
|
|
3926
|
-
success: boolean;
|
|
3927
4068
|
operation: "list_interview_stages";
|
|
4069
|
+
success: boolean;
|
|
4070
|
+
error: string;
|
|
3928
4071
|
interview_stages?: {
|
|
3929
4072
|
title: string;
|
|
3930
4073
|
id: string;
|
|
@@ -3933,9 +4076,9 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3933
4076
|
interviewPlanId?: string | undefined;
|
|
3934
4077
|
}[] | undefined;
|
|
3935
4078
|
}, {
|
|
3936
|
-
error: string;
|
|
3937
|
-
success: boolean;
|
|
3938
4079
|
operation: "list_interview_stages";
|
|
4080
|
+
success: boolean;
|
|
4081
|
+
error: string;
|
|
3939
4082
|
interview_stages?: {
|
|
3940
4083
|
title: string;
|
|
3941
4084
|
id: string;
|
|
@@ -3952,32 +4095,281 @@ export declare const AshbyResultSchema: z.ZodDiscriminatedUnion<"operation", [z.
|
|
|
3952
4095
|
url: z.ZodString;
|
|
3953
4096
|
}, "strip", z.ZodTypeAny, {
|
|
3954
4097
|
url: string;
|
|
3955
|
-
name?: string | undefined;
|
|
3956
4098
|
id?: string | undefined;
|
|
4099
|
+
name?: string | undefined;
|
|
3957
4100
|
}, {
|
|
3958
4101
|
url: string;
|
|
3959
|
-
name?: string | undefined;
|
|
3960
4102
|
id?: string | undefined;
|
|
4103
|
+
name?: string | undefined;
|
|
3961
4104
|
}>>;
|
|
3962
4105
|
error: z.ZodString;
|
|
3963
4106
|
}, "strip", z.ZodTypeAny, {
|
|
3964
|
-
error: string;
|
|
3965
|
-
success: boolean;
|
|
3966
4107
|
operation: "get_file_url";
|
|
4108
|
+
success: boolean;
|
|
4109
|
+
error: string;
|
|
3967
4110
|
file?: {
|
|
3968
4111
|
url: string;
|
|
3969
|
-
name?: string | undefined;
|
|
3970
4112
|
id?: string | undefined;
|
|
4113
|
+
name?: string | undefined;
|
|
3971
4114
|
} | undefined;
|
|
3972
4115
|
}, {
|
|
3973
|
-
error: string;
|
|
3974
|
-
success: boolean;
|
|
3975
4116
|
operation: "get_file_url";
|
|
4117
|
+
success: boolean;
|
|
4118
|
+
error: string;
|
|
3976
4119
|
file?: {
|
|
3977
4120
|
url: string;
|
|
3978
|
-
name?: string | undefined;
|
|
3979
4121
|
id?: string | undefined;
|
|
4122
|
+
name?: string | undefined;
|
|
4123
|
+
} | undefined;
|
|
4124
|
+
}>, z.ZodObject<{
|
|
4125
|
+
operation: z.ZodLiteral<"list_projects">;
|
|
4126
|
+
success: z.ZodBoolean;
|
|
4127
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4128
|
+
id: z.ZodString;
|
|
4129
|
+
title: z.ZodString;
|
|
4130
|
+
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
4131
|
+
}, "strip", z.ZodTypeAny, {
|
|
4132
|
+
title: string;
|
|
4133
|
+
id: string;
|
|
4134
|
+
isArchived?: boolean | undefined;
|
|
4135
|
+
}, {
|
|
4136
|
+
title: string;
|
|
4137
|
+
id: string;
|
|
4138
|
+
isArchived?: boolean | undefined;
|
|
4139
|
+
}>, "many">>;
|
|
4140
|
+
error: z.ZodString;
|
|
4141
|
+
}, "strip", z.ZodTypeAny, {
|
|
4142
|
+
operation: "list_projects";
|
|
4143
|
+
success: boolean;
|
|
4144
|
+
error: string;
|
|
4145
|
+
projects?: {
|
|
4146
|
+
title: string;
|
|
4147
|
+
id: string;
|
|
4148
|
+
isArchived?: boolean | undefined;
|
|
4149
|
+
}[] | undefined;
|
|
4150
|
+
}, {
|
|
4151
|
+
operation: "list_projects";
|
|
4152
|
+
success: boolean;
|
|
4153
|
+
error: string;
|
|
4154
|
+
projects?: {
|
|
4155
|
+
title: string;
|
|
4156
|
+
id: string;
|
|
4157
|
+
isArchived?: boolean | undefined;
|
|
4158
|
+
}[] | undefined;
|
|
4159
|
+
}>, z.ZodObject<{
|
|
4160
|
+
operation: z.ZodLiteral<"get_project">;
|
|
4161
|
+
success: z.ZodBoolean;
|
|
4162
|
+
project: z.ZodOptional<z.ZodObject<{
|
|
4163
|
+
id: z.ZodString;
|
|
4164
|
+
title: z.ZodString;
|
|
4165
|
+
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
4166
|
+
}, "strip", z.ZodTypeAny, {
|
|
4167
|
+
title: string;
|
|
4168
|
+
id: string;
|
|
4169
|
+
isArchived?: boolean | undefined;
|
|
4170
|
+
}, {
|
|
4171
|
+
title: string;
|
|
4172
|
+
id: string;
|
|
4173
|
+
isArchived?: boolean | undefined;
|
|
4174
|
+
}>>;
|
|
4175
|
+
error: z.ZodString;
|
|
4176
|
+
}, "strip", z.ZodTypeAny, {
|
|
4177
|
+
operation: "get_project";
|
|
4178
|
+
success: boolean;
|
|
4179
|
+
error: string;
|
|
4180
|
+
project?: {
|
|
4181
|
+
title: string;
|
|
4182
|
+
id: string;
|
|
4183
|
+
isArchived?: boolean | undefined;
|
|
3980
4184
|
} | undefined;
|
|
4185
|
+
}, {
|
|
4186
|
+
operation: "get_project";
|
|
4187
|
+
success: boolean;
|
|
4188
|
+
error: string;
|
|
4189
|
+
project?: {
|
|
4190
|
+
title: string;
|
|
4191
|
+
id: string;
|
|
4192
|
+
isArchived?: boolean | undefined;
|
|
4193
|
+
} | undefined;
|
|
4194
|
+
}>, z.ZodObject<{
|
|
4195
|
+
operation: z.ZodLiteral<"list_candidate_projects">;
|
|
4196
|
+
success: z.ZodBoolean;
|
|
4197
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4198
|
+
id: z.ZodString;
|
|
4199
|
+
title: z.ZodString;
|
|
4200
|
+
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
4201
|
+
}, "strip", z.ZodTypeAny, {
|
|
4202
|
+
title: string;
|
|
4203
|
+
id: string;
|
|
4204
|
+
isArchived?: boolean | undefined;
|
|
4205
|
+
}, {
|
|
4206
|
+
title: string;
|
|
4207
|
+
id: string;
|
|
4208
|
+
isArchived?: boolean | undefined;
|
|
4209
|
+
}>, "many">>;
|
|
4210
|
+
error: z.ZodString;
|
|
4211
|
+
}, "strip", z.ZodTypeAny, {
|
|
4212
|
+
operation: "list_candidate_projects";
|
|
4213
|
+
success: boolean;
|
|
4214
|
+
error: string;
|
|
4215
|
+
projects?: {
|
|
4216
|
+
title: string;
|
|
4217
|
+
id: string;
|
|
4218
|
+
isArchived?: boolean | undefined;
|
|
4219
|
+
}[] | undefined;
|
|
4220
|
+
}, {
|
|
4221
|
+
operation: "list_candidate_projects";
|
|
4222
|
+
success: boolean;
|
|
4223
|
+
error: string;
|
|
4224
|
+
projects?: {
|
|
4225
|
+
title: string;
|
|
4226
|
+
id: string;
|
|
4227
|
+
isArchived?: boolean | undefined;
|
|
4228
|
+
}[] | undefined;
|
|
4229
|
+
}>, z.ZodObject<{
|
|
4230
|
+
operation: z.ZodLiteral<"add_candidate_to_project">;
|
|
4231
|
+
success: z.ZodBoolean;
|
|
4232
|
+
error: z.ZodString;
|
|
4233
|
+
}, "strip", z.ZodTypeAny, {
|
|
4234
|
+
operation: "add_candidate_to_project";
|
|
4235
|
+
success: boolean;
|
|
4236
|
+
error: string;
|
|
4237
|
+
}, {
|
|
4238
|
+
operation: "add_candidate_to_project";
|
|
4239
|
+
success: boolean;
|
|
4240
|
+
error: string;
|
|
4241
|
+
}>, z.ZodObject<{
|
|
4242
|
+
operation: z.ZodLiteral<"remove_candidate_from_project">;
|
|
4243
|
+
success: z.ZodBoolean;
|
|
4244
|
+
error: z.ZodString;
|
|
4245
|
+
}, "strip", z.ZodTypeAny, {
|
|
4246
|
+
operation: "remove_candidate_from_project";
|
|
4247
|
+
success: boolean;
|
|
4248
|
+
error: string;
|
|
4249
|
+
}, {
|
|
4250
|
+
operation: "remove_candidate_from_project";
|
|
4251
|
+
success: boolean;
|
|
4252
|
+
error: string;
|
|
4253
|
+
}>, z.ZodObject<{
|
|
4254
|
+
operation: z.ZodLiteral<"list_project_candidate_ids">;
|
|
4255
|
+
success: z.ZodBoolean;
|
|
4256
|
+
candidate_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4257
|
+
next_cursor: z.ZodOptional<z.ZodString>;
|
|
4258
|
+
more_data_available: z.ZodOptional<z.ZodBoolean>;
|
|
4259
|
+
error: z.ZodString;
|
|
4260
|
+
}, "strip", z.ZodTypeAny, {
|
|
4261
|
+
operation: "list_project_candidate_ids";
|
|
4262
|
+
success: boolean;
|
|
4263
|
+
error: string;
|
|
4264
|
+
next_cursor?: string | undefined;
|
|
4265
|
+
more_data_available?: boolean | undefined;
|
|
4266
|
+
candidate_ids?: string[] | undefined;
|
|
4267
|
+
}, {
|
|
4268
|
+
operation: "list_project_candidate_ids";
|
|
4269
|
+
success: boolean;
|
|
4270
|
+
error: string;
|
|
4271
|
+
next_cursor?: string | undefined;
|
|
4272
|
+
more_data_available?: boolean | undefined;
|
|
4273
|
+
candidate_ids?: string[] | undefined;
|
|
4274
|
+
}>, z.ZodObject<{
|
|
4275
|
+
operation: z.ZodLiteral<"get_all_candidates_with_projects">;
|
|
4276
|
+
success: z.ZodBoolean;
|
|
4277
|
+
candidates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4278
|
+
id: z.ZodString;
|
|
4279
|
+
name: z.ZodString;
|
|
4280
|
+
email: z.ZodNullable<z.ZodString>;
|
|
4281
|
+
phone: z.ZodNullable<z.ZodString>;
|
|
4282
|
+
linkedinUrl: z.ZodNullable<z.ZodString>;
|
|
4283
|
+
position: z.ZodNullable<z.ZodString>;
|
|
4284
|
+
company: z.ZodNullable<z.ZodString>;
|
|
4285
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
4286
|
+
projectIds: z.ZodArray<z.ZodString, "many">;
|
|
4287
|
+
projectNames: z.ZodArray<z.ZodString, "many">;
|
|
4288
|
+
}, "strip", z.ZodTypeAny, {
|
|
4289
|
+
id: string;
|
|
4290
|
+
name: string;
|
|
4291
|
+
tags: string[];
|
|
4292
|
+
position: string | null;
|
|
4293
|
+
company: string | null;
|
|
4294
|
+
email: string | null;
|
|
4295
|
+
phone: string | null;
|
|
4296
|
+
linkedinUrl: string | null;
|
|
4297
|
+
projectIds: string[];
|
|
4298
|
+
projectNames: string[];
|
|
4299
|
+
}, {
|
|
4300
|
+
id: string;
|
|
4301
|
+
name: string;
|
|
4302
|
+
tags: string[];
|
|
4303
|
+
position: string | null;
|
|
4304
|
+
company: string | null;
|
|
4305
|
+
email: string | null;
|
|
4306
|
+
phone: string | null;
|
|
4307
|
+
linkedinUrl: string | null;
|
|
4308
|
+
projectIds: string[];
|
|
4309
|
+
projectNames: string[];
|
|
4310
|
+
}>, "many">>;
|
|
4311
|
+
projects: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4312
|
+
id: z.ZodString;
|
|
4313
|
+
title: z.ZodString;
|
|
4314
|
+
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
4315
|
+
}, "strip", z.ZodTypeAny, {
|
|
4316
|
+
title: string;
|
|
4317
|
+
id: string;
|
|
4318
|
+
isArchived?: boolean | undefined;
|
|
4319
|
+
}, {
|
|
4320
|
+
title: string;
|
|
4321
|
+
id: string;
|
|
4322
|
+
isArchived?: boolean | undefined;
|
|
4323
|
+
}>, "many">>;
|
|
4324
|
+
total_candidates: z.ZodOptional<z.ZodNumber>;
|
|
4325
|
+
total_enriched: z.ZodOptional<z.ZodNumber>;
|
|
4326
|
+
error: z.ZodString;
|
|
4327
|
+
}, "strip", z.ZodTypeAny, {
|
|
4328
|
+
operation: "get_all_candidates_with_projects";
|
|
4329
|
+
success: boolean;
|
|
4330
|
+
error: string;
|
|
4331
|
+
candidates?: {
|
|
4332
|
+
id: string;
|
|
4333
|
+
name: string;
|
|
4334
|
+
tags: string[];
|
|
4335
|
+
position: string | null;
|
|
4336
|
+
company: string | null;
|
|
4337
|
+
email: string | null;
|
|
4338
|
+
phone: string | null;
|
|
4339
|
+
linkedinUrl: string | null;
|
|
4340
|
+
projectIds: string[];
|
|
4341
|
+
projectNames: string[];
|
|
4342
|
+
}[] | undefined;
|
|
4343
|
+
projects?: {
|
|
4344
|
+
title: string;
|
|
4345
|
+
id: string;
|
|
4346
|
+
isArchived?: boolean | undefined;
|
|
4347
|
+
}[] | undefined;
|
|
4348
|
+
total_candidates?: number | undefined;
|
|
4349
|
+
total_enriched?: number | undefined;
|
|
4350
|
+
}, {
|
|
4351
|
+
operation: "get_all_candidates_with_projects";
|
|
4352
|
+
success: boolean;
|
|
4353
|
+
error: string;
|
|
4354
|
+
candidates?: {
|
|
4355
|
+
id: string;
|
|
4356
|
+
name: string;
|
|
4357
|
+
tags: string[];
|
|
4358
|
+
position: string | null;
|
|
4359
|
+
company: string | null;
|
|
4360
|
+
email: string | null;
|
|
4361
|
+
phone: string | null;
|
|
4362
|
+
linkedinUrl: string | null;
|
|
4363
|
+
projectIds: string[];
|
|
4364
|
+
projectNames: string[];
|
|
4365
|
+
}[] | undefined;
|
|
4366
|
+
projects?: {
|
|
4367
|
+
title: string;
|
|
4368
|
+
id: string;
|
|
4369
|
+
isArchived?: boolean | undefined;
|
|
4370
|
+
}[] | undefined;
|
|
4371
|
+
total_candidates?: number | undefined;
|
|
4372
|
+
total_enriched?: number | undefined;
|
|
3981
4373
|
}>]>;
|
|
3982
4374
|
export type AshbyParamsInput = z.input<typeof AshbyParamsSchema>;
|
|
3983
4375
|
export type AshbyParams = z.output<typeof AshbyParamsSchema>;
|
|
@@ -4058,4 +4450,27 @@ export type AshbyListInterviewStagesParams = Extract<AshbyParams, {
|
|
|
4058
4450
|
export type AshbyGetFileUrlParams = Extract<AshbyParams, {
|
|
4059
4451
|
operation: 'get_file_url';
|
|
4060
4452
|
}>;
|
|
4453
|
+
export type AshbyListProjectsParams = Extract<AshbyParams, {
|
|
4454
|
+
operation: 'list_projects';
|
|
4455
|
+
}>;
|
|
4456
|
+
export type AshbyGetProjectParams = Extract<AshbyParams, {
|
|
4457
|
+
operation: 'get_project';
|
|
4458
|
+
}>;
|
|
4459
|
+
export type AshbyListCandidateProjectsParams = Extract<AshbyParams, {
|
|
4460
|
+
operation: 'list_candidate_projects';
|
|
4461
|
+
}>;
|
|
4462
|
+
export type AshbyAddCandidateToProjectParams = Extract<AshbyParams, {
|
|
4463
|
+
operation: 'add_candidate_to_project';
|
|
4464
|
+
}>;
|
|
4465
|
+
export type AshbyRemoveCandidateFromProjectParams = Extract<AshbyParams, {
|
|
4466
|
+
operation: 'remove_candidate_from_project';
|
|
4467
|
+
}>;
|
|
4468
|
+
export type AshbyListProjectCandidateIdsParams = Extract<AshbyParams, {
|
|
4469
|
+
operation: 'list_project_candidate_ids';
|
|
4470
|
+
}>;
|
|
4471
|
+
export type AshbyProject = z.output<typeof AshbyProjectSchema>;
|
|
4472
|
+
export type AshbyEnrichedCandidate = z.output<typeof AshbyEnrichedCandidateSchema>;
|
|
4473
|
+
export type AshbyGetAllCandidatesWithProjectsParams = Extract<AshbyParams, {
|
|
4474
|
+
operation: 'get_all_candidates_with_projects';
|
|
4475
|
+
}>;
|
|
4061
4476
|
//# sourceMappingURL=ashby.schema.d.ts.map
|