@bubblelab/bubble-core 0.1.247 → 0.1.249

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.
@@ -207,6 +207,264 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
207
207
  limit?: number | undefined;
208
208
  cursor?: string | undefined;
209
209
  sync_token?: string | undefined;
210
+ }>, import("zod").ZodObject<{
211
+ operation: import("zod").ZodLiteral<"list_jobs">;
212
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
213
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
214
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["Open", "Closed", "Draft", "Archived"]>>;
215
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
216
+ }, "strip", import("zod").ZodTypeAny, {
217
+ operation: "list_jobs";
218
+ limit: number;
219
+ status?: "Archived" | "Open" | "Closed" | "Draft" | undefined;
220
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
221
+ cursor?: string | undefined;
222
+ }, {
223
+ operation: "list_jobs";
224
+ status?: "Archived" | "Open" | "Closed" | "Draft" | undefined;
225
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
226
+ limit?: number | undefined;
227
+ cursor?: string | undefined;
228
+ }>, import("zod").ZodObject<{
229
+ operation: import("zod").ZodLiteral<"get_job">;
230
+ job_id: import("zod").ZodString;
231
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
232
+ }, "strip", import("zod").ZodTypeAny, {
233
+ operation: "get_job";
234
+ job_id: string;
235
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
236
+ }, {
237
+ operation: "get_job";
238
+ job_id: string;
239
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
240
+ }>, import("zod").ZodObject<{
241
+ operation: import("zod").ZodLiteral<"list_applications">;
242
+ candidate_id: import("zod").ZodOptional<import("zod").ZodString>;
243
+ job_id: import("zod").ZodOptional<import("zod").ZodString>;
244
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["Active", "Hired", "Archived", "Lead"]>>;
245
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
246
+ cursor: import("zod").ZodOptional<import("zod").ZodString>;
247
+ created_after: import("zod").ZodOptional<import("zod").ZodNumber>;
248
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
249
+ }, "strip", import("zod").ZodTypeAny, {
250
+ operation: "list_applications";
251
+ limit: number;
252
+ status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
253
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
254
+ cursor?: string | undefined;
255
+ job_id?: string | undefined;
256
+ created_after?: number | undefined;
257
+ candidate_id?: string | undefined;
258
+ }, {
259
+ operation: "list_applications";
260
+ status?: "Hired" | "Archived" | "Active" | "Lead" | undefined;
261
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
262
+ limit?: number | undefined;
263
+ cursor?: string | undefined;
264
+ job_id?: string | undefined;
265
+ created_after?: number | undefined;
266
+ candidate_id?: string | undefined;
267
+ }>, import("zod").ZodObject<{
268
+ operation: import("zod").ZodLiteral<"get_application">;
269
+ application_id: import("zod").ZodString;
270
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
271
+ }, "strip", import("zod").ZodTypeAny, {
272
+ operation: "get_application";
273
+ application_id: string;
274
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
275
+ }, {
276
+ operation: "get_application";
277
+ application_id: string;
278
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
279
+ }>, import("zod").ZodObject<{
280
+ operation: import("zod").ZodLiteral<"create_application">;
281
+ candidate_id: import("zod").ZodString;
282
+ job_id: import("zod").ZodString;
283
+ interview_stage_id: import("zod").ZodOptional<import("zod").ZodString>;
284
+ source_id: import("zod").ZodOptional<import("zod").ZodString>;
285
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
286
+ }, "strip", import("zod").ZodTypeAny, {
287
+ operation: "create_application";
288
+ job_id: string;
289
+ candidate_id: string;
290
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
291
+ source_id?: string | undefined;
292
+ interview_stage_id?: string | undefined;
293
+ }, {
294
+ operation: "create_application";
295
+ job_id: string;
296
+ candidate_id: string;
297
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
298
+ source_id?: string | undefined;
299
+ interview_stage_id?: string | undefined;
300
+ }>, import("zod").ZodObject<{
301
+ operation: import("zod").ZodLiteral<"change_application_stage">;
302
+ application_id: import("zod").ZodString;
303
+ interview_stage_id: import("zod").ZodString;
304
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
305
+ }, "strip", import("zod").ZodTypeAny, {
306
+ operation: "change_application_stage";
307
+ application_id: string;
308
+ interview_stage_id: string;
309
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
310
+ }, {
311
+ operation: "change_application_stage";
312
+ application_id: string;
313
+ interview_stage_id: string;
314
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
315
+ }>, import("zod").ZodObject<{
316
+ operation: import("zod").ZodLiteral<"update_candidate">;
317
+ candidate_id: import("zod").ZodString;
318
+ name: import("zod").ZodOptional<import("zod").ZodString>;
319
+ email: import("zod").ZodOptional<import("zod").ZodString>;
320
+ phone_number: import("zod").ZodOptional<import("zod").ZodString>;
321
+ linkedin_url: import("zod").ZodOptional<import("zod").ZodString>;
322
+ github_url: import("zod").ZodOptional<import("zod").ZodString>;
323
+ website: import("zod").ZodOptional<import("zod").ZodString>;
324
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
325
+ }, "strip", import("zod").ZodTypeAny, {
326
+ operation: "update_candidate";
327
+ candidate_id: string;
328
+ name?: string | undefined;
329
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
330
+ email?: string | undefined;
331
+ website?: string | undefined;
332
+ phone_number?: string | undefined;
333
+ linkedin_url?: string | undefined;
334
+ github_url?: string | undefined;
335
+ }, {
336
+ operation: "update_candidate";
337
+ candidate_id: string;
338
+ name?: string | undefined;
339
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
340
+ email?: string | undefined;
341
+ website?: string | undefined;
342
+ phone_number?: string | undefined;
343
+ linkedin_url?: string | undefined;
344
+ github_url?: string | undefined;
345
+ }>, import("zod").ZodObject<{
346
+ operation: import("zod").ZodLiteral<"create_note">;
347
+ candidate_id: import("zod").ZodString;
348
+ content: import("zod").ZodString;
349
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
350
+ }, "strip", import("zod").ZodTypeAny, {
351
+ content: string;
352
+ operation: "create_note";
353
+ candidate_id: string;
354
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
355
+ }, {
356
+ content: string;
357
+ operation: "create_note";
358
+ candidate_id: string;
359
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
360
+ }>, import("zod").ZodObject<{
361
+ operation: import("zod").ZodLiteral<"list_notes">;
362
+ candidate_id: import("zod").ZodString;
363
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
364
+ }, "strip", import("zod").ZodTypeAny, {
365
+ operation: "list_notes";
366
+ candidate_id: string;
367
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
368
+ }, {
369
+ operation: "list_notes";
370
+ candidate_id: string;
371
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
372
+ }>, import("zod").ZodObject<{
373
+ operation: import("zod").ZodLiteral<"list_sources">;
374
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
375
+ }, "strip", import("zod").ZodTypeAny, {
376
+ operation: "list_sources";
377
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
378
+ }, {
379
+ operation: "list_sources";
380
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
381
+ }>, import("zod").ZodObject<{
382
+ operation: import("zod").ZodLiteral<"list_interview_stages">;
383
+ job_id: import("zod").ZodString;
384
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
385
+ }, "strip", import("zod").ZodTypeAny, {
386
+ operation: "list_interview_stages";
387
+ job_id: string;
388
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
389
+ }, {
390
+ operation: "list_interview_stages";
391
+ job_id: string;
392
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
393
+ }>, import("zod").ZodObject<{
394
+ operation: import("zod").ZodLiteral<"get_file_url">;
395
+ file_handle: import("zod").ZodString;
396
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
397
+ }, "strip", import("zod").ZodTypeAny, {
398
+ operation: "get_file_url";
399
+ file_handle: string;
400
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
401
+ }, {
402
+ operation: "get_file_url";
403
+ file_handle: string;
404
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
405
+ }>, import("zod").ZodObject<{
406
+ operation: import("zod").ZodLiteral<"list_projects">;
407
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
408
+ }, "strip", import("zod").ZodTypeAny, {
409
+ operation: "list_projects";
410
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
411
+ }, {
412
+ operation: "list_projects";
413
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
414
+ }>, import("zod").ZodObject<{
415
+ operation: import("zod").ZodLiteral<"get_project">;
416
+ project_id: import("zod").ZodString;
417
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
418
+ }, "strip", import("zod").ZodTypeAny, {
419
+ operation: "get_project";
420
+ project_id: string;
421
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
422
+ }, {
423
+ operation: "get_project";
424
+ project_id: string;
425
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
426
+ }>, import("zod").ZodObject<{
427
+ operation: import("zod").ZodLiteral<"list_candidate_projects">;
428
+ candidate_id: import("zod").ZodString;
429
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
430
+ }, "strip", import("zod").ZodTypeAny, {
431
+ operation: "list_candidate_projects";
432
+ candidate_id: string;
433
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
434
+ }, {
435
+ operation: "list_candidate_projects";
436
+ candidate_id: string;
437
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
438
+ }>, import("zod").ZodObject<{
439
+ operation: import("zod").ZodLiteral<"add_candidate_to_project">;
440
+ candidate_id: import("zod").ZodString;
441
+ project_id: import("zod").ZodString;
442
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
443
+ }, "strip", import("zod").ZodTypeAny, {
444
+ operation: "add_candidate_to_project";
445
+ candidate_id: string;
446
+ project_id: string;
447
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
448
+ }, {
449
+ operation: "add_candidate_to_project";
450
+ candidate_id: string;
451
+ project_id: string;
452
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
453
+ }>, import("zod").ZodObject<{
454
+ operation: import("zod").ZodLiteral<"remove_candidate_from_project">;
455
+ candidate_id: import("zod").ZodString;
456
+ project_id: import("zod").ZodString;
457
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
458
+ }, "strip", import("zod").ZodTypeAny, {
459
+ operation: "remove_candidate_from_project";
460
+ candidate_id: string;
461
+ project_id: string;
462
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
463
+ }, {
464
+ operation: "remove_candidate_from_project";
465
+ candidate_id: string;
466
+ project_id: string;
467
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
210
468
  }>]>;
211
469
  static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
212
470
  operation: import("zod").ZodLiteral<"list_candidates">;
@@ -337,6 +595,9 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
337
595
  value?: unknown;
338
596
  isPrivate?: boolean | undefined;
339
597
  }>, "many">>;
598
+ profileUrl: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
599
+ source: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
600
+ creditedToUser: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
340
601
  }, "strip", import("zod").ZodTypeAny, {
341
602
  name: string;
342
603
  id: string;
@@ -346,6 +607,8 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
346
607
  isArchived?: boolean | undefined;
347
608
  }[] | undefined;
348
609
  position?: string | null | undefined;
610
+ profileUrl?: string | null | undefined;
611
+ source?: unknown;
349
612
  createdAt?: string | undefined;
350
613
  updatedAt?: string | undefined;
351
614
  primaryEmailAddress?: {
@@ -391,6 +654,7 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
391
654
  id: string;
392
655
  handle: string;
393
656
  }[] | undefined;
657
+ creditedToUser?: unknown;
394
658
  }, {
395
659
  name: string;
396
660
  id: string;
@@ -400,6 +664,8 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
400
664
  isArchived?: boolean | undefined;
401
665
  }[] | undefined;
402
666
  position?: string | null | undefined;
667
+ profileUrl?: string | null | undefined;
668
+ source?: unknown;
403
669
  createdAt?: string | undefined;
404
670
  updatedAt?: string | undefined;
405
671
  primaryEmailAddress?: {
@@ -445,6 +711,7 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
445
711
  id: string;
446
712
  handle: string;
447
713
  }[] | undefined;
714
+ creditedToUser?: unknown;
448
715
  }>, "many">>;
449
716
  next_cursor: import("zod").ZodOptional<import("zod").ZodString>;
450
717
  more_data_available: import("zod").ZodOptional<import("zod").ZodBoolean>;
@@ -465,6 +732,8 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
465
732
  isArchived?: boolean | undefined;
466
733
  }[] | undefined;
467
734
  position?: string | null | undefined;
735
+ profileUrl?: string | null | undefined;
736
+ source?: unknown;
468
737
  createdAt?: string | undefined;
469
738
  updatedAt?: string | undefined;
470
739
  primaryEmailAddress?: {
@@ -510,6 +779,7 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
510
779
  id: string;
511
780
  handle: string;
512
781
  }[] | undefined;
782
+ creditedToUser?: unknown;
513
783
  }[] | undefined;
514
784
  more_data_available?: boolean | undefined;
515
785
  }, {
@@ -527,6 +797,8 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
527
797
  isArchived?: boolean | undefined;
528
798
  }[] | undefined;
529
799
  position?: string | null | undefined;
800
+ profileUrl?: string | null | undefined;
801
+ source?: unknown;
530
802
  createdAt?: string | undefined;
531
803
  updatedAt?: string | undefined;
532
804
  primaryEmailAddress?: {
@@ -572,6 +844,7 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
572
844
  id: string;
573
845
  handle: string;
574
846
  }[] | undefined;
847
+ creditedToUser?: unknown;
575
848
  }[] | undefined;
576
849
  more_data_available?: boolean | undefined;
577
850
  }>, import("zod").ZodObject<{
@@ -1323,79 +1596,1975 @@ export declare class AshbyBubble<T extends AshbyParamsInput = AshbyParamsInput>
1323
1596
  }[] | undefined;
1324
1597
  sync_token?: string | undefined;
1325
1598
  more_data_available?: boolean | undefined;
1326
- }>]>;
1327
- static readonly shortDescription = "Ashby ATS integration for candidate management";
1328
- static readonly longDescription = "\n Ashby is an applicant tracking system (ATS) for modern recruiting teams.\n This bubble provides operations for:\n - Listing and filtering candidates\n - Retrieving candidate details\n - Creating new candidates\n - Searching candidates by email or name\n - Managing candidate tags (list, create, add to candidates)\n - Listing custom field definitions\n\n Security Features:\n - Uses HTTP Basic Authentication with API key\n - API key is stored encrypted and never exposed in logs\n\n Use Cases:\n - Sync candidates from external sources\n - Automate candidate tagging workflows\n - Build custom recruiting dashboards\n - Integrate recruiting data with other systems\n - Retrieve custom field metadata for building dynamic forms\n ";
1329
- static readonly alias = "ashby-ats";
1330
- constructor(params?: T, context?: BubbleContext);
1331
- /**
1332
- * Choose the appropriate credential for Ashby API
1333
- */
1334
- protected chooseCredential(): string | undefined;
1335
- /**
1336
- * Test if the credential is valid by making a simple API call
1337
- */
1338
- testCredential(): Promise<boolean>;
1339
- /**
1340
- * Perform the Ashby operation
1341
- */
1342
- protected performAction(context?: BubbleContext): Promise<Extract<AshbyResult, {
1343
- operation: T['operation'];
1344
- }>>;
1345
- /**
1346
- * Extract error message from Ashby API error response
1347
- */
1348
- private extractErrorMessage;
1349
- /**
1350
- * Make an authenticated request to the Ashby API
1351
- */
1352
- private makeAshbyRequest;
1353
- /**
1354
- * List candidates with optional filtering
1355
- */
1356
- private listCandidates;
1357
- /**
1358
- * Get detailed information about a specific candidate
1359
- */
1360
- private getCandidate;
1361
- /**
1362
- * Normalize LinkedIn URL for comparison
1363
- * Removes protocol, www, trailing slashes, and query params
1364
- */
1365
- private normalizeLinkedInUrl;
1366
- /**
1367
- * Extract a searchable name from LinkedIn URL
1368
- * e.g., "https://linkedin.com/in/john-doe" -> "john doe"
1369
- */
1370
- private extractNameFromLinkedInUrl;
1371
- /**
1372
- * Find existing candidates with the same LinkedIn URL
1373
- * Uses search by name extracted from LinkedIn URL for faster lookup
1374
- */
1375
- private findCandidateByLinkedIn;
1376
- /**
1377
- * Create a new candidate
1378
- */
1379
- private createCandidate;
1380
- /**
1381
- * Search for candidates by email or name
1382
- */
1383
- private searchCandidates;
1384
- /**
1385
- * Add a tag to a candidate
1386
- */
1387
- private addTag;
1388
- /**
1389
- * List all candidate tags
1390
- */
1391
- private listTags;
1392
- /**
1393
- * Create a new candidate tag
1394
- */
1395
- private createTag;
1396
- /**
1397
- * List all custom field definitions
1398
- */
1399
- private listCustomFields;
1599
+ }>, import("zod").ZodObject<{
1600
+ operation: import("zod").ZodLiteral<"list_jobs">;
1601
+ success: import("zod").ZodBoolean;
1602
+ jobs: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1603
+ id: import("zod").ZodString;
1604
+ title: import("zod").ZodString;
1605
+ status: import("zod").ZodOptional<import("zod").ZodString>;
1606
+ departmentId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1607
+ teamId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1608
+ locationId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1609
+ locationIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1610
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1611
+ id: import("zod").ZodString;
1612
+ title: import("zod").ZodString;
1613
+ value: import("zod").ZodUnknown;
1614
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
1615
+ }, "strip", import("zod").ZodTypeAny, {
1616
+ title: string;
1617
+ id: string;
1618
+ value?: unknown;
1619
+ isPrivate?: boolean | undefined;
1620
+ }, {
1621
+ title: string;
1622
+ id: string;
1623
+ value?: unknown;
1624
+ isPrivate?: boolean | undefined;
1625
+ }>, "many">>;
1626
+ openedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1627
+ closedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1628
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
1629
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
1630
+ }, "strip", import("zod").ZodTypeAny, {
1631
+ title: string;
1632
+ id: string;
1633
+ status?: string | undefined;
1634
+ locationId?: string | null | undefined;
1635
+ createdAt?: string | undefined;
1636
+ updatedAt?: string | undefined;
1637
+ teamId?: string | null | undefined;
1638
+ customFields?: {
1639
+ title: string;
1640
+ id: string;
1641
+ value?: unknown;
1642
+ isPrivate?: boolean | undefined;
1643
+ }[] | undefined;
1644
+ departmentId?: string | null | undefined;
1645
+ locationIds?: string[] | undefined;
1646
+ openedAt?: string | null | undefined;
1647
+ closedAt?: string | null | undefined;
1648
+ }, {
1649
+ title: string;
1650
+ id: string;
1651
+ status?: string | undefined;
1652
+ locationId?: string | null | undefined;
1653
+ createdAt?: string | undefined;
1654
+ updatedAt?: string | undefined;
1655
+ teamId?: string | null | undefined;
1656
+ customFields?: {
1657
+ title: string;
1658
+ id: string;
1659
+ value?: unknown;
1660
+ isPrivate?: boolean | undefined;
1661
+ }[] | undefined;
1662
+ departmentId?: string | null | undefined;
1663
+ locationIds?: string[] | undefined;
1664
+ openedAt?: string | null | undefined;
1665
+ closedAt?: string | null | undefined;
1666
+ }>, "many">>;
1667
+ next_cursor: import("zod").ZodOptional<import("zod").ZodString>;
1668
+ more_data_available: import("zod").ZodOptional<import("zod").ZodBoolean>;
1669
+ error: import("zod").ZodString;
1670
+ }, "strip", import("zod").ZodTypeAny, {
1671
+ error: string;
1672
+ success: boolean;
1673
+ operation: "list_jobs";
1674
+ next_cursor?: string | undefined;
1675
+ jobs?: {
1676
+ title: string;
1677
+ id: string;
1678
+ status?: string | undefined;
1679
+ locationId?: string | null | undefined;
1680
+ createdAt?: string | undefined;
1681
+ updatedAt?: string | undefined;
1682
+ teamId?: string | null | undefined;
1683
+ customFields?: {
1684
+ title: string;
1685
+ id: string;
1686
+ value?: unknown;
1687
+ isPrivate?: boolean | undefined;
1688
+ }[] | undefined;
1689
+ departmentId?: string | null | undefined;
1690
+ locationIds?: string[] | undefined;
1691
+ openedAt?: string | null | undefined;
1692
+ closedAt?: string | null | undefined;
1693
+ }[] | undefined;
1694
+ more_data_available?: boolean | undefined;
1695
+ }, {
1696
+ error: string;
1697
+ success: boolean;
1698
+ operation: "list_jobs";
1699
+ next_cursor?: string | undefined;
1700
+ jobs?: {
1701
+ title: string;
1702
+ id: string;
1703
+ status?: string | undefined;
1704
+ locationId?: string | null | undefined;
1705
+ createdAt?: string | undefined;
1706
+ updatedAt?: string | undefined;
1707
+ teamId?: string | null | undefined;
1708
+ customFields?: {
1709
+ title: string;
1710
+ id: string;
1711
+ value?: unknown;
1712
+ isPrivate?: boolean | undefined;
1713
+ }[] | undefined;
1714
+ departmentId?: string | null | undefined;
1715
+ locationIds?: string[] | undefined;
1716
+ openedAt?: string | null | undefined;
1717
+ closedAt?: string | null | undefined;
1718
+ }[] | undefined;
1719
+ more_data_available?: boolean | undefined;
1720
+ }>, import("zod").ZodObject<{
1721
+ operation: import("zod").ZodLiteral<"get_job">;
1722
+ success: import("zod").ZodBoolean;
1723
+ job: import("zod").ZodOptional<import("zod").ZodObject<{
1724
+ id: import("zod").ZodString;
1725
+ title: import("zod").ZodString;
1726
+ status: import("zod").ZodOptional<import("zod").ZodString>;
1727
+ departmentId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1728
+ teamId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1729
+ locationId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1730
+ locationIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
1731
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1732
+ id: import("zod").ZodString;
1733
+ title: import("zod").ZodString;
1734
+ value: import("zod").ZodUnknown;
1735
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
1736
+ }, "strip", import("zod").ZodTypeAny, {
1737
+ title: string;
1738
+ id: string;
1739
+ value?: unknown;
1740
+ isPrivate?: boolean | undefined;
1741
+ }, {
1742
+ title: string;
1743
+ id: string;
1744
+ value?: unknown;
1745
+ isPrivate?: boolean | undefined;
1746
+ }>, "many">>;
1747
+ openedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1748
+ closedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1749
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
1750
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
1751
+ }, "strip", import("zod").ZodTypeAny, {
1752
+ title: string;
1753
+ id: string;
1754
+ status?: string | undefined;
1755
+ locationId?: string | null | undefined;
1756
+ createdAt?: string | undefined;
1757
+ updatedAt?: string | undefined;
1758
+ teamId?: string | null | undefined;
1759
+ customFields?: {
1760
+ title: string;
1761
+ id: string;
1762
+ value?: unknown;
1763
+ isPrivate?: boolean | undefined;
1764
+ }[] | undefined;
1765
+ departmentId?: string | null | undefined;
1766
+ locationIds?: string[] | undefined;
1767
+ openedAt?: string | null | undefined;
1768
+ closedAt?: string | null | undefined;
1769
+ }, {
1770
+ title: string;
1771
+ id: string;
1772
+ status?: string | undefined;
1773
+ locationId?: string | null | undefined;
1774
+ createdAt?: string | undefined;
1775
+ updatedAt?: string | undefined;
1776
+ teamId?: string | null | undefined;
1777
+ customFields?: {
1778
+ title: string;
1779
+ id: string;
1780
+ value?: unknown;
1781
+ isPrivate?: boolean | undefined;
1782
+ }[] | undefined;
1783
+ departmentId?: string | null | undefined;
1784
+ locationIds?: string[] | undefined;
1785
+ openedAt?: string | null | undefined;
1786
+ closedAt?: string | null | undefined;
1787
+ }>>;
1788
+ interview_stages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1789
+ id: import("zod").ZodString;
1790
+ title: import("zod").ZodString;
1791
+ type: import("zod").ZodOptional<import("zod").ZodString>;
1792
+ orderInInterviewPlan: import("zod").ZodOptional<import("zod").ZodNumber>;
1793
+ interviewPlanId: import("zod").ZodOptional<import("zod").ZodString>;
1794
+ }, "strip", import("zod").ZodTypeAny, {
1795
+ title: string;
1796
+ id: string;
1797
+ type?: string | undefined;
1798
+ orderInInterviewPlan?: number | undefined;
1799
+ interviewPlanId?: string | undefined;
1800
+ }, {
1801
+ title: string;
1802
+ id: string;
1803
+ type?: string | undefined;
1804
+ orderInInterviewPlan?: number | undefined;
1805
+ interviewPlanId?: string | undefined;
1806
+ }>, "many">>;
1807
+ error: import("zod").ZodString;
1808
+ }, "strip", import("zod").ZodTypeAny, {
1809
+ error: string;
1810
+ success: boolean;
1811
+ operation: "get_job";
1812
+ job?: {
1813
+ title: string;
1814
+ id: string;
1815
+ status?: string | undefined;
1816
+ locationId?: string | null | undefined;
1817
+ createdAt?: string | undefined;
1818
+ updatedAt?: string | undefined;
1819
+ teamId?: string | null | undefined;
1820
+ customFields?: {
1821
+ title: string;
1822
+ id: string;
1823
+ value?: unknown;
1824
+ isPrivate?: boolean | undefined;
1825
+ }[] | undefined;
1826
+ departmentId?: string | null | undefined;
1827
+ locationIds?: string[] | undefined;
1828
+ openedAt?: string | null | undefined;
1829
+ closedAt?: string | null | undefined;
1830
+ } | undefined;
1831
+ interview_stages?: {
1832
+ title: string;
1833
+ id: string;
1834
+ type?: string | undefined;
1835
+ orderInInterviewPlan?: number | undefined;
1836
+ interviewPlanId?: string | undefined;
1837
+ }[] | undefined;
1838
+ }, {
1839
+ error: string;
1840
+ success: boolean;
1841
+ operation: "get_job";
1842
+ job?: {
1843
+ title: string;
1844
+ id: string;
1845
+ status?: string | undefined;
1846
+ locationId?: string | null | undefined;
1847
+ createdAt?: string | undefined;
1848
+ updatedAt?: string | undefined;
1849
+ teamId?: string | null | undefined;
1850
+ customFields?: {
1851
+ title: string;
1852
+ id: string;
1853
+ value?: unknown;
1854
+ isPrivate?: boolean | undefined;
1855
+ }[] | undefined;
1856
+ departmentId?: string | null | undefined;
1857
+ locationIds?: string[] | undefined;
1858
+ openedAt?: string | null | undefined;
1859
+ closedAt?: string | null | undefined;
1860
+ } | undefined;
1861
+ interview_stages?: {
1862
+ title: string;
1863
+ id: string;
1864
+ type?: string | undefined;
1865
+ orderInInterviewPlan?: number | undefined;
1866
+ interviewPlanId?: string | undefined;
1867
+ }[] | undefined;
1868
+ }>, import("zod").ZodObject<{
1869
+ operation: import("zod").ZodLiteral<"list_applications">;
1870
+ success: import("zod").ZodBoolean;
1871
+ applications: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1872
+ id: import("zod").ZodString;
1873
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
1874
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
1875
+ status: import("zod").ZodOptional<import("zod").ZodString>;
1876
+ candidateId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1877
+ jobId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
1878
+ currentInterviewStage: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
1879
+ id: import("zod").ZodString;
1880
+ title: import("zod").ZodString;
1881
+ type: import("zod").ZodOptional<import("zod").ZodString>;
1882
+ orderInInterviewPlan: import("zod").ZodOptional<import("zod").ZodNumber>;
1883
+ interviewPlanId: import("zod").ZodOptional<import("zod").ZodString>;
1884
+ }, "strip", import("zod").ZodTypeAny, {
1885
+ title: string;
1886
+ id: string;
1887
+ type?: string | undefined;
1888
+ orderInInterviewPlan?: number | undefined;
1889
+ interviewPlanId?: string | undefined;
1890
+ }, {
1891
+ title: string;
1892
+ id: string;
1893
+ type?: string | undefined;
1894
+ orderInInterviewPlan?: number | undefined;
1895
+ interviewPlanId?: string | undefined;
1896
+ }>>>;
1897
+ source: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
1898
+ archiveReason: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
1899
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1900
+ id: import("zod").ZodString;
1901
+ title: import("zod").ZodString;
1902
+ value: import("zod").ZodUnknown;
1903
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
1904
+ }, "strip", import("zod").ZodTypeAny, {
1905
+ title: string;
1906
+ id: string;
1907
+ value?: unknown;
1908
+ isPrivate?: boolean | undefined;
1909
+ }, {
1910
+ title: string;
1911
+ id: string;
1912
+ value?: unknown;
1913
+ isPrivate?: boolean | undefined;
1914
+ }>, "many">>;
1915
+ hiringTeam: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1916
+ userId: import("zod").ZodString;
1917
+ role: import("zod").ZodString;
1918
+ email: import("zod").ZodOptional<import("zod").ZodString>;
1919
+ firstName: import("zod").ZodOptional<import("zod").ZodString>;
1920
+ lastName: import("zod").ZodOptional<import("zod").ZodString>;
1921
+ }, "strip", import("zod").ZodTypeAny, {
1922
+ role: string;
1923
+ userId: string;
1924
+ email?: string | undefined;
1925
+ firstName?: string | undefined;
1926
+ lastName?: string | undefined;
1927
+ }, {
1928
+ role: string;
1929
+ userId: string;
1930
+ email?: string | undefined;
1931
+ firstName?: string | undefined;
1932
+ lastName?: string | undefined;
1933
+ }>, "many">>;
1934
+ }, "strip", import("zod").ZodTypeAny, {
1935
+ id: string;
1936
+ status?: string | undefined;
1937
+ source?: unknown;
1938
+ createdAt?: string | undefined;
1939
+ updatedAt?: string | undefined;
1940
+ customFields?: {
1941
+ title: string;
1942
+ id: string;
1943
+ value?: unknown;
1944
+ isPrivate?: boolean | undefined;
1945
+ }[] | undefined;
1946
+ candidateId?: string | null | undefined;
1947
+ jobId?: string | null | undefined;
1948
+ currentInterviewStage?: {
1949
+ title: string;
1950
+ id: string;
1951
+ type?: string | undefined;
1952
+ orderInInterviewPlan?: number | undefined;
1953
+ interviewPlanId?: string | undefined;
1954
+ } | null | undefined;
1955
+ archiveReason?: unknown;
1956
+ hiringTeam?: {
1957
+ role: string;
1958
+ userId: string;
1959
+ email?: string | undefined;
1960
+ firstName?: string | undefined;
1961
+ lastName?: string | undefined;
1962
+ }[] | undefined;
1963
+ }, {
1964
+ id: string;
1965
+ status?: string | undefined;
1966
+ source?: unknown;
1967
+ createdAt?: string | undefined;
1968
+ updatedAt?: string | undefined;
1969
+ customFields?: {
1970
+ title: string;
1971
+ id: string;
1972
+ value?: unknown;
1973
+ isPrivate?: boolean | undefined;
1974
+ }[] | undefined;
1975
+ candidateId?: string | null | undefined;
1976
+ jobId?: string | null | undefined;
1977
+ currentInterviewStage?: {
1978
+ title: string;
1979
+ id: string;
1980
+ type?: string | undefined;
1981
+ orderInInterviewPlan?: number | undefined;
1982
+ interviewPlanId?: string | undefined;
1983
+ } | null | undefined;
1984
+ archiveReason?: unknown;
1985
+ hiringTeam?: {
1986
+ role: string;
1987
+ userId: string;
1988
+ email?: string | undefined;
1989
+ firstName?: string | undefined;
1990
+ lastName?: string | undefined;
1991
+ }[] | undefined;
1992
+ }>, "many">>;
1993
+ next_cursor: import("zod").ZodOptional<import("zod").ZodString>;
1994
+ more_data_available: import("zod").ZodOptional<import("zod").ZodBoolean>;
1995
+ error: import("zod").ZodString;
1996
+ }, "strip", import("zod").ZodTypeAny, {
1997
+ error: string;
1998
+ success: boolean;
1999
+ operation: "list_applications";
2000
+ next_cursor?: string | undefined;
2001
+ more_data_available?: boolean | undefined;
2002
+ applications?: {
2003
+ id: string;
2004
+ status?: string | undefined;
2005
+ source?: unknown;
2006
+ createdAt?: string | undefined;
2007
+ updatedAt?: string | undefined;
2008
+ customFields?: {
2009
+ title: string;
2010
+ id: string;
2011
+ value?: unknown;
2012
+ isPrivate?: boolean | undefined;
2013
+ }[] | undefined;
2014
+ candidateId?: string | null | undefined;
2015
+ jobId?: string | null | undefined;
2016
+ currentInterviewStage?: {
2017
+ title: string;
2018
+ id: string;
2019
+ type?: string | undefined;
2020
+ orderInInterviewPlan?: number | undefined;
2021
+ interviewPlanId?: string | undefined;
2022
+ } | null | undefined;
2023
+ archiveReason?: unknown;
2024
+ hiringTeam?: {
2025
+ role: string;
2026
+ userId: string;
2027
+ email?: string | undefined;
2028
+ firstName?: string | undefined;
2029
+ lastName?: string | undefined;
2030
+ }[] | undefined;
2031
+ }[] | undefined;
2032
+ }, {
2033
+ error: string;
2034
+ success: boolean;
2035
+ operation: "list_applications";
2036
+ next_cursor?: string | undefined;
2037
+ more_data_available?: boolean | undefined;
2038
+ applications?: {
2039
+ id: string;
2040
+ status?: string | undefined;
2041
+ source?: unknown;
2042
+ createdAt?: string | undefined;
2043
+ updatedAt?: string | undefined;
2044
+ customFields?: {
2045
+ title: string;
2046
+ id: string;
2047
+ value?: unknown;
2048
+ isPrivate?: boolean | undefined;
2049
+ }[] | undefined;
2050
+ candidateId?: string | null | undefined;
2051
+ jobId?: string | null | undefined;
2052
+ currentInterviewStage?: {
2053
+ title: string;
2054
+ id: string;
2055
+ type?: string | undefined;
2056
+ orderInInterviewPlan?: number | undefined;
2057
+ interviewPlanId?: string | undefined;
2058
+ } | null | undefined;
2059
+ archiveReason?: unknown;
2060
+ hiringTeam?: {
2061
+ role: string;
2062
+ userId: string;
2063
+ email?: string | undefined;
2064
+ firstName?: string | undefined;
2065
+ lastName?: string | undefined;
2066
+ }[] | undefined;
2067
+ }[] | undefined;
2068
+ }>, import("zod").ZodObject<{
2069
+ operation: import("zod").ZodLiteral<"get_application">;
2070
+ success: import("zod").ZodBoolean;
2071
+ application: import("zod").ZodOptional<import("zod").ZodObject<{
2072
+ id: import("zod").ZodString;
2073
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
2074
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
2075
+ status: import("zod").ZodOptional<import("zod").ZodString>;
2076
+ candidateId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2077
+ jobId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2078
+ currentInterviewStage: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2079
+ id: import("zod").ZodString;
2080
+ title: import("zod").ZodString;
2081
+ type: import("zod").ZodOptional<import("zod").ZodString>;
2082
+ orderInInterviewPlan: import("zod").ZodOptional<import("zod").ZodNumber>;
2083
+ interviewPlanId: import("zod").ZodOptional<import("zod").ZodString>;
2084
+ }, "strip", import("zod").ZodTypeAny, {
2085
+ title: string;
2086
+ id: string;
2087
+ type?: string | undefined;
2088
+ orderInInterviewPlan?: number | undefined;
2089
+ interviewPlanId?: string | undefined;
2090
+ }, {
2091
+ title: string;
2092
+ id: string;
2093
+ type?: string | undefined;
2094
+ orderInInterviewPlan?: number | undefined;
2095
+ interviewPlanId?: string | undefined;
2096
+ }>>>;
2097
+ source: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
2098
+ archiveReason: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
2099
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2100
+ id: import("zod").ZodString;
2101
+ title: import("zod").ZodString;
2102
+ value: import("zod").ZodUnknown;
2103
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
2104
+ }, "strip", import("zod").ZodTypeAny, {
2105
+ title: string;
2106
+ id: string;
2107
+ value?: unknown;
2108
+ isPrivate?: boolean | undefined;
2109
+ }, {
2110
+ title: string;
2111
+ id: string;
2112
+ value?: unknown;
2113
+ isPrivate?: boolean | undefined;
2114
+ }>, "many">>;
2115
+ hiringTeam: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2116
+ userId: import("zod").ZodString;
2117
+ role: import("zod").ZodString;
2118
+ email: import("zod").ZodOptional<import("zod").ZodString>;
2119
+ firstName: import("zod").ZodOptional<import("zod").ZodString>;
2120
+ lastName: import("zod").ZodOptional<import("zod").ZodString>;
2121
+ }, "strip", import("zod").ZodTypeAny, {
2122
+ role: string;
2123
+ userId: string;
2124
+ email?: string | undefined;
2125
+ firstName?: string | undefined;
2126
+ lastName?: string | undefined;
2127
+ }, {
2128
+ role: string;
2129
+ userId: string;
2130
+ email?: string | undefined;
2131
+ firstName?: string | undefined;
2132
+ lastName?: string | undefined;
2133
+ }>, "many">>;
2134
+ }, "strip", import("zod").ZodTypeAny, {
2135
+ id: string;
2136
+ status?: string | undefined;
2137
+ source?: unknown;
2138
+ createdAt?: string | undefined;
2139
+ updatedAt?: string | undefined;
2140
+ customFields?: {
2141
+ title: string;
2142
+ id: string;
2143
+ value?: unknown;
2144
+ isPrivate?: boolean | undefined;
2145
+ }[] | undefined;
2146
+ candidateId?: string | null | undefined;
2147
+ jobId?: string | null | undefined;
2148
+ currentInterviewStage?: {
2149
+ title: string;
2150
+ id: string;
2151
+ type?: string | undefined;
2152
+ orderInInterviewPlan?: number | undefined;
2153
+ interviewPlanId?: string | undefined;
2154
+ } | null | undefined;
2155
+ archiveReason?: unknown;
2156
+ hiringTeam?: {
2157
+ role: string;
2158
+ userId: string;
2159
+ email?: string | undefined;
2160
+ firstName?: string | undefined;
2161
+ lastName?: string | undefined;
2162
+ }[] | undefined;
2163
+ }, {
2164
+ id: string;
2165
+ status?: string | undefined;
2166
+ source?: unknown;
2167
+ createdAt?: string | undefined;
2168
+ updatedAt?: string | undefined;
2169
+ customFields?: {
2170
+ title: string;
2171
+ id: string;
2172
+ value?: unknown;
2173
+ isPrivate?: boolean | undefined;
2174
+ }[] | undefined;
2175
+ candidateId?: string | null | undefined;
2176
+ jobId?: string | null | undefined;
2177
+ currentInterviewStage?: {
2178
+ title: string;
2179
+ id: string;
2180
+ type?: string | undefined;
2181
+ orderInInterviewPlan?: number | undefined;
2182
+ interviewPlanId?: string | undefined;
2183
+ } | null | undefined;
2184
+ archiveReason?: unknown;
2185
+ hiringTeam?: {
2186
+ role: string;
2187
+ userId: string;
2188
+ email?: string | undefined;
2189
+ firstName?: string | undefined;
2190
+ lastName?: string | undefined;
2191
+ }[] | undefined;
2192
+ }>>;
2193
+ candidate: import("zod").ZodOptional<import("zod").ZodObject<{
2194
+ id: import("zod").ZodString;
2195
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
2196
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
2197
+ name: import("zod").ZodString;
2198
+ primaryEmailAddress: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2199
+ value: import("zod").ZodString;
2200
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
2201
+ isPrimary: import("zod").ZodBoolean;
2202
+ }, "strip", import("zod").ZodTypeAny, {
2203
+ value: string;
2204
+ type: "Personal" | "Work" | "Other";
2205
+ isPrimary: boolean;
2206
+ }, {
2207
+ value: string;
2208
+ type: "Personal" | "Work" | "Other";
2209
+ isPrimary: boolean;
2210
+ }>>>;
2211
+ primaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2212
+ value: import("zod").ZodString;
2213
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
2214
+ isPrimary: import("zod").ZodBoolean;
2215
+ }, "strip", import("zod").ZodTypeAny, {
2216
+ value: string;
2217
+ type: "Personal" | "Work" | "Other";
2218
+ isPrimary: boolean;
2219
+ }, {
2220
+ value: string;
2221
+ type: "Personal" | "Work" | "Other";
2222
+ isPrimary: boolean;
2223
+ }>>>;
2224
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2225
+ id: import("zod").ZodString;
2226
+ title: import("zod").ZodString;
2227
+ value: import("zod").ZodUnknown;
2228
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
2229
+ }, "strip", import("zod").ZodTypeAny, {
2230
+ title: string;
2231
+ id: string;
2232
+ value?: unknown;
2233
+ isPrivate?: boolean | undefined;
2234
+ }, {
2235
+ title: string;
2236
+ id: string;
2237
+ value?: unknown;
2238
+ isPrivate?: boolean | undefined;
2239
+ }>, "many">>;
2240
+ }, "strip", import("zod").ZodTypeAny, {
2241
+ name: string;
2242
+ id: string;
2243
+ createdAt?: string | undefined;
2244
+ updatedAt?: string | undefined;
2245
+ primaryEmailAddress?: {
2246
+ value: string;
2247
+ type: "Personal" | "Work" | "Other";
2248
+ isPrimary: boolean;
2249
+ } | null | undefined;
2250
+ primaryPhoneNumber?: {
2251
+ value: string;
2252
+ type: "Personal" | "Work" | "Other";
2253
+ isPrimary: boolean;
2254
+ } | null | undefined;
2255
+ customFields?: {
2256
+ title: string;
2257
+ id: string;
2258
+ value?: unknown;
2259
+ isPrivate?: boolean | undefined;
2260
+ }[] | undefined;
2261
+ }, {
2262
+ name: string;
2263
+ id: string;
2264
+ createdAt?: string | undefined;
2265
+ updatedAt?: string | undefined;
2266
+ primaryEmailAddress?: {
2267
+ value: string;
2268
+ type: "Personal" | "Work" | "Other";
2269
+ isPrimary: boolean;
2270
+ } | null | undefined;
2271
+ primaryPhoneNumber?: {
2272
+ value: string;
2273
+ type: "Personal" | "Work" | "Other";
2274
+ isPrimary: boolean;
2275
+ } | null | undefined;
2276
+ customFields?: {
2277
+ title: string;
2278
+ id: string;
2279
+ value?: unknown;
2280
+ isPrivate?: boolean | undefined;
2281
+ }[] | undefined;
2282
+ }>>;
2283
+ job: import("zod").ZodOptional<import("zod").ZodObject<{
2284
+ id: import("zod").ZodString;
2285
+ title: import("zod").ZodString;
2286
+ status: import("zod").ZodOptional<import("zod").ZodString>;
2287
+ departmentId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2288
+ teamId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2289
+ locationId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2290
+ locationIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
2291
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2292
+ id: import("zod").ZodString;
2293
+ title: import("zod").ZodString;
2294
+ value: import("zod").ZodUnknown;
2295
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
2296
+ }, "strip", import("zod").ZodTypeAny, {
2297
+ title: string;
2298
+ id: string;
2299
+ value?: unknown;
2300
+ isPrivate?: boolean | undefined;
2301
+ }, {
2302
+ title: string;
2303
+ id: string;
2304
+ value?: unknown;
2305
+ isPrivate?: boolean | undefined;
2306
+ }>, "many">>;
2307
+ openedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2308
+ closedAt: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2309
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
2310
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
2311
+ }, "strip", import("zod").ZodTypeAny, {
2312
+ title: string;
2313
+ id: string;
2314
+ status?: string | undefined;
2315
+ locationId?: string | null | undefined;
2316
+ createdAt?: string | undefined;
2317
+ updatedAt?: string | undefined;
2318
+ teamId?: string | null | undefined;
2319
+ customFields?: {
2320
+ title: string;
2321
+ id: string;
2322
+ value?: unknown;
2323
+ isPrivate?: boolean | undefined;
2324
+ }[] | undefined;
2325
+ departmentId?: string | null | undefined;
2326
+ locationIds?: string[] | undefined;
2327
+ openedAt?: string | null | undefined;
2328
+ closedAt?: string | null | undefined;
2329
+ }, {
2330
+ title: string;
2331
+ id: string;
2332
+ status?: string | undefined;
2333
+ locationId?: string | null | undefined;
2334
+ createdAt?: string | undefined;
2335
+ updatedAt?: string | undefined;
2336
+ teamId?: string | null | undefined;
2337
+ customFields?: {
2338
+ title: string;
2339
+ id: string;
2340
+ value?: unknown;
2341
+ isPrivate?: boolean | undefined;
2342
+ }[] | undefined;
2343
+ departmentId?: string | null | undefined;
2344
+ locationIds?: string[] | undefined;
2345
+ openedAt?: string | null | undefined;
2346
+ closedAt?: string | null | undefined;
2347
+ }>>;
2348
+ error: import("zod").ZodString;
2349
+ }, "strip", import("zod").ZodTypeAny, {
2350
+ error: string;
2351
+ success: boolean;
2352
+ operation: "get_application";
2353
+ candidate?: {
2354
+ name: string;
2355
+ id: string;
2356
+ createdAt?: string | undefined;
2357
+ updatedAt?: string | undefined;
2358
+ primaryEmailAddress?: {
2359
+ value: string;
2360
+ type: "Personal" | "Work" | "Other";
2361
+ isPrimary: boolean;
2362
+ } | null | undefined;
2363
+ primaryPhoneNumber?: {
2364
+ value: string;
2365
+ type: "Personal" | "Work" | "Other";
2366
+ isPrimary: boolean;
2367
+ } | null | undefined;
2368
+ customFields?: {
2369
+ title: string;
2370
+ id: string;
2371
+ value?: unknown;
2372
+ isPrivate?: boolean | undefined;
2373
+ }[] | undefined;
2374
+ } | undefined;
2375
+ job?: {
2376
+ title: string;
2377
+ id: string;
2378
+ status?: string | undefined;
2379
+ locationId?: string | null | undefined;
2380
+ createdAt?: string | undefined;
2381
+ updatedAt?: string | undefined;
2382
+ teamId?: string | null | undefined;
2383
+ customFields?: {
2384
+ title: string;
2385
+ id: string;
2386
+ value?: unknown;
2387
+ isPrivate?: boolean | undefined;
2388
+ }[] | undefined;
2389
+ departmentId?: string | null | undefined;
2390
+ locationIds?: string[] | undefined;
2391
+ openedAt?: string | null | undefined;
2392
+ closedAt?: string | null | undefined;
2393
+ } | undefined;
2394
+ application?: {
2395
+ id: string;
2396
+ status?: string | undefined;
2397
+ source?: unknown;
2398
+ createdAt?: string | undefined;
2399
+ updatedAt?: string | undefined;
2400
+ customFields?: {
2401
+ title: string;
2402
+ id: string;
2403
+ value?: unknown;
2404
+ isPrivate?: boolean | undefined;
2405
+ }[] | undefined;
2406
+ candidateId?: string | null | undefined;
2407
+ jobId?: string | null | undefined;
2408
+ currentInterviewStage?: {
2409
+ title: string;
2410
+ id: string;
2411
+ type?: string | undefined;
2412
+ orderInInterviewPlan?: number | undefined;
2413
+ interviewPlanId?: string | undefined;
2414
+ } | null | undefined;
2415
+ archiveReason?: unknown;
2416
+ hiringTeam?: {
2417
+ role: string;
2418
+ userId: string;
2419
+ email?: string | undefined;
2420
+ firstName?: string | undefined;
2421
+ lastName?: string | undefined;
2422
+ }[] | undefined;
2423
+ } | undefined;
2424
+ }, {
2425
+ error: string;
2426
+ success: boolean;
2427
+ operation: "get_application";
2428
+ candidate?: {
2429
+ name: string;
2430
+ id: string;
2431
+ createdAt?: string | undefined;
2432
+ updatedAt?: string | undefined;
2433
+ primaryEmailAddress?: {
2434
+ value: string;
2435
+ type: "Personal" | "Work" | "Other";
2436
+ isPrimary: boolean;
2437
+ } | null | undefined;
2438
+ primaryPhoneNumber?: {
2439
+ value: string;
2440
+ type: "Personal" | "Work" | "Other";
2441
+ isPrimary: boolean;
2442
+ } | null | undefined;
2443
+ customFields?: {
2444
+ title: string;
2445
+ id: string;
2446
+ value?: unknown;
2447
+ isPrivate?: boolean | undefined;
2448
+ }[] | undefined;
2449
+ } | undefined;
2450
+ job?: {
2451
+ title: string;
2452
+ id: string;
2453
+ status?: string | undefined;
2454
+ locationId?: string | null | undefined;
2455
+ createdAt?: string | undefined;
2456
+ updatedAt?: string | undefined;
2457
+ teamId?: string | null | undefined;
2458
+ customFields?: {
2459
+ title: string;
2460
+ id: string;
2461
+ value?: unknown;
2462
+ isPrivate?: boolean | undefined;
2463
+ }[] | undefined;
2464
+ departmentId?: string | null | undefined;
2465
+ locationIds?: string[] | undefined;
2466
+ openedAt?: string | null | undefined;
2467
+ closedAt?: string | null | undefined;
2468
+ } | undefined;
2469
+ application?: {
2470
+ id: string;
2471
+ status?: string | undefined;
2472
+ source?: unknown;
2473
+ createdAt?: string | undefined;
2474
+ updatedAt?: string | undefined;
2475
+ customFields?: {
2476
+ title: string;
2477
+ id: string;
2478
+ value?: unknown;
2479
+ isPrivate?: boolean | undefined;
2480
+ }[] | undefined;
2481
+ candidateId?: string | null | undefined;
2482
+ jobId?: string | null | undefined;
2483
+ currentInterviewStage?: {
2484
+ title: string;
2485
+ id: string;
2486
+ type?: string | undefined;
2487
+ orderInInterviewPlan?: number | undefined;
2488
+ interviewPlanId?: string | undefined;
2489
+ } | null | undefined;
2490
+ archiveReason?: unknown;
2491
+ hiringTeam?: {
2492
+ role: string;
2493
+ userId: string;
2494
+ email?: string | undefined;
2495
+ firstName?: string | undefined;
2496
+ lastName?: string | undefined;
2497
+ }[] | undefined;
2498
+ } | undefined;
2499
+ }>, import("zod").ZodObject<{
2500
+ operation: import("zod").ZodLiteral<"create_application">;
2501
+ success: import("zod").ZodBoolean;
2502
+ application: import("zod").ZodOptional<import("zod").ZodObject<{
2503
+ id: import("zod").ZodString;
2504
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
2505
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
2506
+ status: import("zod").ZodOptional<import("zod").ZodString>;
2507
+ candidateId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2508
+ jobId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2509
+ currentInterviewStage: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2510
+ id: import("zod").ZodString;
2511
+ title: import("zod").ZodString;
2512
+ type: import("zod").ZodOptional<import("zod").ZodString>;
2513
+ orderInInterviewPlan: import("zod").ZodOptional<import("zod").ZodNumber>;
2514
+ interviewPlanId: import("zod").ZodOptional<import("zod").ZodString>;
2515
+ }, "strip", import("zod").ZodTypeAny, {
2516
+ title: string;
2517
+ id: string;
2518
+ type?: string | undefined;
2519
+ orderInInterviewPlan?: number | undefined;
2520
+ interviewPlanId?: string | undefined;
2521
+ }, {
2522
+ title: string;
2523
+ id: string;
2524
+ type?: string | undefined;
2525
+ orderInInterviewPlan?: number | undefined;
2526
+ interviewPlanId?: string | undefined;
2527
+ }>>>;
2528
+ source: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
2529
+ archiveReason: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
2530
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2531
+ id: import("zod").ZodString;
2532
+ title: import("zod").ZodString;
2533
+ value: import("zod").ZodUnknown;
2534
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
2535
+ }, "strip", import("zod").ZodTypeAny, {
2536
+ title: string;
2537
+ id: string;
2538
+ value?: unknown;
2539
+ isPrivate?: boolean | undefined;
2540
+ }, {
2541
+ title: string;
2542
+ id: string;
2543
+ value?: unknown;
2544
+ isPrivate?: boolean | undefined;
2545
+ }>, "many">>;
2546
+ hiringTeam: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2547
+ userId: import("zod").ZodString;
2548
+ role: import("zod").ZodString;
2549
+ email: import("zod").ZodOptional<import("zod").ZodString>;
2550
+ firstName: import("zod").ZodOptional<import("zod").ZodString>;
2551
+ lastName: import("zod").ZodOptional<import("zod").ZodString>;
2552
+ }, "strip", import("zod").ZodTypeAny, {
2553
+ role: string;
2554
+ userId: string;
2555
+ email?: string | undefined;
2556
+ firstName?: string | undefined;
2557
+ lastName?: string | undefined;
2558
+ }, {
2559
+ role: string;
2560
+ userId: string;
2561
+ email?: string | undefined;
2562
+ firstName?: string | undefined;
2563
+ lastName?: string | undefined;
2564
+ }>, "many">>;
2565
+ }, "strip", import("zod").ZodTypeAny, {
2566
+ id: string;
2567
+ status?: string | undefined;
2568
+ source?: unknown;
2569
+ createdAt?: string | undefined;
2570
+ updatedAt?: string | undefined;
2571
+ customFields?: {
2572
+ title: string;
2573
+ id: string;
2574
+ value?: unknown;
2575
+ isPrivate?: boolean | undefined;
2576
+ }[] | undefined;
2577
+ candidateId?: string | null | undefined;
2578
+ jobId?: string | null | undefined;
2579
+ currentInterviewStage?: {
2580
+ title: string;
2581
+ id: string;
2582
+ type?: string | undefined;
2583
+ orderInInterviewPlan?: number | undefined;
2584
+ interviewPlanId?: string | undefined;
2585
+ } | null | undefined;
2586
+ archiveReason?: unknown;
2587
+ hiringTeam?: {
2588
+ role: string;
2589
+ userId: string;
2590
+ email?: string | undefined;
2591
+ firstName?: string | undefined;
2592
+ lastName?: string | undefined;
2593
+ }[] | undefined;
2594
+ }, {
2595
+ id: string;
2596
+ status?: string | undefined;
2597
+ source?: unknown;
2598
+ createdAt?: string | undefined;
2599
+ updatedAt?: string | undefined;
2600
+ customFields?: {
2601
+ title: string;
2602
+ id: string;
2603
+ value?: unknown;
2604
+ isPrivate?: boolean | undefined;
2605
+ }[] | undefined;
2606
+ candidateId?: string | null | undefined;
2607
+ jobId?: string | null | undefined;
2608
+ currentInterviewStage?: {
2609
+ title: string;
2610
+ id: string;
2611
+ type?: string | undefined;
2612
+ orderInInterviewPlan?: number | undefined;
2613
+ interviewPlanId?: string | undefined;
2614
+ } | null | undefined;
2615
+ archiveReason?: unknown;
2616
+ hiringTeam?: {
2617
+ role: string;
2618
+ userId: string;
2619
+ email?: string | undefined;
2620
+ firstName?: string | undefined;
2621
+ lastName?: string | undefined;
2622
+ }[] | undefined;
2623
+ }>>;
2624
+ error: import("zod").ZodString;
2625
+ }, "strip", import("zod").ZodTypeAny, {
2626
+ error: string;
2627
+ success: boolean;
2628
+ operation: "create_application";
2629
+ application?: {
2630
+ id: string;
2631
+ status?: string | undefined;
2632
+ source?: unknown;
2633
+ createdAt?: string | undefined;
2634
+ updatedAt?: string | undefined;
2635
+ customFields?: {
2636
+ title: string;
2637
+ id: string;
2638
+ value?: unknown;
2639
+ isPrivate?: boolean | undefined;
2640
+ }[] | undefined;
2641
+ candidateId?: string | null | undefined;
2642
+ jobId?: string | null | undefined;
2643
+ currentInterviewStage?: {
2644
+ title: string;
2645
+ id: string;
2646
+ type?: string | undefined;
2647
+ orderInInterviewPlan?: number | undefined;
2648
+ interviewPlanId?: string | undefined;
2649
+ } | null | undefined;
2650
+ archiveReason?: unknown;
2651
+ hiringTeam?: {
2652
+ role: string;
2653
+ userId: string;
2654
+ email?: string | undefined;
2655
+ firstName?: string | undefined;
2656
+ lastName?: string | undefined;
2657
+ }[] | undefined;
2658
+ } | undefined;
2659
+ }, {
2660
+ error: string;
2661
+ success: boolean;
2662
+ operation: "create_application";
2663
+ application?: {
2664
+ id: string;
2665
+ status?: string | undefined;
2666
+ source?: unknown;
2667
+ createdAt?: string | undefined;
2668
+ updatedAt?: string | undefined;
2669
+ customFields?: {
2670
+ title: string;
2671
+ id: string;
2672
+ value?: unknown;
2673
+ isPrivate?: boolean | undefined;
2674
+ }[] | undefined;
2675
+ candidateId?: string | null | undefined;
2676
+ jobId?: string | null | undefined;
2677
+ currentInterviewStage?: {
2678
+ title: string;
2679
+ id: string;
2680
+ type?: string | undefined;
2681
+ orderInInterviewPlan?: number | undefined;
2682
+ interviewPlanId?: string | undefined;
2683
+ } | null | undefined;
2684
+ archiveReason?: unknown;
2685
+ hiringTeam?: {
2686
+ role: string;
2687
+ userId: string;
2688
+ email?: string | undefined;
2689
+ firstName?: string | undefined;
2690
+ lastName?: string | undefined;
2691
+ }[] | undefined;
2692
+ } | undefined;
2693
+ }>, import("zod").ZodObject<{
2694
+ operation: import("zod").ZodLiteral<"change_application_stage">;
2695
+ success: import("zod").ZodBoolean;
2696
+ application: import("zod").ZodOptional<import("zod").ZodObject<{
2697
+ id: import("zod").ZodString;
2698
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
2699
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
2700
+ status: import("zod").ZodOptional<import("zod").ZodString>;
2701
+ candidateId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2702
+ jobId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
2703
+ currentInterviewStage: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2704
+ id: import("zod").ZodString;
2705
+ title: import("zod").ZodString;
2706
+ type: import("zod").ZodOptional<import("zod").ZodString>;
2707
+ orderInInterviewPlan: import("zod").ZodOptional<import("zod").ZodNumber>;
2708
+ interviewPlanId: import("zod").ZodOptional<import("zod").ZodString>;
2709
+ }, "strip", import("zod").ZodTypeAny, {
2710
+ title: string;
2711
+ id: string;
2712
+ type?: string | undefined;
2713
+ orderInInterviewPlan?: number | undefined;
2714
+ interviewPlanId?: string | undefined;
2715
+ }, {
2716
+ title: string;
2717
+ id: string;
2718
+ type?: string | undefined;
2719
+ orderInInterviewPlan?: number | undefined;
2720
+ interviewPlanId?: string | undefined;
2721
+ }>>>;
2722
+ source: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
2723
+ archiveReason: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnknown>>;
2724
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2725
+ id: import("zod").ZodString;
2726
+ title: import("zod").ZodString;
2727
+ value: import("zod").ZodUnknown;
2728
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
2729
+ }, "strip", import("zod").ZodTypeAny, {
2730
+ title: string;
2731
+ id: string;
2732
+ value?: unknown;
2733
+ isPrivate?: boolean | undefined;
2734
+ }, {
2735
+ title: string;
2736
+ id: string;
2737
+ value?: unknown;
2738
+ isPrivate?: boolean | undefined;
2739
+ }>, "many">>;
2740
+ hiringTeam: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2741
+ userId: import("zod").ZodString;
2742
+ role: import("zod").ZodString;
2743
+ email: import("zod").ZodOptional<import("zod").ZodString>;
2744
+ firstName: import("zod").ZodOptional<import("zod").ZodString>;
2745
+ lastName: import("zod").ZodOptional<import("zod").ZodString>;
2746
+ }, "strip", import("zod").ZodTypeAny, {
2747
+ role: string;
2748
+ userId: string;
2749
+ email?: string | undefined;
2750
+ firstName?: string | undefined;
2751
+ lastName?: string | undefined;
2752
+ }, {
2753
+ role: string;
2754
+ userId: string;
2755
+ email?: string | undefined;
2756
+ firstName?: string | undefined;
2757
+ lastName?: string | undefined;
2758
+ }>, "many">>;
2759
+ }, "strip", import("zod").ZodTypeAny, {
2760
+ id: string;
2761
+ status?: string | undefined;
2762
+ source?: unknown;
2763
+ createdAt?: string | undefined;
2764
+ updatedAt?: string | undefined;
2765
+ customFields?: {
2766
+ title: string;
2767
+ id: string;
2768
+ value?: unknown;
2769
+ isPrivate?: boolean | undefined;
2770
+ }[] | undefined;
2771
+ candidateId?: string | null | undefined;
2772
+ jobId?: string | null | undefined;
2773
+ currentInterviewStage?: {
2774
+ title: string;
2775
+ id: string;
2776
+ type?: string | undefined;
2777
+ orderInInterviewPlan?: number | undefined;
2778
+ interviewPlanId?: string | undefined;
2779
+ } | null | undefined;
2780
+ archiveReason?: unknown;
2781
+ hiringTeam?: {
2782
+ role: string;
2783
+ userId: string;
2784
+ email?: string | undefined;
2785
+ firstName?: string | undefined;
2786
+ lastName?: string | undefined;
2787
+ }[] | undefined;
2788
+ }, {
2789
+ id: string;
2790
+ status?: string | undefined;
2791
+ source?: unknown;
2792
+ createdAt?: string | undefined;
2793
+ updatedAt?: string | undefined;
2794
+ customFields?: {
2795
+ title: string;
2796
+ id: string;
2797
+ value?: unknown;
2798
+ isPrivate?: boolean | undefined;
2799
+ }[] | undefined;
2800
+ candidateId?: string | null | undefined;
2801
+ jobId?: string | null | undefined;
2802
+ currentInterviewStage?: {
2803
+ title: string;
2804
+ id: string;
2805
+ type?: string | undefined;
2806
+ orderInInterviewPlan?: number | undefined;
2807
+ interviewPlanId?: string | undefined;
2808
+ } | null | undefined;
2809
+ archiveReason?: unknown;
2810
+ hiringTeam?: {
2811
+ role: string;
2812
+ userId: string;
2813
+ email?: string | undefined;
2814
+ firstName?: string | undefined;
2815
+ lastName?: string | undefined;
2816
+ }[] | undefined;
2817
+ }>>;
2818
+ error: import("zod").ZodString;
2819
+ }, "strip", import("zod").ZodTypeAny, {
2820
+ error: string;
2821
+ success: boolean;
2822
+ operation: "change_application_stage";
2823
+ application?: {
2824
+ id: string;
2825
+ status?: string | undefined;
2826
+ source?: unknown;
2827
+ createdAt?: string | undefined;
2828
+ updatedAt?: string | undefined;
2829
+ customFields?: {
2830
+ title: string;
2831
+ id: string;
2832
+ value?: unknown;
2833
+ isPrivate?: boolean | undefined;
2834
+ }[] | undefined;
2835
+ candidateId?: string | null | undefined;
2836
+ jobId?: string | null | undefined;
2837
+ currentInterviewStage?: {
2838
+ title: string;
2839
+ id: string;
2840
+ type?: string | undefined;
2841
+ orderInInterviewPlan?: number | undefined;
2842
+ interviewPlanId?: string | undefined;
2843
+ } | null | undefined;
2844
+ archiveReason?: unknown;
2845
+ hiringTeam?: {
2846
+ role: string;
2847
+ userId: string;
2848
+ email?: string | undefined;
2849
+ firstName?: string | undefined;
2850
+ lastName?: string | undefined;
2851
+ }[] | undefined;
2852
+ } | undefined;
2853
+ }, {
2854
+ error: string;
2855
+ success: boolean;
2856
+ operation: "change_application_stage";
2857
+ application?: {
2858
+ id: string;
2859
+ status?: string | undefined;
2860
+ source?: unknown;
2861
+ createdAt?: string | undefined;
2862
+ updatedAt?: string | undefined;
2863
+ customFields?: {
2864
+ title: string;
2865
+ id: string;
2866
+ value?: unknown;
2867
+ isPrivate?: boolean | undefined;
2868
+ }[] | undefined;
2869
+ candidateId?: string | null | undefined;
2870
+ jobId?: string | null | undefined;
2871
+ currentInterviewStage?: {
2872
+ title: string;
2873
+ id: string;
2874
+ type?: string | undefined;
2875
+ orderInInterviewPlan?: number | undefined;
2876
+ interviewPlanId?: string | undefined;
2877
+ } | null | undefined;
2878
+ archiveReason?: unknown;
2879
+ hiringTeam?: {
2880
+ role: string;
2881
+ userId: string;
2882
+ email?: string | undefined;
2883
+ firstName?: string | undefined;
2884
+ lastName?: string | undefined;
2885
+ }[] | undefined;
2886
+ } | undefined;
2887
+ }>, import("zod").ZodObject<{
2888
+ operation: import("zod").ZodLiteral<"update_candidate">;
2889
+ success: import("zod").ZodBoolean;
2890
+ candidate: import("zod").ZodOptional<import("zod").ZodObject<{
2891
+ id: import("zod").ZodString;
2892
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
2893
+ updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
2894
+ name: import("zod").ZodString;
2895
+ primaryEmailAddress: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2896
+ value: import("zod").ZodString;
2897
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
2898
+ isPrimary: import("zod").ZodBoolean;
2899
+ }, "strip", import("zod").ZodTypeAny, {
2900
+ value: string;
2901
+ type: "Personal" | "Work" | "Other";
2902
+ isPrimary: boolean;
2903
+ }, {
2904
+ value: string;
2905
+ type: "Personal" | "Work" | "Other";
2906
+ isPrimary: boolean;
2907
+ }>>>;
2908
+ primaryPhoneNumber: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
2909
+ value: import("zod").ZodString;
2910
+ type: import("zod").ZodEnum<["Personal", "Work", "Other"]>;
2911
+ isPrimary: import("zod").ZodBoolean;
2912
+ }, "strip", import("zod").ZodTypeAny, {
2913
+ value: string;
2914
+ type: "Personal" | "Work" | "Other";
2915
+ isPrimary: boolean;
2916
+ }, {
2917
+ value: string;
2918
+ type: "Personal" | "Work" | "Other";
2919
+ isPrimary: boolean;
2920
+ }>>>;
2921
+ customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
2922
+ id: import("zod").ZodString;
2923
+ title: import("zod").ZodString;
2924
+ value: import("zod").ZodUnknown;
2925
+ isPrivate: import("zod").ZodOptional<import("zod").ZodBoolean>;
2926
+ }, "strip", import("zod").ZodTypeAny, {
2927
+ title: string;
2928
+ id: string;
2929
+ value?: unknown;
2930
+ isPrivate?: boolean | undefined;
2931
+ }, {
2932
+ title: string;
2933
+ id: string;
2934
+ value?: unknown;
2935
+ isPrivate?: boolean | undefined;
2936
+ }>, "many">>;
2937
+ }, "strip", import("zod").ZodTypeAny, {
2938
+ name: string;
2939
+ id: string;
2940
+ createdAt?: string | undefined;
2941
+ updatedAt?: string | undefined;
2942
+ primaryEmailAddress?: {
2943
+ value: string;
2944
+ type: "Personal" | "Work" | "Other";
2945
+ isPrimary: boolean;
2946
+ } | null | undefined;
2947
+ primaryPhoneNumber?: {
2948
+ value: string;
2949
+ type: "Personal" | "Work" | "Other";
2950
+ isPrimary: boolean;
2951
+ } | null | undefined;
2952
+ customFields?: {
2953
+ title: string;
2954
+ id: string;
2955
+ value?: unknown;
2956
+ isPrivate?: boolean | undefined;
2957
+ }[] | undefined;
2958
+ }, {
2959
+ name: string;
2960
+ id: string;
2961
+ createdAt?: string | undefined;
2962
+ updatedAt?: string | undefined;
2963
+ primaryEmailAddress?: {
2964
+ value: string;
2965
+ type: "Personal" | "Work" | "Other";
2966
+ isPrimary: boolean;
2967
+ } | null | undefined;
2968
+ primaryPhoneNumber?: {
2969
+ value: string;
2970
+ type: "Personal" | "Work" | "Other";
2971
+ isPrimary: boolean;
2972
+ } | null | undefined;
2973
+ customFields?: {
2974
+ title: string;
2975
+ id: string;
2976
+ value?: unknown;
2977
+ isPrivate?: boolean | undefined;
2978
+ }[] | undefined;
2979
+ }>>;
2980
+ error: import("zod").ZodString;
2981
+ }, "strip", import("zod").ZodTypeAny, {
2982
+ error: string;
2983
+ success: boolean;
2984
+ operation: "update_candidate";
2985
+ candidate?: {
2986
+ name: string;
2987
+ id: string;
2988
+ createdAt?: string | undefined;
2989
+ updatedAt?: string | undefined;
2990
+ primaryEmailAddress?: {
2991
+ value: string;
2992
+ type: "Personal" | "Work" | "Other";
2993
+ isPrimary: boolean;
2994
+ } | null | undefined;
2995
+ primaryPhoneNumber?: {
2996
+ value: string;
2997
+ type: "Personal" | "Work" | "Other";
2998
+ isPrimary: boolean;
2999
+ } | null | undefined;
3000
+ customFields?: {
3001
+ title: string;
3002
+ id: string;
3003
+ value?: unknown;
3004
+ isPrivate?: boolean | undefined;
3005
+ }[] | undefined;
3006
+ } | undefined;
3007
+ }, {
3008
+ error: string;
3009
+ success: boolean;
3010
+ operation: "update_candidate";
3011
+ candidate?: {
3012
+ name: string;
3013
+ id: string;
3014
+ createdAt?: string | undefined;
3015
+ updatedAt?: string | undefined;
3016
+ primaryEmailAddress?: {
3017
+ value: string;
3018
+ type: "Personal" | "Work" | "Other";
3019
+ isPrimary: boolean;
3020
+ } | null | undefined;
3021
+ primaryPhoneNumber?: {
3022
+ value: string;
3023
+ type: "Personal" | "Work" | "Other";
3024
+ isPrimary: boolean;
3025
+ } | null | undefined;
3026
+ customFields?: {
3027
+ title: string;
3028
+ id: string;
3029
+ value?: unknown;
3030
+ isPrivate?: boolean | undefined;
3031
+ }[] | undefined;
3032
+ } | undefined;
3033
+ }>, import("zod").ZodObject<{
3034
+ operation: import("zod").ZodLiteral<"create_note">;
3035
+ success: import("zod").ZodBoolean;
3036
+ note: import("zod").ZodOptional<import("zod").ZodObject<{
3037
+ id: import("zod").ZodString;
3038
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
3039
+ content: import("zod").ZodString;
3040
+ author: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
3041
+ id: import("zod").ZodString;
3042
+ firstName: import("zod").ZodOptional<import("zod").ZodString>;
3043
+ lastName: import("zod").ZodOptional<import("zod").ZodString>;
3044
+ email: import("zod").ZodOptional<import("zod").ZodString>;
3045
+ }, "strip", import("zod").ZodTypeAny, {
3046
+ id: string;
3047
+ email?: string | undefined;
3048
+ firstName?: string | undefined;
3049
+ lastName?: string | undefined;
3050
+ }, {
3051
+ id: string;
3052
+ email?: string | undefined;
3053
+ firstName?: string | undefined;
3054
+ lastName?: string | undefined;
3055
+ }>>>;
3056
+ }, "strip", import("zod").ZodTypeAny, {
3057
+ content: string;
3058
+ id: string;
3059
+ author?: {
3060
+ id: string;
3061
+ email?: string | undefined;
3062
+ firstName?: string | undefined;
3063
+ lastName?: string | undefined;
3064
+ } | null | undefined;
3065
+ createdAt?: string | undefined;
3066
+ }, {
3067
+ content: string;
3068
+ id: string;
3069
+ author?: {
3070
+ id: string;
3071
+ email?: string | undefined;
3072
+ firstName?: string | undefined;
3073
+ lastName?: string | undefined;
3074
+ } | null | undefined;
3075
+ createdAt?: string | undefined;
3076
+ }>>;
3077
+ error: import("zod").ZodString;
3078
+ }, "strip", import("zod").ZodTypeAny, {
3079
+ error: string;
3080
+ success: boolean;
3081
+ operation: "create_note";
3082
+ note?: {
3083
+ content: string;
3084
+ id: string;
3085
+ author?: {
3086
+ id: string;
3087
+ email?: string | undefined;
3088
+ firstName?: string | undefined;
3089
+ lastName?: string | undefined;
3090
+ } | null | undefined;
3091
+ createdAt?: string | undefined;
3092
+ } | undefined;
3093
+ }, {
3094
+ error: string;
3095
+ success: boolean;
3096
+ operation: "create_note";
3097
+ note?: {
3098
+ content: string;
3099
+ id: string;
3100
+ author?: {
3101
+ id: string;
3102
+ email?: string | undefined;
3103
+ firstName?: string | undefined;
3104
+ lastName?: string | undefined;
3105
+ } | null | undefined;
3106
+ createdAt?: string | undefined;
3107
+ } | undefined;
3108
+ }>, import("zod").ZodObject<{
3109
+ operation: import("zod").ZodLiteral<"list_notes">;
3110
+ success: import("zod").ZodBoolean;
3111
+ notes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3112
+ id: import("zod").ZodString;
3113
+ createdAt: import("zod").ZodOptional<import("zod").ZodString>;
3114
+ content: import("zod").ZodString;
3115
+ author: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
3116
+ id: import("zod").ZodString;
3117
+ firstName: import("zod").ZodOptional<import("zod").ZodString>;
3118
+ lastName: import("zod").ZodOptional<import("zod").ZodString>;
3119
+ email: import("zod").ZodOptional<import("zod").ZodString>;
3120
+ }, "strip", import("zod").ZodTypeAny, {
3121
+ id: string;
3122
+ email?: string | undefined;
3123
+ firstName?: string | undefined;
3124
+ lastName?: string | undefined;
3125
+ }, {
3126
+ id: string;
3127
+ email?: string | undefined;
3128
+ firstName?: string | undefined;
3129
+ lastName?: string | undefined;
3130
+ }>>>;
3131
+ }, "strip", import("zod").ZodTypeAny, {
3132
+ content: string;
3133
+ id: string;
3134
+ author?: {
3135
+ id: string;
3136
+ email?: string | undefined;
3137
+ firstName?: string | undefined;
3138
+ lastName?: string | undefined;
3139
+ } | null | undefined;
3140
+ createdAt?: string | undefined;
3141
+ }, {
3142
+ content: string;
3143
+ id: string;
3144
+ author?: {
3145
+ id: string;
3146
+ email?: string | undefined;
3147
+ firstName?: string | undefined;
3148
+ lastName?: string | undefined;
3149
+ } | null | undefined;
3150
+ createdAt?: string | undefined;
3151
+ }>, "many">>;
3152
+ error: import("zod").ZodString;
3153
+ }, "strip", import("zod").ZodTypeAny, {
3154
+ error: string;
3155
+ success: boolean;
3156
+ operation: "list_notes";
3157
+ notes?: {
3158
+ content: string;
3159
+ id: string;
3160
+ author?: {
3161
+ id: string;
3162
+ email?: string | undefined;
3163
+ firstName?: string | undefined;
3164
+ lastName?: string | undefined;
3165
+ } | null | undefined;
3166
+ createdAt?: string | undefined;
3167
+ }[] | undefined;
3168
+ }, {
3169
+ error: string;
3170
+ success: boolean;
3171
+ operation: "list_notes";
3172
+ notes?: {
3173
+ content: string;
3174
+ id: string;
3175
+ author?: {
3176
+ id: string;
3177
+ email?: string | undefined;
3178
+ firstName?: string | undefined;
3179
+ lastName?: string | undefined;
3180
+ } | null | undefined;
3181
+ createdAt?: string | undefined;
3182
+ }[] | undefined;
3183
+ }>, import("zod").ZodObject<{
3184
+ operation: import("zod").ZodLiteral<"list_sources">;
3185
+ success: import("zod").ZodBoolean;
3186
+ sources: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3187
+ id: import("zod").ZodString;
3188
+ title: import("zod").ZodString;
3189
+ isArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
3190
+ }, "strip", import("zod").ZodTypeAny, {
3191
+ title: string;
3192
+ id: string;
3193
+ isArchived?: boolean | undefined;
3194
+ }, {
3195
+ title: string;
3196
+ id: string;
3197
+ isArchived?: boolean | undefined;
3198
+ }>, "many">>;
3199
+ error: import("zod").ZodString;
3200
+ }, "strip", import("zod").ZodTypeAny, {
3201
+ error: string;
3202
+ success: boolean;
3203
+ operation: "list_sources";
3204
+ sources?: {
3205
+ title: string;
3206
+ id: string;
3207
+ isArchived?: boolean | undefined;
3208
+ }[] | undefined;
3209
+ }, {
3210
+ error: string;
3211
+ success: boolean;
3212
+ operation: "list_sources";
3213
+ sources?: {
3214
+ title: string;
3215
+ id: string;
3216
+ isArchived?: boolean | undefined;
3217
+ }[] | undefined;
3218
+ }>, import("zod").ZodObject<{
3219
+ operation: import("zod").ZodLiteral<"list_interview_stages">;
3220
+ success: import("zod").ZodBoolean;
3221
+ interview_stages: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3222
+ id: import("zod").ZodString;
3223
+ title: import("zod").ZodString;
3224
+ type: import("zod").ZodOptional<import("zod").ZodString>;
3225
+ orderInInterviewPlan: import("zod").ZodOptional<import("zod").ZodNumber>;
3226
+ interviewPlanId: import("zod").ZodOptional<import("zod").ZodString>;
3227
+ }, "strip", import("zod").ZodTypeAny, {
3228
+ title: string;
3229
+ id: string;
3230
+ type?: string | undefined;
3231
+ orderInInterviewPlan?: number | undefined;
3232
+ interviewPlanId?: string | undefined;
3233
+ }, {
3234
+ title: string;
3235
+ id: string;
3236
+ type?: string | undefined;
3237
+ orderInInterviewPlan?: number | undefined;
3238
+ interviewPlanId?: string | undefined;
3239
+ }>, "many">>;
3240
+ error: import("zod").ZodString;
3241
+ }, "strip", import("zod").ZodTypeAny, {
3242
+ error: string;
3243
+ success: boolean;
3244
+ operation: "list_interview_stages";
3245
+ interview_stages?: {
3246
+ title: string;
3247
+ id: string;
3248
+ type?: string | undefined;
3249
+ orderInInterviewPlan?: number | undefined;
3250
+ interviewPlanId?: string | undefined;
3251
+ }[] | undefined;
3252
+ }, {
3253
+ error: string;
3254
+ success: boolean;
3255
+ operation: "list_interview_stages";
3256
+ interview_stages?: {
3257
+ title: string;
3258
+ id: string;
3259
+ type?: string | undefined;
3260
+ orderInInterviewPlan?: number | undefined;
3261
+ interviewPlanId?: string | undefined;
3262
+ }[] | undefined;
3263
+ }>, import("zod").ZodObject<{
3264
+ operation: import("zod").ZodLiteral<"get_file_url">;
3265
+ success: import("zod").ZodBoolean;
3266
+ file: import("zod").ZodOptional<import("zod").ZodObject<{
3267
+ id: import("zod").ZodOptional<import("zod").ZodString>;
3268
+ name: import("zod").ZodOptional<import("zod").ZodString>;
3269
+ url: import("zod").ZodString;
3270
+ }, "strip", import("zod").ZodTypeAny, {
3271
+ url: string;
3272
+ name?: string | undefined;
3273
+ id?: string | undefined;
3274
+ }, {
3275
+ url: string;
3276
+ name?: string | undefined;
3277
+ id?: string | undefined;
3278
+ }>>;
3279
+ error: import("zod").ZodString;
3280
+ }, "strip", import("zod").ZodTypeAny, {
3281
+ error: string;
3282
+ success: boolean;
3283
+ operation: "get_file_url";
3284
+ file?: {
3285
+ url: string;
3286
+ name?: string | undefined;
3287
+ id?: string | undefined;
3288
+ } | undefined;
3289
+ }, {
3290
+ error: string;
3291
+ success: boolean;
3292
+ operation: "get_file_url";
3293
+ file?: {
3294
+ url: string;
3295
+ name?: string | undefined;
3296
+ id?: string | undefined;
3297
+ } | undefined;
3298
+ }>, import("zod").ZodObject<{
3299
+ operation: import("zod").ZodLiteral<"list_projects">;
3300
+ success: import("zod").ZodBoolean;
3301
+ projects: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3302
+ id: import("zod").ZodString;
3303
+ title: import("zod").ZodString;
3304
+ isArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
3305
+ }, "strip", import("zod").ZodTypeAny, {
3306
+ title: string;
3307
+ id: string;
3308
+ isArchived?: boolean | undefined;
3309
+ }, {
3310
+ title: string;
3311
+ id: string;
3312
+ isArchived?: boolean | undefined;
3313
+ }>, "many">>;
3314
+ error: import("zod").ZodString;
3315
+ }, "strip", import("zod").ZodTypeAny, {
3316
+ error: string;
3317
+ success: boolean;
3318
+ operation: "list_projects";
3319
+ projects?: {
3320
+ title: string;
3321
+ id: string;
3322
+ isArchived?: boolean | undefined;
3323
+ }[] | undefined;
3324
+ }, {
3325
+ error: string;
3326
+ success: boolean;
3327
+ operation: "list_projects";
3328
+ projects?: {
3329
+ title: string;
3330
+ id: string;
3331
+ isArchived?: boolean | undefined;
3332
+ }[] | undefined;
3333
+ }>, import("zod").ZodObject<{
3334
+ operation: import("zod").ZodLiteral<"get_project">;
3335
+ success: import("zod").ZodBoolean;
3336
+ project: import("zod").ZodOptional<import("zod").ZodObject<{
3337
+ id: import("zod").ZodString;
3338
+ title: import("zod").ZodString;
3339
+ isArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
3340
+ }, "strip", import("zod").ZodTypeAny, {
3341
+ title: string;
3342
+ id: string;
3343
+ isArchived?: boolean | undefined;
3344
+ }, {
3345
+ title: string;
3346
+ id: string;
3347
+ isArchived?: boolean | undefined;
3348
+ }>>;
3349
+ error: import("zod").ZodString;
3350
+ }, "strip", import("zod").ZodTypeAny, {
3351
+ error: string;
3352
+ success: boolean;
3353
+ operation: "get_project";
3354
+ project?: {
3355
+ title: string;
3356
+ id: string;
3357
+ isArchived?: boolean | undefined;
3358
+ } | undefined;
3359
+ }, {
3360
+ error: string;
3361
+ success: boolean;
3362
+ operation: "get_project";
3363
+ project?: {
3364
+ title: string;
3365
+ id: string;
3366
+ isArchived?: boolean | undefined;
3367
+ } | undefined;
3368
+ }>, import("zod").ZodObject<{
3369
+ operation: import("zod").ZodLiteral<"list_candidate_projects">;
3370
+ success: import("zod").ZodBoolean;
3371
+ projects: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3372
+ id: import("zod").ZodString;
3373
+ title: import("zod").ZodString;
3374
+ isArchived: import("zod").ZodOptional<import("zod").ZodBoolean>;
3375
+ }, "strip", import("zod").ZodTypeAny, {
3376
+ title: string;
3377
+ id: string;
3378
+ isArchived?: boolean | undefined;
3379
+ }, {
3380
+ title: string;
3381
+ id: string;
3382
+ isArchived?: boolean | undefined;
3383
+ }>, "many">>;
3384
+ error: import("zod").ZodString;
3385
+ }, "strip", import("zod").ZodTypeAny, {
3386
+ error: string;
3387
+ success: boolean;
3388
+ operation: "list_candidate_projects";
3389
+ projects?: {
3390
+ title: string;
3391
+ id: string;
3392
+ isArchived?: boolean | undefined;
3393
+ }[] | undefined;
3394
+ }, {
3395
+ error: string;
3396
+ success: boolean;
3397
+ operation: "list_candidate_projects";
3398
+ projects?: {
3399
+ title: string;
3400
+ id: string;
3401
+ isArchived?: boolean | undefined;
3402
+ }[] | undefined;
3403
+ }>, import("zod").ZodObject<{
3404
+ operation: import("zod").ZodLiteral<"add_candidate_to_project">;
3405
+ success: import("zod").ZodBoolean;
3406
+ error: import("zod").ZodString;
3407
+ }, "strip", import("zod").ZodTypeAny, {
3408
+ error: string;
3409
+ success: boolean;
3410
+ operation: "add_candidate_to_project";
3411
+ }, {
3412
+ error: string;
3413
+ success: boolean;
3414
+ operation: "add_candidate_to_project";
3415
+ }>, import("zod").ZodObject<{
3416
+ operation: import("zod").ZodLiteral<"remove_candidate_from_project">;
3417
+ success: import("zod").ZodBoolean;
3418
+ error: import("zod").ZodString;
3419
+ }, "strip", import("zod").ZodTypeAny, {
3420
+ error: string;
3421
+ success: boolean;
3422
+ operation: "remove_candidate_from_project";
3423
+ }, {
3424
+ error: string;
3425
+ success: boolean;
3426
+ operation: "remove_candidate_from_project";
3427
+ }>]>;
3428
+ static readonly shortDescription = "Ashby ATS integration for candidate management";
3429
+ static readonly longDescription = "\n Ashby is an applicant tracking system (ATS) for modern recruiting teams.\n This bubble provides operations for:\n - Listing and filtering candidates, jobs, applications, and sources\n - Retrieving candidate, job, and application details\n - Creating and updating candidates\n - Searching candidates by email or name\n - Managing candidate tags (list, create, add to candidates)\n - Managing applications (create, change stage)\n - Adding and listing notes on candidates\n - Listing interview stages for jobs\n - Getting resume download URLs\n - Listing custom field definitions\n\n Security Features:\n - Uses HTTP Basic Authentication with API key\n - API key is stored encrypted and never exposed in logs\n\n Use Cases:\n - Sync candidates from external sources\n - Automate candidate tagging workflows\n - Build custom recruiting dashboards\n - Integrate recruiting data with other systems\n - Track application pipeline stages\n - Download candidate resumes\n ";
3430
+ static readonly alias = "ashby-ats";
3431
+ constructor(params?: T, context?: BubbleContext);
3432
+ /**
3433
+ * Choose the appropriate credential for Ashby API
3434
+ */
3435
+ protected chooseCredential(): string | undefined;
3436
+ /**
3437
+ * Test if the credential is valid by making a simple API call
3438
+ */
3439
+ testCredential(): Promise<boolean>;
3440
+ /**
3441
+ * Perform the Ashby operation
3442
+ */
3443
+ protected performAction(context?: BubbleContext): Promise<Extract<AshbyResult, {
3444
+ operation: T['operation'];
3445
+ }>>;
3446
+ /**
3447
+ * Extract error message from Ashby API error response
3448
+ */
3449
+ private extractErrorMessage;
3450
+ /**
3451
+ * Make an authenticated request to the Ashby API
3452
+ */
3453
+ private makeAshbyRequest;
3454
+ /**
3455
+ * List candidates with optional filtering
3456
+ */
3457
+ private listCandidates;
3458
+ /**
3459
+ * Get detailed information about a specific candidate
3460
+ */
3461
+ private getCandidate;
3462
+ /**
3463
+ * Normalize LinkedIn URL for comparison
3464
+ * Removes protocol, www, trailing slashes, and query params
3465
+ */
3466
+ private normalizeLinkedInUrl;
3467
+ /**
3468
+ * Extract a searchable name from LinkedIn URL
3469
+ * e.g., "https://linkedin.com/in/john-doe" -> "john doe"
3470
+ */
3471
+ private extractNameFromLinkedInUrl;
3472
+ /**
3473
+ * Find existing candidates with the same LinkedIn URL
3474
+ * Uses search by name extracted from LinkedIn URL for faster lookup
3475
+ */
3476
+ private findCandidateByLinkedIn;
3477
+ /**
3478
+ * Create a new candidate
3479
+ */
3480
+ private createCandidate;
3481
+ /**
3482
+ * Search for candidates by email or name
3483
+ */
3484
+ private searchCandidates;
3485
+ /**
3486
+ * Add a tag to a candidate
3487
+ */
3488
+ private addTag;
3489
+ /**
3490
+ * List all candidate tags
3491
+ */
3492
+ private listTags;
3493
+ /**
3494
+ * Create a new candidate tag
3495
+ */
3496
+ private createTag;
3497
+ /**
3498
+ * List all custom field definitions
3499
+ */
3500
+ private listCustomFields;
3501
+ /**
3502
+ * List jobs with optional filtering
3503
+ */
3504
+ private listJobs;
3505
+ /**
3506
+ * Get detailed information about a specific job
3507
+ */
3508
+ private getJob;
3509
+ /**
3510
+ * List applications with optional filtering
3511
+ */
3512
+ private listApplications;
3513
+ /**
3514
+ * Get detailed information about a specific application
3515
+ */
3516
+ private getApplication;
3517
+ /**
3518
+ * Create an application (submit candidate to a job)
3519
+ */
3520
+ private createApplication;
3521
+ /**
3522
+ * Change the interview stage of an application
3523
+ */
3524
+ private changeApplicationStage;
3525
+ /**
3526
+ * Update an existing candidate
3527
+ */
3528
+ private updateCandidate;
3529
+ /**
3530
+ * Create a note on a candidate
3531
+ */
3532
+ private createNote;
3533
+ /**
3534
+ * List notes for a candidate
3535
+ */
3536
+ private listNotes;
3537
+ /**
3538
+ * List all candidate sources
3539
+ */
3540
+ private listSources;
3541
+ /**
3542
+ * List interview stages for a job (resolves the interview plan ID automatically)
3543
+ */
3544
+ private listInterviewStages;
3545
+ /**
3546
+ * Get a download URL for a file (e.g., resume)
3547
+ */
3548
+ private getFileUrl;
3549
+ /**
3550
+ * List all projects
3551
+ */
3552
+ private listProjects;
3553
+ /**
3554
+ * Get project details by finding it in the project list.
3555
+ */
3556
+ private getProject;
3557
+ /**
3558
+ * List projects a candidate belongs to
3559
+ */
3560
+ private listCandidateProjects;
3561
+ /**
3562
+ * Add a candidate to a project
3563
+ */
3564
+ private addCandidateToProject;
3565
+ /**
3566
+ * Remove a candidate from a project
3567
+ */
3568
+ private removeCandidateFromProject;
1400
3569
  }
1401
3570
  //# sourceMappingURL=ashby.d.ts.map